1 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4 * posix/regcomp.c (parse_expression): Deallocate partially
5 constructed tree before returning error.
6 * posix/Makefile.c (tests): Add bug-regex36.
7 (generated): Add bug-regex36.mtrace.
8 (tests-special): Add $(objpfx)bug-regex36-mem.out
9 (bug-regex36-ENV): New variable.
10 ($(objpfx)bug-regex36-mem.out): New rule.
11 * posix/bug-regex36.c: New file.
13 2014-06-19 Will Newton <will.newton@linaro.org>
15 * malloc/malloc.c (systrim): If extra is zero then return
18 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
24 * sysdeps/aarch64/strchr.S: New file.
26 2014-06-18 Joseph Myers <joseph@codesourcery.com>
29 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30 from arguments -2 or below.
31 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34 2014-06-18 Andreas Schwab <schwab@suse.de>
37 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38 of a bracket expr not to run off the end of the string.
39 * posix/Makefile (tests): Add tst-fnmatch3.
40 * posix/tst-fnmatch3.c: New file.
42 2014-06-18 Joseph Myers <joseph@codesourcery.com>
44 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
45 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46 [$(cross-compiling) = no]: Likewise.
47 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48 [$(cross-compiling) = no]: Likewise.
50 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
54 double, adjusted for any remainder from the high double.
55 * math/libm-test.inc (nearbyint): Add tests.
58 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60 * nptl/sysdeps/powerpc/Makefile: Moved ...
61 * sysdeps/powerpc/nptl/Makefile: ... here.
62 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
63 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
64 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
65 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
66 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
67 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
68 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
69 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
70 * nptl/sysdeps/powerpc/tls.h: Moved ...
71 * sysdeps/powerpc/nptl/tls.h: ... here.
73 2014-06-16 Joseph Myers <joseph@codesourcery.com>
76 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
77 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
78 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
79 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
80 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
81 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
82 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
83 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
84 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
86 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
88 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
90 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
92 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
95 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
98 2014-06-16 Florian Weimer <fweimer@redhat.com>
101 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
102 non-executed part of the test.
104 2014-06-16 Andreas Schwab <schwab@suse.de>
106 * string/bits/string2.h (strdup, strndup): Update feature guard.
108 2014-06-14 David S. Miller <davem@davemloft.net>
110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
112 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
114 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
115 that was previously under [RESET_PID].
116 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
118 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
119 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
120 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
121 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
122 (__libc_vfork): New strong alias.
123 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
125 2014-06-14 Andi Kleen <ak@linux.intel.com>
127 * sysdeps/generic/elide.h: New file.
129 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
131 * Makefile (installed-headers): Adjust path of pthread.h header.
133 2014-06-13 Roland McGrath <roland@hack.frob.com>
135 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
136 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
137 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
138 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
140 * nptl/sysdeps/s390/Makefile: Moved ...
141 * sysdeps/s390/nptl/Makefile: ... here.
142 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
143 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
144 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
145 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
146 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
147 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
148 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
149 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
150 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
151 * sysdeps/s390/nptl/pthreaddef.h: ... here.
152 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
153 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
154 * nptl/sysdeps/s390/tls.h: Moved ...
155 * sysdeps/s390/nptl/tls.h: ... here.
157 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
158 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
160 2014-06-13 David S. Miller <davem@davemloft.net>
162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
165 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
169 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
170 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
171 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
172 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
173 Remove RESET_PID cpp guards.
174 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
175 Remove RESET_PID cpp guards.
176 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
178 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
180 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
183 2014-06-13 Andi Kleen <ak@linux.intel.com>
185 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
187 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
188 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
189 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
190 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
191 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
192 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
193 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
194 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
195 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
196 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
198 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
199 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
202 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
203 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
204 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
206 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
207 (pthread_rwlock_rdlock): Add elision.
208 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
209 (pthread_rwlock_wrlock): Add elision.
210 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
211 (pthread_rwlock_trywrlock): Add elision.
212 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
213 (pthread_rwlock_tryrdlock): Add elision.
214 * nptl/pthread_rwlock_unlock.c: Include elide.h.
215 (pthread_rwlock_tryrdlock): Add elision unlock.
216 * nptl/sysdeps/pthread/pthread.h:
217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
218 (PTHREAD_RWLOCK_INITIALIZER,
219 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
220 Handle new elision field.
221 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
222 * sysdeps/arm/nptl/bits/pthreadtypes.h
223 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
224 * sysdeps/sh/nptl/bits/pthreadtypes.h
225 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
226 * sysdeps/tile/nptl/bits/pthreadtypes.h
227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
228 * sysdeps/a/nptl/bits/pthreadtypes.h
229 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
230 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
231 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
232 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
233 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
234 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
235 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
236 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
237 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
238 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
240 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
241 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
242 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
244 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
245 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
246 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
247 (elision_init): Set try_xbegin to zero when no RTM.
248 * sysdeps/x86/nptl/bits/pthreadtypes.h
249 (pthread_rwlock_t): Change __pad1 to __rwelision.
250 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
252 2014-06-13 Andi Kleen <ak@linux.intel.com>
254 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
255 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
256 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
257 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
259 2014-06-13 Meador Inge <meadori@codesourcery.com>
262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
263 that the cached result has been set before returning it.
265 2014-06-12 Roland McGrath <roland@hack.frob.com>
267 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
268 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
269 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
270 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
271 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
272 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
274 * nptl/sysdeps/sparc/Makefile: Moved ...
275 * sysdeps/sparc/nptl/Makefile: ... here.
276 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
277 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
278 * nptl/sysdeps/sparc/tls.h: Moved ...
279 * sysdeps/sparc/nptl/tls.h: ... here.
280 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
281 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
282 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
283 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
284 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
285 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
286 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
287 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
288 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
289 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
290 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
291 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
292 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
293 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
294 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
295 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
296 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
297 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
299 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
300 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
302 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
303 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
305 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
306 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
309 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
311 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
312 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
314 * sysdeps/pthread/posix-timer.h: Include <list.h>.
315 (struct list_links): Type removed.
316 (struct thread_node, struct timer_node): Replace struct list_links
317 with struct list_head.
318 (list_unlink_ip): Likewise.
319 * sysdeps/pthread/timer_routines.c
320 (timer_free_list, thread_free_list, thread_active_list): Likewise.
321 (list_append, list_insbefore): Likewise.
322 (list_init): Function removed.
323 (thread_init, init_module): Use INIT_LIST_HEAD instead.
324 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
325 * sysdeps/pthread/Makefile: ... here, new file.
327 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
328 * sysdeps/nptl/Implies: ... here.
329 * sysdeps/unix/sysv/linux/Implies: Add nptl.
330 * nptl/sysdeps/pthread/list.h: Moved ...
331 * include/list.h: ... here.
332 * nptl/sysdeps/pthread/createthread.c: Moved ...
333 * nptl/createthread.c: ... here.
334 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
335 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
336 * nptl/pt-longjmp.c: ... here.
337 * nptl/sysdeps/pthread/Makefile: Moved ...
338 * sysdeps/nptl/Makefile: ... here.
339 * nptl/sysdeps/pthread/Subdirs: Moved ...
340 * sysdeps/nptl/Subdirs: ... here.
341 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
342 * sysdeps/nptl/aio_misc.h: ... here.
343 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
344 * sysdeps/nptl/bits/libc-lock.h: ... here.
345 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
346 * sysdeps/nptl/bits/libc-lockP.h: ... here.
347 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
348 * sysdeps/nptl/bits/stdio-lock.h: ... here.
349 * nptl/sysdeps/pthread/configure: Moved ...
350 * sysdeps/nptl/configure: ... here.
351 * nptl/sysdeps/pthread/configure.ac: Moved ...
352 * sysdeps/nptl/configure.ac: ... here.
353 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
354 * sysdeps/nptl/gai_misc.h: ... here.
355 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
356 * sysdeps/nptl/librt-cancellation.c: ... here.
357 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
358 * sysdeps/nptl/malloc-machine.h: ... here.
359 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
360 * sysdeps/nptl/pthread-functions.h: ... here.
361 * nptl/sysdeps/pthread/pthread.h: Moved ...
362 * sysdeps/nptl/pthread.h: ... here.
363 * nptl/sysdeps/pthread/setxid.h: Moved ...
364 * sysdeps/nptl/setxid.h: ... here.
365 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
366 * sysdeps/nptl/sigfillset.c: ... here.
367 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
368 * sysdeps/nptl/tcb-offsets.h: ... here.
369 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
370 * sysdeps/nptl/tst-mqueue8x.c: ... here.
371 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
372 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
373 * nptl/sysdeps/pthread/allocalim.h: Moved ...
374 * sysdeps/pthread/allocalim.h: ... here.
375 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
376 * sysdeps/pthread/bits/sigthread.h: ... here.
377 * nptl/sysdeps/pthread/flockfile.c: Moved ...
378 * sysdeps/pthread/flockfile.c: ... here.
379 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
380 * sysdeps/pthread/ftrylockfile.c: ... here.
381 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
382 * sysdeps/pthread/funlockfile.c: ... here.
383 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
384 * sysdeps/pthread/posix-timer.h: ... here.
385 * nptl/sysdeps/pthread/timer_create.c: Moved ...
386 * sysdeps/pthread/timer_create.c: ... here.
387 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
388 * sysdeps/pthread/timer_delete.c: ... here.
389 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
390 * sysdeps/pthread/timer_getoverr.c: ... here.
391 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
392 * sysdeps/pthread/timer_gettime.c: ... here.
393 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
394 * sysdeps/pthread/timer_routines.c: ... here.
395 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
396 * sysdeps/pthread/timer_settime.c: ... here.
397 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
398 * sysdeps/pthread/tst-timer.c: ... here.
399 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
400 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
402 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
403 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
405 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
406 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
407 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
408 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
409 Update #include target.
410 * nptl/sysdeps/i386/i686/Makefile: Moved ...
411 * sysdeps/i386/i686/nptl/Makefile: ... here.
412 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
413 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
414 Update #include target.
415 * nptl/sysdeps/i386/i686/tls.h: Moved ...
416 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
417 * nptl/sysdeps/i386/Makefile: Moved ...
418 * sysdeps/i386/nptl/Makefile: ... here.
419 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
420 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
421 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
422 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
423 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
424 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
425 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
426 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
427 * sysdeps/i386/nptl/pthreaddef.h: ... here.
428 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
429 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
430 * nptl/sysdeps/i386/tls.h: Moved ...
431 * sysdeps/i386/nptl/tls.h: ... here.
433 * sysdeps/sh/Makefile [$(subdir) = csu]
434 (gen-as-const-headers): Add tcb-offsets.sym.
435 * nptl/sysdeps/sh/Makefile: File removed.
436 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
437 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
438 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
439 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
440 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
441 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
442 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
443 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
444 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
445 * sysdeps/sh/nptl/pthreaddef.h: ... here.
446 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
447 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
448 * nptl/sysdeps/sh/tls.h: Moved ...
449 * sysdeps/sh/nptl/tls.h: ... here.
450 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
451 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
452 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
453 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
454 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
455 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
456 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
457 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
458 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
459 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
460 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
461 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
462 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
463 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
464 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
465 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
466 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
467 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
468 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
469 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
470 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
471 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
472 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
473 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
474 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
476 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
477 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
479 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
480 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
481 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
482 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
483 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
484 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
485 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
486 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
487 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
488 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
489 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
490 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
491 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
492 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
493 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
494 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
495 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
496 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
497 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
499 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
501 * posix/spawn_faction_addopen.c: Include string.h.
503 2014-06-11 Roland McGrath <roland@hack.frob.com>
505 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
506 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
507 * nptl/sysdeps/x86_64/Makefile: Moved ...
508 * sysdeps/x86_64/nptl/Makefile: ... here.
509 * nptl/sysdeps/x86_64/configure: Moved ...
510 * sysdeps/x86_64/nptl/configure: ... here.
511 * nptl/sysdeps/x86_64/configure.ac: Moved ...
512 * sysdeps/x86_64/nptl/configure.ac: ... here.
513 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
514 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
515 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
516 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
517 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
518 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
519 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
520 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
521 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
522 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
523 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
524 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
525 * nptl/sysdeps/x86_64/tls.h: Moved ...
526 * sysdeps/x86_64/nptl/tls.h: ... here.
527 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
528 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
529 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
530 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
532 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
534 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
538 2014-06-11 Joseph Myers <joseph@codesourcery.com>
540 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
542 [POSIX] (off_t): Likewise.
543 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
544 [POSIX] (S_ISBLK): Require macro.
545 [POSIX] (S_ISCHR): Likewise.
546 [POSIX] (S_ISDIR): Likewise.
547 [POSIX] (S_ISFIFO): Likewise.
548 [POSIX] (S_ISREG): Likewise.
549 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
551 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
553 [POSIX] (time_t): Likewise.
554 [POSIX] (timer_t): Likewise.
556 2014-06-11 Florian Weimer <fweimer@redhat.com>
559 * posix/spawn_int.h (struct __spawn_action): Make the path string
560 non-const to support deallocation.
561 * posix/spawn_faction_addopen.c
562 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
563 * posix/spawn_faction_destroy.c
564 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
565 path in all spawn_do_open actions.
566 * posix/tst-spawn.c (do_test): Exercise the copy operation in
567 posix_spawn_file_actions_addopen.
569 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
571 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
572 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
573 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
574 conditional code always true.
575 (__libc_vfork): New alias.
577 2014-06-11 Roland McGrath <roland@hack.frob.com>
579 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
580 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
582 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
584 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
585 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
587 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
588 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
590 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
591 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
593 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
595 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
596 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
597 multiarch strcmp for PPC64.
598 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
599 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
601 multiarch optimizations.
602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
603 (__libc_ifunc_impl_list): Likewise.
605 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
607 * benchtests/scripts/validate_benchout.py: New script.
608 * benchtests/Makefile (bench-func): Call it.
609 * benchtests/scripts/benchout.schema.json: New file.
611 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
613 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
614 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
615 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
616 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
617 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
618 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
619 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
620 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
621 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
622 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
623 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
624 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
625 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
626 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
627 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
628 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
732 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
733 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
734 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
735 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
736 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
738 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
740 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
741 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
742 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
743 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
744 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
745 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
746 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
747 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
748 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
749 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
750 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
751 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
752 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
754 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
757 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
758 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
760 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
762 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
763 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
765 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
766 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
767 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
768 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
770 2014-06-10 Wilco <wdijkstr@arm.com>
772 * math/test-fenv-return.c: New file.
773 * math/Makefile: Add new test test-fenv-return.
775 2014-06-10 Joseph Myers <joseph@codesourcery.com>
778 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
780 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
781 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
782 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
783 0.0L for an argument of 1.0L.
784 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
786 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
787 value when x - 1 is zero.
788 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
789 * sysdeps/i386/fpu/libm-test-ulps: Update.
790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
792 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
795 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
797 2014-06-09 Roland McGrath <roland@hack.frob.com>
799 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
800 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
802 2014-06-09 Roland McGrath <roland@hack.frob.com>
804 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
805 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
807 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
808 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
810 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
811 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
813 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
814 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
816 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
817 if not already defined.
818 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
819 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
820 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
821 (TLS_INIT_TP): Use it.
822 (TLS_DEFINE_INIT_TP): New macro.
823 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
825 2014-06-09 Joseph Myers <joseph@codesourcery.com>
827 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
829 [POSIX] (IXANY): Likewise.
830 [POSIX] (OLCUC): Likewise.
831 [POSIX || POSIX2008] (CBAUD): Do not allow.
832 [POSIX || POSIX2008] (DEFECHO): Likewise.
833 [POSIX || POSIX2008] (ECHOCTL): Likewise.
834 [POSIX || POSIX2008] (ECHOKE): Likewise.
835 [POSIX || POSIX2008] (ECHOPRT): Likewise.
836 [POSIX || POSIX2008] (EXTA): Likewise.
837 [POSIX || POSIX2008] (EXTB): Likewise.
838 [POSIX || POSIX2008] (FLUSHO): Likewise.
839 [POSIX || POSIX2008] (LOBLK): Likewise.
840 [POSIX || POSIX2008] (PENDIN): Likewise.
841 [POSIX || POSIX2008] (SWTCH): Likewise.
842 [POSIX || POSIX2008] (VDISCARD): Likewise.
843 [POSIX || POSIX2008] (VDSUSP): Likewise.
844 [POSIX || POSIX2008] (VLNEXT): Likewise.
845 [POSIX || POSIX2008] (VREPRINT): Likewise.
846 [POSIX || POSIX2008] (VSTATUS): Likewise.
847 [POSIX || POSIX2008] (VWERASE): Likewise.
848 (B*): Change to B[0123456789]*.
849 * conform/data/time.h-data [POSIX || UNIX98]
850 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
851 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
852 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
853 [POSIX] (tm_*): Do not allow.
855 2014-06-07 Joseph Myers <joseph@codesourcery.com>
857 * Makefile (install): Don't set LANGUAGE.
858 * Makefile.in (install): Likewise.
859 * assert/Makefile (test-assert-ENV): Remove variable.
860 (test-assert-perr-ENV): Likewise.
861 * elf/Makefile (neededtest4-ENV): Likewise.
862 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
863 [$(cross-compiling) = no]: Don't set LANGUAGE.
864 * io/ftwtest-sh (LANG): Remove variable.
865 * libio/Makefile (tst-widetext-ENV): Likewise.
866 * manual/install.texi (Running make install): Don't refer to
867 environment settings for make install.
868 * INSTALL: Regenerated.
869 * nptl/tst-tls6.sh: Don't set LANG.
870 * posix/globtest.sh (LANG): Remove variable.
871 * string/Makefile (tester-ENV): Likewise.
872 (inl-tester-ENV): Likewise.
873 (noinl-tester-ENV): Likewise.
874 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
875 [$(cross-compiling) = no]: Don't set LANGUAGE.
876 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
877 without explicit environment settings.
879 2014-06-06 Roland McGrath <roland@hack.frob.com>
881 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
882 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
883 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
884 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
886 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
888 * crypt/crypt-private.h [DOS]: Add some includes taken from the
889 other files in the crypt directory.
890 * crypt/crypt.c: Remove duplicate includes.
891 * crypt/crypt-entry.c: Likewise.
892 * crypt/crypt_util.c: Likewise.
894 2014-06-06 Joseph Myers <joseph@codesourcery.com>
896 * Makeconfig (run-program-env): New variable.
897 (run-program-prefix-before-env): Likewise.
898 (run-program-prefix-after-env): Likewise.
899 (run-program-prefix): Define in terms of new variables.
900 (built-program-cmd-before-env): New variable.
901 (built-program-cmd-after-env): Likewise.
902 (built-program-cmd): Define in terms of new variables.
903 (test-program-prefix-before-env): New variable.
904 (test-program-prefix-after-env): Likewise.
905 (test-program-prefix): Define in terms of new variables.
906 (test-program-cmd-before-env): New variable.
907 (test-program-cmd-after-env): Likewise.
908 (test-program-cmd): Define in terms of new variables.
909 * Rules (make-test-out): Use $(run-program-env).
910 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
911 (help): Do not mention environment variables. Mention
912 --timeoutfactor option.
913 (timeoutfactor): New variable.
914 (blacklist_exports): Remove function.
915 (exports): Remove variable.
916 (command): Do not include ${exports}.
917 * manual/install.texi (Configuring and compiling): Do not mention
918 test wrappers preserving environment variables. Mention that last
919 assignment to a variable must take precedence.
920 * INSTALL: Regenerated.
921 * benchtests/Makefile (run-bench): Use $(run-program-env).
922 * catgets/Makefile ($(objpfx)test1.cat): Use
923 $(built-program-cmd-before-env), $(run-program-env) and
924 $(built-program-cmd-after-env).
925 ($(objpfx)test2.cat): Do not specify environment variables
927 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
928 $(run-program-env) and $(built-program-cmd-after-env).
929 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
930 $(run-program-env) and $(test-program-cmd-after-env).
931 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
933 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
934 run_program_env and test_program_cmd_after_env arguments.
935 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
936 * elf/tst-pathopt.sh: Use run_program_env argument.
937 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
938 $(test-wrapper-env) and $(run-program-env).
939 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
940 run_program_env arguments.
941 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
942 * intl/Makefile ($(objpfx)tst-gettext.out): Use
943 $(test-program-prefix-before-env), $(run-program-env) and
944 $(test-program-prefix-after-env).
945 ($(objpfx)tst-gettext2.out): Likewise.
946 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
947 run_program_env and test_program_prefix_after_env arguments.
948 * intl/tst-gettext2.sh: Likewise.
949 * intl/tst-gettext4.sh: Do not set environment variables
951 * intl/tst-gettext6.sh: Likewise.
952 * intl/tst-translit.sh: Likewise.
953 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
954 $(test-program-prefix-before-env), $(run-program-env) and
955 $(test-program-prefix-after-env).
956 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
957 run_program_env and test_program_prefix_after_env arguments.
958 * math/Makefile (run-regen-ulps): Use $(run-program-env).
959 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
960 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
961 explicitly with each use of ${test_wrapper_env}.
962 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
963 $(test-program-prefix-before-env), $(run-program-env) and
964 $(test-program-prefix-after-env).
965 * posix/tst-getconf.sh: Do not set environment variables
967 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
968 run_program_env and test_program_prefix_after_env arguments.
969 * stdio-common/tst-printf.sh: Do not set environment variables
971 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
972 $(test-program-prefix-before-env), $(run-program-env) and
973 $(test-program-prefix-after-env).
974 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
975 run_program_env and test_program_prefix_after_env arguments.
976 Split $test calls into $test_pre and $test.
977 * timezone/Makefile (build-testdata): Use
978 $(built-program-cmd-before-env), $(run-program-env) and
979 $(built-program-cmd-after-env).
981 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
984 strlen for non SHARED builds.
986 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
988 * nptl/allocatestack.c (check_list): Inlined function...
989 (__reclaim_stacks): ... here.
991 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
994 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
997 2014-06-05 Joseph Myers <joseph@codesourcery.com>
999 * Rules (make-test-out): Include
1000 LOCPATH=$(common-objpfx)localedata in default environment.
1001 * debug/Makefile (tst-chk1-ENV): Remove variable.
1002 (tst-chk2-ENV): Likewise.
1003 (tst-chk3-ENV): Likewise.
1004 (tst-chk4-ENV): Likewise.
1005 (tst-chk5-ENV): Likewise.
1006 (tst-chk6-ENV): Likewise.
1007 (tst-lfschk1-ENV): Likewise.
1008 (tst-lfschk2-ENV): Likewise.
1009 (tst-lfschk3-ENV): Likewise.
1010 (tst-lfschk4-ENV): Likewise.
1011 (tst-lfschk5-ENV): Likewise.
1012 (tst-lfschk6-ENV): Likewise.
1013 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1014 (tst-iconv7-ENV): Likewise.
1015 * intl/Makefile (LOCPATH-ENV): Likewise.
1016 (tst-codeset-ENV): Likewise.
1017 (tst-gettext3-ENV): Likewise.
1018 (tst-gettext5-ENV): Likewise.
1019 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1020 (tst-fopenloc-ENV): Likewise.
1021 (tst-fgetws-ENV): Remove variable.
1022 (tst-ungetwc1-ENV): Likewise.
1023 (tst-ungetwc2-ENV): Likewise.
1024 (bug-ungetwc2-ENV): Likewise.
1025 (tst-swscanf-ENV): Likewise.
1026 (bug-ftell-ENV): Likewise.
1027 (tst-fgetwc-ENV): Likewise.
1028 (tst-fseek-ENV): Likewise.
1029 (tst-ftell-partial-wide-ENV): Likewise.
1030 (tst-ftell-active-handler-ENV): Likewise.
1031 (tst-ftell-append-ENV): Likewise.
1032 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1033 (tst-regexloc-ENV): Likewise.
1034 (bug-regex1-ENV): Likewise.
1035 (tst-regex-ENV): Likewise.
1036 (tst-regex2-ENV): Likewise.
1037 (bug-regex5-ENV): Likewise.
1038 (bug-regex6-ENV): Likewise.
1039 (bug-regex17-ENV): Likewise.
1040 (bug-regex18-ENV): Likewise.
1041 (bug-regex19-ENV): Likewise.
1042 (bug-regex20-ENV): Likewise.
1043 (bug-regex22-ENV): Likewise.
1044 (bug-regex23-ENV): Likewise.
1045 (bug-regex25-ENV): Likewise.
1046 (bug-regex26-ENV): Likewise.
1047 (bug-regex30-ENV): Likewise.
1048 (bug-regex32-ENV): Likewise.
1049 (bug-regex33-ENV): Likewise.
1050 (bug-regex34-ENV): Likewise.
1051 (bug-regex35-ENV): Likewise.
1052 (tst-rxspencer-ENV): Likewise.
1053 (tst-rxspencer-no-utf8-ENV): Likewise.
1054 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1055 (tst-sscanf-ENV): Likewise.
1056 (tst-swprintf-ENV): Likewise.
1057 (tst-swscanf-ENV): Likewise.
1058 (test-vfprintf-ENV): Likewise.
1059 (scanf13-ENV): Likewise.
1060 (bug14-ENV): Likewise.
1061 (tst-grouping-ENV): Likewise.
1062 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1063 (tst-strtod3-ENV): Likewise.
1064 (tst-strtod4-ENV): Likewise.
1065 (tst-strtod5-ENV): Likewise.
1066 (testmb2-ENV): Likewise./
1067 * string/Makefile (tst-strxfrm-ENV): Likewise.
1068 (tst-strxfrm2-ENV): Likewise.
1069 (bug-strcoll1-ENV): Likewise.
1070 (test-strcasecmp-ENV): Likewise.
1071 (test-strncasecmp-ENV): Likewise.
1072 * time/Makefile (tst-strptime-ENV): Likewise.
1073 (tst-ftime_l-ENV): Likewise.
1074 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1075 (tst-mbrtowc-ENV): Likewise.
1076 (tst-wcrtomb-ENV): Likewise.
1077 (tst-mbrtowc2-ENV): Likewise.
1078 (tst-c16c32-1-ENV): Likewise.
1079 (tst-mbsnrtowcs-ENV): Likewise.
1081 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1083 * manual/resource.texi (How to get information about the memory
1084 subsystem?): Fix typo.
1085 Reported by Peon de la Parra Ivan <peon@keba.com>
1087 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1090 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1091 (pthread_spin_lock): Branch out of spin loop to proper location.
1092 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1093 (pthread_spin_lock): Likewise.
1095 * nptl/tst-spin4.c: New test.
1096 * nptl/Makefile (tests): Add tst-spin4.
1098 2014-06-03 Andreas Schwab <schwab@suse.de>
1101 * resolv/res_send.c (send_dg): Reload file descriptor after
1104 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1106 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1108 2014-06-03 Richard Henderson <rth@redhat.com>
1110 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1111 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1112 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1113 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1114 in the SAVE_PID block.
1115 (__libc_vfork): New alias.
1116 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1118 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1119 child in registers, not on the stack. Remove RESET_PID conditionals.
1120 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1122 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1124 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1126 2014-06-03 Wilco <wdijkstr@arm.com>
1128 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1129 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1130 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1131 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1132 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1135 2014-06-03 Wilco <wdijkstr@arm.com>
1137 * sysdeps/aarch64/fpu/math_private.h
1138 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1139 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1140 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1141 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1144 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1146 * crypt/crypt-private.h: Include ufc-crypt.h.
1147 (__b64_from_24bit): Declare extern.
1148 * crypt/crypt_util.c(__b64_from_24bit): New function.
1149 (b64t): New static const variable.
1150 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1151 (b64t): Remove variable.
1152 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1153 * crypt/sha256-crypt.c: Include crypt-private.h.
1154 (b64t): Remove variable.
1155 (__sha256_crypt_r): Remove b64_from_24bit and replace
1156 with __b64_from_24bit.
1157 * crypt/sha512-crypt.c: Likewise.
1159 2014-06-02 Roland McGrath <roland@hack.frob.com>
1161 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1162 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1163 Label the code __libc_vfork rather than __vfork.
1164 [!NOT_IN_libc] (vfork): Define as weak alias.
1165 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1166 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1167 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1169 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1171 * malloc/malloc.c (malloc_info): Fix format specifier for
1174 2014-06-02 Wilco <wdijkstr@arm.com>
1176 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1179 2014-06-02 Wilco <wdijkstr@arm.com>
1182 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1183 Rewrite to reduce FPCR/FPSR accesses.
1185 2014-06-01 David S. Miller <davem@davemloft.net>
1187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1189 2014-05-31 David S. Miller <davem@davemloft.net>
1191 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1192 to occur in round to nearest mode when |x| >= 2.0
1194 2014-05-30 Richard Henderson <rth@twiddle.net>
1196 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1197 (PSEUDO_RET_NOERRNO): Remove.
1198 (ret): Don't redefine.
1199 (ret_NOERRNO): Define in terms of ret.
1200 (ret_ERRVAL): Likewise.
1202 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1203 use of PSEUDO_RET; perform the error check directly.
1205 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1207 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1210 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1212 * malloc/malloc (malloc_info): Fix formatting.
1214 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1215 Roland McGrath <roland@hack.frob.com>
1217 * malloc/malloc (malloc_info): Also print mmapped statistics.
1219 2014-05-30 Roland McGrath <roland@hack.frob.com>
1221 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1222 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1224 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1226 * malloc/malloc.c (malloc_info): Inline mi_arena.
1228 2014-05-29 Richard Henderson <rth@twiddle.net>
1230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1231 Remove comma before expanding ASM_ARGS_##nr.
1232 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1233 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1235 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1236 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1237 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1238 (ASM_ARGS_1): Add leading comma.
1240 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1241 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1242 to __errno_location.
1243 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1244 Remove the expected plt for __errno_location.
1246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1247 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1250 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1251 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1252 it and break it down.
1253 (DOCARGS_0, DOCARGS_1): Do nothing.
1254 (DOCARGS_2): Update to store into the new stack frame.
1255 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1256 (UNDOCARGS_1): Update to restore from the new stack frame.
1257 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1258 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1261 (SINGLE_THREAD_P): New parameter for result regno.
1262 (PSEUDO): Update to match; use cbz instead of beq.
1264 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1265 Use ENTRY to define the _nocancel entry point. Share the syscall
1266 and syscall error check paths with the cancel path.
1269 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1270 whitespace; tabs before and after asm mnemonics.
1272 2014-05-29 Eric Wong <normalperson@yhbt.net>
1275 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1276 Call fstat64 or stat64 internally, depending on arguments passed.
1277 Replace stat buffer argument with file descriptor argument.
1278 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1279 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1280 Pass fd to __internal_statvfs instead of calling fstat64.
1281 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1282 Pass fd to __internal_statvfs64 instead of calling fstat64.
1283 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1284 Pass -1 to __internal_statvfs instead of calling stat64.
1285 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1286 Pass -1 to __internal_statvfs64 instead of calling stat64.
1288 2014-05-28 Roland McGrath <roland@hack.frob.com>
1290 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1291 that was previously under [RESET_PID].
1292 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1294 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1295 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1297 2014-05-27 Roland McGrath <roland@hack.frob.com>
1299 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1301 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1302 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1304 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1306 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1308 2014-05-27 Andreas Schwab <schwab@suse.de>
1310 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1312 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1313 * elf/rtld.c (init_tls, dl_main): Likewise.
1314 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1315 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1316 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1317 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1318 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1319 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1320 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1321 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1322 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1323 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1324 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1325 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1326 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1327 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1328 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1329 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1330 * sysdeps/generic/tls.h: Update description.
1332 2014-05-27 Will Newton <will.newton@linaro.org>
1335 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1336 and restore r2 rather than just restoring.
1338 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1341 * libio/tst-ftell-append.c: New test case.
1342 * libio/Makefile (tests): Add test case.
1343 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1345 * libio/wfileops.c (do_ftell_wide): Likewise.
1347 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1351 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1355 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1356 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1358 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1359 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1360 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1361 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1367 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1368 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1369 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1370 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1371 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1373 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1374 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1376 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1378 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1380 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1381 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1382 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1385 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1386 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1387 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1410 conditional [RESET_PID].
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1419 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1420 (__libc_vfork): New strong alias.
1421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1428 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1429 (__libc_vfork): New strong alias.
1430 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1432 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1435 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1437 * malloc/malloc.c (mi_arena): New function.
1438 (malloc_info): Remove nested function mi_arena. Call non-nosted
1441 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1445 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1446 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1447 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1448 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1449 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1450 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1451 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1453 2014-05-26 Andreas Schwab <schwab@suse.de>
1456 * locale/programs/repertoire.c (repertoire_read): Add slash
1457 between I18NPATH element and file name.
1458 * locale/programs/locfile.c (locfile_read): Likewise.
1460 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1462 * nptl/pthread_mutexattr_settype.c
1463 (__pthread_mutexattr_settype):
1464 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1466 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1468 * nptl/tst-mutex5 (do_test):
1469 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1471 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1473 * benchtests/README: Document 'init' directive.
1474 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1476 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1477 (parse_file): Recognize 'init' directive.
1479 2014-05-26 Kyle McMartin <kyle@redhat.com>
1482 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1483 alignment of struct pthread.
1485 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1488 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1489 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1490 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1491 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1493 2014-05-25 Richard Henderson <rth@twiddle.net>
1495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1496 (SINGLE_THREAD_P_PIC): Remove.
1497 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1498 (SINGLE_THREAD_P_PIC): Remove.
1500 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1501 branch to syscall error ...
1503 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1504 from __local_syscall_error to .Lsyscall_error.
1505 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1506 (SYSCALL_ERROR): Update label name.
1508 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1509 Do not use DOARGS/UNDOARGS.
1510 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1511 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1512 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1513 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1514 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1516 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1519 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1520 define if !NOT_IN_libc.
1521 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1522 define with non-default symbol versions.
1524 2014-05-23 Richard Henderson <rth@twiddle.net>
1526 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1527 (vfork, __vfork): Define via compat_symbol.
1529 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1530 [!HAVE_IFUNC] (vfork_compat): Remove.
1531 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1533 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1536 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1537 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1540 2014-05-23 Richard Henderson <rth@twiddle.net>
1542 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1543 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1544 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1545 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1547 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1548 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1549 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1550 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1551 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1552 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1553 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1554 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1555 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1556 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1557 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1558 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1559 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1560 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1562 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1564 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1565 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1566 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1568 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1569 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1570 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1571 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1572 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1574 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1576 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1577 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1578 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1580 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1581 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1584 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1585 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1586 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1587 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1588 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1589 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1590 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1591 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1592 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1593 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1594 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1595 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1596 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1597 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1598 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1599 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1600 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1602 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1604 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1605 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1606 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1607 before exiting on error.
1608 (__libc_vfork): New strong alias.
1609 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1610 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1612 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1613 that was previously under [RESET_PID].
1614 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1616 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1618 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1621 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1622 value when x - 1 is zero.
1623 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1624 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1625 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1626 0.0L for an argument of 1.0L.
1627 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1629 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1630 value when x - 1 is zero.
1631 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1632 * sysdeps/i386/fpu/libm-test-ulps: Update.
1633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1635 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1637 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1638 alphasort and versionsort.
1640 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1644 [copysignf]: Likewise.
1646 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1648 * crypt/md5-crypt.c: Fix formatting.
1650 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1652 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1653 (b64_from_24bit): New function.
1655 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1658 libc_hidden_builtin_def to ifunc.
1659 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1660 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1662 2014-05-21 Roland McGrath <roland@hack.frob.com>
1664 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1665 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1667 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1669 * nscd/Depend (linuxthreads): Remove.
1671 * resolv/Depend (linuxthreads): Remove.
1672 * rt/Depend (linuxthreads): Remove.
1674 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1675 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1676 $(common-objpfx)elf/.
1677 (link-libc-before-gnulib): Likewise.
1678 (elfobjdir): Remove variable.
1679 * Makefile (install): Use $(elf-objpfx) instead of
1680 $(common-objpfx)elf/.
1681 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1683 (link-libc-deps): Likewise.
1684 ($(common-objpfx)libc.so): Likewise.
1685 ($(common-objpfx)linkobj/libc.so): Likewise.
1686 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1687 instead of $(common-objpfx)elf/.
1688 (symbolic-link-list): Likewise.
1689 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1690 [$(cross-compiling) = no]: Likewise.
1691 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1693 (static-gnulib-arch): Likewise.
1694 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1695 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1696 $(common-objpfx)elf/.
1698 2014-05-21 Richard Henderson <rth@redhat.com>
1700 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1701 (SINGLE_THREAD_P): Use the correct width load. Fold
1702 into the ldr offset.
1704 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1705 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1707 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1709 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1710 (libgcc_s_resume): Use __attribute_used__.
1711 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1714 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1716 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1717 optimization when used with float constants.
1719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1721 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1724 * locale/nl_langinfo_l.c: Make direct reference to every
1725 _nl_current_CATEGORY symbol.
1726 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1727 (tests-static): Add tst-langinfo-static.
1728 (tests-special): Add tst-langinfo-static.out.
1729 ($(objpfx)tst-langinfo.out): Redirect output.
1730 ($(objpfx)tst-langinfo-static.out): New.
1731 * localedata/tst-langinfo.sh: Send output to stdout.
1732 * localedata/tst-langinfo-static.c: New file.
1735 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1736 when the shift amount is modulo the limb size.
1738 2014-05-20 Richard Henderson <rth@redhat.com>
1741 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1742 Change type of sa_flags from unsigned int to int.
1745 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1747 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1749 2014-05-20 Will Newton <will.newton@linaro.org>
1751 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1752 Test the return value of the system call in the nocancel case.
1754 2014-05-20 Will Newton <will.newton@linaro.org>
1755 Yvan Roux <yvan.roux@linaro.org>
1757 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1758 #include of asm/ptrace.h.
1759 (PTRACE_GET_THREAD_AREA): Remove #undef.
1760 (PTRACE_GETHBPREGS): Likewise.
1761 (PTRACE_SETHBPREGS): Likewise.
1762 (struct user_regs_struct): New structure.
1763 (struct user_fpsimd_struct): New structure.
1764 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1765 #include of asm/ptrace.h and second #include of sys/user.h.
1766 (PTRACE_GET_THREAD_AREA): Remove #undef.
1767 (PTRACE_GETHBPREGS): Likewise.
1768 (PTRACE_SETHBPREGS): Likewise.
1769 (ELF_NGREG): Use new struct user_regs_struct.
1770 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1772 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1775 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1777 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1780 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1781 membar to avoid block loads/stores to overlap previous stores.
1783 2014-05-17 Richard Henderson <rth@redhat.com>
1785 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1786 Create the __##syscall_name##_nocancel entry point.
1787 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1788 Remove; let the sysdep-cancel.h code create it.
1790 2014-05-17 David S. Miller <davem@davemloft.net>
1792 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1793 Protect with __USE_GNU.
1794 (TIOCSET_TEMPT): Likewise.
1795 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1796 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1797 these are already provided in bits/ioctl-types.h
1799 2014-05-16 Roland McGrath <roland@hack.frob.com>
1801 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1802 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1804 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1805 Use wait4 regardless of [__NR_waitpid].
1807 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1810 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1811 (_FP_NANSIGN_Q): Set the quiet bit.
1813 2014-05-16 Joseph Myers <joseph@codesourcery.com>
1815 * benchtests/Makefile
1816 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1817 not $(common-objpfx)math/libm.so.
1818 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1819 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1820 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1821 $(common-objpfx)dlfcn/libdl.so.
1822 ($(objpfx)tst-audit8): Depend on $(libm), not
1823 $(common-objpfx)math/libm.so.
1824 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1825 not $(common-objpfx)dlfcn/libdl.so.
1827 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1828 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1829 [$(build-shared) = yes].
1830 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1831 $(common-objpfx)nptl/libpthread.so.
1832 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1833 $(common-objpfx)math/libm.so$(libm.so-version) or
1834 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1835 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1836 $(common-objpfx)dlfcn/libdl.so.
1837 * setjmp/Makefile (link-libm): Remove variable.
1838 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1839 * stdio-common/Makefile (link-libm): Remove variable.
1840 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1841 * stdlib/Makefile (link-libm): Remove variable.
1842 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1843 ($(objpfx)tst-strtod-round): Likewise.
1844 ($(objpfx)tst-tininess): Likewise.
1845 ($(objpfx)tst-strtod-underflow): Likewise.
1846 ($(objpfx)tst-strtod6): Likewise.
1847 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1848 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1849 $(common-objpfx)dlfcn/libdl.so.
1851 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1854 BSD terminal modes definitions.
1856 2014-05-16 Roland McGrath <roland@hack.frob.com>
1858 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1859 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1861 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1862 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1863 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1864 Don't do #include_next.
1865 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1866 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1867 Don't do #include_next.
1868 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1869 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1870 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1871 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1873 2014-05-16 Allan McRae <allan@archlinux.org>
1875 * po/sv.po: Update Swedish translation from translation project.
1877 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1880 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1883 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1884 errno if the TIOCGPTN ioctl fails with an error different than
1886 * login/tst-ptsname.c: New file.
1887 * login/Makefile (tests): Add tst-ptsname.
1890 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1893 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1897 herrno to return EAI_AGAIN.
1899 2014-05-14 Roland McGrath <roland@hack.frob.com>
1901 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1902 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1903 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1904 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1905 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1926 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1930 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1932 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1934 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1937 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1945 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1947 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1949 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1951 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1953 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1961 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1963 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1966 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1976 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1978 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1980 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1984 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1987 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1992 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1993 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1994 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1995 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1997 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1999 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2001 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2003 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2005 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2007 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2009 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2011 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2013 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2015 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2017 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2019 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2021 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2023 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2024 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2026 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2027 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2028 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2030 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2033 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2034 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2036 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2039 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2040 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2042 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2043 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2044 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2045 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2047 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2049 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2051 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2052 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2053 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2056 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2057 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2059 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2061 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2062 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2063 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2064 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2067 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2069 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2071 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2073 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2074 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2075 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2076 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2078 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2079 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2081 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2082 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2084 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2087 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2088 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2089 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2090 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2092 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2093 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2094 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2096 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2097 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2098 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2099 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2101 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2102 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2104 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2106 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2107 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2108 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2109 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2112 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2114 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2116 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2117 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2118 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2119 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2120 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2121 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2122 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2123 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2124 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2127 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2128 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2130 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2131 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2133 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2134 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2136 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2137 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2138 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2139 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2140 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2143 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2144 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2145 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2146 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2147 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2148 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2149 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2150 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2152 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2153 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2157 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2158 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2159 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2160 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2161 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2163 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2167 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2168 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2169 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2170 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2171 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2172 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2173 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2174 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2175 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2176 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2177 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2179 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2180 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2182 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2183 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2185 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2186 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2187 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2188 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2189 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2190 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2191 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2192 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2193 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2194 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2195 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2196 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2197 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2198 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2199 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2201 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2202 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2204 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2206 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2209 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2210 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2211 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2213 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2215 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2216 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2218 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2219 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2221 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2223 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2225 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2226 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2227 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2228 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2229 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2230 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2231 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2232 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2233 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2234 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2235 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2236 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2237 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2239 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2240 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2241 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2242 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2243 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2245 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2246 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2247 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2248 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2249 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2250 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2251 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2252 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2253 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2254 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2256 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2257 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2259 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2260 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2261 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2262 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2263 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2264 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2265 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2266 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2267 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2268 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2269 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2270 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2271 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2272 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2279 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2283 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2295 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2298 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2299 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2301 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2302 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2303 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2304 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2305 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2306 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2307 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2309 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2310 that was previously under [RESET_PID].
2311 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2312 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2313 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2315 * sysdeps/i386/nptl/Implies: New file.
2316 * sysdeps/x86_64/nptl/Implies: New file.
2317 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2318 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2319 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2320 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2322 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2323 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2324 (__libc_vfork): New strong alias.
2325 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2326 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2328 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2329 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2330 (__libc_vfork): New strong alias.
2331 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2332 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2334 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2335 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2336 (__libc_vfork): New strong alias.
2337 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2338 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2339 * nptl/pt-vfork.c: New file.
2340 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2341 (libpthread: GLIBC_2.20): New version set (empty).
2343 2014-05-14 Will Newton <will.newton@linaro.org>
2345 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2348 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2351 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2352 arguments with exponent 65 or above.
2353 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2354 arguments 0x1p113L or above.
2355 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2356 to arguments 0x1p107L or above.
2357 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2358 positive arguments with exponent 65 or above.
2359 * math/auto-libm-test-in: Add more tests of log1p.
2360 * math/auto-libm-test-out: Regenerated.
2363 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2364 non-finite arguments is +0.
2365 * math/s_cacosf.c (__cacosf): Likewise.
2366 * math/s_cacosl.c (__cacosl): Likewise.
2367 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2372 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2374 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2375 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2376 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2377 for explicit high bit of mantissa when testing for argument equal
2379 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2380 * sysdeps/i386/fpu/libm-test-ulps: Update.
2381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2384 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2385 (__erf): Scale by 16 instead of 8 in potentially underflowing
2386 case. Ensure exception if result actually underflows.
2387 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2388 (__erff): Scale by 16 instead of 8 in potentially underflowing
2389 case. Ensure exception if result actually underflows.
2390 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2391 (efx8): Remove variable.
2392 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2393 case. Ensure exception if result actually underflows.
2394 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2395 (efx8): Remove variable.
2396 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2397 case. Ensure exception if result actually underflows.
2398 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2399 (efx8): Remove variable.
2400 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2401 case. Ensure exception if result actually underflows.
2402 * math/auto-libm-test-in: Add more tests of erf.
2403 * math/auto-libm-test-out: Regenerated.
2405 2014-05-14 Andreas Schwab <schwab@suse.de>
2407 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2408 Remove code conditionalized on USE___THREAD.
2410 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2411 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2414 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2416 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2417 Define unconditionally.
2418 (__ASSUME_O_CLOEXEC): Likewise.
2419 (__ASSUME_SOCK_CLOEXEC): Likewise.
2420 (__ASSUME_IN_NONBLOCK): Likewise.
2421 (__ASSUME_PIPE2): Likewise.
2422 (__ASSUME_EVENTFD2): Likewise.
2423 (__ASSUME_SIGNALFD4): Likewise.
2424 (__ASSUME_DUP3): Likewise.
2425 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2426 (__ASSUME_DUP3): Do not define.
2427 (__ASSUME_EVENTFD2): Likewise.
2428 (__ASSUME_IN_NONBLOCK): Likewise.
2429 (__ASSUME_O_CLOEXEC): Likewise.
2430 (__ASSUME_PIPE2): Likewise.
2431 (__ASSUME_SIGNALFD4): Likewise.
2432 (__ASSUME_SOCK_CLOEXEC): Likewise.
2433 (__ASSUME_UTIMES): Undefine.
2434 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2435 (__ASSUME_UTIMES): Do not define.
2436 (__ASSUME_O_CLOEXEC): Likewise.
2437 (__ASSUME_SOCK_CLOEXEC): Likewise.
2438 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2439 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2441 (__ASSUME_PIPE2): Likewise.
2442 (__ASSUME_EVENTFD2): Likewise.
2443 (__ASSUME_SIGNALFD4): Likewise.
2444 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2445 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2447 (__ASSUME_EVENTFD2): Likewise.
2448 (__ASSUME_SIGNALFD4): Likewise.
2449 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2450 (__ASSUME_32BITUIDS): Likewise.
2451 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2452 (__ASSUME_IPC64): Likewise.
2453 (__ASSUME_ST_INO_64_BIT): Likewise.
2454 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2455 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2456 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2457 (__ASSUME_UTIMES): Do not define.
2458 (__ASSUME_PSELECT): Likewise.
2459 (__ASSUME_PPOLL): Likewise.
2460 (__ASSUME_O_CLOEXEC): Likewise.
2461 (__ASSUME_SOCK_CLOEXEC): Likewise.
2462 (__ASSUME_IN_NONBLOCK): Likewise.
2463 (__ASSUME_PIPE2): Likewise.
2464 (__ASSUME_EVENTFD2): Likewise.
2465 (__ASSUME_SIGNALFD4): Likewise.
2466 (__ASSUME_DUP3): Likewise.
2467 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2468 (__ASSUME_UTIMES): Likewise.
2469 (__ASSUME_O_CLOEXEC): Likewise.
2470 (__ASSUME_SOCK_CLOEXEC): Likewise.
2471 (__ASSUME_IN_NONBLOCK): Likewise.
2472 (__ASSUME_PIPE2): Likewise.
2473 (__ASSUME_EVENTFD2): Likewise.
2474 (__ASSUME_SIGNALFD4): Likewise.
2475 (__ASSUME_DUP3): Likewise.
2476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2477 (__ASSUME_UTIMES): Likewise.
2478 (__ASSUME_O_CLOEXEC): Likewise.
2479 (__ASSUME_SOCK_CLOEXEC): Likewise.
2480 (__ASSUME_IN_NONBLOCK): Likewise.
2481 (__ASSUME_PIPE2): Likewise.
2482 (__ASSUME_EVENTFD2): Likewise.
2483 (__ASSUME_SIGNALFD4): Likewise.
2484 (__ASSUME_DUP3): Likewise.
2485 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2487 (__ASSUME_UTIMES): Likewise.
2488 (__ASSUME_EVENTFD2): Likewise.
2489 (__ASSUME_SIGNALFD4): Likewise.
2490 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2491 (__ASSUME_O_CLOEXEC): Likewise.
2492 (__ASSUME_SOCK_CLOEXEC): Likewise.
2493 (__ASSUME_IN_NONBLOCK): Likewise.
2494 (__ASSUME_PIPE2): Likewise.
2495 (__ASSUME_EVENTFD2): Likewise.
2496 (__ASSUME_SIGNALFD4): Likewise.
2497 (__ASSUME_DUP3): Likewise.
2498 (__ASSUME_UTIMES): Undefine.
2500 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2501 feclearexcept. Remove symbol versioning code.
2502 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2503 symbol versioning code.
2504 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2505 symbol versioning code.
2506 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2507 feupdateenv. Remove symbol versioning code.
2508 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2509 fegetexceptflag. Remove symbol versioning code.
2510 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2511 fesetexceptflag. Remove symbol versioning code.
2512 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2513 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2514 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2515 (__posix_fadvise64_l32): Remove prototype.
2516 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2519 2014-05-13 Roland McGrath <roland@hack.frob.com>
2521 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2522 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2523 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2524 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2526 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2528 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2529 current working directory
2531 2014-05-13 Roland McGrath <roland@hack.frob.com>
2533 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2534 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2535 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2536 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2537 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2538 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2539 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2540 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2542 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2543 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2544 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2545 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2546 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2548 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2549 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2550 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2551 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2552 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2554 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2555 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2556 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2558 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2560 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2562 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2563 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2564 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2565 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2566 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2567 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2568 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2569 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2570 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2571 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2572 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2573 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2574 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2576 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2577 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2579 * sysdeps/unix/sysv/linux/arm/Makefile
2580 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2581 Add rt-aeabi_unwind_cpp_pr1.
2582 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2583 Add nptl-aeabi_unwind_cpp_pr1.
2584 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2585 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2586 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2587 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2588 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2589 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2591 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2592 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2593 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2594 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2596 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2597 Deconditionalize the code that was previously under [RESET_PID].
2598 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2600 * sysdeps/generic/exit-thread.h: New file.
2601 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2602 * include/unistd.h (__exit_thread): Remove declaration.
2603 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2604 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2605 * csu/libc-start.c: Include <exit-thread.h>.
2606 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2607 * nptl/pthread_create.c: Include <exit-thread.h>.
2608 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2609 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2610 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2611 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2612 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2613 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2614 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2615 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2616 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2617 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2618 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2619 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2620 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2621 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2622 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2623 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2624 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2626 2014-05-13 Andreas Schwab <schwab@suse.de>
2628 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2630 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2632 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2633 (__ASSUME_UTIMES): Do not condition on kernel version.
2634 (__ASSUME_PSELECT): Define unconditionally.
2635 (__ASSUME_PPOLL): Likewise.
2636 (__ASSUME_ATFCTS): Likewise.
2637 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2638 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2639 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2640 (__ASSUME_UTIMENSAT): Define unconditionally.
2641 (__ASSUME_PRIVATE_FUTEX): Likewise.
2642 (__ASSUME_FALLOCATE): Likewise.
2643 (__ASSUME_O_CLOEXEC): Likewise.
2644 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2645 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2646 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2647 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2648 (__ASSUME_IN_NONBLOCK): Likewise.
2649 (__ASSUME_PIPE2): Likewise.
2650 (__ASSUME_EVENTFD2): Likewise.
2651 (__ASSUME_SIGNALFD4): Likewise.
2652 (__ASSUME_DUP3): Likewise.
2653 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2654 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2655 (__ASSUME_AT_RANDOM): Likewise.
2656 (__ASSUME_PREADV): Likewise.
2657 (__ASSUME_PWRITEV): Likewise.
2658 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2659 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2660 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2661 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2662 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2663 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2664 (__ASSUME_O_CLOEXEC): Define unconditionally.
2665 (__ASSUME_PSELECT): Do not undefine conditionally.
2666 (__ASSUME_PPOLL): Likewise.
2667 (__ASSUME_ATFCTS): Likewise.
2668 (__ASSUME_SET_ROBUST_LIST): Likewise.
2669 (__ASSUME_UTIMENSAT): Likewise.
2670 (__ASSUME_FDATASYNC): Define unconditionally.
2671 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2672 (__ASSUME_SIGFRAME_V2): Likewise.
2673 )__ASSUME_EVENTFD2): Likewise.
2674 (__ASSUME_SIGNALFD4): Likewise.
2675 (__ASSUME_PSELECT): Do not undefine conditionally.
2676 (__ASSUME_PPOLL): Likewise.
2677 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2678 (__ASSUME_PSELECT): Define unconditionally.
2679 (__ASSUME_PPOLL): Likewise.
2680 (__ASSUME_O_CLOEXEC): Likewise.
2681 (__ASSUME_SOCK_CLOEXEC): Likewise.
2682 (__ASSUME_IN_NONBLOCK): Likewise.
2683 (__ASSUME_PIPE2): Likewise.
2684 (__ASSUME_EVENTFD2): Likewise.
2685 (__ASSUME_SIGNALFD4): Likewise.
2686 (__ASSUME_DUP3): Likewise.
2687 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2688 (__ASSUME_O_CLOEXEC): Likewise.
2689 (__ASSUME_SOCK_CLOEXEC): Likewise.
2690 (__ASSUME_IN_NONBLOCK): Likewise.
2691 (__ASSUME_PIPE2): Likewise.
2692 (__ASSUME_EVENTFD2): Likewise.
2693 (__ASSUME_SIGNALFD4): Likewise.
2694 (__ASSUME_DUP3): Likewise.
2695 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2696 (__ASSUME_EVENTFD2): Likewise.
2697 (__ASSUME_SIGNALFD4): Likewise.
2698 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2700 2014-05-12 Andreas Schwab <schwab@suse.de>
2703 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2704 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2705 than maximum RPC packet size.
2706 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2707 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2708 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2709 (_nss_nis_getservbyport_r): Likewise.
2711 2014-05-12 Will Newton <will.newton@linaro.org>
2713 * malloc/Makefile (tests): Add tst-mallopt.
2714 * malloc/tst-mallopt.c: New file.
2716 2014-05-09 Roland McGrath <roland@hack.frob.com>
2718 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2719 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2721 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2723 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2724 (tst-tlsmod6.so): Likewise.
2726 2014-05-09 Roland McGrath <roland@hack.frob.com>
2728 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2730 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2733 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2734 and <dl-procinfo.h>.
2735 (__fegetenv): Save SSE state in envp->__eip if supported.
2736 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2737 envp->__eip if supported.
2738 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2739 and <dl-procinfo.h>.
2740 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2741 __data_offset and __data_selector in environment to 0. Set SSE
2743 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2745 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2747 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2749 2014-05-09 Will Newton <will.newton@linaro.org>
2751 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2752 and libc_relro_required for ARM.
2753 * sysdeps/arm/preconfigure: Regenerate.
2755 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2756 Stefan Liebler <stli@linux.vnet.ibm.com>
2758 * config.make.in (enable-lock-elision): New Makefile variable.
2759 * configure.ac: Likewise.
2760 * configure: Regenerate.
2761 * sysdeps/s390/configure.ac:
2762 Add check for gcc transactions support.
2763 * sysdeps/s390/configure: Regenerate.
2764 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2765 Build elision files if enabled.
2766 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2767 Add lock elision support for s390.
2768 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2769 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2770 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2771 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2772 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2773 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2774 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2776 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2778 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2780 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2782 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2783 (__lll_timedlock_elision, __lll_lock_elision)
2784 (__lll_unlock_elision, __lll_trylock_elision)
2785 (lll_timedlock_elision, lll_lock_elision)
2786 (lll_unlock_elision, lll_trylock_elision): Add.
2787 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2788 (pthread_mutex_t): Add lock elision support for s390.
2790 2014-05-14 Wilco <wdijkstr@arm.com>
2792 * sysdeps/arm/fclrexcpt.c: Cleanup.
2793 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2794 * sysdeps/arm/feenablxcpt.c: Cleanup.
2795 * sysdeps/arm/fegetenv.c: Cleanup.
2796 * sysdeps/arm/fegetexcept.c: Cleanup.
2797 * sysdeps/arm/fegetround.c: Cleanup.
2798 * sysdeps/arm/feholdexcpt.c: Cleanup.
2799 * sysdeps/arm/fesetenv.c: Cleanup.
2800 * sysdeps/arm/fesetround.c: Cleanup.
2801 * sysdeps/arm/feupdateenv.c: Cleanup.
2802 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2803 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2804 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2805 * sysdeps/arm/ftestexcept.c: Cleanup.
2806 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2807 * sysdeps/arm/setfpucw.c: Cleanup.
2809 2014-05-09 Will Newton <will.newton@linaro.org>
2811 * sysdeps/arm/armv7/strcmp.S: New file.
2812 * NEWS: Mention addition of ARMv7 optimized strcmp.
2814 2014-05-08 Roland McGrath <roland@hack.frob.com>
2816 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2817 look for %.ac rather than %.in.
2819 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2820 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2821 * sysdeps/mach/hurd/configure: Regenerated.
2822 * sysdeps/unix/sysv/linux/configure: Regenerated.
2824 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2826 2014-05-07 Steve Ellcey <sellcey@mips.com>
2829 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2833 2014-05-07 Andreas Schwab <schwab@suse.de>
2835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2836 when skipping over non-matching result from nscd.
2838 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
2841 * nptl/sockperf.c (client): Check socket return value.
2844 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2845 nscd security class.
2847 2014-05-06 Roland McGrath <roland@hack.frob.com>
2849 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2850 * sysdeps/arm/unwind.h: ... here.
2852 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2855 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2858 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2860 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2861 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2862 multiarch strncpy for PPC64.
2863 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2864 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2866 multiarch optimizations.
2867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2868 (__libc_ifunc_impl_list): Likewise.
2869 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2870 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2871 multiarch stpncpy for PPC64.
2872 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2873 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2875 2014-05-06 Andreas Schwab <schwab@suse.de>
2878 * gmon/mcount.c (_MCOUNT_DECL): Use
2879 atomic_compare_and_exchange_bool_acq instead of
2880 catomic_compare_and_exchange_bool_acq.
2882 2014-05-05 Roland McGrath <roland@hack.frob.com>
2884 * elf/Makefile (others, install-bin): Remove pldd.
2885 (pldd-modules): Variable removed.
2886 ($(objpfx)pldd): Target removed.
2887 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2888 (others, install-bin): Append pldd here.
2889 ($(objpfx)pldd): New target.
2891 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2892 to 0, so the first #if test emitted later doesn't see it undefined.
2893 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2894 * sysdeps/gnu/errlist.c: Regenerated.
2896 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2898 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2899 [libc_hidden_builtin_def]: Define to empty value.
2900 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2901 [libc_hidden_builtin_def]: Likewise.
2902 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2903 [libc_hidden_builtin_def]: Likewise.
2904 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2905 [libc_hidden_builtin_def]: Likewise.
2906 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2907 __redirect_memcpy and define ifunc as default hidden symbol.
2908 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2909 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2911 2014-05-04 Adam Conrad <adconrad@0c3.net>
2913 * locale/iso-4217.def: Reintroduce XDR currency.
2915 2014-05-04 Allan McRae <allan@archlinux.org>
2917 * po/eo.po: Update Esperanto translation from translation project.
2919 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2921 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2922 and FEATURE_INDEX_MAX to 1.
2923 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2925 2014-05-01 Steve Ellcey <sellcey@mips.com>
2927 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2928 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2929 * iconvdata/big5.c (ONE_DIRECTION): Define.
2930 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2931 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2932 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2933 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2934 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2935 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2936 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2937 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2938 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2939 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2940 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2941 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2942 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2943 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2944 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2945 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2946 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2947 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2948 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2949 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2950 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2951 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2952 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2953 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2954 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2955 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2956 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2957 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2958 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2959 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2960 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2961 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2962 * iconvdata/johab.c (ONE_DIRECTION): Define.
2963 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2964 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2965 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2966 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2967 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2968 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2969 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2970 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2971 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2972 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2974 2014-05-01 Roland McGrath <roland@hack.frob.com>
2976 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2977 (_IO_JUMPS_OFFSET): Define to 0.
2979 * nptl/sysdeps/pthread/bits/libc-lock.h
2980 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2981 (__libc_lock_define_initialized_recursive): Always define using
2982 initializer. Modern compilers treat uninitialized (implicit zero) and
2983 explicit zero initializers the same (i.e. put the datum in bss).
2985 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2987 * nscd/nscd-client.h: Include <string.h>.
2989 2014-05-01 David S. Miller <davem@davemloft.net>
2992 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2993 multiple zero bytes exist at the end of a string.
2994 Reported by Aurelien Jarno <aurelien@aurel32.net>
2996 * string/test-strcmp.c (check): Add explicit test for situations where
2997 there are multiple zero bytes after the first.
2999 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3002 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3003 when compiling wprintf.
3004 * stdio-common/tstdiomisc.c (t3): New function.
3007 2014-05-01 Steve Ellcey <sellcey@mips.com>
3009 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3010 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3011 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3012 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3014 2014-05-01 Steve Ellcey <sellcey@mips.com>
3016 * stdlib/longlong.h: Updated from GCC.
3018 2014-05-01 Will Newton <will.newton@linaro.org>
3019 Bernard Ogden <bernie.ogden@linaro.org>
3021 * NEWS: Update fixed bug list.
3024 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3026 2014-04-30 David S. Miller <davem@davemloft.net>
3028 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3029 (libc_feholdexcept_setround_sparc_ctx): New function.
3030 (libc_fesetenv_sparc_ctx): Likewise.
3031 (libc_feupdateenv_sparc_ctx): Likewise.
3032 (libc_feholdsetround_sparc_ctx): Likewise.
3033 (libc_feholdexcept_setround_ctx): Define.
3034 (libc_feholdexcept_setroundf_ctx): Likewise.
3035 (libc_feholdexcept_setroundl_ctx): Likewise.
3036 (libc_fesetenv_ctx): Likewise.
3037 (libc_fesetenvf_ctx): Likewise.
3038 (libc_fesetenvl_ctx): Likewise.
3039 (libc_feupdateenv_ctx): Likewise.
3040 (libc_feupdateenvf_ctx): Likewise.
3041 (libc_feupdateenvl_ctx): Likewise.
3042 (libc_feresetround_ctx): Likewise.
3043 (libc_feresetroundf_ctx): Likewise.
3044 (libc_feresetroundl_ctx): Likewise.
3045 (libc_feholdsetround_ctx): Likewise.
3046 (libc_feholdsetroundf_ctx): Likewise.
3047 (libc_feholdsetroundl_ctx): Likewise.
3049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3050 with __USE_GNU instead of XOPEN cpp guards.
3052 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3055 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3056 with XOPEN cpp guards.
3058 2014-04-30 Julian Brown <julian@codesourcery.com>
3061 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3064 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3067 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3069 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3070 * sysdeps/unix/sysv/linux/configure: Regenerated.
3071 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3072 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3073 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3074 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3075 * README: Update reference to required Linux kernel version.
3076 * manual/install.texi (Linux): Update reference to required Linux
3077 kernel headers version.
3078 * INSTALL: Regenerated.
3080 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3082 [POSIX] (limits.h): Likewise.
3083 [POSIX] (math.h): Likewise.
3084 [POSIX] (sys/wait.h): Likewise.
3085 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3087 [POSIX] (stddef.h): Do not allow header inclusion.
3089 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3091 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3093 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3095 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3096 Return immediately after lll_futex_wake.
3098 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3101 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3103 (datahead_init_pos): Call datahead_init_common early.
3104 (datahead_init_neg): Likewise.
3106 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3107 datahead_init_neg): New functions.
3108 * nscd/aicache.c (addhstaiX): Use them.
3109 * nscd/grpcache.c (cache_addgr): Likewise.
3110 * nscd/hstcache.c (cache_addhst): Likewise.
3111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3112 * nscd/netgroupcache.c (do_notfound): Likewise.
3113 (addgetnetgrentX): Likewise.
3114 (addinnetgrX): Likewise.
3115 * nscd/pwdcache.c (cache_addpw): Likewise.
3116 * nscd/servicescache.c (cache_addserv): Likewise.
3118 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3119 Atsushi Onoe <atsushi@onoe.org>
3124 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3125 one response is valid.
3126 * resolv/res_send.c (send_dg): Check for validity of other
3127 response if the current response is a referral.
3129 2014-04-29 Steve Ellcey <sellcey@mips.com>
3131 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3133 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3136 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3137 Always divide by positive zero when computing -Inf result.
3138 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3139 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3141 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3143 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3144 FPSCR if value do not change.
3145 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3146 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3147 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3148 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3149 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3150 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3153 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3155 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3156 * sysdeps/unix/sysv/linux/hppa: Move directory from
3157 ports/systeps/unix/sysv/linux/hppa.
3158 * README: Update listing for hppa-*-linux-gnu.
3160 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3163 * manual/stdio.texi (Hook functions): Fix types of stream hook
3166 * socket/sys/socket.h: Fix typo in comment.
3168 2014-04-28 Wilco <wdijkstr@arm.com>
3170 * sysdeps/arm/fenv_private.h: New file.
3171 * sysdeps/arm/math_private.h: New file.
3172 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3174 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3176 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3178 (La_x86_64_retval): Likewise.
3180 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3182 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3183 fpsr if value didn't change.
3184 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3185 to fpcr if value didn't change.
3186 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3187 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3188 fpsr or fpcr if value didn't change.
3189 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3190 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3191 fpcr if value didn't change.
3192 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3193 to fpsr if value didn't change.
3195 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3197 * nptl/tst-sem3.c: Use test-skeleton.c
3198 (main): Rename to do_test. Use return instead of
3200 * nptl/tst-sem4.c: Use test-skeleton.c
3201 (main): Rename to do_test.
3203 2014-04-22 David S. Miller <davem@davemloft.net>
3205 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3206 (struct sigaction): New struct member __glibc_reserved0, change
3207 type of sa_flags to int.
3209 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3211 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3212 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3214 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3216 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3217 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3219 2014-04-22 Will Newton <will.newton@linaro.org>
3220 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3222 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3223 (__longjmp): Add longjmp and longjmp_target SystemTap
3225 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3226 (__sigsetjmp): Add setjmp SystemTap probe.
3228 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3230 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3233 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3235 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3237 * sysdeps/powerpc/fpu/fenv_private.h
3238 (libc_feholdexcept_setroundl_ctx): Define to
3239 libc_feholdexcept_setround_ppc_ctx.
3240 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3241 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3242 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3243 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3245 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3247 * sysdeps/aarch64/math-tests.h: New file.
3249 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3251 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3254 Check and set bit_AVX2_Usable.
3255 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3257 (bit_AVX2): Likewise.
3258 (index_AVX2_Usable): Likewise.
3259 (CPUID_AVX2): Likewise.
3260 (HAS_AVX2): Likewise.
3262 2014-04-17 Will Newton <will.newton@linaro.org>
3264 * manual/setjmp.texi (System V contexts): Add note that
3265 calling setcontext on a context created by a call to a
3266 signal handler is undefined. Update text to note that
3267 setcontext from a signal handler is possible but not
3271 * stdlib/tst-setcontext.c: Include signal.h.
3272 (main): Check that the signal stack before and
3273 after swapcontext is the same.
3275 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3276 Re-implement to restore registers in user code and avoid
3277 rt_sigreturn system call.
3279 2014-04-17 Wilco <wdijkstr@arm.com>
3281 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3282 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3283 * math/test-fenv.c: Skip exception trap tests on targets which only
3284 support non-stop mode.
3286 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3287 Wilco Dijkstra <wilco.dijkstra@arm.com>
3289 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3290 (libc_feholdsetround_aarch64_ctx)
3291 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3292 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3293 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3294 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3295 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3296 (libc_feresetround_noexl_ctx): Define.
3298 2014-04-16 Richard Henderson <rth@redhat.com>
3300 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3302 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3305 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3306 const from the non-libc, non-ldso copy.
3308 * sysdeps/alpha/libm-test-ulps: Regenerate.
3310 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3311 Wilco Dijkstra <wilco.dijkstra@arm.com>
3313 * sysdeps/aarch64/fpu/math_private.h: New file.
3315 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3317 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3319 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3321 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3322 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3324 Intel MPX bound registers before _dl_profile_fixup.
3325 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3326 registers after _dl_profile_fixup. Save and restore bound
3327 registers bnd0/bnd1 when calling _dl_call_pltexit.
3328 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3329 (LR_BND_OFFSET): Likewise.
3330 (LRV_BND0_OFFSET): Likewise.
3331 (LRV_BND1_OFFSET): Likewise.
3333 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3335 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3337 * sysdeps/mach/hurd/i386/tls.h: ... here.
3338 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3339 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3342 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3344 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3346 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3348 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3350 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3353 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3354 * sysdeps/s390/configure: Regenerate.
3357 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3358 Set round-to-nearest internally to reduce error accumulation.
3360 2014-04-16 Alan Modra <amodra@gmail.com>
3364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3365 * math/libm-test.inc (frexp_test_data): Add tests.
3366 * NEWS: Update fixed bug list.
3368 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3370 * benchtests/Makefile: Depend on libraries in build directory.
3371 (bench-math): Separate out math tests.
3372 (bench-pthread): Separate out pthread tests.
3373 (bench): Include math and pthread tests.
3375 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3378 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3379 _dl_debug_initialize.
3381 * configure.ac: Remove SELinux header check.
3382 * configure: Regenerate.
3383 * nscd/selinux.c (perms): Array of const char* to permission names.
3384 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3385 default policy. Call string_to_security_class and string_to_av_perm to
3386 translate strings. Enforce default policy and call avs_has_perm with
3387 results of translated strings.
3389 2014-04-13 David S. Miller <davem@davemloft.net>
3391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3393 2014-04-12 Allan McRae <allan@archlinux.org>
3396 * manual/string.texi (Collation Functions): Fix qsort argument
3398 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3400 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3402 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3403 Make the test a no-op if there are no exceptions defined.
3405 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3407 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3408 enable-hardcoded-path-in-tests
3410 2014-04-11 Will Newton <will.newton@linaro.org>
3412 * benchtests/Makefile (extra-objs): Add json-lib.o.
3413 (bench-func): Tidy up JSON output.
3414 * benchtests/bench-skeleton.c: Include json-lib.h.
3415 (main): Use JSON library functions to do output of
3417 * benchtests/bench-timing-type.c (main): Output the
3418 timing type simply, leaving formatting to the user.
3419 * benchtests/json-lib.c: New file.
3420 * benchtests/json-lib.h: Likewise.
3422 2014-04-11 Torvald Riegel <triegel@redhat.com>
3425 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3426 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3427 memory barriers. Add comments.
3428 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3429 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3430 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3431 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3432 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3433 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3435 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3437 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3438 * sysdeps/s390/s390-64/configure.ac: ... this ...
3439 * sysdeps/s390/configure.ac: ... to here.
3440 * sysdeps/s390/s390-32/configure: Delete file.
3441 * sysdeps/s390/s390-64/configure: Delete file.
3442 * sysdeps/s390/configure: Regenerate.
3444 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3446 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3448 2014-04-11 Will Newton <will.newton@linaro.org>
3450 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3451 to zero if it is not defined elsewhere. (mtrim): Test
3452 the value of MALLOC_DEBUG with #if rather than #ifdef.
3454 2014-04-10 Torvald Riegel <triegel@redhat.com>
3456 * benchtests/pthread_once-inputs: New file.
3457 * benchtests/pthread_once-source.c: New file.
3458 * benchtests/README: Update documentation.
3460 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3461 H.J. Lu <hongjiu.lu@intel.com>
3463 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3464 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3465 * sysdeps/x86_64/configure: Regenerated.
3466 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3468 (REGISTER_SAVE_RAX): Likewise.
3469 (REGISTER_SAVE_RCX): Likewise.
3470 (REGISTER_SAVE_RDX): Likewise.
3471 (REGISTER_SAVE_RSI): Likewise.
3472 (REGISTER_SAVE_RDI): Likewise.
3473 (REGISTER_SAVE_R8): Likewise.
3474 (REGISTER_SAVE_R9): Likewise.
3475 (REGISTER_SAVE_BND0): Likewise.
3476 (REGISTER_SAVE_BND1): Likewise.
3477 (REGISTER_SAVE_BND2): Likewise.
3478 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3479 bound registers when calling _dl_fixup.
3481 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3483 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3484 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3486 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3487 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3488 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3489 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3490 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3491 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3492 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3494 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3497 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3498 pathconf(_PC_NAME_MAX).
3500 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3504 (__PTHREAD_SPINS): Move definition to ...
3505 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3506 (__PTHREAD_SPINS): ... here.
3507 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3508 (__PTHREAD_SPIN): Likewise.
3509 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3510 (__PTHREAD_SPIN): Likewise.
3511 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3512 (__PTHREAD_SPIN): Likewise.
3513 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3514 (__PTHREAD_SPIN): Likewise.
3515 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3516 (__PTHREAD_SPIN): Likewise.
3517 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3518 (__PTHREAD_SPIN): Likewise.
3519 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3520 (__PTHREAD_SPIN): Likewise.
3521 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3522 (__PTHREAD_SPIN): Likewise.
3523 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3524 (__PTHREAD_SPIN): Likewise.
3525 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3526 (__PTHREAD_SPIN): Likewise.
3527 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3528 (__PTHREAD_SPIN): Likewise.
3529 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3530 (__PTHREAD_SPIN): Likewise.
3532 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3533 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3534 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3535 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3537 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3538 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3539 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3540 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3542 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3543 strlen symbol for non multi-arch builds.
3544 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3545 missing hidden_def and weak_alias.
3547 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3549 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3551 2014-04-07 Will Newton <will.newton@linaro.org>
3553 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3554 and contents. [!_LIBC] Remove #ifndef and contents.
3555 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3556 * string/memccpy.c (__memccpy): Use ANSI prototype.
3557 * string/memfrob.c (memfrob): Likewise.
3558 * string/strcoll.c (STRCOLL): Likewise.
3559 * string/strlen.c (strlen): Likewise.
3560 * string/strtok.c (STRTOK): Likewise.
3561 * string/strcat.c: Remove unused #include of memcopy.h.
3562 (strcat): Use ANSI prototype.
3563 * string/strchr.c: Remove unused #include of memcopy.h.
3564 (strchr): Use ANSI prototype.
3565 * string/strcmp.c: Remove unused #include of memcopy.h.
3566 (strcmp): Use ANSI prototype.
3567 * string/strcpy.c: Remove unused #include of memcopy.h.
3568 (strcpy): Use ANSI prototype.
3570 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3572 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3573 * config.make.in (config-extra-cppflags): Set it from
3574 libc_extra_cppflags.
3575 * configure.ac (libc_extra_cflags): Make it accumulate over
3576 configure fragments.
3577 (libc_extra_cppflags): New flag.
3578 * configure. Regenerate.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3580 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3581 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3585 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3586 result for FE_DOWNWARD rounding mode.
3587 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3591 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3593 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3594 in function argument name.
3596 2014-04-03 David Svoboda <svoboda@cert.org>
3599 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3602 2014-04-03 Roland McGrath <roland@hack.frob.com>
3604 * elf/dl-unmap-segments.h: New file.
3605 * sysdeps/generic/ldsodefs.h
3606 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3607 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3608 * elf/dl-fptr.c: Likewise.
3609 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3610 * sysdeps/aarch64/tlsdesc.c: Likewise.
3611 * sysdeps/arm/tlsdesc.c: Likewise.
3612 * sysdeps/i386/tlsdesc.c: Likewise.
3613 * sysdeps/tile/dl-runtime.c: Likewise.
3614 * sysdeps/x86_64/tlsdesc.c: Likewise.
3615 * elf/dl-load.h: New file.
3616 * elf/dl-load.c: Include it.
3617 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3618 Macros moved to dl-load.h.
3619 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3620 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3621 Use _dl_unmap_segments in place of __munmap.
3622 Break out segment-mapping loop into ...
3623 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3625 2014-04-03 Will Newton <will.newton@linaro.org>
3627 * elf/dl-lookup.c (do_lookup_x): Remove comment
3628 referring to nested function and move variable
3629 declarations down to before first use.
3631 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3635 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3637 * math/s_catanf.c (__catanf): Likewise.
3638 * math/s_catanh.c (__catanh): Likewise.
3639 * math/s_catanhf.c (__catanhf): Likewise.
3640 * math/s_catanhl.c (__catanhl): Likewise.
3641 * math/s_catanl.c (__catanl): Likewise.
3642 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3643 by positive zero when computing -Inf result.
3644 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3645 (catanh_test): Likewise.
3646 * sysdeps/i386/fpu/libm-test-ulps: Update.
3647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3650 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3651 instead of using underflowing value in computing result.
3652 * math/s_clog10.c (__clog10): Likewise.
3653 * math/s_clog10f.c (__clog10f): Likewise.
3654 * math/s_clog10l.c (__clog10l): Likewise.
3655 * math/s_clogf.c (__clogf): Likewise.
3656 * math/s_clogl.c (__clogl): Likewise.
3657 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3658 (clog10_test): Likewise.
3659 * sysdeps/i386/fpu/libm-test-ulps: Update.
3660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3662 2014-04-02 Alan Modra <amodra@gmail.com>
3665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3666 output when value is near a power of two. Use int64_t for lx and
3667 remove casts. Use decimal rather than hex exponent constants.
3668 Don't use long double multiplication when double will suffice.
3669 * math/libm-test.inc (nextafter_test_data): Add tests.
3670 * NEWS: Add 16739 and 16786 to bug list.
3672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3674 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3676 2014-04-01 Will Newton <will.newton@linaro.org>
3678 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3679 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3681 2014-04-01 Florian Weimer <fweimer@redhat.com>
3684 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3685 * nptl/tst-setuid2.c: New file.
3686 * nptl/Makefile (xtests): Add tst-setuid2.
3688 2014-04-01 Alan Modra <amodra@gmail.com>
3691 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3693 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3697 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3698 set errno as appropriate.
3699 * math/w_scalbf.c (__scalbf): Likewise.
3700 * math/w_scalbl.c (__scalbl): Likewise.
3701 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3702 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3703 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3707 * math/w_atan2.c: Include <errno.h>.
3708 (__atan2): Set errno for result underflowing to zero.
3709 * math/w_atan2f.c: Include <errno.h>.
3710 (__atan2f): Set errno for result underflowing to zero.
3711 * math/w_atan2l.c: Include <errno.h>.
3712 (__atan2l): Set errno for result underflowing to zero.
3713 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3715 * math/auto-libm-test-out: Regenerated.
3717 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3720 Encode instruction correctly in little endian.
3721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3723 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3725 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3727 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3730 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3733 * sysdeps/unix/sysv/linux/kernel-features.h
3734 [__sparc__ && !__arch64__ && !__sparc_v9__]
3735 (__ASSUME_SET_ROBUST_LIST): Do not define.
3736 [__sparc__ && !__arch64__ && !__sparc_v9__]
3737 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3738 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3740 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3741 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3742 (__ASSUME_REQUEUE_PI): Likewise.
3743 (__ASSUME_SET_ROBUST_LIST): Likewise.
3744 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3745 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3747 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3748 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3750 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3752 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3754 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3755 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3757 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3758 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3763 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3764 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3766 2014-03-31 Will Newton <will.newton@linaro.org>
3768 * benchtests/Makefile (bench): Add ffs and ffsll to list
3770 * benchtests/ffs-inputs: New file.
3771 * benchtests/ffsll-inputs: Likewise.
3773 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3776 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3777 too large before casting to int.
3778 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3779 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3780 * math/libm-test.inc (scalb_test_data): Add more tests.
3782 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3784 * benchtests/Makefile (DETAILED_OPT): New make option.
3785 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3787 * benchtests/bench-skeleton.c: Include stdbool.h.
3788 (main): Store and print timings per input.
3789 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3790 member to each argument value.
3791 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3792 (_print_arg_data): Initialize per-input timing to 0.
3794 * benchtests/Makefile (timing-type): New binary.
3795 (bench-clean): Also remove bench-timing-type.
3796 (bench): New target for timing-type.
3797 (bench-func): Print output in JSON format.
3798 * benchtests/bench-skeleton.c (main): Print output in JSON
3800 * benchtests/bench-timing-type.c: New file.
3801 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3802 (TIMING_PRINT_STATS): Remove.
3803 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3806 * benchtests/bench-modf.c: Remove.
3807 * benchtests/modf-inputs: New inputs file.
3809 2014-03-28 Joseph Myers <joseph@codesourcery.com>
3812 * math/s_clog10.c (M_PI_LOG10E): New macro.
3813 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3814 imaginary parts are 0.
3815 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3816 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3817 imaginary parts are 0.
3818 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3819 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3820 imaginary parts are 0.
3821 * math/libm-test.inc (clog10_test_data): Update expected results
3822 for when real and imaginary parts are 0.
3824 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3826 * elf/dl-load.c: Finish conversion of __builtin_expect into
3829 2014-03-27 Joseph Myers <joseph@codesourcery.com>
3832 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3833 1+x for argument with exponent below -67.
3834 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3836 * math/auto-libm-test-in: Add more tests of exp.
3837 * math/auto-libm-test-out: Regenerated.
3839 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3842 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3843 (nscd_getnetgrent): Use it.
3846 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3849 2014-03-27 Andi Kleen <ak@linux.intel.com>
3851 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3852 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3853 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3854 (lll_robust_unlock): Remove out of line section. Use cfi
3856 (LLL_STUB_UNWIND_INFO*): Remove.
3857 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3858 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3859 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3860 (lll_robust_unlock): Remove out of line section. Use cfi
3862 (LLL_STUB_UNWIND_INFO*): Remove.
3864 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3867 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3870 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3872 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3874 2014-03-26 Joseph Myers <joseph@codesourcery.com>
3877 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3879 * math/test-fenv-preserve.c: New file.
3880 * math/Makefile (tests): Add test-fenv-preserve.
3882 2014-03-26 Will Newton <will.newton@linaro.org>
3884 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3886 2014-03-25 Roland McGrath <roland@hack.frob.com>
3888 * scripts/versionlist.awk: Partition the version sets and emit all
3889 GLIBC_* (sorted) before all others (sorted).
3891 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3893 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3894 GLIBC_2.2.5 version.
3896 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3898 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3901 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3906 2014-03-25 Andreas Schwab <schwab@suse.de>
3908 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3909 label to be used after in6ailist is initialized.
3911 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3913 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3914 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3916 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3920 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3922 (fp_formats): Update initializers.
3923 (init_fp_formats): Initialize new field.
3924 (output_for_one_input_case): Allow underflow for results up to
3926 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3927 * math/auto-libm-test-in: Don't mark some underflows from asin and
3929 * math/auto-libm-test-out: Regenerated.
3930 * sysdeps/i386/fpu/libm-test-ulps: Update.
3931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3933 2014-03-25 Andreas Schwab <schwab@suse.de>
3935 * libio/Makefile (tst-ftell-partial-wide-ENV)
3936 (tst-ftell-active-handler-ENV): Define.
3938 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3940 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3942 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3944 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3946 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3948 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3949 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3950 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3952 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3955 * elf/dl-load.c (open_verify): Add mode parameter.
3956 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3957 (open_path): Change from boolean 'secure' to complete flag 'mode'
3958 (_dl_map_object): Adjust.
3959 * elf/Makefile (tests): Add tst-dlopen-aout.
3960 * elf/tst-dlopen-aout.c: New test.
3962 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3965 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3966 (struct stat): Rename member pad0 to __glibc_reserved0.
3969 * sysdeps/s390/s390-32/bits/wordsize.h
3970 (__WORDSIZE32_SIZE_ULONG): New define.
3971 * sysdeps/s390/s390-64/bits/wordsize.h
3972 (__WORDSIZE32_SIZE_ULONG): Likewise.
3973 * sysdeps/generic/stdint.h (SIZE_MAX):
3974 Define as UL if __WORDSIZE32_SIZE_ULONG.
3977 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3978 (__glibc_reserved0): New variable.
3979 (sa_flags): Change type to int.
3981 * posix/Makefile (before-compile): Use += before-compile instead
3984 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3985 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3987 2014-03-20 Andreas Schwab <schwab@suse.de>
3990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3991 non-matching result from nscd.
3993 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3995 * scripts/bench.py: Moved to ...
3996 * benchtests/scripts/bench.py: ... here.
3997 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3999 2014-03-24 Andreas Schwab <schwab@suse.de>
4002 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4003 alloca_account and account alloca use for struct in6ailist.
4005 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4008 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4009 rounding mode to recompute results that overflow to infinity or
4011 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4013 * math/auto-libm-test-out: Regenerated.
4014 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4015 (ccosh_test): Likewise.
4016 (csin_test_data): Use plus_oflow.
4017 (csin_test): Use ALL_RM_TEST.
4018 (csinh_test_data): Use plus_oflow.
4019 (csinh_test): Use ALL_RM_TEST.
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4023 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4025 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4026 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4027 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4030 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4032 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4033 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4034 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4035 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4037 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4038 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4040 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4041 * sysdeps/i386/fpu/libm-test-ulps: Update.
4042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4044 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4046 * scripts/bench.pl: Remove file.
4047 * scripts/bench.py: New benchmark script.
4048 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4049 * benchtests/README: Mention python dependency.
4050 * scripts/pylintrc: New file.
4051 * scripts/pylint: New file.
4053 * bits/mathdef.h: Use #ifdef instead of #if.
4054 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4055 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4056 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4057 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4058 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4059 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4061 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4062 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4064 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4066 and strpbrk-ppc64 objects.
4067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4068 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4069 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4070 multiarch strpbrk for POWER7.
4071 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4072 multiarch strpbrk for PPC64.
4073 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4075 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4078 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4080 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4081 (atan_test): Likewise.
4082 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4083 (atanh_test): Use ALL_RM_TEST.
4084 (atan2_test_data): Likewise.
4085 (cabs_test): Likewise.
4086 (cacosh_test): Likewise.
4087 (carg_test): Likewise.
4088 (casin_test): Likewise.
4089 (casinh_test): Likewise.
4090 (cbrt_test): Likewise.
4091 (csqrt_test): Likewise.
4092 (erf_test): Likewise.
4093 (erfc_test): Likewise.
4094 (pow10_test): Likewise.
4095 (exp2_test): Likewise.
4096 (hypot_test): Likewise.
4097 (j0_test): Likewise.
4098 (j1_test): Likewise.
4099 (lgamma_test): Likewise.
4100 (gamma_test): Likewise.
4101 (sincos_test): Likewise.
4102 (tanh_test): Likewise.
4103 (y0_test): Likewise.
4104 (y1_test): Likewise.
4105 * sysdeps/i386/fpu/libm-test-ulps: Update.
4106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4108 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4110 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4112 and strcspn-ppc64 objects.
4113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4114 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4115 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4116 multiarch strcspn for POWER7.
4117 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4118 multiarch strcspn for PPC64.
4119 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4121 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4124 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4126 * math/gen-libm-test.pl (generate_testfile): Expect only function
4127 name as argument to AUTO_TESTS_* and pass results for all rounding
4128 modes to parse_args.
4129 (parse_auto_input): Separate inputs of automatic tests from
4130 outputs before storing in %auto_tests.
4131 * math/libm-test.inc (acos_test_data): Update call to
4133 (acos_test): Use ALL_RM_TEST.
4134 (acos_tonearest_test_data): Remove.
4135 (acos_test_tonearest): Likewise.
4136 (acos_towardzero_test_data): Likewise.
4137 (acos_test_towardzero): Likewise.
4138 (acos_downward_test_data): Likewise.
4139 (acos_test_downward): Likewise.
4140 (acos_upward_test_data): Likewise.
4141 (acos_test_upward): Likewise.
4142 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4143 (asin_test_data): Likewise.
4144 (asin_test): Use ALL_RM_TEST.
4145 (asin_tonearest_test_data): Remove.
4146 (asin_test_tonearest): Likewise.
4147 (asin_towardzero_test_data): Likewise.
4148 (asin_test_towardzero): Likewise.
4149 (asin_downward_test_data): Likewise.
4150 (asin_test_downward): Likewise.
4151 (asin_upward_test_data): Likewise.
4152 (asin_test_upward): Likewise.
4153 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4154 (atan_test_data): Likewise.
4155 (atanh_test_data): Likewise.
4156 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4157 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4158 (carg_test_data): Likewise.
4159 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4160 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4161 (ccosh_test_data): Likewise.
4162 (cexp_test_data): Likewise.
4163 (clog_test_data): Likewise.
4164 (clog10_test_data): Likewise.
4165 (cos_test_data): Update call to AUTO_TESTS_f_f.
4166 (cos_test): Use ALL_RM_TEST.
4167 (cos_tonearest_test_data): Remove.
4168 (cos_test_tonearest): Likewise.
4169 (cos_towardzero_test_data): Likewise.
4170 (cos_test_towardzero): Likewise.
4171 (cos_downward_test_data): Likewise.
4172 (cos_test_downward): Likewise.
4173 (cos_upward_test_data): Likewise.
4174 (cos_test_upward): Likewise.
4175 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4176 (cosh_test): Use ALL_RM_TEST.
4177 (cosh_tonearest_test_data): Remove.
4178 (cosh_test_tonearest): Likewise.
4179 (cosh_towardzero_test_data): Likewise.
4180 (cosh_test_towardzero): Likewise.
4181 (cosh_downward_test_data): Likewise.
4182 (cosh_test_downward): Likewise.
4183 (cosh_upward_test_data): Likewise.
4184 (cosh_test_upward): Likewise.
4185 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4186 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4187 (ctan_test_data): Likewise.
4188 (ctan_test): Use ALL_RM_TEST.
4189 (ctan_tonearest_test_data): Remove.
4190 (ctan_test_tonearest): Likewise.
4191 (ctan_towardzero_test_data): Likewise.
4192 (ctan_test_towardzero): Likewise.
4193 (ctan_downward_test_data): Likewise.
4194 (ctan_test_downward): Likewise.
4195 (ctan_upward_test_data): Likewise.
4196 (ctan_test_upward): Likewise.
4197 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4198 (ctanh_test): Use ALL_RM_TEST.
4199 (ctanh_tonearest_test_data): Remove.
4200 (ctanh_test_tonearest): Likewise.
4201 (ctanh_towardzero_test_data): Likewise.
4202 (ctanh_test_towardzero): Likewise.
4203 (ctanh_downward_test_data): Likewise.
4204 (ctanh_test_downward): Likewise.
4205 (ctanh_upward_test_data): Likewise.
4206 (ctanh_test_upward): Likewise.
4207 (erf_test_data): Update call to AUTO_TESTS_f_f.
4208 (erfc_test_data): Likewise.
4209 (exp_test_data): Likewise.
4210 (exp_test): Use ALL_RM_TEST.
4211 (exp_tonearest_test_data): Remove.
4212 (exp_test_tonearest): Likewise.
4213 (exp_towardzero_test_data): Likewise.
4214 (exp_test_towardzero): Likewise.
4215 (exp_downward_test_data): Likewise.
4216 (exp_test_downward): Likewise.
4217 (exp_upward_test_data): Likewise.
4218 (exp_test_upward): Likewise.
4219 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4220 (exp10_test): Use ALL_RM_TEST.
4221 (exp10_tonearest_test_data): Remove.
4222 (exp10_test_tonearest): Likewise.
4223 (exp10_towardzero_test_data): Likewise.
4224 (exp10_test_towardzero): Likewise.
4225 (exp10_downward_test_data): Likewise.
4226 (exp10_test_downward): Likewise.
4227 (exp10_upward_test_data): Likewise.
4228 (exp10_test_upward): Likewise.
4229 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4230 (expm1_test_data): Likewise.
4231 (expm1_test): Use ALL_RM_TEST.
4232 (expm1_tonearest_test_data): Remove.
4233 (expm1_test_tonearest): Likewise.
4234 (expm1_towardzero_test_data): Likewise.
4235 (expm1_test_towardzero): Likewise.
4236 (expm1_downward_test_data): Likewise.
4237 (expm1_test_downward): Likewise.
4238 (expm1_upward_test_data): Likewise.
4239 (expm1_test_upward): Likewise.
4240 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4241 (fma_test): Use ALL_RM_TEST.
4242 (fma_towardzero_test_data): Remove.
4243 (fma_test_towardzero): Likewise.
4244 (fma_downward_test_data): Likewise.
4245 (fma_test_downward): Likewise.
4246 (fma_upward_test_data): Likewise.
4247 (fma_test_upward): Likewise.
4248 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4249 (j0_test_data): Update call to AUTO_TESTS_f_f.
4250 (j1_test_data): Likewise.
4251 (jn_test_data): Update call to AUTO_TESTS_if_f.
4252 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4253 (log_test_data): Update call to AUTO_TESTS_f_f.
4254 (log10_test_data): Likewise.
4255 (log1p_test_data): Likewise.
4256 (log2_test_data): Likewise.
4257 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4258 (pow_tonearest_test_data): Likewise.
4259 (sin_test_data): Update call to AUTO_TESTS_f_f.
4260 (sin_test): Use ALL_RM_TEST.
4261 (sin_tonearest_test_data): Remove.
4262 (sin_test_tonearest): Likewise.
4263 (sin_towardzero_test_data): Likewise.
4264 (sin_test_towardzero): Likewise.
4265 (sin_downward_test_data): Likewise.
4266 (sin_test_downward): Likewise.
4267 (sin_upward_test_data): Likewise.
4268 (sin_test_upward): Likewise.
4269 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4270 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4271 (sinh_test): Use ALL_RM_TEST.
4272 (sinh_tonearest_test_data): Remove.
4273 (sinh_test_tonearest): Likewise.
4274 (sinh_towardzero_test_data): Likewise.
4275 (sinh_test_towardzero): Likewise.
4276 (sinh_downward_test_data): Likewise.
4277 (sinh_test_downward): Likewise.
4278 (sinh_upward_test_data): Likewise.
4279 (sinh_test_upward): Likewise.
4280 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4281 (sqrt_test): Use ALL_RM_TEST.
4282 (sqrt_tonearest_test_data): Remove.
4283 (sqrt_test_tonearest): Likewise.
4284 (sqrt_towardzero_test_data): Likewise.
4285 (sqrt_test_towardzero): Likewise.
4286 (sqrt_downward_test_data): Likewise.
4287 (sqrt_test_downward): Likewise.
4288 (sqrt_upward_test_data): Likewise.
4289 (sqrt_test_upward): Likewise.
4290 (tan_test_data): Update call to AUTO_TESTS_f_f.
4291 (tan_test): Use ALL_RM_TEST.
4292 (tan_tonearest_test_data): Remove.
4293 (tan_test_tonearest): Likewise.
4294 (tan_towardzero_test_data): Likewise.
4295 (tan_test_towardzero): Likewise.
4296 (tan_downward_test_data): Likewise.
4297 (tan_test_downward): Likewise.
4298 (tan_upward_test_data): Likewise.
4299 (tan_test_upward): Likewise.
4300 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4301 (tgamma_test_data): Likewise.
4302 (y0_test_data): Likewise.
4303 (y1_test_data): Likewise.
4304 (yn_test_data): Update call to AUTO_TESTS_if_f.
4305 (main): Do not call removed functions.
4307 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4309 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4310 (ldexp_test_data): Remove.
4311 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4313 (scalb_test): Use ALL_RM_TEST.
4315 2014-03-19 Andreas Schwab <schwab@suse.de>
4317 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4319 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4322 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4323 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4324 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4326 (__ASSUME_PREADV): Undefine.
4327 (__ASSUME_PWRITEV): Likewise.
4329 2014-03-18 Roland McGrath <roland@hack.frob.com>
4331 * bits/mman-linux.h: Add comment about non-Linux use.
4332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4333 bits/mman-linux.h resting place.
4335 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4336 * bits/mman-linux.h: ... here.
4338 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4340 * conform/conformtest.pl: Add standard definition when calling C
4341 preprocessor on data files.
4342 (checknamespace): Remove unused variable.
4344 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4346 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4347 minus_oflow, plus_uflow and minus_uflow in expected results.
4348 * math/libm-test.inc (scalbn_test_data): Add more tests of
4349 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4351 (scalbn_test): Use ALL_RM_TEST.
4352 (scalbln_test_data): Add more tests of negative arguments. Use
4353 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4354 (scalbln_test): Use ALL_RM_TEST.
4356 2014-03-18 Roland McGrath <roland@hack.frob.com>
4358 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4360 2014-03-18 Will Newton <will.newton@linaro.org>
4362 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4365 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4367 * Makerules [!subdir] (check-abi): Exit with error status if a
4370 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4372 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4373 for rint. Include results for all rounding modes.
4374 (nearbyint_test): Use ALL_RM_TEST.
4375 (rint_test_data): Include all tests used for nearbyint.
4377 2014-03-17 Will Newton <will.newton@linaro.org>
4379 * nptl/sysdeps/pthread/pthread.h: Revert previous
4382 * sysdeps/generic/ldsodefs.h: Revert previous
4385 * libio/genops.c: Revert previous change.
4386 * libio/libioP.h: Likewise.
4387 * stdio-common/vfprintf.c: Likewise.
4389 * sysdeps/generic/math_private.h: Revert previous
4392 * sysdeps/generic/math_private.h: Check whether
4393 HAVE_RM_CTX is defined with #ifdef rather
4396 * argp/argp-fmtstream.h: Check whether
4397 __STRICT_ANSI__ is defined with #ifdef rather
4399 * argp/argp.h: Likewise.
4401 * libio/genops.c: Check whether
4402 _IO_JUMPS_OFFSET is defined with #ifdef rather
4404 * libio/libioP.h: Likewise.
4405 * stdio-common/vfprintf.c: Likewise.
4407 * sysdeps/generic/ldsodefs.h: Check whether
4408 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4411 * nptl/sysdeps/pthread/pthread.h: Check
4412 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4415 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4417 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4419 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4423 * libio/fileops.c (_IO_file_open): Seek to end of file but
4424 don't cache the offset.
4425 (get_file_offset): Remove function.
4426 (do_ftell): Use cached offset when available.
4427 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4428 don't cache the offset.
4429 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4431 (do_one_test): Call it.
4432 (do_ftell_test): Fix up expected old offset for a+ mode.
4433 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4436 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4437 up test status with function return status.
4438 (do_write_test): Likewise.
4439 (do_append_test): Likewise.
4441 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4442 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4445 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4447 * math/gen-libm-test.pl (parse_args): Handle results specified for
4448 each rounding mode separately.
4449 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4450 tests and results from lrint_tonearest_test_data,
4451 lrint_towardzero_test_data, lrint_downward_test_data and
4452 lrint_upward_test_data.
4453 (lrint_test): Use ALL_RM_TEST.
4454 (lrint_tonearest_test_data): Remove.
4455 (lrint_test_tonearest): Likewise.
4456 (lrint_towardzero_test_data): Likewise.
4457 (lrint_test_towardzero): Likewise.
4458 (lrint_downward_test_data): Likewise.
4459 (lrint_test_downward): Likewise.
4460 (lrint_upward_test_data): Likewise.
4461 (lrint_test_upward): Likewise.
4462 (llrint_test_data): Merge in per-rounding-mode tests and results
4463 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4464 llrint_downward_test_data and llrint_upward_test_data.
4465 (llrint_test): Use ALL_RM_TEST.
4466 (llrint_tonearest_test_data): Remove.
4467 (llrint_test_tonearest): Likewise.
4468 (llrint_towardzero_test_data): Likewise.
4469 (llrint_test_towardzero): Likewise.
4470 (llrint_downward_test_data): Likewise.
4471 (llrint_test_downward): Likewise.
4472 (llrint_upward_test_data): Likewise.
4473 (llrint_test_upward): Likewise.
4474 (rint_test_data): Merge in per-rounding-mode tests and results
4475 from rint_tonearest_test_data, rint_towardzero_test_data,
4476 rint_downward_test_data and rint_upward_test_data. Add
4477 per-rounding-mode results for tests not in those arrays.
4478 (rint_test): Use ALL_RM_TEST.
4479 (rint_tonearest_test_data): Remove.
4480 (rint_test_tonearest): Likewise.
4481 (rint_towardzero_test_data): Likewise.
4482 (rint_test_towardzero): Likewise.
4483 (rint_downward_test_data): Likewise.
4484 (rint_test_downward): Likewise.
4485 (rint_upward_test_data): Likewise.
4486 (rint_test_upward): Likewise.
4487 (main): Don't call removed functions.
4489 2014-03-14 Roland McGrath <roland@hack.frob.com>
4491 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4492 "Compiled on ..." crapola. It is anti-useful.
4494 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4496 * scripts/evaluate-test.sh: Handle fourth argument to determine
4497 whether test run should stop on failure.
4498 * Makeconfig (stop-on-test-failure): New variable.
4499 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4500 $(stop-on-test-failure).
4501 * Makefile (tests): Give a summary of results from testing and
4502 exit with failure status if they include an ERROR or FAIL.
4504 * manual/install.texi (Configuring and compiling): Mention
4505 stop-on-test-failure=y.
4506 * INSTALL: Regenerated.
4508 2014-03-14 Roland McGrath <roland@hack.frob.com>
4510 * scripts/versionlist.awk: New file.
4511 * Makerules [$(build-shared) = yes]
4512 (postclean-generated): Add Versions.def, not Versions.def.v and
4514 ($(common-objpfx)Versions.def.v.i): Target removed.
4515 ($(common-objpfx)Versions.def): New target.
4516 ($(common-objpfx)Versions.all): Depend on that rather that
4517 $(common-objpfx)Versions.def.v.
4518 * Versions.def: File removed.
4520 * Makeconfig (+gccwarn): Add -Wundef.
4521 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4522 a dl-sysdep.h breaking its contract.
4523 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4524 * include/stackinfo.h: New file.
4525 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4526 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4527 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4528 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4529 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4530 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4531 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4532 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4533 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4534 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4535 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4536 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4537 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4538 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4539 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4541 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4544 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4546 * math/libm-test.inc (round_test_data): Add more tests.
4549 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4551 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4554 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4556 * math/libm-test.inc (ceil_test_data): Add more tests.
4558 * math/libm-test.inc (trunc_test_data): Add more tests related to
4561 2014-03-14 Roland McGrath <roland@hack.frob.com>
4563 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4564 with #if rather than #ifdef.
4565 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4567 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4569 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4570 first. Disable AVX-512 GCC support if assembler doesn't support
4572 * sysdeps/x86_64/configure: Regenerated.
4574 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4576 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4577 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4578 (__old_pthread_attr_setstack): Likewise.
4579 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4580 [!_STACK_GROWS_DOWN]: Likewise.
4582 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4584 * config.make.in (have-bash2): Delete.
4585 * configure.ac (libc_cv_have_bash2): Delete.
4586 * configure: Regenerate.
4587 * elf/Makefile (common-ldd-rewrite): Rename to ...
4588 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4589 (sh-ldd-rewrite): Delete.
4590 (bash-ldd-rewrite): Delete.
4591 (have-bash2): Delete checks.
4592 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4595 * config.make.in (have-ksh): Delete.
4597 * configure.ac (libc_cv_have_ksh): Delete.
4598 * configure: Regenerate.
4600 * elf/Makefile: Delete $(have-ksh) check.
4601 ($(objpfx)sotruss): Change KSH to BASH.
4602 * elf/sotruss.ksh: Rename to ...
4603 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4604 function style to match POSIX. Drop ksh vim mode setting.
4606 * manual/time.texi (Specifying the Time Zone with TZ): Change
4607 Tuesday to Thursday.
4609 * debug/tst-longjmp_chk2.c: Update header comment.
4610 (stackoverflow_handler): Add comment. Call assert on pass value.
4612 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4614 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4615 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4616 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4617 (La_x86_64_vector): Add zmm.
4618 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4619 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4620 ($(objpfx)tst-audit10): New target.
4621 ($(objpfx)tst-audit10.out): Likewise.
4622 (tst-audit10-ENV): New.
4623 (AVX512-CFLAGS): Likewise.
4624 (CFLAGS-tst-audit10.c): Likewise.
4625 (CFLAGS-tst-auditmod10a.c): Likewise.
4626 (CFLAGS-tst-auditmod10b.c): Likewise.
4627 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4628 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4629 * sysdeps/x86_64/configure: Regenerated.
4630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4631 AVX-512 zmm register support.
4632 (_dl_x86_64_save_sse): Likewise.
4633 (_dl_x86_64_restore_sse): Likewise.
4634 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4635 size vector registers.
4636 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4637 (ZMM_SIZE): Likewise.
4638 * sysdeps/x86_64/tst-audit10.c: New file.
4639 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4640 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4642 2014-03-13 Roland McGrath <roland@hack.frob.com>
4644 * configure.ac (HAVE_EHDR_START): New check.
4645 * configure: Regenerated.
4646 * config.h.in (HAVE_EHDR_START): New #undef.
4647 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4648 assuming the lowest-addressed segment maps the start of the file.
4650 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4652 * INSTALL: Regenerated.
4654 2014-03-13 Will Newton <will.newton@linaro.org>
4656 * manual/setjmp.texi (System V contexts): Improve
4657 clarity and grammar of documentation.
4659 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4662 * elf/Makefile (tests): Add tst-pie2.
4663 (tests-pie): Add tst-pie2.
4664 * elf/tst-pie2.c: New file.
4665 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4667 * elf/rtld.c (map_doit): Load executable as lt_executable.
4668 (dl_main): Likewise.
4670 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4673 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4674 (__ASSUME_PSELECT): Undefine.
4676 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4679 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4680 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4682 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4683 selector for static builds.
4685 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4688 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4691 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4693 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4694 IFUNC selector for static builds.
4696 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4698 * sysdeps/mips/math_private.h [__mips_hard_float]
4699 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4700 libc_feresetround_mips_ctx.
4701 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4702 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4703 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4706 * math/s_nextafter.c (__nextafter): Do not return value from
4707 overflowing computation.
4708 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4709 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4712 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4714 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4715 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4717 2014-03-11 Roland McGrath <roland@hack.frob.com>
4719 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4720 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4721 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4722 the new mov targetting sp.
4724 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4727 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4728 Define it for static builds as well.
4729 (NO_BZERO_IMPL): Likewise.
4731 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4733 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4734 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4735 multiarch strspn for PPC64.
4736 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4737 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4739 (__libc_ifunc_impl_list): Likewise.
4740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4741 multiarch optimizations
4742 * string/strspn.c (strspn): Using macro to redefine symbol name.
4744 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4745 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4747 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4748 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4749 multiarch strncat for PPC64.
4750 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4751 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4753 (__libc_ifunc_impl_list): Likewise.
4754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4755 multiarch optimizations
4757 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4760 * nscd/nscd.service: Make service type forking.
4762 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4765 sign in non default rounding modes.
4766 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4768 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4770 * math/libm-test.inc (ALL_RM_TEST): New macro.
4771 (ceil_test): Use ALL_RM_TEST.
4772 (cimag_test): Likewise.
4773 (conj_test): Likewise.
4774 (copysign_test): Likewise.
4775 (cproj_test): Likewise.
4776 (creal_test): Likewise.
4777 (fabs_test): Likewise.
4778 (floor_test): Likewise.
4779 (fmax_test): Likewise.
4780 (fmin_test): Likewise.
4781 (fmod_test): Likewise.
4782 (fpclassify_test): Likewise.
4783 (frexp_test): Likewise.
4784 (ilogb_test): Likewise.
4785 (isfinite_test): Likewise.
4786 (finite_test): Likewise.
4787 (isgreater_test): Likewise.
4788 (isgreaterequal_test): Likewise.
4789 (isinf_test): Likewise.
4790 (isless_test): Likewise.
4791 (islessequal_test): Likewise.
4792 (islessgreater_test): Likewise.
4793 (isnan_test): Likewise.
4794 (isnormal_test): Likewise.
4795 (issignaling_test): Likewise.
4796 (isunordered_test): Likewise.
4797 (logb_test): Likewise.
4798 (logb_downward_test_data): Remove.
4799 (logb_test_downward): Likewise.
4800 (lround_test): Use ALL_RM_TEST.
4801 (llround_test): Likewise.
4802 (modf_test): Likewise.
4803 (nexttoward_test): Likewise.
4804 (remainder_test): Likewise.
4805 (drem_test): Likewise.
4806 (remainder_tonearest_test_data): Likewise.
4807 (remainder_test_tonearest): Likewise.
4808 (drem_test_tonearest): Likewise.
4809 (remainder_towardzero_test_data): Likewise.
4810 (remainder_test_towardzero): Likewise.
4811 (drem_test_towardzero): Likewise.
4812 (remainder_downward_test_data): Likewise.
4813 (remainder_test_downward): Likewise.
4814 (drem_test_downward): Likewise.
4815 (remainder_upward_test_data): Likewise.
4816 (remainder_test_upward): Likewise.
4817 (drem_test_upward): Likewise.
4818 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4819 (round_test): Use ALL_RM_TEST.
4820 (signbit_test): Likewise.
4821 (trunc_test): Likewise.
4822 (significand_test): Likewise.
4823 (main): Don't call removed functions.
4825 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4828 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4830 (ILL_ILLOPN): Likewise.
4831 (ILL_ILLADR): Likewise.
4832 (ILL_ILLTRP): Likewise.
4833 (ILL_PRVOPC): Likewise.
4834 (ILL_PRVREG): Likewise.
4835 (ILL_COPROC): Likewise.
4836 (ILL_BADSTK): Likewise.
4837 (FPE_INTDIV): Likewise.
4838 (FPE_INTOVF): Likewise.
4839 (FPE_FLTDIV): Likewise.
4840 (FPE_FLTOVF): Likewise.
4841 (FPE_FLTUND): Likewise.
4842 (FPE_FLTRES): Likewise.
4843 (FPE_FLTINV): Likewise.
4844 (FPE_FLTSUB): Likewise.
4845 (SEGV_MAPERR): Likewise.
4846 (SEGV_ACCERR): Likewise.
4847 (BUS_ADRALN): Likewise.
4848 (BUS_ADRERR): Likewise.
4849 (BUS_OBJERR): Likewise.
4850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4851 (TRAP_TRACE): Likewise.
4852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4854 (CLD_KILLED): Likewise.
4855 (CLD_DUMPED): Likewise.
4856 (CLD_TRAPPED): Likewise.
4857 (CLD_STOPPED): Likewise.
4858 (CLD_CONTINUED): Likewise.
4859 (POLL_IN): Likewise.
4860 (POLL_OUT): Likewise.
4861 (POLL_MSG): Likewise.
4862 (POLL_ERR): Likewise.
4863 (POLL_PRI): Likewise.
4864 (POLL_HUP): Likewise.
4865 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4867 (ILL_ILLOPN): Likewise.
4868 (ILL_ILLADR): Likewise.
4869 (ILL_ILLTRP): Likewise.
4870 (ILL_PRVOPC): Likewise.
4871 (ILL_PRVREG): Likewise.
4872 (ILL_COPROC): Likewise.
4873 (ILL_BADSTK): Likewise.
4874 (FPE_INTDIV): Likewise.
4875 (FPE_INTOVF): Likewise.
4876 (FPE_FLTDIV): Likewise.
4877 (FPE_FLTOVF): Likewise.
4878 (FPE_FLTUND): Likewise.
4879 (FPE_FLTRES): Likewise.
4880 (FPE_FLTINV): Likewise.
4881 (FPE_FLTSUB): Likewise.
4882 (SEGV_MAPERR): Likewise.
4883 (SEGV_ACCERR): Likewise.
4884 (BUS_ADRALN): Likewise.
4885 (BUS_ADRERR): Likewise.
4886 (BUS_OBJERR): Likewise.
4887 (BUS_MCEERR_AR): Likewise.
4888 (BUS_MCEERR_AO): Likewise.
4889 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4890 (TRAP_TRACE): 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/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/ia64/bits/siginfo.h (ILL_ILLOPC):
4944 (ILL_ILLOPN): Likewise.
4945 (ILL_ILLADR): Likewise.
4946 (ILL_ILLTRP): Likewise.
4947 (ILL_PRVOPC): Likewise.
4948 (ILL_PRVREG): Likewise.
4949 (ILL_COPROC): Likewise.
4950 (ILL_BADSTK): Likewise.
4951 (ILL_BADIADDR): Likewise.
4952 (ILL_BREAK): Likewise.
4953 (FPE_INTDIV): Likewise.
4954 (FPE_INTOVF): Likewise.
4955 (FPE_FLTDIV): Likewise.
4956 (FPE_FLTOVF): Likewise.
4957 (FPE_FLTUND): Likewise.
4958 (FPE_FLTRES): Likewise.
4959 (FPE_FLTINV): Likewise.
4960 (FPE_FLTSUB): Likewise.
4961 (FPE_DECOVF): Likewise.
4962 (FPE_DECDIV): Likewise.
4963 (FPE_DECERR): Likewise.
4964 (FPE_INVASC): Likewise.
4965 (FPE_INVDEC): Likewise.
4966 (SEGV_MAPERR): Likewise.
4967 (SEGV_ACCERR): Likewise.
4968 (SEGV_PSTKOVF): Likewise.
4969 (BUS_ADRALN): Likewise.
4970 (BUS_ADRERR): Likewise.
4971 (BUS_OBJERR): Likewise.
4972 (BUS_MCEERR_AR): Likewise.
4973 (BUS_MCEERR_AO): Likewise.
4974 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4975 (TRAP_TRACE): Likewise.
4976 (TRAP_BRANCH): Likewise.
4977 (TRAP_HWBKPT): Likewise.
4978 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4980 (CLD_KILLED): Likewise.
4981 (CLD_DUMPED): Likewise.
4982 (CLD_TRAPPED): Likewise.
4983 (CLD_STOPPED): Likewise.
4984 (CLD_CONTINUED): Likewise.
4985 (POLL_IN): Likewise.
4986 (POLL_OUT): Likewise.
4987 (POLL_MSG): Likewise.
4988 (POLL_ERR): Likewise.
4989 (POLL_PRI): Likewise.
4990 (POLL_HUP): Likewise.
4991 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4992 (ILL_ILLOPN): Likewise.
4993 (ILL_ILLADR): Likewise.
4994 (ILL_ILLTRP): Likewise.
4995 (ILL_PRVOPC): Likewise.
4996 (ILL_PRVREG): Likewise.
4997 (ILL_COPROC): Likewise.
4998 (ILL_BADSTK): Likewise.
4999 (FPE_INTDIV): Likewise.
5000 (FPE_INTOVF): Likewise.
5001 (FPE_FLTDIV): Likewise.
5002 (FPE_FLTOVF): Likewise.
5003 (FPE_FLTUND): Likewise.
5004 (FPE_FLTRES): Likewise.
5005 (FPE_FLTINV): Likewise.
5006 (FPE_FLTSUB): Likewise.
5007 (SEGV_MAPERR): Likewise.
5008 (SEGV_ACCERR): Likewise.
5009 (BUS_ADRALN): Likewise.
5010 (BUS_ADRERR): Likewise.
5011 (BUS_OBJERR): Likewise.
5012 (BUS_MCEERR_AR): Likewise.
5013 (BUS_MCEERR_AO): Likewise.
5014 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5015 (TRAP_TRACE): Likewise.
5016 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5018 (CLD_KILLED): Likewise.
5019 (CLD_DUMPED): Likewise.
5020 (CLD_TRAPPED): Likewise.
5021 (CLD_STOPPED): Likewise.
5022 (CLD_CONTINUED): Likewise.
5023 (POLL_IN): Likewise.
5024 (POLL_OUT): Likewise.
5025 (POLL_MSG): Likewise.
5026 (POLL_ERR): Likewise.
5027 (POLL_PRI): Likewise.
5028 (POLL_HUP): Likewise.
5029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5030 (ILL_ILLOPN): Likewise.
5031 (ILL_ILLADR): Likewise.
5032 (ILL_ILLTRP): Likewise.
5033 (ILL_PRVOPC): Likewise.
5034 (ILL_PRVREG): Likewise.
5035 (ILL_COPROC): Likewise.
5036 (ILL_BADSTK): Likewise.
5037 (FPE_INTDIV): Likewise.
5038 (FPE_INTOVF): Likewise.
5039 (FPE_FLTDIV): Likewise.
5040 (FPE_FLTOVF): Likewise.
5041 (FPE_FLTUND): Likewise.
5042 (FPE_FLTRES): Likewise.
5043 (FPE_FLTINV): Likewise.
5044 (FPE_FLTSUB): Likewise.
5045 (SEGV_MAPERR): Likewise.
5046 (SEGV_ACCERR): Likewise.
5047 (BUS_ADRALN): Likewise.
5048 (BUS_ADRERR): Likewise.
5049 (BUS_OBJERR): Likewise.
5050 (BUS_MCEERR_AR): Likewise.
5051 (BUS_MCEERR_AO): Likewise.
5052 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5053 (TRAP_TRACE): Likewise.
5054 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5056 (CLD_KILLED): Likewise.
5057 (CLD_DUMPED): Likewise.
5058 (CLD_TRAPPED): Likewise.
5059 (CLD_STOPPED): Likewise.
5060 (CLD_CONTINUED): Likewise.
5061 (POLL_IN): Likewise.
5062 (POLL_OUT): Likewise.
5063 (POLL_MSG): Likewise.
5064 (POLL_ERR): Likewise.
5065 (POLL_PRI): Likewise.
5066 (POLL_HUP): Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5068 (ILL_ILLOPN): Likewise.
5069 (ILL_ILLADR): Likewise.
5070 (ILL_ILLTRP): Likewise.
5071 (ILL_PRVOPC): Likewise.
5072 (ILL_PRVREG): Likewise.
5073 (ILL_COPROC): Likewise.
5074 (ILL_BADSTK): Likewise.
5075 (FPE_INTDIV): Likewise.
5076 (FPE_INTOVF): Likewise.
5077 (FPE_FLTDIV): Likewise.
5078 (FPE_FLTOVF): Likewise.
5079 (FPE_FLTUND): Likewise.
5080 (FPE_FLTRES): Likewise.
5081 (FPE_FLTINV): Likewise.
5082 (FPE_FLTSUB): Likewise.
5083 (SEGV_MAPERR): Likewise.
5084 (SEGV_ACCERR): Likewise.
5085 (BUS_ADRALN): Likewise.
5086 (BUS_ADRERR): Likewise.
5087 (BUS_OBJERR): Likewise.
5088 (BUS_MCEERR_AR): Likewise.
5089 (BUS_MCEERR_AO): Likewise.
5090 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5091 (TRAP_TRACE): Likewise.
5092 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5094 (CLD_KILLED): Likewise.
5095 (CLD_DUMPED): Likewise.
5096 (CLD_TRAPPED): Likewise.
5097 (CLD_STOPPED): Likewise.
5098 (CLD_CONTINUED): Likewise.
5099 (POLL_IN): Likewise.
5100 (POLL_OUT): Likewise.
5101 (POLL_MSG): Likewise.
5102 (POLL_ERR): Likewise.
5103 (POLL_PRI): Likewise.
5104 (POLL_HUP): Likewise.
5105 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5106 (ILL_ILLOPN): Likewise.
5107 (ILL_ILLADR): Likewise.
5108 (ILL_ILLTRP): Likewise.
5109 (ILL_PRVOPC): Likewise.
5110 (ILL_PRVREG): Likewise.
5111 (ILL_COPROC): Likewise.
5112 (ILL_BADSTK): Likewise.
5113 (ILL_DBLFLT): Likewise.
5114 (ILL_HARDWALL): Likewise.
5115 (FPE_INTDIV): Likewise.
5116 (FPE_INTOVF): Likewise.
5117 (FPE_FLTDIV): Likewise.
5118 (FPE_FLTOVF): Likewise.
5119 (FPE_FLTUND): Likewise.
5120 (FPE_FLTRES): Likewise.
5121 (FPE_FLTINV): Likewise.
5122 (FPE_FLTSUB): Likewise.
5123 (SEGV_MAPERR): Likewise.
5124 (SEGV_ACCERR): Likewise.
5125 (BUS_ADRALN): Likewise.
5126 (BUS_ADRERR): Likewise.
5127 (BUS_OBJERR): Likewise.
5128 (BUS_MCEERR_AR): Likewise.
5129 (BUS_MCEERR_AO): Likewise.
5130 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5131 (TRAP_TRACE): Likewise.
5132 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5134 (CLD_KILLED): Likewise.
5135 (CLD_DUMPED): Likewise.
5136 (CLD_TRAPPED): Likewise.
5137 (CLD_STOPPED): Likewise.
5138 (CLD_CONTINUED): Likewise.
5139 (POLL_IN): Likewise.
5140 (POLL_OUT): Likewise.
5141 (POLL_MSG): Likewise.
5142 (POLL_ERR): Likewise.
5143 (POLL_PRI): Likewise.
5144 (POLL_HUP): Likewise.
5145 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5146 (ILL_ILLOPN): Likewise.
5147 (ILL_ILLADR): Likewise.
5148 (ILL_ILLTRP): Likewise.
5149 (ILL_PRVOPC): Likewise.
5150 (ILL_PRVREG): Likewise.
5151 (ILL_COPROC): Likewise.
5152 (ILL_BADSTK): Likewise.
5153 (FPE_INTDIV): Likewise.
5154 (FPE_INTOVF): Likewise.
5155 (FPE_FLTDIV): Likewise.
5156 (FPE_FLTOVF): Likewise.
5157 (FPE_FLTUND): Likewise.
5158 (FPE_FLTRES): Likewise.
5159 (FPE_FLTINV): Likewise.
5160 (FPE_FLTSUB): Likewise.
5161 (SEGV_MAPERR): Likewise.
5162 (SEGV_ACCERR): Likewise.
5163 (BUS_ADRALN): Likewise.
5164 (BUS_ADRERR): Likewise.
5165 (BUS_OBJERR): Likewise.
5166 (BUS_MCEERR_AR): Likewise.
5167 (BUS_MCEERR_AO): Likewise.
5168 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5169 (TRAP_TRACE): Likewise.
5170 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5172 (CLD_KILLED): Likewise.
5173 (CLD_DUMPED): Likewise.
5174 (CLD_TRAPPED): Likewise.
5175 (CLD_STOPPED): Likewise.
5176 (CLD_CONTINUED): Likewise.
5177 (POLL_IN): Likewise.
5178 (POLL_OUT): Likewise.
5179 (POLL_MSG): Likewise.
5180 (POLL_ERR): Likewise.
5181 (POLL_PRI): Likewise.
5182 (POLL_HUP): Likewise.
5183 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5184 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5187 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5188 before #include of <time.h>.
5189 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5190 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5191 (test-xfail-UNIX98/sched.h/conform): Likewise.
5193 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5195 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5196 error absence of trapping exception support.
5197 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5199 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5201 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5202 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5203 * timezone/Makefile (testdata): Move definition above include of
5205 (test-zones): New variable.
5206 (tests-special): Add zone files.
5207 (build-testdata): Use $(evaluate-test).
5209 * elf/Makefile (tests-special): Rename tests to end with .out.
5210 ($(objpfx)noload-mem): Likewise.
5211 ($(objpfx)tst-leaks1-mem): Likewise.
5212 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5213 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5214 $(objpfx)test-iconvconfig.out.
5215 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5216 set -e inside subshell and redirect output to file.
5217 * iconvdata/Makefile (generated): Rename tests to end with .out.
5219 (tests-special): Rename tests to end with .out.
5220 ($(objpfx)mtrace-tst-loading): Likewise.
5221 * intl/Makefile (generated): Likewise.
5222 (tests-special): Likewise.
5223 ($(objpfx)mtrace-tst-gettext): Likewise.
5224 * misc/Makefile (generated): Likewise.
5225 (tests-special): Likewise.
5226 ($(objpfx)tst-error1-mem): Likewise.
5227 * nptl/Makefile (tests-special): Likewise.
5228 ($(objpfx)tst-stack3-mem): Likewise.
5229 (generated): Likewise.
5230 * posix/Makefile (generated): Likewise.
5231 (tests-special): Likewise.
5232 (xtests-special): Likewise.
5233 ($(objpfx)tst-fnmatch-mem): Likewise.
5234 ($(objpfx)bug-regex2-mem): Likewise.
5235 ($(objpfx)bug-regex14-mem): Likewise.
5236 ($(objpfx)bug-regex21-mem): Likewise.
5237 ($(objpfx)bug-regex31-mem): Likewise.
5238 ($(objpfx)tst-vfork3-mem): Likewise.
5239 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5240 ($(objpfx)tst-pcre-mem): Likewise.
5241 ($(objpfx)tst-boost-mem): Likewise.
5242 ($(objpfx)bug-ga2-mem): Likewise.
5243 ($(objpfx)bug-glob2-mem): Likewise.
5244 * resolv/Makefile (generate): Likewise.
5245 (tests-special): Likewise.
5246 (xtests-special): Likewise.
5247 (generated): Likewise.
5248 ($(objpfx)mtrace-tst-leaks): Likewise.
5249 ($(objpfx)mtrace-tst-leaks2): Likewise.
5251 * scripts/merge-test-results.sh: New file.
5252 * Makefile (tests-special-notdir): New variable.
5253 (tests): Run merge-test-results.sh.
5255 * Rules (tests-special-notdir): New variable.
5256 (xtests-special-notdir): Likewise.
5257 (tests): Run merge-test-results.sh
5260 * Makeconfig (test-xfail-name): New variable.
5261 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5262 compute variable name for expected failures.
5263 * conform/Makefile (conformtest-headers-data): New variable.
5264 (conformtest-standards): Likewise.
5265 (conformtest-headers-ISO): Likewise.
5266 (conformtest-headers-ISO99): Likewise.
5267 (conformtest-headers-ISO11): Likewise.
5268 (conformtest-headers-POSIX): Likewise.
5269 (conformtest-headers-XPG3): Likewise.
5270 (conformtest-headers-XPG4): Likewise.
5271 (conformtest-headers-UNIX98): Likewise.
5272 (conformtest-headers-XOPEN2K): Likewise.
5273 (conformtest-headers-POSIX2008): Likewise.
5274 (conformtest-headers-XOPEN2K8): Likewise.
5275 (conformtest-header-list-base): Likewise.
5276 (conformtest-header-list-tests): Likewise.
5277 (conformtest-header-base): Likewise.
5278 (conformtest-header-tests): Likewise.
5279 (tests-special): Add $(conformtest-header-list-tests). If
5280 [$(fast-check) && !$(cross-compiling)], add
5281 $(conformtest-header-tests) instead of
5282 $(objpfx)run-conformtest.out.
5283 (generated): Add $(conformtest-header-list-base). If
5284 [$(fast-check) && !$(cross-compiling)], add
5285 $(conformtest-header-base). Remove previous setting.
5286 ($(conformtest-header-list-tests)): New target.
5287 (test-xfail-run-conformtest): Remove variable.
5288 ($(objpfx)run-conformtest.out): Remove target.
5289 (test-xfail-ISO11/complex.h/conform): New variable.
5290 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5291 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5292 (test-xfail-XPG3/varargs.h/conform): Likewise.
5293 (test-xfail-XPG4/varargs.h/conform): Likewise.
5294 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5295 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5296 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5297 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5298 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5299 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5300 (test-xfail-XPG3/ftw.h/conform): Likewise.
5301 (test-xfail-XPG3/grp.h/conform): Likewise.
5302 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5303 (test-xfail-XPG3/limits.h/conform): Likewise.
5304 (test-xfail-XPG3/pwd.h/conform): Likewise.
5305 (test-xfail-XPG3/search.h/conform): Likewise.
5306 (test-xfail-XPG3/signal.h/conform): Likewise.
5307 (test-xfail-XPG3/stdio.h/conform): Likewise.
5308 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5309 (test-xfail-XPG3/string.h/conform): Likewise.
5310 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5311 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5312 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5313 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5314 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5315 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5316 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5317 (test-xfail-XPG3/termios.h/conform): Likewise.
5318 (test-xfail-XPG3/time.h/conform): Likewise.
5319 (test-xfail-XPG3/unistd.h/conform): Likewise.
5320 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5321 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5322 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5323 (test-xfail-XPG4/netdb.h/conform): Likewise.
5324 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5325 (test-xfail-XPG4/signal.h/conform): Likewise.
5326 (test-xfail-XPG4/stdio.h/conform): Likewise.
5327 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5328 (test-xfail-XPG4/stropts.h/conform): Likewise.
5329 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5330 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5331 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5332 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5333 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5334 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5335 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5336 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5337 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5338 (test-xfail-XPG4/termios.h/conform): Likewise.
5339 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5340 (test-xfail-XPG4/unistd.h/conform): Likewise.
5341 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5342 (test-xfail-POSIX/sched.h/conform): Likewise.
5343 (test-xfail-POSIX/signal.h/conform): Likewise.
5344 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5345 (test-xfail-POSIX/tar.h/conform): Likewise.
5346 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5347 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5348 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5349 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5350 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5351 (test-xfail-UNIX98/sched.h/conform): Likewise.
5352 (test-xfail-UNIX98/signal.h/conform): Likewise.
5353 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5354 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5355 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5356 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5357 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5358 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5359 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5360 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5361 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5362 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5363 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5364 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5365 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5366 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5367 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5368 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5369 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5370 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5371 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5372 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5373 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5374 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5375 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5376 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5377 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5378 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5379 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5380 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5381 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5382 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5383 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5384 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5385 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5386 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5387 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5388 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5389 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5390 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5391 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5392 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5393 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5394 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5395 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5396 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5397 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5398 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5399 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5400 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5401 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5402 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5403 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5404 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5405 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5406 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5407 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5408 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5409 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5410 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5411 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5412 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5413 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5414 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5415 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5416 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5417 (conformtest-cc-flags): Likewise.
5418 ($(conformtest-header-tests): New target.
5419 * conform/check-header-lists.sh: New file.
5420 * conform/run-conformtest.sh: Remove.
5422 * conform/conformtest.pl: Allow ' and \ in values given for
5424 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5426 [POSIX] (sys/types.h): Likewise.
5427 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5429 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5431 * conform/data/signal.h-data (SIGIO): Remove expectation.
5432 [XPG3] (SIGBUS): Do not expect.
5433 [POSIX || XPG3] (SIGPOLL): Likewise.
5434 [POSIX || XPG3] (SIGPROF): Likewise.
5435 [POSIX || XPG3] (SIGSYS): Likewise.
5436 [XPG3] (SIGTRAP): Likewise.
5437 [POSIX || XPG3] (SIGURG): Likewise.
5438 [POSIX || XPG3] (SIGVTALRM): Likewise.
5439 [POSIX || XPG3] (SIGXCPU): Likewise.
5440 [POSIX || XPG3] (SIGXFSZ): Likewise.
5441 [POSIX] (SA_SIGINFO): Expect.
5442 [XPG3] (siginfo_t): Do not expect type or contents.
5443 [POSIX] (si_pid): Do not expect element.
5444 [POSIX] (si_uid): Likewise.
5445 [POSIX] (si_addr): Likewise.
5446 [POSIX] (si_status): Likewise.
5447 [POSIX] (si_band): Likewise.
5448 [XPG4] (si_value): Likewise.
5449 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5450 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5451 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5452 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5453 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5454 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5455 [POSIX || XPG3] (ILL_COPROC): Likewise.
5456 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5457 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5458 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5459 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5460 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5461 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5462 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5463 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5464 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5465 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5466 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5467 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5468 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5469 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5470 [POSIX || XPG3] (CLD_EXITED): Likewise.
5471 [POSIX || XPG3] (CLD_KILLED): Likewise.
5472 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5473 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5474 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5475 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5476 [POSIX || XPG3] (POLL_IN): Likewise.
5477 [POSIX || XPG3] (POLL_OUT): Likewise.
5478 [POSIX || XPG3] (POLL_MSG): Likewise.
5479 [POSIX || XPG3] (POLL_ERR): Likewise.
5480 [POSIX || XPG3] (POLL_PRI): Likewise.
5481 [POSIX || XPG3] (POLL_HUP): Likewise.
5482 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5483 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5484 (SIG*): Do not allow.
5485 [XPG3] (si_*): Likewise.
5486 [XPG3] (SI_*): Likewise.
5487 [XPG3 || XPG4] (sigev_*): Likewise.
5488 [XPG3 || XPG4] (SIGEV_*): Likewise.
5489 [XPG3 || XPG4] (sival_*): Likewise.
5490 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5491 [POSIX || XPG3] (BUS_*): Likewise.
5492 [POSIX || XPG3] (CLD_*): Likewise.
5493 [POSIX || XPG3] (FPE_*): Likewise.
5494 [POSIX || XPG3] (ILL_*): Likewise.
5495 [POSIX || XPG3] (POLL_*): Likewise.
5496 [POSIX || XPG3] (SEGV_*): Likewise.
5497 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5498 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5499 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5500 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5501 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5502 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5503 Specify type and value.
5504 (TVERSLEN): Likewise.
5505 (REGTYPE): Likewise.
5506 (AREGTYPE): Likewise.
5507 (LNKTYPE): Likewise.
5508 (SYMTYPE): Likewise.
5509 (CHRTYPE): Likewise.
5510 (BLKTYPE): Likewise.
5511 (DIRTYPE): Likewise.
5512 (FIFOTYPE): Likewise.
5513 (CONTTYPE): Likewise.
5518 (TUWRITE): Likewise.
5521 (TGWRITE): Likewise.
5524 (TOWRITE): Likewise.
5526 [POSIX] (TSVTX): Expect constant.
5528 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5530 * Makefile (tests): Change dependencies to ....
5531 (tests-special): ... additions to this variable.
5532 (tests): Depend on $(tests-special).
5533 * Makerules (check-abi-list): New variable.
5534 (check-abi): Depend on $(check-abi-list).
5535 [$(subdir) = elf] (tests-special): Add
5536 $(objpfx)check-abi-libc.out.
5537 [$(build-shared) = yes && subdir] (tests-special): Add
5539 [$(build-shared) = yes && subdir] (tests): Do not depend on
5541 * Rules (tests): Depend on $(tests-special).
5542 (xtests): Depend on $(xtests-special).
5543 * catgets/Makefile (tests): Change dependencies to ....
5544 (tests-special): ... additions to this variable.
5545 * conform/Makefile (tests): Change dependencies to ....
5546 (tests-special): ... additions to this variable.
5547 * elf/Makefile (tests): Change dependencies to ....
5548 (tests-special): ... additions to this variable.
5549 * grp/Makefile (tests): Change dependencies to ....
5550 (tests-special): ... additions to this variable.
5551 * iconv/Makefile (xtests): Change dependencies to ....
5552 (xtests-special): ... additions to this variable.
5553 * iconvdata/Makefile (tests): Change dependencies to ....
5554 (tests-special): ... additions to this variable.
5555 * intl/Makefile (tests): Change dependencies to ....
5556 (tests-special): ... additions to this variable. Also add
5557 $(objpfx)tst-gettext.out.
5558 * io/Makefile (tests): Change dependencies to ....
5559 (tests-special): ... additions to this variable.
5560 * libio/Makefile (tests): Change dependencies to ....
5561 (tests-special): ... additions to this variable.
5562 * malloc/Makefile (tests): Change dependencies to ....
5563 (tests-special): ... additions to this variable.
5564 * misc/Makefile (tests): Change dependencies to ....
5565 (tests-special): ... additions to this variable.
5566 * nptl/Makefile (tests): Change dependencies to ....
5567 (tests-special): ... additions to this variable.
5568 * nptl_db/Makefile (tests): Change dependencies to ....
5569 (tests-special): ... additions to this variable.
5570 * posix/Makefile (tests): Change dependencies to ....
5571 (tests-special): ... additions to this variable.
5572 (xtests): Change dependencies to ....
5573 (xtests-special): ... additions to this variable.
5574 * resolv/Makefile (tests): Change dependencies to ....
5575 (tests-special): ... additions to this variable.
5576 (xtests): Change dependencies to ....
5577 (xtests-special): ... additions to this variable.
5578 * stdio-common/Makefile (tests): Change dependencies to ....
5579 (tests-special): ... additions to this variable.
5580 (do-tst-unbputc): Remove target.
5581 (do-tst-printf): Likewise.
5582 * stdlib/Makefile (tests): Change dependencies to ....
5583 (tests-special): ... additions to this variable.
5584 * string/Makefile (tests): Change dependencies to ....
5585 (tests-special): ... additions to this variable.
5586 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5587 (tests-special): ... additions to this variable.
5589 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5591 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5593 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5594 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5596 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5597 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5598 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5599 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5600 * conform/data/libgen.h-data [XPG3]: Likewise.
5601 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5602 * conform/data/ndbm.h-data [XPG3]: Likewise.
5603 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5604 * conform/data/netdb.h-data [XPG3]: Likewise.
5605 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5606 * conform/data/poll.h-data [XPG3]: Likewise.
5607 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5608 * conform/data/strings.h-data [XPG3]: Likewise.
5609 * conform/data/stropts.h-data [XPG3]: Likewise.
5610 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5611 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5612 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5614 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5615 * conform/data/sys/time.h-data [XPG3]: Likewise.
5616 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5617 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5618 * conform/data/sys/un.h-data [XPG3]: Likewise.
5619 * conform/data/syslog.h-data [XPG3]: Likewise.
5620 * conform/data/ucontext.h-data [XPG3]: Likewise.
5621 * conform/data/utmpx.h-data [XPG3]: Likewise.
5622 * conform/data/varargs.h-data [UNIX98]: Enable file.
5624 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5626 * math/libm-test.inc (struct test_f_f_data): Move expected results
5627 into structure for each rounding mode.
5628 (struct test_ff_f_data): Likewise.
5629 (struct test_ff_f_data_nexttoward): Likewise.
5630 (struct test_fi_f_data): Likewise.
5631 (struct test_fl_f_data): Likewise.
5632 (struct test_if_f_data): Likewise.
5633 (struct test_fff_f_data): Likewise.
5634 (struct test_c_f_data): Likewise.
5635 (struct test_f_f1_data): Likewise.
5636 (struct test_fF_f1_data): Likewise.
5637 (struct test_ffI_f1_data): Likewise.
5638 (struct test_c_c_data): Likewise.
5639 (struct test_cc_c_data): Likewise.
5640 (struct test_f_i_data): Likewise.
5641 (struct test_ff_i_data): Likewise.
5642 (struct test_f_l_data): Likewise.
5643 (struct test_f_L_data): Likewise.
5644 (struct test_fFF_11_data): Likewise.
5646 (RM_FE_DOWNWARD): Likewise.
5647 (RM_FE_TONEAREST): Likewise.
5648 (RM_FE_TOWARDZERO): Likewise.
5649 (RM_FE_UPWARD): Likewise.
5650 (RUN_TEST_LOOP_f_f): Update references to expected results.
5651 (RUN_TEST_LOOP_2_f): Likewise.
5652 (RUN_TEST_LOOP_fff_f): Likewise.
5653 (RUN_TEST_LOOP_c_f): Likewise.
5654 (RUN_TEST_LOOP_f_f1): Likewise.
5655 (RUN_TEST_LOOP_fF_f1): Likewise.
5656 (RUN_TEST_LOOP_fI_f1): Likewise.
5657 (RUN_TEST_LOOP_ffI_f1): Likewise.
5658 (RUN_TEST_LOOP_c_c): Likewise.
5659 (RUN_TEST_LOOP_cc_c): Likewise.
5660 (RUN_TEST_LOOP_f_i): Likewise.
5661 (RUN_TEST_LOOP_f_i_tg): Likewise.
5662 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5663 (RUN_TEST_LOOP_f_b): Likewise.
5664 (RUN_TEST_LOOP_f_b_tg): Likewise.
5665 (RUN_TEST_LOOP_f_l): Likewise.
5666 (RUN_TEST_LOOP_f_L): Likewise.
5667 (RUN_TEST_LOOP_fFF_11): Likewise.
5668 * math/gen-libm-test.pl (parse_args): Output four copies of
5669 expected results for each test.
5671 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5672 (__ASSUME_UTIMES): Remove.
5673 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5674 (__ASSUME_UTIMES): Likewise.
5676 * math/gen-auto-libm-tests.c: Update comment on output format.
5677 (output_for_one_input_case): Generate before-rounding and
5678 after-rounding information as conditions on output flags not
5679 floating-point format.
5680 * math/auto-libm-test-out: Regenerated.
5681 * math/gen-libm-test.pl (cond_value): New function.
5682 (or_cond_value): Use cond_value.
5683 (generate_testfile): Handle conditional exceptions.
5685 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5687 * math/libm-test.inc (max_valid_error): New variable.
5688 (init_max_error): Take new argument specifying whether function
5689 results are exactly determined. Set max_valid_error and bound
5690 other variables for errors based on this argument.
5691 (set_max_error): Do not record results above max_valid_error.
5692 (check_float_internal): Only accept errors of up to 0.5ulps if
5693 also at most max_valid_error.
5694 (START): Take new argument EXACT and pass it to init_max_error.
5695 (acos_test): Update call to START.
5696 (acos_test_tonearest): Likewise.
5697 (acos_test_towardzero): Likewise.
5698 (acos_test_downward): Likewise.
5699 (acos_test_upward): Likewise.
5700 (acosh_test): Likewise.
5701 (asin_test): Likewise.
5702 (asin_test_tonearest): Likewise.
5703 (asin_test_towardzero): Likewise.
5704 (asin_test_downward): Likewise.
5705 (asin_test_upward): Likewise.
5706 (asinh_test): Likewise.
5707 (atan_test): Likewise.
5708 (atanh_test): Likewise.
5709 (atan2_test): Likewise.
5710 (cabs_test): Likewise.
5711 (cacos_test): Likewise.
5712 (cacosh_test): Likewise.
5713 (carg_test): Likewise.
5714 (casin_test): Likewise.
5715 (casinh_test): Likewise.
5716 (catan_test): Likewise.
5717 (catanh_test): Likewise.
5718 (cbrt_test): Likewise.
5719 (ccos_test): Likewise.
5720 (ccosh_test): Likewise.
5721 (ceil_test): Likewise.
5722 (cexp_test): Likewise.
5723 (cimag_test): Likewise.
5724 (clog_test): Likewise.
5725 (clog10_test): Likewise.
5726 (conj_test): Likewise.
5727 (copysign_test): Likewise.
5728 (cos_test): Likewise.
5729 (cos_test_tonearest): Likewise.
5730 (cos_test_towardzero): Likewise.
5731 (cos_test_downward): Likewise.
5732 (cos_test_upward): Likewise.
5733 (cosh_test): Likewise.
5734 (cosh_test_tonearest): Likewise.
5735 (cosh_test_towardzero): Likewise.
5736 (cosh_test_downward): Likewise.
5737 (cosh_test_upward): Likewise.
5738 (cpow_test): Likewise.
5739 (cproj_test): Likewise.
5740 (creal_test): Likewise.
5741 (csin_test): Likewise.
5742 (csinh_test): Likewise.
5743 (csqrt_test): Likewise.
5744 (ctan_test): Likewise.
5745 (ctan_test_tonearest): Likewise.
5746 (ctan_test_towardzero): Likewise.
5747 (ctan_test_downward): Likewise.
5748 (ctan_test_upward): Likewise.
5749 (ctanh_test): Likewise.
5750 (ctanh_test_tonearest): Likewise.
5751 (ctanh_test_towardzero): Likewise.
5752 (ctanh_test_downward): Likewise.
5753 (ctanh_test_upward): Likewise.
5754 (erf_test): Likewise.
5755 (erfc_test): Likewise.
5756 (exp_test): Likewise.
5757 (exp_test_tonearest): Likewise.
5758 (exp_test_towardzero): Likewise.
5759 (exp_test_downward): Likewise.
5760 (exp_test_upward): Likewise.
5761 (exp10_test): Likewise.
5762 (exp10_test_tonearest): Likewise.
5763 (exp10_test_towardzero): Likewise.
5764 (exp10_test_downward): Likewise.
5765 (exp10_test_upward): Likewise.
5766 (pow10_test): Likewise.
5767 (exp2_test): Likewise.
5768 (expm1_test): Likewise.
5769 (expm1_test_tonearest): Likewise.
5770 (expm1_test_towardzero): Likewise.
5771 (expm1_test_downward): Likewise.
5772 (expm1_test_upward): Likewise.
5773 (fabs_test): Likewise.
5774 (fdim_test): Likewise.
5775 (floor_test): Likewise.
5776 (fma_test): Likewise.
5777 (fma_test_towardzero): Likewise.
5778 (fma_test_downward): Likewise.
5779 (fma_test_upward): Likewise.
5780 (fmax_test): Likewise.
5781 (fmin_test): Likewise.
5782 (fmod_test): Likewise.
5783 (fpclassify_test): Likewise.
5784 (frexp_test): Likewise.
5785 (hypot_test): Likewise.
5786 (ilogb_test): Likewise.
5787 (isfinite_test): Likewise.
5788 (finite_test): Likewise.
5789 (isgreater_test): Likewise.
5790 (isgreaterequal_test): Likewise.
5791 (isinf_test): Likewise.
5792 (isless_test): Likewise.
5793 (islessequal_test): Likewise.
5794 (islessgreater_test): Likewise.
5795 (isnan_test): Likewise.
5796 (isnormal_test): Likewise.
5797 (issignaling_test): Likewise.
5798 (isunordered_test): Likewise.
5799 (j0_test): Likewise.
5800 (j1_test): Likewise.
5801 (jn_test): Likewise.
5802 (ldexp_test): Likewise.
5803 (lgamma_test): Likewise.
5804 (gamma_test): Likewise.
5805 (lrint_test): Likewise.
5806 (lrint_test_tonearest): Likewise.
5807 (lrint_test_towardzero): Likewise.
5808 (lrint_test_downward): Likewise.
5809 (lrint_test_upward): Likewise.
5810 (llrint_test): Likewise.
5811 (llrint_test_tonearest): Likewise.
5812 (llrint_test_towardzero): Likewise.
5813 (llrint_test_downward): Likewise.
5814 (llrint_test_upward): Likewise.
5815 (log_test): Likewise.
5816 (log10_test): Likewise.
5817 (log1p_test): Likewise.
5818 (log2_test): Likewise.
5819 (logb_test): Likewise.
5820 (logb_test_downward): Likewise.
5821 (lround_test): Likewise.
5822 (llround_test): Likewise.
5823 (modf_test): Likewise.
5824 (nearbyint_test): Likewise.
5825 (nextafter_test): Likewise.
5826 (nexttoward_test): Likewise.
5827 (pow_test): Likewise.
5828 (pow_test_tonearest): Likewise.
5829 (pow_test_towardzero): Likewise.
5830 (pow_test_downward): Likewise.
5831 (pow_test_upward): Likewise.
5832 (remainder_test): Likewise.
5833 (drem_test): Likewise.
5834 (remainder_test_tonearest): Likewise.
5835 (drem_test_tonearest): Likewise.
5836 (remainder_test_towardzero): Likewise.
5837 (drem_test_towardzero): Likewise.
5838 (remainder_test_downward): Likewise.
5839 (drem_test_downward): Likewise.
5840 (remainder_test_upward): Likewise.
5841 (drem_test_upward): Likewise.
5842 (remquo_test): Likewise.
5843 (rint_test): Likewise.
5844 (rint_test_tonearest): Likewise.
5845 (rint_test_towardzero): Likewise.
5846 (rint_test_downward): Likewise.
5847 (rint_test_upward): Likewise.
5848 (round_test): Likewise.
5849 (scalb_test): Likewise.
5850 (scalbn_test): Likewise.
5851 (scalbln_test): Likewise.
5852 (signbit_test): Likewise.
5853 (sin_test): Likewise.
5854 (sin_test_tonearest): Likewise.
5855 (sin_test_towardzero): Likewise.
5856 (sin_test_downward): Likewise.
5857 (sin_test_upward): Likewise.
5858 (sincos_test): Likewise.
5859 (sinh_test): Likewise.
5860 (sinh_test_tonearest): Likewise.
5861 (sinh_test_towardzero): Likewise.
5862 (sinh_test_downward): Likewise.
5863 (sinh_test_upward): Likewise.
5864 (sqrt_test): Likewise.
5865 (sqrt_test_tonearest): Likewise.
5866 (sqrt_test_towardzero): Likewise.
5867 (sqrt_test_downward): Likewise.
5868 (sqrt_test_upward): Likewise.
5869 (tan_test): Likewise.
5870 (tan_test_tonearest): Likewise.
5871 (tan_test_towardzero): Likewise.
5872 (tan_test_downward): Likewise.
5873 (tan_test_upward): Likewise.
5874 (tanh_test): Likewise.
5875 (tgamma_test): Likewise.
5876 (trunc_test): Likewise.
5877 (y0_test): Likewise.
5878 (y1_test): Likewise.
5879 (yn_test): Likewise.
5880 (significand_test): Likewise.
5882 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5883 individual tests in comment.
5884 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5885 (prev_max_error): New variable.
5886 (prev_real_max_error): Likewise.
5887 (prev_imag_max_error): Likewise.
5888 (compare_ulp_data): Don't refer to test names in comment.
5889 (find_test_ulps): Remove function.
5890 (find_function_ulps): Likewise.
5891 (find_complex_function_ulps): Likewise.
5892 (init_max_error): Take function name as argument. Look up ulps
5894 (print_ulps): Remove function.
5895 (print_max_error): Use prev_max_error instead of calling
5897 (print_complex_max_error): Use prev_real_max_error and
5898 prev_imag_max_error instead of calling find_complex_function_ulps.
5899 (check_float_internal): Take max_ulp parameter instead of calling
5900 find_test_ulps. Don't call print_ulps.
5901 (check_float): Update call to check_float_internal.
5902 (check_complex): Update calls to check_float_internal.
5903 (START): Pass argument to init_max_error.
5904 * math/gen-libm-test.pl (%results): Don't include "kind"
5906 (parse_ulps): Don't handle ulps of individual tests.
5907 (print_ulps_file): Likewise.
5908 (output_ulps): Likewise.
5909 * math/README.libm-test: Update.
5910 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5912 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5913 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5914 * sysdeps/arm/libm-test-ulps: Likewise.
5915 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5916 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5917 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5918 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5919 * sysdeps/microblaze/libm-test-ulps: Likewise.
5920 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5921 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5922 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5923 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5924 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5925 * sysdeps/sh/libm-test-ulps: Likewise.
5926 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5927 * sysdeps/tile/libm-test-ulps: Likewise.
5928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5930 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5932 * math/libm-test.inc (print_complex_max_error): Check separately
5933 whether real and imaginary errors are within allowed range and
5934 pass 0 to print_complex_function_ulps instead of value within
5937 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5939 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5941 (get_handles_fopen): Likewise.
5942 (do_write_test): Likewise.
5944 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5946 * libio/fileops.c (do_ftell): Use cached offset when
5948 * libio/iofwide.c (do_ftell_wide): Likewise.
5949 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5951 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5954 * libio/libioP.h (get_file_offset): New function.
5955 * libio/fileops.c (get_file_offset): Likewise.
5956 (do_ftell): Likewise.
5957 (_IO_new_file_seekoff): Split out ftell logic.
5958 * libio/wfileops.c (do_ftell_wide): Likewise.
5959 (_IO_wfile_seekoff): Split out ftell logic.
5960 * libio/tst-ftell-active-handler.c: New test case.
5961 * libio/Makefile (tests): Add it.
5963 2014-03-03 Roland McGrath <roland@hack.frob.com>
5965 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5966 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5968 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5971 * nscd/connections.c (nscd_init): Call do_exit.
5972 (start_threads): Call do_exit and notify_parent.
5973 (begin_drop_privileges): Call do_exit.
5974 (finish_drop_privileges): Likewise.
5975 * nscd/selinux.c (preserve_capabilities): Likewise.
5976 (install_real_capabilities): Likewise.
5977 (nscd_selinux_enabled): Likewise.
5978 (avc_create_thread): Likewise.
5979 (avc_alloc_lock): Likewise.
5980 (nscd_avc_init): Likewise.
5981 * nscd/nscd.c (parent_fd): New static variable.
5982 (main): Create a pipe between parent and child processes.
5983 Skip closing parent_fd.
5984 (monitor_child): New function.
5985 (do_exit): Likewise.
5986 (notify_parent): Likewise.
5987 * nscd/nscd.h (notify_parent): Likewise.
5988 (do_exit): Likewise.
5990 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5992 * malloc/malloc.c (__libc_calloc): Revert last change.
5994 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5998 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6000 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6004 (__libc_ifunc_impl_list): Likewise.
6005 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6007 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6008 * string/strrchr.c: Define STRRCHR.
6010 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6012 * benchtest/bench-strtok.c (simple_strtok): Delete.
6013 (strtok_string): Use as benchmark.
6014 * string/strtok (STRTOK): New macro.
6016 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6018 * manual/threads.texi: Add header and standard comments to all
6021 * elf/dl-lookup.c (check_match): New function.
6022 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6023 (do_lookup_x): Remove nested function check_match. Use non-nested
6024 function check_match.
6026 2014-02-28 Roland McGrath <roland@hack.frob.com>
6028 * csu/Makefile (generated, before-compile): Use += rather than =.
6029 * catgets/Makefile (generated, generated-dirs): Likewise.
6030 * debug/Makefile (generated): Likewise.
6031 * dlfcn/Makefile (generated): Likewise.
6032 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6033 * iconvdata/Makefile (before-compile, generated): Likewise.
6034 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6035 * libio/Makefile (generated): Likewise.
6036 * malloc/Makefile (generated): Likewise.
6037 * manual/Makefile (generated, generated-dirs): Likewise.
6038 * misc/Makefile (generated): Likewise.
6039 * posix/Makefile (generated): Likewise.
6040 * resolv/Makefile (generated): Likewise.
6041 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6042 * timezone/Makefile (generated, generated-dirs): Likewise.
6044 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6046 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6049 power8 implementation.
6050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6051 file: POWER8 llround ifunc implementation.
6052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6053 (__lllround): Add POWER8 implementation.
6054 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6055 POWER8 llround implementation.
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6058 power8 implementation.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6060 file: POWER8 llrint ifunc implementation.
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6062 Add POWER8 implementation.
6063 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6064 POWER8 llrint implementation.
6066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6067 power8 implementation.
6068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6069 file: POWER8 finite ifunc implementation.
6070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6071 Add POWER8 implementation.
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6074 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6075 POWER8 finite implementation.
6076 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6079 power8 implementation.
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6081 file: POWER8 isinf ifunc implementation.
6082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6083 POWER8 implementation.
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6086 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6087 isinf implementation.
6088 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6090 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6091 (INIT_ARCH): Add hwcap2 initialization.
6092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6093 power8 implementation.
6094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6095 file: POWER8 isnan ifunc implementation.
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6097 POWER8 implementation.
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6100 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6101 isnan implementation.
6102 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6104 2014-02-27 Joey Ye <joey.ye@arm.com>
6106 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6107 (_FP_NANFRAC_Q): Set to zero.
6109 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6112 * math/auto-libm-test-in: New test inputs.
6113 * math/auto-libm-test-out: Regenerate.
6114 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6117 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6119 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6121 * scripts/evaluate-test.sh: Take new argument indicating whether
6122 failure is expected.
6123 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6124 indicating whether failure is expected.
6125 * conform/Makefile (test-xfail-run-conformtest): New variable.
6126 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6128 * posix/Makefile (test-xfail-annexc): New variable.
6129 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6131 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6133 * argp/Makefile: Include Makeconfig immediately after defining
6135 * assert/Makefile: Likewise.
6136 * benchtests/Makefile: Likewise.
6137 * catgets/Makefile: Likewise.
6138 * conform/Makefile: Likewise.
6139 * crypt/Makefile: Likewise.
6140 * csu/Makefile: Likewise.
6141 (all): Remove target.
6142 * ctype/Makefile: Include Makeconfig immediately after defining
6144 * debug/Makefile: Likewise.
6145 * dirent/Makefile: Likewise.
6146 * dlfcn/Makefile: Likewise.
6147 * gmon/Makefile: Likewise.
6148 * gnulib/Makefile: Likewise.
6149 * grp/Makefile: Likewise.
6150 * gshadow/Makefile: Likewise.
6151 * hesiod/Makefile: Likewise.
6152 * hurd/Makefile: Likewise.
6153 (all): Remove target.
6154 * iconvdata/Makefile: Include Makeconfig immediately after
6156 * inet/Makefile: Likewise.
6157 * intl/Makefile: Likewise.
6158 * io/Makefile: Likewise.
6159 * libio/Makefile: Likewise.
6160 (all): Remove target.
6161 * locale/Makefile: Include Makeconfig immediately after defining
6163 * login/Makefile: Likewise.
6164 * mach/Makefile: Likewise.
6165 (all): Remove target.
6166 * malloc/Makefile: Include Makeconfig immediately after defining
6168 (all): Remove target.
6169 * manual/Makefile: Include Makeconfig immediately after defining
6171 * math/Makefile: Likewise.
6172 * misc/Makefile: Likewise.
6173 * nis/Makefile: Likewise.
6174 * nss/Makefile: Likewise.
6175 * po/Makefile: Likewise.
6176 (all): Remove target.
6177 * posix/Makefile: Include Makeconfig immediately after defining
6179 * pwd/Makefile: Likewise.
6180 * resolv/Makefile: Likewise.
6181 * resource/Makefile: Likewise.
6182 * rt/Makefile: Likewise.
6183 * setjmp/Makefile: Likewise.
6184 * shadow/Makefile: Likewise.
6185 * signal/Makefile: Likewise.
6186 * socket/Makefile: Likewise.
6187 * soft-fp/Makefile: Likewise.
6188 * stdio-common/Makefile: Likewise.
6189 * stdlib/Makefile: Likewise.
6190 * streams/Makefile: Likewise.
6191 * string/Makefile: Likewise.
6192 * sunrpc/Makefile: Likewise.
6193 (all): Remove target.
6194 * sysvipc/Makefile: Include Makeconfig immediately after defining
6196 * termios/Makefile: Likewise.
6197 * time/Makefile: Likewise.
6198 * timezone/Makefile: Likewise.
6199 (all): Remove target.
6200 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6202 * wctype/Makefile: Likewise.
6204 2014-02-26 Steve Ellcey <sellcey@mips.com>
6206 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6207 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6208 (libc_feholdexcept_setround_mips): Ditto.
6209 (libc_feholdsetround): New.
6210 (libc_feholdsetroundf): New.
6211 (libc_feholdsetroundl): New.
6212 (libc_feupdateenv_test_mips): New.
6213 (libc_feupdateenv_test): New.
6214 (libc_feupdateenv_testf): New.
6215 (libc_feupdateenv_testl): New.
6216 (libc_feresetround): New.
6217 (libc_feresetroundf): New.
6218 (libc_feresetroundl): New.
6219 (libc_fetestexcept_mips): New.
6220 (libc_fetestexcept): New.
6221 (libc_fetestexceptf): New.
6222 (libc_fetestexceptl): New.
6224 (libc_feholdexcept_setround_mips_ctx): New.
6225 (libc_feholdexcept_setround_ctx): New.
6226 (libc_feholdexcept_setroundf_ctx): New.
6227 (libc_feholdexcept_setroundl_ctx): New.
6228 (libc_fesetenv_mips_ctx): New.
6229 (libc_fesetenv_ctx): New.
6230 (libc_fesetenv_ctxf): New.
6231 (libc_fesetenv_ctxl): New.
6232 (libc_feupdateenv_mips_ctx): New.
6233 (libc_feupdateenv_ctx): New.
6234 (libc_feupdateenvf_ctx): New.
6235 (libc_feupdateenvl_ctx): New.
6236 (libc_feholdsetround_mips_ctx): New.
6237 (libc_feholdsetround_ctx): New.
6238 (libc_feholdsetroundf_ctx): New.
6239 (libc_feholdsetroundl_ctx): New.
6240 (libc_feresetround_mips_ctx): New.
6241 (libc_feresetround_ctx): New.
6242 (libc_feresetroundf_ctx): New.
6243 (libc_feresetroundl_ctx): New.
6245 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6247 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6249 * manual/ipc.texi: New file.
6250 * manual/Makefile (chapters): Add ipc.
6251 * manual/job.texi: Add "Inter-Process Communication" to next.
6252 * manual/process.texi: Add "Inter-Process Communication" to prev.
6254 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6258 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6260 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6262 * manual/arith.texi: Fix spaces after sentences.
6263 * manual/charset.texi: Likewise.
6264 * manual/errno.texi: Likewise.
6265 * manual/install.texi: Likewise.
6266 * manual/llio.texi: Likewise.
6267 * manual/locale.texi: Likewise.
6268 * manual/maint.texi: Likewise.
6269 * manual/math.texi: Likewise.
6270 * manual/memory.texi: Likewise.
6271 * manual/message.texi: Likewise.
6272 * manual/probes.texi: Likewise.
6273 * manual/resource.texi: Likewise.
6274 * manual/signal.texi: Likewise.
6275 * manual/socket.texi: Likewise.
6276 * manual/stdio.texi: Likewise.
6277 * manual/string.texi: Likewise.
6278 * manual/time.texi: Likewise.
6279 * manual/users.texi: Likewise.
6281 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6284 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6285 _DEFAULT_SOURCE is defined.
6287 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6288 Carlos O'Donell <carlos@redhat.com>
6291 * elf/dl-tls.c (_dl_count_modids): New function.
6292 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6293 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6294 audit library and increment generation counter.
6295 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6296 * elf/tst-audit9.c: New file.
6297 * elf/tst-auditmod9a.c: New file.
6298 * elf/tst-auditmod9b.c: New file.
6299 * elf/Makefile: Add rules to build and run tst-audit9.
6301 2014-02-25 Florian Weimer <fweimer@redhat.com>
6304 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6306 2014-02-25 Will Newton <will.newton@linaro.org>
6308 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6309 (__longjmp): Restore sp and lr before restoring callee
6310 saved registers. Add longjmp and longjmp_target
6311 SystemTap probe point.
6312 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6313 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6314 Define to zero to match jmpbuf layout.
6315 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6316 (__sigsetjmp): Save sp and lr before saving callee
6317 saved registers. Add setjmp SystemTap probe point.
6319 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6321 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6323 2014-02-24 Andreas Schwab <schwab@suse.de>
6326 * elf/pldd.c (wait_for_ptrace_stop): New function.
6327 (main): Call it after attaching.
6329 2014-02-22 Roland McGrath <roland@hack.frob.com>
6331 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6332 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6333 Versions files is now verboten.
6334 * hurd/Versions (libc: GLIBC_2.0):
6335 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6336 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6337 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6338 * mach/Versions: Likewise.
6340 * csu/Versions: Remove unused %include.
6341 * resolv/Versions: Likewise.
6343 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6345 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6346 ($(objpfx)check-local-headers.out): Likewise.
6347 ($(objpfx)begin-end-check.out): Likewise.
6348 * Makerules (check-abi-%.out): Likewise.
6349 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6350 ($(objpfx)test2.cat): Likewise.
6351 ($(objpfx)de/libc.cat): Likewise.
6352 ($(objpfx)test-gencat.out): Likewise.
6353 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6354 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6355 ($(objpfx)noload-mem): Likewise.
6356 ($(objpfx)tst-pathopt.out): Likewise.
6357 ($(objpfx)tst-rtld-load-self.out): Likewise.
6358 ($(objpfx)tst-array1-cmp.out): Likewise.
6359 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6360 ($(objpfx)tst-array2-cmp.out): Likewise.
6361 ($(objpfx)tst-array3-cmp.out): Likewise.
6362 ($(objpfx)tst-array4-cmp.out): Likewise.
6363 ($(objpfx)tst-array5-cmp.out): Likewise.
6364 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6365 ($(objpfx)check-textrel.out): Likewise.
6366 ($(objpfx)check-execstack.out): Likewise.
6367 ($(objpfx)check-localplt.out): Likewise.
6368 ($(objpfx)order2-cmp.out): Likewise.
6369 ($(objpfx)tst-leaks1-mem): Likewise.
6370 ($(objpfx)tst-leaks1-static-mem): Likewise.
6371 ($(objpfx)tst-initorder-cmp.out): Likewise.
6372 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6373 ($(objpfx)tst-unused-dep.out): Likewise.
6374 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6375 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6376 * iconv/Makefile (test-iconvconfig): Likewise.
6377 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6378 ($(objpfx)iconv-test.out): Likewise.
6379 ($(objpfx)tst-tables.out): Likewise.
6380 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6381 ($(objpfx)tst-gettext.out): Likewise.
6382 ($(objpfx)tst-translit.out): Likewise.
6383 ($(objpfx)tst-gettext2.out): Likewise.
6384 ($(objpfx)tst-gettext4.out): Likewise.
6385 ($(objpfx)tst-gettext6.out): Likewise.
6386 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6387 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6388 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6389 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6390 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6391 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6392 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6393 ($(objpfx)wordexp-tst.out): Likewise.
6394 ($(objpfx)annexc.out): Likewise.
6395 ($(objpfx)tst-fnmatch-mem): Likewise.
6396 ($(objpfx)bug-regex2-mem): Likewise.
6397 ($(objpfx)bug-regex14-mem): Likewise.
6398 ($(objpfx)bug-regex21-mem): Likewise.
6399 ($(objpfx)bug-regex31-mem): Likewise.
6400 ($(objpfx)tst-vfork3-mem): Likewise.
6401 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6402 ($(objpfx)tst-pcre-mem): Likewise.
6403 ($(objpfx)tst-boost-mem): Likewise.
6404 ($(objpfx)tst-getconf.out): Likewise.
6405 ($(objpfx)bug-ga2-mem): Likewise.
6406 ($(objpfx)bug-glob2-mem): Likewise.
6407 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6408 ($(objpfx)mtrace-tst-leaks2): Likewise.
6409 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6410 ($(objpfx)tst-printf.out): Likewise.
6411 ($(objpfx)tst-setvbuf1.out): Likewise.
6412 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6413 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6414 ($(objpfx)tst-fmtmsg.out): Likewise.
6415 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6416 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6418 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6419 * bits/sigaction.h [__USE_MISC]: Likewise.
6420 * bits/waitstatus.h: Update #endif comments.
6421 * ctype/ctype.h: Likewise.
6422 * dirent/dirent.h: Likewise.
6423 [__USE_MISC]: Remove redundant conditionals.
6424 * grp/grp.h: Update #endif comments.
6425 [__USE_GNU]: Remove redundant conditionals.
6426 [__USE_MISC]: Likewise.
6427 * inet/netinet/in.h [__USE_GNU]: Likewise.
6428 * io/sys/stat.h [__USE_MISC]: Likewise.
6429 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6430 * libio/bits/stdio.h: Update #endif comments.
6431 [__USE_MISC]: Remove redundant conditionals.
6432 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6433 * libio/stdio.h: Update #endif comments.
6434 [__USE_MISC]: Remove redundant conditionals.
6435 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6436 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6437 * math/math.h: Update #else and #endif comments.
6438 [__USE_MISC]: Remove redundant conditionals.
6439 * misc/sys/uio.h: Update #endif comments.
6440 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6441 * posix/glob.h [__USE_MISC]: Likewise.
6442 * posix/sys/types.h: Update #endif comments.
6443 [__USE_MISC]: Remove redundant conditionals.
6444 * posix/sys/wait.h: Update #endif comments.
6445 [__USE_MISC]: Remove redundant conditionals.
6446 * posix/unistd.h: Update #endif comments.
6447 [__USE_MISC]: Remove redundant conditionals.
6448 * pwd/pwd.h [__USE_GNU]: Likewise.
6449 [__USE_MISC]: Likewise.
6450 * resolv/netdb.h [__USE_GNU]: Likewise.
6451 * signal/signal.h: Update #endif comments.
6452 [__USE_MISC]: Remove redundant conditionals.
6453 * stdlib/stdlib.h: Update #else and #endif comments.
6454 [__USE_MISC]: Remove redundant conditionals.
6455 [__USE_GNU]: Likewise.
6456 * string/bits/string2.h [__USE_MISC]: Likewise.
6457 * string/string.h: Update #endif comments.
6458 [__USE_MISC]: Remove redundant conditionals.
6459 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6461 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6462 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6463 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6465 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6467 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6469 [__USE_MISC]: Remove redundant conditionals.
6470 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6471 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6472 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6473 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6474 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6476 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6477 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6479 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6482 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6484 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6485 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6487 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6489 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6490 * sysdeps/x86/bits/string.h: Update #endif comments.
6491 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6493 * time/sys/time.h: Update #endif comments.
6494 * time/time.h: Likewise.
6495 [__USE_MISC]: Remove redundant conditionals.
6497 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6500 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6502 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6504 * Versions.def (librt): Add GLIBC_2.17.
6506 2014-02-21 Adam Conrad <adconrad@0c3.net>
6508 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6509 synonym for _SYS_AUXV_H to allow direct inclusion.
6510 * sysdeps/sparc/bits/hwcap.h: Likewise.
6511 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6512 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6513 * sysdeps/sparc/sysdep.h: Likewise.
6515 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6517 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6519 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6521 * benchtests/bench-strrchr.c: Print length instead of position.
6523 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6526 * sysdeps/unix/sysv/linux/kernel-features.h
6527 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6528 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6529 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6530 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6532 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6533 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6534 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6535 (__ASSUME_SENDMMSG): Define instead of using previous
6536 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6537 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6538 (__ASSUME_SENDMMSG_SYSCALL): Define.
6539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6540 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6542 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6543 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6545 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6546 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6548 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6549 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6550 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6551 [__ASSUME_SENDMMSG]: Change conditionals to
6552 [__ASSUME_SENDMMSG_SOCKETCALL].
6553 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6554 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6556 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6557 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6559 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6560 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6561 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6562 [!__ASSUME_SENDMMSG]: Change conditional to
6563 [!__ASSUME_SENDMMSG_SOCKETCALL].
6564 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6565 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6569 * sysdeps/unix/sysv/linux/kernel-features.h
6570 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6571 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6572 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6573 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6574 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6575 [__i386__ || __sparc__]
6576 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6577 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6578 (__ASSUME_RECVMMSG): Define instead of using previous
6579 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6580 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6581 (__ASSUME_RECVMMSG_SYSCALL): Define.
6582 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6583 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6585 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6586 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6588 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6589 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6591 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6592 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6593 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6594 [__ASSUME_RECVMMSG]: Change condition to
6595 [__ASSUME_RECVMMSG_SOCKETCALL].
6596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6597 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6599 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6600 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6601 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6603 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6604 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6605 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6606 [!__ASSUME_RECVMMSG]: Change condition to
6607 [!__ASSUME_RECVMMSG_SOCKETCALL].
6608 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6609 (__ASSUME_RECVMMSG_SYSCALL): Define.
6612 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6613 __powerpc__ || __s390__ || __sh__ || __sparc__]
6614 (__ASSUME_SOCKETCALL): Define.
6615 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6616 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6617 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6618 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6619 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6620 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6621 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6622 (__ASSUME_ACCEPT4): Define instead of using previous
6623 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6624 __powerpc__ || __sparc__ || __s390__)] condition.
6625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6626 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6627 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6628 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6629 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6630 [!__ASSUME_ACCEPT4]: Change condition to
6631 [!__ASSUME_ACCEPT4_SOCKETCALL].
6632 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6633 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6634 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6635 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6636 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6637 __ASSUME_ACCEPT4_SYSCALL.
6638 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6639 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6640 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6641 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6642 __ASSUME_ACCEPT4_SYSCALL.
6643 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6644 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6645 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6646 [__ASSUME_ACCEPT4]: Change condition to
6647 [__ASSUME_ACCEPT4_SOCKETCALL].
6648 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6649 (__ASSUME_SOCKETCALL): Define.
6650 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6651 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6652 (__ASSUME_SOCKETCALL): Define.
6653 (__ASSUME_ACCEPT4): Remove.
6654 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6656 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6657 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6659 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6660 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6662 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6664 (HWCAP_ARM_LPAE): Likewise.
6665 (HWCAP_ARM_EVTSTRM): Likewise.
6666 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6667 Add vpfd32, lpae and evtstrm.
6668 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6671 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6673 * math/auto-libm-test-in: Add tests of clog10.
6674 * math/auto-libm-test-out: Regenerated.
6675 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6676 * sysdeps/i386/fpu/libm-test-ulps: Update.
6677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6679 2014-02-18 Andreas Schwab <schwab@suse.de>
6682 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6683 Store non-zero if the second buffer was newly allocated.
6684 (send_dg): Likewise.
6685 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6686 to send_vc and send_dg.
6687 (res_nsend): Pass NULL for ansp2_malloced.
6688 * resolv/res_query.c (__libc_res_nquery): Add parameter
6689 answerp2_malloced and pass it down to __libc_res_nsend.
6690 (res_nquery): Pass additional NULL to __libc_res_nquery.
6691 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6692 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6693 second answer buffer if answerp2_malloced was set.
6694 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6695 (__libc_res_nquerydomain): Add parameter
6696 answerp2_malloced and pass it down to __libc_res_nquery.
6697 (res_nquerydomain): Pass additional NULL to
6698 __libc_res_nquerydomain.
6699 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6700 additional NULL to __libc_res_nsend and __libc_res_nquery.
6701 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6702 additional NULL to __libc_res_nsearch.
6703 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6704 parameter of __libc_res_nsearch to check for separately allocated
6706 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6708 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6709 additional NULL to __libc_res_nquery.
6710 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6712 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6713 * include/resolv.h: Update prototypes of __libc_res_nquery,
6714 __libc_res_nsearch, __libc_res_nsend.
6716 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6718 * math/auto-libm-test-in: Add tests of fma.
6719 * math/auto-libm-test-out: Regenerated.
6720 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6721 (fma_towardzero_test_data): Likewise.
6722 (fma_downward_test_data): Likewise.
6723 (fma_upward_test_data): Likewise.
6724 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6726 (rounding_modes): Add values for new field.
6727 (func_calc_method): Add value mpfr_fff_f.
6728 (func_calc_desc): Add mpfr_fff_f union field.
6729 (test_function): Add field exact_args.
6730 (FUNC): Add macro argument EXACT_ARGS.
6731 (FUNC_mpfr_f_f): Update call to FUNC.
6732 (FUNC_mpfr_f_f): Likewise.
6733 (FUNC_mpfr_ff_f): Likewise.
6734 (FUNC_mpfr_if_f): Likewise.
6735 (FUNC_mpc_c_f): Likewise.
6736 (FUNC_mpc_c_c): Likewise.
6737 (test_functions): Add fma. Update calls to FUNC.
6738 (handle_input_arg): Add argument exact_args.
6739 (add_test): Update call to handle_input_arg.
6740 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6741 (output_for_one_input_case): Update call to calc_generic_results.
6742 Recalculate exact zero results in each rounding mode.
6744 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6745 non-negative before setting low bit.
6746 * math/auto-libm-test-in: Mark one asin test possibly having
6748 * math/auto-libm-test-out: Regenerated.
6749 * sysdeps/i386/fpu/libm-test-ulps: Update.
6750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6752 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6754 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6755 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6756 ports/sysdeps/unix/sysv/linux/microblaze.
6757 * README: Add missing listing for microblaze*-*-linux-gnu.
6759 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6761 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6762 * sysdeps/unix/sysv/linux/ia64: Move directory from
6763 ports/sysdeps/unix/sysv/linux/ia64.
6764 * README: Update listing for ia64-*-linux-gnu.
6766 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6767 Joseph Myers <joseph@codesourcery.com>
6769 * Makeconfig (test-name): New variable.
6770 (evaluate-test): Likewise.
6771 * Makerules (do-test-clean): Remove .test-result files.
6772 (common-mostlyclean): Likewise.
6773 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6774 * scripts/evaluate-test.sh: New file.
6776 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6778 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6779 separate $(objpfx)tst-fopenloc-cmp.out and
6780 $(objpfx)tst-fopenloc-mem.out targets.
6781 (tests): Update dependencies.
6782 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6783 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6784 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6785 (tst-rxspencer-no-utf8-ARGS): New variable.
6786 (tst-rxspencer-no-utf8-ENV): Likewise.
6787 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6788 instead of $(objpfx)tst-rxspencer-mem.
6789 ($(objpfx)tst-rxspencer-mem): Change target to
6790 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6791 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6792 * posix/tst-rxspencer-no-utf8.c: New file.
6794 * elf/Makefile ($(objpfx)order.out): Remove rule.
6795 [$(run-built-tests) = yes] (tests): Depend on
6796 $(objpfx)order-cmp.out.
6797 ($(objpfx)order-cmp.out): New rule.
6798 [$(run-built-tests) = yes] (tests): Depend on
6799 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6800 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6801 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6802 $(objpfx)tst-array5-static-cmp.out.
6803 ($(objpfx)tst-array1.out): Remove rule.
6804 ($(objpfx)tst-array1-cmp.out): New rule.
6805 ($(objpfx)tst-array1-static.out): Remove rule.
6806 ($(objpfx)tst-array1-static-cmp.out): New rule.
6807 ($(objpfx)tst-array2.out): Remove rule.
6808 ($(objpfx)tst-array2-cmp.out): New rule.
6809 ($(objpfx)tst-array3.out): Remove rule.
6810 ($(objpfx)tst-array3-cmp.out): New rule.
6811 ($(objpfx)tst-array4.out): Remove rule.
6812 ($(objpfx)tst-array4-cmp.out): New rule.
6813 ($(objpfx)tst-array5.out): Remove rule.
6814 ($(objpfx)tst-array5-cmp.out): New rule.
6815 ($(objpfx)tst-array5-static.out): Remove rule.
6816 ($(objpfx)tst-array5-static-cmp.out): New rule.
6817 [$(run-built-tests) = yes] (tests): Depend on
6818 $(objpfx)order2-cmp.out.
6819 ($(objpfx)order2.out): Remove rule.
6820 ($(objpfx)order2-cmp.out): New rule.
6821 ($(objpfx)tst-initorder.out): Remove rule.
6822 [$(run-built-tests) = yes] (tests): Depend on
6823 $(objpfx)tst-initorder-cmp.out.
6824 ($(objpfx)tst-initorder-cmp.out): New rule.
6825 ($(objpfx)tst-initorder2.out): Remove rule.
6826 [$(run-built-tests) = yes] (tests): Depend on
6827 $(objpfx)tst-initorder2-cmp.out.
6828 ($(objpfx)tst-initorder2-cmp.out): New rule.
6829 [$(run-built-tests) = yes] (tests): Depend on
6830 $(objpfx)tst-unused-dep-cmp.out.
6831 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6832 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6833 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6834 on $(objpfx)tst-setvbuf1-cmp.out.
6835 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6836 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6837 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6838 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6839 ($(objpfx)tst-svc.out): Remove rule.
6840 ($(objpfx)tst-svc-cmp.out): New rule.
6842 2014-02-13 Joseph Myers <joseph@codesourcery.com>
6844 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6845 * ctype/ctype.h [__USE_MISC]: Likewise.
6846 * dirent/dirent.h [__USE_MISC]: Likewise.
6847 * grp/grp.h [__USE_MISC]: Likewise.
6848 * io/fcntl.h [__USE_MISC]: Likewise.
6849 * io/sys/stat.h [__USE_MISC]: Likewise.
6850 * libio/stdio.h [__USE_MISC]: Likewise.
6851 * posix/unistd.h [__USE_MISC]: Likewise.
6852 * pwd/pwd.h [__USE_MISC]: Likewise.
6853 * stdlib.h [__USE_MISC]: Likewise.
6854 * string/bits/string2.h [__USE_MISC]: Likewise.
6855 * string/string.h [__USE_MISC]: Likewise.
6856 * time/time.h [__USE_MISC]: Likewise.
6858 2014-02-13 Andreas Schwab <schwab@suse.de>
6861 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6862 second answer buffer if it was separately allocated.
6864 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6866 * sysdeps/mips/math-tests.h: Include <features.h>.
6867 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6868 (ROUNDING_TESTS_long_double): Do not define.
6869 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6870 (EXCEPTION_TESTS_long_double): Likewise.
6871 * sysdeps/mips/mips64/libm-test-ulps: Update.
6873 * include/features.h (__USE_BSD): Remove macro definitions.
6874 (__USE_SVID): Likewise.
6875 (_BSD_SOURCE): Likewise.
6876 (_SVID_SOURCE): Likewise.
6877 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6878 from definition of _DEFAULT_SOURCE.
6879 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6881 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6882 * bits/mman.h [__USE_BSD]: Likewise.
6883 * bits/termios.h [__USE_BSD]: Likewise.
6884 * bits/waitstatus.h [__USE_BSD]: Likewise.
6885 * ctype/ctype.h [__USE_SVID]: Likewise.
6886 * dirent/dirent.h [__USE_BSD]: Likewise.
6887 * grp/grp.h [__USE_SVID]: Likewise.
6888 [__USE_BSD]: Likewise.
6889 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6890 * io/fcntl.h [__USE_BSD]: Likewise.
6891 * io/ftw.h [__USE_BSD]: Likewise.
6892 * io/sys/stat.h [__USE_BSD]: Likewise.
6893 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6894 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6895 * libio/stdio.h [__USE_SVID]: Likewise.
6896 [__USE_BSD]: Likewise.
6897 * math/math.h [__USE_SVID]: Likewise.
6898 [__USE_BSD]: Likewise.
6899 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6900 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6901 * misc/search.h [__USE_SVID]: Likewise.
6902 * misc/sys/mman.h [__USE_BSD]: Likewise.
6903 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6904 * misc/sys/uio.h [__USE_BSD]: Likewise.
6905 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6906 * posix/glob.h [__USE_BSD]: Likewise.
6907 * posix/regex.h [__USE_BSD]: Likewise.
6908 * posix/sys/types.h [__USE_BSD]: Likewise.
6909 [__USE_SVID]: Likewise.
6910 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6911 * posix/sys/wait.h [__USE_BSD]: Likewise.
6912 [__USE_SVID]: Likewise.
6913 * posix/unistd.h [__USE_BSD]: Likewise.
6914 [__USE_SVID]: Likewise.
6915 * pwd/pwd.h [__USE_SVID]: Likewise.
6916 * resolv/netdb.h [__USE_BSD]: Likewise.
6917 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6918 * signal/signal.h [__USE_BSD]: Likewise.
6919 [__USE_SVID]: Likewise.
6920 * socket/sys/socket.h [__USE_BSD]: Likewise.
6921 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6922 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6923 [__USE_SVID]: Likewise.
6924 * string/bits/string2.h [__USE_BSD]: Likewise.
6925 [__USE_SVID]: Likewise.
6926 * string/bits/string3.h [__USE_BSD]: Likewise.
6927 * string/endian.h [__USE_BSD]: Likewise.
6928 * string/string.h [__USE_SVID]: Likewise.
6929 [__USE_BSD]: Likewise.
6930 * string/strings.h [__USE_BSD]: Likewise.
6931 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6932 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6933 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6934 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6935 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6936 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6940 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6941 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6943 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6944 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6946 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6948 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6949 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6952 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6954 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6955 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6956 * termios/termios.h [__USE_BSD]: Likewise.
6957 * time/sys/time.h [__USE_BSD]: Likewise.
6958 * time/time.h [__USE_BSD]: Likewise.
6959 [__USE_SVID]: Likewise.
6961 * Makefile (subdir_targets): Remove subdir_lint.out.
6963 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6964 (do-tst-printf): Likewise.
6965 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6966 $(objpfx)tst-printf.out.
6968 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6970 * Makerules (check-abi-%): Change target to
6971 $(objpfx)check-abi-%.out.
6972 (check-abi target): Update dependencies.
6973 (check-abi-pattern variable): Redirect output of diff to $@.
6974 (check-abi variable): Likewise.
6975 * elf/Makefile (check-abi): Update dependencies.
6977 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6979 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6980 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6982 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6983 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6984 value has largest subnormal exponent.
6985 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6986 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6987 * sysdeps/aarch64/soft-fp/sfp-machine.h
6988 (_FP_TININESS_AFTER_ROUNDING): New macro.
6989 * sysdeps/alpha/soft-fp/sfp-machine.h
6990 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6991 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6993 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6994 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6995 * sysdeps/mips/soft-fp/sfp-machine.h
6996 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6997 * sysdeps/powerpc/soft-fp/sfp-machine.h
6998 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6999 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7001 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7002 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7003 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7004 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7005 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7008 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7014 2014-02-12 Richard Henderson <rth@redhat.com>
7016 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7017 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7018 * sysdeps/unix/sysv/linux/alpha: Move directory from
7019 ports/sysdeps/unix/sysv/linux/alpha.
7020 * README: Update listing for alpha-*-linux-gnu.
7022 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7024 * include/features.h: Update comment documenting feature test
7026 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7028 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7029 (_SVID_SOURCE): Likewise.
7030 (_DEFAULT_SOURCE): Update description of default features.
7031 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7033 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7034 (S_ISVTX): Likewise.
7035 * manual/math.texi (Mathematical Constants): Likewise.
7036 * manual/signal.texi (Interrupted Primitives): Likewise.
7037 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7038 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7039 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7040 Don't refer to _SVID_SOURCE in warning text.
7042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7044 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7046 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7047 * sysdeps/mips/dl-lookup.c: Remove.
7048 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7050 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7053 * math/auto-libm-test-in: Add testcase for expl.
7054 * math/auto-libm-test-out: Regenerate.
7055 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7056 calculation of unsafe.
7057 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7059 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7061 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7062 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7063 ports/sysdeps/unix/sysv/linux/aarch64.
7064 * README: Update listing for aarch64*-*-linux-gnu.
7066 2014-02-11 Will Newton <will.newton@linaro.org>
7068 * manual/probes.texi (Mathematical Function Probes): Use
7069 "triggered" instead of "hit".
7071 * manual/probes.texi (Internal Probes): Add documentation
7072 of setjmp, longjmp and longjmp_target probes.
7074 * include/stap-probe.h: Add comment about probe argument
7077 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7078 definition. (tr_where, tr_freehook, tr_mallochook,
7079 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7081 2014-02-11 David S. Miller <davem@davemloft.net>
7083 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7084 processing int_tests.
7086 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7088 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7089 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7090 * sysdeps/unix/sysv/linux/mips: Move directory from
7091 ports/sysdeps/unix/sysv/linux/mips.
7092 * README: Update listing for mips-*-linux-gnu and
7095 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7097 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7098 * sysdeps/unix/sysv/linux/m68k: Move directory from
7099 ports/sysdeps/unix/sysv/linux/m68k.
7100 * README: Update listing for m68k-*-linux-gnu.
7102 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7104 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7105 * sysdeps/unix/sysv/linux/generic: Move directory from
7106 ports/sysdeps/unix/sysv/linux/generic.
7107 * sysdeps/unix/sysv/linux/tile: Move directory from
7108 ports/sysdeps/unix/sysv/linux/tile.
7109 * README: Update listing for tile*-*-linux-gnu.
7111 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7113 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7115 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7116 * catgets/open_catalog.c (__open_catalog): Likewise.
7117 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7118 * debug/confstr_chk.c: Likewise.
7119 * debug/fread_chk.c (__fread_chk): Likewise.
7120 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7121 * debug/getgroups_chk.c: Likewise.
7122 * debug/mbsnrtowcs_chk.c: Likewise.
7123 * debug/mbsrtowcs_chk.c: Likewise.
7124 * debug/mbstowcs_chk.c: Likewise.
7125 * debug/memcpy_chk.c: Likewise.
7126 * debug/memmove_chk.c: Likewise.
7127 * debug/mempcpy_chk.c: Likewise.
7128 * debug/memset_chk.c: Likewise.
7129 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7130 * debug/strcat_chk.c (__strcat_chk): Likewise.
7131 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7132 * debug/strncat_chk.c (__strncat_chk): Likewise.
7133 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7134 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7135 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7136 * debug/wcpncpy_chk.c: Likewise.
7137 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7138 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7139 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7140 * debug/wcsncpy_chk.c: Likewise.
7141 * debug/wcsnrtombs_chk.c: Likewise.
7142 * debug/wcsrtombs_chk.c: Likewise.
7143 * debug/wcstombs_chk.c: Likewise.
7144 * debug/wmemcpy_chk.c: Likewise.
7145 * debug/wmemmove_chk.c: Likewise.
7146 * debug/wmempcpy_chk.c: Likewise.
7147 * debug/wmemset_chk.c: Likewise.
7148 * dirent/scandirat.c (SCANDIRAT): Likewise.
7149 * dlfcn/dladdr1.c (dladdr1): Likewise.
7150 * dlfcn/dladdr.c (dladdr): Likewise.
7151 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7152 * dlfcn/dlerror.c (__dlerror): Likewise.
7153 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7154 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7155 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7156 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7157 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7158 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7159 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7160 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7162 * elf/dl-conflict.c: Likewise.
7163 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7164 * elf/dl-dst.h: Likewise.
7165 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7166 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7167 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7168 * elf/dl-init.c (call_init, _dl_init): Likewise.
7169 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7170 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7171 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7173 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7175 * elf/dl-minimal.c (__libc_memalign): Likewise.
7176 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7177 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7178 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7179 * elf/dl-sym.c (do_sym): Likewise.
7180 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7181 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7182 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7183 * elf/dl-writev.h (_dl_writev): Likewise.
7184 * elf/ldconfig.c (search_dir): Likewise.
7185 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7186 (dl_main): Likewise.
7187 * elf/setup-vdso.h (setup_vdso): Likewise.
7188 * grp/compat-initgroups.c (compat_call): Likewise.
7189 * grp/fgetgrent.c (fgetgrent): Likewise.
7190 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7191 * grp/putgrent.c (putgrent): Likewise.
7192 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7194 * hurd/hurdinit.c: Likewise.
7195 * iconvdata/8bit-gap.c (struct): Likewise.
7196 * iconvdata/ansi_x3.110.c : Likewise.
7197 * iconvdata/big5.c : Likewise.
7198 * iconvdata/big5hkscs.c : Likewise.
7199 * iconvdata/cp1255.c: Likewise.
7200 * iconvdata/cp1258.c : Likewise.
7201 * iconvdata/cp932.c : Likewise.
7202 * iconvdata/euc-cn.c: Likewise.
7203 * iconvdata/euc-jisx0213.c : Likewise.
7204 * iconvdata/euc-jp.c: Likewise.
7205 * iconvdata/euc-jp-ms.c : Likewise.
7206 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7207 * iconvdata/gb18030.c : Likewise.
7208 * iconvdata/gbbig5.c (const): Likewise.
7209 * iconvdata/gbgbk.c: Likewise.
7210 * iconvdata/gbk.c : Likewise.
7211 * iconvdata/ibm1364.c : Likewise.
7212 * iconvdata/ibm930.c : Likewise.
7213 * iconvdata/ibm932.c: Likewise.
7214 * iconvdata/ibm933.c : Likewise.
7215 * iconvdata/ibm935.c : Likewise.
7216 * iconvdata/ibm937.c : Likewise.
7217 * iconvdata/ibm939.c : Likewise.
7218 * iconvdata/ibm943.c: Likewise.
7219 * iconvdata/iso_11548-1.c: Likewise.
7220 * iconvdata/iso-2022-cn.c : Likewise.
7221 * iconvdata/iso-2022-cn-ext.c : Likewise.
7222 * iconvdata/iso-2022-jp-3.c: Likewise.
7223 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7224 * iconvdata/iso-2022-kr.c : Likewise.
7225 * iconvdata/iso646.c (gconv_end): Likewise.
7226 * iconvdata/iso_6937-2.c : Likewise.
7227 * iconvdata/iso_6937.c : Likewise.
7228 * iconvdata/iso8859-1.c: Likewise.
7229 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7230 * iconvdata/shift_jisx0213.c : Likewise.
7231 * iconvdata/sjis.c : Likewise.
7232 * iconvdata/t.61.c : Likewise.
7233 * iconvdata/tcvn5712-1.c : Likewise.
7234 * iconvdata/tscii.c: Likewise.
7235 * iconvdata/uhc.c : Likewise.
7236 * iconvdata/unicode.c (gconv_end): Likewise.
7237 * iconvdata/utf-16.c (gconv_end): Likewise.
7238 * iconvdata/utf-32.c (gconv_end): Likewise.
7239 * iconvdata/utf-7.c (base64): Likewise.
7240 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7241 * iconv/gconv_close.c (__gconv_close): Likewise.
7242 * iconv/gconv_open.c (__gconv_open): Likewise.
7243 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7244 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7245 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7246 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7247 (ucs4le_internal_loop_single): Likewise.
7248 * iconv/iconv.c (iconv): Likewise.
7249 * iconv/iconv_close.c: Likewise.
7250 * iconv/loop.c (SINGLE): Likewise.
7251 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7252 * include/atomic.h: Likewise.
7253 * inet/inet6_option.c (option_alloc): Likewise.
7254 * intl/bindtextdom.c (set_binding_values): Likewise.
7255 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7256 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7257 * intl/localealias.c (read_alias_file): Likewise.
7258 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7259 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7260 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7261 * libio/fmemopen.c (fmemopen): Likewise.
7262 * libio/iofgets.c (_IO_fgets): Likewise.
7263 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7264 * libio/iofgetws.c (fgetws): Likewise.
7265 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7266 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7267 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7268 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7269 * locale/findlocale.c (_nl_find_locale): Likewise.
7270 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7271 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7273 * locale/setlocale.c (setlocale): Likewise.
7274 * login/programs/pt_chown.c (main): Likewise.
7275 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7276 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7277 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7278 (mmap, mmap64, mremap, munmap): Likewise.
7279 * math/e_exp2l.c: Likewise.
7280 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7281 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7282 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7283 * math/s_catan.c (__catan): Likewise.
7284 * math/s_catanf.c (__catanf): Likewise.
7285 * math/s_catanh.c (__catanh): Likewise.
7286 * math/s_catanhf.c (__catanhf): Likewise.
7287 * math/s_catanhl.c (__catanhl): Likewise.
7288 * math/s_catanl.c (__catanl): Likewise.
7289 * math/s_ccosh.c (__ccosh): Likewise.
7290 * math/s_ccoshf.c (__ccoshf): Likewise.
7291 * math/s_ccoshl.c (__ccoshl): Likewise.
7292 * math/s_cexp.c (__cexp): Likewise.
7293 * math/s_cexpf.c (__cexpf): Likewise.
7294 * math/s_cexpl.c (__cexpl): Likewise.
7295 * math/s_clog10.c (__clog10): Likewise.
7296 * math/s_clog10f.c (__clog10f): Likewise.
7297 * math/s_clog10l.c (__clog10l): Likewise.
7298 * math/s_clog.c (__clog): Likewise.
7299 * math/s_clogf.c (__clogf): Likewise.
7300 * math/s_clogl.c (__clogl): Likewise.
7301 * math/s_csin.c (__csin): Likewise.
7302 * math/s_csinf.c (__csinf): Likewise.
7303 * math/s_csinh.c (__csinh): Likewise.
7304 * math/s_csinhf.c (__csinhf): Likewise.
7305 * math/s_csinhl.c (__csinhl): Likewise.
7306 * math/s_csinl.c (__csinl): Likewise.
7307 * math/s_csqrt.c (__csqrt): Likewise.
7308 * math/s_csqrtf.c (__csqrtf): Likewise.
7309 * math/s_csqrtl.c (__csqrtl): Likewise.
7310 * math/s_ctan.c (__ctan): Likewise.
7311 * math/s_ctanf.c (__ctanf): Likewise.
7312 * math/s_ctanh.c (__ctanh): Likewise.
7313 * math/s_ctanhf.c (__ctanhf): Likewise.
7314 * math/s_ctanhl.c (__ctanhl): Likewise.
7315 * math/s_ctanl.c (__ctanl): Likewise.
7316 * math/w_pow.c: Likewise.
7317 * math/w_powf.c: Likewise.
7318 * math/w_powl.c: Likewise.
7319 * math/w_scalb.c (sysv_scalb): Likewise.
7320 * math/w_scalbf.c (sysv_scalbf): Likewise.
7321 * math/w_scalbl.c (sysv_scalbl): Likewise.
7322 * misc/error.c (error_tail): Likewise.
7323 * misc/pselect.c (__pselect): Likewise.
7324 * nis/nis_callback.c (__nis_create_callback): Likewise.
7325 * nis/nis_call.c (__nisfind_server): Likewise.
7326 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7327 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7328 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7329 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7330 * nis/nis_lookup.c (nis_lookup): Likewise.
7331 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7332 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7333 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7334 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7335 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7336 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7337 * nis/nss_compat/compat-initgroups.c (add_group)
7338 (internal_getgrent_r): Likewise.
7339 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7340 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7341 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7342 (internal_getspnam_r): Likewise.
7343 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7344 (_nss_nis_getaliasbyname_r): Likewise.
7345 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7346 (_nss_nis_getntohost_r): Likewise.
7347 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7348 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7349 (_nss_nis_getgrgid_r): Likewise.
7350 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7351 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7352 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7353 (_nss_nis_gethostbyname4_r): Likewise.
7354 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7355 (initgroups_netid): Likewise.
7356 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7357 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7358 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7359 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7360 (_nss_nis_getprotobynumber_r): Likewise.
7361 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7362 (_nss_nis_getsecretkey): Likewise.
7363 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7364 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7365 (_nss_nis_getpwuid_r): Likewise.
7366 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7367 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7368 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7369 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7370 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7371 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7372 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7374 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7375 (_nss_nisplus_getntohost_r): Likewise.
7376 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7377 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7378 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7379 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7381 * nis/nss_nisplus/nisplus-initgroups.c
7382 (_nss_nisplus_initgroups_dyn): Likewise.
7383 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7384 (_nss_nisplus_getnetbyaddr_r): Likewise.
7385 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7386 (_nss_nisplus_getprotobynumber_r): Likewise.
7387 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7388 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7389 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7391 * nis/nss_nisplus/nisplus-service.c
7392 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7393 (_nss_nisplus_getservbyport_r): Likewise.
7394 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7395 (_nss_nisplus_getspnam_r): Likewise.
7396 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7398 * nscd/aicache.c (addhstaiX): Likewise.
7399 * nscd/cache.c (cache_search, prune_cache): Likewise.
7400 * nscd/connections.c (register_traced_file, send_ro_fd)
7401 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7402 (main_loop_epoll): Likewise.
7403 * nscd/grpcache.c (addgrbyX): Likewise.
7404 * nscd/hstcache.c (addhstbyX): Likewise.
7405 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7406 * nscd/mem.c (gc, mempool_alloc): Likewise.
7407 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7408 (addinnetgrX): Likewise.
7409 * nscd/nscd-client.h (__nscd_acquire_maplock)
7410 (__nscd_drop_map_ref): Likewise.
7411 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7412 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7413 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7415 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7416 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7417 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7418 (__nscd_get_map_ref): Likewise.
7419 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7420 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7422 * nscd/pwdcache.c (addpwbyX): Likewise.
7423 * nscd/selinux.c (preserve_capabilities): Likewise.
7424 * nscd/servicescache.c (addservbyX): Likewise.
7425 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7426 * posix/fnmatch.c (fnmatch): Likewise.
7427 * posix/getopt.c (_getopt_internal_r): Likewise.
7428 * posix/glob.c (glob, glob_in_dir): Likewise.
7429 * posix/wordexp.c (exec_comm_child): Likewise.
7430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7431 (getanswer_r, gaih_getanswer_slice): Likewise.
7432 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7433 * resolv/res_init.c: Likewise.
7434 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7435 * resolv/res_query.c (__libc_res_nquery): Likewise.
7436 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7438 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7439 * stdio-common/perror.c (perror): Likewise.
7440 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7441 * stdio-common/tmpnam.c (tmpnam): Likewise.
7442 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7443 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7444 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7446 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7447 * stdlib/putenv.c (putenv): Likewise.
7448 * stdlib/setenv.c (__add_to_environ): Likewise.
7449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7450 * stdlib/strtol_l.c (INTERNAL): Likewise.
7451 * string/memmem.c (memmem): Likewise.
7452 * string/strerror.c (strerror): Likewise.
7453 * string/strnlen.c (__strnlen): Likewise.
7454 * string/test-memmem.c (simple_memmem): Likewise.
7455 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7456 * sunrpc/pm_getport.c (__get_socket): Likewise.
7457 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7458 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7459 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7460 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7462 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7463 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7464 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7465 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7466 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7467 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7469 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7471 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7472 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7473 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7474 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7475 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7477 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7478 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7479 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7480 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7481 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7482 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7484 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7488 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7489 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7490 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7492 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7493 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7494 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7497 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7498 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7500 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7501 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7503 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7505 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7507 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7509 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7511 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7513 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7515 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7516 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7517 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7518 * sysdeps/posix/sleep.c: Likewise.
7519 * sysdeps/posix/tempname.c: Likewise.
7520 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7521 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7523 * sysdeps/powerpc/powerpc32/dl-machine.h
7524 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7525 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7527 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7528 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7530 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7531 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7532 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7533 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7534 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7535 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7536 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7537 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7538 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7539 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7541 (elf_machine_lazy_rel): Likewise.
7542 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7544 (elf_machine_lazy_rel): Likewise.
7545 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7546 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7547 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7548 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7549 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7550 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7551 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7554 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7555 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7556 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7557 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7558 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7559 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7560 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7561 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7562 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7563 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7564 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7566 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7567 (__posix_fallocate64_l64): Likewise.
7568 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7569 (posix_fallocate): Likewise.
7570 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7572 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7573 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7574 (getifaddrs_internal): Likewise.
7575 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7576 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7577 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7578 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7579 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7580 (__posix_fallocate64_l64): Likewise.
7581 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7583 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7584 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7585 (__get_clockfreq): Likewise.
7586 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7587 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7588 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7591 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7592 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7593 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7595 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7596 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7597 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7598 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7599 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7600 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7601 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7603 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7604 (posix_fallocate): Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7606 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7607 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7608 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7609 (elf_machine_rela, elf_machine_rela_relative)
7610 (elf_machine_lazy_rel): Likewise.
7611 * time/asctime.c (asctime_internal): Likewise.
7612 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7613 * time/tzset.c (__tzset_parse_tz): Likewise.
7614 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7615 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7616 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7617 * wcsmbs/wcsmbsload.h: Likewise.
7620 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7622 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7623 (arena_get2): Remove THREAD_STATS conditionals.
7624 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7625 (__malloc_stats, int): Likewise.
7627 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7629 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7630 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7632 * manual/setjmp.texi: Fix typos/grammar errors.
7634 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7635 Only return early when n is <= 0. Delete unused return statement.
7637 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7638 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7639 * debug/tst-longjmp_chk3.c: New file.
7641 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7642 (test_main): Replace code with set_fortify_handler call.
7643 * debug/test-strcpy_chk.c: Likewise.
7644 * debug/tst-chk1.c: Likewise.
7645 * debug/tst-longjmp_chk.c: Likewise.
7646 * test-skeleton.c: Include fcntl.h & paths.h
7647 (set_fortify_handler): Define.
7649 * debug/tst-longjmp_chk.c: Add header comment and include
7651 (do_test): Mark static.
7652 (TEST_FUNCTION): Define.
7654 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7655 (IP_PMTUDISC_INTERFACE): Likewise.
7656 (IP_MULTICAST_IF): Likewise.
7657 (IP_MULTICAST_TTL): Likewise.
7658 (IP_MULTICAST_LOOP): Likewise.
7659 (IP_ADD_MEMBERSHIP): Likewise.
7660 (IP_DROP_MEMBERSHIP): Likewise.
7661 (IP_UNBLOCK_SOURCE): Likewise.
7662 (IP_BLOCK_SOURCE): Likewise.
7663 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7664 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7665 (IP_MSFILTER): Likewise.
7666 (MCAST_JOIN_GROUP): Likewise.
7667 (MCAST_BLOCK_SOURCE): Likewise.
7668 (MCAST_UNBLOCK_SOURCE): Likewise.
7669 (MCAST_LEAVE_GROUP): Likewise.
7670 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7671 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7672 (MCAST_MSFILTER): Likewise.
7673 (IP_MULTICAST_ALL): Likewise.
7674 (IP_UNICAST_IF): Likewise.
7676 * timezone/Makefile: Delete $(have-ksh) check.
7677 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7678 * timezone/tzselect.ksh: Add +x mode bits.
7680 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7681 (ANON_INODE_FS_MAGIC): Likewise.
7682 (BDEVFS_MAGIC): Likewise.
7683 (BINFMTFS_MAGIC): Likewise.
7684 (BTRFS_TEST_MAGIC): Likewise.
7685 (CRAMFS_MAGIC_WEND): Likewise.
7686 (DEBUGFS_MAGIC): Likewise.
7687 (ECRYPTFS_SUPER_MAGIC): Likewise.
7688 (EXT3_SUPER_MAGIC): Likewise.
7689 (EXT4_SUPER_MAGIC): Likewise.
7690 (FUTEXFS_SUPER_MAGIC): Likewise.
7691 (HOSTFS_SUPER_MAGIC): Likewise.
7692 (HUGETLBFS_MAGIC): Likewise.
7693 (MINIX3_SUPER_MAGIC): Likewise.
7694 (MTD_INODE_FS_MAGIC): Likewise.
7695 (NILFS_SUPER_MAGIC): Likewise.
7696 (OPENPROM_SUPER_MAGIC): Likewise.
7697 (PIPEFS_MAGIC): Likewise.
7698 (PSTOREFS_MAGIC): Likewise.
7699 (QNX6_SUPER_MAGIC): Likewise.
7700 (RAMFS_MAGIC): Likewise.
7701 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7702 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7703 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7704 (SECURITYFS_MAGIC): Likewise.
7705 (SELINUX_MAGIC): Likewise.
7706 (SMACK_MAGIC): Likewise.
7707 (SOCKFS_MAGIC): Likewise.
7708 (SQUASHFS_MAGIC): Likewise.
7709 (STACK_END_MAGIC): Likewise.
7710 (TMPFS_MAGIC): Likewise.
7711 (USBDEVICE_SUPER_MAGIC): Likewise.
7712 (V9FS_MAGIC): Likewise.
7713 (XENFS_SUPER_MAGIC): Likewise.
7714 (CRAMFS_MAGIC): Fix typo in comment.
7715 (EXT2_SUPER_MAGIC): Update comment.
7716 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7718 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7720 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7721 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7722 * sysdeps/unix/sysv/linux/arm: Move directory from
7723 ports/sysdeps/unix/sysv/linux/arm.
7724 * README: Update listing for arm-*-linux-gnueabi.
7726 * README: Remove mention of am33.
7728 2014-02-07 Roland McGrath <roland@hack.frob.com>
7730 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7731 than the comma operator, to avoid "rhs of comma has no effect"
7733 (__sigfillset, __sigandset, __sigorset): Likewise.
7734 * include/signal.h (__sigemptyset): Likewise.
7735 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7737 2014-02-07 Allan McRae <allan@archlinux.org>
7739 * version.h (RELEASE): Set to "development".
7740 (VERSION): Set to "2.19.90"
7741 * NEWS: Add 2.20 section.
7743 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7746 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7748 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7750 * manual/contrib.texi: Update entry for Carlos O'Donell,
7751 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7753 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7755 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7757 * sysdeps/unix/sysv/linux/kernel-features.h
7758 [__LINUX_KERNEL_VERSION >= 0x020621]
7759 (__ASSUME_PROC_PID_TASK_COMM): Define.
7761 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7764 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7765 conversion when destination buffer does not have enough space.
7766 * libio/tst-ftell-partial-wide.c: New test case.
7767 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7769 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7770 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7771 Leonard and Allan McRae.
7773 2014-02-04 David S. Miller <davem@davemloft.net>
7775 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7778 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7807 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7809 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7810 * shlib-versions: Likewise.
7812 2014-02-04 Roland McGrath <roland@hack.frob.com>
7813 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7816 (abilist-pattern): New variable, set to %-le.abilist.
7818 * Makerules (abilist-pattern): New variable.
7819 (vpath): Use $(abilist-pattern) in place of %.abilist.
7820 (check-abi-% pattern rule): Likewise.
7821 (check-abi, update-abi): Likewise.
7823 2014-02-04 Eric Wong <normalperson@yhbt.net>
7825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7827 2014-02-03 Carlos O'Donell <carlos@redhat.com>
7829 * manual/startup.texi: Add next, previous, and top entries for
7830 the `Program Arguments' and `Environment Variables' nodes.
7832 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7834 * manual/macros.texi: Add comments before MTASC-safety macros.
7836 * manual/users.texi: Document MTASC-safety properties.
7838 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7839 (pthread_getspecific, pthread_setspecific): Format with
7840 @deftypefun, and add @safety note.
7841 * manual/signal.texi: Move comments that analyze the above
7842 functions to their home place.
7844 2014-02-03 Allan McRae <allan@archlinux.org>
7846 * po/sl.po: Update Slovenian translation from translation project.
7848 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
7850 * manual/time.texi (timegm): Add missing blank after @c.
7851 Reported by Joseph Myers <joseph@codesourcery.com>.
7853 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7855 * manual/check-safety.sh: New.
7856 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7858 * manual/terminal.texi: Document MTASC-safety properties.
7860 * manual/filesys.texi: Document MTASC-safety properties.
7862 * manual/errno.texi: Document MTASC-safety properties.
7864 * manual/intro.texi: Document safety identifiers and
7867 * manual/string.texi (wcstok): Fix prototype.
7868 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7870 * manual/time.texi: Document MTASC-safety properties.
7872 * manual/string.texi: Document MTASC-safety properties.
7874 * manual/threads.texi: Document MTASC-safety properties.
7876 * manual/stdio.texi: Document MTASC-safety properties.
7878 * manual/syslog.texi: Document MTASC-safety properties.
7880 * manual/sysinfo.texi: Document MTASC-safety properties.
7882 * manual/startup.texi: Document MTASC-safety properties.
7884 * manual/socket.texi: Document MTASC-safety properties.
7886 * manual/signal.texi: Document MTASC-safety properties.
7888 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7890 * manual/setjmp.texi: Document MTASC-safety properties.
7892 * manual/search.texi: Document MTASC-safety properties.
7894 * manual/resource.texi: Document MTASC-safety properties.
7896 * manual/process.texi: Document MTASC-safety properties.
7898 * manual/platform.texi: Document MTASC-safety properties.
7900 * manual/pipe.texi: Document MTASC-safety properties.
7902 * manual/pattern.texi: Document MTASC-safety properties.
7904 * manual/message.texi: Document MTASC-safety properties.
7907 * manual/memory.texi: Document MTASC-safety properties.
7909 * manual/math.texi: Document MTASC-safety properties.
7911 * manual/locale.texi: Document MTASC-safety properties.
7913 * manual/llio.texi: Document MTASC-safety properties.
7915 * manual/libdl.texi: New.
7917 * manual/lang.texi: Document MTASC-safety properties.
7919 * manual/job.texi: Document MTASC-safety properties.
7921 * manual/getopt.texi: Document MTASC-safety properties.
7923 * manual/ctype.texi: Document MTASC-safety properties.
7925 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7928 * csu/libc-tls.c (static_map): Remove variable.
7929 (__libc_setup_tls): Use main executable's link map for TLS data.
7930 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7931 casing for LM_ID_BASE and GL(dl_nns).
7932 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7933 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7934 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7935 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7936 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7938 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7941 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7943 * manual/debug.texi: Document MTASC-safety properties.
7945 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7948 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7949 of __x86_64__ when disabling x87 inline functions.
7951 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7953 * manual/charset.texi: Document MTASC-safety properties.
7955 * manual/crypt.texi: Document MTASC-safety properties.
7957 * manual/conf.texi: Document MTASC-safety properties.
7959 * manual/arith.texi: Document MTASC-safety properties.
7961 * manual/argp.texi: Document MTASC-safety properties.
7963 * manual/macros.texi: Introduce macros to document multi
7964 thread, asynchronous signal and asynchronous cancellation
7966 * manual/intro.texi: Introduce the properties themselves.
7968 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7970 * sysdeps/sh/sh4/Makefile: New file.
7972 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7974 * math/gen-libm-test.pl ($srcdir): New variable.
7975 ($auto_input): Use it.
7977 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7980 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7981 access beyond array bounds when parsing netgroups file.
7983 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7984 the old buffer before realloc.
7986 2014-01-27 Allan McRae <allan@archlinux.org>
7988 * po/fr.po: Update French translation from translation project.
7990 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7992 * sysdeps/sh/libm-test-ulps: Regenerate.
7994 2014-01-24 David S. Miller <davem@davemloft.net>
7996 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7998 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8000 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8001 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8003 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8006 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8007 string pointers after reallocation.
8009 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8011 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8012 __SH4A__ instead of __SH_FPU_ANY__.
8014 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8016 * sysdeps/sh/fpu_control.h: New file.
8017 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8018 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8019 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8020 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8021 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8022 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8023 * sysdeps/sh/sys/ucontext.h: Remove.
8024 * sysdeps/sh/sys: Remove directory.
8026 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8028 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8029 s390/sys/ucontext.h.
8030 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8033 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8036 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8038 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8042 Adjust the vDSO correctly for internal calls.
8043 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8045 2014-01-20 Allan McRae <allan@archlinux.org>
8047 * po/ca.po: Update Catalan translation from translation project.
8049 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8051 * sysdeps/s390/sotruss-lib.c: New file.
8053 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8056 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8057 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8058 local calls issues by not having a PLT stub required for IFUNC calls.
8059 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8061 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8063 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8064 * math/test-fpucw-static.c: Likewise.
8066 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8069 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8071 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8073 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8074 implementation for powerpc.
8076 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8079 * sysdeps/posix/system.c (__libc_system): Do not enable
8080 asynchronous cancellation.
8082 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8085 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8086 handling only for numbers special also in the IEEE case.
8088 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8090 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8092 2014-01-11 Allan McRae <allan@archlinux.org>
8094 * po/bg.po: Update Bulgarian translation from translation project.
8096 * po/de.po: Update German translation from translation project.
8098 2014-01-10 Roland McGrath <roland@hack.frob.com>
8100 * sysdeps/generic/gcc-compat.h: New file.
8102 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8104 * benchtests/asin-inputs: Correct slow inputs.
8105 * benchtests/acos-inputs: Likewise.
8107 2014-01-10 Allan McRae <allan@archlinux.org>
8109 * po:sv.po: Update Swedish translation from translation project.
8111 * po/vi.po: Update Vietnamese translation from translation project.
8113 * po/eo.po: Update Esperanto translation from translation project.
8115 * po/cs.po: Update Czech translation from translation project.
8117 * po/nl.po: Update Dutch translation from translation project.
8119 * po/pl.po: Update Polish translation from translation project.
8121 * po/ru.po: Update Russian translation from translation project.
8123 * po/uk.po: Update Ukrainian translation from translation project.
8125 2014-01-08 Brooks Moses <bmoses@google.com>
8127 * elf/dl-load.c: Fix comment typo.
8129 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8131 * po/header.pot: Rename to...
8132 * po/pot.header: ... this.
8133 * po/Makefile: Use pot.header.
8135 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8136 Maxim Kuvyrkov <maxim@kugelworks.com>
8139 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8140 SRC and DEST against LEN.
8142 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8145 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8147 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8149 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8153 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8156 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8157 for large positive arguments.
8159 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8161 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8163 * math/auto-libm-test-in: Mark various tests with
8164 xfail-rounding:ldbl-128ibm.
8165 * math/auto-libm-test-out: Regenerated.
8168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8169 Increase overflow threshold.
8171 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8174 * stdio-common/vfprintf.c: Check for integer overflow.
8176 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8178 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8179 the first argument and return value of __tls_get_addr_internal.
8181 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8183 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8184 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8186 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8188 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8189 * sysdeps/s390/rtld-global-offsets.sym: New file.
8190 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8192 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8193 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8197 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8203 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8204 halfs of GPRs for high_gprs contexts.
8205 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8206 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8208 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8210 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8212 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8213 for high GPRs (uc_high_gprs) and for future extensions
8215 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8216 for future extensions (__reserved).
8217 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8219 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8220 SC_HIGHGPRS offset definition.
8221 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8222 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8224 * Versions.def: Add GLIBC_2.19 for libpthread.
8225 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8226 siglongjmp for libpthread with GLIBC_2.19 symver.
8227 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8228 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8229 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8230 * sysdeps/s390/__longjmp.c: New file.
8231 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8232 * sysdeps/s390/longjmp.c: New file.
8233 * sysdeps/s390/setjmp.S: New file.
8234 * sysdeps/s390/sigjmp.S: New file.
8235 * sysdeps/s390/v1-longjmp.c: New file.
8236 * sysdeps/s390/v1-setjmp.h: New file.
8237 * sysdeps/s390/v1-sigjmp.c: New file.
8238 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8239 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8241 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8242 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8243 versioned symbols for ____longjmp_chk.
8244 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8254 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8255 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8256 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8257 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8258 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8259 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8260 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8261 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8262 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8263 * sysdeps/s390/rtld-__longjmp.c: New file.
8264 * sysdeps/s390/rtld-setjmp.S: New file.
8266 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8269 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8270 Return -__logl (x) for small positive arguments without evaluating
8273 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8275 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8277 (__ptrace_peeksiginfo_args): ... this.
8278 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8282 2014-01-06 Allan McRae <allan@archlinux.org>
8284 * inet/netinet/in.h: Fix typo in comment.
8286 2014-01-05 Andreas Jaeger <aj@suse.de>
8288 * sysdeps/i386/fpu/libm-test-ulps: Update.
8290 2014-01-05 Allan McRae <allan@archlinux.org>
8292 * po/libc.pot: Regenerated.
8294 * malloc/memusagestat.c: Fix gettext call formatting.
8296 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8298 * nscd/nscd.c: Improve usage() output.
8300 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8302 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8303 * sysdeps/unix/sysv/linux/configure: Regenerated.
8304 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8305 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8307 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8310 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8311 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8313 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8316 extra tokens at end of #undef directive.
8317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8318 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8319 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8321 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8323 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8325 * math/auto-libm-test-in: Mark various tests with
8326 xfail-rounding:ldbl-128ibm.
8327 * math/auto-libm-test-out: Regenerated.
8329 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8333 numbers with subnormal high part when calculating exponent.
8336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8340 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8342 (__ieee754_acoshl): Use __log1pl not __log1p.
8344 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8346 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8347 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8348 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8349 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8350 (reused_arena, arena_get2): Convert to GNU style.
8351 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8352 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8353 (memalign_check, __malloc_set_state): Likewise.
8354 * malloc/mallocbug.c (main): Likewise.
8355 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8356 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8357 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8358 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8359 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8360 (__posix_memalign, malloc_info): Likewise.
8361 * malloc/malloc.h: Likewise.
8362 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8363 (mallochook, memalignhook, reallochook, mabort): Likewise.
8364 * malloc/mcheck.h: Likewise.
8365 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8366 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8367 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8368 * malloc/morecore.c (__default_morecore): Likewise.
8369 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8370 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8371 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8372 (print_and_abort): Likewise.
8373 * malloc/obstack.h: Likewise.
8374 * malloc/set-freeres.c (__libc_freeres): Likewise.
8375 * malloc/tst-mallocstate.c (main): Likewise.
8376 * malloc/tst-mtrace.c (main): Likewise.
8377 * malloc/tst-realloc.c (do_test): Likewise.
8379 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8382 * nscd/netgroupcache.c (do_notfound): New function.
8383 (addgetnetgrentX): Use it.
8386 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8387 NSS_STATUS_NOTFOUND.
8389 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8391 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394 2014-01-01 Allan McRae <allan@archlinux.org>
8396 * scripts/update-copyrights: Update configure input file suffix.
8398 * NEWS: Update copyright year.
8399 * catgets/gencat.c: Likewise.
8400 * csu/version.c: Likewise.
8401 * debug/catchsegv.sh: Likewise.
8402 * debug/pcprofiledump.c: Likewise.
8403 * debug/xtrace.sh: Likewise.
8404 * elf/ldconfig.c: Likewise.
8405 * elf/ldd.bash.in: Likewise.
8406 * elf/pldd.c: Likewise.
8407 * elf/sotruss.ksh: Likewise.
8408 * elf/sprof.c: Likewise.
8409 * iconv/iconv_prog.c: Likewise.
8410 * iconv/iconvconfig.c: Likewise.
8411 * locale/programs/locale.c: Likewise.
8412 * locale/programs/localedef.c: Likewise.
8413 * login/programs/pt_chown.c: Likewise.
8414 * malloc/memusage.sh: Likewise.
8415 * malloc/memusagestat.c: Likewise.
8416 * malloc/mtrace.pl: Likewise.
8417 * manual/libc.texinfo: Likewise.
8418 * nscd/nscd.c: Likewise.
8419 * nss/getent.c: Likewise.
8420 * nss/makedb.c: Likewise.
8421 * posix/getconf.c: Likewise.
8422 * scripts/test-installation.pl: Likewise.
8424 * All files with FSF copyright notices: Update copyright dates
8425 using scripts/update-copyrights.
8426 * intl/plural.c: Regenerated.
8427 * locale/programs/charmap-kw.h: Likewise.
8428 * locale/programs/locfile-kw.h: Likewise.
8430 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8432 * sysdeps/unix/sysv/linux/configure: Regenerated.
8433 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8434 the linux/fanotify.h header.
8435 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8436 HAVE_LINUX_FANOTIFY_H is defined.
8438 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8440 * benchtests/cos-inputs: New inputs.
8441 * benchtests/sin-inputs: Likewise.
8443 * benchtests/atan-inputs: New inputs. Fix name of multiple
8444 precision fallback inputs.
8446 * benchtests/atanh-inputs: New inputs.
8447 * benchtests/tanh-inputs: Likewise.
8449 * benchtests/acosh-inputs: New inputs.
8450 * benchtests/asinh-inputs: Likewise.
8452 * benchtests/cosh-inputs: New inputs.
8453 * benchtests/sinh-inputs: Likewise.
8455 * benchtests/acos-inputs: Add more inputs.
8456 * benchtests/asin-inputs: Likewise.
8458 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8461 * manual/arith.texi: Fix spelling.
8462 * manual/charset.texi: Likewise.
8463 * manual/errno.texi: Likewise.
8464 * manual/filesys.texi: Likewise.
8465 * manual/lang.texi: Likewise.
8466 * manual/llio.texi: Likewise.
8467 * manual/locale.texi: Likewise.
8468 * manual/message.texi: Likewise.
8469 * manual/resource.texi: Likewise.
8470 * manual/search.texi: Likewise.
8471 * manual/setjmp.texi: Likewise.
8472 * manual/stdio.texi: Likewise.
8473 * manual/string.texi: Likewise.
8474 * manual/sysinfo.texi: Likewise.
8475 * manual/time.texi: Likewise.
8477 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8479 * po/sl.po: New file.
8481 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8483 * .gitignore: Add core/.gdbinit/.gdb_history.
8485 2013-12-27 Allan McRae <allan@archlinux.org>
8488 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8489 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8491 2013-12-24 Brooks Moses <bmoses@google.com>
8493 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8494 all compilers that claim C++98 compliance, not just GCC.
8495 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8498 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8500 * NEWS: Restore accidentally deleted bug-fix entries.
8502 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8503 Ondřej Bílka <neleai@seznam.cz>
8506 * malloc/malloc.c (_int_free): Perform sanity check only if we
8509 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8512 * manual/stdio.texi (String Input Conversions): Clarify that character
8513 classes are not supported.
8515 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8519 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8523 Calculate results for small negative arguments directly rather
8524 than using reflection formula with special underflow handling.
8526 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8527 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8528 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8529 (fchflags): Likewise.
8531 (setlogin): Likewise.
8532 (sigaltstack): Likewise.
8535 (sigsetmask): Likewise.
8537 (waitpid): Likewise.
8538 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8539 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8541 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8542 * sysdeps/unix/bsd/Makefile: ... here.
8543 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8544 * sysdeps/unix/bsd/Versions: ... here.
8545 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8546 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8547 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8548 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8549 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8550 * sysdeps/unix/bsd/sigblock.c: ... here.
8551 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8552 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8553 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8554 * sysdeps/unix/bsd/sigvec.c: ... here.
8555 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8556 * sysdeps/unix/bsd/tcdrain.c: ... here.
8557 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8558 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8559 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8560 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8561 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8562 * sysdeps/unix/bsd/wait.c: ... here.
8563 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8564 * sysdeps/unix/bsd/wait3.c: ... here.
8565 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8566 * sysdeps/unix/bsd/waitpid.c: ... here.
8568 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8572 round-to-nearest for [!USE_AS_EXPM1L].
8573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8574 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8575 more tests of exp and exp10. Expect some exp10 tests to miss
8576 exceptions or fail in directed rounding modes.
8577 * math/auto-libm-test-out: Regenerated.
8578 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8579 (exp10_test_tonearest): New function.
8580 (exp10_towardzero_test_data): New array.
8581 (exp10_test_towardzero): New function.
8582 (exp10_downward_test_data): New array.
8583 (exp10_test_downward): New function.
8584 (exp10_upward_test_data): New array.
8585 (exp10_test_upward): New function.
8586 (main): Call the new functions.
8587 * sysdeps/i386/fpu/libm-test-ulps: Update.
8588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8590 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8592 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8593 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8594 * math/auto-libm-test-out: Regenerated.
8595 * math/libm-test.inc (acosh_test_data): Add more tests.
8596 (atanh_test_data): Likewise.
8597 (ceil_test_data): Likewise.
8598 (copysign_test_data): Likewise.
8599 * sysdeps/i386/fpu/libm-test-ulps: Update.
8600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8602 * timezone/checktab.awk: Update from tzcode 2013i.
8603 * timezone/private.h: Likewise.
8604 * timezone/scheck.c: Likewise.
8605 * timezone/tzfile.h: Likewise.
8606 * timezone/tzselect.ksh: Likewise.
8607 * timezone/zdump.c: Likewise.
8608 * timezone/zic.c: Likewise.
8610 * math/auto-libm-test-in: Add tests of cpow.
8611 * math/auto-libm-test-out: Regenerated.
8612 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8613 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8615 (func_calc_desc): Add mpc_cc_c union field.
8616 (test_functions): Add cpow.
8617 (special_fill_2pi): New function.
8618 (special_real_inputs): Add 2pi.
8619 (calc_generic_results): Handle mpc_cc_c.
8620 * sysdeps/i386/fpu/libm-test-ulps: Update.
8621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8623 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8624 csqrt, ctan and ctanh.
8625 * math/auto-libm-test-out: Regenerated.
8626 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8627 (TEST_COND_x86): Likewise.
8628 (ccos_test_data): Use AUTO_TESTS_c_c.
8629 (ccosh_test_data): Likewise.
8630 (cexp_test_data): Likewise.
8631 (clog_test_data): Likewise.
8632 (csqrt_test_data): Likewise.
8633 (ctan_test_data): Likewise.
8634 (ctan_tonearest_test_data): Likewise.
8635 (ctan_towardzero_test_data): Likewise.
8636 (ctan_downward_test_data): Likewise.
8637 (ctan_upward_test_data): Likewise.
8638 (ctanh_test_data): Likewise.
8639 (ctanh_tonearest_test_data): Likewise.
8640 (ctanh_towardzero_test_data): Likewise.
8641 (ctanh_downward_test_data): Likewise.
8642 (ctanh_upward_test_data): Likewise.
8643 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8645 (func_calc_desc): Add mpc_c_c union field.
8646 (FUNC_mpc_c_c): New macro.
8647 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8648 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8650 (special_fill_min_subnorm_p120): New function.
8651 (special_real_inputs): Add min_subnorm_p120.
8652 (calc_generic_results): Handle mpc_c_c.
8653 * sysdeps/i386/fpu/libm-test-ulps: Update.
8654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8656 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8658 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8659 (do_sin_slow): New functions.
8660 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8661 (cslow2, csloww1, csloww2): Use the new functions.
8663 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8664 Use M to change sign of result instead of X. Assume X is
8666 (csloww1): Likewise.
8670 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8677 (sloww1): Don't adjust sign of DX.
8678 (csloww1): Likewise.
8679 (sloww2): Use X directly and don't adjust sign of DX.
8680 (csloww2): Likewise.
8682 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8684 * math/auto-libm-test-in: Add tests of cabs and carg.
8685 * math/auto-libm-test-out: Regenerated.
8686 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8687 (carg_test_data): Likewise.
8688 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8690 (func_calc_desc): Add mpc_c_f union field.
8691 (test_functions): Add cabs and carg.
8692 (calc_generic_results): Handle mpc_c_f.
8694 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8695 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8696 as a macro and a compat symbol.
8697 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8698 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8699 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8700 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8701 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8702 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8704 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8706 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8708 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8710 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8712 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8714 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8715 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8718 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8722 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8724 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8725 trailing whitespace removed.
8726 * scripts/config.guess: Update to version 2013-11-29.
8727 * scripts/config.sub: Update to version 2013-10-01.
8729 * math/auto-libm-test-in: Add tests of sincos.
8730 * math/auto-libm-test-out: Regenerated.
8731 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8732 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8734 (func_calc_desc): Add mpfr_f_11 union field.
8735 (test_functions): Add sincos.
8736 (calc_generic_results): Handle mpfr_f_11.
8737 * sysdeps/i386/fpu/libm-test-ulps: Update.
8738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8740 2013-12-19 Andreas Schwab <schwab@suse.de>
8742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8746 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8748 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8750 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8751 * sysdeps/i386/fpu/libm-test-ulps: Update.
8752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8756 round-to-nearest mode when using frndint.
8757 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8758 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8759 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8761 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8763 * math/auto-libm-test-out: Regenerated.
8764 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8765 (TEST_COND_x86): Likewise.
8766 (expm1_tonearest_test_data): New array.
8767 (expm1_test_tonearest): New function.
8768 (expm1_towardzero_test_data): New array.
8769 (expm1_test_towardzero): New function.
8770 (expm1_downward_test_data): New array.
8771 (expm1_test_downward): New function.
8772 (expm1_upward_test_data): New array.
8773 (expm1_test_upward): New function.
8774 (main): Run the new test functions.
8775 * sysdeps/i386/fpu/libm-test-ulps: Update.
8776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8778 * include/features.h: Update comment documenting feature test
8779 macros. Mention _DEFAULT_SOURCE in comment.
8780 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8781 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8782 _BSD_SOURCE and _SVID_SOURCE.
8783 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8784 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8785 !_SVID_SOURCE]: Likewise.
8786 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8787 (__USE_POSIX_IMPLICITLY): Define.
8788 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8789 (_POSIX_SOURCE): Undefine and redefine.
8790 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8791 (_POSIX_C_SOURCE): Likewise.
8792 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8793 (Feature Test Macros): Update documentation of default features.
8795 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8797 * benchtests/Makefile: Add bench-strtok.
8798 * benchtests/bench-strtok.c: New file: strtok benchtest.
8800 2013-12-19 Allan McRae <allan@archlinux.org>
8802 * manual/install.texi: Suppress menu for plain text output.
8803 * INSTALL: Regenerated.
8805 2013-12-18 Brooks Moses <bmoses@google.com>
8808 * misc/getauxval.c: Include errno.h.
8809 (__getauxval): Set errno to ENOENT if the requested type is not
8811 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8812 don't declare with __attribute_const__.
8813 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8814 * manual/startup.texi: Document that getauxval sets errno.
8816 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8818 * math/auto-libm-test-in: Add tests of jn and yn.
8819 * math/auto-libm-test-out: Regenerated.
8820 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8821 (yn_test_data): Likewise.
8822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8824 (func_calc_desc): Add mpfr_if_f union field.
8825 (FUNC_mpfr_if_f): New macro.
8826 (test_functions): Add jn and yn.
8827 (calc_generic_results): Assert type of second input for
8828 mpfr_ff_f. Handle mpfr_if_f.
8829 (output_for_one_input_case): Disable all checking for arguments
8830 fitting floating-point types in case of an integer argument.
8831 * sysdeps/i386/fpu/libm-test-ulps: Update.
8832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8835 Don't expect fegetround reference in libm.so.
8837 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8839 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8840 $(config-cflags-nofma).
8842 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8844 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8845 * math/auto-libm-test-out: Regenerated.
8848 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8849 to determine exponent and adjust argument to have exponent of -1.
8850 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8852 * math/auto-libm-test-out: Regenerated.
8853 * sysdeps/i386/fpu/libm-test-ulps: Update.
8854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8856 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
8858 * manual/probes.texi: Remove cases when per-thread arenas are
8861 2013-12-18 Andreas Schwab <schwab@suse.de>
8863 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8864 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8865 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8866 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8867 * sysdeps/i386/i686/multiarch/Makefile: Update.
8868 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8870 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8872 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8873 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8875 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8878 Support TZ transition times < 00:00:00.
8879 This is needed for version-3 tz-format files; it supports time
8880 stamps past 2037 for America/Godthab (the only entry in the tz
8881 database for which this change is relevant).
8882 * manual/time.texi (TZ Variable): Document transition times
8883 from -167:59:59 through -00:00:01.
8884 * time/tzset.c (tz_rule): Time of day is now signed.
8885 (__tzset_parse_tz): Parse negative time of day.
8887 Document TZ transition times >= 25:00:00.
8888 * manual/time.texi (TZ Variable): Document transition times from
8889 25:00:00 through 167:59:59. These are already supported, and this
8890 support will help with version-3 tz-format files.
8892 * manual/time.texi (TZ Variable): Modernize North America example
8893 to reflect current (i.e., 2007-and-later) daylight saving rules.
8895 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8897 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8899 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8900 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8903 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8904 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8905 * sysdeps/unix/bsd/clock.c: Likewise.
8906 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8907 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8908 * sysdeps/unix/bsd/init-posix.c: Likewise.
8909 * sysdeps/unix/bsd/poll.c: Likewise.
8910 * sysdeps/unix/bsd/ptsname.c: Likewise.
8911 * sysdeps/unix/bsd/seekdir.c: Likewise.
8912 * sysdeps/unix/bsd/setegid.c: Likewise.
8913 * sysdeps/unix/bsd/seteuid.c: Likewise.
8914 * sysdeps/unix/bsd/setgid.c: Likewise.
8915 * sysdeps/unix/bsd/setrgid.c: Likewise.
8916 * sysdeps/unix/bsd/setruid.c: Likewise.
8917 * sysdeps/unix/bsd/setsid.c: Likewise.
8918 * sysdeps/unix/bsd/setuid.c: Likewise.
8919 * sysdeps/unix/bsd/sigaction.c: Likewise.
8920 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8921 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8922 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8923 * sysdeps/unix/bsd/telldir.c: Likewise.
8924 * sysdeps/unix/bsd/times.c: Likewise.
8925 * sysdeps/unix/bsd/usleep.c: Likewise.
8927 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8928 ($(objpfx)libbsd-compat.a): Remove rule.
8930 * include/features.h (__FAVOR_BSD): Do not define.
8931 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8932 features conflicting with POSIX.
8933 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8934 (_BSD_SOURCE): Remove description of not being a subset of other
8935 feature test macros.
8936 * manual/job.texi (getpgrp): Do not document BSD version.
8937 (getpgid): Do not document by reference to BSD getpgrp.
8938 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8939 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8940 * signal/signal.h [__FAVOR_BSD]: Likewise.
8941 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8942 instead of making contents conditional on [__FAVOR_BSD].
8943 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8945 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8949 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8952 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8953 values below 2**-450, not 2**-500.
8954 * math/auto-libm-test-in: Don't allow spurious underflow from
8956 * math/auto-libm-test-out: Regenerated.
8960 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8961 values of ha and hb and sort them after adjusting subnormal
8963 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8965 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8966 values of ea and eb and sort them after adjusting subnormal
8968 * math/auto-libm-test-in: Do not expect some hypot tests of
8969 subnormals to fail. Add more hypot tests.
8970 * math/auto-libm-test-out: Regenerated.
8972 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8975 * sysdeps/sh/s_fma.c: New file.
8976 * sysdeps/sh/s_fmaf.c: New file.
8977 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8979 * sysdeps/sh/Implies: Add sh/soft-fp.
8981 2013-12-16 Roland McGrath <roland@hack.frob.com>
8983 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8984 level of indirection to members `objname', `errstring', `malloced'.
8985 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8986 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8987 it as the __longjmp argument (just pass 1 instead).
8988 (_dl_catch_error): Initialize C with argument pointers and address of
8989 volatile local ERRCODE rather than copying values out of C at return.
8991 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8993 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8994 * math/auto-libm-test-out: Regenerated.
8995 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8996 (hypot_test_data): Likewise.
8997 (pow_test_data): Likewise.
8998 (pow_tonearest_test_data): Likewise.
8999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9001 (func_calc_desc): Add mpfr_ff_f union field.
9002 (FUNC_mpfr_ff_f): New macro.
9003 (test_functions): Add atan2, hypot and pow.
9004 (special_fill_min): New function.
9005 (special_fill_minus_min): Likewise.
9006 (special_fill_min_subnorm): Likewise.
9007 (special_fill_minus_min_subnorm): Likewise.
9008 (special_real_inputs): Add min, -min, min_subnorm and
9010 (calc_generic_results): Handle mpfr_ff_f.
9011 * sysdeps/i386/fpu/libm-test-ulps: Update.
9012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9014 2013-12-16 Will Newton <will.newton@linaro.org>
9016 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9017 (Aligned Memory Blocks): Add documentation for aligned_alloc
9018 and suggest it as an alternative to posix_memalign.
9019 (Hooks for Malloc): Document __memalign_hook is also called
9020 for aligned_alloc. (Summary of Malloc): Add summary for
9021 aligned alloc. Document __memalign_hook is also called
9024 2013-12-16 Will Newton <will.newton@linaro.org>
9026 * manual/memory.texi (Malloc Examples): Clarify default
9027 alignment documentation. Suggest posix_memalign rather
9028 than memalign or valloc.
9029 (Aligned Memory Blocks): Remove suggestion to use memalign
9030 or valloc. Remove obsolete comment about BSD.
9031 Document memalign errno values and mark the function obsolete.
9032 Document posix_memalign returned error codes. Mark valloc
9033 as obsolete. (Hooks for Malloc): __memalign_hook is also
9034 called for posix_memalign and valloc.
9035 (Summary of Malloc): Add posix_memalign to function summary.
9036 __memalign_hook is also called for posix_memalign and valloc.
9038 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9040 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9044 (sloww): Use mynumber union. Expand ternary operator into
9046 (cslow): use mynumber union.
9048 2013-12-16 Allan McRae <allan@archlinux.org>
9050 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9051 * configure: Regenerated.
9053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9056 * configure.ac: Added --enable-maintainer-mode. Check for
9057 autoconf when enabled.
9058 * configure: Regenerated.
9060 * nscd/nscd.service: New file.
9061 * nscd/nscd.tmpfiles: New file.
9063 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9066 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9067 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9068 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9069 (strstr): Add __strstr_sse2_unaligned ifunc.
9070 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9071 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9072 (strcasestr): Remove __strcasestr_sse42 ifunc.
9073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9077 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9079 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9080 * sysdeps/sh/bits/fenv.h: ... here.
9081 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9083 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9085 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9088 hypotf multiarch implementations.
9089 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9090 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9092 multiarch hypot for PPC64.
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9096 multiarch hypotf for PPC64.
9098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9099 modff multiarch implementations.
9100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9103 multiarch modf for PPC64.
9104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9107 multiarch modff for PPC64.
9109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9110 and logl multiarch implementations.
9111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9114 multiarch logb for PPC64.
9115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9118 multiarch logb for PPC64.
9119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9122 multiarch logb for PPC64.
9124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9125 isinff multiarch implementation.
9126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9130 multiarch isinf for PPC64.
9131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9134 multiarch isinff for PPC64.
9136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9137 finitef multiarch implementation.
9138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9142 multiarch finite for PPC64.
9143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9146 multiarch finitef for PPC64.
9148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9149 lrint multiarch implementation.
9150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9154 multiarch llrint for PPC64.
9155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9156 multiarch lrint for PPC64.
9158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9159 copysignf multiarch implementation.
9160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9165 multiarch copysign for PPC64.
9166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9167 multiarch copysignf for PPC64.
9169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9170 multiarch implementation.
9171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9179 multiarch llround for PPC64.
9180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9181 multiarch trunc for PPC64.
9182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9183 multiarch truncf for PPC64.
9185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9186 multiarch implementation.
9187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9195 multiarch llround for PPC64.
9196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9197 multiarch round for PPC64.
9198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9199 multiarch roundf for PPC64.
9201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9202 multiarch implementation.
9203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9211 multiarch llround for PPC64.
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9213 multiarch floor for PPC64.
9214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9215 multiarch floorf for PPC64.
9217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9218 multiarch implementation.
9219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9227 multiarch llround for PPC64.
9228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9229 multiarch ceil for PPC64.
9230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9231 multiarch ceilf for PPC64.
9233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9234 multiarch implementation.
9235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9242 multiarch llround for PPC64.
9243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9244 multiarch lround for PPC64.
9246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9247 multiarch implementation.
9248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9255 multiarch isnan for PPC64.
9256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9257 multiarch isnanf for PPC64.
9259 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9260 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9261 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9262 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9263 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9266 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9267 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9272 multiarch implementations.
9273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9274 (__libc_ifunc_impl_list): Likewise.
9275 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9278 multiarch stpcpy for PPC64.
9280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9281 multiarch implementations.
9282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9283 (__libc_ifunc_impl_list): Likewise.
9284 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9285 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9286 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9287 multiarch strcpy for PPC64.
9289 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9290 redefine function name.
9291 (_wordcopy_fwd_dest_aligned): Likewise.
9292 (_wordcopy_bwd_aligned): Likewise.
9293 (_wordcopy_bwd_dest_aligned): Likewise.
9294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9295 multiarch implementations.
9296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9297 (__libc_ifunc_impl_list): Likewise.
9298 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9299 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9300 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9302 multiarch wcscpy for PPC64.
9304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9305 multiarch implementations.
9306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9307 (__libc_ifunc_impl_list): Likewise.
9308 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9309 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9310 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9311 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9312 multiarch wcscpy for PPC64.
9314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9315 multiarch implementations.
9316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9317 (__libc_ifunc_impl_list): Likewise.
9318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9319 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9320 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9321 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9322 multiarch wcsrchr for PPC64.
9324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9325 multiarch implementations.
9326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9327 (__libc_ifunc_impl_list): Likewise.
9328 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9329 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9330 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9331 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9332 multiarch wcschr for PPC64.
9334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9335 multiarch implementations.
9336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9337 (__libc_ifunc_impl_list): Likewise.
9338 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9340 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9341 multiarch strchrnul for PPC64.
9343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9346 (__libc_ifunc_impl_list): Likewise.
9347 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9348 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9349 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9350 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9356 (__libc_ifunc_impl_list): Likewise.
9357 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9358 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9359 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9360 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9364 multiarch implementations.
9365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9366 (__libc_ifunc_impl_list): Likewise.
9367 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9368 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9369 strncasecmp for PPC64.
9370 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9371 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9372 multiarch strncasecmp_l for PPC64.
9374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9375 multiarch implementations.
9376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9377 (__libc_ifunc_impl_list): Likewise.
9378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9379 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9380 multiarch strcasecmp for PPC64.
9381 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9383 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9384 multiarch strcasecmp_l for PPC64.
9386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9389 (__libc_ifunc_impl_list): Likewise.
9390 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9391 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9392 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9398 (__libc_ifunc_impl_list): Likewise.
9399 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9400 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9401 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9407 (__libc_ifunc_impl_list): Likewise.
9408 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9410 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9411 rawmemrchr for PPC64.
9413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9416 (__libc_ifunc_impl_list): Likewise.
9417 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9418 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9419 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9425 (__libc_ifunc_impl_list): Likewise.
9426 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9427 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9428 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9434 (__libc_ifunc_impl_list): Likewise.
9435 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9436 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9437 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9440 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9441 avoid cretion of __bzero symbol.
9442 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9444 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9446 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9449 multiarch implementations.
9450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9451 (__libc_ifunc_impl_list): Likewise.
9452 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9453 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9454 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9455 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9457 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9458 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9459 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9460 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9461 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9463 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9465 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9469 (__libc_ifunc_impl_list): Likewise.
9470 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9471 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9472 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9473 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9477 multiarch for POWER/PPC64.
9478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9479 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9480 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9486 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9489 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9490 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9491 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9492 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9493 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9494 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9495 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9496 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9497 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9498 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9499 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9500 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9501 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9502 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9503 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9512 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9514 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9516 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9518 * benchtests/Makefile (bench): Add exp2 and log2.
9519 (LDLIBS-bench-exp2): Add -lm.
9520 (LDLIBS-bench-log2): Likewise.
9521 * benchtests/exp2-inputs: New inputs file.
9522 * benchtests/log2-inputs: New inputs file.
9523 * benchtests/log-inputs: Add new inputs.
9524 * benchtests/tan-inputs: Likewise.
9526 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9528 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9530 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9531 (csloww2): ... from here.
9533 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9534 instead of structures.
9535 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9536 (POLYNOMIAL): Likewise.
9537 (TAYLOR_SLOW): Likewise.
9545 (bsloww1): Likewise.
9546 (bsloww2): Likewise.
9549 (csloww1): Likewise.
9550 (csloww2): Likewise.
9552 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9554 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9555 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9556 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9557 * malloc/hooks.c (realloc_check): Likewise.
9559 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9560 * malloc/arena.c: Remove PER_THREAD conditional.
9561 [!PER_THREAD]: Remove code.
9562 (ptmalloc_unlock_all2): Likewise.
9563 (ptmalloc_init): Likewise.
9564 (_int_new_arena): Likewise.
9565 (arena_get2): Likewise.
9566 * malloc/hooks.c (__malloc_get_state): Likewise.
9567 (__malloc_set_state): Likewise.
9568 * malloc/malloc.c: Likewise.
9569 (struct malloc_state): Likewise.
9570 (struct malloc_par): Likewise.
9571 (__libc_realloc): Likewise.
9572 (__libc_mallopt): Likewise.
9574 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9576 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9578 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9580 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9581 macro to a function. Check for zero perturb_byte.
9582 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9584 * malloc/malloc.c: (force_reg): Remove.
9585 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9586 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9587 force_reg by atomic_forced_read.
9588 * malloc/arena.c (ptmalloc_init): Likewise.
9589 * malloc/hooks.c (top_check): Likewise.
9591 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9595 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9599 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9601 * math/auto-libm-test-in: Add tests of lgamma.
9602 * math/auto-libm-test-out: Regenerated.
9603 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9604 (M_LOG_2_SQRT_PIl): Likewise.
9605 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9606 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9608 (func_calc_desc): Add mpfr_f_f1 union field.
9617 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9618 (test_functions): Add lgamma.
9619 (calc_generic_results): Handle mpfr_f_f1.
9620 * sysdeps/i386/fpu/libm-test-ulps: Update.
9621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9623 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9625 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9626 __mpn_add_n for PowerPC64/POWER7.
9627 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9628 __mpn_sub_n for PowerPC64/POWER7.
9630 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9631 __mpn_addmul_1 for PowerPC64.
9632 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9633 __mpn_submul_1 for PowerPC64.
9634 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9636 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9639 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9642 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9644 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9646 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9648 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9649 add multiarch folders.
9650 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9651 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9652 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9653 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9654 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9655 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9656 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9657 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9658 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9659 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9660 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9669 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9675 multiarch __ieee754_hypot for PowerPC32.
9676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9681 multiarch __ieee754_hypotf for PowerPC32.
9683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9684 long_double_symbol only if __logbl is defined.
9685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9686 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9688 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9690 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9691 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9692 path for implementation.
9693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9696 logb, and logbl multiarch implementations for PowerPC32.
9697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9702 multiarch logb for PowerPC32.
9703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9708 multiarch logbf for PowerPC32.
9709 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9713 multiarch logbl implementation for PowerPC32.
9715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9716 and modff multiarch implementations.
9717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9722 multiarch modf for PowerPC32.
9723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9728 multiarch modff for PowerPC32.
9730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9731 and lrintf multiarch implementations.
9732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9737 multiarch lrint for PowerPC32.
9738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9739 file: multiarch lrintf for PowerPC32.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9742 and lroundf multiarch implementations.
9743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9750 multiarch lround for PowerPC32.
9751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9752 file: multiarch lroundf for PowerPC32.
9754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9755 copysign and copysignf multiarch implementations.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9761 file: multiarch copysign for PowerPC32.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9763 file: multiarch copysignf for PowerPC32.
9765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9766 and truncf multiarch implementations.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9772 multiarch trunc for PowerPC32.
9773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9778 multiarch truncf for PowerPC32.
9780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9781 and roundf multiarch implementations.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9787 multiarch round for PowerPC32.
9788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9793 multiarch roundf for PowerPC32.
9795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9796 and floorf multiarch implementations.
9797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9802 multiarch floor for PowerPC32.
9803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9808 multiarch floorf for PowerPC32.
9810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9811 and ceilf multiarch implementations.
9812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9817 multiarch ceil for PowerPC32.
9818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9823 multiarch ceilf for PowerPC32.
9825 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9827 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9830 and finitef multiarch implementations.
9831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9836 multiarch finite for PowerPC32.
9837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9840 file: multiarch finitef for PowerPC32.
9842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9843 and isinff multiarch implementations.
9844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9849 multiarch isinf for PowerPC32.
9850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9853 multiarch isinff for PowerPC32.
9855 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9856 alias when __isnan is defined.
9857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9858 and isnanf multiarch implementations.
9859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9868 multiarch isnan for PowerPC32.
9869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9874 multiarch isnanf for PowerPC32.
9876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9877 and sqrtf multiarch implementations.
9878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9883 multiarch sqrt for PowerPC32.
9884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9889 multiarch sqrtf for PowerPC32.
9891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9892 and llroundf multiarch implementations.
9893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9900 file: multiarch llround for PowerPC32.
9901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9902 file: multiarch llroundf for PowerPC32.
9904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9905 multiarch PowerPC32 fpu implementations.
9906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9911 multiarch llrint for PowerPC32.
9912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9921 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9923 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9925 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9927 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9928 multiarch wordcopy for PPC32.
9929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9932 (__libc_ifunc_impl_list): Likewise.
9933 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9934 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9935 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9936 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9937 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9938 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9940 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9948 multiarch wcscpy for PPC32.
9949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9952 (__libc_ifunc_impl_list): Likewise.
9953 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9954 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9955 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9956 sysdeps/powerpc/power6/wcscpy.c.
9958 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9966 multiarch wcsrchr for PPC32.
9967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9970 (__libc_ifunc_impl_list): Likewise.
9971 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9972 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9973 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9974 sysdeps/powerpc/power6/wcsrchr.c.
9976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9982 multiarch wcschr for PPc32.
9983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9986 (__libc_ifunc_impl_list): Likewise.
9987 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9988 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9989 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9990 sysdeps/powerpc/power6/wcschr.c.
9992 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9993 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9995 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9996 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9997 file: multiarch strchr for PPC32.
9998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10001 (__libc_ifunc_impl_list): Likewise.
10003 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10005 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10007 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10010 multiarch strchrnul for PPC32.
10011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10014 (__libc_ifunc_impl_list): Likewise.
10016 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10018 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10019 multiarch strncasecmp for PPC32.
10020 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10023 multiarch strncasecmp_l for PPC32.
10024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10025 strncasecmp multiarch objects.
10026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10027 (__libc_ifunc_impl_list): Likewise.
10029 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10031 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10032 multiarch strncasecmp for PPC32.
10033 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10035 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10036 multiarch strcasecmp_l for PPC32.
10037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10040 (__libc_ifunc_impl_list): Likewise.
10042 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10044 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10046 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10047 multiarch strncmp for PPC32.
10048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10051 (__libc_ifunc_impl_list): Likewise.
10053 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10054 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10056 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10057 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10061 (__libc_ifunc_impl_list): Likewise.
10063 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10065 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10067 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10071 (__libc_ifunc_impl_list): Likewise.
10073 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10075 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10077 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10078 multiarch rawmemchr for PPC32.
10079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10082 (__libc_ifunc_impl_list): Likewise.
10084 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10086 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10088 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10089 file: memrchr multiarch for PPC32.
10090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10093 (__libc_ifunc_impl_list): Likewise.
10095 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10096 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10099 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10100 multiarch memchr for PPC32.
10101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10104 (__libc_ifunc_impl_list): Likewise.
10106 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10107 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10109 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10111 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10112 file: multiarch mempcpy for PPC32.
10113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10116 (__libc_ifunc_impl_list): Likewise.
10118 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10120 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10121 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10122 multiarch bzero for PPC32.
10123 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10125 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10127 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10128 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10129 file: multiarch memset for PPC32.
10130 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10132 memset multiarch objects.
10133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10134 (__libc_ifunc_impl_list): Likewise.
10136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10141 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10145 (__libc_ifunc_impl_list): Likewise.
10147 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10156 multiarch memcpy for PPC32.
10157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10160 (__libc_ifunc_impl_list): Likewise.
10162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10163 support multiarch for POWER/PPC32.
10164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10166 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10168 Implies file to make multiarch folder appers before the fpu and
10169 default folder for power4 configuration.
10171 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10173 * scripts/bench.pl: Append volatile keyword to type.
10175 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10177 * sysdeps/sh/sotruss-lib.c: New file.
10178 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10180 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10184 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10187 * math/w_tgamma.c: Include <errno.h>.
10188 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10189 * math/w_tgammaf.c: Include <errno.h>.
10190 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10191 * math/w_tgammal.c: Include <errno.h>.
10192 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10193 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10194 underflow. Add more tgamma tests.
10195 * math/auto-libm-test-out: Regenerated.
10196 * sysdeps/i386/fpu/libm-test-ulps: Update.
10197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10199 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10200 sin, sinh, tan, tanh, tgamma, y0 and y1.
10201 * math/auto-libm-test-out: Regenerated.
10202 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10203 (TEST_COND_x86): Likewise.
10204 (M_E2l): Remove macro.
10206 (M_2_SQRT_PIl): Likewise.
10207 (M_SQRT_PIl): Likewise.
10208 (M_1_DIV_El): Likewise.
10209 (log_test_data): Use AUTO_TESTS_f_f.
10210 (log10_test_data): Likewise.
10211 (log1p_test_data): Likewise.
10212 (log2_test_data): Likewise.
10213 (sin_test_data): Likewise.
10214 (sin_tonearest_test_data): Likewise.
10215 (sin_towardzero_test_data): Likewise.
10216 (sin_downward_test_data): Likewise.
10217 (sin_upward_test_data): Likewise.
10218 (sinh_test_data): Likewise.
10219 (sinh_tonearest_test_data): Likewise.
10220 (sinh_towardzero_test_data): Likewise.
10221 (sinh_downward_test_data): Likewise.
10222 (sinh_upward_test_data): Likewise.
10223 (tan_test_data): Likewise.
10224 (tan_tonearest_test_data): Likewise.
10225 (tan_towardzero_test_data): Likewise.
10226 (tan_downward_test_data): Likewise.
10227 (tan_upward_test_data): Likewise.
10228 (tanh_test_data): Likewise.
10229 (tgamma_test_data): Likewise.
10230 (y0_test_data): Likewise.
10231 (y1_test_data): Likewise.
10232 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10233 (special_real_inputs): Add pi/4.
10234 * sysdeps/i386/fpu/libm-test-ulps: Update.
10235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10237 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10239 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10240 "longjmp_target" static probes.
10241 (__longjmp): Rename to __longjmp_symbol.
10242 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10243 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10244 on which longjmp to generate.
10245 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10246 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10248 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10249 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10250 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10251 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10252 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10253 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10255 __longjmp_symbol based on which __longjmp to generate.
10256 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10258 (setjmp): Rename to setjmp_symbol.
10259 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10260 (_setjmp): Rename to _setjmp_symbol.
10261 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10262 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10263 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10264 which setjmp to generate.
10265 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10266 "longjmp_target" static probes.
10268 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10270 * benchtests/README: Add note about output arguments.
10271 * benchtests/bench-sincos.c: Remove file.
10272 * benchtests/sincos-inputs: New file.
10273 * scripts/bench.pl: Identify output arguments and define
10274 static variables for them.
10276 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10279 * Makefile (INSTALL): Add install-plain.texi as the primary
10281 * manual/install-plain.texi: New file.
10282 * manual/install.texi: Include node directive only for
10283 non-plaintext output.
10285 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10287 * stdlib/longlong.h: Update from GCC.
10291 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10292 * math/w_j0f.c (y0f): Likewise.
10293 * math/w_j0l.c (__y0l): Likewise.
10294 * math/w_j1.c (y1): Likewise.
10295 * math/w_j1f.c (y1f): Likewise.
10296 * math/w_j1l.c (__y1l): Likewise
10297 * math/w_jn.c (yn): Likewise.
10298 * math/w_jnf.c (ynf): Likewise.
10299 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10300 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10301 value for Bessel function domain errors outside _SVID_ mode.
10302 Adjust sign of return value for yn (negative integer, 0).
10303 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10304 by zero in return for negative x and set sign appropriately for
10306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10308 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10309 expectations in error cases.
10310 (y1_test_data): Likewise.
10311 (yn_test_data): Likewise.
10312 * sysdeps/i386/fpu/libm-test-ulps: Update.
10313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10317 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10318 "64" to "64-v1". Add "64-v2".
10319 (abi-64-options): Rename to ...
10320 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10321 (abi-64-condition): Rename to ...
10322 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10323 (abi-64-ld-soname): Rename to ...
10324 (abi-64-v1-ld-soname): ... this.
10325 (abi-64-v2-options): Define.
10326 (abi-64-v2-condition): Likewise.
10327 (abi-64-v2-ld-soname): Likewise.
10328 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10329 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10334 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10335 Alan Modra <amodra@gmail.com>
10337 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10338 New versions for use with the ELFv2 ABI.
10339 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10340 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10342 (struct La_ppc64v2_retval): Likewise.
10343 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10344 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10345 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10346 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10347 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10349 Do not save or restore CR.
10350 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10351 (_dl_profile_resolve): Do no save or restore CR. Support extended
10352 return values for ELFv2 ABI. Fix location of FPR return registers.
10353 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10354 updated values for _CALL_ELF == 2.
10355 (La_regs, La_retval, int_retval): Likewise.
10357 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10359 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10360 (FRAME_MIN_SIZE_PARM): Likewise.
10361 (FRAME_BACKCHAIN): Likewise.
10362 (FRAME_CR_SAVE): Likewise.
10363 (FRAME_LR_SAVE): Likewise.
10364 (FRAME_TOC_SAVE): Likewise.
10365 (FRAME_PARM_SAVE): Likewise.
10366 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10367 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10368 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10369 (call_mcount_parm_offset): New macro.
10370 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10371 (PROF): Use symbolic stack frame offsets.
10372 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10374 Redefine in terms of FRAME_MIN_SIZE.
10375 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10376 (_dl_profile_resolve): Likewise. Update comment.
10377 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10378 symbols stack frame offsets.
10379 (__sigsetjmp): Likewise.
10380 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10381 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10382 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10383 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10386 (FRAME_BACKCHAIN): Remove.
10387 (FRAME_CR_SAVE): Likewise.
10388 (FRAME_LR_SAVE): Likewise.
10389 (FRAME_COMPILER_DW): Likewise.
10390 (FRAME_LINKER_DW): Likewise.
10391 (FRAME_TOC_SAVE): Likewise.
10392 (FRAME_PARM_SAVE): Likewise.
10393 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10394 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10395 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10397 (CHECK_SP): Use symbolic stack frame offsets.
10398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10399 zone" instead of caller's parameter save area for temp storage.
10400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10401 Likewise. Also, use symbolic stack frame offsets.
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10403 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10404 our own stack frame instead of the caller's.
10405 (__socket): Use symbolic stack frame offsets.
10407 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10408 Alan Modra <amodra@gmail.com>
10410 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10412 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10413 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10414 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10416 (elf_machine_fixup_plt): Call it.
10417 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10419 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10420 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10421 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10422 r2 before calling target.
10424 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10425 Alan Modra <amodra@gmail.com>
10427 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10428 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10429 versions of macros to support ELFv2 ABI.
10430 (LOCALENTRY): New macro.
10431 (ENTRY, EALIGN): Use it.
10432 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10433 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10434 fall through into ENTRY entry point.
10435 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10436 Only define if _CALL_ELF != 2.
10438 (elf_machine_matches_host): Verify ABI version matches.
10439 (RTLD_START): Use LOCALENTRY.
10440 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10441 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10442 (PLT_ENTRY_WORDS): New macro.
10443 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10444 (elf_machine_runtime_setup): Support ELFv2 ABI.
10445 (elf_machine_fixup_plt): Likewise.
10446 (elf_machine_plt_conflict): Likewise.
10447 (resolve_ifunc): Likewise.
10448 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10449 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10452 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10454 (makecontext): Support ELFv2 ABI.
10455 * elf/elf.h (EF_PPC64_ABI): Define.
10457 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10459 * sysdeps/powerpc/powerpc64/sysdep.h
10460 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10461 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10462 (ENTRY) [ASSEMBLER]: ... but instead here ...
10463 (EALIGN) [ASSEMBLER]: ... and here.
10464 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10465 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10466 (ENTRY_2) [!ASSEMBLER]: Use it.
10467 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10468 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10469 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10470 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10471 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10473 Use PPC64_LOAD_FUNCPTR.
10475 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10477 2013-12-04 Alan Modra <amodra@gmail.com>
10479 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10480 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10481 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10482 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10485 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10486 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10487 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10488 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10489 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10491 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10494 (__makecontext): Fix incorrect CFI when backtracing out of
10495 context created via makecontext.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10497 (__setcontext): Fix incorrect CFI during switch to new context.
10498 (__novec_setcontext): Likewise.
10500 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10503 * time/strptime_l.c (__strptime_internal): Allow modifiers
10505 * time/tst-strptime.c (day_tests): Add testcase.
10507 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10509 * scripts/bench.pl: Skip over blank lines.
10511 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10514 * manual/time.texi (Calendar Time): Clarify what timezone functions
10517 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10521 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10523 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10525 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10526 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10527 * debug/memset_chk.c (__memset_chk): Likewise.
10528 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10529 * debug/strncpy_chk.c: Likewise.
10531 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10535 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10536 (__ieee754_exp): For possibly underflowing results, check size of
10537 result and force underflow exception if required.
10538 * math/auto-libm-test-in: Add more tests of exp.
10539 * math/auto-libm-test-out: Regenerated.
10540 * sysdeps/i386/fpu/libm-test-ulps: Update.
10541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10544 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10545 * math/w_exp2f.c (__exp2f): Likewise.
10546 * math/w_exp2l.c (__exp2l): Likewise.
10547 * math/auto-libm-test-in: Do not allow missing errno on exp2
10549 * math/auto-libm-test-out: Regenerated.
10551 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10554 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10555 handle filename validation.
10556 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10559 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10563 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10564 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10566 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10567 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10568 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10569 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10570 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10572 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10573 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10574 Add more erfc tests.
10575 * math/auto-libm-test-out: Regenerated.
10576 * sysdeps/i386/fpu/libm-test-ulps: Update.
10577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10579 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10580 exp2, expm1, j0 and j1.
10581 * math/auto-libm-test-out: Regenerated.
10582 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10583 (erfc_test_data): Likewise.
10584 (exp_test_data): Likewise.
10585 (exp_tonearest_test_data): Likewise.
10586 (exp_towardzero_test_data): Likewise.
10587 (exp_downward_test_data): Likewise.
10588 (exp_upward_test_data): Likewise.
10589 (exp10_test_data): Likewise.
10590 (exp2_test_data): Likewise.
10591 (expm1_test_data): Likewise.
10592 (j0_test_data): Likewise.
10593 (j1_test_data): Likewise.
10594 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10595 (input_flag_type): Add flag_xfail_rounding.
10596 (input_flags): Add xfail-rounding.
10597 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10598 (output_for_one_input_case): Handle flag_xfail_rounding.
10599 * sysdeps/i386/fpu/libm-test-ulps: Update.
10600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10602 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10605 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10608 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10611 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10612 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10613 (STAP_PROBE0): New macro.
10614 (STAP_PROBE1): Likewise.
10615 (STAP_PROBE2): Likewise.
10616 (STAP_PROBE3): Likewise.
10617 (STAP_PROBE4): Likewise.
10619 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10621 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10623 2013-12-02 Steve Ellcey <sellcey@mips.com>
10625 * benchtests/Makefile (bench): Add sqrt.
10626 (LDLIBS-bench-sqrt): New.
10627 * benchtests/sqrt-input: New.
10629 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10631 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10632 (GAIH_EAI): Likewise.
10633 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10634 (gaih_inet): Likewise.
10635 (getaddrinfo): Don't use GAIH_EAI.
10637 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10638 (struct gaih): Remove definition.
10640 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10642 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10643 Use HERRNOP directly.
10645 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10649 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10651 * math/gen-auto-libm-tests.c (test_functions): Add more
10652 single-argument functions.
10653 (special_fill_pi_2): New function.
10654 (special_fill_minus_pi_2): Likewise.
10655 (special_fill_pi_6): Likewise.
10656 (special_fill_minus_pi_6): Likewise.
10657 (special_fill_pi_3): Likewise.
10658 (special_fill_2pi_3): Likewise.
10659 (special_fill_e): Likewise.
10660 (special_fill_1_e): Likewise.
10661 (special_fill_e_minus_1): Likewise.
10662 (special_real_inputs): Add more special inputs.
10663 (output_for_one_input_case): Do not require ERANGE on underflow to
10664 zero if round-to-nearest result does not underflow to zero, unless
10665 exact results required.
10666 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10667 atan, atanh, cbrt, cos and cosh.
10668 * math/auto-libm-test-out: Regenerated.
10669 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10670 (acos_tonearest_test_data): Likewise.
10671 (acos_towardzero_test_data): Likewise.
10672 (acos_downward_test_data): Likewise.
10673 (acos_upward_test_data): Likewise.
10674 (acosh_test_data): Likewise.
10675 (asin_test_data): Likewise.
10676 (asin_tonearest_test_data): Likewise.
10677 (asin_towardzero_test_data): Likewise.
10678 (asin_upward_test_data): Likewise.
10679 (asinh_test_data): Likewise.
10680 (atan_test_data): Likewise.
10681 (atanh_test_data): Likewise.
10682 (cbrt_test_data): Likewise.
10683 (cos_test_data): Likewise.
10684 (cos_tonearest_test_data): Likewise.
10685 (cos_towardzero_test_data): Likewise.
10686 (cos_downward_test_data): Likewise.
10687 (cos_upward_test_data): Likewise.
10688 (cosh_test_data): Likewise.
10689 (cosh_tonearest_test_data): Likewise.
10690 (cosh_towardzero_test_data): Likewise.
10691 (cosh_downward_test_data): Likewise.
10692 (cosh_upward_test_data): Likewise.
10693 * sysdeps/i386/fpu/libm-test-ulps: Update.
10694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10696 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10699 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10700 * math/w_exp10f.c (__exp10f): Likewise.
10701 * math/w_exp10l.c (__exp10l): Likewise.
10702 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10703 errno settings in existing tests.
10706 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10707 precision control set to double precision.
10708 * sysdeps/i386/fpu/w_sqrt.c: New file.
10709 * math/auto-libm-test-in: Add more tests.
10710 * math/auto-libm-test-out: Update.
10712 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10713 (sqrt_test_tonearest): New function.
10714 (sqrt_towardzero_test_data): New variable.
10715 (sqrt_test_towardzero): New function.
10716 (sqrt_downward_test_data): New variable.
10717 (sqrt_test_downward): New function.
10718 (sqrt_upward_test_data): New variable.
10719 (sqrt_test_upward): New function.
10720 (main): Call the new functions.
10722 * math/gen-auto-libm-tests.c: New file.
10723 * math/auto-libm-test-in: Likewise.
10724 * math/auto-libm-test-out: New generated file.
10725 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10727 (%beautify): Add generated representations of zero.
10728 (top level): Set $auto_input and call parse_auto_input.
10729 (beautify): Remove trailing "f" from hex float constants.
10730 (parse_args): Handle XFAIL_TEST.
10731 (convert_condition): New function.
10732 (or_value): Likewise.
10733 (or_cond_value): Likewise.
10734 (generate_testfile): Handle AUTO_TESTS_* lines.
10735 (parse_auto_input): New function.
10736 * math/libm-test.inc (XFAIL_TEST): New macro.
10737 (ERRNO_UNCHANGED): Update value.
10738 (ERRNO_EDOM): Likewise.
10739 (ERRNO_ERANGE): Likewise.
10740 (IGNORE_RESULT): Likewise.
10741 (TEST_COND_flt_32): New macro.
10742 (TEST_COND_dbl_64): Likewise.
10743 (TEST_COND_ldbl_96_intel): Likewise.
10744 (TEST_COND_ldbl_96_m68k): Likewise.
10745 (TEST_COND_ldbl_128): Likewise.
10746 (TEST_COND_ldbl_128ibm): Likewise.
10747 (TEST_COND_long32): Likewise.
10748 (TEST_COND_long64): Likewise.
10749 (TEST_COND_before_rounding): Likewise.
10750 (TEST_COND_after_rounding): Likewise.
10751 (enable_test): Handle XFAIL_TEST flag.
10752 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10753 with finite results.
10754 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10755 auto-libm-test-out.
10757 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10758 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10761 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10762 __tls_get_addr_internal instead of __tls_get_offset in order to
10763 avoid GOT pointer dependency. Make rtld export
10764 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10765 __tls_get_addr since we are a __tls_get_offset platform.
10766 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10767 GOT pointer being set up before.
10768 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10770 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10772 * manual/math.texi (Errors in Math Functions): Document accuracy
10776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10777 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10780 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10782 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10793 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10794 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10795 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10796 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10797 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10799 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10801 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10803 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10804 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10805 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10806 atomic-feupdateenv and flt-rounds.
10807 * sysdeps/powerpc/nofpu/Versions (libc): Add
10808 __atomic_feholdexcept, __atomic_feclearexcept,
10809 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10810 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10811 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10812 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10813 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10818 * manual/arith.texi (FP Exceptions): Document that exceptions may
10819 not be raised when matherr is used.
10820 (Math Error Reporting): Document overflow in directed rounding
10821 modes. Document that errno may not be set when finite values are
10822 returned on overflow. Document intent to set errno on underflow
10823 only for underflow to zero.
10826 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10827 round-to-nearest then adjust result for other rounding modes.
10828 * include/fenv.h (fegetround): Use libm_hidden_proto.
10829 * math/fegetround.c (fegetround): Use libm_hidden_def.
10830 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10831 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10832 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10833 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10835 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10836 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10837 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10838 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10840 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10843 * nss/Versions (libnss_files): Add
10844 _nss_files_gethostbyname3_r.
10845 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10847 (HOST_DB_LOOKUP): Remove macro.
10848 (_nss_files_gethostbyname_r): Implement function without the
10849 HOST_DB_LOOKUP macro.
10850 (_nss_files_gethostbyname2_r): Likewise.
10852 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
10854 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10856 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
10858 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10859 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10862 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10864 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10865 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10866 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10867 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10868 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10869 __fe_nomask_env_priv and attribute_hidden.
10870 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10871 (libc_feupdateenv_test_ppc): Likewise.
10872 (libc_feresetround_ppc): Likewise.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10874 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10875 compat_symbol macro.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10877 (__fe_nomask_env): Likewise.
10878 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10880 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10882 * string/Makefile: Remove ifunc tests.
10883 * string/test-string.h: Define TEST_IFUNC.
10884 * string/test-bcopy-ifunc.c: Remove.
10885 * string/test-bzero-ifunc.c: Likewise.
10886 * string/test-memccpy-ifunc.c: Likewise.
10887 * string/test-memchr-ifunc.c: Likewise.
10888 * string/test-memcmp-ifunc.c: Likewise.
10889 * string/test-memcpy-ifunc.c: Likewise.
10890 * string/test-memmem-ifunc.c: Likewise.
10891 * string/test-memmove-ifunc.c: Likewise.
10892 * string/test-mempcpy-ifunc.c: Likewise.
10893 * string/test-memrchr-ifunc.c: Likewise.
10894 * string/test-memset-ifunc.c: Likewise.
10895 * string/test-rawmemchr-ifunc.c: Likewise.
10896 * string/test-stpcpy-ifunc.c: Likewise.
10897 * string/test-stpncpy-ifunc.c: Likewise.
10898 * string/test-strcasecmp-ifunc.c: Likewise.
10899 * string/test-strcasestr-ifunc.c: Likewise.
10900 * string/test-strcat-ifunc.c: Likewise.
10901 * string/test-strchr-ifunc.c: Likewise.
10902 * string/test-strchrnul-ifunc.c: Likewise.
10903 * string/test-strcmp-ifunc.c: Likewise.
10904 * string/test-strcpy-ifunc.c: Likewise.
10905 * string/test-strcspn-ifunc.c: Likewise.
10906 * string/test-strlen-ifunc.c: Likewise.
10907 * string/test-strncasecmp-ifunc.c: Likewise.
10908 * string/test-strncat-ifunc.c: Likewise.
10909 * string/test-strncmp-ifunc.c: Likewise.
10910 * string/test-strncpy-ifunc.c: Likewise.
10911 * string/test-strnlen-ifunc.c: Likewise.
10912 * string/test-strpbrk-ifunc.c: Likewise.
10913 * string/test-strrchr-ifunc.c: Likewise.
10914 * string/test-strspn-ifunc.c: Likewise.
10915 * string/test-strstr-ifunc.c: Likewise.
10917 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10919 * benchtests/Makefile: Remove ifunc tests.
10920 * benchtests/bench-string.h: Define TEST_IFUNC.
10921 * benchtests/bench-bcopy-ifunc.c: Remove.
10922 * benchtests/bench-bzero-ifunc.c: Likewise.
10923 * benchtests/bench-memccpy-ifunc.c: Likewise.
10924 * benchtests/bench-memchr-ifunc.c: Likewise.
10925 * benchtests/bench-memcmp-ifunc.c: Likewise.
10926 * benchtests/bench-memcpy-ifunc.c: Likewise.
10927 * benchtests/bench-memmem-ifunc.c: Likewise.
10928 * benchtests/bench-memmove-ifunc.c: Likewise.
10929 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10930 * benchtests/bench-memrchr-ifunc.c: Likewise.
10931 * benchtests/bench-memset-ifunc.c: Likewise.
10932 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10933 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10934 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10935 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10936 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10937 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10938 * benchtests/bench-strcat-ifunc.c: Likewise.
10939 * benchtests/bench-strchr-ifunc.c: Likewise.
10940 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10941 * benchtests/bench-strcmp-ifunc.c: Likewise.
10942 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10943 * benchtests/bench-strcpy-ifunc.c: Likewise.
10944 * benchtests/bench-strcspn-ifunc.c: Likewise.
10945 * benchtests/bench-strlen-ifunc.c: Likewise.
10946 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10947 * benchtests/bench-strncat-ifunc.c: Likewise.
10948 * benchtests/bench-strncmp-ifunc.c: Likewise.
10949 * benchtests/bench-strncpy-ifunc.c: Likewise.
10950 * benchtests/bench-strnlen-ifunc.c: Likewise.
10951 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10952 * benchtests/bench-strrchr-ifunc.c: Likewise.
10953 * benchtests/bench-strsep-ifunc.c: Likewise.
10954 * benchtests/bench-strspn-ifunc.c: Likewise.
10955 * benchtests/bench-strstr-ifunc.c: Likewise.
10957 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10959 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10961 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10963 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10964 * rt/aio.h: Likewise.
10965 * sysdeps/gnu/bits/utmp.h: Likewise.
10966 * sysdeps/gnu/bits/utmpx.h: Likewise.
10967 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10968 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10969 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10970 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10971 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10972 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10973 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10974 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10975 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10976 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10977 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10978 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10979 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10981 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10982 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10983 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10984 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10985 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10986 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10987 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10988 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10989 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10990 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10991 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10993 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10994 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10995 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10996 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10997 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10998 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10999 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11001 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11002 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11003 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11004 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11005 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11006 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11007 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11008 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11010 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11013 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11014 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11016 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11018 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11019 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11022 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11025 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11026 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11027 (__fesetround): Remove define.
11028 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11029 rounding and exceptions handling.
11030 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11031 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11032 (__fe_nomask_env): Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11034 __fegetround instead of fegetround.
11035 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11038 2013-11-21 Roland McGrath <roland@hack.frob.com>
11040 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11043 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11045 2013-11-21 Meador Inge <meadori@codesourcery.com>
11048 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11049 (encrypt_r): Likewise.
11050 * malloc/obstack.h (obstack_free): Likewise.
11051 * posix/unistd.h (encrypt): Likewise.
11053 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11055 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11056 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11057 DL_CALL_DT_FINI() that call the functions directly.
11058 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11059 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11060 * elf/dl-fini.c: Likewise.
11062 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11064 * malloc/hooks.c (memalign_check): Add alignment rounding.
11065 * malloc/malloc.c (_mid_memalign): New function.
11066 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11067 Implement by calling _mid_memalign.
11068 * manual/probes.texi (Memory Allocation Probes): Remove
11069 memory_valloc_retry and memory_pvalloc_retry.
11071 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11073 * locale/programs/locarchive.c (open_archive): Add const
11074 qualifier to ARCHIVEFNAME and copy default fname to
11078 * libio/tst-widetext.input: Rename Oriya to Odia.
11079 * locale/iso-639.def: Likewise.
11081 * manual/probes.texi (Mathematical Function Probes): Add
11082 documentation for sin, cos, asin and acos probes.
11083 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11084 (__sin32): Add slowasin probe.
11085 (__cos32): Add slowacos probe.
11086 (__mpsin): Add slowsin probe.
11087 (__mpcos): Add slowcos probe.
11089 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11092 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11093 thread-local __sim_exceptions_thread and global
11094 __sim_exceptions_global.
11095 (__sim_disabled_exceptions): Change to thread-local
11096 __sim_disabled_exceptions_thread and global
11097 __sim_disabled_exceptions_global.
11098 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11099 and global __sim_round_mode_global.
11100 (__simulate_exceptions): Use thread-local floating-point state and
11101 set global state from it as needed.
11102 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11103 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11104 __sim_round_mode_thread.
11105 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11106 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11107 and global __sim_exceptions_global.
11108 (__sim_disabled_exceptions): Change to thread-local
11109 __sim_disabled_exceptions_thread and global
11110 __sim_disabled_exceptions_global.
11111 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11112 and global __sim_round_mode_global.
11113 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11114 (SIM_SET_GLOBAL): Likewise.
11115 * sysdeps/powerpc/soft-fp/sfp-machine.h
11116 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11117 __sim_round_mode_thread.
11118 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11119 __sim_disabled_exceptions_thread.
11120 (__sim_exceptions): Change to __sim_exceptions_thread.
11121 (__sim_disabled_exceptions): Change to
11122 __sim_disabled_exceptions_thread.
11123 (__sim_round_mode): Change to __sim_round_mode_thread.
11124 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11125 thread-local floating-point state and set global state from it as
11127 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11128 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11129 (__sim_disabled_exceptions): Remove extern declaration.
11130 (feenableexcept): Use thread-local floating-point state and set
11131 global state from it as needed.
11132 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11133 extern declaration.
11134 (__sim_disabled_exceptions): Likewise.
11135 (__sim_round_mode): Likewise.
11136 (__fegetenv): Use thread-local floating-point state.
11137 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11138 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11139 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11140 floating-point state and set global state from it as needed.
11141 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11142 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11143 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11145 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11146 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11148 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11149 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11150 Use __sim_round_mode_thread.
11151 * math/test-fenv-tls.c: New file.
11152 * math/Makefile (tests): Add test-fenv-tls.
11153 ($(objpfx)test-fenv-tls): Depend on
11154 $(common-objpfx)nptl/libpthread.so.
11156 2013-11-19 Andreas Schwab <schwab@suse.de>
11158 * locale/programs/locale.c (show_info): Decode wordarray elements.
11159 * locale/categories.def (LC_MONETARY): Add element for
11160 _NL_MONETARY_CRNCYSTR.
11161 * locale/C-monetary.c (conversion_rate): New variable.
11162 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11165 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11167 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11168 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11170 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11172 * elf/Makefile (tst-auxv): New test.
11173 * elf/tst-auxv.c: New
11174 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11176 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11178 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11179 (hidden_proto): Caller changed.
11180 (hidden_tls_proto): New macro.
11181 (libc_hidden_tls_proto): Likewise.
11182 (rtld_hidden_tls_proto): Likewise.
11183 (libm_hidden_tls_proto): Likewise.
11184 (libresolv_hidden_tls_proto): Likewise.
11185 (librt_hidden_tls_proto): Likewise.
11186 (libdl_hidden_tls_proto): Likewise.
11187 (libnss_files_hidden_tls_proto): Likewise.
11188 (libnsl_hidden_tls_proto): Likewise.
11189 (libnss_nisplus_hidden_tls_proto): Likewise.
11190 (libutil_hidden_tls_proto): Likewise.
11192 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11195 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11196 (decompose_rpath): Defer expansion to fillin_rpath.
11197 (_dl_init_paths): Pass linkmap to fillin_rpath.
11199 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11201 * benchtests/Makefile: Add strsep.
11202 * benchtests/bench-strsep.c: New file: strsep benchtest.
11203 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11205 2013-11-18 Andreas Schwab <schwab@suse.de>
11207 * locale/programs/locale.c (show_info) [case byte]: Check for
11208 '\377' instead of '\177'.
11209 * locale/C-monetary.c (not_available): Always use "\377".
11210 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11211 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11212 detect unavailable sign_posn locale elements.
11213 * locale/localeconv.c (__localeconv): For grouping and
11214 mon_grouping handle "\177" and "\377" like no grouping.
11215 (INT_ELEM): New macro. Use it to set all numeric members.
11216 * locale/programs/ld-monetary.c (monetary_read)
11217 <tok_mon_grouping>: Normalize single -1 to the empty string.
11218 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11221 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11224 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11225 when we match (nil).
11226 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11228 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11230 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11231 (NO_TEST_INLINE): Update value.
11232 (ERRNO_UNCHANGED): Likewise.
11233 (ERRNO_EDOM): Likewise.
11234 (ERRNO_ERANGE): Likewise.
11235 (IGNORE_RESULT): Likewise.
11236 (check_float_internal): Check signs of NaN results if
11237 TEST_NAN_SIGN used.
11238 (check_complex): Pass TEST_NAN_SIGN flag through to second
11239 check_float_internal call.
11240 (copysign_test_data): Add tests with quiet NaNs as second
11241 argument. Use TEST_NAN_SIGN.
11242 (fabs_test_data): Add test of negative quiet NaN argument. Use
11244 (signbit_test_data): Add tests of quiet NaN argument.
11245 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11247 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11249 (parse_args): Handle function results specified as IGNORE.
11250 * math/libm-test.inc (IGNORE_RESULT): New macro.
11251 (check_float_internal): Do not check numerical result if flag
11253 (check_complex): Pass through IGNORE_RESULT to second
11254 check_float_internal call.
11255 (check_int): Do not check numerical result if flag IGNORE_RESULT
11257 (check_long): Likewise.
11258 (check_bool): Likewise.
11259 (check_longlong): Likewise.
11260 (lrint_test_data): Add tests of infinite and NaN arguments.
11261 (lrint_tonearest_test_data): Likewise.
11262 (lrint_towardzero_test_data): Likewise.
11263 (lrint_downward_test_data): Likewise.
11264 (lrint_upward_test_data): Likewise.
11265 (llrint_test_data): Likewise.
11266 (llrint_tonearest_test_data): Likewise.
11267 (llrint_towardzero_test_data): Likewise.
11268 (llrint_downward_test_data): Likewise.
11269 (llrint_upward_test_data): Likewise.
11270 (lround_test_data): Likewise.
11271 (llround_test_data): Likewise.
11273 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11274 (ERRNO_UNCHANGED): Update value.
11275 (ERRNO_EDOM): Likewise.
11276 (ERRNO_ERANGE): Likewise.
11277 (NO_TEST_INLINE_FLOAT): New macro.
11278 (NO_TEST_INLINE_DOUBLE): Likewise.
11279 (enable_test): New function.
11280 (RUN_TEST_f_f): Check enable_test before running test.
11281 (RUN_TEST_2_f): Likewise.
11282 (RUN_TEST_fff_f): Likewise.
11283 (RUN_TEST_c_f): Likewise.
11284 (RUN_TEST_f_f1): Likewise.
11285 (RUN_TEST_fF_f1): Likewise.
11286 (RUN_TEST_fI_f1): Likewise.
11287 (RUN_TEST_ffI_f1): Likewise.
11288 (RUN_TEST_c_c): Likewise.
11289 (RUN_TEST_cc_c): Likewise.
11290 (RUN_TEST_f_i): Likewise.
11291 (RUN_TEST_f_i_tg): Likewise.
11292 (RUN_TEST_ff_i_tg): Likewise.
11293 (RUN_TEST_f_b): Likewise.
11294 (RUN_TEST_f_b_tg): Likewise.
11295 (RUN_TEST_f_l): Likewise.
11296 (RUN_TEST_f_L): Likewise.
11297 (RUN_TEST_fFF_11): Likewise.
11298 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11300 (cosh_test_data): Likewise.
11301 (exp_test_data): Likewise.
11302 (expm1_test_data): Likewise.
11303 (hypot_test_data): Likewise.
11304 (pow_test_data): Likewise.
11305 (sinh_test_data): Likewise.
11306 (tanh_test_data): Likewise.
11307 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11310 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11311 tests with quiet NaN input and output.
11312 (acosh_test_data): Likewise.
11313 (asin_test_data): Likewise.
11314 (asinh_test_data): Likewise.
11315 (atan_test_data): Likewise.
11316 (atanh_test_data): Likewise.
11317 (atan2_test_data): Likewise.
11318 (cbrt_test_data): Likewise.
11319 (cos_test_data): Likewise.
11320 (cosh_test_data): Likewise.
11321 (erf_test_data): Likewise.
11322 (erfc_test_data): Likewise.
11323 (exp_test_data): Likewise.
11324 (exp10_test_data): Likewise.
11325 (exp2_test_data): Likewise.
11326 (expm1_test_data): Likewise.
11327 (hypot_test_data): Likewise.
11328 (j0_test_data): Likewise.
11329 (j1_test_data): Likewise.
11330 (jn_test_data): Likewise.
11331 (lgamma_test_data): Likewise.
11332 (log_test_data): Likewise.
11333 (log10_test_data): Likewise.
11334 (log1p_test_data): Likewise.
11335 (log2_test_data): Likewise.
11336 (pow_test_data): Likewise.
11337 (scalb_test_data): Likewise.
11338 (sin_test_data): Likewise.
11339 (sincos_test_data): Likewise.
11340 (sinh_test_data): Likewise.
11341 (tan_test_data): Likewise.
11342 (tanh_test_data): Likewise.
11343 (tgamma_test_data): Likewise.
11344 (y0_test_data): Likewise.
11345 (y1_test_data): Likewise.
11346 (yn_test_data): Likewise.
11349 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11350 argument being NaN and avoid computations with second argument in
11352 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11353 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11354 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11356 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11358 * locale/iso-639.def: Add Chitwani Tharu (the).
11360 2013-11-14 Andreas Schwab <schwab@suse.de>
11362 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11363 word instead of empty string.
11365 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11368 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11370 (__fe_nomask_env): Likewise.
11372 2013-11-13 Steve Ellcey <sellcey@mips.com>
11374 * benchtests/bench-timing.h: Include time.h.
11376 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11379 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11381 * sysdeps/unix/sysv/linux/configure: Regenerated.
11383 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11386 * stdlib/strtod_l.c (round_and_return): Do not consider
11387 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11388 exponent one less than half the least subnormal exponent.
11389 * stdlib/test-strtod-round-data: Add more tests.
11390 * stdlib/tst-strtod-round.c (tests): Regenerated.
11392 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11395 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11396 (__fe_mask_env): Likewise.
11397 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11398 libm_hidden_proto and add function prototype.
11399 (__fe_mask_env): Add function prototype.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11401 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11403 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11405 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11407 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11409 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11410 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11412 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11414 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11415 of htab_find_slot().
11417 2013-11-11 David S. Miller <davem@davemloft.net>
11420 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11421 symbol in the non-vis3 case in static builds.
11422 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11423 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11424 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11425 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11427 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11430 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11433 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11435 * benchtests/Makefile: Add bench-strtod.
11436 * benchtests/bench-strtod.c: New file: strtod benchtest
11438 2013-11-11 Andreas Schwab <schwab@suse.de>
11441 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11442 terminating NUL in key length.
11444 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11447 Add artificial ODP entry for vDSO symbol for PPC64.
11448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11449 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11451 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11454 * nss/getent.c (services_keys): Recognize services starting with digit.
11456 2013-11-06 David S. Miller <davem@davemloft.net>
11459 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11460 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11462 2013-11-06 Will Newton <will.newton@linaro.org>
11464 * manual/memory.texi (Malloc Examples): Remove register
11465 keyword from examples.
11467 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11469 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11471 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11474 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11475 depending on [__GCC_IEC_559 > 0].
11476 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11477 depending on [__GCC_IEC_559_COMPLEX > 0].
11479 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11481 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11484 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11486 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11488 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11491 * malloc/malloc (malloc_info): Do not handle first bin as
11494 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11496 * locale/iso-639.def: Add Central Nahuatl (nhn).
11498 2013-11-01 Bruno Haible <bruno@clisp.org>
11501 * manual/math.texi (BSD Random): Specify range upper bound as
11504 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11506 * locale/iso-639.def: Add Meadow Mari (mhr).
11508 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11510 [BZ #14752], [BZ #15763]
11511 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11513 * rt/tst_shm.c: Add test for escaping directory.
11515 2013-10-31 Andreas Schwab <schwab@suse.de>
11518 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11519 followed by 'x' as part of digit sequence.
11520 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11522 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11525 * configure.ac: allow GNU Make 4.0 and greater.
11526 * configure: Regenerated.
11528 2013-10-30 Will Newton <will.newton@linaro.org>
11531 * malloc/hooks.c (memalign_check): Limit alignment to the
11532 maximum representable power of two.
11533 * malloc/malloc.c (__libc_memalign): Likewise.
11534 * malloc/tst-memalign.c (do_test): Add test for very
11535 large alignment values.
11536 * malloc/tst-posix_memalign.c (do_test): Likewise.
11538 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11541 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11542 (munmap_chunk): Likewise.
11543 (mremap_chunk): Likewise.
11545 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11548 * stdlib/div.c (div): Remove obsolete code.
11549 * stdlib/ldiv.c (ldiv): Likewise.
11550 * stdlib/lldiv.c (lldiv): Likewise.
11552 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11555 * nss/nss_files/files-XXX.c (get_contents_ret): New
11557 (get_contents): New function.
11558 (internal_getent): Use it. Expand size of LINEBUFLEN.
11560 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11562 * configure.in: Moved to ...
11563 * configure.ac: ... here. Change reference to configure.in
11565 * sysdeps/arm/preconfigure.ac: ... here.
11566 configure.in to configure.ac.
11567 * sysdeps/gnu/configure.in: Moved to ...
11568 * sysdeps/gnu/configure.ac: ... here.
11569 * sysdeps/i386/configure.in: Moved to ...
11570 * sysdeps/i386/configure.ac: ... here.
11571 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11572 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11573 * sysdeps/mach/configure.in: Moved to ...
11574 * sysdeps/mach/configure.ac: ... here.
11575 * sysdeps/mach/hurd/configure.in: Moved to ...
11576 * sysdeps/mach/hurd/configure.ac: ... here.
11577 * sysdeps/powerpc/configure.in: Moved to ...
11578 * sysdeps/powerpc/configure.ac: ... here.
11579 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11580 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11581 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11582 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11583 * sysdeps/s390/s390-32/configure.in: Moved to ...
11584 * sysdeps/s390/s390-32/configure.ac: ... here.
11585 * sysdeps/s390/s390-64/configure.in: Moved to ...
11586 * sysdeps/s390/s390-64/configure.ac: ... here.
11587 * sysdeps/sh/configure.in: Moved to ...
11588 * sysdeps/sh/configure.ac: ... here.
11589 * sysdeps/sparc/configure.in: Moved to ...
11590 * sysdeps/sparc/configure.ac: ... here.
11591 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11592 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11593 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11594 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11595 * sysdeps/x86_64/configure.in: Moved to ...
11596 * sysdeps/x86_64/configure.ac: ... here.
11597 * sysdeps/x86_64/preconfigure.in: Moved to ...
11598 * sysdeps/x86_64/preconfigure.ac: ... here.
11599 * aclocal.m4: Change reference to configure.in to configure.ac.
11600 * config.h.in: Likewise.
11601 * manual/install.texi: Likewise.
11602 * manual/maint.texi: Likewise.
11603 * Makefile: Likewise.
11604 * malloc/Makefile: Likewise.
11605 * nscd/Makefile: Likewise.
11606 * Makeconfig: Change reference to configure.in and
11607 preconfigure.in to configure.ac and preconfigure.ac
11609 * INSTALL: Regenerated.
11610 * configure: Likewise.
11611 * sysdeps/gnu/configure: Likewise.
11612 * sysdeps/i386/configure: Likewise.
11613 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11614 * sysdeps/mach/configure: Likewise.
11615 * sysdeps/mach/hurd/configure: Likewise.
11616 * sysdeps/powerpc/configure: Likewise.
11617 * sysdeps/powerpc/powerpc32/configure: Likewise.
11618 * sysdeps/powerpc/powerpc64/configure: Likewise.
11619 * sysdeps/s390/s390-32/configure: Likewise.
11620 * sysdeps/s390/s390-64/configure: Likewise.
11621 * sysdeps/sh/configure: Likewise.
11622 * sysdeps/sparc/configure: Likewise.
11623 * sysdeps/unix/sysv/linux/configure: Likewise.
11624 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11625 * sysdeps/x86_64/configure: Likewise.
11626 * sysdeps/x86_64/preconfigure: Likewise.
11628 2013-10-29 Andreas Schwab <schwab@suse.de>
11630 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11632 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11634 * benchtests/pow-inputs: Add new inputs.
11636 * benchtests/exp-inputs: Add new inputs.
11638 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11639 conditional check for return value.
11640 (__cos32): Likewise.
11642 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11645 to provide a boost for large inputs with word alignment.
11646 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11647 implementation based on optimized PPC64 strcpy.
11648 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11649 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11650 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11651 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11653 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11656 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11658 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11661 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11662 * time/tst-strptime.c (day_tests): Add testcase.
11664 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11667 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11669 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11672 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11673 MAP_FAILED on error.
11675 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11678 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11679 heap for large requests.
11681 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11684 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11685 result if the result has no associated interface.
11686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11687 interface for all 127.X.Y.Z addresses.
11689 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11691 * locale/iso-639.def: Add Ligurian (lij)
11693 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11696 * sunrpc/rpc_main.c: Document rpcgen -5.
11698 2013-10-19 Michael Stahl <mstahl@redhat.com>
11700 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11702 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11705 * posix/glob.c: Match only directories when trailing slash is present.
11706 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11707 (main): Add testcase.
11709 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11712 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11714 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11716 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11717 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11718 AUTH_DES and cindex for FIPS 140-2.
11719 (DES Encryption): Add cindex FIPS 46-3.
11721 * locale/locarchive.h (struct locarhandle): Add fname.
11722 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11723 if an optional argument was specified to --list-archive,
11725 * locale/programs/locarchive.c (show_archive_content): Take new
11726 argument fname and pass it via ah.fname to open_archive.
11727 * locale/programs/localedef.h: Update decl.
11728 (open_archive): If AH->fname is non-null, open that file
11729 rather than the default file name, and don't ignore ENOENT.
11730 (create_archive): Set AH.fname to NULL.
11731 (delete_locales_from_archive): Likewise.
11732 (add_locales_to_archive): Likewise.
11733 * locale/programs/locfile.c (write_all_categories): Likewise.
11735 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11736 Aldy Hernandez <aldyh@redhat.com>
11738 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11739 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11740 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11741 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11742 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11743 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11745 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11746 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11747 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11749 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11750 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11751 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11752 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11754 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11756 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11758 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11760 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11761 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11763 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11764 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11765 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11766 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11768 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11769 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11770 * sysdeps/powerpc/preconfigure: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11773 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11774 Replace contents of file by #include of <fenv_libc.h>.
11775 * sysdeps/powerpc/soft-fp/sfp-machine.h
11776 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11778 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11779 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11781 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11783 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11785 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11791 Allow copysignl PLT reference to be missing.
11793 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11794 Joseph Myers <joseph@codesourcery.com
11797 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11799 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11801 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11803 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11804 * elf/tst-tls1.c: Likewise.
11805 * elf/tst-tls10.h: Likewise.
11806 * elf/tst-tls14.c: Likewise.
11807 * elf/tst-tls2.c: Likewise.
11808 * elf/tst-tls3.c: Likewise.
11809 * elf/tst-tls4.c: Likewise.
11810 * elf/tst-tls5.c: Likewise.
11811 * elf/tst-tls6.c: Likewise.
11812 * elf/tst-tls7.c: Likewise.
11813 * elf/tst-tls8.c: Likewise.
11814 * elf/tst-tls9.c: Likewise.
11815 * elf/tst-tlsmod1.c: Likewise.
11816 * elf/tst-tlsmod13.c: Likewise.
11817 * elf/tst-tlsmod13a.c: Likewise.
11818 * elf/tst-tlsmod14a.c: Likewise.
11819 * elf/tst-tlsmod16a.c: Likewise.
11820 * elf/tst-tlsmod16b.c: Likewise.
11821 * elf/tst-tlsmod2.c: Likewise.
11822 * elf/tst-tlsmod3.c: Likewise.
11823 * elf/tst-tlsmod4.c: Likewise.
11824 * elf/tst-tlsmod5.c: Likewise.
11825 * elf/tst-tlsmod6.c: Likewise.
11827 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
11830 * malloc/malloc.c: remove checks for statistics.
11832 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11835 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11836 * inet/tst-network.c: Add testcase.
11838 2013-10-17 Andreas Schwab <schwab@suse.de>
11841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11842 to determine canonical name.
11844 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11846 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11847 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11870 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11871 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11874 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11875 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11876 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11878 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11887 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11892 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11893 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11894 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11895 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11896 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11905 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11908 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11909 make result into a quiet NaN.
11911 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11913 * soft-fp/adddf3.c: Fix horizontal whitespace.
11914 * soft-fp/addsf3.c: Likewise.
11915 * soft-fp/addtf3.c: Likewise.
11916 * soft-fp/divdf3.c: Likewise.
11917 * soft-fp/divsf3.c: Likewise.
11918 * soft-fp/divtf3.c: Likewise.
11919 * soft-fp/double.h: Likewise.
11920 * soft-fp/eqdf2.c: Likewise.
11921 * soft-fp/eqsf2.c: Likewise.
11922 * soft-fp/eqtf2.c: Likewise.
11923 * soft-fp/extenddftf2.c: Likewise.
11924 * soft-fp/extended.h: Likewise.
11925 * soft-fp/extendsfdf2.c: Likewise.
11926 * soft-fp/extendsftf2.c: Likewise.
11927 * soft-fp/extendxftf2.c: Likewise.
11928 * soft-fp/fixdfdi.c: Likewise.
11929 * soft-fp/fixdfsi.c: Likewise.
11930 * soft-fp/fixdfti.c: Likewise.
11931 * soft-fp/fixsfdi.c: Likewise.
11932 * soft-fp/fixsfsi.c: Likewise.
11933 * soft-fp/fixsfti.c: Likewise.
11934 * soft-fp/fixtfdi.c: Likewise.
11935 * soft-fp/fixtfsi.c: Likewise.
11936 * soft-fp/fixtfti.c: Likewise.
11937 * soft-fp/fixunsdfdi.c: Likewise.
11938 * soft-fp/fixunsdfsi.c: Likewise.
11939 * soft-fp/fixunsdfti.c: Likewise.
11940 * soft-fp/fixunssfdi.c: Likewise.
11941 * soft-fp/fixunssfsi.c: Likewise.
11942 * soft-fp/fixunssfti.c: Likewise.
11943 * soft-fp/fixunstfdi.c: Likewise.
11944 * soft-fp/fixunstfsi.c: Likewise.
11945 * soft-fp/fixunstfti.c: Likewise.
11946 * soft-fp/floatdidf.c: Likewise.
11947 * soft-fp/floatdisf.c: Likewise.
11948 * soft-fp/floatditf.c: Likewise.
11949 * soft-fp/floatsidf.c: Likewise.
11950 * soft-fp/floatsisf.c: Likewise.
11951 * soft-fp/floatsitf.c: Likewise.
11952 * soft-fp/floattidf.c: Likewise.
11953 * soft-fp/floattisf.c: Likewise.
11954 * soft-fp/floattitf.c: Likewise.
11955 * soft-fp/floatundidf.c: Likewise.
11956 * soft-fp/floatundisf.c: Likewise.
11957 * soft-fp/floatunditf.c: Likewise.
11958 * soft-fp/floatunsidf.c: Likewise.
11959 * soft-fp/floatunsisf.c: Likewise.
11960 * soft-fp/floatunsitf.c: Likewise.
11961 * soft-fp/floatuntidf.c: Likewise.
11962 * soft-fp/floatuntisf.c: Likewise.
11963 * soft-fp/floatuntitf.c: Likewise.
11964 * soft-fp/fmadf4.c: Likewise.
11965 * soft-fp/fmasf4.c: Likewise.
11966 * soft-fp/fmatf4.c: Likewise.
11967 * soft-fp/gedf2.c: Likewise.
11968 * soft-fp/gesf2.c: Likewise.
11969 * soft-fp/getf2.c: Likewise.
11970 * soft-fp/ledf2.c: Likewise.
11971 * soft-fp/lesf2.c: Likewise.
11972 * soft-fp/letf2.c: Likewise.
11973 * soft-fp/muldf3.c: Likewise.
11974 * soft-fp/mulsf3.c: Likewise.
11975 * soft-fp/multf3.c: Likewise.
11976 * soft-fp/negdf2.c: Likewise.
11977 * soft-fp/negsf2.c: Likewise.
11978 * soft-fp/negtf2.c: Likewise.
11979 * soft-fp/op-1.h: Likewise.
11980 * soft-fp/op-2.h: Likewise.
11981 * soft-fp/op-4.h: Likewise.
11982 * soft-fp/op-8.h: Likewise.
11983 * soft-fp/op-common.h: Likewise.
11984 * soft-fp/quad.h: Likewise.
11985 * soft-fp/single.h: Likewise.
11986 * soft-fp/soft-fp.h: Likewise.
11987 * soft-fp/sqrtdf2.c: Likewise.
11988 * soft-fp/sqrtsf2.c: Likewise.
11989 * soft-fp/sqrttf2.c: Likewise.
11990 * soft-fp/subdf3.c: Likewise.
11991 * soft-fp/subsf3.c: Likewise.
11992 * soft-fp/subtf3.c: Likewise.
11993 * soft-fp/truncdfsf2.c: Likewise.
11994 * soft-fp/trunctfdf2.c: Likewise.
11995 * soft-fp/trunctfsf2.c: Likewise.
11996 * soft-fp/trunctfxf2.c: Likewise.
11997 * soft-fp/unorddf2.c: Likewise.
11998 * soft-fp/unordsf2.c: Likewise.
11999 * soft-fp/unordtf2.c: Likewise.
12001 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12003 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12004 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12006 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12008 * elf/dl-libc.c: Clear initfini list after freeing.
12010 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12012 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12013 * soft-fp/addsf3.c: Likewise.
12014 * soft-fp/addtf3.c: Likewise.
12015 * soft-fp/divdf3.c: Likewise.
12016 * soft-fp/divsf3.c: Likewise.
12017 * soft-fp/divtf3.c: Likewise.
12018 * soft-fp/double.h: Likewise.
12019 * soft-fp/eqdf2.c: Likewise.
12020 * soft-fp/eqsf2.c: Likewise.
12021 * soft-fp/eqtf2.c: Likewise.
12022 * soft-fp/extenddftf2.c: Likewise.
12023 * soft-fp/extended.h: Likewise.
12024 * soft-fp/extendsfdf2.c: Likewise.
12025 * soft-fp/extendsftf2.c: Likewise.
12026 * soft-fp/extendxftf2.c: Likewise.
12027 * soft-fp/fixdfdi.c: Likewise.
12028 * soft-fp/fixdfsi.c: Likewise.
12029 * soft-fp/fixdfti.c: Likewise.
12030 * soft-fp/fixsfdi.c: Likewise.
12031 * soft-fp/fixsfsi.c: Likewise.
12032 * soft-fp/fixsfti.c: Likewise.
12033 * soft-fp/fixtfdi.c: Likewise.
12034 * soft-fp/fixtfsi.c: Likewise.
12035 * soft-fp/fixtfti.c: Likewise.
12036 * soft-fp/fixunsdfdi.c: Likewise.
12037 * soft-fp/fixunsdfsi.c: Likewise.
12038 * soft-fp/fixunsdfti.c: Likewise.
12039 * soft-fp/fixunssfdi.c: Likewise.
12040 * soft-fp/fixunssfsi.c: Likewise.
12041 * soft-fp/fixunssfti.c: Likewise.
12042 * soft-fp/fixunstfdi.c: Likewise.
12043 * soft-fp/fixunstfsi.c: Likewise.
12044 * soft-fp/fixunstfti.c: Likewise.
12045 * soft-fp/floatdidf.c: Likewise.
12046 * soft-fp/floatdisf.c: Likewise.
12047 * soft-fp/floatditf.c: Likewise.
12048 * soft-fp/floatsidf.c: Likewise.
12049 * soft-fp/floatsisf.c: Likewise.
12050 * soft-fp/floatsitf.c: Likewise.
12051 * soft-fp/floattidf.c: Likewise.
12052 * soft-fp/floattisf.c: Likewise.
12053 * soft-fp/floattitf.c: Likewise.
12054 * soft-fp/floatundidf.c: Likewise.
12055 * soft-fp/floatundisf.c: Likewise.
12056 * soft-fp/floatunsidf.c: Likewise.
12057 * soft-fp/floatunsisf.c: Likewise.
12058 * soft-fp/floatuntidf.c: Likewise.
12059 * soft-fp/floatuntisf.c: Likewise.
12060 * soft-fp/floatuntitf.c: Likewise.
12061 * soft-fp/fmadf4.c: Likewise.
12062 * soft-fp/fmasf4.c: Likewise.
12063 * soft-fp/fmatf4.c: Likewise.
12064 * soft-fp/gedf2.c: Likewise.
12065 * soft-fp/gesf2.c: Likewise.
12066 * soft-fp/getf2.c: Likewise.
12067 * soft-fp/ledf2.c: Likewise.
12068 * soft-fp/lesf2.c: Likewise.
12069 * soft-fp/letf2.c: Likewise.
12070 * soft-fp/muldf3.c: Likewise.
12071 * soft-fp/mulsf3.c: Likewise.
12072 * soft-fp/multf3.c: Likewise.
12073 * soft-fp/negdf2.c: Likewise.
12074 * soft-fp/negsf2.c: Likewise.
12075 * soft-fp/negtf2.c: Likewise.
12076 * soft-fp/op-1.h: Likewise.
12077 * soft-fp/op-2.h: Likewise.
12078 * soft-fp/op-4.h: Likewise.
12079 * soft-fp/op-8.h: Likewise.
12080 * soft-fp/op-common.h: Likewise.
12081 * soft-fp/quad.h: Likewise.
12082 * soft-fp/single.h: Likewise.
12083 * soft-fp/soft-fp.h: Likewise.
12084 * soft-fp/sqrtdf2.c: Likewise.
12085 * soft-fp/sqrtsf2.c: Likewise.
12086 * soft-fp/sqrttf2.c: Likewise.
12087 * soft-fp/subdf3.c: Likewise.
12088 * soft-fp/subsf3.c: Likewise.
12089 * soft-fp/subtf3.c: Likewise.
12090 * soft-fp/truncdfsf2.c: Likewise.
12091 * soft-fp/trunctfdf2.c: Likewise.
12092 * soft-fp/trunctfsf2.c: Likewise.
12093 * soft-fp/trunctfxf2.c: Likewise.
12094 * soft-fp/unorddf2.c: Likewise.
12095 * soft-fp/unordsf2.c: Likewise.
12096 * soft-fp/unordtf2.c: Likewise.
12098 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12101 * misc/error.c (error_tail): Fix possible buffer overflow.
12103 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12106 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12109 2013-10-14 P. J. McDermott <pj@pehjota.net>
12112 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12113 testing pipefail option.
12115 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12117 * soft-fp/double.h: Indent preprocessor directives inside #if.
12118 * soft-fp/extended.h: Likewise.
12119 * soft-fp/op-2.h: Likewise.
12120 * soft-fp/op-4.h: Likewise.
12121 * soft-fp/op-common.h: Likewise.
12122 * soft-fp/quad.h: Likewise.
12123 * soft-fp/single.h: Likewise.
12124 * soft-fp/soft-fp.h: Likewise.
12126 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12128 * iconv/iconv_prog.c: Fix typos.
12129 * stdio-common/psiginfo-data.h: Likewise.
12131 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12134 * locale/setlocale.c: Fix typo.
12136 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12139 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12140 signaling NaN arguments.
12141 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12142 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12145 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12146 unordered operands.
12147 * soft-fp/gesf2.c (__gesf2): Likewise.
12148 * soft-fp/getf2.c (__getf2): Likewise.
12149 * soft-fp/ledf2.c (__ledf2): Likewise.
12150 * soft-fp/lesf2.c (__lesf2): Likewise.
12151 * soft-fp/letf2.c (__letf2): Likewise.
12153 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12154 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12155 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12156 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12157 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12158 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12159 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12160 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12161 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12162 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12163 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12164 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12165 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12166 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12167 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12168 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12169 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12170 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12171 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12172 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12173 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12174 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12175 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12176 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12177 * soft-fp/floattidf.c (__floattidf): Likewise.
12178 * soft-fp/floattisf.c (__floattisf): Likewise.
12179 * soft-fp/floattitf.c (__floattitf): Likewise.
12180 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12181 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12182 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12183 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12184 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12185 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12186 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12187 * soft-fp/gesf2.c (__gesf2): Likewise.
12188 * soft-fp/getf2.c (__getf2): Likewise.
12189 * soft-fp/ledf2.c (__ledf2): Likewise.
12190 * soft-fp/lesf2.c (__lesf2): Likewise.
12191 * soft-fp/letf2.c (__letf2): Likewise.
12193 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12194 Undefine and redefine.
12195 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12196 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12197 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12198 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12199 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12200 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12201 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12202 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12203 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12204 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12205 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12206 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12207 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12208 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12209 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12212 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12213 without decrementing exponent if mantissa >= that for the
12214 denominator, not >.
12215 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12216 denominator, not >. Decrement exponent in < case instead of
12217 incrementing in >= case.
12218 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12219 without decrementing exponent if mantissa >= that for the
12220 denominator, not >.
12222 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12223 computing saturated result for unsigned overflow.
12225 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12226 Jeff Law <law@redhat.com>
12228 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12229 (atan2Mp): Add systemtap probe marker.
12230 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12231 (__ieee754_log): Add systemtap probe marker.
12232 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12233 (atanMp): Add systemtap probe marker.
12234 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12235 (tanMp): Add systemtap probe marker.
12236 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12237 (__slowexp): Add systemtap probe marker.
12238 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12239 (__slowpow): Add systemtap probe marker.
12240 * manual/probes.texi: Document probes.
12242 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12245 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12247 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12249 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12250 written to buffer but not flushed.
12251 * libio/iofwrite_u.c: Likewise.
12252 * libio/iopadn.c: Return bytes returned even if EOF was
12254 * libio/iowpadn.c: Likewise.
12255 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12256 if _IO_padn does not write the whole buffer.
12257 [!COMPILE_WPRINTF] (PAD): Likewise.
12259 2013-10-10 David S. Miller <davem@davemloft.net>
12261 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12264 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12266 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12267 instead of FSF address.
12268 * soft-fp/fixdfti.c: Likewise.
12269 * soft-fp/fixsfti.c: Likewise.
12270 * soft-fp/fixtfti.c: Likewise.
12271 * soft-fp/fixunsdfti.c: Likewise.
12272 * soft-fp/fixunssfti.c: Likewise.
12273 * soft-fp/fixunstfti.c: Likewise.
12274 * soft-fp/floattidf.c: Likewise.
12275 * soft-fp/floattisf.c: Likewise.
12276 * soft-fp/floattitf.c: Likewise.
12277 * soft-fp/floatuntidf.c: Likewise.
12278 * soft-fp/floatuntisf.c: Likewise.
12279 * soft-fp/floatuntitf.c: Likewise.
12280 * soft-fp/trunctfxf2.c: Likewise.
12282 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12283 * soft-fp/fixdfti.c: Likewise.
12284 * soft-fp/fixsfti.c: Likewise.
12285 * soft-fp/fixtfti.c: Likewise.
12286 * soft-fp/fixunsdfti.c: Likewise.
12287 * soft-fp/fixunssfti.c: Likewise.
12288 * soft-fp/fixunstfti.c: Likewise.
12289 * soft-fp/floattidf.c: Likewise.
12290 * soft-fp/floattisf.c: Likewise.
12291 * soft-fp/floattitf.c: Likewise.
12292 * soft-fp/floatuntidf.c: Likewise.
12293 * soft-fp/floatuntisf.c: Likewise.
12294 * soft-fp/floatuntitf.c: Likewise.
12295 * soft-fp/trunctfxf2.c: Likewise.
12297 2013-10-10 David S. Miller <davem@davemloft.net>
12299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12301 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12303 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12304 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12305 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12306 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12307 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12308 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12309 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12312 for NaNs before doing comparisons on argument.
12313 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12316 2013-10-10 Will Newton <will.newton@linaro.org>
12318 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12319 passed to _int_memalign does not overflow.
12321 2013-10-10 Torvald Riegel <triegel@redhat.com>
12323 * scripts/bench.pl: Add include-sources directive.
12324 * benchtests/README: Update documentation.
12326 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12328 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12329 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12330 instead of FP_INIT_ROUNDMODE.
12331 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12332 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12335 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12336 copy class of input value.
12337 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12338 not handle exceptions.
12339 * soft-fp/negsf2.c (__negsf2): Likewise.
12340 * soft-fp/negtf2.c (__negtf2): Likewise.
12341 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12343 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12345 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12346 semicolon. From Linux kernel.
12348 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12350 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12352 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12355 * manual/socket.texi: Added statement about buffer
12356 for gethostbyname2_r.
12358 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12360 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12361 Use .p2align directive instead, throughout.
12362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12363 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12364 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12365 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12367 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12368 * sysdeps/x86_64/strchr.S: Likewise.
12369 * sysdeps/x86_64/strrchr.S: Likewise.
12371 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12373 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12375 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12377 * sysdeps/generic/math_private.h (__mpsin1): Remove
12379 (__mpcos1): Likewise.
12380 (__mpsin): New argument __range_reduce.
12381 (__mpcos): Likewise.
12382 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12383 (slow): Use __mpsin and __mpcos.
12387 (sloww1): Likewise.
12388 (sloww2): Likewise.
12389 (bsloww): Likewise.
12390 (bsloww1): Likewise.
12391 (bsloww2): Likewise.
12392 (cslow2): Likewise.
12393 (csloww): Likewise.
12394 (csloww1): Likewise.
12395 (csloww2): Likewise.
12396 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12397 range_reduce. Merge in __mpsin1.
12398 (__mpcos): Likewise.
12399 (__mpsin1): Remove.
12400 (__mpcos1): Likewise.
12402 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12404 * locale/loadlocale.c (_nl_intern_locale_data): Use
12406 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12407 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12408 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12409 obstack data is appropriately aligned.
12410 (obstack_int32_grow_fast): Likewise.
12411 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12412 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12413 (add_locale_uint32_array): Likewise.
12415 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12417 * benchtests/Makefile: Remove ARGLIST and RET variables.
12418 ($(objpfx)bench-%.c): Pass only function name to the script.
12419 * benchtests/README: Update documentation.
12420 * benchtests/acos-inputs: Add new directives.
12421 * benchtests/acosh-inputs: Likewise.
12422 * benchtests/asin-inputs: Likewise.
12423 * benchtests/asinh-inputs: Likewise.
12424 * benchtests/atan-inputs: Likewise.
12425 * benchtests/atanh-inputs: Likewise.
12426 * benchtests/cos-inputs: Likewise.
12427 * benchtests/cosh-inputs: Likewise.
12428 * benchtests/exp-inputs: Likewise.
12429 * benchtests/log-inputs: Likewise.
12430 * benchtests/pow-inputs: Likewise.
12431 * benchtests/rint-inputs: Likewise.
12432 * benchtests/sin-inputs: Likewise.
12433 * benchtests/sinh-inputs: Likewise.
12434 * benchtests/tan-inputs: Likewise.
12435 * benchtests/tanh-inputs: Likewise.
12436 * scripts/bench.pl: Add support for new directives.
12438 2013-10-07 Alan Modra <amodra@gmail.com>
12440 * README: Fix careless merge.
12442 2013-10-05 Alan Modra <amodra@gmail.com>
12444 * NEWS: Mention powerpc64le support and bugs fixed.
12445 * README: Both big-endian and little-endian powerpc64 supported.
12447 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12449 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12450 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12451 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12452 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12454 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12456 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12459 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12461 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12462 Move -mhard-float appending from
12463 ports/sysdeps/powerpc/powerpc32/Makefile.
12464 [$(with-fp) = yes] (ASFLAGS): Likewise.
12465 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12466 * sysdeps/powerpc/nofpu: Move directory from
12467 ports/sysdeps/powerpc/nofpu.
12468 * sysdeps/powerpc/soft-fp: Move directory from
12469 ports/sysdeps/powerpc/soft-fp.
12470 * sysdeps/powerpc/powerpc32/405: Move directory from
12471 ports/sysdeps/powerpc/powerpc32/405.
12472 * sysdeps/powerpc/powerpc32/440: Move directory from
12473 ports/sysdeps/powerpc/powerpc32/440.
12474 * sysdeps/powerpc/powerpc32/464: Move directory from
12475 ports/sysdeps/powerpc/powerpc32/464.
12476 * sysdeps/powerpc/powerpc32/476: Move directory from
12477 ports/sysdeps/powerpc/powerpc32/476.
12478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12479 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12481 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12483 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12485 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12487 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12488 * README: Update for powerpc-*-linux-gnu software floating point
12491 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12492 case to powerpc/powerpc32*.
12493 * sysdeps/unix/sysv/linux/configure: Regenerated.
12495 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12496 (_FPU_MASK_OM): Define as 0x04.
12497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12505 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12508 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12511 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12512 and setcontext_e500.
12514 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12516 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12518 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12520 * manual/threads.texi (Default Thread Attributes): Fix typo.
12522 2013-10-04 Will Newton <will.newton@linaro.org>
12524 * malloc/Makefile: Add tst-memalign.
12525 * malloc/tst-memalign.c: New file.
12527 * malloc/tst-posix_memalign.c: Add comments.
12528 (do_test): Add comments and call free on all potentially
12529 allocated pointers. Add space after cast.
12531 * malloc/tst-pvalloc.c: Add comments.
12532 (do_test): Add comments and call free on all potentially
12533 allocated pointers. Remove duplicate check for NULL pointer.
12534 Add space after cast.
12536 * malloc/tst-valloc.c: Add comments.
12537 (do_test): Add comments and call free on all potentially
12538 allocated pointers. Remove duplicate check for NULL pointer.
12539 Add space after cast.
12541 2013-10-04 Alan Modra <amodra@gmail.com>
12543 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12544 Use stdint types in rather than __attribute__((mode())).
12545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12547 2013-10-04 Alan Modra <amodra@gmail.com>
12549 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12550 Correct handling of unaligned relocs for little-endian.
12551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12553 2013-10-04 Alan Modra <amodra@gmail.com>
12555 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12556 * configure: Regenerate.
12557 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12558 * shlib-versions: Likewise.
12560 2013-10-04 Alan Modra <amodra@gmail.com>
12562 * string/tester.c (test_memrchr): Increment reported test cycle.
12564 2013-10-04 Alan Modra <amodra@gmail.com>
12566 * string/test-memcpy.c (do_one_test): When reporting errors, print
12567 string address and don't overrun end of string.
12569 2013-10-04 Alan Modra <amodra@gmail.com>
12571 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12572 insrdi. Make better use of reg selection to speed exit slightly.
12573 Schedule entry path a little better. Remove useless "are we done"
12574 checks on entry to main loop. Handle wrapping around zero address.
12575 Correct main loop count. Handle single left-over word from main
12576 loop inline rather than by using loop_small. Remove extra word
12577 case in loop_small caused by wrong loop count. Add little-endian
12579 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12580 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12582 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12583 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12584 support. Avoid rlwimi.
12585 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12587 2013-10-04 Alan Modra <amodra@gmail.com>
12589 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12590 insrdi. Formatting.
12591 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12593 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12594 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12595 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12596 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12598 2013-10-04 Alan Modra <amodra@gmail.com>
12600 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12601 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12604 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12608 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12609 use of regs. Use power7 mtocrf. Tidy function tails.
12611 2013-10-04 Alan Modra <amodra@gmail.com>
12613 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12614 Formatting. Consistently use rXXX register defines or rN defines.
12615 Use early exit labels that avoid restoring unused non-volatile regs.
12616 Make cr field use more consistent with rWORDn compares. Rename
12617 regs used as shift registers for unaligned loop, using rN defines
12618 for short lifetime/multiple use regs.
12619 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12621 addi 1,1,64 to pop stack frame. Simplify return value code.
12622 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12624 2013-10-04 Alan Modra <amodra@gmail.com>
12626 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12627 support. Correct typos, formatting. Optimize tail. Use insrdi
12628 rather than rlwimi.
12629 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12630 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12631 little-endian support. Correct typos.
12632 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12633 rather than rlwimi.
12634 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12635 in loop and entry code to keep "and." results.
12636 (strchr): Add little-endian support. Comment. Move cntlzd
12638 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12640 2013-10-04 Alan Modra <amodra@gmail.com>
12642 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12643 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12644 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12645 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12647 2013-10-04 Alan Modra <amodra@gmail.com>
12649 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12650 (rTMP): Define as r11.
12651 (strcmp): Add little-endian support. Optimise tail.
12652 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12653 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12654 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12655 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12656 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12658 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12660 2013-10-04 Alan Modra <amodra@gmail.com>
12662 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12663 little-endian support. Remove unnecessary "are we done" tests.
12664 Handle "s" wrapping around zero and extremely large "size".
12665 Correct main loop count. Handle single left-over word from main
12666 loop inline rather than by using small_loop. Correct comments.
12667 Delete "zero" tail, use "end_max" instead.
12668 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12670 2013-10-04 Alan Modra <amodra@gmail.com>
12672 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12673 support. Don't branch over align.
12674 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12675 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12676 support. Rearrange tmp reg use to suit. Comment.
12677 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12679 2013-10-04 Alan Modra <amodra@gmail.com>
12681 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12683 2013-10-04 Alan Modra <amodra@gmail.com>
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12686 conditional form of branch and link when obtaining pc.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12689 2013-10-04 Alan Modra <amodra@gmail.com>
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12696 2013-10-04 Alan Modra <amodra@gmail.com>
12698 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12699 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12700 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12701 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12702 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12703 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12704 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12705 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12706 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12707 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12709 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12710 Alistair Popple <alistair@ozlabs.au.ibm.com>
12711 Alan Modra <amodra@gmail.com>
12714 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12715 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12716 _dl_hwcap access for little-endian.
12717 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12718 destroy vmx regs when saving unaligned.
12719 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12720 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12721 destroy vmx regs when saving unaligned.
12723 2013-10-04 Alan Modra <amodra@gmail.com>
12725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12726 Don't use a union to pack hi/low value.
12728 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12730 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12732 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12734 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12735 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12736 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12738 2013-10-04 Alan Modra <amodra@gmail.com>
12740 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12741 constants to usual value for .cst8 section, and remove redundant
12743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12744 constant for 0x1p52. Load little-endian words of double from
12745 correct stack offsets.
12747 2013-10-04 Alan Modra <amodra@gmail.com>
12749 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12750 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12751 words of double from correct stack offsets.
12752 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12753 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12754 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12757 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12759 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12760 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12761 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12764 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12765 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12766 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12767 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12768 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12770 2013-10-04 Alan Modra <amodra@gmail.com>
12772 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12773 64-bit int/double union.
12774 (_FPU_SETCW): Likewise.
12775 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12776 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12778 2013-10-04 Alan Modra <amodra@gmail.com>
12780 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12781 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12783 2013-10-04 Alan Modra <amodra@gmail.com>
12785 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12786 use vector int constants.
12787 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12789 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12791 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12792 array with long long.
12793 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12794 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12795 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12796 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12797 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12798 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12799 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12800 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12801 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12802 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12803 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12804 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12805 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12807 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12809 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12810 (__signbit): Likewise. Correct for little-endian.
12811 (__signbitl): Call __signbit.
12812 (lrint): Correct for little-endian.
12813 (lrintf): Call lrint.
12815 2013-10-04 Alan Modra <amodra@gmail.com>
12817 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12818 union 32-bit int array member with 64-bit int array.
12819 (t515, tm256): Double rather than long double.
12820 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12822 2013-10-04 Alan Modra <amodra@gmail.com>
12824 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12826 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12828 version of math_ldbl.h.
12830 2013-10-04 Alan Modra <amodra@gmail.com>
12832 [BZ #15734], [BZ #15735]
12833 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12834 all uses of ieee875 long double macros and unions. Simplify test
12835 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12836 ldbl_extract_mantissa value for ix,iy exponents. Properly
12837 normalize after ldbl_extract_mantissa, and don't add hidden bit
12838 already handled. Don't treat low word of ieee854 mantissa like
12839 low word of IBM long double and mask off bit when testing for
12841 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12842 all uses of ieee875 long double macros and unions. Simplify tests
12843 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12844 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12845 two1022, instead use their values. Recognise that tests for large
12846 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12847 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12848 Rewrite all uses of ieee875 long double macros and unions. Simplify
12849 test for 0.0L and nan. Correct negation.
12850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12851 ieee875 long double macros and unions. Correct output for large
12852 magnitude x. Correct absolute value calculation.
12853 (__erfcl): Likewise.
12854 * math/libm-test.inc: Add tests for errors discovered in IBM long
12855 double versions of fmodl, remainderl, erfl and erfcl.
12857 2013-10-04 Alan Modra <amodra@gmail.com>
12859 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12860 all uses of ieee854 long double macros and unions. Simplify tests
12861 for long doubles that are fully specified by the high double.
12862 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12864 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12865 Remove dead code too.
12866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12867 (__ieee754_ynl): Likewise.
12868 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12871 Remove dead code too.
12872 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12873 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12874 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12877 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12879 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12880 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12882 Comment on variable precision.
12883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12886 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12889 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12890 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12892 2013-10-04 Alan Modra <amodra@gmail.com>
12894 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12896 all uses of ieee854 long double macros and unions.
12897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12901 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12902 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12904 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12905 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12906 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12907 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12909 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12910 Simplify sign and nan test too.
12911 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12912 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12913 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12914 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12916 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12926 2013-10-04 Alan Modra <amodra@gmail.com>
12928 * stdio-common/printf_size.c (__printf_size): Don't use
12929 union ieee854_long_double in fpnum union.
12930 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12931 signbit macro to retrieve sign from long double.
12932 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12933 retrieve sign from long double.
12934 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12935 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12937 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12938 * math/test-misc.c (main): Don't use union ieee854_long_double.
12940 2013-10-04 Alan Modra <amodra@gmail.com>
12943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12944 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12945 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12946 calculation. Remove unnecessary test for denormal exponent.
12947 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12948 Correct handling of denormals. Avoid undefined shift behaviour.
12949 Correct normalisation of low mantissa when low double is denormal.
12950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12951 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12952 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12953 Correct normalisation of low mantissa. Test for overflow of high
12954 mantissa and normalise.
12955 (ldbl_nearbyint): Use more readable constant for two52.
12956 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12957 (__mpn_construct_long_double): Fix test for overflow of high
12958 mantissa and correct normalisation. Avoid undefined shift.
12960 2013-10-04 Alan Modra <amodra@gmail.com>
12962 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12963 (union ibm_extended_long_double): Define as an array of ieee754_double.
12964 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12965 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12966 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12967 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12971 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12976 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12978 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12979 page size instead of calling getpagesize.
12981 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12982 (LOCFILE_ALIGN_MASK): Likewise.
12983 (LOCFILE_ALIGN_UP): Likewise.
12984 (LOCFILE_ALIGNED_P): Likewise.
12985 * locale/programs/ld-collate.c (collate_output): Use the new
12986 macros instead of __alignof__ (int32_t).
12987 * locale/weight.h (findidx): Likewise.
12989 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12992 * manual/string.texi: Fix strncat and wcsncat.
12994 2013-10-03 Brooks Moses <bmoses@google.com>
12997 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12998 * Makerules: ...here, and adjust associated comments.
13000 2013-10-02 Will Newton <will.newton@linaro.org>
13002 * malloc/Makefile: Add tst-pvalloc.
13003 * malloc/tst-pvalloc.c: New file.
13005 2013-10-02 Will Newton <will.newton@linaro.org>
13007 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13008 improve test coverage.
13010 2013-10-02 Will Newton <will.newton@linaro.org>
13012 * malloc/Makefile: Add tst-posix_memalign.
13013 * malloc/tst-posix_memalign.c: New file.
13015 2013-10-01 Eric Blake <eblake@redhat.com>
13017 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13018 Use __THROWNL rather than __THROW on static functions.
13020 2013-09-30 Petr Machata <pmachata@redhat.com>
13022 * elf/elf.h (R_AARCH64_ABS16): New macro.
13023 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13024 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13025 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13026 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13027 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13028 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13029 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13030 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13031 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13032 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13033 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13034 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13035 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13036 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13037 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13038 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13039 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13040 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13041 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13042 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13043 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13044 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13045 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13046 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13047 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13048 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13049 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13050 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13051 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13052 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13053 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13054 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13055 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13056 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13057 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13058 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13059 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13060 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13061 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13062 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13063 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13064 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13065 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13066 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13067 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13068 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13069 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13070 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13071 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13072 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13073 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13074 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13075 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13076 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13077 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13078 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13079 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13080 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13081 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13082 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13083 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13084 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13085 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13086 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13087 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13088 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13089 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13090 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13091 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13092 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13093 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13094 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13095 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13096 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13097 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13098 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13099 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13100 (R_AARCH64_TLSDESC_LDR): Likewise.
13101 (R_AARCH64_TLSDESC_ADD): Likewise.
13102 (R_AARCH64_TLSDESC_CALL): Likewise.
13104 2013-09-30 Andreas Schwab <schwab@suse.de>
13107 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13108 the nss database lookup.
13109 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13112 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13114 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13116 2013-09-28 P. J. McDermott <pj@pehjota.net>
13118 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13119 ${Bash-specific parameter/pattern/string} parameter expansion.
13120 * sysdeps/unix/make-syscalls.sh: Likewise.
13122 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13124 * sysdeps/sh/stackguard-macros.h: New file.
13126 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13130 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13131 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13132 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13133 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13135 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13137 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13138 Fix thread ID register.
13140 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13142 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13143 [POSIX || UNIX98]: Require rather than permitting all symbols from
13145 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13146 element of struct sched_param.
13147 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13148 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13149 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13150 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13153 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13155 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13156 argument calculation.
13158 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13160 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13162 [POSIX] (pthread_attr_t): Do not require type.
13163 [POSIX] (pthread_cond_t): Likewise.
13164 [POSIX] (pthread_condattr_t): Likewise.
13165 [POSIX] (pthread_key_t): Likewise.
13166 [POSIX] (pthread_mutex_t): Likewise.
13167 [POSIX] (pthread_mutexattr_t): Likewise.
13168 [POSIX] (pthread_once_t): Likewise.
13169 [POSIX] (pthread_t): Likewise.
13170 [POSIX-based standards] (pthread_atfork): Expect function.
13172 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13173 Richard Sandiford <richard@codesourcery.com>
13175 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13176 (swap_endianness_p): New extern variable.
13177 (set_big_endian): New inline function.
13178 (maybe_swap_uint32): Likewise.
13179 (maybe_swap_uint32_array): Likewise.
13180 (maybe_swap_uint32_obstack): Likewise.
13181 * locale/programs/locfile.c: Include <stdbool.h>.
13182 (swap_endianness_p): New variable.
13183 (add_locale_uint32): Call maybe_swap_uint32.
13184 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13185 (write_locale_data): Call maybe_swap_uint32_array.
13186 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13188 (obstack_int32_grow_fast): Likewise.
13189 (output_weightwc): Call maybe_swap_uint32_obstack.
13190 (collate_output): Likewise.
13191 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13192 (OPT_LITTLE_ENDIAN): Likewise.
13193 (options): Add --little-endian and --big-endian options.
13194 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13195 * locale/programs/locarchive.c: Include "locfile.h".
13199 (create_archive): Use the new macros to access fields of
13200 structures directly mapped from or written to locale archives.
13201 (oldlocrecentcmp): Likewise.
13202 (enlarge_archive): Likewise.
13203 (insert_name): Likewise.
13204 (add_alias): Likewise.
13205 (add_locale): Likewise.
13206 (delete_locales_from_archive): Likewise.
13207 (show_archive_content): Likewise.
13208 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13211 2013-09-24 Roland McGrath <roland@hack.frob.com>
13213 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13214 http://www.gnu.org/doc/freemanuals.texi.
13215 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13217 2013-09-24 Will Newton <will.newton@linaro.org>
13219 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13222 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13224 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13227 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13229 * manual/threads.texi (POSIX Threads): Fix a typo.
13231 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13234 * string/tst-strcoll-overflow.c: New test case.
13235 * string/Makefile (xtests): Add tst-strcoll-overflow.
13236 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13237 cache if string sizes may cause integer overflow.
13240 * string/strcoll_l.c (coll_seq): New members rule, idx,
13241 save_idx and back_us.
13242 (get_next_seq_nocache): New function.
13243 (do_compare_nocache): New function.
13244 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13247 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13250 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13251 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13252 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13255 * elf/Makefile (tests): Add tst-ptrguard1.
13256 (tests-static): Add tst-ptrguard1-static.
13257 (tst-ptrguard1-ARGS): Define.
13258 (tst-ptrguard1-static-ARGS): Define.
13259 * elf/tst-ptrguard1.c: New file.
13260 * elf/tst-ptrguard1-static.c: New file.
13261 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13262 * sysdeps/i386/stackguard-macros.h: Likewise.
13263 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13264 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13265 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13266 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13267 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13268 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13270 2013-09-23 Hector Marco <hecmargi@upv.es>
13271 Ismael Ripoll <iripoll@disca.upv.es>
13272 Carlos O'Donell <carlos@redhat.com>
13275 * sysdeps/generic/stackguard-macros.h: Define
13276 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13277 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13278 Define __pointer_chk_guard_local.
13279 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13280 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13282 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13285 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13287 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13289 * include/string.h (__ffs): Declare as hidden.
13290 * string/ffs.c (__ffs): Define as hidden.
13291 * sysdeps/i386/ffs.c (__ffs): Likewise.
13292 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13293 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13294 * sysdeps/s390/ffs.c (__ffs): Likewise.
13295 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13297 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13299 * NEWS: Mention malloc probes.
13301 * malloc/arena.c (new_heap): New memory_heap_new probe.
13302 (grow_heap): New memory_heap_more probe.
13303 (shrink_heap): New memory_heap_less probe.
13304 (heap_trim): New memory_heap_free probe.
13305 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13306 (systrim): New memory_sbrk_less probe.
13307 * manual/probes.texi: Document them.
13309 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13310 * manual/probes.texi: Document it.
13312 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13313 (__libc_realloc): Add memory_realloc_retry probe.
13314 (__libc_memalign): Add memory_memalign_retry probe.
13315 (__libc_valloc): Add memory_valloc_retry probe.
13316 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13317 (__libc_calloc): Add memory_calloc_retry probe.
13318 * manual/probes.texi: Document them.
13320 * malloc/arena.c (get_free_list): Add probe
13321 memory_arena_reuse_free_list.
13322 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13323 and memory_arena_reuse.
13324 (arena_get2) [!PER_THREAD]: Likewise.
13325 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13326 memory_arena_reuse_realloc.
13327 * manual/probes.texi: Document them.
13329 * malloc/malloc.c (__libc_free): Add
13330 memory_mallopt_free_dyn_thresholds probe.
13331 (__libc_mallopt): Add multiple memory_mallopt probes.
13332 * manual/probes.texi: Document them.
13334 * malloc/malloc.c: Include stap-probe.h.
13335 (__libc_mallopt): Add memory_mallopt probe.
13336 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13337 * manual/probes.texi: New.
13338 * manual/Makefile (chapters): Add probes.
13339 * manual/threads.texi: Set next node.
13341 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13343 [BZ #15963, #13985]
13344 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13345 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13346 Add `Chinese' to `nan' entry name.
13348 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13350 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13351 (POLYNOMIAL): Likewise.
13352 (TAYLOR_SINCOS): Likewise.
13353 (TAYLOR_SLOW): Likewise.
13354 (__sin): Use TAYLOR_SINCOS.
13356 (slow): Use TAYLOR_SLOW.
13358 (bsloww): Likewise.
13359 (csloww): Likewise.
13361 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13363 * stdlib/strtod_l.c: Fix buffer overrun.
13365 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13367 * benchtests/Makefile (bench): Add sincos.
13368 * benchtests/bench-sincos.c: New file.
13370 * math/libm-test.inc (cos_test_data): New test inputs.
13371 (sin_test_data): Likewise.
13373 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13379 (sloww1): Likewise.
13380 (sloww2): Likewise.
13381 (bsloww1): Likewise.
13382 (bsloww2): Likewise.
13383 (cslow2): Likewise.
13384 (csloww1): Likewise.
13385 (csloww2): Likewise.
13387 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13396 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13398 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13399 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13400 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13401 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13402 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13403 * elf/cache.c (print_entry): Handle the new cache flags.
13405 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13406 Aldy Hernandez <aldyh@redhat.com>
13408 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13409 Change condition to [_SOFT_FLOAT].
13410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13422 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13425 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13428 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13430 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13431 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13432 (__longjmp): Use LOAD_GP to load saved GPRs.
13433 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13434 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13435 (__sigsetjmp): Use SAVE_GP to save GPRs.
13437 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13438 Do not append -msoft-float.
13439 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13441 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13443 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13445 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13448 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13449 (_FPU_GETCW): Use initial "__" on variable and field names but not
13450 on macro parameter name.
13451 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13452 parentheses around reference to macro parameter.
13454 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13456 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13458 (ctype_startup): Use uint32_t in cast and sizeof for
13461 2013-09-11 Jia Liu <proljc@gmail.com>
13463 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13465 [__FreeBSD__]: Likewise.
13467 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13470 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13471 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13472 (strchr): Remove __strchr_sse42 ifunc selection.
13473 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13474 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13476 2013-09-11 Will Newton <will.newton@linaro.org>
13478 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13479 parameter to RES. Remove hardcoded 1000 value.
13480 * benchtests/bench-skeleton.c (main): Pass RES parameter
13481 to TIMING_INIT and multiply result by 1000.
13483 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13487 2013-09-11 Andreas Schwab <schwab@suse.de>
13489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13491 (O_TMPFILE) [__USE_GNU]: Define.
13492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13495 2013-09-11 Will Newton <will.newton@linaro.org>
13498 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13501 2013-09-11 Will Newton <will.newton@linaro.org>
13504 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13507 2013-09-11 Will Newton <will.newton@linaro.org>
13510 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13513 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13515 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13521 2013-09-10 Allan McRae <allan@archlinux.org>
13524 * manual/arith.texi (Parsing of Floats): Clarify
13528 * manual/install.texi (Running make install): Mention
13530 * INSTALL: Regenerated.
13532 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13534 * csu/init-first.c (_init): Remove the !SHARED condition around
13535 FPU control word initialization.
13536 * elf/dl-support.c (_dl_fpu_control): New variable.
13537 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13538 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13539 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13540 * math/test-fpucw-static.c: New file.
13541 * math/test-fpucw-ieee.c: New file.
13542 * math/test-fpucw-ieee-static.c: New file.
13543 * math/Makefile (tests): Add `test-fpucw-ieee' and
13545 (tests-static): New variable.
13546 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13548 [($(build-shared),yes)]
13549 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13551 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13554 2013-09-09 Allan McRae <allan@archlinux.org>
13557 * manual/string.texi (Collation Functions): Fix typo in
13559 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13562 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13565 * libio/memstream.c (open_memstream): Fix memory leak.
13566 * libio/wmemstream.c (open_wmemstream): Likewise.
13569 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13571 2013-09-09 Will Newton <will.newton@linaro.org>
13573 * malloc/Makefile: Add tst-realloc to tests.
13574 * malloc/tst-realloc.c: New file.
13576 2013-09-09 Allan McRae <allan@archlinux.org>
13579 * COPYING: Update from GNU website to fix FSF address.
13580 * COPYING.LIB: Likewise.
13582 2013-09-06 David S. Miller <davem@davemloft.net>
13584 * po/zh_TW.po: Update Chinese (traditional) translation from
13585 translation project.
13587 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13588 Joseph Myers <joseph@codesourcery.com>
13590 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13592 (obstack_chunk_alloc): New macro.
13593 (obstack_chunk_free): Likewise.
13594 (record_offset): New function.
13595 (init_locale_data): Likewise.
13596 (align_locale_data): Likewise.
13597 (add_locale_empty): Likewise.
13598 (add_locale_raw_data): Likewise.
13599 (add_locale_raw_obstack): Likewise.
13600 (add_locale_string): Likewise.
13601 (add_locale_wstring): Likewise.
13602 (add_locale_uint32): Likewise.
13603 (add_locale_uint32_array): Likewise.
13604 (add_locale_char): Likewise.
13605 (start_locale_structure): Likewise.
13606 (end_locale_structure): Likewise.
13607 (start_locale_prelude): Likewise.
13608 (end_locale_prelude): Likewise.
13609 (write_locale_data): Take locale_file structure rather than an
13611 * locale/programs/locfile.h: Include "obstack.h".
13612 (struct locale_file): Change to store locale file contents instead
13614 (init_locale_data): New prototype.
13615 (align_locale_data): Likewise.
13616 (add_locale_empty): Likewise.
13617 (add_locale_raw_data): Likewise.
13618 (add_locale_raw_obstack): Likewise.
13619 (add_locale_string): Likewise.
13620 (add_locale_wstring): Likewise.
13621 (add_locale_uint32): Likewise.
13622 (add_locale_uint32_array): Likewise.
13623 (add_locale_char): Likewise.
13624 (start_locale_structure): Likewise.
13625 (end_locale_structure): Likewise.
13626 (start_locale_prelude): Likewise.
13627 (end_locale_prelude): Likewise.
13628 (write_locale_data): Update prototype.
13629 * locale/programs/3level.h (struct TABLE): Remove result field.
13630 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13631 Use new locale_file interface.
13632 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13633 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13634 * locale/programs/ld-address.c (address_output): Use new
13635 locale_file interface.
13636 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13638 (collate_finish): Don't call collseq_table_finalize.
13639 (collate_output): Use new locale_file interface.
13640 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13642 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13643 (TABLE): Move defines earlier in file.
13644 (ELEMENT): Likewise.
13645 (DEFAULT): Likewise.
13646 (wctrans_table_add): Move macro and inline function earlier in
13648 (struct wctype_table): Move type earlier in file.
13649 (add_locale_wctype_table): New static prototype.
13650 (struct locale_ctype_t): Use logical types instead of struct iovec
13651 pointers for members.
13652 (ctype_output): Use new locale_file interface.
13653 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13654 new locale_file interface.
13655 (allocate_arrays): Update for use of new locale_file interface.
13656 * locale/programs/ld-identification.c (identification_output): Use
13657 new locale_file interface.
13658 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13659 * locale/programs/ld-messages.c (messages_output): Likewise.
13660 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13661 * locale/programs/ld-name.c (name_output): Likewise.
13662 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13663 * locale/programs/ld-paper.c (paper_output): Likewise.
13664 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13665 * locale/programs/ld-time.c (time_output): Likewise.
13667 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13669 * benchtests/Makefile: Add memrchr benchmark.
13670 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13671 benchmark as memrchr.
13672 * benchtests/bench-memrchr-ifunc.c: New file.
13673 * benchtests/bench-memrchr.c: New file.
13675 2013-09-06 Will Newton <will.newton@linaro.org>
13677 * benchtests/Makefile (string-bench): Add memcpy.
13679 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13680 Cong Wang <amwang@redhat.com>
13683 * sysdeps/unix/sysv/linux/bits/in.h
13684 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13685 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13686 before __USE_KERNEL_IPV6_DEFS uses.
13687 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13689 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13690 sockaddr_in6, or ipv6_mreq.
13692 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13694 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13695 memory access for final bytes in some large inputs.
13696 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13698 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13700 * string/test-memrchr.c: New file.
13701 * string/test-memrchr-ifunc.c: New file.
13702 * string/Makefile: Add new memrchr testcase.
13704 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13706 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13707 fanotify_init returns EPERM.
13709 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13711 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13713 (top level): Treat second token from macro or constant entries for
13714 allowed headers as allowed.
13715 * include/complex.h: Condition internal declarations on
13717 * include/fenv.h: Condition include of <stdbool.h> and internal
13718 declarations on [!_ISOMAC].
13720 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13723 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13725 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13727 * configure.in (--enable-versioning): Remove configure option.
13728 (libc_cv_asm_symver_directive): Remove configure test.
13729 (libc_cv_ld_version_script_option): Likewise.
13730 (VERSIONING): Remove variable and AC_SUBST.
13731 (DO_VERSIONING): Remove AC_DEFINE.
13732 * configure: Regenerated.
13733 * config.h.in (DO_VERSIONING): Remove macro.
13734 * Makerules [$(versioning) = yes]: Change conditionals to
13735 [$(build-shared) = yes].
13736 * config.make.in (versioning): Remove variable.
13737 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13738 [$(build-shared) = yes].
13739 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13740 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13741 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13742 [$(build-shared) = yes].
13743 * extra-lib.mk [$(versioning) = yes]: Likewise.
13744 * hurd/Makefile [$(versioning) = yes]: Likewise.
13745 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13747 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13749 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13750 [SHARED && !NO_HIDDEN].
13751 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13753 [SHARED && DO_VERSIONING]: Likewise..
13754 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13755 [$(build-shared) = yes].
13756 * manual/install.texi (--disable-versioning): Remove
13758 * INSTALL: Regenerated.
13759 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13761 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13762 [$(build-shared) = yes].
13763 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13764 * sysdeps/i386/i686/multiarch/strstr-c.c
13765 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13766 [SHARED && !NO_HIDDEN].
13767 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13768 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13769 * sysdeps/powerpc/powerpc32/dl-machine.c
13770 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13771 * sysdeps/powerpc/powerpc32/sysdep.h
13772 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13773 to [SHARED && PIC && !NO_HIDDEN].
13774 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13775 conditional to [SHARED].
13777 2013-09-04 Will Newton <will.newton@linaro.org>
13779 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13780 * benchtests/bench-string.h: Include bench-timing.h instead
13781 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13782 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13783 call to HP_TIMING_DIFF_INIT.
13784 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13785 instead of hp-timing.h macros.
13786 * benchtests/bench-memchr.c: Likewise.
13787 * benchtests/bench-memcmp.c: Likewise.
13788 * benchtests/bench-memcpy.c: Likewise.
13789 * benchtests/bench-memmem.c: Likewise.
13790 * benchtests/bench-memmove.c: Likewise.
13791 * benchtests/bench-memset.c: Likewise.
13792 * benchtests/bench-rawmemchr.c: Likewise.
13793 * benchtests/bench-strcasecmp.c: Likewise.
13794 * benchtests/bench-strcasestr.c: Likewise.
13795 * benchtests/bench-strcat.c: Likewise.
13796 * benchtests/bench-strchr.c: Likewise.
13797 * benchtests/bench-strcmp.c: Likewise.
13798 * benchtests/bench-strcpy.c: Likewise.
13799 * benchtests/bench-strcpy_chk.c: Likewise.
13800 * benchtests/bench-strlen.c: Likewise.
13801 * benchtests/bench-strncasecmp.c: Likewise.
13802 * benchtests/bench-strncat.c: Likewise.
13803 * benchtests/bench-strncmp.c: Likewise.
13804 * benchtests/bench-strncpy.c: Likewise.
13805 * benchtests/bench-strnlen.c: Likewise.
13806 * benchtests/bench-strpbrk.c: Likewise.
13807 * benchtests/bench-strrchr.c: Likewise.
13808 * benchtests/bench-strspn.c: Likewise.
13809 * benchtests/bench-strstr.c: Likewise.
13811 2013-09-04 Will Newton <will.newton@linaro.org>
13813 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13815 2013-09-03 Joseph Myers <joseph@codesourcery.com>
13818 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13819 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13820 * math/libm-test.inc (lgamma_test_data): Add more tests.
13821 * sysdeps/i386/fpu/libm-test-ulps: Update.
13822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13824 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
13826 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13830 Add strcmp-sse2-unaligned
13831 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13833 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13835 * Versions.def (libc): Add GLIBC_2.19.
13837 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13839 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13840 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13842 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13845 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13846 intermediate calculations in recurrence.
13847 (__ieee754_ynf): Likewise.
13848 * math/libm-test.inc (jn_test_data): Do not allow spurious
13849 underflow exception. Add more tests.
13850 (yn_test_data): Add more tests.
13851 * sysdeps/i386/fpu/libm-test-ulps: Update.
13852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13854 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
13856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13858 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13860 * csu/init-first.c: Fix then/than typos.
13861 * locale/programs/ld-collate.c: Likewise.
13862 * locale/programs/linereader.h: Likewise.
13863 * manual/charset.texi: Likewise.
13864 * manual/filesys.texi: Likewise.
13865 * manual/stdio.texi: Likewise.
13866 * manual/string.texi: Likewise.
13867 * stdlib/fmtmsg.c: Likewise.
13868 * sysdeps/i386/stpncpy.S: Likewise.
13869 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13870 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13871 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13872 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13874 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13876 * elf/dl-open.c: Fix typos.
13877 * iconvdata/gbbig5.c: Likewise.
13878 * iconvdata/iso-2022-jp.c: Likewise.
13879 * iconv/gconv_int.h: Likewise.
13880 * iconv/loop.c: Likewise.
13881 * nis/rpcsvc/nis.h: Likewise.
13882 * resolv/ns_name.c: Likewise.
13883 * stdio-common/vfscanf.c: Likewise.
13884 * streams/stropts.h: Likewise.
13885 * sunrpc/rpc_thread.c: Likewise.
13886 * sysdeps/i386/strpbrk.S: Likewise.
13887 * sysdeps/ieee754/k_standard.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13890 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13891 * sysdeps/mach/hurd/profil.c: Likewise.
13892 * sysdeps/s390/dl-procinfo.h: Likewise.
13893 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13895 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13896 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13899 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13901 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13904 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13906 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13907 aix specific files.
13908 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13909 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13910 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13912 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13917 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13918 Roland McGrath <roland@hack.frob.com>
13920 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13921 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13923 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13925 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13926 __executable_start symbol instead of _start.
13928 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13930 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13931 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13933 * sysdeps/gnu/ldsodefs.h: ... this new file.
13935 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13936 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13937 instead of ELFOSABI_LINUX.
13939 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13940 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13941 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13942 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13944 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13945 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13948 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13949 (ibm_extended_long_double): Add ieee_nan member.
13950 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13951 (do_test): New function.
13953 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13955 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13956 functions, renamed from truncdfsf_test, trunctfsf_test,
13958 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13960 (do_test): Run all these.
13962 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13964 * argp/argp-help.c: Fix typos.
13965 * argp/argp-parse.c: Likewise.
13966 * debug/backtracesyms.c: Likewise.
13967 * elf/elf.h: Likewise.
13968 * malloc/malloc.c: Likewise.
13969 * nis/nis_print.c: Likewise.
13970 * resolv/res_comp.c: Likewise.
13971 * stdlib/stdlib.h: Likewise.
13972 * sunrpc/clnt_tcp.c: Likewise.
13973 * sunrpc/clnt_udp.c: Likewise.
13974 * sunrpc/clnt_unix.c: Likewise.
13975 * sysdeps/unix/bsd/ptsname.c: Likewise.
13976 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13984 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13986 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13988 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13991 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13994 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13995 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13996 ($(objpfx)bug-dl-leaf): New rule.
13997 ($(objpfx)bug-dl-leaf.so): Likewise.
13998 ($(objpfx)bug-dl-leaf.out): Likewise.
13999 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14000 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14001 * dlfcn/bug-dl-leaf.c: New test.
14002 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14003 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14004 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14005 (dlclose): Likewise.
14006 (dlmopen): Likewise.
14008 2013-08-27 Roland McGrath <roland@hack.frob.com>
14010 * include/netdb.h [!_ISOMAC]:
14011 Don't include <tls.h>.
14012 (h_errno, __libc_h_errno): Move declaration and macros out of
14015 * include/resolv.h [_RESOLV_H_]:
14016 Don't include <tls.h>.
14017 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14018 * resolv/res_libc.c: Don't include <tls.h>.
14019 (_res): Use __attribute__ ((nocommon)) in place of
14020 __attribute__ ((section (".bss"))).
14022 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14023 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14025 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14027 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14028 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14030 * resolv/res_mkquery.c: Include <sys/time.h>.
14032 * inet/ifreq.c: Moved to ...
14033 * sysdeps/unix/ifreq.c: ... here.
14034 * inet/ifreq.c: New file, true stub version.
14036 * socket/sa_len.c: New file.
14037 * socket/Makefile (aux): Add it.
14038 * sysdeps/unix/sysv/linux/Makefile
14039 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14040 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14041 and #include <socket/sa_len.c>.
14042 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14043 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14045 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14046 * bits/socket.h: ... here.
14048 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14049 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14050 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14052 2013-08-27 Andreas Schwab <schwab@suse.de>
14055 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14056 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14057 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14058 * string/test-strcasecmp.c (test_main): Run tests in several
14060 * string/test-strncasecmp.c (test_main): Likewise.
14062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14063 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14064 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14066 (__strncasecmp_ssse3) [PIC]: Likewise.
14068 2013-08-26 Roland McGrath <roland@hack.frob.com>
14070 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14072 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14073 instead of explicitly declaring xdecrypt.
14074 * nis/nss_nis/nis-publickey.c: Likewise.
14076 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14079 * nscd/aicache.c: Include res_hconf.h.
14080 (addhstaiX): Initialize res_hconf.
14082 2013-08-26 Andreas Schwab <schwab@suse.de>
14084 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14085 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14087 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14089 * nscd/aicache.c (addhstaiX): Fix indentation.
14091 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14093 * configure.ac: Quote $build_pt_chown test.
14094 * configure: Regenerated.
14096 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14099 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14100 * math/s_cexpf.c (__cexpf): Likewise.
14101 * math/s_cexpl.c (__cexpl): Likewise.
14102 * math/libm-test.inc (cexp_test_data): Correct expected return
14103 value for NaN + i0. Add another test.
14105 2013-08-22 David S. Miller <davem@davemloft.net>
14107 * po/ca.po: Update Catalan translation from translation project.
14108 * po/uk.po: Add Ukrainian translations from translation project.
14110 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14113 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14114 is infinite, not alongside NaN test.
14115 * math/s_fdimf.c (__fdimf): Likewise.
14116 * math/s_fdiml.c (__fdiml): Likewise.
14117 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14118 errno is unchanged.
14120 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14122 * argp/argp-help.c: Fix typos.
14123 * crypt/speeds.c: Likewise.
14124 * csu/check_fds.c: Likewise.
14125 * elf/dl-load.c: Likewise.
14126 * elf/dl-open.c: Likewise.
14127 * elf/reldep3.c: Likewise.
14128 * elf/reldep.c: Likewise.
14129 * elf/sprof.c: Likewise.
14130 * iconv/iconv_charmap.c: Likewise.
14131 * iconv/skeleton.c: Likewise.
14132 * iconv/strtab.c: Likewise.
14133 * io/lockf64.c: Likewise.
14134 * libio/libioP.h: Likewise.
14135 * resolv/gai_notify.c: Likewise.
14136 * resolv/ns_name.c: Likewise.
14137 * resolv/ns_samedomain.c: Likewise.
14138 * resolv/res_send.c: Likewise.
14139 * stdlib/random.c: Likewise.
14140 * sunrpc/rpc/xdr.h: Likewise.
14141 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14142 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14143 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14144 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14145 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14146 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14149 * sysdeps/mach/hurd/check_fds.c: Likewise.
14150 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14151 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14153 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14154 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14155 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14156 * sysdeps/pthread/aio_notify.c: Likewise.
14157 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14158 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14159 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14161 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14163 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14165 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14166 version if bit_Slow_SSE4_2 is set.
14167 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14168 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14170 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14173 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14174 trampoline stack frame information.
14175 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14177 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14178 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14179 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14180 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14181 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14182 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14184 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14185 interrupting a syscall and set with option SA_SIGINFO.
14187 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14190 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14191 argument is infinite.
14192 * math/s_cprojf.c (__cprojf): Likewise.
14193 * math/s_cprojl.c (__cprojl): Likewise.
14194 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14195 * math/libm-test.inc (cproj_test_data): Add more tests.
14197 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14199 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14200 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14201 size. Use __ffs to determine corresponding shift.
14203 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14204 Roland McGrath <roland@hack.frob.com>
14206 * Makefile (INSTALL): Remove trailing blank lines from output of
14209 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14211 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14212 Align 32 bit compat elf_greg to 8 bytes.
14214 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14216 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14218 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14220 * string/strcoll_l.c (coll_seq): New structure.
14221 (get_next_seq_cached): New function.
14222 (get_next_seq): New function.
14223 (do_compare): New function.
14224 (STRCOLL): Use GNU style definition. Simplify implementation
14225 by using get_next_seq, get_next_seq_cached and do_compare.
14227 2013-08-16 Florian Weimer <fweimer@redhat.com>
14231 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14233 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14235 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14236 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14237 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14239 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14240 GETDENTS_64BIT_ALIGNED.
14241 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14242 * manual/filesys.texi (Reading/Closing Directory): Document
14243 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14245 * manual/conf.texi (Limits for Files): Add portability note to
14246 NAME_MAX, PATH_MAX.
14247 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14249 2013-08-13 Andreas Schwab <schwab@suse.de>
14252 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14254 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14255 LDBL_MAX_EXP >= 16384]: Add tests for it.
14257 2013-08-12 David S. Miller <davem@davemloft.net>
14259 * version.h (RELEASE): Set to "development".
14260 (VERSION): Set to "2.18.90".
14261 * NEWS: Add 2.19 section.
14263 2013-08-03 David S. Miller <davem@davemloft.net>
14265 * po/ko.po: Update Korean translation from translation project.
14267 2013-08-01 David S. Miller <davem@davemloft.net>
14269 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14270 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14273 2013-07-30 David S. Miller <davem@davemloft.net>
14275 * po/fr.po: Update French translation from translation project.
14277 2013-07-28 David S. Miller <davem@davemloft.net>
14279 * po/cs.po: Update Czech translation from translation project.
14281 * po/sv.po: Update Swedish translation from translation project.
14283 2013-07-27 David S. Miller <davem@davemloft.net>
14285 * po/eo.po: Update Esperanto translation from translation project.
14287 * po/vi.po: Update Vietnamese translation from translation project.
14289 * po/de.po: Update German translation from translation project.
14291 2013-07-26 David S. Miller <davem@davemloft.net>
14293 * po/bg.po: Update Bulgarian translation from translation project.
14295 * po/nl.po: Update Dutch translation from translation project.
14296 * po/pl.po: Update Polish translation from translation project.
14297 * po/ru.po: Update Russian translation from translation project.
14299 2013-07-24 David S. Miller <davem@davemloft.net>
14301 * po/libc.pot: Update.
14303 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14305 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14306 variable page size.
14307 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14309 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14311 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14313 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14315 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14316 Andreas Schwab <schwab@suse.de>
14317 Roland McGrath <roland@hack.frob.com>
14318 Joseph Myers <joseph@codesourcery.com>
14319 Carlos O'Donell <carlos@redhat.com>
14322 * config.h.in: Define HAVE_PT_CHOWN.
14323 * config.make.in (build-pt-chown): New variable.
14324 * configure.in (--enable-pt_chown): New configure option.
14325 * configure: Regenerate.
14326 * login/Makefile: Include Makeconfig. Build pt_chown only if
14327 build-pt-chown is enabled.
14328 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14329 pt_chown to fix pty ownership.
14330 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14332 * manual/install.texi (Configuring and compiling): Mention
14333 --enable-pt_chown. Add @findex for grantpt.
14334 * INSTALL: Regenerate.
14336 2013-07-20 David S. Miller <davem@davemloft.net>
14338 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14339 difference between 32-bit and 64-bit.
14341 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14344 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14345 Avoid system header dependency with -ffreestanding.
14346 ($(objpfx)bits/syscall%d): Likewise.
14348 2013-07-13 David S. Miller <davem@davemloft.net>
14350 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14351 underflows from atanl/atan2l due to bug 15319.
14352 (casinh_test_data): Likewise.
14354 2013-07-07 David S. Miller <davem@davemloft.net>
14356 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14358 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14360 * sysdeps/i386/fpu/libm-test-ulps: Update.
14361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14363 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14365 * configure.in (--enable-lock-elision): Fix message text.
14366 * INSTALL: Regenerate.
14367 * configure: Regenerate.
14369 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14373 2013-07-03 Andreas Jaeger <aj@suse.de>
14375 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14377 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14378 (ptrace_peeksiginfo_args): Add.
14379 (__ptrace_peeksiginfo_flags): Add.
14380 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14384 2013-07-03 Allan McRae <allan@archlinux.org>
14386 * sysdeps/i386/fpu/libm-test-ulps: Update.
14388 2013-07-02 David S. Miller <davem@davemloft.net>
14390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14392 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14396 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14398 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14401 2013-07-02 Andi Kleen <ak@linux.intel.com>
14403 * config.h.in (ENABLE_LOCK_ELISION): Add.
14404 * configure.in (--enable-lock-elision): Add option.
14405 * manual/install.texi: Document --enable lock elision.
14406 * configure: Regenerate
14407 * INSTALL: Regenerate.
14409 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14411 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14412 SSE4.2 strcasecmp for libc.a.
14413 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14415 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14418 * soft-fp/op-common.h (_FP_FMA): New macro.
14419 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14420 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14421 (_FP_MUL_MEAT_1_imm): ... here.
14422 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14423 (_FP_MUL_MEAT_1_wide): ... here.
14424 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14425 (_FP_MUL_MEAT_1_hard): ... here.
14426 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14427 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14428 (_FP_MUL_MEAT_2_wide): ... here.
14429 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14430 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14431 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14432 (_FP_MUL_MEAT_2_gmp): ... here.
14433 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14434 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14435 (_FP_MUL_MEAT_4_wide): ... here.
14436 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14437 (_FP_MUL_MEAT_4_gmp): ... here.
14438 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14439 (_FP_WFRACBITS_DW_S): Likewise.
14440 (_FP_WFRACXBITS_DW_S): Likewise.
14441 (_FP_HIGHBIT_DW_S): Likewise.
14442 (FP_FMA_S): Likewise.
14443 (_FP_FRAC_HIGH_DW_S): Likewise.
14444 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14445 (_FP_WFRACBITS_DW_D): Likewise.
14446 (_FP_WFRACXBITS_DW_D): Likewise.
14447 (_FP_HIGHBIT_DW_D): Likewise.
14448 (FP_FMA_D): Likewise.
14449 (_FP_FRAC_HIGH_DW_D): Likewise.
14450 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14451 (_FP_WFRACBITS_DW_E): Likewise.
14452 (_FP_WFRACXBITS_DW_E): Likewise.
14453 (_FP_HIGHBIT_DW_E): Likewise.
14454 (FP_FMA_E): Likewise.
14455 (_FP_FRAC_HIGH_DW_E): Likewise.
14456 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14457 (_FP_WFRACBITS_DW_Q): Likewise.
14458 (_FP_WFRACXBITS_DW_Q): Likewise.
14459 (_FP_HIGHBIT_DW_Q): Likewise.
14460 (FP_FMA_Q): Likewise.
14461 (_FP_FRAC_HIGH_DW_Q): Likewise.
14462 * soft-fp/fmasf4.c: New file.
14463 * soft-fp/fmadf4.c: Likewise.
14464 * soft-fp/fmatf4.c: Likewise.
14466 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14469 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14473 (index_Slow_SSE4_2): Likewise.
14474 (index_Prefer_PMINUB_for_stringop): Likewise.
14475 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14476 bit_Slow_SSE4_2 is set.
14477 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14480 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14482 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14483 rtld_global._dl_hwcap2.
14484 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14486 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14487 POWER8 feature descriptions defined in _dl_hwcap2.
14488 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14489 string handling for POWER8 feature bits.
14490 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14491 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14492 _dl_powerpc_cap_flags.
14493 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14494 * sysdeps/powerpc/rtld-global-offsets.sym
14495 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14496 _dl_hwcap2 in the rtld_global_ro structure.
14498 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14500 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14501 hardware capabilities in support of AT_HWCAP2.
14502 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14503 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14505 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14506 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14507 explicitly the unknown a_type display mechanism is used.
14508 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14509 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14511 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14512 to macro prototype for AT_HWCAP2 support.
14513 * sysdeps/i386/dl-procinfo.h: Likewise.
14514 * sysdeps/s390/dl-procinfo.h: Likewise.
14515 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14516 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14517 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14518 return -1 for unknown a_type display fallback.
14519 * sysdeps/sparc/dl-procinfo.h: Likewise.
14520 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14521 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14523 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14525 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14526 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14528 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14531 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14532 mprotect making __stack_prot writable.
14534 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14535 Joseph Myers <joseph@codesourcery.com>
14537 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14538 as being properly aligned.
14540 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14542 * dlfcn/modstatic5.c: New file.
14543 * dlfcn/tststatic5.c: New file.
14544 * dlfcn/Makefile (tests): Add tststatic5.
14545 (tests-static): Likewise.
14546 (modules-names): Add modstatic5.
14547 (tststatic5-ENV): New variable.
14548 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14551 * elf/dl-support.c (_dl_main_map): New variable.
14552 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14553 (_dl_nns, _dl_load_adds): Set to 1.
14554 (_dl_initial_searchlist): Refer to _dl_main_map.
14555 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14556 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14557 call to _dl_get_origin.
14558 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14560 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14561 * dlfcn/modstatic3.c: New file.
14562 * dlfcn/tststatic3.c: New file.
14563 * dlfcn/tststatic4.c: New file.
14564 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14565 (tests-static): Likewise.
14566 (modules-names): Add modstatic3.
14567 (tststatic3-ENV, tststatic4-ENV): New variables.
14568 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14569 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14571 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14573 * configure.in (CC): Require GCC version 4.4 or later.
14574 * configure: Regenerated.
14575 * manual/install.texi (Tools for Compilation): Update GCC version
14577 * INSTALL: Regenerated.
14579 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14582 * string/test-memcmp.c (check2): New.
14583 (main): Call check2.
14585 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14587 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14590 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14592 (dl_open_worker) [!SHARED]: ... here.
14594 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14596 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14598 2013-06-25 Richard Henderson <rth@redhat.com>
14600 * locale/programs/locarchive.c: Include <libc-internal.h>
14602 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14604 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14605 trailing whitespace removed.
14607 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14610 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14611 * locale/programs/locarchive.c: Include libc-mmap.h.
14612 (prepare_address_space): Take two new outputs (the mmap base and len).
14613 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14615 (create_archive): Declare new mmap base and len values for
14616 prepare_address_space, and store the result in ah.
14617 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14618 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14619 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14620 Declare new mmap base and len values for
14621 prepare_address_space, and store the result in new_ah.
14622 (open_archive): Declare new mmap base and len values for
14623 prepare_address_space, and store the result in ah.
14624 (close_archive): If ah->mmap_base is not NULL, use that and
14625 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14626 * sysdeps/generic/libc-mmap.h: New file.
14628 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14630 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14631 (ALIGN_UP): Likewise.
14632 (PTR_ALIGN_DOWN): Likewise.
14633 (PTR_ALIGN_UP): Likewise.
14635 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14637 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14638 entry mapped to PPC_PLATFORM_POWER8.
14639 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14641 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14642 (_dl_string_platform): Add case for exporting platform position for
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14645 search path to sysdeps/powerpc/powerpc32/power8 directory.
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14647 search path to sysdeps/powerpc/powerpc64/power8 directory.
14648 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14649 power7 directories.
14650 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14651 power7 directories.
14653 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14655 * INSTALL: Regenerate.
14657 * nscd/connections.c (nscd_init): Fix comment.
14659 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14661 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14664 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14665 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14667 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14669 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14671 (DL_DST_REQ_STATIC): Remove macro.
14673 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14676 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14677 with a shift of 0 bits.
14679 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14681 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14684 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14687 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14689 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14691 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14692 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14693 accepts -fno-tree-loop-distribute-patterns.
14694 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14695 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14697 * string/memset.c (memset): Likewise.
14698 * string/test-memmove.c (simple_memmove): Disable loop transformation
14700 * string/test-memset.c (simple_memset): Likewise.
14701 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14702 * benchtests/bench-memset.c (simple_memset): Likewise.
14703 * configure: Regenerated.
14705 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14707 * math/test-misc.c (main): Ignore fesetround failure when failures
14708 of subsequent rounding tests would be ignored.
14711 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14712 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14713 * math/fegetenv.c (__fegetenv): Return 0.
14714 * math/fegetexcept.c (fegetexcept): Return 0.
14715 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14717 * math/feholdexcpt.c (feholdexcept): Return 0.
14718 * math/fesetenv.c (__fesetenv): Return 0.
14719 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14720 argument FE_TONEAREST.
14721 * math/feupdateenv.c (__feupdateenv): Return 0.
14722 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14724 2013-06-18 Roland McGrath <roland@hack.frob.com>
14726 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14727 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14728 ($(objpfx)rtld-%.os rules): Use them.
14730 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14732 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14735 2013-06-17 Roland McGrath <roland@hack.frob.com>
14737 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14738 length of target pattern, then descending length of dependency pattern.
14739 * configure.in (AWK): Require gawk 3.1.2 or newer.
14740 * manual/install.texi (Tools for Compilation): Say that we do.
14741 * configure: Regenerated.
14743 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14744 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14745 * scripts/sysd-rules.awk: ... this new script.
14746 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14747 than a glob-style pattern.
14749 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14751 * math/test-misc.c (main): Do not treat incorrectly rounded
14752 conversions as failure unless ROUNDING_TESTS passes.
14754 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14757 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14758 restore exception state around main square root computation, then
14759 check for inexactness explicitly.
14761 * math/libm-test.inc (fma_test_data): Add another test.
14763 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14765 * manual/threads.texi (Non-POSIX Extensions): New document
14766 node. Document pthread_getattr_default_np and
14767 pthread_setattr_default_np.
14769 * Versions.def (libpthread): Add GLIBC_2.18.
14770 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14779 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14790 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14793 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14795 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14796 H.J. Lu <hjl.tools@gmail.com>
14799 * sysdeps/x86_64/rtld-memset.c: Remove file.
14800 * sysdeps/x86_64/rtld-memset.S: New file.
14802 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14804 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14805 (test_in_one_mode): Take arguments for whether the rounding mode
14806 is supported for each floating-point type.
14807 (do_test): Pass new arguments to test_in_one_mode using
14810 2013-06-13 Roland McGrath <roland@hack.frob.com>
14812 * posix/tst-waitid.c (do_test): Distinguish different instances of
14813 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14814 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14815 before entering the kernel for waitpid.
14817 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14819 * NEWS: Fix note on clock function precision. Text by Roland
14822 2013-06-13 Roland McGrath <roland@hack.frob.com>
14824 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14825 it into place only when and if the sanity check passes.
14827 2013-06-13 Joseph Myers <joseph@codesourcery.com>
14829 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14830 output for whether conversion result is exact. Take argument
14831 indicating whether type is IBM long double.
14832 (round_for_all): Change need_exact field to ibm_ld.
14833 * stdlib/tst-strtod-round.c (struct exactness): New type.
14834 (struct test): Change bool ld_ok field to struct exactness exact.
14835 (TEST): Update all definitions for change to field.
14836 (tests): Regenerate array contents.
14837 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14838 field value. Check for IBM long double here.
14839 (do_test): Update calls to test_in_one_mode.
14841 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14844 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14845 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14847 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14850 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14851 generated by the compiler on loop optimizations.
14852 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14853 general definitions.
14855 2013-06-12 Joseph Myers <joseph@codesourcery.com>
14857 * math/bug-nextafter.c: Include <math-tests.h>.
14858 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14860 * math/bug-nexttoward.c: Include <math-tests.h>.
14861 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14863 * math/test-misc.c: Include <math-tests.h>.
14864 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14867 2013-06-12 Andreas Jaeger <aj@suse.de>
14869 * po/ia.po: Update Interlingua translation from translation
14872 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14874 * include/fenv.h: Include stdbool.h.
14875 (struct rm_ctx): New structure.
14876 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14878 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14879 (SET_RESTORE_ROUNDF): Likewise.
14880 (SET_RESTORE_ROUNDL): Likewise.
14881 (SET_RESTORE_ROUND_NOEX): Likewise.
14882 (SET_RESTORE_ROUND_NOEXF): Likewise.
14883 (SET_RESTORE_ROUND_NOEXL): Likewise.
14884 (SET_RESTORE_ROUND_53BIT): Likewise.
14885 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14886 (libc_feresetround_noexf_ctx): Likewise.
14887 (libc_feresetround_noexl_ctx): Likewise.
14888 (libc_feholdsetround_53bit_ctx): Likewise.
14889 (libc_feresetround_53bit_ctx): Likewise.
14890 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14891 (libc_feholdexcept_setround_sse_ctx): New function.
14892 (libc_fesetenv_sse_ctx): Likewise.
14893 (libc_feupdateenv_sse_ctx): Likewise.
14894 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14895 (libc_feholdexcept_setround_387_ctx): Likewise.
14896 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14897 (libc_feholdsetround_387_prec_ctx): Likewise.
14898 (libc_feholdsetround_387_ctx): Likewise.
14899 (libc_feholdsetround_387_53bit_ctx): Likewise.
14900 (libc_feholdsetround_sse_ctx): Likewise.
14901 (libc_feresetround_sse_ctx): Likewise.
14902 (libc_feresetround_387_ctx): Likewise.
14903 (libc_feupdateenv_387_ctx): Likewise.
14904 (libc_feholdexcept_setroundf_ctx): Define macro.
14905 (libc_fesetenvf_ctx): Likewise.
14906 (libc_feupdateenvf_ctx): Likewise.
14907 (libc_feholdsetroundf_ctx): Likewise.
14908 (libc_feresetroundf_ctx): Likewise.
14909 (libc_feholdexcept_setround_ctx): Likewise.
14910 (libc_fesetenv_ctx): Likewise.
14911 (libc_feupdateenv_ctx): Likewise.
14912 (libc_feholdsetround_ctx): Likewise.
14913 (libc_feresetround_ctx): Likewise.
14914 (libc_feholdexcept_setroundl_ctx): Likewise.
14915 (libc_feupdateenvl_ctx): Likewise.
14916 (libc_feholdsetroundl_ctx): Likewise.
14917 (libc_feresetroundl_ctx): Likewise.
14918 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14919 (libc_feresetround_53bit_ctx): Likewise.
14921 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14923 * locale/iso-639.def: Convert to UTF-8.
14925 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14927 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14928 (EXCEPTION_TESTS_double): Likewise.
14929 (EXCEPTION_TESTS_long_double): Likewise.
14930 (EXCEPTION_TESTS): Likewise.
14931 * math/libm-test.inc (test_exceptions): Only test exceptions if
14932 EXCEPTION_TESTS (FLOAT).
14934 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14936 * benchtests/Makefile (string-bench): Add strcpy_chk and
14938 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14939 * benchtests/bench-stpcpy_chk.c: New file.
14940 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14941 * benchtests/bench-strcpy_chk.c: New file.
14942 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14944 (do_test): Likewise.
14946 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14949 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14950 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14951 with tabs where appropriate.
14952 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14954 [PPC_PLATFORM_PPC440]: Likewise.
14955 [PPC_PLATFORM_PPC464]: Likewise.
14956 [PPC_PLATFORM_PPC476]: Likewise.
14957 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14958 ppc464, and ppc476 platform strings merging from ports/
14961 2013-06-11 Andreas Schwab <schwab@suse.de>
14964 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14965 (from_ucs4_idx): Regenerate.
14966 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14967 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14968 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14969 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14970 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14971 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14972 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14973 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14974 from FROM_LOOP and TO_LOOP specific macros.
14975 (BODY): Handle combining characters.
14976 * iconvdata/BIG5HKSCS.irreversible: Update.
14977 * iconvdata/BIG5HKSCS.precomposed: New file.
14978 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14980 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14982 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14984 * include/sys/time.h: Fix indentation and add copyright header.
14986 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14987 (do_test): Likewise.
14988 * string/test-memchr.c (do_one_test): Likewise.
14989 (do_test): Likewise.
14990 * string/test-memcmp.c (do_one_test): Likewise.
14991 (do_test): Likewise.
14992 * string/test-memcpy.c (do_one_test): Likewise.
14993 (do_test): Likewise.
14994 * string/test-memmem.c (do_one_test): Likewise.
14995 (do_test): Likewise.
14996 (do_random_tests): Likewise.
14997 * string/test-memmove.c (do_one_test): Likewise.
14998 (do_test): Likewise.
14999 * string/test-memset.c (do_one_test): Likewise.
15000 (do_test): Likewise.
15001 * string/test-rawmemchr.c (do_one_test): Likewise.
15002 (do_test): Likewise.
15003 * string/test-strcasecmp.c (do_one_test): Likewise.
15004 (do_test): Likewise.
15005 * string/test-strcasestr.c (do_one_test): Likewise.
15006 (do_test): Likewise.
15007 * string/test-strcat.c (do_one_test): Likewise.
15008 (do_test): Likewise.
15009 * string/test-strchr.c (do_one_test): Likewise.
15010 (do_test): Likewise.
15011 * string/test-strcmp.c (do_one_test): Likewise.
15012 (do_test): Likewise.
15013 * string/test-strcpy.c (do_one_test): Likewise.
15014 (do_test): Likewise.
15015 * string/test-string.h: Likewise.
15016 (test_init): Likewise.
15017 * string/test-strlen.c (do_one_test): Likewise.
15018 (do_test): Likewise.
15019 * string/test-strncasecmp.c (do_one_test): Likewise.
15020 (do_test): Likewise.
15021 * string/test-strncat.c (do_one_test): Likewise.
15022 (do_test): Likewise.
15023 * string/test-strncmp.c (do_one_test): Likewise.
15024 (do_test_limit): Likewise.
15025 (do_test): Likewise.
15026 * string/test-strncpy.c (do_one_test): Likewise.
15027 (do_test): Likewise.
15028 * string/test-strnlen.c (do_one_test): Likewise.
15029 (do_test): Likewise.
15030 * string/test-strpbrk.c (do_one_test): Likewise.
15031 (do_test): Likewise.
15032 * string/test-strrchr.c (do_one_test): Likewise.
15033 (do_test): Likewise.
15034 * string/test-strspn.c (do_one_test): Likewise.
15035 (do_test): Likewise.
15036 * string/test-strstr.c (do_one_test): Likewise.
15037 (do_test): Likewise.
15039 * benchtests/Makefile (string-bench): Add string benchmarks.
15040 * benchtests/bench-bcopy-ifunc.c: New file.
15041 * benchtests/bench-bcopy.c: New file.
15042 * benchtests/bench-bzero-ifunc.c: New file.
15043 * benchtests/bench-bzero.c: New file.
15044 * benchtests/bench-memccpy-ifunc.c: New file.
15045 * benchtests/bench-memccpy.c: New file.
15046 * benchtests/bench-memchr-ifunc.c: New file.
15047 * benchtests/bench-memchr.c: New file.
15048 * benchtests/bench-memcmp-ifunc.c: New file.
15049 * benchtests/bench-memcmp.c: New file.
15050 * benchtests/bench-memmem-ifunc.c: New file.
15051 * benchtests/bench-memmem.c: New file.
15052 * benchtests/bench-memmove-ifunc.c: New file.
15053 * benchtests/bench-memmove.c: New file.
15054 * benchtests/bench-mempcpy-ifunc.c: New file.
15055 * benchtests/bench-mempcpy.c: New file.
15056 * benchtests/bench-memset-ifunc.c: New file.
15057 * benchtests/bench-memset.c: New file.
15058 * benchtests/bench-rawmemchr-ifunc.c: New file.
15059 * benchtests/bench-rawmemchr.c: New file.
15060 * benchtests/bench-stpcpy-ifunc.c: New file.
15061 * benchtests/bench-stpcpy.c: New file.
15062 * benchtests/bench-stpncpy-ifunc.c: New file.
15063 * benchtests/bench-stpncpy.c: New file.
15064 * benchtests/bench-strcasecmp-ifunc.c: New file.
15065 * benchtests/bench-strcasecmp.c: New file.
15066 * benchtests/bench-strcasestr-ifunc.c: New file.
15067 * benchtests/bench-strcasestr.c: New file.
15068 * benchtests/bench-strcat-ifunc.c: New file.
15069 * benchtests/bench-strcat.c: New file.
15070 * benchtests/bench-strchr-ifunc.c: New file.
15071 * benchtests/bench-strchr.c: New file.
15072 * benchtests/bench-strchrnul-ifunc.c: New file.
15073 * benchtests/bench-strchrnul.c: New file.
15074 * benchtests/bench-strcmp-ifunc.c: New file.
15075 * benchtests/bench-strcmp.c: New file.
15076 * benchtests/bench-strcpy-ifunc.c: New file.
15077 * benchtests/bench-strcpy.c: New file.
15078 * benchtests/bench-strcspn-ifunc.c: New file.
15079 * benchtests/bench-strcspn.c: New file.
15080 * benchtests/bench-strlen-ifunc.c: New file.
15081 * benchtests/bench-strlen.c: New file.
15082 * benchtests/bench-strncasecmp-ifunc.c: New file.
15083 * benchtests/bench-strncasecmp.c: New file.
15084 * benchtests/bench-strncat-ifunc.c: New file.
15085 * benchtests/bench-strncat.c: New file.
15086 * benchtests/bench-strncmp-ifunc.c: New file.
15087 * benchtests/bench-strncmp.c: New file.
15088 * benchtests/bench-strncpy-ifunc.c: New file.
15089 * benchtests/bench-strncpy.c: New file.
15090 * benchtests/bench-strnlen-ifunc.c: New file.
15091 * benchtests/bench-strnlen.c: New file.
15092 * benchtests/bench-strpbrk-ifunc.c: New file.
15093 * benchtests/bench-strpbrk.c: New file.
15094 * benchtests/bench-strrchr-ifunc.c: New file.
15095 * benchtests/bench-strrchr.c: New file.
15096 * benchtests/bench-strspn-ifunc.c: New file.
15097 * benchtests/bench-strspn.c: New file.
15098 * benchtests/bench-strstr-ifunc.c: New file.
15099 * benchtests/bench-strstr.c: New file.
15101 * benchtests/Makefile: Disable parallel execution of targets.
15102 (string-bench): Add memcpy.
15103 (benchset): New variable to store a list of benchmark sets.
15104 (bench-func): Renamed from bench.
15105 (bench-set): New target.
15106 (bench): Depend on bench-func and bench-set.
15107 * benchtests/README: Add section on benchmark sets.
15108 * benchtests/bench-memcpy-ifunc.c: New file.
15109 * benchtests/bench-memcpy.c: New file.
15110 * benchtests/bench-string.h: New file.
15112 2013-06-11 Andreas Schwab <schwab@suse.de>
15115 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15116 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15117 values in the triple.
15118 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15119 terminator in the group key.
15121 2013-06-11 Andreas Jaeger <aj@suse.de>
15123 * po/zh_TW.po: Update Chinese (traditional) translation from
15124 translation project.
15126 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15128 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15129 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15130 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15132 (clock_getcpuclockid): Likewise.
15133 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15134 Add weak_alias and libc_hidden_def.
15135 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15136 * rt/clock_gettime.c (clock_gettime): Rename to
15137 __clock_gettime. Add weak_alias and libc_hidden_def.
15138 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15139 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15140 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15141 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15142 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15144 * rt/clock_settime.c (clock_settime): Rename to
15145 __clock_settime. Add weak_alias and libc_hidden_def.
15146 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15148 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15150 * mach/err_boot.sub: Remove trailing whitespace.
15151 * mach/err_ipc.sub: Likewise.
15152 * mach/err_mach.sub: Likewise.
15154 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15155 (ROUNDING_TESTS_double): Likewise.
15156 (ROUNDING_TESTS_long_double): Likewise.
15157 (ROUNDING_TESTS): Likewise.
15158 * math/libm-test.inc: Include <math-tests.h>.
15159 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15160 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15161 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15162 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15164 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15166 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15169 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15171 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15172 otherwise empty TRANS lines.
15173 * sysdeps/gnu/errlist.c: Regenerated.
15175 * catgets/gencat.c (error_print): Use (void) in function
15177 * crypt/crypt_util.c (__init_des): Likewise.
15178 * crypt/speeds.c (Stop): Likewise.
15180 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15181 * inet/ruserpass.c (token): Likewise.
15182 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15183 * intl/localealias.c (extend_alias_table): Likewise.
15184 * intl/plural-exp.c (init_germanic_plural): Likewise.
15185 * libio/fcloseall.c (__fcloseall): Likewise.
15186 * libio/genops.c (_IO_flush_all): Likewise.
15187 (_IO_flush_all_linebuffered): Likewise.
15188 (_IO_cleanup): Likewise.
15189 (_IO_iter_begin): Likewise.
15190 (_IO_iter_end): Likewise.
15191 (_IO_list_lock): Likewise.
15192 (_IO_list_unlock): Likewise.
15193 (_IO_list_resetlock): Likewise.
15194 * libio/getchar.c (getchar): Likewise.
15195 * libio/getchar_u.c (getchar_unlocked): Likewise.
15196 * libio/getwchar.c (getwchar): Likewise.
15197 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15198 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15199 * login/getpt.c (__getpt): Likewise.
15200 * login/tst-utmp.c (main): Likewise.
15201 * malloc/hooks.c (__malloc_check_init): Likewise.
15202 * malloc/malloc.c (__malloc_stats): Likewise.
15203 * malloc/mtrace.c (tr_break): Likewise.
15204 (mtrace): Likewise.
15205 (muntrace): Likewise.
15206 * misc/fstab.c (endfsent): Likewise.
15207 * misc/getclktck.c (__getclktck): Likewise.
15208 * misc/getdtsz.c (__getdtablesize): Likewise.
15209 * misc/gethostid.c (gethostid): Likewise.
15210 * misc/getpagesize.c (__getpagesize): Likewise.
15211 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15212 (__get_nprocs): Likewise.
15213 (__get_phys_pages): Likewise.
15214 (__get_avphys_pages): Likewise.
15215 * misc/getttyent.c (getttyent): Likewise.
15216 (setttyent): Likewise.
15217 (endttyent): Likewise.
15218 * misc/getusershell.c (getusershell): Likewise.
15219 (endusershell): Likewise.
15220 (setusershell): Likewise.
15221 (initshells): Likewise.
15222 * misc/hsearch.c (__hdestroy): Likewise.
15223 * misc/sync.c (sync): Likewise.
15224 * misc/syslog.c (closelog_internal): Likewise.
15225 (closelog): Likewise.
15226 * misc/ttyslot.c (ttyslot): Likewise.
15227 * misc/vhangup.c (vhangup): Likewise.
15228 * posix/fork.c (__fork): Likewise.
15229 * posix/getegid.c (__getegid): Likewise.
15230 * posix/geteuid.c (__geteuid): Likewise.
15231 * posix/getgid.c (__getgid): Likewise.
15232 * posix/getpid.c (__getpid): Likewise.
15233 * posix/getppid.c (__getppid): Likewise.
15234 * posix/getuid.c (__getuid): Likewise.
15235 * posix/pause.c (pause): Likewise.
15236 * posix/setpgrp.c (setpgrp): Likewise.
15237 * posix/setsid.c (__setsid): Likewise.
15238 * posix/test-vfork.c (noop): Likewise.
15239 * resolv/gethnamaddr.c (_endhtent): Likewise.
15240 (_gethtent): Likewise.
15241 (ht_endhostent): Likewise.
15242 (gethostent): Likewise.
15243 (dns_service): Likewise.
15244 * stdlib/drand48.c (drand48): Likewise.
15245 * stdlib/lrand48.c (lrand48): Likewise.
15246 * stdlib/mrand48.c (mrand48): Likewise.
15247 * stdlib/rand.c (rand): Likewise.
15248 * stdlib/random.c (__random): Likewise.
15249 * stdlib/setenv.c (clearenv): Likewise.
15250 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15251 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15252 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15253 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15254 (__get_nprocs): Likewise.
15255 (__get_phys_pages): Likewise.
15256 (__get_avphys_pages): Likewise.
15257 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15258 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15259 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15260 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15261 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15262 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15263 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15264 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15265 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15266 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15267 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15268 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15269 * sysdeps/posix/clock.c (clock): Likewise.
15270 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15271 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15272 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15273 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15274 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15276 (__get_nprocs_conf): Likewise.
15277 (__get_phys_pages): Likewise.
15278 (__get_avphys_pages): Likewise.
15279 * time/clock.c (clock): Likewise.
15280 * time/tzset.c (__tzname_max): Likewise.
15282 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15284 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15285 (__bswap_32): Do not use "register".
15286 * crypt/crypt.c (_ufc_doit_r): Likewise.
15287 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15288 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15289 * gmon/gmon.c (__monstartup): Likewise.
15290 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15291 * hurd/hurdmalloc.c (more_memory): Likewise.
15292 (malloc): Likewise.
15294 (realloc): Likewise.
15295 (malloc_fork_prepare): Likewise.
15296 (malloc_fork_parent): Likewise.
15297 (malloc_fork_child): Likewise.
15298 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15299 (_svcauth_des): Likewise.
15300 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15301 * inet/inet_net.c (inet_network): Likewise.
15302 * inet/inet_netof.c (inet_netof): Likewise.
15303 * inet/rcmd.c (__validuser2_sa): Likewise.
15304 * io/fts.c (fts_open): Likewise.
15305 (fts_load): Likewise.
15306 (fts_close): Likewise.
15307 (fts_read): Likewise.
15308 (fts_children): Likewise.
15309 (fts_build): Likewise.
15310 (fts_stat): Likewise.
15311 (fts_sort): Likewise.
15312 (fts_alloc): Likewise.
15313 (fts_lfree): Likewise.
15314 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15315 (_IO_file_xsgetn): Likewise.
15316 (_IO_file_xsgetn_mmap): Likewise.
15317 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15318 (_IO_cookie_write): Likewise.
15319 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15320 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15321 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15322 * malloc/obstack.c (_obstack_begin): Likewise.
15323 (_obstack_begin_1): Likewise.
15324 (_obstack_newchunk): Likewise.
15325 (_obstack_allocated_p): Likewise.
15326 (obstack_free): Likewise.
15327 (_obstack_memory_used): Likewise.
15328 * misc/getttyent.c (getttynam): Likewise.
15329 (getttyent): Likewise.
15332 * misc/getusershell.c (initshells): Likewise.
15333 * misc/syslog.c (__vsyslog_chk): Likewise.
15334 * misc/ttyslot.c (ttyslot): Likewise.
15335 * nis/nis_hash.c (__nis_hash): Likewise.
15336 * posix/fnmatch_loop.c (FCT): Likewise.
15337 * posix/getconf.c (print_all): Likewise.
15339 * posix/getopt.c (exchange): Likewise.
15340 * posix/glob.c (globfree): Likewise.
15341 (prefix_array): Likewise.
15342 (__glob_pattern_type): Likewise.
15343 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15344 (NS_GET32): Likewise.
15345 (NS_PUT16): Likewise.
15346 (NS_PUT32): Likewise.
15347 * resolv/gethnamaddr.c (getanswer): Likewise.
15348 (gethostbyname2): Likewise.
15349 (gethostbyaddr): Likewise.
15350 (_gethtent): Likewise.
15351 (_gethtbyname2): Likewise.
15352 (_gethtbyaddr): Likewise.
15353 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15354 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15355 * resolv/res_init.c (__res_vinit): Likewise.
15356 (net_mask): Likewise.
15357 * resolv/res_mkquery.c (outchar): Likewise.
15359 * stdio-common/printf_fp.c (outchar): Likewise.
15361 * stdio-common/printf_fphex.c (outchar): Likewise.
15363 * stdio-common/printf_size.c (outchar): Likewise.
15365 * stdio-common/test_rdwr.c (main): Likewise.
15366 * stdio-common/tfformat.c (matches): Likewise.
15367 * stdio-common/vfprintf.c (outchar): Likewise.
15368 (printf_unknown): Likewise.
15369 (buffered_vfprintf): Likewise.
15370 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15371 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15372 (ReadFile): Likewise.
15373 * stdlib/qsort.c (SWAP): Likewise.
15374 (_quicksort): Likewise.
15375 * stdlib/setenv.c (__add_to_environ): Likewise.
15376 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15377 * stdlib/strtol_l.c (__strtol_l): Likewise.
15378 * stdlib/tst-strtod.c (main): Likewise.
15379 * stdlib/tst-strtol.c (main): Likewise.
15380 * stdlib/tst-strtoll.c (main): Likewise.
15381 * string/bits/string2.h (__strcmp_cc): Likewise.
15382 (__strcmp_cg): Likewise.
15383 (__strcspn_c1): Likewise.
15384 (__strcspn_c2): Likewise.
15385 (__strcspn_c3): Likewise.
15386 (__strspn_c1): Likewise.
15387 (__strspn_c2): Likewise.
15388 (__strspn_c3): Likewise.
15389 (__strsep_1c): Likewise.
15390 (__strsep_2c): Likewise.
15391 (__strsep_3c): Likewise.
15392 * string/memccpy.c (__memccpy): Likewise.
15393 * string/stpcpy.c (__stpcpy): Likewise.
15394 * string/strcmp.c (strcmp): Likewise.
15395 * string/strrchr.c (strrchr): Likewise.
15396 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15398 * sysdeps/mach/hurd/getcwd.c
15399 (_hurd_canonicalize_directory_name_internal): Likewise.
15400 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15401 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15402 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15403 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15404 Likewise, in both definitions.
15405 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15407 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15408 64] (__bswap_64): Likewise.
15409 * time/test_time.c (main): Likewise.
15410 * time/tzfile.c (__tzfile_read): Likewise.
15411 (__tzfile_compute): Likewise.
15412 * time/tzset.c (__tzset_parse_tz): Likewise.
15413 (tzset_internal): Likewise.
15414 (compute_change): Likewise.
15415 * wcsmbs/wcscat.c (__wcscat): Likewise.
15416 * wcsmbs/wcschr.c (wcschr): Likewise.
15417 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15418 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15419 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15420 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15421 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15422 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15423 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15424 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15425 * wcsmbs/wmemset.c (wmemset): Likewise.
15427 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15429 * scripts/config.guess: Update to version 2013-05-16.
15430 * scripts/config.sub: Update to version 2013-04-24.
15431 * scripts/install-sh: Update to version 2011-11-20.07.
15432 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15433 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15435 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15437 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15438 * elf/sln.c: Likewise.
15439 * hurd/hurd/ioctl.h: Likewise.
15440 * hurd/hurdmalloc.c: Likewise.
15441 * hurd/xattr.c: Likewise.
15442 * include/shlib-compat.h: Likewise.
15443 * inet/ruserpass.c: Likewise.
15444 * libio/iofgets_u.c: Likewise.
15445 * libio/iofgetws_u.c: Likewise.
15446 * locale/programs/ld-identification.c: Likewise.
15447 * locale/programs/ld-time.c: Likewise.
15448 * mach/msg-destroy.c: Likewise.
15449 * nss/nss_files/files-netgrp.c: Likewise.
15450 * resolv/res_data.c: Likewise.
15451 * soft-fp/op-1.h: Likewise.
15452 * soft-fp/op-2.h: Likewise.
15453 * soft-fp/op-4.h: Likewise.
15454 * soft-fp/op-common.h: Likewise.
15455 * stdio-common/printf_fphex.c: Likewise.
15456 * stdlib/strtod_l.c: Likewise.
15457 * sunrpc/rpc/clnt.h: Likewise.
15458 * sysdeps/generic/framestate.c: Likewise.
15459 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15460 * sysdeps/i386/bsd-setjmp.S: Likewise.
15461 * sysdeps/i386/__longjmp.S: Likewise.
15462 * sysdeps/i386/setjmp.S: Likewise.
15463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15464 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15481 * sysdeps/ieee754/support.c: Likewise.
15482 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15483 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15484 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15485 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15486 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15487 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15488 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15489 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15490 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15491 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15492 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15493 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15494 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15495 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15496 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15497 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15498 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15501 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15503 * posix/transbug.c: Remove executable mode.
15505 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15507 * crypt/speeds.c: Remove trailing whitespace.
15508 * dlfcn/default.c: Likewise.
15509 * elf/ifuncdep2.c: Likewise.
15510 * elf/ifuncmain1.c: Likewise.
15511 * elf/ifuncmain1vis.c: Likewise.
15512 * elf/testobj.h: Likewise.
15513 * elf/tst-stackguard1.c: Likewise.
15514 * gmon/sys/gmon.h: Likewise.
15515 * hurd/hurdmsg.c: Likewise.
15516 * hurd/new-fd.c: Likewise.
15517 * hurd/ports-get.c: Likewise.
15518 * iconvdata/ibm1008_420.c: Likewise.
15519 * inet/tst-getni1.c: Likewise.
15520 * inet/tst-getni2.c: Likewise.
15521 * libio/ioungetc.c: Likewise.
15522 * libio/wfiledoalloc.c: Likewise.
15523 * manual/libm-err-tab.pl: Likewise.
15524 * math/w_dremf.c: Likewise.
15525 * misc/ftruncate.c: Likewise.
15526 * posix/bug-glob2.c: Likewise.
15527 * posix/tst-pcre.c: Likewise.
15528 * posix/wait4.c: Likewise.
15529 * resolv/README: Likewise.
15530 * resolv/res_debug.h: Likewise.
15531 * resolv/tst-inet_ntop.c: Likewise.
15532 * setjmp/bug269-setjmp.c: Likewise.
15533 * soft-fp/extended.h: Likewise.
15534 * soft-fp/op-1.h: Likewise.
15535 * soft-fp/op-2.h: Likewise.
15536 * soft-fp/op-4.h: Likewise.
15537 * soft-fp/op-8.h: Likewise.
15538 * soft-fp/testit.c: Likewise.
15539 * stdio-common/bug16.c: Likewise.
15540 * stdlib/random.c: Likewise.
15541 * sunrpc/rpcsvc/rquota.x: Likewise.
15542 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15543 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15545 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15546 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15548 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15550 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15571 * sysdeps/ieee754/s_lib_version.c: Likewise.
15572 * sysdeps/mach/hurd/check_fds.c: Likewise.
15573 * sysdeps/mach/hurd/getsockname.c: Likewise.
15574 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15575 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15576 * sysdeps/powerpc/bits/link.h: Likewise.
15577 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15578 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15579 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15580 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15581 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15582 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15583 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15584 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15585 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15586 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15587 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15588 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15589 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15590 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15591 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15592 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15596 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15598 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15600 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15601 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15603 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15604 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15606 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15609 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15610 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15611 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15612 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15613 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15614 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15615 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15616 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15617 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15618 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15619 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15620 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15621 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15622 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15623 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15624 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15625 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15626 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15629 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15630 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15631 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15632 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15633 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15635 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15636 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15637 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15639 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15640 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15641 * sysdeps/powerpc/sysdep.h: Likewise.
15642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15643 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15644 * sysdeps/sh/dl-trampoline.S: Likewise.
15645 * sysdeps/sh/memset.S: Likewise.
15646 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15647 * sysdeps/sh/strlen.S: Likewise.
15648 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15649 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15650 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15651 * sysdeps/sparc/sparc32/rem.S: Likewise.
15652 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15653 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15654 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15655 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15656 * sysdeps/sparc/sparc32/urem.S: Likewise.
15657 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15658 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15659 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15660 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15661 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15662 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15663 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15664 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15665 * sysdeps/unix/bsd/times.c: Likewise.
15666 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15667 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15671 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15672 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15673 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15674 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15675 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15676 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15677 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15678 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15679 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15681 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15683 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15684 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15685 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15686 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15687 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15688 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15689 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15690 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15691 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15692 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15693 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15694 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15695 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15696 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15697 * sysdeps/x86_64/strcspn.S: Likewise.
15699 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15701 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15702 generated file. Regenerate properly from gen-translit.pl.
15703 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15704 locale/C-translit.h.
15706 2013-06-05 Andreas Schwab <schwab@suse.de>
15709 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15710 week as 6 instead of -1.
15711 * time/tst-strptime.c (day_tests): Add test case.
15713 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15715 * sysdeps/generic/math_private.h
15716 (libc_feholdexcept_setround_53bit): Replace with
15717 libc_feholdsetround_53bit.
15718 (libc_feupdateenv_53bit): Replace with
15719 libc_feresetround_53bit.
15720 (SET_RESTORE_ROUND_53BIT): Adjust.
15722 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15724 * string/test-strchrnul.c: Add copyright header.
15726 * posix/tst-getaddrinfo4.c: Increase test timeout.
15728 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15731 * math/libm-test.inc (MAX_EXP): Remove
15733 (ulp): Use MIN_EXP - MANT_DIG.
15734 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15736 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15738 * po/be.po: Revert last change.
15739 * po/zh_CN.po: Likewise.
15740 * po/header.pot: Likewise.
15742 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15744 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15745 link-libc-deps to empty as target-specific variable.
15746 * Makerules (link-libc-args): New variable.
15747 (libc-for-link): Likewise.
15748 (link-libc-deps): Likewise.
15749 (lib%.so): Depend on $(link-libc-deps). Link with
15751 (build-module): Link with $(link-libc-args).
15752 (build-module-asneeded): Likewise.
15753 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15755 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15756 target-specific variable.
15757 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15758 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15759 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15761 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15763 ($(objpfx)libpcprofile.so): Likewise.
15764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15766 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15767 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15768 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15770 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15771 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15772 * login/Makefile ($(objpfx)libutil.so): Likewise.
15773 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15774 * math/Makefile ($(objpfx)libm.so): Likewise.
15775 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15776 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15777 variable instead of depending directly on libc.
15778 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15779 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15781 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15783 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15784 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15785 ($(objpfx)libanl.so): Likewise.
15786 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15788 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15790 * sysdeps/i386/fpu/Makefile: Remove file.
15791 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15792 ($(objpfx)libm.so): Remove dependency on ld.so.
15794 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15797 * nis/yp_xdr.c (XDRMAXNAME): Define.
15798 (XDRMAXRECORD): Define.
15799 (xdr_domainname): Use XDRMAXNAME.
15800 (xdr_mapname): Likewise.
15801 (xdr_peername): Likewise.
15802 (xdr_keydat): Use XDRMAXRECORD.
15803 (xdr_valdat): Likewise.
15805 2013-05-30 Jeff Law <law@redhat.com>
15808 * manual/errno.texi (ESTALE): Update to account for more than
15809 just NFS file systems.
15810 * sysdeps/gnu/errlist.c: Regenerated.
15812 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15815 * elf/Makefile (tests): Add tst-null-argv.
15816 (modules-names): Add tst-null-argv-lib.
15817 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15818 (tst-null-argv-ENV): Set environment for tst-null-argv.
15819 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15820 (RTLD_PROGNAME): New macro.
15821 * elf/tst-null-argv.c: New test case.
15822 * elf/tst-null-argv-lib.c: Library for test case.
15823 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15824 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15825 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15826 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15827 * elf/dl-init.c (call_init): Likewise.
15828 (_dl_init): Likewise.
15829 * elf/dl-load.c (print_search_path): Likewise.
15830 (_dl_map_object): Likewise.
15831 * elf/dl-lookup.c (do_lookup_x): Likewise.
15832 (add_dependency): Likewise.
15833 (_dl_lookup_symbol_x): Likewise.
15834 (_dl_debug_bindings): Likewise.
15835 * elf/dl-open.c (_dl_show_scope): Likewise.
15836 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15837 * elf/dl-version.c (match_symbol): Likewise.
15838 (_dl_check_map_versions): Likewise.
15839 * elf/rtld.c (dl_main): Likewise.
15840 (print_unresolved): Use RTLD_PROGNAME.
15841 (print_missing_version): Likewise.
15842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15843 (elf_machine_rela): Likewise.
15844 * sysdeps/powerpc/powerpc32/dl-machine.c
15845 (__process_machine_rela): Likewise.
15846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15859 2013-05-28 Carlos O'Donell <carlos@redhat.com>
15861 * po/be.po: Add descriptive title.
15862 * po/zh_CN.po: Likewise.
15863 * po/header.pot: Likewise.
15865 2013-05-28 Mike Frysinger <vapier@gentoo.org>
15867 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15869 (enlarge_archive): Likewise.
15871 2013-05-28 Ben North <ben@redfrontdoor.org>
15873 * manual/arith.texi (frexp): It is the magnitude of the return
15874 value which lies in [0.5, 1), not the return value itself.
15876 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15880 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15882 * stdio-common/bug26.c (main): Correct fscanf template.
15884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15885 declare _dl_skip_args.
15887 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15890 * manual/platform.texi: Add missing @end deftypefun.
15892 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15895 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15896 bit of mantissa of 2^16382.
15897 * math/libm-test.inc (hypot_test_data): Add more tests.
15899 * math/libm-test.inc: Add drem and pow10 to list of tested
15901 (pow10_test): New function.
15902 (drem_test): Likewise.
15903 (drem_test_tonearest): Likewise.
15904 (drem_test_towardzero): Likewise.
15905 (drem_test_downward): Likewise.
15906 (drem_test_upward): Likewise.
15907 (main): Call the new functions.
15909 * math/libm-test.inc (finite_test_data): Remove.
15910 (finite_test): Run tests from isfinite_test_data.
15911 (gamma_test_data): Remove.
15912 (gamma_test): Run tests from lgamma_test_data.
15913 * sysdeps/i386/fpu/libm-test-ulps: Update.
15914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15916 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15918 * manual/platform.texi: Add PowerPC PPR function set documentation.
15919 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15922 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15924 * math/libm-test.inc (MAX_EXP): Define.
15926 (ulp): New function.
15927 (check_float_internal): Use ULPDIFF.
15928 (cpow_test): Disable failing test.
15929 (check_ulp): Test ulp() implemetnation.
15930 (main): Call check_ulp before starting tests.
15932 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15934 * math/gen-libm-test.pl (generate_testfile): Do not handle
15935 START_DATA and END_DATA.
15936 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15938 (acos_tonearest_test_data): Likewise.
15939 (acos_towardzero_test_data): Likewise.
15940 (acos_downward_test_data): Likewise.
15941 (acos_upward_test_data): Likewise.
15942 (acosh_test_data): Likewise.
15943 (asin_test_data): Likewise.
15944 (asin_tonearest_test_data): Likewise.
15945 (asin_towardzero_test_data): Likewise.
15946 (asin_downward_test_data): Likewise.
15947 (asin_upward_test_data): Likewise.
15948 (asinh_test_data): Likewise.
15949 (atan_test_data): Likewise.
15950 (atanh_test_data): Likewise.
15951 (atan2_test_data): Likewise.
15952 (cabs_test_data): Likewise.
15953 (cacos_test_data): Likewise.
15954 (cacosh_test_data): Likewise.
15955 (carg_test_data): Likewise.
15956 (casin_test_data): Likewise.
15957 (casinh_test_data): Likewise.
15958 (catan_test_data): Likewise.
15959 (catanh_test_data): Likewise.
15960 (cbrt_test_data): Likewise.
15961 (ccos_test_data): Likewise.
15962 (ccosh_test_data): Likewise.
15963 (ceil_test_data): Likewise.
15964 (cexp_test_data): Likewise.
15965 (cimag_test_data): Likewise.
15966 (clog_test_data): Likewise.
15967 (clog10_test_data): Likewise.
15968 (conj_test_data): Likewise.
15969 (copysign_test_data): Likewise.
15970 (cos_test_data): Likewise.
15971 (cos_tonearest_test_data): Likewise.
15972 (cos_towardzero_test_data): Likewise.
15973 (cos_downward_test_data): Likewise.
15974 (cos_upward_test_data): Likewise.
15975 (cosh_test_data): Likewise.
15976 (cosh_tonearest_test_data): Likewise.
15977 (cosh_towardzero_test_data): Likewise.
15978 (cosh_downward_test_data): Likewise.
15979 (cosh_upward_test_data): Likewise.
15980 (cpow_test_data): Likewise.
15981 (cproj_test_data): Likewise.
15982 (creal_test_data): Likewise.
15983 (csin_test_data): Likewise.
15984 (csinh_test_data): Likewise.
15985 (csqrt_test_data): Likewise.
15986 (ctan_test_data): Likewise.
15987 (ctan_tonearest_test_data): Likewise.
15988 (ctan_towardzero_test_data): Likewise.
15989 (ctan_downward_test_data): Likewise.
15990 (ctan_upward_test_data): Likewise.
15991 (ctanh_test_data): Likewise.
15992 (ctanh_tonearest_test_data): Likewise.
15993 (ctanh_towardzero_test_data): Likewise.
15994 (ctanh_downward_test_data): Likewise.
15995 (ctanh_upward_test_data): Likewise.
15996 (erf_test_data): Likewise.
15997 (erfc_test_data): Likewise.
15998 (exp_test_data): Likewise.
15999 (exp_tonearest_test_data): Likewise.
16000 (exp_towardzero_test_data): Likewise.
16001 (exp_downward_test_data): Likewise.
16002 (exp_upward_test_data): Likewise.
16003 (exp10_test_data): Likewise.
16004 (exp2_test_data): Likewise.
16005 (expm1_test_data): Likewise.
16006 (fabs_test_data): Likewise.
16007 (fdim_test_data): Likewise.
16008 (finite_test_data): Likewise.
16009 (floor_test_data): Likewise.
16010 (fma_test_data): Likewise.
16011 (fma_towardzero_test_data): Likewise.
16012 (fma_downward_test_data): Likewise.
16013 (fma_upward_test_data): Likewise.
16014 (fmax_test_data): Likewise.
16015 (fmin_test_data): Likewise.
16016 (fmod_test_data): Likewise.
16017 (fpclassify_test_data): Likewise.
16018 (frexp_test_data): Likewise.
16019 (gamma_test_data): Likewise.
16020 (hypot_test_data): Likewise.
16021 (ilogb_test_data): Likewise.
16022 (isfinite_test_data): Likewise.
16023 (isgreater_test_data): Likewise.
16024 (isgreaterequal_test_data): Likewise.
16025 (isinf_test_data): Likewise.
16026 (isless_test_data): Likewise.
16027 (islessequal_test_data): Likewise.
16028 (islessgreater_test_data): Likewise.
16029 (isnan_test_data): Likewise.
16030 (isnormal_test_data): Likewise.
16031 (issignaling_test_data): Likewise.
16032 (isunordered_test_data): Likewise.
16033 (j0_test_data): Likewise.
16034 (j1_test_data): Likewise.
16035 (jn_test_data): Likewise.
16036 (ldexp_test_data): Likewise.
16037 (lgamma_test_data): Likewise.
16038 (lrint_test_data): Likewise.
16039 (lrint_tonearest_test_data): Likewise.
16040 (lrint_towardzero_test_data): Likewise.
16041 (lrint_downward_test_data): Likewise.
16042 (lrint_upward_test_data): Likewise.
16043 (llrint_test_data): Likewise.
16044 (llrint_tonearest_test_data): Likewise.
16045 (llrint_towardzero_test_data): Likewise.
16046 (llrint_downward_test_data): Likewise.
16047 (llrint_upward_test_data): Likewise.
16048 (log_test_data): Likewise.
16049 (log10_test_data): Likewise.
16050 (log1p_test_data): Likewise.
16051 (log2_test_data): Likewise.
16052 (logb_test_data): Likewise.
16053 (logb_downward_test_data): Likewise.
16054 (lround_test_data): Likewise.
16055 (llround_test_data): Likewise.
16056 (modf_test_data): Likewise.
16057 (nearbyint_test_data): Likewise.
16058 (nextafter_test_data): Likewise.
16059 (nexttoward_test_data): Likewise.
16060 (pow_test_data): Likewise.
16061 (pow_tonearest_test_data): Likewise.
16062 (pow_towardzero_test_data): Likewise.
16063 (pow_downward_test_data): Likewise.
16064 (pow_upward_test_data): Likewise.
16065 (remainder_test_data): Likewise.
16066 (remainder_tonearest_test_data): Likewise.
16067 (remainder_towardzero_test_data): Likewise.
16068 (remainder_downward_test_data): Likewise.
16069 (remainder_upward_test_data): Likewise.
16070 (remquo_test_data): Likewise.
16071 (rint_test_data): Likewise.
16072 (rint_tonearest_test_data): Likewise.
16073 (rint_towardzero_test_data): Likewise.
16074 (rint_downward_test_data): Likewise.
16075 (rint_upward_test_data): Likewise.
16076 (round_test_data): Likewise.
16077 (scalb_test_data): Likewise.
16078 (scalbn_test_data): Likewise.
16079 (scalbln_test_data): Likewise.
16080 (signbit_test_data): Likewise.
16081 (sin_test_data): Likewise.
16082 (sin_tonearest_test_data): Likewise.
16083 (sin_towardzero_test_data): Likewise.
16084 (sin_downward_test_data): Likewise.
16085 (sin_upward_test_data): Likewise.
16086 (sincos_test_data): Likewise.
16087 (sinh_test_data): Likewise.
16088 (sinh_tonearest_test_data): Likewise.
16089 (sinh_towardzero_test_data): Likewise.
16090 (sinh_downward_test_data): Likewise.
16091 (sinh_upward_test_data): Likewise.
16092 (sqrt_test_data): Likewise.
16093 (tan_test_data): Likewise.
16094 (tan_tonearest_test_data): Likewise.
16095 (tan_towardzero_test_data): Likewise.
16096 (tan_downward_test_data): Likewise.
16097 (tan_upward_test_data): Likewise.
16098 (tanh_test_data): Likewise.
16099 (tgamma_test_data): Likewise.
16100 (trunc_test_data): Likewise.
16101 (y0_test_data): Likewise.
16102 (y1_test_data): Likewise.
16103 (yn_test_data): Likewise.
16104 (significand_test_data): Likewise.
16106 * math/gen-libm-test.pl (@functions): Remove variable.
16107 (generate_testfile): Don't handle START and END lines.
16108 * math/libm-test.inc (START): New macro.
16110 (END_COMPLEX): Likewise.
16111 (acos_test): Use END macro without arguments.
16112 (acos_test_tonearest): Likewise.
16113 (acos_test_towardzero): Likewise.
16114 (acos_test_downward): Likewise.
16115 (acos_test_upward): Likewise.
16116 (acosh_test): Likewise.
16117 (asin_test): Likewise.
16118 (asin_test_tonearest): Likewise.
16119 (asin_test_towardzero): Likewise.
16120 (asin_test_downward): Likewise.
16121 (asin_test_upward): Likewise.
16122 (asinh_test): Likewise.
16123 (atan_test): Likewise.
16124 (atanh_test): Likewise.
16125 (atan2_test): Likewise.
16126 (cabs_test): Likewise.
16127 (cacos_test): Use END_COMPLEX macro without arguments.
16128 (cacosh_test): Likewise.
16129 (carg_test): Use END macro without arguments.
16130 (casin_test): Use END_COMPLEX macro without arguments.
16131 (casinh_test): Likewise.
16132 (catan_test): Likewise.
16133 (catanh_test): Likewise.
16134 (cbrt_test): Use END macro without arguments.
16135 (ccos_test): Use END_COMPLEX macro without arguments.
16136 (ccosh_test): Likewise.
16137 (ceil_test): Use END macro without arguments.
16138 (cexp_test): Use END_COMPLEX macro without arguments.
16139 (cimag_test): Use END macro without arguments.
16140 (clog_test): Use END_COMPLEX macro without arguments.
16141 (clog10_test): Likewise.
16142 (conj_test): Likewise.
16143 (copysign_test): Use END macro without arguments.
16144 (cos_test): Likewise.
16145 (cos_test_tonearest): Likewise.
16146 (cos_test_towardzero): Likewise.
16147 (cos_test_downward): Likewise.
16148 (cos_test_upward): Likewise.
16149 (cosh_test): Likewise.
16150 (cosh_test_tonearest): Likewise.
16151 (cosh_test_towardzero): Likewise.
16152 (cosh_test_downward): Likewise.
16153 (cosh_test_upward): Likewise.
16154 (cpow_test): Use END_COMPLEX macro without arguments.
16155 (cproj_test): Likewise.
16156 (creal_test): Use END macro without arguments.
16157 (csin_test): Use END_COMPLEX macro without arguments.
16158 (csinh_test): Likewise.
16159 (csqrt_test): Likewise.
16160 (ctan_test): Likewise.
16161 (ctan_test_tonearest): Likewise.
16162 (ctan_test_towardzero): Likewise.
16163 (ctan_test_downward): Likewise.
16164 (ctan_test_upward): Likewise.
16165 (ctanh_test): Likewise.
16166 (ctanh_test_tonearest): Likewise.
16167 (ctanh_test_towardzero): Likewise.
16168 (ctanh_test_downward): Likewise.
16169 (ctanh_test_upward): Likewise.
16170 (erf_test): Use END macro without arguments.
16171 (erfc_test): Likewise.
16172 (exp_test): Likewise.
16173 (exp_test_tonearest): Likewise.
16174 (exp_test_towardzero): Likewise.
16175 (exp_test_downward): Likewise.
16176 (exp_test_upward): Likewise.
16177 (exp10_test): Likewise.
16178 (exp2_test): Likewise.
16179 (expm1_test): Likewise.
16180 (fabs_test): Likewise.
16181 (fdim_test): Likewise.
16182 (finite_test): Likewise.
16183 (floor_test): Likewise.
16184 (fma_test): Likewise.
16185 (fma_test_towardzero): Likewise.
16186 (fma_test_downward): Likewise.
16187 (fma_test_upward): Likewise.
16188 (fmax_test): Likewise.
16189 (fmin_test): Likewise.
16190 (fmod_test): Likewise.
16191 (fpclassify_test): Likewise.
16192 (frexp_test): Likewise.
16193 (gamma_test): Likewise.
16194 (hypot_test): Likewise.
16195 (ilogb_test): Likewise.
16196 (isfinite_test): Likewise.
16197 (isgreater_test): Likewise.
16198 (isgreaterequal_test): Likewise.
16199 (isinf_test): Likewise.
16200 (isless_test): Likewise.
16201 (islessequal_test): Likewise.
16202 (islessgreater_test): Likewise.
16203 (isnan_test): Likewise.
16204 (isnormal_test): Likewise.
16205 (issignaling_test): Likewise.
16206 (isunordered_test): Likewise.
16207 (j0_test): Likewise.
16208 (j1_test): Likewise.
16209 (jn_test): Likewise.
16210 (ldexp_test): Likewise.
16211 (lgamma_test): Likewise.
16212 (lrint_test): Likewise.
16213 (lrint_test_tonearest): Likewise.
16214 (lrint_test_towardzero): Likewise.
16215 (lrint_test_downward): Likewise.
16216 (lrint_test_upward): Likewise.
16217 (llrint_test): Likewise.
16218 (llrint_test_tonearest): Likewise.
16219 (llrint_test_towardzero): Likewise.
16220 (llrint_test_downward): Likewise.
16221 (llrint_test_upward): Likewise.
16222 (log_test): Likewise.
16223 (log10_test): Likewise.
16224 (log1p_test): Likewise.
16225 (log2_test): Likewise.
16226 (logb_test): Likewise.
16227 (logb_test_downward): Likewise.
16228 (lround_test): Likewise.
16229 (llround_test): Likewise.
16230 (modf_test): Likewise.
16231 (nearbyint_test): Likewise.
16232 (nextafter_test): Likewise.
16233 (nexttoward_test): Likewise.
16234 (pow_test): Likewise.
16235 (pow_test_tonearest): Likewise.
16236 (pow_test_towardzero): Likewise.
16237 (pow_test_downward): Likewise.
16238 (pow_test_upward): Likewise.
16239 (remainder_test): Likewise.
16240 (remainder_test_tonearest): Likewise.
16241 (remainder_test_towardzero): Likewise.
16242 (remainder_test_downward): Likewise.
16243 (remainder_test_upward): Likewise.
16244 (remquo_test): Likewise.
16245 (rint_test): Likewise.
16246 (rint_test_tonearest): Likewise.
16247 (rint_test_towardzero): Likewise.
16248 (rint_test_downward): Likewise.
16249 (rint_test_upward): Likewise.
16250 (round_test): Likewise.
16251 (scalb_test): Likewise.
16252 (scalbn_test): Likewise.
16253 (scalbln_test): Likewise.
16254 (signbit_test): Likewise.
16255 (sin_test): Likewise.
16256 (sin_test_tonearest): Likewise.
16257 (sin_test_towardzero): Likewise.
16258 (sin_test_downward): Likewise.
16259 (sin_test_upward): Likewise.
16260 (sincos_test): Likewise.
16261 (sinh_test): Likewise.
16262 (sinh_test_tonearest): Likewise.
16263 (sinh_test_towardzero): Likewise.
16264 (sinh_test_downward): Likewise.
16265 (sinh_test_upward): Likewise.
16266 (sqrt_test): Likewise.
16267 (tan_test): Likewise.
16268 (tan_test_tonearest): Likewise.
16269 (tan_test_towardzero): Likewise.
16270 (tan_test_downward): Likewise.
16271 (tan_test_upward): Likewise.
16272 (tanh_test): Likewise.
16273 (tgamma_test): Likewise.
16274 (trunc_test): Likewise.
16275 (y0_test): Likewise.
16276 (y1_test): Likewise.
16277 (yn_test): Likewise.
16278 (significand_test): Likewise.
16280 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16283 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16285 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16288 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16289 __ppc_mdoio and __ppc_mdoom.
16290 * manual/platform.texi: Document new functions __ppc_yield,
16291 __ppc_mdoio and __ppc_mdoom.
16293 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16295 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16296 (main): Mention "tls" pseudo-hwcap is legacy.
16297 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16299 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16301 * math/gen-libm-test.pl (parse_args): Output only string of
16302 arguments as text for test name, not full call or descriptions of
16303 tests for extra outputs.
16304 (generate_testfile): Do not pass function name to parse_args.
16305 Generate this_func variable from START.
16306 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16308 (struct test_ff_f_data): Likewise.
16309 (test_ff_f_data_nexttoward): Likewise.
16310 (struct test_fi_f_data): Likewise.
16311 (struct test_fl_f_data): Likewise.
16312 (struct test_if_f_data): Likewise.
16313 (struct test_fff_f_data): Likewise.
16314 (struct test_c_f_data): Likewise.
16315 (struct test_f_f1_data): Likewise. Remove field extra_name.
16316 (struct test_fF_f1_data): Likewise.
16317 (struct test_ffI_f1_data): Likewise.
16318 (struct test_c_c_data): Rename test_name field to arg_str.
16319 (struct test_cc_c_data): Likewise.
16320 (struct test_f_i_data): Likewise.
16321 (struct test_ff_i_data): Likewise.
16322 (struct test_f_l_data): Likewise.
16323 (struct test_f_L_data): Likewise.
16324 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16326 (COMMON_TEST_SETUP): New macro.
16327 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16328 (COMMON_TEST_CLEANUP): Likewise.
16329 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16330 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16332 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16333 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16335 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16336 (RUN_TEST_fff_f): Take argument string. Call new setup and
16338 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16339 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16341 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16342 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16344 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16345 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16347 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16348 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16350 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16351 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16353 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16354 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16356 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16357 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16359 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16360 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16362 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16363 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16365 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16366 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16368 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16369 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16371 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16372 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16374 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16375 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16377 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16378 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16380 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16381 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16383 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16385 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16387 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16388 to _sifields.sigfault.
16389 (si_addr_lsb): Define new macro.
16390 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16392 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16394 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16397 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16399 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16401 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16402 loading the domain.
16404 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16406 * math/gen-libm-test.pl (parse_args): Do not include expected
16407 result in test name.
16408 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16410 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16412 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16415 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16417 * benchtests/Makefile: Sort function entries.
16419 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16420 tanh, asinh, acosh, atanh.
16421 * benchtests/acos-inputs: New file.
16422 * benchtests/acosh-inputs: New file.
16423 * benchtests/asin-inputs: New file.
16424 * benchtests/asinh-inputs: New file.
16425 * benchtests/atanh-inputs: New file.
16426 * benchtests/cosh-inputs: New file.
16427 * benchtests/log-inputs: New file.
16428 * benchtests/sinh-inputs: New file.
16429 * benchtests/tanh-inputs: New file.
16431 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16434 * posix/tst-getaddrinfo4.c: New test.
16435 * posix/Makefile (tests): Add it.
16437 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16440 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16441 when no services were used.
16442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16443 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16445 2013-05-21 Andreas Schwab <schwab@suse.de>
16448 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16449 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16451 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16452 redundant variable declarations and reallocation of buffer when
16453 parsing as IPv6 address. Always set NSS status when called from
16454 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16455 buffer too small. Correct computation of needed size.
16456 * nss/Makefile (tests): Add test-digits-dots.
16457 * nss/test-digits-dots.c: New test.
16459 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16461 * benchtests/Makefile: Remove instructions for adding
16463 * benchtests/README: New file to explain how to execute and
16464 enhance the benchmark tests.
16466 2013-05-21 Andreas Schwab <schwab@suse.de>
16469 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16470 * setjmp/tst-sigsetjmp.c: New test.
16472 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16474 * sysdeps/x86_64/memset.S (memset): New implementation.
16475 (__bzero): Likewise.
16476 (__memset_tail): New function.
16478 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16480 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16481 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16482 __memcpy_sse2_unaligned ifunc selection.
16483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16484 Add memcpy-sse2-unaligned.S.
16485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16486 Add: __memcpy_sse2_unaligned.
16488 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16491 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16492 math_force_eval before restoring floating-point envrionment.
16493 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16496 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16498 (__nearbyintl): Use math_force_eval before restoring
16499 floating-point environment.
16500 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16502 * math/gen-libm-test.pl (special_functions): Remove.
16503 (parse_args): Don't handle TEST_extra. Handle functions with no
16505 * math/libm-test.inc (struct test_sincos_data): Replace with
16506 struct test_fFF_11_data.
16507 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16508 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16509 (sincos_test_data): Change element type to struct
16510 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16511 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16512 RUN_TEST_LOOP_sincos.
16513 * math/README.libm-test: Don't mention special handling of
16514 individual functions.
16515 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16517 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16518 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16522 * math/gen-libm-test.pl (get_variable): Remove function.
16523 (parse_args): Don't show pointer parameters to call in test
16524 names. Use "extra output N" in test names for extra outputs
16525 rather than naming variables.
16527 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16530 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16531 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16532 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16534 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16536 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16539 * math/gen-libm-test.pl (@tests): Remove variable.
16540 ($count): Likewise.
16541 (new_test): Remove function.
16542 (show_exceptions): New function.
16543 (special_functions): Use show_exceptions instead of new_test.
16544 (parse_args): Likewise.
16545 (generate_testfile): Pass only function name in generated call to
16546 print_max_error or print_complex_max_error.
16547 (get_ulps): Do not handle complex tests specially.
16548 (output_test): Rename to ...
16549 (get_all_ulps_for_test): ... this. Return a string rather than
16550 printing to a file. Require ulps to be present.
16551 (output_ulps): Generate arrays rather than #defines.
16552 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16553 (struct ulp_data): New type.
16554 (BUILD_COMPLEX_ULP): Remove macro.
16555 (compare_ulp_data): New function.
16556 (find_ulps): Likewise.
16557 (find_test_ulps): Likewise.
16558 (find_function_ulps): Likewise.
16559 (find_complex_function_ulps): Likewise.
16560 (print_max_error): Determine allowed ulps using
16561 find_function_ulps.
16562 (print_complex_max_error): Determine allowed ulps using
16563 find_complex_function_ulps.
16564 (check_float_internal): Determine max ulps using find_test_ulps.
16565 (check_float): Do not take max_ulp parameter. Update call to
16566 check_float_internal.
16567 (check_complex): Likewise.
16568 (check_int): Do not take max_ulp parameter.
16569 (check_long): Likewise.
16570 (check_bool): Likewise.
16571 (check_longlong): Likewise.
16572 (struct test_f_f_data): Remove max_ulp field.
16573 (struct test_ff_f_data): Likewise.
16574 (struct test_ff_f_data_nexttoward): Likewise.
16575 (struct test_fi_f_data): Likewise.
16576 (struct test_fl_f_data): Likewise.
16577 (struct test_if_f_data): Likewise.
16578 (struct test_fff_f_data): Likewise.
16579 (struct test_c_f_data): Likewise.
16580 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16581 (struct test_fF_f1_data): Likewise.
16582 (struct test_ffI_f1_data): Likewise.
16583 (struct test_c_c_data): Remove max_ulp field.
16584 (struct test_cc_c_data): Likewise.
16585 (struct test_f_i_data): Likewise.
16586 (struct test_ff_i_data): Likewise.
16587 (struct test_f_l_data): Likewise.
16588 (struct test_f_L_data): Likewise.
16589 (struct test_sincos_data): Likewise.
16590 (RUN_TEST_f_f): Do not handle ulps.
16591 (RUN_TEST_LOOP_f_f): Likewise.
16592 (RUN_TEST_2_f): Likewise.
16593 (RUN_TEST_LOOP_2_f): Likewise.
16594 (RUN_TEST_fff_f): Likewise.
16595 (RUN_TEST_LOOP_fff_f): Likewise.
16596 (RUN_TEST_c_f): Likewise.
16597 (RUN_TEST_LOOP_c_f): Likewise.
16598 (RUN_TEST_f_f1): Likewise.
16599 (RUN_TEST_LOOP_f_f1): Likewise.
16600 (RUN_TEST_fF_f1): Likewise.
16601 (RUN_TEST_LOOP_fF_f1): Likewise.
16602 (RUN_TEST_fI_f1): Likewise.
16603 (RUN_TEST_LOOP_fI_f1): Likewise.
16604 (RUN_TEST_ffI_f1): Likewise.
16605 (RUN_TEST_LOOP_ffI_f1): Likewise.
16606 (RUN_TEST_c_c): Likewise.
16607 (RUN_TEST_LOOP_c_c): Likewise.
16608 (RUN_TEST_cc_c): Likewise.
16609 (RUN_TEST_LOOP_cc_c): Likewise.
16610 (RUN_TEST_f_i): Likewise.
16611 (RUN_TEST_LOOP_f_i): Likewise.
16612 (RUN_TEST_f_i_tg): Likewise.
16613 (RUN_TEST_LOOP_f_i_tg): Likewise.
16614 (RUN_TEST_ff_i_tg): Likewise.
16615 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16616 (RUN_TEST_f_b): Likewise.
16617 (RUN_TEST_LOOP_f_b): Likewise.
16618 (RUN_TEST_f_b_tg): Likewise.
16619 (RUN_TEST_LOOP_f_b_tg): Likewise.
16620 (RUN_TEST_f_l): Likewise.
16621 (RUN_TEST_LOOP_f_l): Likewise.
16622 (RUN_TEST_f_L): Likewise.
16623 (RUN_TEST_LOOP_f_L): Likewise.
16624 (RUN_TEST_sincos): Likewise.
16625 (RUN_TEST_LOOP_sincos): Likewise.
16627 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16631 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16632 main case of finite arguments, set rounding mode to FE_TONEAREST
16633 and discard exceptions.
16634 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16636 (remainder_tonearest_test_data): New variable.
16637 (remainder_test_tonearest): New function.
16638 (remainder_towardzero_test_data): New variable.
16639 (remainder_test_towardzero): New function.
16640 (remainder_downward_test_data): New variable.
16641 (remainder_test_downward): New function.
16642 (remainder_upward_test_data): New variable.
16643 (remainder_test_upward): New function.
16644 (main): Call the new test functions.
16646 * math/libm-test.inc (struct test_f_f1_data): Remove field
16648 (struct test_fF_f1_data): Likewise.
16649 (struct test_ffI_f1_data): Likewise.
16650 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16651 based on value of EXTRA_EXPECTED.
16652 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16653 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16654 EXTRA_VAR based on value of EXTRA_EXPECTED.
16655 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16656 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16657 EXTRA_VAR based on value of EXTRA_EXPECTED.
16658 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16659 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16660 EXTRA_VAR based on value of EXTRA_EXPECTED.
16661 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16662 * math/gen-libm-test.pl (parse_args): Don't output initializers
16663 for extra output values.
16665 * math/libm-test.inc (check_int): Expect result to be exactly
16666 equal to expected value and do not handle ulps.
16667 (check_long): Likewise.
16668 (check_longlong): Likewise.
16670 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16672 (cimag_test_data): Likewise.
16673 (conj_test_data): Likewise.
16674 (copysign_test_data): Likewise.
16675 (cproj_test_data): Likewise.
16676 (creal_test_data): Likewise.
16677 (fabs_test_data): Likewise.
16678 (fdim_test_data): Likewise.
16679 (finite_test_data): Likewise.
16680 (floor_test_data): Likewise.
16681 (fmax_test_data): Likewise.
16682 (fmin_test_data): Likewise.
16683 (fmod_test_data): Likewise.
16684 (fpclassify_test_data): Likewise.
16685 (frexp_test_data): Likewise.
16686 (ilogb_test_data): Likewise.
16687 (isfinite_test_data): Likewise.
16688 (isgreater_test_data): Likewise.
16689 (isgreaterequal_test_data): Likewise.
16690 (isinf_test_data): Likewise.
16691 (isless_test_data): Likewise.
16692 (islessequal_test_data): Likewise.
16693 (islessgreater_test_data): Likewise.
16694 (isnan_test_data): Likewise.
16695 (isnormal_test_data): Likewise.
16696 (issignaling_test_data): Likewise.
16697 (isunordered_test_data): Likewise.
16698 (ldexp_test_data): Likewise.
16699 (lrint_test_data): Likewise.
16700 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16701 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16702 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16703 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16704 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16705 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16707 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16708 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16709 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16710 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16712 (lrint_downward_test_data): Test for "inexact" exceptions.
16713 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16714 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16715 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16717 (lrint_upward_test_data): Test for "inexact" exceptions.
16718 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16720 (llrint_test_data): Test for "inexact" exceptions.
16721 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16722 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16723 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16724 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16725 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16726 (llrint_downward_test_data): Test for "inexact" exceptions.
16727 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16728 (llrint_upward_test_data): Test for "inexact" exceptions.
16729 (logb_test_data): Likewise.
16730 (logb_downward_test_data): Likewise.
16731 (nextafter_test_data): Likewise.
16732 (nexttoward_test_data): Likewise.
16733 (remainder_test_data): Likewise.
16734 (remquo_test_data): Likewise.
16735 (scalbn_test_data): Likewise.
16736 (scalbln_test_data): Likewise.
16737 (signbit_test_data): Likewise.
16738 (sqrt_test_data): Likewise.
16739 (significand_test_data): Likewise.
16741 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16744 * benchtests/bench-modf.c (struct args): Mark arg0 as
16746 * scripts/bench.pl: Mark members of struct args as volatile.
16748 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16751 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16752 negative infinity on POWER6 or lower.
16753 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16755 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16758 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16759 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16760 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16761 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16762 (_FP_SETQNAN): New macro.
16763 (_FP_SETQNAN_SEMIRAW): Likewise.
16764 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16765 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16766 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16767 (FP_EXTEND): Use _FP_FRAC_SNANP.
16768 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16769 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16771 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16773 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16776 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16778 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16779 with DIVIDE_BY_ZERO_EXCEPTION.
16780 (gamma_test_data): Likewise.
16781 (lgamma_test_data): Likewise.
16782 (log_test_data): Likewise.
16783 (log10_test_data): Likewise.
16784 (log2_test_data): Likewise.
16785 (tgamma_test_data): Likewise.
16787 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16788 (acos_test_tonearest): Likewise.
16789 (acos_test_towardzero): Likewise.
16790 (acos_test_downward): Likewise.
16791 (acos_test_upward): Likewise.
16792 (acosh_test): Likewise.
16793 (asin_test): Likewise.
16794 (asin_test_tonearest): Likewise.
16795 (asin_test_towardzero): Likewise.
16796 (asin_test_downward): Likewise.
16797 (asin_test_upward): Likewise.
16798 (asinh_test): Likewise.
16799 (atan_test): Likewise.
16800 (atanh_test): Likewise.
16801 (atan2_test): Likewise.
16802 (cabs_test): Likewise.
16803 (cacos_test): Likewise.
16804 (cacosh_test): Likewise.
16805 (casin_test): Likewise.
16806 (casinh_test): Likewise.
16807 (catan_test): Likewise.
16808 (catanh_test): Likewise.
16809 (cbrt_test): Likewise.
16810 (ccos_test): Likewise.
16811 (ccosh_test): Likewise.
16812 (cexp_test): Likewise.
16813 (clog_test): Likewise.
16814 (clog10_test): Likewise.
16815 (cos_test): Likewise.
16816 (cos_test_tonearest): Likewise.
16817 (cos_test_towardzero): Likewise.
16818 (cos_test_downward): Likewise.
16819 (cos_test_upward): Likewise.
16820 (cosh_test): Likewise.
16821 (cosh_test_tonearest): Likewise.
16822 (cosh_test_towardzero): Likewise.
16823 (cosh_test_downward): Likewise.
16824 (cosh_test_upward): Likewise.
16825 (cpow_test): Likewise.
16826 (csin_test): Likewise.
16827 (csinh_test): Likewise.
16828 (csqrt_test): Likewise.
16829 (ctan_test): Likewise.
16830 (ctan_test_tonearest): Likewise.
16831 (ctan_test_towardzero): Likewise.
16832 (ctan_test_downward): Likewise.
16833 (ctan_test_upward): Likewise.
16834 (ctanh_test): Likewise.
16835 (ctanh_test_tonearest): Likewise.
16836 (ctanh_test_towardzero): Likewise.
16837 (ctanh_test_downward): Likewise.
16838 (ctanh_test_upward): Likewise.
16839 (erf_test): Likewise.
16840 (erfc_test): Likewise.
16841 (exp_test): Likewise.
16842 (exp_test_tonearest): Likewise.
16843 (exp_test_towardzero): Likewise.
16844 (exp_test_downward): Likewise.
16845 (exp_test_upward): Likewise.
16846 (exp10_test): Likewise.
16847 (exp2_test): Likewise.
16848 (expm1_test): Likewise.
16849 (fmod_test): Likewise.
16850 (gamma_test): Likewise.
16851 (hypot_test): Likewise.
16852 (j0_test): Likewise.
16853 (j1_test): Likewise.
16854 (jn_test): Likewise.
16855 (lgamma_test): Likewise.
16856 (log_test): Likewise.
16857 (log10_test): Likewise.
16858 (log1p_test): Likewise.
16859 (log2_test): Likewise.
16860 (logb_test_downward): Likewise.
16861 (pow_test): Likewise.
16862 (pow_test_tonearest): Likewise.
16863 (pow_test_towardzero): Likewise.
16864 (pow_test_downward): Likewise.
16865 (pow_test_upward): Likewise.
16866 (remainder_test): Likewise.
16867 (remquo_test): Likewise.
16868 (sin_test): Likewise.
16869 (sin_test_tonearest): Likewise.
16870 (sin_test_towardzero): Likewise.
16871 (sin_test_downward): Likewise.
16872 (sin_test_upward): Likewise.
16873 (sincos_test): Likewise.
16874 (sinh_test): Likewise.
16875 (sinh_test_tonearest): Likewise.
16876 (sinh_test_towardzero): Likewise.
16877 (sinh_test_downward): Likewise.
16878 (sinh_test_upward): Likewise.
16879 (sqrt_test): Likewise.
16880 (tan_test): Likewise.
16881 (tan_test_tonearest): Likewise.
16882 (tan_test_towardzero): Likewise.
16883 (tan_test_downward): Likewise.
16884 (tan_test_upward): Likewise.
16885 (tanh_test): Likewise.
16886 (tgamma_test): Likewise.
16887 (y0_test): Likewise.
16888 (y1_test): Likewise.
16889 (yn_test): Likewise.
16891 * math/gen-libm-test.pl (adjust_arg): Remove function.
16892 (special_function): Remove argument $in_func. Only handle
16893 generating output for tables of tests, not inside functions.
16894 (parse_args): Likewise.
16895 (generate_testfile): Remove variable $in_func. Update call to
16897 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16898 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16899 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16900 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16901 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16902 (MAX_VALUE_INIT): Rename macro to max_value.
16903 (MIN_VALUE_INIT): Rename macro to min_value.
16904 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16905 (plus_zero): Remove variable.
16906 (minus_zero): Likewise.
16907 (plus_infty): Likewise.
16908 (minus_infty): Likewise.
16909 (qnan_value): Likewise.
16910 (max_value): Likewise.
16911 (min_value): Likewise.
16912 (min_subnorm_value): Likewise.
16914 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16916 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16917 uint64_t or uint32_t usage.
16918 * crypt/sha256-block.c: Likewise.
16919 * crypt/sha256-crypt.c: Likewise.
16920 * crypt/sha256.c: Likewise.
16921 * crypt/sha512-block.c: Likewise.
16922 * crypt/sha512-crypt.c: Likewise.
16923 * crypt/sha512.c: Likewise.
16924 * debug/backtrace-tst.c: Likewise.
16925 * debug/pcprofiledump.c: Likewise.
16926 * elf/cache.c: Likewise.
16927 * elf/dl-cache.c: Likewise.
16928 * elf/dl-misc.c: Likewise.
16929 * elf/dl-profile.c: Likewise.
16930 * elf/dl-support.c: Likewise.
16931 * elf/ldconfig.c: Likewise.
16932 * elf/sprof.c: Likewise.
16933 * iconv/dummy-repertoire.c: Likewise.
16934 * iconv/iconv_charmap.c: Likewise.
16935 * iconv/skeleton.c: Likewise.
16936 * iconvdata/8bit-generic.c: Likewise.
16937 * iconvdata/cp737.h: Likewise.
16938 * iconvdata/cp775.h: Likewise.
16939 * iconvdata/ibm1008.h: Likewise.
16940 * iconvdata/ibm1025.h: Likewise.
16941 * iconvdata/ibm1046.h: Likewise.
16942 * iconvdata/ibm1097.h: Likewise.
16943 * iconvdata/ibm1112.h: Likewise.
16944 * iconvdata/ibm1122.h: Likewise.
16945 * iconvdata/ibm1123.h: Likewise.
16946 * iconvdata/ibm1124.h: Likewise.
16947 * iconvdata/ibm1129.h: Likewise.
16948 * iconvdata/ibm1130.h: Likewise.
16949 * iconvdata/ibm1132.h: Likewise.
16950 * iconvdata/ibm1133.h: Likewise.
16951 * iconvdata/ibm1137.h: Likewise.
16952 * iconvdata/ibm1140.h: Likewise.
16953 * iconvdata/ibm1141.h: Likewise.
16954 * iconvdata/ibm1142.h: Likewise.
16955 * iconvdata/ibm1143.h: Likewise.
16956 * iconvdata/ibm1144.h: Likewise.
16957 * iconvdata/ibm1145.h: Likewise.
16958 * iconvdata/ibm1146.h: Likewise.
16959 * iconvdata/ibm1147.h: Likewise.
16960 * iconvdata/ibm1148.h: Likewise.
16961 * iconvdata/ibm1149.h: Likewise.
16962 * iconvdata/ibm1153.h: Likewise.
16963 * iconvdata/ibm1154.h: Likewise.
16964 * iconvdata/ibm1155.h: Likewise.
16965 * iconvdata/ibm1156.h: Likewise.
16966 * iconvdata/ibm1157.h: Likewise.
16967 * iconvdata/ibm1158.h: Likewise.
16968 * iconvdata/ibm1160.h: Likewise.
16969 * iconvdata/ibm1161.h: Likewise.
16970 * iconvdata/ibm1162.h: Likewise.
16971 * iconvdata/ibm1163.h: Likewise.
16972 * iconvdata/ibm1164.h: Likewise.
16973 * iconvdata/ibm1166.h: Likewise.
16974 * iconvdata/ibm1167.h: Likewise.
16975 * iconvdata/ibm12712.h: Likewise.
16976 * iconvdata/ibm1390.h: Likewise.
16977 * iconvdata/ibm1399.h: Likewise.
16978 * iconvdata/ibm16804.h: Likewise.
16979 * iconvdata/ibm4517.h: Likewise.
16980 * iconvdata/ibm4899.h: Likewise.
16981 * iconvdata/ibm4909.h: Likewise.
16982 * iconvdata/ibm4971.h: Likewise.
16983 * iconvdata/ibm5347.h: Likewise.
16984 * iconvdata/ibm803.h: Likewise.
16985 * iconvdata/ibm856.h: Likewise.
16986 * iconvdata/ibm901.h: Likewise.
16987 * iconvdata/ibm902.h: Likewise.
16988 * iconvdata/ibm9030.h: Likewise.
16989 * iconvdata/ibm9066.h: Likewise.
16990 * iconvdata/ibm921.h: Likewise.
16991 * iconvdata/ibm922.h: Likewise.
16992 * iconvdata/ibm9448.h: Likewise.
16993 * iconvdata/isiri-3342.h: Likewise.
16994 * iconvdata/jis0201.h: Likewise.
16995 * include/link.h: Likewise.
16996 * include/netdb.h: Likewise.
16997 * inet/check_native.c: Likewise.
16998 * inet/check_pf.c: Likewise.
16999 * inet/getipv4sourcefilter.c: Likewise.
17000 * inet/getnameinfo.c: Likewise.
17001 * inet/getsourcefilter.c: Likewise.
17002 * inet/htonl.c: Likewise.
17003 * inet/setipv4sourcefilter.c: Likewise.
17004 * inet/setsourcefilter.c: Likewise.
17005 * inet/test-inet6_opt.c: Likewise.
17006 * inet/tst-network.c: Likewise.
17007 * locale/C-collate.c: Likewise.
17008 * locale/C-ctype.c: Likewise.
17009 * locale/C-time.c: Likewise.
17010 * locale/C-translit.h: Likewise.
17011 * locale/loadarchive.c: Likewise.
17012 * locale/programs/3level.h: Likewise.
17013 * locale/programs/charmap.c: Likewise.
17014 * locale/programs/charmap.h: Likewise.
17015 * locale/programs/ld-address.c: Likewise.
17016 * locale/programs/ld-collate.c: Likewise.
17017 * locale/programs/ld-ctype.c: Likewise.
17018 * locale/programs/ld-identification.c: Likewise.
17019 * locale/programs/ld-measurement.c: Likewise.
17020 * locale/programs/ld-messages.c: Likewise.
17021 * locale/programs/ld-monetary.c: Likewise.
17022 * locale/programs/ld-name.c: Likewise.
17023 * locale/programs/ld-numeric.c: Likewise.
17024 * locale/programs/ld-paper.c: Likewise.
17025 * locale/programs/ld-telephone.c: Likewise.
17026 * locale/programs/ld-time.c: Likewise.
17027 * locale/programs/linereader.c: Likewise.
17028 * locale/programs/locale.c: Likewise.
17029 * locale/programs/locarchive.c: Likewise.
17030 * locale/programs/locfile.h: Likewise.
17031 * locale/programs/repertoire.c: Likewise.
17032 * locale/programs/simple-hash.c: Likewise.
17033 * locale/programs/simple-hash.h: Likewise.
17034 * malloc/memusage.c: Likewise.
17035 * malloc/memusagestat.c: Likewise.
17036 * nis/nis_defaults.c: Likewise.
17037 * nis/nis_hash.c: Likewise.
17038 * nis/nis_print.c: Likewise.
17039 * nis/nis_xdr.c: Likewise.
17040 * nscd/connections.c: Likewise.
17041 * nscd/hstcache.c: Likewise.
17042 * nscd/nscd_gethst_r.c: Likewise.
17043 * nscd/nscd_getserv_r.c: Likewise.
17044 * nscd/nscd_helper.c: Likewise.
17045 * nscd/servicescache.c: Likewise.
17046 * nss/makedb.c: Likewise.
17047 * nss/nss_db/db-XXX.c: Likewise.
17048 * nss/nss_db/db-initgroups.c: Likewise.
17049 * nss/nss_db/db-netgrp.c: Likewise.
17050 * nss/nss_files/files-network.c: Likewise.
17051 * nss/nss_files/files-parse.c: Likewise.
17052 * posix/bug-regex5.c: Likewise.
17053 * posix/fnmatch_loop.c: Likewise.
17054 * posix/regcomp.c: Likewise.
17055 * posix/regexec.c: Likewise.
17056 * posix/tst-rfc3484-2.c: Likewise.
17057 * posix/tst-rfc3484-3.c: Likewise.
17058 * posix/tst-rfc3484.c: Likewise.
17059 * resolv/nss_dns/dns-canon.c: Likewise.
17060 * resolv/nss_dns/dns-network.c: Likewise.
17061 * resolv/res_init.c: Likewise.
17062 * resolv/res_mkquery.c: Likewise.
17063 * resolv/tst-aton.c: Likewise.
17064 * stdlib/cxa_atexit.c: Likewise.
17065 * stdlib/cxa_finalize.c: Likewise.
17066 * stdlib/gen-fpioconst.c: Likewise.
17067 * stdlib/strtol_l.c: Likewise.
17068 * string/tst-endian.c: Likewise.
17069 * sunrpc/auth_des.c: Likewise.
17070 * sunrpc/clnt_udp.c: Likewise.
17071 * sunrpc/rtime.c: Likewise.
17072 * sunrpc/svcauth_des.c: Likewise.
17073 * sunrpc/xdr.c: Likewise.
17074 * sunrpc/xdr_intXX_t.c: Likewise.
17075 * sunrpc/xdr_rec.c: Likewise.
17076 * sysdeps/generic/ldconfig.h: Likewise.
17077 * sysdeps/generic/ldsodefs.h: Likewise.
17078 * sysdeps/generic/memusage.h: Likewise.
17079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17089 * sysdeps/posix/getaddrinfo.c: Likewise.
17090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17092 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17093 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17094 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17095 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17096 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17097 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17098 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17099 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17100 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17101 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17102 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17103 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17104 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17105 * sysdeps/x86_64/dl-tls.h: Likewise.
17106 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17107 * time/alt_digit.c: Likewise.
17108 * time/era.c: Likewise.
17109 * wcsmbs/tst-c16c32-1.c: Likewise.
17111 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17113 * math/libm-test.inc (struct test_sincos_data): New type.
17114 (RUN_TEST_LOOP_sincos): New macro.
17115 (sincos_test_data): New variable.
17116 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17118 2013-05-16 Richard Henderson <rth@redhat.com>
17120 * math/atest-exp2.c (LIMB64): New macro.
17121 (CONSTSZ): New macro.
17122 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17124 (print_mpn_fp): ... to function scope.
17125 (read_mpn_hex): Remove.
17126 (get_log2): Remove.
17127 (exp2_mpn): Use mp_log2.
17128 (main): Use mp_exp1.
17130 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17132 * math/libm-test.inc: Remove comment about not testing "inexact"
17134 (INEXACT_EXCEPTION): New macro.
17135 (NO_INEXACT_EXCEPTION): Likewise.
17136 (INVALID_EXCEPTION_OK): Update value.
17137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17138 (OVERFLOW_EXCEPTION_OK): Likewise.
17139 (UNDERFLOW_EXCEPTION_OK): Likewise.
17140 (IGNORE_ZERO_INF_SIGN): Likewise.
17141 (ERRNO_UNCHANGED): Likewise.
17142 (ERRNO_EDOM): Likewise.
17143 (ERRNO_ERANGE): Likewise.
17144 (test_exceptions): Handle testing "inexact" exceptions.
17145 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17146 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17147 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17148 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17150 (rint_towardzero_test_data): Likewise.
17151 (rint_downward_test_data): Likewise.
17152 (rint_upward_test_data): Likewise.
17154 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17155 with OVERFLOW_EXCEPTION.
17156 (exp10_test_data): Likewise.
17157 (exp2_test_data): Likewise.
17158 (expm1_test_data): Likewise.
17159 (lgamma_test_data): Likewise.
17160 (pow_test_data): Likewise.
17161 (tgamma_test_data): Likewise.
17162 (yn_test_data): Remove duplicate test of overflow.
17164 * math/libm-test.inc (struct test_cc_c_data): New type.
17165 (RUN_TEST_LOOP_cc_c): New macro.
17166 (cpow_test_data): New variable.
17167 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17169 * math/libm-test.inc (struct test_f_L_data): New type.
17170 (RUN_TEST_LOOP_f_L): New macro.
17171 (llrint_test_data): New variable.
17172 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17173 (llrint_tonearest_test_data): New variable.
17174 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17175 (llrint_towardzero_test_data): New variable.
17176 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17177 (llrint_downward_test_data): New variable.
17178 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17179 (llrint_upward_test_data): New variable.
17180 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17181 (llround_test_data): New variable.
17182 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17184 2013-05-13 Peter Collingbourne <pcc@google.com>
17186 * math/atest-exp2.c (get_log2): Remove const attribute.
17188 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17190 * math/libm-test.inc (struct test_f_l_data): New type.
17191 (RUN_TEST_LOOP_f_l): New macro.
17192 (lrint_test_data): New variable.
17193 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17194 (lrint_tonearest_test_data): New variable.
17195 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17196 (lrint_towardzero_test_data): New variable.
17197 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17198 (lrint_downward_test_data): New variable.
17199 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17200 (lrint_upward_test_data): New variable.
17201 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17202 (lround_test_data): New variable.
17203 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17205 2013-05-15 Peter Collingbourne <pcc@google.com>
17207 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17208 (EXTRACT_WORDS64) Use where appropriate.
17209 (INSERT_WORDS64) Likewise.
17211 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17212 constraints with x constraints.
17213 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17215 * malloc/obstack.c (_obstack_compat): Add initializer.
17217 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17220 si_trapno and add si_addr_lsb to _sifields.sigfault.
17221 (si_trapno): Remove macro.
17222 (si_addr_lsb): Define new macro.
17223 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17225 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17227 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17228 instead of TEST_f_l.
17229 (llrint_test_tonearest): Likewise.
17230 (llrint_test_towardzero): Likewise.
17231 (llrint_test_downward): Likewise.
17232 (llrint_test_upward): Likewise.
17233 (llround_test): Likewise.
17235 * math/libm-test.inc (struct test_f_i_data): Add comment.
17236 (RUN_TEST_LOOP_f_b): New macro.
17237 (RUN_TEST_LOOP_f_b_tg): Likewise.
17238 (finite_test_data): New variable.
17239 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17240 (isfinite_test_data): New variable.
17241 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17242 (isinf_test_data): New variable.
17243 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17244 (isnan_test_data): New variable.
17245 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17246 (isnormal_test_data): New variable.
17247 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17248 (issignaling_test_data): New variable.
17249 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17250 (signbit_test_data): New variable.
17251 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17253 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17254 with INVALID_EXCEPTION.
17255 (acosh_test_data): Likewise.
17256 (asin_test_data): Likewise.
17257 (atanh_test_data): Likewise.
17258 (fmod_test_data): Likewise.
17259 (log_test_data): Likewise.
17260 (log10_test_data): Likewise.
17261 (log2_test_data): Likewise.
17262 (pow_test_data): Likewise.
17263 (sqrt_test_data): Likewise.
17264 (y0_test_data): Likewise.
17265 (y1_test_data): Likewise.
17266 (yn_test_data): Likewise.
17268 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17271 * math/libm-test.inc (struct test_ff_i_data): New type.
17272 (RUN_TEST_LOOP_ff_i_tg): New macro.
17273 (isgreater_test_data): New variable.
17274 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17275 (isgreaterequal_test_data): New variable.
17276 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17277 (isless_test_data): New variable.
17278 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17279 (islessequal_test_data): New variable.
17280 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17281 (islessgreater_test_data): New variable.
17282 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17283 (isunordered_test_data): New variable.
17284 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17286 2013-05-14 David S. Miller <davem@davemloft.net>
17288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17290 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17292 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17294 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17296 (struct test_f_i_data): Change type of max_ulp to int.
17298 * math/libm-test.inc (test_ffI_f1_data): New type.
17299 (RUN_TEST_LOOP_ffI_f1): New macro.
17300 (remquo_test_data): New variable.
17301 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17303 * setjmp/tst-setjmp-fp.c: New file.
17304 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17305 (link-libm): New variable.
17306 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17308 * math/libm-test.inc (struct test_f_i_data): New type.
17309 (RUN_TEST_LOOP_f_i): New macro.
17310 (RUN_TEST_LOOP_f_i_tg): Likewise.
17311 (fpclassify_test_data): New variable.
17312 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17313 (ilogb_test_data): New variable.
17314 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17316 * math/libm-test.inc (scalbln_test): Correct function name in END
17319 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17320 (RUN_TEST_LOOP_fI_f1): New macro.
17321 (frexp_test_data): New variable.
17322 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17324 * math/libm-test.inc (struct test_fF_f1_data): New type.
17325 (RUN_TEST_LOOP_fF_f1): New macro.
17326 (modf_test_data): New variable.
17327 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17329 * math/libm-test.inc (struct test_f_f1_data): New type.
17330 (RUN_TEST_LOOP_f_f1): New macro.
17331 (gamma_test_data): New variable.
17332 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17333 (lgamma_test_data): New variable.
17334 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17336 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17338 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17339 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17340 (main): Comment "tls" pseudo-hwcap.
17342 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17344 * math/libm-test.inc (struct test_fl_f_data): New type.
17345 (RUN_TEST_LOOP_fl_f): New variable.
17346 (scalbln_test_data): New variable.
17347 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17349 * math/libm-test.inc (struct test_fi_f_data): New type.
17350 (RUN_TEST_LOOP_fi_f): New macro.
17351 (ldexp_test_data): New variable.
17352 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17353 (scalbn_test_data): New variable.
17354 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17356 * math/libm-test.inc (struct test_c_f_data): New type.
17357 (RUN_TEST_LOOP_c_f): New macro.
17358 (cabs_test_data): New variable.
17359 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17360 (carg_test_data): New variable.
17361 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17362 (cimag_test_data): New variable.
17363 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17364 (creal_test_data): New variable.
17365 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17367 * math/libm-test.inc (struct test_if_f_data): New type.
17368 (RUN_TEST_LOOP_if_f): New macro.
17369 (jn_test_data): New variable.
17370 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17371 (yn_test_data): New variable.
17372 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17374 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17376 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17378 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17379 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17381 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17383 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17384 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17385 (bench-deps): Add bench-timing.h.
17386 * benchtests-bench-skeleton.c: Include bench-timing.h.
17387 (main): Use TIMING_* macros instead of clock_gettime.
17388 * benchtests/bench-timing.h: New file.
17391 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17392 Renamed from _LIB_VERSION.
17393 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17395 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17397 * math/libm-test.inc (struct test_fff_f_data): New type.
17398 (RUN_TEST_LOOP_fff_f): New macro.
17399 (fma_test_data): New variable.
17400 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17401 (fma_towardzero_test_data): New variable.
17402 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17403 (fma_downward_test_data): New variable.
17404 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17405 (fma_upward_test_data): New variable.
17406 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17408 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17409 (struct test_c_c_data): New type.
17410 (RUN_TEST_LOOP_c_c): New macro.
17411 (cacos_test_data): New variable.
17412 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17413 (cacosh_test_data): New variable.
17414 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17415 (casin_test_data): New variable.
17416 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17417 (casinh_test_data): New variable.
17418 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17419 (catan_test_data): New variable.
17420 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17421 (catanh_test_data): New variable.
17422 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17423 (ccos_test_data): New variable.
17424 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17425 (ccosh_test_data): New variable.
17426 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17427 (cexp_test_data): New variable.
17428 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17429 (clog_test_data): New variable.
17430 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17431 (clog10_test_data): New variable.
17432 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17433 (conj_test_data): New variable.
17434 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17435 (cproj_test_data): New variable.
17436 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17437 (csin_test_data): New variable.
17438 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17439 (csinh_test_data): New variable.
17440 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17441 (csqrt_test_data): New variable.
17442 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17443 (ctan_test_data): New variable.
17444 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17445 (ctan_tonearest_test_data): New variable.
17446 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17447 (ctan_towardzero_test_data): New variable.
17448 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17449 (ctan_downward_test_data): New variable.
17450 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17451 (ctan_upward_test_data): New variable.
17452 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17453 (ctanh_test_data): New variable.
17454 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17455 (ctanh_tonearest_test_data): New variable.
17456 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17457 (ctanh_towardzero_test_data): New variable.
17458 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17459 (ctanh_downward_test_data): New variable.
17460 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17461 (ctanh_upward_test_data): New variable.
17462 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17463 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17466 * math/libm-test.inc (struct test_ff_f_data): New type.
17467 (struct test_ff_f_data_nexttoward): Likewise.
17468 (RUN_TEST_LOOP_2_f): New macro.
17469 (RUN_TEST_LOOP_ff_f): Likewise.
17470 (atan2_test_data): New variable.
17471 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17472 (copysign_test_data): New variable.
17473 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17474 (fdim_test_data): New variable.
17475 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17476 (fmax_test_data): New variable.
17477 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17478 (fmin_test_data): New variable.
17479 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17480 (fmod_test_data): New variable.
17481 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17482 (hypot_test_data): New variable.
17483 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17484 (nextafter_test_data): New variable.
17485 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17486 (nexttoward_test_data): New variable.
17487 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17488 (pow_test_data): New variable.
17489 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17490 (pow_tonearest_test_data): New variable.
17491 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17492 (pow_towardzero_test_data): New variable.
17493 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17494 (pow_downward_test_data): New variable.
17495 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17496 (pow_upward_test_data): New variable.
17497 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17498 (remainder_test_data): New variable.
17499 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17500 (scalb_test_data): New variable.
17501 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17502 * sysdeps/i386/fpu/libm-test-ulps: Update.
17504 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17506 * math/libm-test.inc (fma_test): Use max_value instead of local
17508 (nextafter_test): Likewise.
17510 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17511 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17512 (acos_downward_test_data): New variable.
17513 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17514 (acos_upward_test_data): New variable.
17515 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17516 (acosh_test_data): New variable.
17517 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17518 (asin_test_data): New variable.
17519 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17520 (asin_tonearest_test_data): New variable.
17521 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17522 (asin_towardzero_test_data): New variable.
17523 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17524 (asin_downward_test_data): New variable.
17525 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17526 (asin_upward_test_data): New variable.
17527 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17528 (asinh_test_data): New variable.
17529 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17530 (atan_test_data): New variable.
17531 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17532 (atanh_test_data): New variable.
17533 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17534 (cbrt_test_data): New variable.
17535 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17536 (ceil_test_data): New variable.
17537 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17538 (cos_test_data): New variable.
17539 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17540 (cos_tonearest_test_data): New variable.
17541 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17542 (cos_towardzero_test_data): New variable.
17543 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17544 (cos_downward_test_data): New variable.
17545 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17546 (cos_upward_test_data): New variable.
17547 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17548 (cosh_test_data): New variable.
17549 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17550 (cosh_tonearest_test_data): New variable.
17551 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17552 (cosh_towardzero_test_data): New variable.
17553 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17554 (cosh_downward_test_data): New variable.
17555 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17556 (cosh_upward_test_data): New variable.
17557 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17558 (erf_test_data): New variable.
17559 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17560 (erfc_test_data): New variable.
17561 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17562 (exp_test_data): New variable.
17563 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17564 (exp_tonearest_test_data): New variable.
17565 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17566 (exp_towardzero_test_data): New variable.
17567 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17568 (exp_downward_test_data): New variable.
17569 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17570 (exp_upward_test_data): New variable.
17571 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17572 (exp10_test_data): New variable.
17573 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17574 (exp2_test_data): New variable.
17575 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17576 (expm1_test_data): New variable.
17577 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17578 (fabs_test_data): New variable.
17579 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17580 (floor_test_data): New variable.
17581 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17582 (j0_test_data): New variable.
17583 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17584 (j1_test_data): New variable.
17585 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17586 (log_test_data): New variable.
17587 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17588 (log10_test_data): New variable.
17589 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17590 (log1p_test_data): New variable.
17591 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17592 (log2_test_data): New variable.
17593 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17594 (logb_test_data): New variable.
17595 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17596 (logb_downward_test_data): New variable.
17597 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17598 (nearbyint_test_data): New variable.
17599 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17600 (rint_test_data): New variable.
17601 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17602 (rint_tonearest_test_data): New variable.
17603 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17604 (rint_towardzero_test_data): New variable.
17605 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17606 (rint_downward_test_data): New variable.
17607 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17608 (rint_upward_test_data): New variable.
17609 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17610 (round_test_data): New variable.
17611 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17612 (sin_test_data): New variable.
17613 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17614 (sin_tonearest_test_data): New variable.
17615 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17616 (sin_towardzero_test_data): New variable.
17617 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17618 (sin_downward_test_data): New variable.
17619 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17620 (sin_upward_test_data): New variable.
17621 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17622 (sinh_test_data): New variable.
17623 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17624 (sinh_tonearest_test_data): New variable.
17625 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17626 (sinh_towardzero_test_data): New variable.
17627 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17628 (sinh_downward_test_data): New variable.
17629 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17630 (sinh_upward_test_data): New variable.
17631 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17632 (sqrt_test_data): New variable.
17633 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17634 (tan_test_data): New variable.
17635 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17636 (tan_tonearest_test_data): New variable.
17637 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17638 (tan_towardzero_test_data): New variable.
17639 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17640 (tan_downward_test_data): New variable.
17641 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17642 (tan_upward_test_data): New variable.
17643 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17644 (tanh_test_data): New variable.
17645 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17646 (tgamma_test_data): New variable.
17647 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17648 (trunc_test_data): New variable.
17649 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17650 (y0_test_data): New variable.
17651 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17652 (y1_test_data): New variable.
17653 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17654 (significand_test_data): New variable.
17655 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17657 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17660 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17662 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17664 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17666 2013-05-10 Andreas Jaeger <aj@suse.de>
17669 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17670 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17672 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17674 * math/gen-libm-test.pl (adjust_arg): New function.
17675 (special_functions): Handle generating output in both functions
17677 (parse_args): Likewise.
17678 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17679 $in_func argument to parse_args.
17680 * math/libm-test.inc (struct test_f_f_data): New type.
17681 (IF_ROUND_INIT_): New macro.
17682 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17683 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17684 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17685 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17686 (ROUND_RESTORE_): Likewise.
17687 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17688 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17689 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17690 (ROUND_RESTORE_FE_UPWARD): Likewise.
17691 (RUN_TEST_LOOP_f_f): New macro.
17692 (acos_test_data): New variable.
17693 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17694 (acos_tonearest_test_data): New variable.
17695 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17697 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17699 * benchtests/bench-skeleton.c (startup): Fix coding style.
17701 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17704 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17705 negative infinity argument.
17706 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17707 negative infinity argument.
17708 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17709 negative infinity argument.
17710 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17713 2013-05-10 Florian Weimer <fweimer@redhat.com>
17715 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17716 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17717 * iconv/iconv_prog.c (main): Likewise.
17718 * locale/programs/charmap-dir.c (charmap_readdir)
17719 (fopen_uncompressed): Likewise.
17720 * locale/programs/locfile.c (siblings_uncached)
17721 (write_locale_data): Use lstat64 instead of lstat.
17722 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17725 2013-05-10 Andreas Jaeger <aj@suse.de>
17728 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17730 Include <locale.h>.
17732 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17734 * elf/dl-close.c (_dl_close_worker): Add comments.
17736 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17741 (__ieee754_rem_pio2l): Update comments.
17744 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17746 (__ieee754_rem_pio2l): Update comments.
17748 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17749 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17751 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17754 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17755 (M_PI_34_LOG10El): Likewise.
17756 (M_PI2_LOG10El): Likewise.
17757 (M_PI4_LOG10El): Likewise.
17758 (M_PI_LOG10El): Likewise.
17760 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17764 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17766 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17767 (MINUS_ZERO_INIT): Likewise.
17768 (PLUS_INFTY_INIT): Likewise.
17769 (MINUS_INFTY_INIT): Likewise.
17770 (QNAN_VALUE_INIT): Likewise.
17771 (MAX_VALUE_INIT): Likewise.
17772 (MIN_VALUE_INIT): Likewise.
17773 (MIN_SUBNORM_VALUE_INIT): Likewise.
17774 (plus_zero): Initialize with PLUS_ZERO_INIT.
17775 (minus_zero): Initialize with MINUS_ZERO_INIT.
17776 (plus_infty): Initialize with PLUS_INFTY_INIT.
17777 (minus_infty): Initialize with MINUS_INFTY_INIT.
17778 (qnan_value): Initialize with QNAN_VALUE_INIT.
17779 (max_value): Initialize with MAX_VALUE_INIT.
17780 (min_value): Initialize with MIN_VALUE_INIT.
17781 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17783 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17784 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17785 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17786 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17788 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17789 (RUN_TEST_2_f): Likewise.
17790 (RUN_TEST_ff_f): Likewise.
17791 (RUN_TEST_fi_f): Likewise.
17792 (RUN_TEST_fl_f): Likewise.
17793 (RUN_TEST_fff_f): Likewise.
17794 (RUN_TEST_c_f): Likewise.
17795 (RUN_TEST_f_f1): Likewise.
17796 (RUN_TEST_fF_f1): Likewise.
17797 (RUN_TEST_fI_f1): Likewise.
17798 (RUN_TEST_ffI_f1): Likewise.
17799 (RUN_TEST_c_c): Likewise.
17800 (RUN_TEST_cc_c): Likewise.
17801 (RUN_TEST_f_i): Likewise.
17802 (RUN_TEST_f_i_tg): Likewise.
17803 (RUN_TEST_ff_i_tg): Likewise.
17804 (RUN_TEST_f_b): Likewise.
17805 (RUN_TEST_f_b_tg): Likewise.
17806 (RUN_TEST_f_l): Likewise.
17807 (RUN_TEST_f_L): Likewise.
17808 (RUN_TEST_sincos): Likewise.
17809 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17810 whether to show exceptions. Do not include ");\n" in return
17812 (special_functions): Output call to RUN_TEST_sincos instead of
17813 check_float calls. Update calls to new_test.
17814 (parse_args): Output call to single RUN_TEST_* macro instead of
17815 check_* calls and other assignments. Update calls to new_test.
17821 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17822 input to result for tgamma overflow.
17823 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17824 (gamma_coeff): New variable.
17825 (NCOEFF): New macro.
17826 (gamma_positive): New function.
17827 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17828 underflow here. Use gamma_positive instead of exp (lgamma) for
17830 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17831 (gamma_coeff): New variable.
17832 (NCOEFF): New macro.
17833 (gammaf_positive): New function.
17834 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17835 underflow here. Use gamma_positive instead of exp (lgamma) for
17837 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17838 (gamma_coeff): New variable.
17839 (NCOEFF): New macro.
17840 (gammal_positive): New function.
17841 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17842 underflow here. Use gamma_positive instead of exp (lgamma) for
17844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17845 (gamma_coeff): New variable.
17846 (NCOEFF): New macro.
17847 (gammal_positive): New function.
17848 (__ieee754_gammal_r): Handle positive infinity, overflow and
17849 underflow here. Handle NaN the same as positive infinity. Remove
17850 check x < 0xffffffff for negative integers. Use gamma_positive
17851 instead of exp (lgamma) for other arguments.
17852 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17853 (gamma_coeff): New variable.
17854 (NCOEFF): New macro.
17855 (gammal_positive): New function.
17856 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17857 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17860 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17861 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17862 * sysdeps/generic/math_private.h (__gamma_productf): New
17864 (__gamma_product): Likewise.
17865 (__gamma_productl): Likewise.
17866 * math/Makefile (libm-calls): Add gamma_product.
17867 * math/libm-test.inc (tgamma_test): Add more tests.
17868 * sysdeps/i386/fpu/libm-test-ulps: Update.
17869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17871 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
17873 * benchtests/bench-skeleton.c (main): Preheat CPU.
17875 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17877 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17879 2013-05-07 Roland McGrath <roland@hack.frob.com>
17881 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17882 and _dl_skip_args_internal.
17884 2013-05-07 Carlos O'Donell <carlos@redhat.com>
17886 * manual/message.texi (Message Translation): Talk about users.
17887 Message to key mapping impacts design.
17889 2013-05-06 Roland McGrath <roland@hack.frob.com>
17891 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17893 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17895 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17896 * sysdeps/wordsize-64/glob64.c: ... here.
17898 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17899 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17902 * debug/getlogin_r_chk.c: Moved to ...
17903 * login/getlogin_r_chk.c: ... here.
17904 * debug/Makefile (routines): Move getlogin_r_chk to ...
17905 * login/Makefile (routines): ... here.
17906 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17907 * login/Versions (libc: GLIBC_2.4): ... here.
17909 * io/poll.c (__poll): Renamed from poll.
17910 Add libc_hidden_def.
17911 (poll): Define as weak alias.
17913 * debug/ptsname_r_chk.c: Moved to ...
17914 * login/ptsname_r_chk.c: ... here.
17915 * debug/Makefile (routines): Move ptsname_r_chk to ...
17916 * login/Makefile (routines): ... here.
17917 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17918 * login/Versions (libc: GLIBC_2.4): ... here.
17920 * posix/getlogin.c: Moved to ...
17921 * login/getlogin.c: ... here.
17922 * posix/getlogin_r.c: Moved to ...
17923 * login/getlogin_r.c: ... here.
17924 * posix/getlogin_r.c: Moved to ...
17925 * login/getlogin_r.c: ... here.
17926 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17927 * login/Makefile (routines): ... here.
17928 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17929 * login/Versions (libc: GLIBC_2.0): ... here.
17931 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17932 (setrlimit): Define as weak alias.
17934 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17935 Call __ names for open, ftruncate, and close.
17936 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17937 (truncate): Define as weak alias.
17939 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17941 * math/gen-libm-test.pl (parse_args): Initialize x before each
17942 test of frexp, modf and remquo.
17944 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17945 test signgam value.
17947 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17951 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17953 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17955 2013-05-06 Roland McGrath <roland@hack.frob.com>
17957 * elf/dl-writev.h: New file.
17958 * elf/dl-misc.c: Include it.
17959 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17960 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17962 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17964 * math/libm-test.inc (noXFails): Remove variable.
17965 (noXPasses): Likewise.
17966 (BUILD_COMPLEX_INT): Remove macro.
17967 (print_screen): Remove xfail argument.
17968 (print_screen_max_error): Likewise.
17969 (update_stats): Likewise.
17970 (print_max_error): Likewise. Update calls to other affected
17972 (print_complex_max_error): Likewise.
17973 (test_single_exception): Update calls to print_screen.
17974 (test_single_errno): Likewise.
17975 (check_float_internal): Remove xfail argument. Update calls to
17976 other affected functions.
17977 (check_float): Likewise.
17978 (check_complex): Likewise.
17979 (check_int): Likewise.
17980 (check_long): Likewise.
17981 (check_bool): Likewise.
17982 (check_longlong): Likewise.
17983 (main): Don't print noXFails and noXPasses.
17984 * math/gen-libm-test.pl (top level): Don't mention expected
17985 failure handling in comment.
17986 (new_test): Don't handle expected failures.
17987 (parse_args): Don't mention expected failure handling in comment.
17988 (generate_testfile): Don't handle expected failures.
17989 (parse_ulps): Likewise.
17990 (print_ulps_file): Likewise.
17991 (get_failure): Remove function.
17992 (output_test): Don't handle expected failures.
17993 * make/README.libm-test: Don't mention expected failure handling.
17995 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17996 (minus_zero): Likewise.
17997 (plus_infty): Likewise.
17998 (minus_infty): Likewise.
17999 (qnan_value): Likewise.
18000 (max_value): Likewise.
18001 (min_value): Likewise.
18002 (min_subnorm_value): Likewise.
18003 (initialize): Do not initialize those variables dynamically.
18005 2013-05-03 Roland McGrath <roland@hack.frob.com>
18007 * io/open.c (__open_2): Moved to ...
18008 * io/open_2.c: ... this new file.
18009 * io/open64.c (__open64_2): Moved to ...
18010 * io/open64_2.c: ... this new file.
18011 * io/openat.c (__openat_2): Moved to ...
18012 * io/openat_2.c: ... this new file.
18013 * io/openat64.c (__openat64_2): Moved to ...
18014 * io/openat64_2.c: ... this new file.
18015 * io/Makefile (routines): Add them.
18016 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18017 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18018 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18019 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18020 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18021 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18022 (__openat64): Add hidden_ver.
18023 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18024 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18026 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18027 Separately conditionalize setting of GLRO(dl_sysinfo) so
18028 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18029 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18031 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18033 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18034 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18036 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18037 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18038 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18039 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18040 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18042 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18044 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18045 test signgam value.
18047 * math/libm-test.inc (hypot_test): Do not use
18048 IGNORE_ZERO_INF_SIGN.
18050 2013-05-03 Andreas Jaeger <aj@suse.de>
18052 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18054 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18055 (PF_MAX): Adjust for VSOCK change.
18057 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18061 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18064 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18065 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18066 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18068 2013-05-02 David S. Miller <davem@davemloft.net>
18070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18072 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18074 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18076 2013-05-01 Roland McGrath <roland@hack.frob.com>
18078 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18080 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18083 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18084 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18085 Use __attribute__ ((__gnu_inline__)).
18086 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18087 Don't use __attribute__ ((__gnu_inline__)).
18089 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18092 * math/s_catan.c (__catan): Handle small real or imaginary part of
18093 input specially to avoid spurious underflow.
18094 * math/s_catanf.c (__catanf): Likewise.
18095 * math/s_catanh.c (__catanh): Likewise.
18096 * math/s_catanhf.c (__catanhf): Likewise.
18097 * math/s_catanhl.c (__catanhl): Likewise.
18098 * math/s_catanl.c (__catanl): Likewise.
18099 * math/libm-test.inc (catan_test): Add more tests.
18100 (catanh_test): Likewise.
18101 * sysdeps/i386/fpu/libm-test-ulps: Update.
18102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18104 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18108 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18111 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18112 accurately for denominator in atan2.
18113 * math/s_catanf.c (__catanf): Likewise.
18114 * math/s_catanh.c (__catanh): Likewise.
18115 * math/s_catanhf.c (__catanhf): Likewise.
18116 * math/s_catanhl.c (__catanhl): Likewise.
18117 * math/s_catanl.c (__catanl): Likewise.
18118 * math/libm-test.inc (catan_test): Add more tests.
18119 (catanh_test): Likewise.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18123 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18125 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18127 * benchtests/Makefile (bench): Remove slow benchmarks.
18128 * benchtests/atan-inputs: Add slow benchmark inputs.
18129 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18130 (BENCH_FUNC): Accept variant offset.
18132 * benchtests/bench-skeleton.c (main): Run benchmark for each
18134 * benchtests/cos-inputs: Add slow benchmark inputs.
18135 * benchtests/exp-inputs: Likewise.
18136 * benchtests/pow-inputs: Likewise.
18137 * benchtests/sin-inputs: Likewise.
18138 * benchtests/slowatan-inputs: Remove.
18139 * benchtests/slowatan.c: Remove.
18140 * benchtests/slowcos-inputs: Remove.
18141 * benchtests/slowcos.c: Remove.
18142 * benchtests/slowexp-inputs: Remove.
18143 * benchtests/slowexp.c: Remove.
18144 * benchtests/slowpow-inputs: Remove.
18145 * benchtests/slowpow.c: Remove.
18146 * benchtests/slowsin-inputs: Remove.
18147 * benchtests/slowsin.c: Remove.
18148 * benchtests/slowtan-inputs: Remove.
18149 * benchtests/slowtan.c: Remove.
18150 * benchtests/tan-inputs: Add slow benchmark inputs.
18151 * scripts/bench.pl: Parse comments and directives.
18153 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18155 ($(objpfx)bench-%.c): Remove *-ITER.
18156 * benchtests/bench-modf.c: Remove definition of ITER.
18157 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18158 (main): Loop for DURATION seconds instead of fixed number of
18160 * scripts/bench.pl: Don't expect iterations in parameters.
18162 2013-04-29 Roland McGrath <roland@hack.frob.com>
18164 * io/fchdir.c (__fchdir): Renamed from fchdir.
18165 (fchdir): Define as weak alias.
18167 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18169 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18170 (ERRNO_EDOM): Likewise.
18171 (ERRNO_ERANGE): Likewise.
18172 (noErrnoTests): New variable.
18173 (init_max_error): Set errno to 0.
18174 (test_single_errno): New function.
18175 (test_errno): Likewise.
18176 (check_float_internal): Call test_errno. Set errno to 0.
18177 (check_complex): Refer to errno tests in comment.
18178 (check_int): Call test_errno. Set errno to 0.
18179 (check_long): Likewise.
18180 (check_bool): Likewise.
18181 (check_longlong): Likewise.
18182 (cos_test): Use ERRNO_* flags for errno tests instead of
18184 (expm1_test): Likewise.
18185 (fmod_test): Likewise.
18186 (ilogb_test): Likewise.
18187 (lgamma_test): Likewise.
18188 (pow_test): Likewise.
18189 (remainder_test): Likewise.
18190 (sin_test): Likewise.
18191 (tan_test): Likewise.
18192 (yn_test): Likewise.
18193 (initialize): Set errno to 0.
18194 (main): Print number of errno tests.
18195 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18197 2013-04-29 Andreas Jaeger <aj@suse.de>
18200 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18204 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18205 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18209 * stdlib/random.c (__initstate): Return NULL if
18213 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18214 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18217 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18221 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18223 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18224 of individual tests.
18225 (casin_test): Likewise.
18226 (casinh_test): Likewise.
18228 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18231 * math/s_catan.c (__catan): Handle arguments with large real or
18232 imaginary part separately without squaring.
18233 * math/s_catanf.c (__catanf): Likewise.
18234 * math/s_catanh.c (__catanh): Likewise.
18235 * math/s_catanhf.c (__catanhf): Likewise.
18236 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18238 (__catanhl): Handle arguments with large real or imaginary part
18239 separately without squaring.
18240 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18242 (__catanl): Handle arguments with large real or imaginary part
18243 separately without squaring.
18244 * math/libm-test.inc (catan_test): Add more tests.
18245 (catanh_test): Likewise.
18246 * sysdeps/i386/fpu/libm-test-ulps: Update.
18247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18249 2013-04-27 Andreas Jaeger <aj@suse.de>
18252 * stdlib/stdlib.h: Update guards for qecvt.
18253 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18256 2013-04-27 Allan McRae <allan@archlinux.org>
18258 * sysdeps/i386/fpu/libm-test-ulps: Update.
18260 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18263 * math/s_catan.c: Include <float.h>.
18264 (__catan): Ensure underflow exception occurs for underflowed
18266 * math/s_catanf.c: Include <float.h>.
18267 (__catanf): Ensure underflow exception occurs for underflowed
18269 * math/s_catanh.c: Include <float.h>.
18270 (__catanh): Ensure underflow exception occurs for underflowed
18272 * math/s_catanhf.c: Include <float.h>.
18273 (__catanhf): Ensure underflow exception occurs for underflowed
18275 * math/s_catanhl.c: Include <float.h>.
18276 (__catanhl): Ensure underflow exception occurs for underflowed
18278 * math/s_catanl.c: Include <float.h>.
18279 (__catanl): Ensure underflow exception occurs for underflowed
18281 * math/libm-test.inc (catan_test): Add more tests.
18282 (catanh_test): Likewise.
18285 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18286 underflowed result.
18287 * math/s_ccoshf.c (__ccoshf): Likewise.
18288 * math/s_ccoshl.c (__ccoshl): Likewise.
18289 * math/s_csin.c (__csin): Likewise.
18290 * math/s_csinf.c (__csinf): Likewise.
18291 * math/s_csinh.c (__csinh): Likewise.
18292 * math/s_csinhf.c (__csinhf): Likewise.
18293 * math/s_csinhl.c (__csinhl): Likewise.
18294 * math/s_csinl.c (__csinl): Likewise.
18295 * math/libm-test.inc (ccos_test): Add more tests.
18296 (ccosh_test): Likewise.
18297 (csin_test): Likewise.
18298 (csinh_test): Likewise.
18300 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18302 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18303 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18304 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18305 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18306 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18307 powerpc/power5+/fpu folders.
18308 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18311 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18315 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18317 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18318 additions to variable.
18319 [$(config-machine) = x86_64] (modules-names): Likewise.
18320 ($(objpfx)tst-audit3): Remove dependency.
18321 ($(objpfx)tst-audit3.out): Likewise.
18322 ($(objpfx)tst-audit4): Likewise.
18323 ($(objpfx)tst-audit4.out): Likewise.
18324 ($(objpfx)tst-audit5): Likewise.
18325 ($(objpfx)tst-audit5.out): Likewise.
18326 ($(objpfx)tst-audit6): Likewise.
18327 ($(objpfx)tst-audit6.out): Likewise.
18328 ($(objpfx)tst-audit7): Likewise.
18329 ($(objpfx)tst-audit7.out): Likewise.
18330 (tst-audit3-ENV): Remove variable.
18331 (tst-audit4-ENV): Likewise.
18332 (tst-audit5-ENV): Likewise.
18333 (tst-audit6-ENV): Likewise.
18334 (tst-audit7-ENV): Likewise.
18335 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18336 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18337 addition to variable.
18338 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18339 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18340 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18341 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18342 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18343 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18344 tst-audit3, tst-audit4 and tst-audit5.
18345 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18346 tst-audit6 and tst-audit7.
18347 [$(subdir) = elf] (modules-names): Add audit modules for those
18349 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18350 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18351 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18352 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18353 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18354 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18355 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18356 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18357 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18358 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18359 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18360 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18361 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18362 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18363 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18364 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18366 [$(subdir) = elf && $(config-cflags-avx) = yes]
18367 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18368 [$(subdir) = elf && $(config-cflags-avx) = yes]
18369 (CFLAGS-tst-auditmod4a.c): Likewise.
18370 [$(subdir) = elf && $(config-cflags-avx) = yes]
18371 (CFLAGS-tst-auditmod4b.c): Likewise.
18372 [$(subdir) = elf && $(config-cflags-avx) = yes]
18373 (CFLAGS-tst-auditmod6b.c): Likewise.
18374 [$(subdir) = elf && $(config-cflags-avx) = yes]
18375 (CFLAGS-tst-auditmod6c.c): Likewise.
18376 [$(subdir) = elf && $(config-cflags-avx) = yes]
18377 (CFLAGS-tst-auditmod7b.c): Likewise.
18378 * elf/tst-audit3.c: Move to ...
18379 * sysdeps/x86_64/tst-audit3.c: ... here.
18380 * elf/tst-audit4.c: Move to ...
18381 * sysdeps/x86_64/tst-audit4.c: ... here.
18382 * elf/tst-audit5.c: Move to ...
18383 * sysdeps/x86_64/tst-audit5.c: ... here.
18384 * elf/tst-audit6.c: Move to ...
18385 * sysdeps/x86_64/tst-audit6.c: ... here.
18386 * elf/tst-audit7.c: Move to ...
18387 * sysdeps/x86_64/tst-audit7.c: ... here.
18388 * elf/tst-auditmod3a.c: Move to ...
18389 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18390 * elf/tst-auditmod3b.c: Move to ...
18391 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18392 * elf/tst-auditmod4a.c: Move to ...
18393 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18394 * elf/tst-auditmod4b.c: Move to ...
18395 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18396 * elf/tst-auditmod5a.c: Move to ...
18397 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18398 * elf/tst-auditmod5b.c: Move to ...
18399 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18400 * elf/tst-auditmod6a.c: Move to ...
18401 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18402 * elf/tst-auditmod6b.c: Move to ...
18403 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18404 * elf/tst-auditmod6c.c: Move to ...
18405 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18406 * elf/tst-auditmod7a.c: Move to ...
18407 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18408 * elf/tst-auditmod7b.c: Move to ...
18409 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18411 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18414 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18415 define unconditionally.
18416 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18417 define unconditionally.
18418 (INT8_C, INT16_C, etc.): Likewise.
18420 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18422 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18423 __ehdr_start with hidden visibility.
18425 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18427 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18429 * math/libm-test.inc (cos_test): Use accurate hex constants.
18430 (sincost_test): Likewise.
18432 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18434 * math/libm-test.inc (catan_test): Add more tests.
18435 (catanh_test): Likewise.
18437 * math/s_catanf.c (__catanf): Use suffixed floating-point
18439 * math/s_catanhf.c (__catanhf): Likewise.
18440 * math/s_catanhl.c (__catanhl): Likewise.
18441 * math/s_catanl.c (__catanl): Likewise.
18444 * math/s_catan.c (__catan): Calculate imaginary part of result
18445 with log1p not log unless computing log of number close to 0.
18446 * math/s_catanf.c (__catanf): Likewise.
18447 * math/s_catanl.c (__catanl): Likewise.
18448 * math/s_catanh.c (__catanh): Calculate real part of result with
18449 log1p not log unless computing log of number close to 0.
18450 * math/s_catanhf.c (__catanhf): Likewise.
18451 * math/s_catanhl.c (__catanhl): Likewise.
18452 * math/libm-test.inc (catan_test): Add more tests.
18453 (catanh_test): Likewise.
18454 * sysdeps/i386/fpu/libm-test-ulps: Update.
18455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18457 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18459 * benchtests/Makefile: Mention files in which fast and slow
18460 paths of math functions are implemented.
18462 2013-04-23 Roland McGrath <roland@hack.frob.com>
18464 * sysdeps/posix/timespec_get.c: New file.
18466 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18468 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18470 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18472 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18473 powerpc/power5/fpu folders.
18474 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18475 * benchtests/Makefile: Add modf testcase.
18476 * benchtests/bench-modf.c: New file: Benchmark test for mo
18478 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18481 * time/Makefile (tests): Add tst-strptime-whitespace.
18482 * time/strptime_l.c (get_number): Use ISSPACE.
18483 (__strptime_internal): Likewise.
18484 * time/tst-strptime-whitespace.c: New test case.
18486 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18488 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18490 (_nss_files_init): Set it here.
18492 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18494 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18495 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18498 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18500 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18502 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18507 2013-04-21 David S. Miller <davem@davemloft.net>
18509 * po/ru.po: Update Russion translation from translation project.
18511 2013-04-17 Adam Conrad <adconrad@0c3.net>
18513 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18516 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18518 * configure.in: Remove i386 configure warning. Remove i386 case.
18519 * configure: Regenerate.
18520 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18521 Add example to error message.
18522 * sysdeps/i386/configure: Regenerate.
18524 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18526 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18528 * benchtests/cos-inputs: New file.
18529 * benchtests/slowcos-inputs: New file.
18530 * benchtests/slowcos.c: New file.
18531 * benchtests/slowtan-inputs: New file.
18532 * benchtests/slowtan.c: New file.
18533 * benchtests/tan-inputs: New file.
18535 2013-04-16 Roland McGrath <roland@hack.frob.com>
18537 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18540 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18542 * benchtests/Makefile: Include cppflags-iterator.mk to add
18543 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18545 * Makefile.in (bench-clean): New target.
18546 * benchtests/Makefile (bench-clean): Likewise.
18548 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18550 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18552 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18554 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18556 2013-04-15 Andreas Schwab <schwab@suse.de>
18558 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18560 * nscd/pwdcache.c (cache_addpw): Likewise.
18561 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18564 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18566 * benchtests/Makefile (bench): Write all output to
18567 bench-out.tmp together.
18569 2013-04-15 Andreas Schwab <schwab@suse.de>
18571 * nscd/nscd.c (main): Don't fork again after closing files.
18573 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18575 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18577 * benchtests/Rules (bench-deps): Collect dependencies into a
18578 single variable. Add Makefile to dependencies.
18579 ($(objpfx)bench-%.c): Depend on bench-deps.
18581 2013-04-12 Roland McGrath <roland@hack.frob.com>
18582 Xavier Roche <roche+kml2@exalead.com>
18585 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18586 just that it's a file descriptor.
18587 * manual/llio.texi (Synchronizing AIO Operations): Update description
18588 for EBADF error from aio_fsync.
18590 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18592 * Rules (bench): Move target definition...
18593 * benchtests/Makefile: ... here.
18595 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18597 * math/libm-test.inc (cos_test): Fix PI/2 test.
18598 (sincos_test): Likewise.
18599 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18600 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18602 2013-04-11 Andreas Schwab <schwab@suse.de>
18605 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18606 accept exponent character only when digits were seen.
18607 * stdio-common/Makefile (tests): Add bug26.
18608 * stdio-common/bug26.c: New file.
18611 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18614 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18616 * Makeconfig (rtld-prefix): Define built linker prefix.
18617 * Rules (run-bench): Use it.
18618 * math/Makefile (run-regen-ulps): Likewise.
18620 * Rules (bench): Remove eval.
18622 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18623 Roland McGrath <roland@hack.frob.com>
18624 Ondrej Bilka <neleai@seznam.cz>
18627 * time/getdate.c: Include ctype.h and alloca.h.
18628 (__getdate_r): Trim leading and trailing spaces of input.
18629 * time/tst-getdate.c (tests): Add tests with leading and
18632 2013-04-08 Roland McGrath <roland@hack.frob.com>
18635 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18636 when computing value.
18638 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18640 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18641 Use testrun.sh to run libm tests.
18644 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18646 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18649 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18651 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18653 * Makefile.in (regen-ulps): New target.
18654 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18655 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18656 [ifneq (no,$(PERL)] (regen-ulps): New target.
18657 [ifeq (no,$(PERL)] (regen-ulps): New target.
18658 * math/libm-test.inc (ulps_file_name): Define.
18659 (output_dir): New variable.
18660 (options): Add "output-dir" option.
18661 (parse_opt): Handle 'o' case.
18662 (main): If output_dir is non-NULL use it as a prefix
18664 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18666 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18668 [BZ #10060, #10062]
18669 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18670 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18671 fail configure if __sync_val_compare_and_swap is not inlined.
18672 * sysdeps/i386/configure: Regenerate.
18673 * configure.in: Build for i686 when configured for i386.
18674 * configure: Regenerate.
18675 * README: Remove i386 reference.
18677 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18679 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18682 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18684 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18685 (lmsnanval): New variables.
18686 (F): Add conversion tests.
18687 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18688 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18690 * stdio-common/tstdiomisc.c (F): Properly collect individual
18693 [BZ #14686, #15336]
18694 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18695 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18696 Instead, use input NaN values or generate a qNaN by arithmetic
18697 operation. Also fix bugs to comply with the standard.
18698 * math/libm-test.inc (remainder_test): Add more tests.
18700 [BZ #15335, #15342]
18701 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18703 input NaN values or generate a qNaN by arithmetic operation.
18705 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18708 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18711 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18714 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18715 underflowed result.
18716 * math/s_cexpf.c (__cexpf): Likewise.
18717 * math/s_cexpl.c (__cexpl): Likewise.
18718 * math/libm-test.inc (cexp_test): Add more tests.
18720 2013-04-03 Andreas Schwab <schwab@suse.de>
18723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18724 order arrays from heap if bigger than alloca cutoff.
18726 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18728 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18729 (SNAN_TESTS_double): Refer to GCC PR56831.
18730 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18733 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18735 * Rules (bench): Move bench.out after the run is complete.
18737 * Rules (bench): Echo currently running benchmark.
18739 * benchtests/Makefile (bench): Add atan and slowatan.
18740 * benchtests/atan-inputs: New file.
18741 * benchtests/slowatan-inputs: New file.
18742 * benchtests/slowatan.c: New file.
18744 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18749 * sysdeps/unix/sysv/linux/kernel-features.h
18750 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18751 __ASSUME_XFS_RESTRICTED_CHOWN.
18752 * sysdeps/unix/sysv/linux/pathconf.c
18753 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18754 Save and restore errno.
18756 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18759 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18760 arguments using __kernel_casinh.
18761 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18762 arguments using __kernel_casinhf.
18763 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18764 arguments using __kernel_casinhl.
18765 * math/libm-test.inc (cacosh_test): Add more tests.
18766 * sysdeps/i386/fpu/libm-test-ulps: Update.
18767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18769 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18771 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18774 * bench/Makefile (bench): Add sin and slowsin.
18775 * benchtests/sin-inputs: New file.
18776 * benchtests/slowsin-inputs: New file.
18777 * benchtests/slowsin.c: New file.
18779 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18780 (bench): Add slowexp and slowpow.
18781 (exp-ITER): Increase iterations.
18782 (pow-ITER): Likewise.
18783 * benchtests/exp-inputs: Change input.
18784 * benchtests/pow-inputs: Likewise.
18785 * benchtests/slowexp-inputs: New file.
18786 * benchtests/slowexp.c: New file.
18787 * benchtests/slowpow-inputs: New file.
18788 * benchtests/slowpow.c: New file.
18790 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18792 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18794 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18795 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18796 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18797 * benchtests/Makefile: Add rint benchtest.
18798 * benchtests/rint-inputs: Input for rint benchtest.
18800 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18802 * Versions.def (libm): Add GLIBC_2.18.
18803 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18804 hidden libm prototypes.
18805 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18806 * math/Makefile (libm-calls): Add s_issignaling.
18807 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18808 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18809 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18811 * math/math.h [__USE_GNU] (issignaling): New macro.
18812 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18813 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18815 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18818 * manual/arith.texi (issignaling): New section.
18819 * manual/libm-err-tab.pl (@all_functions): Update comment.
18820 * math/gen-libm-test.pl (parse_args): Apply special handling for
18822 * math/libm-test.inc (print_float, issignaling_test): New
18824 (check_float_internal): Add issignaling checks.
18825 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18826 default definition.
18827 * sysdeps/powerpc/math-tests.h: New file.
18828 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18830 * math/test-snan.c (TEST_FUNC): Likewise.
18832 2013-03-30 David S. Miller <davem@davemloft.net>
18834 * po/de.po: Update from translation team.
18836 2013-03-30 Joseph Myers <joseph@codesourcery.com>
18839 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18840 imaginary part less than 1.0 and real part less than 0.5
18842 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18843 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18844 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18845 (cacos_test): Add more tests.
18846 (casin_test): Likewise.
18847 (casinh_test): Likewise.
18848 * sysdeps/i386/fpu/libm-test-ulps: Update.
18849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18851 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18853 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18854 ONE with its value.
18856 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18857 (__pow_mp): Replace ONE and MONE with their values.
18858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18859 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18860 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18861 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18862 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18863 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18865 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18867 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18868 (__pow_mp): Replace ZERO and MZERO with their values.
18869 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18871 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18873 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18874 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18877 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18879 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18881 2013-03-28 Roland McGrath <roland@hack.frob.com>
18883 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18884 Declare with __attribute__ ((weak)).
18885 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18886 Call __call_tls_dtors only if it's not NULL.
18888 2013-03-28 Roland McGrath <roland@hack.frob.com>
18890 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18891 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18892 magic __ehdr_start linker symbol if it's defined.
18893 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18894 them up here if it was already done.
18896 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18897 (_dl_aux_init): Use const in cast when setting it.
18898 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18899 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18900 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18902 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18904 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18905 * csu/libc-tls.c: Nor here.
18906 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18908 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18909 (__libc_message): Never call vsyslog.
18911 2013-03-28 Alan Modra <amodra@gmail.com>
18913 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18915 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18918 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18921 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18925 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18928 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18929 Don't add gid passed as argument.
18931 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18933 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18936 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18937 imaginary part between 1.0 and 1.5 and real part less than 0.5
18939 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18940 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18941 * math/libm-test.inc (cacos_test): Add more tests.
18942 (casin_test): Likewise.
18943 (casinh_test): Likewise.
18944 * sysdeps/i386/fpu/libm-test-ulps: Update.
18945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18947 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18949 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18952 (denorm): Likewise.
18953 (__dbl_mp): Likewise.
18954 (add_magnitudes): Likewise.
18955 (sub_magnitudes): Likewise.
18963 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18965 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18966 (__dubcos): Likewise.
18967 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18968 (__ieee754_acos): Likewise.
18969 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18971 (__exp1): Likewise.
18972 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18975 (my_log2): Likewise.
18976 (checkint): Likewise.
18977 * sysdeps/ieee754/dbl-64/e_remainder.c
18978 (__ieee754_remainder): Likewise.
18979 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18981 (bsloww): Likewise.
18982 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18984 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18985 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18986 MANTISSA_STORE_T to store computations on mantissa. Use
18987 macros for rounding and division.
18988 (denorm): Likewise.
18989 (__dbl_mp): Likewise.
18990 (add_magnitudes): Likewise.
18991 (sub_magnitudes): Likewise.
18994 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18995 powers of two in terms of TWOPOW macro.
18996 (mp_no): Make type of mantissa as MANTISSA_T.
18997 [!RADIXI]: Define RADIXI.
18998 [!TWO52]: Define TWO52.
18999 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19001 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19003 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19004 llroundl symbol when building for PPC32.
19006 2013-03-24 Mark H Weaver <mhw@netris.org>
19008 * manual/arith.texi (Normalization Functions): Fix prototypes for
19009 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19011 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19014 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19015 high value to check if expl overflow.
19016 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19017 to check for underflow and overflow.
19018 * math/libm-test.inc: Add exp test.
19020 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19023 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19026 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19028 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19031 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19033 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19034 wrap blocks consisting of several statements.
19036 * sysdeps/generic/math-tests.h: New file.
19037 * sysdeps/i386/fpu/math-tests.h: Likewise.
19038 * math/test-snan.c: Include it.
19039 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19041 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19044 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19045 (__ieee754_j0l): Do not improve calculations using cos of twice
19046 input for inputs above LDBL_MAX / 2.0L.
19047 (__ieee754_y0l): Likewise.
19048 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19049 (__ieee754_j1l): Do not improve calculations using cos of twice
19050 input for inputs above LDBL_MAX / 2.0L.
19051 (__ieee754_y1l): Likewise.
19052 * math/libm-test.inc (j0_test): Add another test.
19053 (j1_test): Likewise.
19054 (y0_test): Likewise.
19055 (y1_test): Likewise.
19056 * sysdeps/i386/fpu/libm-test-ulps: Update.
19058 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19060 * Rules ($(objpfx)bench-%.c): Include code from a C source
19063 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19067 imaginary part 1.0 and real part less than 0.5 specially.
19068 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19069 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19070 * math/libm-test.inc (cacos_test): Add more tests.
19071 (casin_test): Likewise.
19072 (casinh_test): Likewise.
19073 * sysdeps/i386/fpu/libm-test-ulps: Update.
19074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19076 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19079 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19081 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19083 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19084 * config.make.in (config-cflags-sse4): Remove variable.
19085 (config-cflags-avx): Likewise.
19086 (config-cflags-sse2avx): Likewise.
19087 (config-cflags-novzeroupper): Likewise.
19088 (config-asflags-i686): Likewise.
19089 (have-mfma4): Likewise.
19090 (have-as-vis3): Likewise.
19092 * configure.in (MIG): Do not AC_SUBST.
19093 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19094 (libc_cv_cc_sse4): Do not AC_SUBST.
19095 (libc_cv_cc_avx): Likewise.
19096 (libc_cv_cc_sse2avx): Likewise.
19097 (libc_cv_cc_novzeroupper): Likewise.
19098 (libc_cv_cc_fma4): Likewise.
19099 (libc_cv_as_i686): Likewise.
19100 (libc_cv_sparc_as_vis3): Likewise.
19101 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19103 (config-asflags-i686): Likewise.
19104 (config-cflags-avx): Likewise.
19105 (config-cflags-sse2avx): Likewise.
19106 (have-mfma4): Likewise.
19107 (config-cflags-novzeroupper): Likewise.
19108 * sysdeps/mach/configure.in (MIG): Likewise.
19109 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19110 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19112 (config-cflags-avx): Likewise.
19113 (config-cflags-sse2avx): Likewise.
19114 (have-mfma4): Likewise.
19115 (config-cflags-novzeroupper): Likewise.
19116 * configure: Regenerated.
19117 * sysdeps/i386/configure: Likewise.
19118 * sysdeps/mach/configure: Likewise.
19119 * sysdeps/sparc/configure: Likewise.
19120 * sysdeps/x86_64/configure: Likewise.
19122 2013-03-20 Roland McGrath <roland@hack.frob.com>
19125 * locale/programs/localedef.c (options): Put N_ translation marker
19126 on argument names, not just descriptions.
19128 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19130 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19132 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19135 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19137 2013-03-19 Roland McGrath <roland@hack.frob.com>
19139 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19140 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19141 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19142 [!BEFORE_ABORT] (before_abort): New function.
19143 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19144 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19145 (writev_for_fatal): New function.
19146 (WRITEV_FOR_FATAL): New macro; call that.
19147 (backtrace_and_maps): New function.
19148 (BEFORE_ABORT): New macro; call that.
19149 (struct str_list): Type removed.
19150 (__libc_message, __libc_fatal): Functions removed.
19151 Include <sysdeps/posix/libc_fatal.c> instead.
19153 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19155 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19157 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19160 2013-03-19 Andreas Schwab <schwab@suse.de>
19162 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19163 * sysdeps/gnu/configure: Regenerate.
19165 * configure.in: Substitute libc_cv_rtlddir.
19166 * configure: Regenerate.
19167 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19168 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19169 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19170 * elf/Makefile (install-others, CFLAGS-interp.c)
19171 (ldso_install, common-ldd-rewrite): Likewise.
19172 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19173 $(inst_slibdir)/$(rtld-installed-name).
19174 * scripts/rellns-sh: Add -p option.
19175 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19178 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19180 * manual/nptl.texi: Renamed to ...
19181 * manual/threads.texi: ... this.
19182 * manual/Makefile (chapters): Update.
19184 2013-03-18 Roland McGrath <roland@hack.frob.com>
19187 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19188 on argument names, not just descriptions.
19189 * malloc/memusagestat.c (options): Likewise.
19190 * nss/getent.c (options): Likewise.
19192 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19195 * iconv/iconv_prog.c (options): Put N_ translation marker
19196 on argument names, not just descriptions.
19197 * iconv/iconvconfig.c (options): Likewise.
19199 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19201 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19202 implementation which is faster on all x86_64 architectures.
19203 Tested on AMD, Intel Nehalem, SNB, IVB.
19204 * sysdeps/x86_64/strnlen.S: Likewise.
19206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19207 Remove all multiarch strlen and strnlen versions.
19208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19209 Remove strlen and strnlen related parts.
19211 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19212 Inline strlen part.
19213 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19215 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19216 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19217 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19218 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19219 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19220 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19222 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19224 * manual/memory.texi (Malloc Tunable Parameters):
19225 Sort parameters alphabetically. Add comments for missing entries.
19227 2013-03-17 David S. Miller <davem@davemloft.net>
19229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19231 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19234 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19235 for arguments at most half maximum finite value.
19236 * math/libm-test.inc (j0_test): Add more tests.
19237 (j1_test): Likewise.
19238 (y0_test): Likewise.
19239 (y1_test): Likewise.
19240 * sysdeps/i386/fpu/libm-test-ulps: Update.
19241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19244 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19245 1 / x and functions P and Q for arguments above 0x1p256L.
19246 (__ieee754_y0l): Likewise.
19247 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19248 (__ieee754_y1l): Likewise.
19249 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19250 (j1_test): Likewise.
19251 (y0_test): Likewise.
19252 (y1_test): Likewise.
19254 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19256 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19259 2013-03-15 Roland McGrath <roland@hack.frob.com>
19261 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19262 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19263 zero since it's initialized to EXEC_PAGESIZE.
19265 * sysdeps/unix/sysv/linux/ldsodefs.h
19266 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19267 * sysdeps/generic/ldsodefs.h: ... here.
19269 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19271 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19273 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19275 * math/test-snan.c: Renamed from
19276 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19277 * math/Makefile (tests): Add test-snan.
19278 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19281 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19282 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19284 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19285 __builtin_nan family of functions.
19286 * math/libm-test.inc (initialize): Initialize qnan_value with
19287 __builtin_nan family of functions.
19288 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19290 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19292 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19293 storage class. Initialize qNaN_var and sNaN_var with
19294 __builtin_nan and __builtin_nans families of functions,
19297 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19298 (sqrt_test): Remove duplicate test with qNaN input.
19299 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19300 (round_test, signbit_test, significand_test): Note missing +/-Inf
19301 as well as qNaN tests.
19303 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19304 qNaN_var. Fix a few strings, too.
19305 * math/libm-test.inc (nan_value): Rename to qnan_value.
19306 * math/gen-libm-test.pl (%beautify): Adjust to that.
19307 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19308 * math/test-misc.c (main): Likewise.
19309 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19310 to __qnan_bytes, and __qnan_union, respectively.
19311 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19313 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19314 and lqnanval, respectively.
19315 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19316 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19317 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19318 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19320 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19321 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19324 * math/test-misc.c (main): Fix copy'n'pastos.
19325 * misc/tst-efgcvt.c (special): Likewise.
19327 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19328 Remove declarations.
19330 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19332 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19333 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19334 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19335 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19337 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19340 macro to return vdso values correctly in IFUNC implementations.
19341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19342 Optimization by using IFUNC.
19344 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19345 Richard Henderson <rth@redhat.com>
19346 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19348 * Makefile.in (bench): New target.
19349 * NEWS: Mention the benchmark framework.
19350 * Rules (bench): Likewise.
19351 (binaries-bench): Generate binaries for functions to
19353 * benchtests/Makefile: New makefile for benchmark tests.
19354 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19356 * benchtests/exp-inputs: New input file for EXP function.
19357 * benchtests/pow-inputs: New input file for POW function.
19358 * scripts/bench.pl: New script to generate source files for
19359 benchmark programs.
19361 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19363 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19364 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19365 computations on mantissa. Use macros for rounding and
19367 (denorm): Likewise.
19368 (__dbl_mp): Likewise.
19369 (add_magnitudes): Likewise.
19370 (sub_magnitudes): Likewise.
19373 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19374 powers of two in terms of TWOPOW macro.
19375 (mp_no): Make type of mantissa as MANTISSA_T.
19376 [!RADIXI]: Define RADIXI.
19377 [!TWO52]: Define TWO52.
19378 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19380 * manual/nptl.texi (cindex): Modify threads to pthreads.
19382 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19384 * sysdeps/x86_64/preconfigure: Regenerated.
19386 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19389 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19391 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19392 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19394 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19395 * math/libm-test.inc (j0_test): Do not allow one spurious
19396 underflow exception.
19397 (y1_test): Likewise.
19399 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19401 * manual/Makefile (chapters): Add nptl.
19402 * manual/debug.texi (Debugging Support): Add link to Threads
19404 * manual/nptl.texi: New file.
19406 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19408 2013-03-14 Petr Baudis <pasky@ucw.cz>
19410 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19411 for non-NULL pointer before the memory validity test. Pointed
19412 out by Holger Brunck <holger.brunck@keymile.com>.
19414 2013-03-13 Andreas Schwab <schwab@suse.de>
19416 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19419 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19421 * timezone/zic.c: Update from tzcode 2013b.
19423 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19425 * manual/install.texi (Configuring and compiling):
19426 Mention i686 and i586.
19427 * INSTALL: Regenerate.
19429 2013-03-12 Roland McGrath <roland@hack.frob.com>
19431 * sysdeps/init_array/elf-init.c: New file.
19433 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19434 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19436 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19437 __gmon_start__ as global, but as static with a .preinit_array pointer.
19438 * sysdeps/init_array/gmon-start.c: New file. Use that.
19439 * sysdeps/init_array/crti.S: New file, empty except for comments.
19440 * sysdeps/init_array/crtn.S: Likewise.
19442 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19444 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19447 Remove Prefer_SSE_for_memop.
19448 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19449 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19450 HAS_PREFER_SSE_FOR_MEMOP.
19451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19454 Remove bzero, memset ifunc support.
19455 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19456 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19460 2013-03-11 Andreas Schwab <schwab@suse.de>
19463 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19466 (GLIBC_2.16): Remove pthread_atfork.
19468 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19470 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19471 (ptestcases.h): Likewise.
19473 2013-03-08 Roland McGrath <roland@hack.frob.com>
19475 * Makeconfig ($(common-objpfx)config.status): Depend on
19476 sysdeps/*/preconfigure{,.in} too.
19478 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19480 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19481 (__free_hook): Use void * instead of __malloc_ptr_t.
19482 (__malloc_hook): Likewise.
19483 (__realloc_hook): Likewise.
19484 (__memalign_hook): Likewise.
19485 (__after_morecore_hook): Likewise.
19486 * malloc/arena.c (save_malloc_hook): Likewise.
19487 (save_free_hook): Likewise.
19488 * malloc/hooks.c (malloc_hook_ini): Likewise.
19489 (realloc_hook_ini): Likewise.
19490 (memalign_hook_ini): Likewise.
19491 * malloc/malloc.c (malloc_hook_ini): Likewise.
19492 (realloc_hook_ini): Likewise.
19493 (memalign_hook_ini): Likewise.
19494 (__free_hook): Likewise.
19495 (__malloc_hook): Likewise.
19496 (__realloc_hook): Likewise.
19497 (__memalign_hook): Likewise.
19498 (__libc_malloc): Likewise.
19499 (__libc_free): Likewise.
19500 (__libc_realloc): Likewise.
19501 (__libc_memalign): Likewise.
19502 (__libc_valloc): Likewise.
19503 (__libc_pvalloc): Likewise.
19504 (__libc_calloc): Likewise.
19505 (__posix_memalign): Likewise.
19506 * malloc/morecore.c (__sbrk): Likewise.
19507 (__default_morecore): Likewise.
19509 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19511 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19512 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19513 __malloc_ptrdiff_t.
19515 * malloc/malloc.h (__malloc_size_t): Remove macro.
19516 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19518 (old_memalign_hook): Likewise.
19519 (old_realloc_hook): Likewise.
19520 (struct hdr): Likewise.
19522 (mallochook): Likewise.
19523 (memalignhook): Likewise.
19524 (reallochook): Likewise.
19525 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19526 (tr_old_realloc_hook): Likewise.
19527 (tr_old_memalign_hook): Likewise.
19528 (tr_mallochook): Likewise.
19529 (tr_reallochook): Likewise.
19530 (tr_memalignhook): Likewise.
19532 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19535 default_ldbl_pack and using as default implementation.
19536 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19538 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19539 redundant definition.
19540 (ldbl_insert_mantissa): Likewise.
19541 (ldbl_canonicalize): Likewise.
19542 (ldbl_nearbyint): Likewise.
19543 (ldbl_pack): Rename to ldbl_pack_ppc.
19544 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19545 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19546 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19548 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19551 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19552 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19553 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19556 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19557 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19559 2013-03-07 Andreas Jaeger <aj@suse.de>
19561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19564 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19566 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19567 Include mpa.h and declare __MPEXP.
19568 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19570 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19572 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19573 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19574 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19576 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19577 (__slowpow): Use long double EXPL and LOGL functions to
19579 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19580 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19581 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19582 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19583 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19584 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19587 intermediate variable to calculate exponent.
19589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19593 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19594 [!NO__SQR]: Define __sqr.
19595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19596 and NO__SQR. Remove all code except __mul and __sqr. Include
19597 sysdeps/ieee754/dbl-64/mpa.c.
19598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19601 * posix/Makefile (tests): Add tst-pathconf.
19602 * posix/tst-pathconf.c: New test case.
19603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19605 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19607 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19609 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19611 2013-03-06 Andreas Jaeger <aj@suse.de>
19613 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19614 definition via __MAP_ANONYMOUS.
19616 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19617 it's not part of Linux headers.
19619 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19620 (MAP_HUGE_MASK): Define.
19622 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19624 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19627 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19628 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19630 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19633 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19635 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19636 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19637 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19638 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19639 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19640 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19646 Handle f2fs and efivarfs.
19648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19651 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19652 (EFIVARFS_MAGIC): Add.
19653 (F2FS_LINK_MAX): Add.
19655 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19657 * stdio-common/vfprintf.c: Replace __builtin_expect with
19660 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19663 * sysdeps/generic/bp-sym.h: Remove file.
19664 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19665 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19666 <bp-sym.h> and <bp-asm.h>.
19667 (__longjmp): Don't use BP_SYM.
19668 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19670 (memcpy): Don't use BP_SYM.
19671 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19672 <bp-sym.h> and <bp-asm.h>.
19673 (memcpy): Don't use BP_SYM.
19674 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19676 (memcpy): Don't use BP_SYM.
19677 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19679 (memset): Don't use BP_SYM.
19680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19682 (__bzero): Don't use BP_SYM.
19683 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19684 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19686 <bp-sym.h> and <bp-asm.h>.
19687 (memcmp): Don't use BP_SYM. Remove comment about bounded
19689 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19690 <bp-sym.h> and <bp-asm.h>.
19691 (memcpy): Don't use BP_SYM.
19692 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19693 <bp-sym.h> and <bp-asm.h>.
19694 (memset): Don't use BP_SYM.
19695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19697 (__bzero): Don't use BP_SYM.
19698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19700 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19701 <bp-sym.h> and <bp-asm.h>.
19702 (strncmp): Don't use BP_SYM. Remove comment about bounded
19704 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19705 <bp-sym.h> and <bp-asm.h>.
19706 (memcpy): Don't use BP_SYM.
19707 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19708 <bp-sym.h> and <bp-asm.h>.
19709 (memset): Don't use BP_SYM.
19710 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19711 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19712 (__bzero): Don't use BP_SYM.
19713 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19714 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19716 <bp-sym.h> and <bp-asm.h>.
19717 (__memchr): Don't use BP_SYM.
19718 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19719 <bp-sym.h> and <bp-asm.h>.
19720 (memcmp): Don't use BP_SYM. Remove comment about bounded
19722 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19723 <bp-sym.h> and <bp-asm.h>.
19724 (memcpy): Don't use BP_SYM.
19725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19726 <bp-sym.h> and <bp-asm.h>.
19727 (__mempcpy): Don't use BP_SYM.
19728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19729 <bp-sym.h> and <bp-asm.h>.
19730 (__memrchr): Don't use BP_SYM.
19731 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19732 <bp-sym.h> and <bp-asm.h>.
19733 (memset): Don't use BP_SYM.
19734 (__bzero): Likewise.
19735 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19736 <bp-sym.h> and <bp-asm.h>.
19737 (__rawmemchr): Don't use BP_SYM.
19738 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19739 <bp-sym.h> and <bp-asm.h>.
19740 (__STRCMP): Don't use BP_SYM.
19741 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19742 <bp-sym.h> and <bp-asm.h>.
19743 (strchr): Don't use BP_SYM.
19744 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19745 <bp-sym.h> and <bp-asm.h>.
19746 (__strchrnul): Don't use BP_SYM.
19747 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19748 <bp-sym.h> and <bp-asm.h>.
19749 (strlen): Don't use BP_SYM.
19750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19751 <bp-sym.h> and <bp-asm.h>.
19752 (strncmp): Don't use BP_SYM. Remove comment about bounded
19754 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19755 <bp-sym.h> and <bp-asm.h>.
19756 (__strnlen): Don't use BP_SYM.
19757 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19758 <bp-sym.h> and <bp-asm.h>.
19759 (__GI__setjmp): Don't use BP_SYM.
19760 (_setjmp): Likewise.
19761 (__sigsetjmp): Likewise.
19762 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19763 (L(start_addresses)): Don't use BP_SYM.
19764 (_start): Likewise.
19765 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19767 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19768 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19769 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19770 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19771 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19773 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19774 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19775 about bounded pointers.
19776 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19777 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19778 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19780 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19781 about bounded pointers. Remove GKM FIXME comments.
19782 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19783 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19785 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19786 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19787 Remove GKM FIXME comments.
19788 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19789 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19790 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19792 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19793 about bounded pointers. Remove GKM FIXME comment.
19794 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19796 (strncmp): Don't use BP_SYM. Remove comment about bounded
19798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19799 <bp-sym.h> and <bp-asm.h>.
19800 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19802 <bp-sym.h> and <bp-asm.h>.
19803 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19806 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19808 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19811 2013-03-05 David S. Miller <davem@davemloft.net>
19813 * po/es.po: Update from translation team.
19815 2013-03-05 Andreas Jaeger <aj@suse.de>
19817 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19818 <bits/mman-linux.h>.
19819 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19822 <bits/mman-linux.h> to end of file.
19823 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19825 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19826 <bits/mman-linux.h> to end of file.
19827 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19830 <bits/mman-linux.h> to end of file.
19832 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19833 (MCL_CURRENT, MCL_FUTURE): Define here.
19835 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19840 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19842 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19845 fourth parameter needed for rt_sigprocmask syscall.
19846 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19847 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19848 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19849 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19850 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19851 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19853 2013-03-04 Joseph Myers <joseph@codesourcery.com>
19856 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19857 comment about bounded pointers.
19858 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19859 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19861 2013-03-04 Andreas Jaeger <aj@suse.de>
19863 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19864 common definitions.
19866 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19867 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19868 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19869 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19873 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19877 __ieee754_sqrl instead of __sqrl.
19879 2013-03-01 Joseph Myers <joseph@codesourcery.com>
19881 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19882 * sysdeps/powerpc/fpu_control.h: ... here.
19883 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19884 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19885 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19886 * sysdeps/powerpc/bits/mathinline.h: ... here.
19888 2013-03-01 Roland McGrath <roland@hack.frob.com>
19890 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19891 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19892 to just [NEED_DL_SYSINFO_DSO].
19893 * elf/dl-support.c: Likewise.
19894 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19895 * elf/rtld.c (dl_main): Likewise.
19896 * elf/setup-vdso.h (setup_vdso): Likewise.
19897 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19898 * sysdeps/unix/sysv/linux/dl-sysdep.c
19899 (_dl_discover_osversion): Likewise.
19901 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19903 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19904 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19906 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19908 * NEWS: Mention libm performance improvements and non-x86 PI
19911 * csu/libc-start.c (__pthread_initialize_minimal): Change
19912 function arguments.
19913 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19915 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19918 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19919 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19920 <bp-sym.h> and <bp-asm.h>.
19921 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19922 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19924 (memcpy): Don't use BP_SYM.
19925 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19927 (__mpn_add_n): Don't use BP_SYM.
19928 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19929 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19931 (__mpn_addmul_1): Don't use BP_SYM.
19932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19933 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19935 (_setjmp): Don't use BP_SYM.
19936 (__novmx_setjmp): Likewise.
19937 (__GI__setjmp): Likewise.
19938 (__vmx_setjmp): Likewise.
19939 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19941 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19942 (__bzero): Don't use BP_SYM.
19943 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19944 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19945 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19946 <bp-sym.h> and <bp-asm.h>.
19947 (memcpy): Don't use BP_SYM.
19948 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19949 <bp-sym.h> and <bp-asm.h>.
19950 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19951 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19952 <bp-sym.h> and <bp-asm.h>.
19953 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19954 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19956 (__mpn_lshift): Don't use BP_SYM.
19957 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19958 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19960 (memset): Don't use BP_SYM.
19961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19963 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19965 (__mpn_mul_1): Don't use BP_SYM.
19966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19968 <bp-sym.h> and <bp-asm.h>.
19969 (memcmp): Don't use BP_SYM.
19970 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19971 <bp-sym.h> and <bp-asm.h>.
19972 (memcpy): Don't use BP_SYM.
19973 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19974 <bp-sym.h> and <bp-asm.h>.
19975 (memset): Don't use BP_SYM.
19976 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19977 <bp-sym.h> and <bp-asm.h>.
19978 (strncmp): Don't use BP_SYM.
19979 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19980 <bp-sym.h> and <bp-asm.h>.
19981 (memcpy): Don't use BP_SYM.
19982 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19983 <bp-sym.h> and <bp-asm.h>.
19984 (memset): Don't use BP_SYM.
19985 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19986 <bp-sym.h> and <bp-asm.h>.
19987 (__memchr): Don't use BP_SYM.
19988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19989 <bp-sym.h> and <bp-asm.h>.
19990 (memcmp): Don't use BP_SYM.
19991 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19992 <bp-sym.h> and <bp-asm.h>.
19993 (memcpy): Don't use BP_SYM.
19994 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19995 <bp-sym.h> and <bp-asm.h>.
19996 (__mempcpy): Don't use BP_SYM.
19997 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19998 <bp-sym.h> and <bp-asm.h>.
19999 (__memrchr): Don't use BP_SYM.
20000 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20001 <bp-sym.h> and <bp-asm.h>.
20002 (memset): Don't use BP_SYM.
20003 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20004 <bp-sym.h> and <bp-asm.h>.
20005 (__rawmemchr): Don't use BP_SYM.
20006 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20007 <bp-sym.h> and <bp-asm.h>.
20008 (__STRCMP): Don't use BP_SYM.
20009 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20010 <bp-sym.h> and <bp-asm.h>.
20011 (strchr): Don't use BP_SYM.
20012 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20013 <bp-sym.h> and <bp-asm.h>.
20014 (__strchrnul): Don't use BP_SYM.
20015 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20016 <bp-sym.h> and <bp-asm.h>.
20017 (strlen): Don't use BP_SYM.
20018 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20019 <bp-sym.h> and <bp-asm.h>.
20020 (strncmp): Don't use BP_SYM.
20021 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20022 <bp-sym.h> and <bp-asm.h>.
20023 (__strnlen): Don't use BP_SYM.
20024 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20026 (__mpn_rshift): Don't use BP_SYM.
20027 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20028 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20029 <bp-sym.h> and <bp-asm.h>.
20030 (__sigsetjmp): Don't use BP_SYM.
20031 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20032 (L(start_addresses)): Don't use BP_SYM.
20033 (_start): Likewise.
20034 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20036 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20037 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20038 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20039 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20041 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20042 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20043 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20044 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20046 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20048 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20049 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20051 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20053 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20054 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20055 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20057 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20059 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20061 (strncmp): Don't use BP_SYM,
20062 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20064 (__mpn_sub_n): Don't use BP_SYM.
20065 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20066 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20068 (__mpn_submul_1): Don't use BP_SYM.
20069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20071 <bp-sym.h> and <bp-asm.h>.
20072 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20074 <bp-sym.h> and <bp-asm.h>.
20075 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20078 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20081 Use ZK to minimize writes to Z.
20082 (sub_magnitudes): Simplify code a bit.
20083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20084 Use ZK to minimize writes to Z.
20085 (sub_magnitudes): Simplify code a bit.
20087 2013-02-27 Roland McGrath <roland@hack.frob.com>
20089 * csu/gmon-start.c: Add special exception to license text.
20091 2013-02-27 Richard Henderson <rth@redhat.com>
20093 * scripts/config.guess: Update from config.git.
20094 * scripts/config.sub: Likewise.
20096 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20100 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20102 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20104 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20106 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20108 2013-02-26 Roland McGrath <roland@hack.frob.com>
20110 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20111 [$(build-shared = yes].
20113 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20115 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20116 (__mul): Reduce iterations for calculating mantissa.
20118 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20120 (__mpranred): Likewise.
20123 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20124 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20126 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20128 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20129 Define __attribute__.
20131 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20133 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20135 * posix/regex_internal.h (__attribute): Remove.
20136 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20137 (re_string_context_at): Likewise.
20138 (bitset_not): Use __attribute__ and mark function as possibly
20140 (bitset_merge): Likewise.
20141 (bitset_mask): Likewise.
20142 (re_string_char_size_at): Likewise.
20143 (re_string_wchar_at): Likewise.
20144 (re_string_elem_size_at): Likewise.
20146 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20148 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20152 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20156 (denorm): Likewise.
20157 (__dbl_mp): Likewise.
20158 (add_magnitudes): Likewise.
20159 (sub_magnitudes): Likewise.
20163 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20166 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20169 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20173 up changes with default code.
20174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20177 2013-02-24 Allan McRae <allan@archlinux.org>
20179 * manual/socket.texi (The Internet Namespace): Order menu items
20180 to match that in the file.
20182 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20183 node listing of the info page menu.
20185 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20188 * sysdeps/i386/bp-asm.h: Remove file.
20189 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20190 (PARMS): Do not use macros from bp-asm.h.
20194 (__mpn_add_n): Do not use BP_SYM
20195 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20197 (PARMS): Do not use macros from bp-asm.h.
20200 (__mpn_addmul_1): Do not use BP_SYM
20201 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20203 (PARMS): Do not use macros from bp-asm.h.
20204 (SIGMSK): Likewise.
20205 (_setjmp): Likewise. Do not use BP_SYM.
20206 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20208 (PARMS): Do not use macros from bp-asm.h.
20209 (SIGMSK): Likewise.
20210 (setjmp): Likewise. Do not use BP_SYM.
20211 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20213 (PARMS): Do not use macros from bp-asm.h.
20214 (__frexp): Do not use BP_SYM.
20216 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20218 (PARMS): Do not use macros from bp-asm.h.
20219 (__frexpf): Do not use BP_SYM.
20220 (frexpf): Likewise.
20221 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20223 (PARMS): Do not use macros from bp-asm.h.
20224 (__frexpl): Do not use BP_SYM.
20225 (frexpl): Likewise.
20226 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20228 (PARMS): Do not use macros from bp-asm.h.
20229 (__remquo): Do not use BP_SYM.
20230 (remquo): Likewise.
20231 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20233 (PARMS): Do not use macros from bp-asm.h.
20234 (__remquof): Do not use BP_SYM.
20235 (remquof): Likewise.
20236 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20238 (PARMS): Do not use macros from bp-asm.h.
20239 (__remquol): Do not use BP_SYM.
20240 (remquol): Likewise.
20241 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20243 (PARMS): Do not use macros from bp-asm.h.
20246 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20247 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20249 (PARMS): Do not use macros from bp-asm.h.
20250 (strlen): Do not use BP_SYM.
20251 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20253 (PARMS): Do not use macros from bp-asm.h.
20257 (__mpn_add_n): Do not use BP_SYM.
20258 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20260 (PARMS): Do not use macros from bp-asm.h.
20263 (__mpn_addmul_1): Do not use BP_SYM.
20264 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20267 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20269 (PARMS): Do not use macros from bp-asm.h.
20272 (__mpn_lshift): Do not use BP_SYM.
20273 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20275 (PARMS): Do not use macros from bp-asm.h.
20279 (memcpy): Likewise. Do not use BP_SYM.
20280 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20281 libc_hidden_def and weak_alias.
20282 (mempcpy): Do not use BP_SYM in weak_alias.
20283 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20285 (PARMS): Do not use macros from bp-asm.h.
20288 [!BZERO_P] (CHR): Likewise.
20289 (memset): Likewise. Do not use BP_SYM.
20290 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20292 (PARMS): Do not use macros from bp-asm.h.
20295 (__mpn_mul_1): Do not use BP_SYM.
20296 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20298 (PARMS): Do not use macros from bp-asm.h.
20301 (__mpn_rshift): Do not use BP_SYM.
20302 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20304 (PARMS): Do not use macros from bp-asm.h.
20307 (strchr): Likewise. Do not use BP_SYM.
20308 (index): Do not use BP_SYM in weak_alias.
20309 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20311 (PARMS): Do not use macros from bp-asm.h.
20314 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20315 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20317 (PARMS): Do not use macros from bp-asm.h.
20318 (strlen): Do not use BP_SYM.
20319 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20321 (PARMS): Do not use macros from bp-asm.h.
20325 (__mpn_sub_n): Do not use BP_SYM.
20326 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20328 (PARMS): Do not use macros from bp-asm.h.
20331 (__mpn_submul_1): Do not use BP_SYM.
20332 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20334 (PARMS): Do not use macros from bp-asm.h.
20338 (__mpn_add_n): Do not use BP_SYM.
20339 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20342 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20344 (PARMS): Do not use macros from bp-asm.h.
20347 (memcmp): Do not use BP_SYM.
20348 (bcmp): Do not use BP_SYM in weak_alias.
20349 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20351 (PARMS): Do not use macros from bp-asm.h.
20355 (memcpy): Likewise. Do not use BP_SYM.
20356 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20358 (PARMS): Do not use macros from bp-asm.h.
20362 (memmove): Likewise. Do not use BP_SYM.
20363 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20365 (PARMS): Do not use macros from bp-asm.h.
20369 (__mempcpy): Likewise. Do not use BP_SYM.
20370 (mempcpy): Do not use BP_SYM in weak_alias.
20371 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20373 (PARMS): Do not use macros from bp-asm.h.
20376 [!BZERO_P] (CHR): Likewise.
20377 (memset): Likewise. Do not use BP_SYM.
20378 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20380 (PARMS): Do not use macros from bp-asm.h.
20382 (strcmp): Do not use BP_SYM.
20383 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20385 (PARMS): Do not use macros from bp-asm.h.
20388 [USE_AS_STRTOK_R] (SAVE): Likewise.
20389 (FUNCTION): Likewise. Do not use BP_SYM.
20390 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20392 (strtok_r): Likewise.
20393 (__GI___strtok_r): Likewise.
20394 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20395 (PARMS): Do not use macros from bp-asm.h.
20398 (__mpn_lshift): Do not use BP_SYM.
20399 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20400 (PARMS): Do not use macros from bp-asm.h.
20403 (__memchr): Do not use BP_SYM.
20404 (memchr): Do not use BP_SYM in weak_alias.
20405 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20406 (PARMS): Do not use macros from bp-asm.h.
20409 (memcmp): Do not use BP_SYM.
20410 (bcmp): Do not use BP_SYM in weak_alias.
20411 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20412 (PARMS): Do not use macros from bp-asm.h.
20415 (__mpn_mul_1): Do not use BP_SYM.
20416 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20418 (PARMS): Do not use macros from bp-asm.h.
20421 (__rawmemchr): Do not use BP_SYM.
20422 (rawmemchr): Do not use BP_SYM in weak_alias.
20423 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20424 (PARMS): Do not use macros from bp-asm.h.
20427 (__mpn_rshift): Do not use BP_SYM.
20428 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20429 (PARMS): Do not use macros from bp-asm.h.
20430 (SIGMSK): Likewise.
20431 (__sigsetjmp): Likewise. Do not use BP_SYM.
20432 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20433 (_start): Do not use BP_SYM.
20434 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20435 (PARMS): Do not use macros from bp-asm.h.
20438 (__stpcpy): Likewise. Do not use BP_SYM.
20439 (stpcpy): Do not use BP_SYM in weak_alias.
20440 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20442 (PARMS): Do not use macros from bp-asm.h.
20446 (__stpncpy): Likewise. Do not use BP_SYM.
20447 (stpncpy): Do not use BP_SYM in weak_alias.
20448 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20449 (PARMS): Do not use macros from bp-asm.h.
20452 (strchr): Likewise. Do not use BP_SYM.
20453 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20455 (PARMS): Do not use macros from bp-asm.h.
20458 (__strchrnul): Likewise. Do not use BP_SYM.
20459 (strchrnul): Do not use BP_SYM in weak_alias.
20460 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20462 (PARMS): Do not use macros from bp-asm.h.
20464 (strcspn): Do not use BP_SYM.
20465 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20467 (PARMS): Do not use macros from bp-asm.h.
20470 (strpbrk): Likewise. Do not use BP_SYM.
20471 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20473 (PARMS): Do not use macros from bp-asm.h.
20476 (strrchr): Likewise. Do not use BP_SYM.
20477 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20478 (PARMS): Do not use macros from bp-asm.h.
20480 (strspn): Do not use BP_SYM.
20481 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20482 (PARMS): Do not use macros from bp-asm.h.
20486 (FUNCTION): Likewise. Do not use BP_SYM.
20487 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20489 (strtok_r): Likewise.
20490 (__GI___strtok_r): Likewise.
20491 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20492 (PARMS): Do not use macros from bp-asm.h.
20496 (__mpn_sub_n): Do not use BP_SYM.
20497 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20499 (PARMS): Do not use macros from bp-asm.h.
20502 (__mpn_submul_1): Do not use BP_SYM.
20503 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20505 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20507 (PARMS): Do not use macros from bp-asm.h.
20512 (__clone): Do not use BP_SYM.
20513 (clone): Do not use BP_SYM in weak_alias.
20514 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20516 (PARMS): Do not use macros from bp-asm.h.
20518 (__mmap64): Do not use BP_SYM.
20519 (mmap64): Do not use BP_SYM in weak_alias.
20520 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20521 <bp-sym.h> and <bp-asm.h>.
20522 (PARMS): Do not use macros from bp-asm.h.
20523 (__posix_fadvise64_l64): Do not use BP_SYM.
20524 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20525 (PARMS): Do not use macros from bp-asm.h.
20527 (semtimedop): Do not use BP_SYM.
20528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20531 2013-02-21 Allan McRae <allan@archlinux.org>
20533 * manual/message.texi (Charset conversion in gettext):
20534 Move @end statement to beginning of line.
20536 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20543 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20544 (denorm): Likewise.
20545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20548 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20550 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20551 tail-call to the resolved function if pltexit isn't needed.
20553 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20556 or Y being zero as being unlikely.
20557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20560 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20562 * manual/nss.texi (System Databases and Name Service Switch):
20563 Remove frobnicate @pxref.
20565 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20567 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20568 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20570 2013-02-20 Petr Machata <pmachata@redhat.com>
20572 * elf/elf.h (R_ARM_TARGET1): New macro.
20573 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20574 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20575 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20576 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20577 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20578 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20579 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20580 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20581 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20582 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20583 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20584 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20585 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20586 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20587 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20588 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20589 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20590 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20591 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20592 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20593 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20594 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20595 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20596 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20597 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20598 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20599 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20600 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20601 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20602 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20603 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20604 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20605 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20606 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20607 (R_ARM_THM_GOT_BREL12): Likewise.
20608 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20609 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20610 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20611 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20612 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20613 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20614 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20615 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20616 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20618 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20620 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20621 __attribute_used__ to __attribute__ ((unused)).
20623 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20625 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20628 comment formatting.
20629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20631 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20634 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20636 (ENTER): Remove both macro definitions.
20638 (CHECK_BOUNDS_LOW): Likewise.
20639 (CHECK_BOUNDS_HIGH): Likewise.
20640 (CHECK_BOUNDS_BOTH): Likewise.
20641 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20642 (RETURN_BOUNDED_POINTER): Likewise.
20643 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20644 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20645 (POP_ERRNO_LOCATION_RETURN): Likewise.
20646 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20647 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20648 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20650 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20651 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20652 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20653 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20654 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20655 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20656 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20657 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20658 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20659 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20660 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20661 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20663 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20665 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20666 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20668 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20669 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20670 * sysdeps/i386/i586/memset.S (memset): Likewise.
20671 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20672 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20673 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20675 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20676 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20677 Change uses of L(2) to L(out).
20678 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20679 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20680 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20681 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20682 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20684 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20685 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20687 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20688 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20689 (RETURN): Do not use macro LEAVE.
20690 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20691 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20692 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20693 * sysdeps/i386/i686/memset.S (memset): Likewise.
20694 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20695 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20696 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20697 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20699 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20700 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20701 L(1_2) and L(1_3) into L(1).
20702 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20703 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20704 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20705 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20706 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20707 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20708 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20709 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20710 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20712 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20713 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20714 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20715 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20716 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20717 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20718 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20719 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20720 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20721 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20722 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20723 * sysdeps/i386/strspn.S (strspn): Likewise.
20724 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20726 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20727 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20728 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20729 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20730 L(1_3) into L(1_1).
20731 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20732 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20733 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20735 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20737 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20739 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20742 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20744 * math/atest-exp.c (exp_mpn): Remove ROUND.
20745 * math/atest-exp2.c (exp_mpn): Likewise.
20746 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20748 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20749 * stdlib/tst-tls-atexit-lib.c: Likewise.
20750 * stdlib/tst-tls-atexit.c: Likewise.
20752 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20754 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20755 and __attribute_alloc_size__.
20757 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20759 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20760 __attribute_alloc_size__.
20761 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20762 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20764 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20766 * include/programs/xmalloc.h: New file.
20767 * catgets/gencat.c: Include it.
20768 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20769 * elf/pldd.c: Likewise.
20770 * iconv/iconv_charmap.c: Likewise.
20771 * iconv/iconvconfig.c: Likewise.
20772 * iconv/strtab.c: Likewise.
20773 * locale/programs/locale.c: Likewise.
20774 * locale/programs/localedef.h: Likewise.
20775 * locale/programs/simple-hash.c: Likewise.
20776 * nscd/nscd.h: Likewise.
20777 * nss/makedb.c: Likewise.
20778 * sysdeps/generic/ldconfig.h: Likewise.
20780 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20782 * Versions.def: Add GLIBC_2.18.
20783 * include/link.h (struct link_map): New member l_tls_dtor_count.
20784 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20785 (__call_tls_dtors): Likewise.
20786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20787 __cxa_thread_atexit_impl.
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20804 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20805 (tests): Add test case tst-tls-atexit.
20806 (modules-names): Add shared library for tst-tls-atexit.
20807 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20808 (GLIBC_PRIVATE): Add __call_tls_dtors.
20809 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20811 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20812 * stdlib/tst-tls-atexit.c: New test case.
20813 * stdlib/tst-tls-atexit-lib.c: New test case.
20815 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20817 * elf/Versions (ld): Add _dl_find_dso_for_object.
20818 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20819 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20820 (dl_open_worker): Use _dl_find_dso_for_object.
20821 * elf/dl-sym.c (do_sym): Likewise.
20822 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20824 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20826 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20827 Syntactic changes only.
20828 (_dl_runtime_profile): Do a tail-call to the resolved function.
20830 2013-02-17 Joseph Myers <joseph@codesourcery.com>
20833 * sysdeps/x86_64/bp-asm.h: Remove file.
20834 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20835 <bp-sym.h> and <bp-asm.h>.
20836 (__clone): Do not use BP_SYM.
20837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20838 <bp-sym.h> and <bp-asm.h>.
20839 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20840 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20842 (_setjmp): Do not use BP_SYM.
20843 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20845 (setjmp): Do not use BP_SYM.
20846 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20848 (mempcpy): Do not use BP_SYM in weak_alias.
20849 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20851 (strchr): Do not use BP_SYM.
20852 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20854 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20855 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20856 (_start): Do not use BP_SYM.
20857 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20859 (strcat): Do not use BP_SYM.
20860 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20862 (STRCMP): Do not use BP_SYM.
20863 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20865 (STRCPY): Do not use BP_SYM.
20866 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20868 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20870 (FUNCTION): Do not use BP_SYM.
20871 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20873 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20875 2013-02-17 Andreas Jaeger <aj@suse.de>
20877 * time/Versions: Sort entries.
20878 * string/Versions: Likewise.
20879 * resolv/Versions: Likewise.
20880 * posix/Versions: Likewise.
20881 * iconv/Versions: Likewise.
20882 * elf/Versions: Likewise.
20883 * wcsmbs/Versions: Likewise.
20885 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20887 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20888 loop termination condition.
20890 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20891 variable to calculate EZ.
20894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20895 the lower precision input.
20897 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20900 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20901 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20902 (run-via-rtld-prefix): Do not handle %-bp tests.
20903 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20904 (all-object-suffixes): Remove .ob.
20905 (bppfx): Remove variable.
20906 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20907 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20908 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20909 [$(build-bounded) = yes] (libtype.ob): Likewise.
20910 * Makerules (elide-routines.ob): Remove variable.
20911 (do-tests-clean): Do not handle *-bp.out.
20912 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20913 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20914 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20915 (tests): Do not include $(tests-bp.out).
20916 (xtests): Do not include $(xtests-bp.out).
20917 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20918 [$(build-bounded) = yes] ($(addprefix
20919 $(objpfx),$(binaries-bounded))): Remove rule.
20920 ($(objpfx)%-bp.out): Remove rule.
20921 * config.make.in (build-bounded): Remove variable.
20922 * crypt/Makefile [$(build-bounded) = yes]
20923 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20924 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20925 append to variable.
20926 [$(build-bounded) = yes] (install-lib): Likewise.
20927 [$(build-bounded) = yes] (generated): Likewise.
20928 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20930 * intl/Makefile [$(build-bounded) = yes]
20931 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20932 * math/Makefile [$(build-bounded) = yes]
20933 ($(tests:%=$(objpfx)%-bp): Likewise.
20934 * misc/Makefile [$(build-bounded) = yes]
20935 ($(objpfx)tst-tsearch-bp): Likewise.
20936 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20937 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20939 * string/Makefile (o-objects.ob): Remove variable.
20940 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20941 (CFLAGS-.ob): Remove variable.
20942 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20943 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20944 both definitions of variable.
20945 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20946 (ASFLAGS-.ob): Remove variable.
20948 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20951 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20952 Remove __BOUNDED_POINTERS__ from condition.
20953 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20954 * string/bits/string2.h [!__NO_STRING_INLINES &&
20955 !__BOUNDED_POINTERS__]: Likewise.
20956 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20958 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20959 Remove conditional code.
20960 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20961 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20962 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20966 * csu/libc-start.c: Do not include <bp-sym.h>.
20967 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20968 * elf/dl-open.c: Do not include <bp-sym.h>.
20969 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20970 * math/fegetenv.c: Do not include <bp-sym.h>.
20971 (fegetenv): Do not use BP_SYM in versioned symbols.
20972 * nptl/sysdeps/pthread/bits/libc-lockP.h
20973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20976 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20978 (__pthread_mutex_destroy): Likewise.
20979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20980 (__pthread_mutex_lock): Likewise.
20981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20982 (__pthread_mutex_trylock): Likewise.
20983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20984 (__pthread_mutex_unlock): Likewise.
20985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20986 (__pthread_mutexattr_init): Likewise.
20987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20988 (__pthread_mutexattr_destroy): Likewise.
20989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20990 (__pthread_mutexattr_settype): Likewise.
20991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20992 (__pthread_rwlock_init): Likewise.
20993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20994 (__pthread_rwlock_destroy): Likewise.
20995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20996 (__pthread_rwlock_rdlock): Likewise.
20997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20998 (__pthread_rwlock_tryrdlock): Likewise.
20999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21000 (__pthread_rwlock_wrlock): Likewise.
21001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21002 (__pthread_rwlock_trywrlock): Likewise.
21003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21004 (__pthread_rwlock_unlock): Likewise.
21005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21006 (__pthread_key_create): Likewise.
21007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21008 (__pthread_setspecific): Likewise.
21009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21010 (__pthread_getspecific): Likewise.
21011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21014 (_pthread_cleanup_push_defer): Likewise.
21015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21016 (_pthread_cleanup_pop_restore): Likewise.
21017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21018 (pthread_setcancelstate): Likewise.
21019 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21021 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21022 (memchr): Do not use BP_SYM in weak_alias.
21023 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21024 (fegetenv): Do not use BP_SYM in versioned symbols.
21025 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21026 (fesetenv): Do not use BP_SYM in versioned symbols.
21027 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21028 (feupdateenv): Do not use BP_SYM in versioned symbols.
21029 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21030 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21031 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21032 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21033 (open64): Do not use BP_SYM in weak_alias.
21034 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21035 (fegetenv): Do not use BP_SYM in versioned symbols.
21036 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21037 (fesetenv): Do not use BP_SYM in versioned symbols.
21038 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21039 (feupdateenv): Do not use BP_SYM in versioned symbols.
21040 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21041 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21042 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21043 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21044 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21045 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21046 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21048 (__libc_start_main): Do not use BP_SYM.
21050 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21053 redundant return line.
21055 (denorm): Likewise.
21056 (dbl_mp): Likewise.
21057 (sub_magnitudes): Likewise.
21063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21065 (denorm): Likewise.
21066 (dbl_mp): Likewise.
21067 (sub_magnitudes): Likewise.
21074 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21076 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21077 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21081 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21083 of __mul for squares.
21084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21088 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21091 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21094 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21096 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21097 prototype or function definition. Rename ubp_* variables and
21098 parameters. Remove argv definitions conditional on
21099 [__BOUNDED_POINTERS__].
21100 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21101 * elf/dl-runtime.c (_dl_fixup): Likewise.
21102 * include/set-hooks.h (RUN_HOOK): Likewise.
21103 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21105 * string/strcpy.c (strcpy): Do not use __unbounded.
21106 * sysdeps/generic/frame.h (struct layout): Likewise.
21107 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21108 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21109 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21110 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21111 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21112 (__backtrace): Likewise.
21113 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21115 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21116 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21117 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21119 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21120 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21121 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21122 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21123 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21124 Do not use __unbounded.
21125 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21126 Rename __unboundedrlimits parameter to rlimits in prototype.
21127 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21128 Do not use __unbounded.
21129 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21130 not use __ptrvalue.
21131 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21132 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21133 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21134 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21135 __ptrvalue or __unbounded.
21136 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21137 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21139 (__new_msgctl): Do not use __ptrvalue.
21140 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21142 (__libc_msgrcv): Do not use __ptrvalue.
21143 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21144 startup_info): Do not use __unbounded.
21145 (__libc_start_main): Likewise. Rename ubp_* variables and
21146 parameters. Remove argv definitions conditional on
21147 [__BOUNDED_POINTERS__].
21148 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21150 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21152 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21154 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21156 (__new_shmctl): Do not use __ptrvalue.
21157 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21158 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21160 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21162 (__libc_sigaction): Likewise.
21163 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21164 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21166 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21168 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21170 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21172 * string/mempcpy.c: Implement by calling memcpy.
21174 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21182 values in the mantissa.
21184 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21185 minimize writes to Z.
21186 (sub_magnitudes): Simplify code a bit.
21188 2013-02-12 Roland McGrath <roland@hack.frob.com>
21190 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21191 from the message. The linker prefixes all warnings with that already.
21193 2013-02-12 Andreas Schwab <schwab@suse.de>
21196 * posix/regexec.c (extend_buffers): Add parameter min_len.
21197 (check_matching): Pass minimum needed length.
21198 (clean_state_log_if_needed): Likewise.
21199 (get_subexp): Likewise.
21200 * posix/Makefile (tests): Add bug-regex34.
21201 (bug-regex34-ENV): Define.
21202 * posix/bug-regex34.c: New file.
21205 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21206 elements compare against the byte sequence of it, not its name.
21207 * posix/Makefile (tests): Add bug-regex35.
21208 (bug-regex35-ENV): Define.
21209 * posix/bug-regex35.c: New file.
21211 2013-02-11 Tom de Vries <tom@codesourcery.com>
21213 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21215 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21216 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21217 (CHECK_EOL): Add undef.
21219 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21221 * bits/stdlib-bsearch.h: New file.
21222 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21223 * stdlib/stdlib.h: Likewise.
21225 2013-02-11 Roland McGrath <roland@hack.frob.com>
21227 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21228 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21230 * manual/search.texi (Array Search Function): Add missing const in
21232 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21233 declaration to use rlim_t.
21234 (Basic Scheduling Functions): Remove erroneous const from
21235 sched_getparam prototype. Remove erroneous * from
21236 sched_get_priority_max and sched_get_priority_min prototypes.
21237 (Resource Usage): Fix summary @comment on vtimes to refer to
21238 sys/vtimes.h rather than vtimes.h.
21239 Add missing *s in vtimes prototype.
21240 (Limits on Resources): Fix ulimit prototype to return long int.
21241 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21242 prototypes to use long int rather than double.
21243 (BSD Random): Fix initstate and setstate to use char *, not void *.
21244 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21245 prototype to make second argument 'struct aiocb64 *const[]'.
21246 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21247 (Status of AIO Operations): Remove erroneous const in aio_return and
21248 aio_return64 prototypes.
21249 (Synchronizing I/O): Fix sync prototype to return void.
21250 * manual/startup.texi (Suboptions): Remove an erroneous const in
21251 getsubopt prototype.
21252 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21253 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21254 use size_t rather than int.
21255 (Scanning All Users): Likewise for getpwent_r.
21256 (Setting Groups): Add missing const to setgroups prototype.
21257 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21258 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21259 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21260 'const void *' rather than 'const char *'.
21261 (Host Address Functions): Likewise for inet_ntop.
21262 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21263 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21264 ssize_t for return value.
21265 (Sending Data): Likewise for send, sendto, sendmsg.
21266 (Socket Option Functions): Add a missing const in setsockopt prototype.
21267 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21268 use wchar_t for the argument.
21269 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21270 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21272 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21273 double/float/long double for second argument.
21274 Fix return types of significand, significandf, significandl.
21275 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21276 argument in fchmod prototype.
21277 (File Owner): Use uid_t and gid_t in fchown prototype.
21278 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21279 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21280 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21281 use 'const struct dirent **' as argument types to CMP function pointer
21283 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21284 (File Times): Fix summary magic @comment for struct utimbuf and utime
21285 to refer to utime.h, not time.h.
21286 * manual/string.texi (Argz Functions): Add missing const in
21287 argz_extract and argz_next prototypes.
21288 (Finding Tokens in a String): Likewise for basename.
21289 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21290 (Copying and Concatenation): Fix typo in wmemmove prototype.
21291 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21292 (Signal Stack): Remove erroneous const in sigstack prototype.
21293 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21295 (Simple Calendar Time): Likewise for stime.
21296 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21298 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21299 say sys/sysctl.h instead.
21300 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21301 and vsyslog prototypes.
21303 2013-02-11 Tom de Vries <tom@codesourcery.com>
21305 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21308 2013-02-11 Roland McGrath <roland@hack.frob.com>
21310 * misc/sys/mman.h: Fix typo in mremap comment.
21312 2013-02-08 Roland McGrath <roland@hack.frob.com>
21314 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21315 the '\0' terminator.
21317 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21320 * debug/segfault.c: Don't include <bp-checks.h>.
21321 * sysdeps/generic/bp-checks.h: Remove file.
21322 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21323 (__GETDENTS): Don't use CHECK_N.
21324 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21325 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21326 (__getgroups): Don't use CHECK_N.
21327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21328 (setgroups): Don't use CHECK_N.
21329 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21330 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21331 (__libc_msgrcv): Don't use CHECK_N.
21332 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21333 (__libc_msgsnd): Don't use CHECK_N.
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21336 (__libc_pread): Don't use CHECK_N.
21337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21338 include <bp-checks.h>.
21339 (__libc_pread64): Don't use CHECK_N.
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21341 include <bp-checks.h>.
21342 (__libc_pwrite): Don't use CHECK_N.
21343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21344 include <bp-checks.h>.
21345 (__libc_pwrite64): Don't use CHECK_N.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21348 (__libc_pread): Don't use CHECK_N.
21349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21350 include <bp-checks.h>.
21351 (__libc_pread64): Don't use CHECK_N.
21352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21353 include <bp-checks.h>.
21354 (__libc_pwrite): Don't use CHECK_N.
21355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21356 include <bp-checks.h>.
21357 (__libc_pwrite64): Don't use CHECK_N.
21358 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21359 (do_pread): Don't use CHECK_N.
21360 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21361 (do_pread64): Don't use CHECK_N.
21362 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21363 (do_pwrite): Don't use CHECK_N.
21364 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21365 (do_pwrite64): Don't use CHECK_N.
21366 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21367 (__libc_readv): Don't use CHECK_N.
21368 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21369 (semop): Don't use CHECK_N.
21370 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21372 (semtimedop): Don't use CHECK_N.
21373 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21374 (__libc_pread): Don't use CHECK_N.
21375 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21377 (__libc_pread64): Don't use CHECK_N.
21378 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21380 (__libc_pwrite): Don't use CHECK_N.
21381 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21383 (__libc_pwrite64): Don't use CHECK_N.
21384 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21386 (__libc_msgrcv): Don't use CHECK_N.
21387 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21388 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21389 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21390 (__libc_writev): Don't use CHECK_N.
21392 2013-02-08 Roland McGrath <roland@hack.frob.com>
21394 * string/strcpy.c: Removed unused variable.
21396 * Makeconfig (+sysdep-includes): Define with := rather than =.
21397 Use an existing include/ subdir of each sysdeps dir before it.
21399 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21401 * nscd/connection.c (register_traced_file): Comment function.
21402 [HAVE_INOTIFY] (union __inev): Define.
21403 [HAVE_INOTIFY] (inotify_check_files): New function.
21404 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21405 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21407 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21409 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21411 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21412 loaded if not already and that a failure is permanent.
21414 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21417 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21418 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21420 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21423 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21424 (CHECK_1_NULL_OK): Likewise.
21425 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21426 (__fxstat): Do not use CHECK_1.
21427 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21429 (___fxstat64): Do not use CHECK_1.
21430 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21432 (__fxstatat): Do not use CHECK_1.
21433 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21435 (__fxstatat64): Do not use CHECK_1.
21436 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21438 (__fxstat): Do not use CHECK_1.
21439 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21441 (__fxstatat): Do not use CHECK_1.
21442 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21444 (__getresgid): Do not use CHECK_1.
21445 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21447 (__getresuid): Do not use CHECK_1.
21448 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21450 (__lxstat): Do not use CHECK_1.
21451 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21453 (__old_msgctl): Do not use CHECK_1.
21454 (__new_msgctl): Likewise.
21455 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21457 (__new_setrlimit): Do not use CHECK_1.
21458 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21460 (__old_shmctl): Do not use CHECK_1.
21461 (__new_shmctl): Likewise.
21462 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21464 (__xstat): Do not use CHECK_1.
21465 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21466 (__lxstat): Do not use CHECK_1.
21467 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21469 (___lxstat64): Do not use CHECK_1.
21470 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21471 (__old_msgctl): Do not use CHECK_1.
21472 (__new_msgctl): Likewise.
21473 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21475 (__gettimeofday): Do not use CHECK_1.
21476 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21477 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21478 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21480 (__gettimeofday): Do not use CHECK_1.
21481 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21482 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21483 (__new_shmctl): Do not use CHECK_1.
21484 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21486 (do_sigtimedwait): Do not use CHECK_1.
21487 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21489 (do_sigwaitinfo): Do not use CHECK_1.
21490 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21492 (msgctl): Do not use CHECK_1.
21493 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21495 (shmctl): Do not use CHECK_1.
21496 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21497 (ustat): Do not use CHECK_1.
21498 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21500 (__fxstat): Do not use CHECK_1.
21501 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21503 (__fxstatat): Do not use CHECK_1.
21504 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21506 (__lxstat): Do not use CHECK_1.
21507 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21509 (__xstat): Do not use CHECK_1.
21510 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21511 (__xstat): Do not use CHECK_1.
21512 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21513 (___xstat64): Do not use CHECK_1.
21516 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21518 (CHECK_BOUNDS_HIGH): Likewise.
21519 * string/strcpy.c: Do not include <bp-checks.h>.
21520 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21522 2013-02-07 Roland McGrath <roland@hack.frob.com>
21524 * nscd/nscd-client.h (__nscd_drop_map_ref):
21525 Add __attribute__ ((unused)).
21526 * nis/nss-nisplus.h (niserr2nss): Likewise.
21528 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21529 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21531 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21532 Remove inline keyword.
21533 * include/rounding-mode.h (round_away): Likewise.
21534 * libio/wfileops.c (adjust_wide_data): Likewise.
21535 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21536 (__m128i_strloadu_tolower): Likewise.
21537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21538 (__m128i_strloadu_tolower): Likewise.
21539 * time/mktime.c (ydhms_diff): Likewise.
21540 * locale/elem-hash.h (elem_hash): Likewise.
21541 * locale/setlocale.c (setdata): Likewise.
21542 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21543 (re_string_wchar_at): Likewise.
21544 (bitset_not, bitset_merge, bitset_mask): Likewise.
21545 [!(__GNUC__ > 3)] (inline): Remove macro.
21546 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21547 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21548 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21549 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21550 * string/memcmp.c (memcmp_bytes): Likewise.
21551 * locale/programs/locarchive.c (compute_hashval): Likewise.
21552 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21553 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21554 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21555 * nss/getent.c (print_rpc, print_protocols): Likewise.
21556 (print_passwd, print_group, print_aliases): Likewise.
21557 * nis/nss-nisplus.h (niserr2nss): Likewise.
21558 * nscd/connections.c (restart_p): Likewise.
21559 Change return type to bool.
21561 2013-02-05 Roland McGrath <roland@hack.frob.com>
21563 * Makeconfig (all-Depend-files): Add existing
21564 $(sorted-subdirs:=/Depend) files.
21565 (all-subdirs): Remove nss.
21566 * sysdeps/unix/inet/Subdirs: Add it here instead.
21567 * hesiod/Depend: New file.
21569 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21570 instead of calling alloca.
21572 * io/lseek.c (__lseek): Rename to __libc_lseek.
21573 Define __lseek as an alias.
21575 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21577 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21579 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21580 else clause and remove check for non-standard endianness.
21582 2013-02-04 David S. Miller <davem@davemloft.net>
21584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21586 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21589 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21590 (__ubp_memchr): Remove prototype.
21591 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21592 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21593 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21594 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21595 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21597 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21598 (__ubp_memchr): Likewise.
21599 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21600 (__ubp_memchr): Likewise.
21601 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21602 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21603 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21604 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21606 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21607 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21608 (__getcwd): Do not use CHECK_STRING.
21609 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21611 (__real_chown): Do not use CHECK_STRING.
21612 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21614 (fchownat): Do not use CHECK_STRING.
21615 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21617 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21619 (__lchown): Do not use CHECK_STRING.
21620 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21621 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21622 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21623 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21625 include <bp-checks.h>.
21626 (truncate64): Do not use CHECK_STRING.
21627 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21629 (__real_chown): Do not use CHECK_STRING.
21630 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21632 (__lchown): Do not use CHECK_STRING.
21633 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21635 (__chown): Do not use CHECK_STRING.
21636 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21638 (truncate64): Do not use CHECK_STRING.
21639 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21641 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21642 (__xmknod): Do not use CHECK_STRING.
21643 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21645 (__xmknodat): Do not use CHECK_STRING.
21646 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21647 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21649 2013-02-04 Andreas Schwab <schwab@suse.de>
21652 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21653 * include/netdb.h: Likewise for h_errno.
21654 * elf/tst-stackguard1.c: Include <tls.h>.
21656 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21658 * elf/link.h (struct link_map): Extend the l_addr comment.
21659 * include/link.h (struct link_map): Likewise.
21661 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21664 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21665 (BOUNDED_1): Remove macro.
21666 * debug/backtrace.c: Don't include <bp-checks.h>.
21667 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21668 (__backtrace): Likewise.
21669 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21671 (__backtrace): Don't use BOUNDED_1.
21672 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21674 (__backtrace): Don't use BOUNDED_1.
21675 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21676 (__backtrace): Don't use BOUNDED_1.
21677 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21678 (shmat): Don't use BOUNDED_N.
21680 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21683 * sysdeps/generic/bp-start.h: Remove file.
21684 * csu/libc-start.c: Don't include <bp-start.h>.
21685 (LIBC_START_MAIN): Set up __environ directly instead of using
21686 INIT_ARGV_and_ENVIRON.
21687 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21691 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21693 (CHECK_FCNTL): Likewise.
21694 (CHECK_N_PAGES): Likewise.
21697 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21699 (CHECK_SIGSET_NULL_OK): Likewise.
21700 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21702 (sigpending): Don't use CHECK_SIGSET.
21703 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21705 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21706 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21708 (do_sigsuspend): Don't use CHECK_SIGSET.
21709 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21711 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21712 (do_sigwait): Don't use CHECK_SIGSET.
21713 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21715 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21716 include <bp-checks.h>.
21717 (sigpending): Don't use CHECK_SIGSET.
21718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21719 include <bp-checks.h>.
21720 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21721 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21723 (sigpending): Don't use CHECK_SIGSET.
21724 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21729 * sysdeps/generic/bp-semctl.h: Remove file.
21730 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21731 <bp-checks.h> and <bp-semctl.h>.
21732 (__old_semctl): Don't use CHECK_SEMCTL.
21733 (__new_semctl): Likewise.
21734 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21736 (__old_semctl): Don't use CHECK_SEMCTL.
21737 (__new_semctl): Likewise.
21738 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21739 <bp-checks.h> and <bp-semctl.h>.
21740 (__old_semctl): Don't use CHECK_SEMCTL.
21741 (__new_semctl): Likewise.
21742 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21743 <bp-checks.h> and <bp-semctl.h>.
21744 (semctl): Don't use CHECK_SEMCTL.
21747 * Makerules (elide-bp-thunks): Remove variable.
21748 (elide-routines.oS): Don't use $(elide-bp-thunks).
21749 (elide-routines.os): Likewise.
21750 (elide-routines.o): Likewise.
21751 (elide-routines.op): Likewise.
21752 (elide-routines.og): Likewise.
21753 (objects): Don't use $(bp-thunks).
21754 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21756 (common-generated): Do not add s-proto-bp.d.
21757 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21760 Do not generate makefile rules for bounded-pointer thunks.
21761 * sysdeps/generic/bp-thunks.h: Remove file.
21762 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21763 * sysdeps/unix/s-proto-bp.S: Likewise.
21766 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21767 parts of result separately when argument is not close to line from
21768 -i to i and one part of argument is small.
21769 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21770 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21771 * math/libm-test.inc (cacos_test): Add more tests.
21772 (casin_test): Likewise.
21773 (casinh_test): Likewise.
21774 * sysdeps/i386/fpu/libm-test-ulps: Update.
21775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21777 2013-01-31 David S. Miller <davem@davemloft.net>
21779 * po/de.po: Update from translation team.
21781 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21783 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21785 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21787 * configure.in (_AC_PROG_CC_C89): New definition.
21788 * configure: Regenerate.
21790 * configure.in (AC_PROG_CPP): New definition.
21791 * configure: Regenerate.
21793 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21795 * debug/tst-backtrace.h: New file.
21796 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21797 (ret): Remove variable.
21799 (FAIL): Remove macro.
21800 (NO_INLINE): Likewise.
21801 (fn1): Use match function instead of strstr.
21802 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21803 (ret): Remove variable.
21805 (FAIL): Remove macro.
21806 (NO_INLINE): Likewise.
21807 (fn): Use match function instead of strstr.
21808 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21809 (ret): Remove variable.
21811 (FAIL): Remove macro.
21812 (NO_INLINE): Likewise.
21813 (handle_signal): Use match function instead of strstr.
21814 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21815 (ret): Remove variable.
21817 (FAIL): Remove macro.
21818 (NO_INLINE): Likewise.
21819 (handle_signal): Use match function instead of strstr.
21821 2013-01-23 Roland McGrath <roland@hack.frob.com>
21823 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21825 2013-01-23 David S. Miller <davem@davemloft.net>
21827 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21828 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21829 argument of CAS if possible.
21830 * sysdeps/sparc/sparc64/bits/atomic.h
21831 (__arch_compare_and_exchange_val_32_acq): Likewise.
21832 (__arch_compare_and_exchange_val_64_acq): Likewise.
21834 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21836 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21837 * sysdeps/posix/ulimit.c: ... this.
21838 Include <limits.h>.
21839 * sysdeps/unix/bsd/ulimit.c: Remove file.
21841 2013-01-23 Adam Conrad <adconrad@0c3.net>
21843 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21844 (LDFLAGS-tst-array5): Likewise.
21846 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21849 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21850 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21851 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21852 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21854 2013-01-21 David S. Miller <davem@davemloft.net>
21856 * sysdeps/sparc/backtrace.c: New file.
21857 * sysdeps/sparc/sparc32/backtrace.h: New file.
21858 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21859 * sysdeps/sparc/sparc64/backtrace.h: New file.
21860 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21861 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21864 2013-01-21 Andreas Schwab <schwab@suse.de>
21867 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21870 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21876 2013-01-18 Joseph Myers <joseph@codesourcery.com>
21877 Mark Mitchell <mark@codesourcery.com>
21878 Tom de Vries <tom@codesourcery.com>
21879 Paul Pluzhnikov <ppluzhnikov@google.com>
21881 * debug/tst-backtrace2.c: New file.
21882 * debug/tst-backtrace3.c: Likewise.
21883 * debug/tst-backtrace4.c: Likewise.
21884 * debug/tst-backtrace5.c: Likewise.
21885 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21886 (CFLAGS-tst-backtrace3.c): Likewise.
21887 (CFLAGS-tst-backtrace4.c): Likewise.
21888 (CFLAGS-tst-backtrace5.c): Likewise.
21889 (LDFLAGS-tst-backtrace2): Likewise.
21890 (LDFLAGS-tst-backtrace3): Likewise.
21891 (LDFLAGS-tst-backtrace4): Likewise.
21892 (LDFLAGS-tst-backtrace5): Likewise.
21893 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21894 tst-backtrace4 and tst-backtrace5.
21896 2013-01-18 Anton Blanchard <anton@samba.org>
21897 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21899 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21900 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21901 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21902 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21904 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21905 "+r" and remove output regs list as redundant. Add explicit inline
21906 asm to specify register of return val to work around compiler codegen
21907 bug. Remove (int) cast on return value. Add return type parameter to
21908 use in macro so that this macro does not truncate return value for
21910 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21911 pass to INTERNAL_VSYSCALL_NCS.
21912 (INLINE_VSYSCALL): Add 'long int' as return type to
21913 INTERNAL_VSYSCALL_NCS macro invocation.
21914 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21915 INTERNAL_VSYSCALL_NCS macro invocation.
21916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21918 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21921 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21922 Fix application of SIMD FP exception mask.
21924 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21925 mp_no from a power of two.
21926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21927 __mpexp_twomm1. Use __pow_mp.
21929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21932 2013-01-17 David S. Miller <davem@davemloft.net>
21934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21936 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21939 * include/complex.h: Condition contents on [!_COMPLEX_H].
21940 (__kernel_casinhf): New prototype.
21941 (__kernel_casinh): Likewise.
21942 (__kernel_casinhl): Likewise.
21943 * math/Makefile (libm_calls): Add k_casinh.
21944 * math/k_casinh.c: New file.
21945 * math/k_casinhf.c: Likewise.
21946 * math/k_casinhl.c: Likewise.
21947 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21948 finite nonzero arguments.
21949 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21950 finite nonzero arguments.
21951 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21952 finite nonzero arguments.
21953 * math/s_casinh.c: Do not include <float.h>.
21954 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21955 * math/s_casinhf.c: Do not include <float.h>.
21956 (__casinhf): Move code for finite nonzero arguments to
21958 * math/s_casinhl.c: Do not include <float.h>.
21959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21961 (__casinhl): Move code for finite nonzero arguments to
21963 * math/libm-test.inc (cacos_test): Add more tests.
21964 * sysdeps/i386/fpu/libm-test-ulps: Update.
21965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21967 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21969 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21970 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21971 [!HAVE_MREMAP]: Remove [defined linux] case.
21972 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21974 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21976 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21978 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21980 * elf/elf.h (R_386_SIZE32): New relocation.
21981 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21983 (elf_machine_rela): Likewise.
21984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21985 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21987 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21989 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21990 (FP_FAST_FMA): Do not define.
21991 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21992 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21993 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21994 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21995 !_SOFT_FLOAT]: Likewise.
21996 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21997 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21999 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22000 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22001 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22002 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22003 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22004 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22007 2013-01-16 Andreas Schwab <schwab@suse.de>
22010 * include/stdlib.h (__mktemp): Add declaration.
22011 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22012 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22014 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22016 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22018 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22019 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22020 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22022 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22023 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22025 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22027 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22028 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22029 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22031 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22032 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22034 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22036 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22038 2013-01-15 David S. Miller <davem@davemloft.net>
22040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22041 trunc{,f} to libm-sysdep_routes.
22042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22052 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22053 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22054 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22055 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22056 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22057 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22060 nearbyint{,f} to libm-sysdep_routes.
22061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22072 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22074 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22075 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22077 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22078 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22079 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22081 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22082 libc_feholdexcept and libc_fesetenv.
22084 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22086 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22088 2013-01-14 David S. Miller <davem@davemloft.net>
22090 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22091 (SPARC_ASM_VIS2_IFUNC): Likewise.
22092 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22094 use of 'siam' instruction.
22095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22128 routines to libm-sysdep_routines.
22129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22132 fdim/fdimf to libm-sysdep_routines.
22133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22141 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22142 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22143 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22144 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22146 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22148 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22149 to optimize copies.
22151 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22156 local variable MPTWO.
22157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22160 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22162 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22165 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22167 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22169 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22171 * manual/pattern.texi (glob_t): Document gl_flags.
22172 (glob64_t): Likewise.
22174 2013-01-11 David S. Miller <davem@davemloft.net>
22176 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22177 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22178 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22179 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22180 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22181 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22182 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22183 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22184 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22185 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22186 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22187 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22188 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22190 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22191 sparc V9 rather than using V8 code.
22192 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22193 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22195 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22197 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22200 2013-01-11 Roland McGrath <roland@hack.frob.com>
22202 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22203 not in the main loop.
22204 * configure: Regenerated.
22206 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22208 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22209 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22211 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22212 [!__GLIBC_HAVE_LONG_LONG] case.
22213 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22214 condition to just #else.
22215 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22216 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22217 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22218 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22220 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22221 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22222 #elif condition to just #else.
22223 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22224 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22225 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22226 #elif condition to just #else.
22228 2013-01-11 Steve Ellcey <sellcey@mips.com>
22230 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22231 (EF_MIPS_ARCH_64): Fix value.
22232 (EF_MIPS_ARCH_32R2): New.
22233 (EF_MIPS_ARCH_64R2): New.
22235 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22237 * Makeconfig (+link-pie-before-libc): New.
22238 (+link-pie-after-libc): Likewise.
22239 (+link-pie-tests): Likewise.
22240 (+link-pie): Rewritten.
22241 (link-before-libc): Remove $(config-LDFLAGS).
22242 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22243 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22244 (config-LDFLAGS): Renamed to ...
22245 (rtld-LDFLAGS): This.
22246 (rtld-tests-LDFLAGS): New macro.
22247 (link-libc-rpath-link): Likewise.
22248 (link-libc-tests-rpath-link): Likewise.
22249 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22250 (link-libc): Prepand $(link-libc-rpath-link).
22251 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22252 (test-program-prefix): New macro.
22253 (test-via-rtld-prefix): Likewise.
22254 (test-program-cmd): Likewise.
22255 (host-test-program-cmd): Likewise.
22256 * Makefile ($(common-objpfx)testrun.sh): Replace
22257 $(run-program-prefix) with $(test-program-prefix).
22258 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22260 ($(common-objpfx)shlib.lds): Likewise.
22261 (build-module-helper): Likewise.
22262 ($(common-objpfx)format.lds): Likewise.
22263 * Rules (binaries-pie-tests): New.
22264 (binaries-pie-notests): Likewise.
22265 (binaries-pie): Rewritten.
22266 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22267 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22268 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22269 (make-test-out): Replace $(host-built-program-cmd) with
22270 $(host-test-program-cmd).
22271 * config.make.in (build-hardcoded-path-in-tests): New variable.
22272 * configure.in (--enable-hardcoded-path-in-tests): New configure
22274 (hardcoded_path_in_tests): New AC_SUBST.
22275 * configure: Regenerated.
22276 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22277 $(built-program-cmd) with $(test-program-cmd).
22278 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22279 (test_program_cmd): This.
22280 * elf/Makefile ($(objpfx)order.out): Run test with
22281 $(test-program-prefix).
22282 ($(objpfx)order2.out): Likewise.
22283 ($(objpfx)tst-initorder.out): Likewise.
22284 ($(objpfx)tst-initorder2.out): Likewise.
22285 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22286 $(test-program-cmd).
22287 ($(objpfx)tst-array1-static.out): Likewise.
22288 ($(objpfx)tst-array2.out): Likewise.
22289 ($(objpfx)tst-array3.out): Likewise.
22290 ($(objpfx)tst-array4.out): Likewise.
22291 ($(objpfx)tst-array5.out): Likewise.
22292 ($(objpfx)tst-array5-static.out): Likewise.
22293 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22294 $(test-program-cmd).
22295 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22296 $(run-program-prefix) with $(test-program-prefix).
22297 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22298 (test_program_prefix): This.
22299 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22300 $(run-program-prefix) with $(test-program-prefix).
22301 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22302 (test_program_prefix): This.
22303 * iconvdata/tst-tables.sh: Likewise.
22304 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22305 $(run-program-prefix) with $(test-program-prefix).
22306 ($(objpfx)tst-translit.out): Likewise.
22307 ($(objpfx)tst-gettext2.out): Likewise.
22308 ($(objpfx)tst-gettext4.out): Likewise.
22309 ($(objpfx)tst-gettext6.out): Likewise.
22310 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22311 (test_program_prefix): This.
22312 * intl/tst-gettext2.sh: Likewise.
22313 * intl/tst-gettext4.sh Likewise.
22314 * intl/tst-gettext6.sh: Likewise.
22315 * intl/tst-translit.sh: Likewise.
22316 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22317 with $(test-program-cmd).
22318 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22319 $(run-program-prefix) with $(test-program-prefix).
22320 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22321 (test_program_prefix): This.
22322 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22323 $(run-program-prefix) with $(test-program-prefix).
22324 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22325 (test_program_prefix): This.
22326 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22327 * posix/Makefile ($(objpfx)globtest.out): Replace
22328 $(run-via-rtld-prefix) and $(test-wrapper) with
22329 $(test-program-prefix) and $(test-via-rtld-prefix).
22330 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22331 $(test-program-prefix).
22332 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22333 $(host-test-program-cmd).
22334 (tst-spawn-ARGS): Likewise.
22335 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22336 $(test-program-prefix).
22337 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22338 (test_via_rtld_prefix): This.
22339 (test_wrapper): Renamed to ...
22340 (test_program_prefix): This.
22341 (run_program_prefix): Replaced by test_program_prefix.
22342 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22343 (test_program_prefix): This.
22344 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22345 with $(host-test-program-cmd).
22346 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22347 $(run-program-prefix) with $(test-program-prefix).
22348 ($(objpfx)tst-printf.out): Likewise.
22349 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22350 $(test-program-cmd).
22351 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22352 (test_program_prefix): This.
22353 * stdio-common/tst-unbputc.sh: Likewise.
22354 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22355 $(run-program-prefix) with $(test-program-prefix).
22356 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22357 (test_program_prefix): This.
22358 * string/Makefile ($(objpfx)tst-svc.out): Replace
22359 $(built-program-cmd) with $(test-program-cmd).
22361 2013-01-11 Andreas Jaeger <aj@suse.de>
22364 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22365 value. Sync with Linux 3.7.
22367 2013-01-10 David S. Miller <davem@davemloft.net>
22369 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22370 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22371 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22373 2013-01-10 Roland McGrath <roland@hack.frob.com>
22375 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22377 * configure: Regenerated.
22379 2013-01-10 David S. Miller <davem@davemloft.net>
22381 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22382 sparc V9 rather than using V8 code.
22383 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22384 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22386 2013-01-10 Roland McGrath <roland@hack.frob.com>
22388 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22389 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22390 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22391 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22392 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22393 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22394 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22395 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22396 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22397 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22398 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22399 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22400 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22401 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22402 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22403 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22404 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22405 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22406 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22407 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22408 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22409 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22410 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22411 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22412 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22413 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22414 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22416 2013-01-10 David S. Miller <davem@davemloft.net>
22418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22420 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22422 * posix/Makefile (tests-static): New variable.
22423 (tests): Add $(tests-static).
22424 (tst-exec-static-ARGS): New variable.
22425 (tst-spawn-static-ARGS): Likewise.
22426 * posix/tst-exec-static.c: New file.
22427 * posix/tst-spawn-static.c: Likewise.
22428 * posix/tst-exec.c: Support run directly.
22429 * posix/tst-spawn.c: Likewise.
22431 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22433 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22435 * math/bits/mathcalls.h (llrint): Likewise.
22436 (llround): Likewise.
22437 * stdlib/stdlib.h (struct drand48_data): Likewise.
22438 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22439 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22440 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22442 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22444 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22445 (elf_greg_t): Likewise.
22446 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22447 (__jmp_buf): Likewise.
22448 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22450 (llrint): Likewise, for all definitions.
22451 (llrintl): Likewise.
22453 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22454 Remove [__GNUC__] condition.
22455 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22456 condition to just [__USE_ISOC99].
22457 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22459 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22462 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22463 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22465 (_POSIX_V6_ILP32_OFF32): Likewise.
22466 (_XBS5_ILP32_OFF32): Likewise.
22467 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22468 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22470 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22472 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22475 doubles __mpexp_twomm1. Adjust usage.
22476 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22479 2013-01-10 Andreas Schwab <schwab@suse.de>
22482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22483 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22485 2013-01-09 David S. Miller <davem@davemloft.net>
22488 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22489 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22490 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22491 (TCP_FASTOPEN): Define.
22492 (tcp_repair_opt): New structure.
22493 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22495 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22496 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22497 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22498 (tcp_cookie_transactions): New structure.
22500 2013-01-09 Anton Blanchard <anton@samba.org>
22502 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22503 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22504 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22505 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22507 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22509 * include/features.h (__USE_ANSI): Remove.
22511 2013-01-09 Roland McGrath <roland@hack.frob.com>
22513 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22515 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22517 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22519 * sysdeps/s390/fpu/libm-test-ulps: Update.
22521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22523 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22527 (denorm): Likewise.
22528 (__mp_dbl): Likewise.
22529 (__dbl_mp): Likewise.
22530 (add_magnitudes): Likewise.
22531 (sub_magnitudes): Likewise.
22537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22541 (denorm): Likewise.
22542 (__mp_dbl): Likewise.
22543 (__dbl_mp): Likewise.
22544 (add_magnitudes): Likewise.
22545 (sub_magnitudes): Likewise.
22551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22555 (denorm): Likewise.
22556 (__mp_dbl): Likewise.
22557 (__dbl_mp): Likewise.
22558 (add_magnitudes): Likewise.
22559 (sub_magnitudes): Likewise.
22566 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22568 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22569 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22570 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22571 2 && __USE_EXTERN_INLINES]: Likewise.
22573 2013-01-08 Andreas Jaeger <aj@suse.de>
22576 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22578 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22579 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22581 2013-01-07 Anton Blanchard <anton@samba.org>
22583 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22584 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22585 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22586 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22587 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22588 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22589 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22590 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22592 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22593 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22594 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22597 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22598 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22600 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22601 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22602 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22604 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22606 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22607 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22608 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22609 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22610 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22612 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22613 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22616 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22618 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22620 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22621 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22625 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22627 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22629 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22630 (__MALLOC_PMT): Likewise.
22631 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22632 [__GNUC__], only on [_LIBC].
22633 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22634 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22635 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22636 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22637 forward declaration.
22638 (realloc_hook_ini): Likewise.
22639 (memalign_hook_ini): Likewise.
22640 (__libc_memalign): Do not use __MALLOC_PMT in variable
22642 (__libc_valloc): Likewise.
22643 (__libc_pvalloc): Likewise.
22644 (__libc_calloc): Likewise.
22645 (__posix_memalign): Likewise.
22648 * math/s_casinh.c: Include <float.h>.
22649 (__casinh): Do not do computation with squaring and square root
22650 for large arguments.
22651 * math/s_casinhf.c: Include <float.h>.
22652 (__casinhf): Do not do computation with squaring and square root
22653 for large arguments.
22654 * math/s_casinhl.c: Include <float.h>.
22655 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22656 (__casinhl): Do not do computation with squaring and square root
22657 for large arguments.
22658 * math/libm-test.inc (casin_test): Add more tests.
22659 (casinh_test): Likewise.
22660 * sysdeps/i386/fpu/libm-test-ulps: Update.
22661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22663 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22665 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22666 (__x86_64_raw_data_cache_size): Likewise.
22667 (__x86_64_data_cache_size_half): Likewise.
22668 (__x86_64_raw_data_cache_size_half): Likewise.
22669 (__x86_64_shared_cache_size): Likewise.
22670 (__x86_64_raw_shared_cache_size): Likewise.
22671 (__x86_64_shared_cache_size_half): Likewise.
22672 (__x86_64_raw_shared_cache_size_half): Likewise.
22673 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22675 (__x86_data_cache_size): This.
22676 (__x86_64_raw_data_cache_size): Renamed to ...
22677 (__x86_raw_data_cache_size): This.
22678 (__x86_64_data_cache_size_half): Renamed to ...
22679 (__x86_data_cache_size_half): This.
22680 (__x86_64_raw_data_cache_size_half): Renamed to ...
22681 (__x86_raw_data_cache_size_half): This.
22682 (__x86_64_shared_cache_size): Renamed to ...
22683 (__x86_shared_cache_size): This.
22684 (__x86_64_raw_shared_cache_size): Renamed to ...
22685 (__x86_raw_shared_cache_size): This.
22686 (__x86_64_shared_cache_size_half): Renamed to ...
22687 (__x86_shared_cache_size_half): This.
22688 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22689 (__x86_raw_shared_cache_size_half): This.
22690 * sysdeps/x86_64/memcpy.S: Updated.
22691 * sysdeps/x86_64/memset.S: Likewise.
22692 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22693 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22694 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22696 2013-01-04 David S. Miller <davem@davemloft.net>
22698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22700 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22702 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22703 1 to avoid redefinition warning.
22704 (__USE_GNU): Don't define.
22705 (init_signaling_nan): Protoize.
22707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22709 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22711 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22713 (__cpymn): Likewise.
22714 (norm): Remove commented code.
22715 (denorm): Likewise.
22716 (__mp_dbl): Likewise.
22718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22719 (__cpymn): Likewise.
22720 (norm): Remove commented code.
22721 (denorm): Likewise.
22722 (__mp_dbl): Likewise.
22725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22726 mp_no value for 1.0 and 2.0.
22727 (norm): Use RADIXI instead of radixi.d.
22728 (denorm): Likewise.
22729 (__mul): Use 0.0 instead of zero.d.
22730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22731 mp_no value for 1.0 and 2.0.
22732 (norm): Use RADIXI instead of radixi.d.
22733 (denorm): Likewise.
22734 (__mul): Use 0.0 instead of zero.d.
22736 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22739 * math/s_casinh.c (__casinh): Reduce finite argument to first
22740 quadrant then set signs of results at the end.
22741 * math/s_casinhf.c (__casinhf): Likewise.
22742 * math/s_casinhl.c (__casinhl): Likewise.
22743 * math/libm-test.inc (casin_test): Add more tests.
22744 (casinh_test): Likewise.
22745 * sysdeps/i386/fpu/libm-test-ulps: Update.
22746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22748 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22750 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22752 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22754 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22756 (denorm): Likewise.
22757 (__mp_dbl): Likewise.
22760 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22761 and adjust the header comment.
22763 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22764 variable name from declaration.
22766 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22769 Initialize COMMON_CPUID_INDEX_7 element.
22770 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22771 (CPUID_RTM): Likewise.
22772 (HAS_RTM): Likewise.
22773 (COMMON_CPUID_INDEX_7): New enum.
22775 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22778 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22779 size is zero, record memory as freed.
22781 2013-01-03 Andreas Jaeger <aj@suse.de>
22783 * po/ia.po: Add new Interlingua translation.
22785 2012-01-03 Allan McRae <allan@archlinux.org>
22787 * locale/programs/localedef.c: Fix description of '--posix' flag.
22789 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22791 * NEWS: Update dates in second copyright notice.
22792 * README: Update copyright dates in example.
22793 * manual/libc.texinfo: Update copyright dates.
22794 * scripts/test-installation.pl: Update copyright date in --version
22797 * hurd/ctty-input.c: Fix copyright notice formatting.
22798 * hurd/ctty-output.c: Likewise.
22799 * hurd/dtable.c: Likewise.
22800 * hurd/hurd-raise.c: Likewise.
22801 * hurd/hurdprio.c: Likewise.
22802 * hurd/msgportdemux.c: Likewise.
22803 * misc/sys/file.h: Likewise.
22804 * misc/sys/ioctl.h: Likewise.
22805 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22806 * sysdeps/mach/hurd/chdir.c: Likewise.
22807 * sysdeps/mach/hurd/fchdir.c: Likewise.
22808 * sysdeps/mach/hurd/rename.c: Likewise.
22809 * sysdeps/mach/hurd/rmdir.c: Likewise.
22810 * sysdeps/mach/hurd/seekdir.c: Likewise.
22811 * sysdeps/mach/hurd/setsid.c: Likewise.
22812 * sysdeps/posix/wait3.c: Likewise.
22814 * All files with FSF copyright notices: Update copyright dates
22815 using scripts/update-copyrights.
22816 * intl/plural.c: Regenerated.
22817 * locale/programs/charmap-kw.h: Likewise.
22818 * locale/programs/locfile-kw.h: Likewise.
22820 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22822 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22825 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22826 calculation loop and add branch prediction.
22828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22829 check access beyond bounds of m1np.
22831 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22833 (__inv): Remove local variable MPTWO to use the global
22835 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22839 MP3HALFS static const.
22841 2013-01-01 David S. Miller <davem@davemloft.net>
22843 * po/ca.po: Update from translation team.
22845 2013-01-01 Joseph Myers <joseph@codesourcery.com>
22847 * scripts/update-copyrights: New file.
22848 * Makeconfig: Reformat copyright notice.
22849 * ctype/ctype.h: Likewise.
22850 * debug/swprintf_chk.c: Likewise.
22851 * elf/dl-cache.c: Likewise.
22852 * elf/dl-debug.c: Likewise.
22853 * elf/dl-object.c: Likewise.
22854 * grp/initgroups.c: Likewise.
22855 * hurd/Makefile: Likewise.
22856 * hurd/hurd/signal.h: Likewise.
22857 * hurd/hurdfault.c: Likewise.
22858 * hurd/hurdioctl.c: Likewise.
22859 * hurd/hurdlookup.c: Likewise.
22860 * hurd/intr-msg.c: Likewise.
22861 * iconv/gconv_open.c: Likewise.
22862 * libio/swprintf.c: Likewise.
22863 * locale/lc-ctype.c: Likewise.
22864 * locale/nl_langinfo.c: Likewise.
22865 * mach/Machrules: Likewise.
22866 * mach/Makefile: Likewise.
22867 * malloc/obstack.h: Likewise.
22868 * manual/Makefile: Likewise.
22869 * manual/tsort.awk: Likewise.
22870 * misc/bits/stab.def: Likewise.
22871 * nis/nis_print_group_entry.c: Likewise.
22872 * nis/nis_table.c: Likewise.
22873 * nis/nss_compat/compat-pwd.c: Likewise.
22874 * nis/nss_compat/compat-spwd.c: Likewise.
22875 * po/Makefile: Likewise.
22876 * posix/fnmatch.c: Likewise.
22877 * posix/regex.h: Likewise.
22878 * resolv/Makefile: Likewise.
22879 * resolv/nss_dns/dns-network.c: Likewise.
22880 * resolv/res_hconf.c: Likewise.
22881 * scripts/gen-sorted.awk: Likewise.
22882 * soft-fp/soft-fp.h: Likewise.
22883 * stdio-common/printf.h: Likewise.
22884 * stdlib/monetary.h: Likewise.
22885 * stdlib/random.c: Likewise.
22886 * stdlib/random_r.c: Likewise.
22887 * sysdeps/generic/Makefile: Likewise.
22888 * sysdeps/gnu/Makefile: Likewise.
22889 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22891 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22896 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22900 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22901 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22902 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22903 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22904 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22905 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22910 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22911 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22913 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22915 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22917 * sysdeps/mach/hurd/errnos.awk: Likewise.
22918 * sysdeps/mach/hurd/fork.c: Likewise.
22919 * sysdeps/mach/hurd/getcwd.c: Likewise.
22920 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22921 * sysdeps/mach/hurd/mmap.c: Likewise.
22922 * sysdeps/mach/hurd/utimes.c: Likewise.
22923 * sysdeps/mach/hurd/xmknod.c: Likewise.
22924 * sysdeps/posix/profil.c: Likewise.
22925 * sysdeps/posix/readdir_r.c: Likewise.
22926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22927 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22928 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22929 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22931 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22933 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22935 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22936 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22937 * sysdeps/pthread/lio_listio.c: Likewise.
22938 * sysdeps/sparc/dl-procinfo.h: Likewise.
22939 * sysdeps/unix/i386/sysdep.S: Likewise.
22940 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22941 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22942 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22943 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22945 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22946 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22947 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22948 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22949 * sysdeps/wordsize-32/divdi3.c: Likewise.
22950 * time/sys/time.h: Likewise.
22951 * wcsmbs/Makefile: Likewise.
22953 2013-01-01 David S. Miller <davem@davemloft.net>
22955 * po/fr.po: Update from translation team.
22957 * catgets/gencat.c: Update copyright year.
22958 * csu/version.c: Likewise.
22959 * debug/catchsegv.sh: Likewise.
22960 * debug/pcprofiledump.c: Likewise.
22961 * debug/xtrace.sh: Likewise.
22962 * elf/ldconfig.c: Likewise.
22963 * elf/ldd.bash.in: Likewise.
22964 * elf/pldd.c: Likewise.
22965 * elf/sotruss.ksh: Likewise.
22966 * elf/sprof.c: Likewise.
22967 * iconv/iconv_prog.c: Likewise.
22968 * iconv/iconvconfig.c: Likewise.
22969 * locale/programs/locale.c: Likewise.
22970 * locale/programs/localedef.c: Likewise.
22971 * login/programs/pt_chown.c: Likewise.
22972 * malloc/memusage.sh: Likewise.
22973 * malloc/memusagestat.c: Likewise.
22974 * malloc/mtrace.pl: Likewise.
22975 * nscd/nscd.c: Likewise.
22976 * nss/getent.c: Likewise.
22977 * nss/makedb.c: Likewise.
22978 * posix/getconf.c: Likewise.
22980 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22982 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22985 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22987 * math/bits/mathcalls.h (modf): Use __nonnull.
22989 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22991 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22992 (split): Use macro CN instead of the bare value.
22993 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22996 instead of the bare value.
22997 (power1): Likewise.
22999 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23003 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23005 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23007 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23008 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23009 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23010 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23012 2012-12-28 Andreas Jaeger <aj@suse.de>
23014 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23015 values are from Linux 3.7.
23017 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23018 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23020 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23022 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23025 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23027 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23028 variables with preprocessor constants.
23029 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23030 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23031 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23033 2012-12-27 Bruno Haible <bruno@clisp.org>
23036 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23039 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23041 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23042 and use variable directly.
23043 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23045 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23047 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23050 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23052 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23053 include directive. Remove local variable MPONE.
23054 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23055 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23056 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23058 2012-12-25 David S. Miller <davem@davemloft.net>
23060 * version.h (RELEASE): Set to "development".
23061 (VERSION): Set to "2.17.90".
23062 * NEWS: Add 2.18 section.
23064 2012-12-21 David S. Miller <davem@davemloft.net>
23066 * po/hr.po: Update from translation team.
23068 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23070 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23072 2012-12-19 Steve Ellcey <sellcey@mips.com>
23074 * NEWS: Mention new memcpy for MIPS.
23076 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23078 * manual/contrib.texi (Contributors): Spelling correction.
23080 2012-12-15 David S. Miller <davem@davemloft.net>
23082 * po/ru.po: Update from translation team.
23084 2012-12-13 David S. Miller <davem@davemloft.net>
23086 * NEWS: Mention IFUNC testsuite enhancements.
23088 * po/pl.po: Update from translation team.
23089 * po/bg.po: Likewise.
23091 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23092 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23094 2012-12-11 David S. Miller <davem@davemloft.net>
23096 * po/sv.po: Update from translation team.
23098 * po/vi.po: Update from translation team.
23100 * po/cs.po: Update from translation team.
23102 * po/de.po: Update from translation team.
23103 * po/eo.po: Likewise.
23104 * po/nl.po: Likewise.
23106 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23109 * manual/argp.texi (Argp Helper Functions): Move node to follow
23110 Argp Parsing State.
23113 * manual/conf.texi (Limits on File System Capacity): Mention if
23114 terminating null is included in the max size.
23116 2012-12-10 Andreas Jaeger <aj@suse.de>
23118 * po/cs.po: Update from translation team.
23120 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23122 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23123 void pointer and cast to uintptr_t.
23124 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23126 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23127 * sysdeps/s390/s390-64/memset.S: Likewise.
23129 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23132 * menual/message.texi (Message Translation): Fix typos.
23133 (Helper programs for gettext): Likewise.
23135 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23138 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23141 2012-12-07 David S. Miller <davem@davemloft.net>
23143 * po/libc.pot: Update.
23145 2012-12-07 Richard Henderson <rth@redhat.com>
23148 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23149 normal/normal case to before the switch.
23150 (_FP_DIV): Likewise.
23152 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23153 Mike Frysinger <vapier@gentoo.org>
23155 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23156 check for __NR_fadvise64_64.
23158 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23160 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23161 0, not just to plain "0" as a statement.
23162 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23165 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23167 * NEWS: Use sourceware.org in Bugzilla URL.
23169 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23172 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23174 * stdio-common/tst-put-error.c (do_test): Add newline to the
23175 padded test to ensure flush.
23177 2012-12-05 Jeff Law <law@redhat.com>
23179 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23181 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23183 * README: Don't refer to ports add-on as distributed separately.
23184 Mention AArch64 in list of systems supported in the ports add-on.
23186 * LICENSES: Add more non-FSF copyright and license notices.
23188 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23191 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23193 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23194 10000 as width of padded output.
23196 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23198 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23201 variable LX with __attribute__ ((unused)).
23202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23207 with __attribute__ ((unused)).
23209 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23211 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23213 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23215 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23216 (CFLAGS-nldbl-acos.c): New variable.
23217 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23218 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23219 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23220 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23221 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23222 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23223 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23224 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23225 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23226 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23227 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23228 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23229 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23230 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23231 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23232 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23233 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23234 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23235 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23236 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23237 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23238 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23239 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23240 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23241 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23242 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23243 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23244 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23245 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23246 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23247 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23248 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23249 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23250 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23251 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23252 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23253 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23254 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23255 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23256 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23257 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23258 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23259 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23260 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23261 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23262 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23263 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23264 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23265 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23266 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23267 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23268 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23269 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23270 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23271 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23272 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23273 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23274 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23275 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23276 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23277 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23278 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23279 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23280 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23281 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23282 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23283 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23284 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23285 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23286 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23287 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23288 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23289 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23290 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23291 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23292 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23293 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23294 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23295 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23296 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23297 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23298 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23299 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23300 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23301 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23302 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23303 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23304 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23305 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23306 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23307 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23308 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23309 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23310 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23311 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23312 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23313 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23316 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23320 whole low double instead of just low 47 bits when splitting values
23323 2012-12-03 Allan McRae <allan@archlinux.org>
23325 * manual/stdio.texi (Predefined Printf Handlers): Remove
23326 @hsep and @vsep usage.
23328 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23330 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23331 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23333 2012-12-03 Jeff Law <law@redhat.com>
23335 * time/sys/time.h (settimeofday): Do not mark TV argument
23338 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23340 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23341 when currently writing and seek to current position when not.
23342 * libio/Makefile (tests): Remove bug-fclose1.
23343 * libio/bug-fclose1.c: Delete.
23345 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23347 * manual/arith.texi (feenableexcept): Fix typo.
23348 (fedisableexcept): Likewise.
23350 2012-11-30 Roland McGrath <roland@hack.frob.com>
23352 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23353 second, differently-typed declaration, rather than a cast.
23355 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23357 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23358 * include/rpc/svc.h: ... here.
23360 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23363 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23364 depending n and resplen2 to catch cases where answer
23367 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23369 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23370 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23372 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23374 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23376 2012-11-29 Roland McGrath <roland@hack.frob.com>
23378 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23380 2012-11-28 Jeff Law <law@redhat.com>
23383 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23384 dataset_temporary. Track alloca usage into alloca_used.
23385 If dataset is large allocate and release it via malloc/free.
23387 2012-06-04 Florian Weimer <fweimer@redhat.com>
23390 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23392 2012-11-28 David S. Miller <davem@davemloft.net>
23394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23396 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23399 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23400 of pi/2 rounded to nearest to 64 bits.
23401 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23402 nearest to 64 bits.
23403 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23406 2012-11-28 Jeff Law <law@redhat.com>
23407 Martin Osvald <mosvald@redhat.com>
23410 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23411 * sunrpc/svc.c: Include time.h.
23412 (__svc_accept_failed): New function.
23413 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23414 any reason other than EINTR, call __svc_accept_failed.
23415 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23416 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23418 2012-11-28 Andreas Schwab <schwab@suse.de>
23420 * scripts/abilist.awk: Also handle indirect functions in .opd
23423 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23426 * sysdeps/x86/fpu/powl_helper.c: New file.
23427 * sysdeps/x86/fpu/Makefile: Likewise.
23428 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23430 (__ieee754_powl): Use __powl_helper for finite arguments except
23431 integer exponents below 8.
23432 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23434 (__ieee754_powl): Use __powl_helper for finite arguments except
23435 integer exponents below 8.
23436 * math/libm-test.inc (pow_test): Add more tests and enable some
23437 previously disabled tests.
23438 * sysdeps/i386/fpu/libm-test-ulps: Update.
23439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23441 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23442 Carlos O'Donell <carlos_odonell@mentor.com>
23444 * nss/makedb.c (is_prime): Assert that input is odd and greater
23445 than 4. Note that fact in a comment too.
23446 (next_prime): Add 4 to input.
23448 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23451 * libio/Makefile (tests): Add test case tst-fwrite-error.
23452 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23453 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23454 * libio/tst-fwrite-error.c: New test case.
23456 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23458 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23459 before casting to void *.
23460 * include/libc-internal.h (__pointer_type): New macro.
23461 (__integer_if_pointer_type_sub): Likewise.
23462 (__integer_if_pointer_type): Likewise.
23463 (cast_to_integer): Likewise.
23464 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23465 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23466 before casting to atomic64_t.
23467 (atomic_exchange_acq): Likewise.
23468 (__arch_exchange_and_add_body): Likewise.
23469 (__arch_add_body): Likewise.
23470 (atomic_add_negative): Likewise.
23471 (atomic_add_zero): Likewise.
23473 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23475 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23476 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23477 (add_fdes): Likewise.
23478 (linear_search_fdes): Likewise.
23479 (binary_search_unencoded_fdes): Likewise.
23481 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23483 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23485 2012-11-24 Adam Conrad <adconrad@0c3.net>
23487 * configure.in: Autodetect C++ header directories.
23488 * configure: Regenerated.
23490 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23492 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23494 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23498 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23500 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23501 LDBL_MANT_DIG == 106]: Disable some tests.
23502 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23504 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23508 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23509 input for small inputs. Return +/- pi/2 for large inputs.
23510 * math/libm-test.inc (atan_test): Add more tests.
23512 * sysdeps/generic/unwind-dw2-fde-glibc.c
23513 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23514 __attribute__ ((unused)).
23517 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23518 x * y if x and y are nonzero and z is zero.
23521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23522 nonzero exponents with absolute value below 0x1p-117 to +/-
23526 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23527 up arguments below 2**-450, not just those below 2**-500.
23528 * math/libm-test.inc (hypot_test): Add another test.
23531 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23532 Return a+b for ratio over 2**120, not 2**60.
23533 * math/libm-test.inc (hypot_test): Add another test.
23535 * math/libm-test.inc (clog_test): Use
23536 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23537 (clog10_test): Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23542 2012-11-22 Andreas Schwab <schwab@suse.de>
23544 * sysdeps/i386/fpu/libm-test-ulps: Update.
23546 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23548 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23549 printf output with newline.
23551 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23554 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23555 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23556 -z nodlopen, -z initfirst and -z execstack support.
23557 * configure: Regenerated.
23559 * elf/elf.h (DF_1_NODIRECT): New macro.
23560 (DF_1_IGNMULDEF): Likewise.
23561 (DF_1_NOKSYMS): Likewise.
23562 (DF_1_NOHDR): Likewise.
23563 (DF_1_EDITED): Likewise.
23564 (DF_1_NORELOC): Likewise.
23565 (DF_1_SYMINTPOSE): Likewise.
23566 (DF_1_GLOBAUDIT): Likewise.
23567 (DF_1_SINGLETON): Likewise.
23568 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23569 DT_1_SUPPORTED_MASK bits.
23570 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23572 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23574 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23576 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23578 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23581 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23582 (sendmmsg): Move declarations...
23583 * socket/sys/socket.h: ... here.
23584 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23585 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23587 * socket/recvmmsg.c: ... this new file.
23588 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23589 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23590 definition of __sendmmsg hidden.
23591 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23592 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23593 Move ENOSYS stub into and include it from...
23594 * socket/sendmmsg.c: ... this new file.
23595 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23596 (sysdep_routines): Move recvmmsg and sendmmsg...
23597 * socket/Makefile (routines): ... here.
23598 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23599 (GLIBC_PRIVATE): Add __sendmmsg.
23600 * include/sys/socket.h (__sendmmsg): Add declarations.
23601 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23604 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23607 variable I1 with __attribute__ ((unused)).
23608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23610 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23612 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23613 DUMMY variables with __attribute__ ((unused)).
23615 * bits/byteswap.h: Include <bits/types.h>.
23616 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23618 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23620 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23621 string_t. Do not manually set errno.
23622 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23623 length with __strnlen. Make sure to both set errno and return it on
23626 2012-11-19 David S. Miller <davem@davemloft.net>
23628 With help from Joseph Myers.
23629 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23630 very large arguments properly.
23631 * math/libm-test.inc (atan_test): New tests.
23632 (atan2_test): New tests.
23633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23636 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23639 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23642 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23643 [POSIX] (EADDRNOTAVAIL): Likewise.
23644 [POSIX] (EAFNOSUPPORT): Likewise.
23645 [POSIX] (EALREADY): Likewise.
23646 [POSIX] (ECONNABORTED): Likewise.
23647 [POSIX] (ECONNREFUSED): Likewise.
23648 [POSIX] (ECONNRESET): Likewise.
23649 [POSIX] (EDESTADDRREQ): Likewise.
23650 [POSIX] (EDQUOT): Likewise.
23651 [POSIX] (EHOSTUNREACH): Likewise.
23652 [POSIX] (EIDRM): Likewise.
23653 [POSIX] (EISCONN): Likewise.
23654 [POSIX] (ELOOP): Likewise.
23655 [POSIX] (EMULTIHOP): Likewise.
23656 [POSIX] (ENETDOWN): Likewise.
23657 [POSIX] (ENETUNREACH): Likewise.
23658 [POSIX] (ENOBUFS): Likewise.
23659 [POSIX] (ENODATA): Likewise.
23660 [POSIX] (ENOLINK): Likewise.
23661 [POSIX] (ENOMSG): Likewise.
23662 [POSIX] (ENOPROTOOPT): Likewise.
23663 [POSIX] (ENOSR): Likewise.
23664 [POSIX] (ENOSTR): Likewise.
23665 [POSIX] (ENOTCONN): Likewise.
23666 [POSIX] (ENOTSOCK): Likewise.
23667 [POSIX] (EOPNOTSUPP): Likewise.
23668 [POSIX] (EOVERFLOW): Likewise.
23669 [POSIX] (EPROTO): Likewise.
23670 [POSIX] (EPROTONOSUPPORT): Likewise.
23671 [POSIX] (EPROTOTYPE): Likewise.
23672 [POSIX] (ESTALE): Likewise.
23673 [POSIX] (ETIME): Likewise.
23674 [POSIX] (ETXTBSY): Likewise.
23675 [POSIX] (EWOULDBLOCK): Likewise.
23676 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23677 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23678 [POSIX] (SEEK_CUR): Likewise.
23679 [POSIX] (SEEK_END): Likewise.
23680 [POSIX || UNIX98] (mode_t): Do not require.
23681 [POSIX] (off_t): Likewise.
23682 [POSIX] (pid_t): Likewise.
23683 [POSIX] (sys/stat.h): Do not allow header.
23684 [POSIX] (unistd.h): Likewise.
23685 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23686 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23687 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23688 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23690 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23691 sigevent): Specify elements.
23692 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23694 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23695 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23697 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23698 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23699 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23700 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23701 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23702 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23703 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23704 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23705 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23706 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23707 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23708 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23709 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23710 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23712 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23714 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23716 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23718 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23719 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23720 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23721 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23722 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23723 Specify lower bound on value.
23724 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23725 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23726 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23727 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23728 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23729 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23730 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23731 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23733 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23735 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23736 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23737 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23738 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23739 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23740 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23741 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23742 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23743 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23744 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23745 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23746 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23747 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23748 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23749 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23750 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23752 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23754 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23755 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23756 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23757 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23758 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23759 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23761 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23762 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23763 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23764 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23765 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23766 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23767 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23769 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23770 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23771 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23772 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23773 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23774 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23775 specify as optional.
23776 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23777 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23778 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23779 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23780 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23781 [XPG3] (NL_LANGMAX): Likewise.
23782 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23783 [POSIX || XPG3] (NL_NMAX): Likewise.
23784 [POSIX || XPG3] (NL_SETMAX): Likewise.
23785 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23786 [XPG3] (NZERO): Likewise.
23787 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23788 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23789 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23790 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23791 (REG_ERANGE): Expect.
23792 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23794 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23795 Use (void) in prototype.
23796 [POSIX] (*_t): Allow.
23797 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23798 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23799 (WRDE_BADVAL): Expect.
23801 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23803 [XPG3 || XPG4] (O_RSYNC): Likewise.
23804 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23806 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23807 [XPG3 || XPG4] (sigqueue): Likewise.
23808 [XPG3 || XPG4] (sigtimedwait): Likewise.
23809 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23810 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23811 [XPG3 || XPG4] (vsnprintf): Likewise.
23812 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23814 [XPG3 || XPG4] (blksize_t): Likewise.
23815 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23817 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23818 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23819 [XPG3 || XPG4] (struct itimerspec): Likewise.
23820 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23821 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23822 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23823 [XPG3 || XPG4] (clockid_t): Likewise.
23824 [XPG3 || XPG4] (timer_t): Likewise.
23825 [XPG3 || XPG4] (clock_getres): Likewise.
23826 [XPG3 || XPG4] (clock_gettime): Likewise.
23827 [XPG3 || XPG4] (clock_settime): Likewise.
23828 [XPG3 || XPG4] (nanosleep): Likewise.
23829 [XPG3 || XPG4] (timer_create): Likewise.
23830 [XPG3 || XPG4] (timer_delete): Likewise.
23831 [XPG3 || XPG4] (timer_gettime): Likewise.
23832 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23833 [XPG3 || XPG4] (timer_settime): Likewise.
23834 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23835 [XPG3 || XPG4] (getlogin_r): Likewise.
23836 [XPG3 || XPG4] (pread): Likewise.
23837 [XPG3 || XPG4] (pthread_atfork): Likewise.
23838 [XPG3 || XPG4] (pwrite): Likewise.
23841 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23844 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23846 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23847 finalizing MALLSTREAM.
23849 * sysdeps/mach/hurd/syncfs.c: New file.
23851 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23855 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23856 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23857 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23858 (_nss_dns_gethostbyname4_r): Likewise.
23859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23860 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23862 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23865 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23867 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23869 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23870 * elf/cache.c (print_entry): Print ",AArch64" for
23873 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23874 * elf/cache.c (print_entry): Print ",hard-float" for
23877 2012-11-18 David S. Miller <davem@davemloft.net>
23879 With help from Joseph Myers.
23880 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23882 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23884 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23885 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23887 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23888 * math/libm-test.inc (y0_test): New tests.
23889 (y1_test): New tests.
23890 * sysdeps/i386/fpu/libm-test-ulps: Update.
23891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23894 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23896 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23898 * configure: Regenerated.
23900 2012-11-17 David S. Miller <davem@davemloft.net>
23903 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23904 nonzero exponents with absolute value below 0x1p-128 to +/-
23907 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23909 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23911 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23913 * posix/getconf-speclist.c: New file.
23914 * posix/posix-envs.def: Likewise.
23915 * posix/confstr.c (START_ENV_GROUP): New macro.
23916 (END_ENV_GROUP): Likewise.
23917 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23918 (KNOWN_PRESENT_ENV_STRING): Likewise.
23919 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23920 (UNKNOWN_ENVIRONMENT): Likewise.
23921 (confstr): Include posix-envs.def instead of handling
23922 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23923 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23924 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23925 (END_ENV_GROUP): Likewise.
23926 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23927 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23928 (UNKNOWN_ENVIRONMENT): Likewise.
23929 (__sysconf): Include posix-envs.def instead of handling associated
23930 cases directly here.
23931 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23932 preprocessing getconf-speclist.c rather than running getconf or
23933 generating empty file.
23935 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23937 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23939 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23942 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23944 2012-11-16 David S. Miller <davem@davemloft.net>
23946 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23947 smaller than LDBL_EPSILON/2.0L, just return xm1.
23949 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23951 * elf/tst-array1.c (init): Set constructor priority to 1000.
23952 (fini): Set destructor priority to 1000.
23953 * elf/tst-array2dep.c: Likewise.
23955 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23958 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23959 (_IO_new_file_xsputn): Also return EOF if none of the input
23960 data was written when overflow failed.
23961 * libio/iopadn.c (_IO_padn): Likewise.
23962 * libio/iowpadn.c (_IO_wpadn): Likewise.
23963 * stdio-common/tst-put-error.c: Add copyright notice.
23964 (do_test): Add case for printing padded string.
23965 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23966 _IO_padn returned error.
23967 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23968 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23971 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23973 * libio/libioP.h: Add comment note that the references to C++
23974 bits are now obsolete.
23976 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23978 * math/libm-test.inc (check_complex): Use asprintf.
23980 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23982 * debug/pcprofiledump.c (print_version): Update copyright year.
23983 * malloc/memusagestat.c (print_version): Likewise.
23985 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23988 * elf/Makefile (tests): Add tst-audit8.
23989 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23990 ($(objpfx)tst-audit8.out): New target.
23991 (tst-audit8-ENV): New variable.
23992 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23993 audit if l_reloc_result is NULL.
23994 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23995 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23996 * elf/tst-audit8.c: New file.
23998 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24000 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24001 * misc/Makefile (CFLAGS-select.c): Define.
24002 * posix/Makefile (CFLAGS-pause.c): Define.
24004 2012-11-13 David S. Miller <davem@davemloft.net>
24006 * crypt/Makefile: Move test targets after toplevel Rules
24007 inclusion. Grab any necessary sysdep routines when linking.
24008 * crypt/md5.c (md5_process_block): Remove define, we will always
24009 name it __md5_process_block.
24010 (md5_finish_ctx): Update md5_process_block call.
24011 (md5_stream): Likewise.
24012 (md5_process_bytes): Likewise.
24013 (md5_process_block): Rename to __md5_process_block and move to ...
24014 * crypt/md5-block.c: ... here.
24015 * crypt/sha256.c (sha256_process_block): Move to ...
24016 * crypt/sha256-block.c: ... here.
24017 * crypt/sha512.c (sha512_process_block): Move to ...
24018 * crypt/sha512-block.c: ... here.
24019 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24021 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24022 * sysdeps/sparc/sparc64/multiarch/Makefile
24023 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24025 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24026 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24028 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24029 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24030 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24031 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24032 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24033 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24034 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24035 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24036 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24038 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24039 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24041 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24043 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24045 * timezone/tzselect.ksh: Update from tzcode git revision
24046 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24047 * timezone/zdump.c: Likewise.
24048 * timezone/zic.c: Likewise.
24049 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24050 in TZVERSION setting, not $(PKGVERSION).
24051 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24052 REPORT_BUGS_TO settings.
24055 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24058 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24060 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24061 detection to immediately after _FP_ROUND().
24062 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24065 2012-11-11 David S. Miller <davem@davemloft.net>
24067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24069 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24070 __close rather than their public counterparts.
24072 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24074 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24076 [UNIX98] (sem_timedwait): Do not expect.
24077 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24078 [XPG4 || UNIX98] (sockatmark): Do not expect.
24079 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24080 (clock_getcpuclockid): Do not expect.
24081 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24082 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24084 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24085 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24086 [UNIX98] (vwscanf): Likewise.
24087 [UNIX98] (vswscanf): Likewise.
24089 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24091 * timezone/version.h: Remove file.
24092 * timezone/README: Do not refer to version.h.
24093 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24094 $(objpfx)version.h.
24095 ($(objpfx)zdump.o): Likewise.
24096 ($(objpfx)version.h): New target.
24098 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24100 * timezone/README: Don't mention modification to tzselect.ksh.
24101 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24102 work on unmodified tzselect.ksh. Substitute version numbers in
24105 * Makefile (format-me): Remove.
24106 (INSTALL): Adjust indentation. Use commands directly instead of
24107 using $(format-me).
24109 * aclocal.m4 (ACX_PKGVERSION): New macro.
24110 (ACX_BUGURL): Likewise.
24111 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24112 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24113 (REPORT_BUGS_TO): Likewise.
24114 * configure: Regenerated.
24115 * config.h.in (PKGVERSION): New macro.
24116 (REPORT_BUGS_TO): Likewise.
24117 * config.make.in (PKGVERSION): New variable.
24118 (PKGVERSION_TEXI): Likewise.
24119 (REPORT_BUGS_TO): Likewise.
24120 (REPORT_BUGS_TEXI): Likewise.
24121 * Makefile (format-me): Use -I$(common-objpfx)manual.
24122 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24123 ($(common-objpfx)manual/%): New target.
24124 (manual/%): Remove target.
24125 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24126 (print_version): Use PKGVERSION.
24127 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24128 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24129 and REPORT_BUGS_TO.
24130 ($(objpfx)xtrace): Likewise.
24131 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24132 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24133 (print_version): Use PKGVERSION.
24134 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24135 (do_version): Use PKGVERSION.
24136 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24138 (common-ldd-rewrite): Likewise.
24139 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24140 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24141 (print_version): Use PKGVERSION.
24142 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24143 * elf/pldd.c (argp_program_bug_address): Remove variable.
24144 (more_help): New function.
24145 (argp): Use more_help.
24146 (print_version): Use PKGVERSION.
24147 * elf/sln.c (main): Use PKGVERSION.
24148 (usage): Use REPORT_BUGS_TO.
24149 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24150 (top level): Use PKGVERSION.
24151 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24152 (print_version): Use PKGVERSION.
24153 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24154 (print_version): Use PKGVERSION.
24155 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24156 (print_version): Use PKGVERSION.
24157 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24158 (print_version): Use PKGVERSION.
24159 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24160 (print_version): Use PKGVERSION.
24161 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24162 (print_version): Use PKGVERSION.
24163 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24165 ($(objpfx)memusage): Likewise.
24166 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24167 (do_version): Use PKGVERSION.
24168 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24169 (print_version): Use PKGVERSION.
24170 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24171 ($PKGVERSION): New variable.
24172 ($REPORT_BUGS_TO): Likewise.
24173 (usage): Use $REPORT_BUGS_TO.
24174 (top level): Use $PKGVERSION.
24175 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24176 ($(objpfx)pkgvers.texi): New rule.
24177 ($(objpfx)stamp-pkgvers): Likewise.
24178 * manual/install.texi: Include pkgvers.texi.
24179 (--with-pkgversion): Document new configure option.
24180 (--with-bugurl): Likewise.
24181 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24182 than necessarily for this particular distribution. Use
24183 REPORT_BUGS_TO for where to report bugs.
24184 * INSTALL: Regenerated.
24185 * manual/libc.texinfo: Include pkgvers.texi.
24186 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24187 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24188 (print_version): Use PKGVERSION.
24189 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24190 (print_version): Use PKGVERSION.
24191 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24192 (print_version): Use PKGVERSION.
24193 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24194 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24196 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24197 (print_version): Use PKGVERSION.
24198 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24199 (print_version): Use PKGVERSION.
24200 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24203 * timezone/checktab.awk: Update from tzcode 2012i.
24204 * timezone/ialloc.c: Likewise.
24205 * timezone/private.h: Likewise.
24206 * timezone/scheck.c: Likewise.
24207 * timezone/tzfile.h: Likewise.
24208 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24209 (TZVERSION): Hardcode tzcode version number.
24210 * timezone/zdump.c: Update from tzcode 2012i.
24211 * timezone/zic.c: Likewise.
24212 * timezone/version.h: New file.
24213 * timezone/README: Describe version.h. Update upstream location.
24216 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24217 (mktemp): Enable declaration.
24218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24219 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24221 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24223 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24235 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24236 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24237 for copies of such integer values.
24238 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24239 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24241 2012-11-09 Andreas Jaeger <aj@suse.de>
24243 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24244 definitions and declarations that are provided by
24245 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24247 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24250 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24251 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24254 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24256 * elf/elf.h: Update comment before AArch64 relocations.
24258 2012-11-07 David S. Miller <davem@davemloft.net>
24260 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24261 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24262 (__start_context): Declare.
24263 (__makecontext_ret): Delete.
24264 (__makecontext): Hook up __start_context instead of
24266 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24267 (sysdep_routines): Add __start_context when in stdlib.
24269 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24271 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24272 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24273 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24275 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24276 (READELF): New variable. Use it instead of hardcoded "readelf".
24278 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24280 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24281 * sysdeps/x86/Makefile: Here.
24282 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24283 * sysdeps/x86/tst-xmmymm.sh: This.
24285 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24287 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24289 [UNIX98] (pthread_barrier_t): Do not expect.
24290 [UNIX98] (pthread_barrierattr_t): Likewise.
24291 [UNIX98] (pthread_spinlock_t): Likewise.
24292 [UNIX98] (pthread_barrier_destroy): Likewise.
24293 [UNIX98] (pthread_barrier_init): Likewise.
24294 [UNIX98] (pthread_barrier_wait): Likewise.
24295 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24296 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24297 [UNIX98] (pthread_barrierattr_init): Likewise.
24298 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24299 [UNIX98] (pthread_getcpuclockid): Likewise.
24300 [UNIX98] (pthread_mutex_timedlock): Likewise.
24301 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24302 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24303 [UNIX98] (pthread_sigmask): Likewise.
24304 [UNIX98] (pthread_spin_destroy): Likewise.
24305 [UNIX98] (pthread_spin_init): Likewise.
24306 [UNIX98] (pthread_spin_lock): Likewise.
24307 [UNIX98] (pthread_spin_trylock): Likewise.
24308 [UNIX98] (pthread_spin_unlock): Likewise.
24309 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24311 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24312 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24313 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24314 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24315 [XPG3 || XPG4] (pthread_key_t): Likewise.
24316 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24317 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24318 [XPG3 || XPG4] (pthread_once_t): Likewise.
24319 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24320 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24321 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24322 [XPG3 || XPG4] (pthread_t): Likewise.
24324 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24326 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24328 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24329 Change function return type to int.
24331 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24332 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24333 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24334 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24335 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24336 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24337 [!POSIX] (posix_madvise): Likewise.
24338 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24340 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24341 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24342 (mode_t): Likewise.
24343 (posix_mem_offset): Likewise.
24344 (posix_typed_mem_get_info): Likewise.
24345 (posix_typed_mem_open): Likewise.
24347 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24348 Change condition to [XOPEN2K8].
24350 * conform/conformtest.pl: Preprocess allow-header data with -x c
24351 instead of from stdin.
24352 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24353 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24354 [C99-based standards] (cerfc): Likewise.
24355 [C99-based standards] (cexp2): Likewise.
24356 [C99-based standards] (cexpm1): Likewise.
24357 [C99-based standards] (clog10): Likewise.
24358 [C99-based standards] (clog1p): Likewise.
24359 [C99-based standards] (clog2): Likewise.
24360 [C99-based standards] (clgamma): Likewise.
24361 [C99-based standards] (ctgamma): Likewise.
24362 [C99-based standards] (cerff): Likewise.
24363 [C99-based standards] (cerfcf): Likewise.
24364 [C99-based standards] (cexp2f): Likewise.
24365 [C99-based standards] (cexpm1f): Likewise.
24366 [C99-based standards] (clog10f): Likewise.
24367 [C99-based standards] (clog1pf): Likewise.
24368 [C99-based standards] (clog2f): Likewise.
24369 [C99-based standards] (clgammaf): Likewise.
24370 [C99-based standards] (ctgammaf): Likewise.
24371 [C99-based standards] (cerfl): Likewise.
24372 [C99-based standards] (cerfcl): Likewise.
24373 [C99-based standards] (cexp2l): Likewise.
24374 [C99-based standards] (cexpm1l): Likewise.
24375 [C99-based standards] (clog10l): Likewise.
24376 [C99-based standards] (clog1pl): Likewise.
24377 [C99-based standards] (clog2l): Likewise.
24378 [C99-based standards] (clgammal): Likewise.
24379 [C99-based standards] (ctgammal): Likewise.
24380 * conform/data/inttypes.h-data [C99-based standards]: Include
24381 stdint.h-data. Remove all expectations for stdint.h contents.
24382 [C99-based standards] (PRI*): Do not allow.
24383 [C99-based standards] (SCN*): Likewise.
24384 [C99-based standards] (*_t): Likewise.
24385 [C99-based-standards] (PRId8): Expect macro.
24386 [C99-based-standards] (PRIi8): Likewise.
24387 [C99-based-standards] (PRIo8): Likewise.
24388 [C99-based-standards] (PRIu8): Likewise.
24389 [C99-based-standards] (PRIx8): Likewise.
24390 [C99-based-standards] (PRIX8): Likewise.
24391 [C99-based-standards] (SCNd8): Likewise.
24392 [C99-based-standards] (SCNi8): Likewise.
24393 [C99-based-standards] (SCNo8): Likewise.
24394 [C99-based-standards] (SCNu8): Likewise.
24395 [C99-based-standards] (SCNx8): Likewise.
24396 [C99-based-standards] (PRIdLEAST8): Likewise.
24397 [C99-based-standards] (PRIiLEAST8): Likewise.
24398 [C99-based-standards] (PRIoLEAST8): Likewise.
24399 [C99-based-standards] (PRIuLEAST8): Likewise.
24400 [C99-based-standards] (PRIxLEAST8): Likewise.
24401 [C99-based-standards] (PRIXLEAST8): Likewise.
24402 [C99-based-standards] (SCNdLEAST8): Likewise.
24403 [C99-based-standards] (SCNiLEAST8): Likewise.
24404 [C99-based-standards] (SCNoLEAST8): Likewise.
24405 [C99-based-standards] (SCNuLEAST8): Likewise.
24406 [C99-based-standards] (SCNxLEAST8): Likewise.
24407 [C99-based-standards] (PRIdFAST8): Likewise.
24408 [C99-based-standards] (PRIiFAST8): Likewise.
24409 [C99-based-standards] (PRIoFAST8): Likewise.
24410 [C99-based-standards] (PRIuFAST8): Likewise.
24411 [C99-based-standards] (PRIxFAST8): Likewise.
24412 [C99-based-standards] (PRIXFAST8): Likewise.
24413 [C99-based-standards] (SCNdFAST8): Likewise.
24414 [C99-based-standards] (SCNiFAST8): Likewise.
24415 [C99-based-standards] (SCNoFAST8): Likewise.
24416 [C99-based-standards] (SCNuFAST8): Likewise.
24417 [C99-based-standards] (SCNxFAST8): Likewise.
24418 [C99-based-standards] (PRId16): Likewise.
24419 [C99-based-standards] (PRIi16): Likewise.
24420 [C99-based-standards] (PRIo16): Likewise.
24421 [C99-based-standards] (PRIu16): Likewise.
24422 [C99-based-standards] (PRIx16): Likewise.
24423 [C99-based-standards] (PRIX16): Likewise.
24424 [C99-based-standards] (SCNd16): Likewise.
24425 [C99-based-standards] (SCNi16): Likewise.
24426 [C99-based-standards] (SCNo16): Likewise.
24427 [C99-based-standards] (SCNu16): Likewise.
24428 [C99-based-standards] (SCNx16): Likewise.
24429 [C99-based-standards] (PRIdLEAST16): Likewise.
24430 [C99-based-standards] (PRIiLEAST16): Likewise.
24431 [C99-based-standards] (PRIoLEAST16): Likewise.
24432 [C99-based-standards] (PRIuLEAST16): Likewise.
24433 [C99-based-standards] (PRIxLEAST16): Likewise.
24434 [C99-based-standards] (PRIXLEAST16): Likewise.
24435 [C99-based-standards] (SCNdLEAST16): Likewise.
24436 [C99-based-standards] (SCNiLEAST16): Likewise.
24437 [C99-based-standards] (SCNoLEAST16): Likewise.
24438 [C99-based-standards] (SCNuLEAST16): Likewise.
24439 [C99-based-standards] (SCNxLEAST16): Likewise.
24440 [C99-based-standards] (PRIdFAST16): Likewise.
24441 [C99-based-standards] (PRIiFAST16): Likewise.
24442 [C99-based-standards] (PRIoFAST16): Likewise.
24443 [C99-based-standards] (PRIuFAST16): Likewise.
24444 [C99-based-standards] (PRIxFAST16): Likewise.
24445 [C99-based-standards] (PRIXFAST16): Likewise.
24446 [C99-based-standards] (SCNdFAST16): Likewise.
24447 [C99-based-standards] (SCNiFAST16): Likewise.
24448 [C99-based-standards] (SCNoFAST16): Likewise.
24449 [C99-based-standards] (SCNuFAST16): Likewise.
24450 [C99-based-standards] (SCNxFAST16): Likewise.
24451 [C99-based-standards] (PRId32): Likewise.
24452 [C99-based-standards] (PRIi32): Likewise.
24453 [C99-based-standards] (PRIo32): Likewise.
24454 [C99-based-standards] (PRIu32): Likewise.
24455 [C99-based-standards] (PRIx32): Likewise.
24456 [C99-based-standards] (PRIX32): Likewise.
24457 [C99-based-standards] (SCNd32): Likewise.
24458 [C99-based-standards] (SCNi32): Likewise.
24459 [C99-based-standards] (SCNo32): Likewise.
24460 [C99-based-standards] (SCNu32): Likewise.
24461 [C99-based-standards] (SCNx32): Likewise.
24462 [C99-based-standards] (PRIdLEAST32): Likewise.
24463 [C99-based-standards] (PRIiLEAST32): Likewise.
24464 [C99-based-standards] (PRIoLEAST32): Likewise.
24465 [C99-based-standards] (PRIuLEAST32): Likewise.
24466 [C99-based-standards] (PRIxLEAST32): Likewise.
24467 [C99-based-standards] (PRIXLEAST32): Likewise.
24468 [C99-based-standards] (SCNdLEAST32): Likewise.
24469 [C99-based-standards] (SCNiLEAST32): Likewise.
24470 [C99-based-standards] (SCNoLEAST32): Likewise.
24471 [C99-based-standards] (SCNuLEAST32): Likewise.
24472 [C99-based-standards] (SCNxLEAST32): Likewise.
24473 [C99-based-standards] (PRIdFAST32): Likewise.
24474 [C99-based-standards] (PRIiFAST32): Likewise.
24475 [C99-based-standards] (PRIoFAST32): Likewise.
24476 [C99-based-standards] (PRIuFAST32): Likewise.
24477 [C99-based-standards] (PRIxFAST32): Likewise.
24478 [C99-based-standards] (PRIXFAST32): Likewise.
24479 [C99-based-standards] (SCNdFAST32): Likewise.
24480 [C99-based-standards] (SCNiFAST32): Likewise.
24481 [C99-based-standards] (SCNoFAST32): Likewise.
24482 [C99-based-standards] (SCNuFAST32): Likewise.
24483 [C99-based-standards] (SCNxFAST32): Likewise.
24484 [C99-based-standards] (PRId64): Likewise.
24485 [C99-based-standards] (PRIi64): Likewise.
24486 [C99-based-standards] (PRIo64): Likewise.
24487 [C99-based-standards] (PRIu64): Likewise.
24488 [C99-based-standards] (PRIx64): Likewise.
24489 [C99-based-standards] (PRIX64): Likewise.
24490 [C99-based-standards] (SCNd64): Likewise.
24491 [C99-based-standards] (SCNi64): Likewise.
24492 [C99-based-standards] (SCNo64): Likewise.
24493 [C99-based-standards] (SCNu64): Likewise.
24494 [C99-based-standards] (SCNx64): Likewise.
24495 [C99-based-standards] (PRIdLEAST64): Likewise.
24496 [C99-based-standards] (PRIiLEAST64): Likewise.
24497 [C99-based-standards] (PRIoLEAST64): Likewise.
24498 [C99-based-standards] (PRIuLEAST64): Likewise.
24499 [C99-based-standards] (PRIxLEAST64): Likewise.
24500 [C99-based-standards] (PRIXLEAST64): Likewise.
24501 [C99-based-standards] (SCNdLEAST64): Likewise.
24502 [C99-based-standards] (SCNiLEAST64): Likewise.
24503 [C99-based-standards] (SCNoLEAST64): Likewise.
24504 [C99-based-standards] (SCNuLEAST64): Likewise.
24505 [C99-based-standards] (SCNxLEAST64): Likewise.
24506 [C99-based-standards] (PRIdFAST64): Likewise.
24507 [C99-based-standards] (PRIiFAST64): Likewise.
24508 [C99-based-standards] (PRIoFAST64): Likewise.
24509 [C99-based-standards] (PRIuFAST64): Likewise.
24510 [C99-based-standards] (PRIxFAST64): Likewise.
24511 [C99-based-standards] (PRIXFAST64): Likewise.
24512 [C99-based-standards] (SCNdFAST64): Likewise.
24513 [C99-based-standards] (SCNiFAST64): Likewise.
24514 [C99-based-standards] (SCNoFAST64): Likewise.
24515 [C99-based-standards] (SCNuFAST64): Likewise.
24516 [C99-based-standards] (SCNxFAST64): Likewise.
24517 [C99-based-standards] (PRIdMAX): Likewise.
24518 [C99-based-standards] (PRIiMAX): Likewise.
24519 [C99-based-standards] (PRIoMAX): Likewise.
24520 [C99-based-standards] (PRIuMAX): Likewise.
24521 [C99-based-standards] (PRIxMAX): Likewise.
24522 [C99-based-standards] (PRIXMAX): Likewise.
24523 [C99-based-standards] (SCNdMAX): Likewise.
24524 [C99-based-standards] (SCNiMAX): Likewise.
24525 [C99-based-standards] (SCNoMAX): Likewise.
24526 [C99-based-standards] (SCNuMAX): Likewise.
24527 [C99-based-standards] (SCNxMAX): Likewise.
24528 [C99-based-standards] (PRIdPTR): Likewise.
24529 [C99-based-standards] (PRIiPTR): Likewise.
24530 [C99-based-standards] (PRIoPTR): Likewise.
24531 [C99-based-standards] (PRIuPTR): Likewise.
24532 [C99-based-standards] (PRIxPTR): Likewise.
24533 [C99-based-standards] (PRIXPTR): Likewise.
24534 [C99-based-standards] (SCNdPTR): Likewise.
24535 [C99-based-standards] (SCNiPTR): Likewise.
24536 [C99-based-standards] (SCNoPTR): Likewise.
24537 [C99-based-standards] (SCNuPTR): Likewise.
24538 [C99-based-standards] (SCNxPTR): Likewise.
24539 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24541 * conform/data/stdint.h-data: Update comments to clarify
24543 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24545 [C99-based standards] (INT8_MAX): Likewise.
24546 [C99-based standards] (INT16_MIN): Likewise.
24547 [C99-based standards] (INT16_MAX): Likewise.
24548 [C99-based standards] (INT32_MIN): Likewise.
24549 [C99-based standards] (INT32_MAX): Likewise.
24550 [C99-based standards] (INT64_MIN): Likewise.
24551 [C99-based standards] (INT64_MAX): Likewise.
24552 [C99-based standards] (UINT8_MAX): Likewise.
24553 [C99-based standards] (UINT16_MAX): Likewise.
24554 [C99-based standards] (UINT32_MAX): Likewise.
24555 [C99-based standards] (UINT64_MAX): Likewise.
24556 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24557 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24558 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24559 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24560 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24561 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24562 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24563 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24564 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24565 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24566 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24567 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24568 [C99-based standards] (INT_FAST8_MIN): Likewise.
24569 [C99-based standards] (INT_FAST8_MAX): Likewise.
24570 [C99-based standards] (INT_FAST16_MIN): Likewise.
24571 [C99-based standards] (INT_FAST16_MAX): Likewise.
24572 [C99-based standards] (INT_FAST32_MIN): Likewise.
24573 [C99-based standards] (INT_FAST32_MAX): Likewise.
24574 [C99-based standards] (INT_FAST64_MIN): Likewise.
24575 [C99-based standards] (INT_FAST64_MAX): Likewise.
24576 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24577 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24578 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24579 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24580 [C99-based standards] (INTPTR_MIN): Likewise.
24581 [C99-based standards] (INTPTR_MAX): Likewise.
24582 [C99-based standards] (UINTPTR_MAX): Likewise.
24583 [C99-based standards] (INTMAX_MIN): Likewise.
24584 [C99-based standards] (INTMAX_MAX): Likewise.
24585 [C99-based standards] (UINTMAX_MAX): Likewise.
24586 [C99-based standards] (PTRDIFF_MIN): Likewise.
24587 [C99-based standards] (PTRDIFF_MAX): Likewise.
24588 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24589 [C99-based standards] (SIZE_MAX): Likewise.
24590 [C99-based standards] (WCHAR_MAX): Likewise.
24591 [C99-based standards] (WINT_MAX): Likewise.
24592 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24593 constraint on value.
24594 [C99-based standards] (WCHAR_MIN): Likewise.
24595 [C99-based standards] (WINT_MIN): Likewise.
24596 [C99-based standards] (*_t): Allow.
24597 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24598 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24599 Include math.h-data and complex.h-data. Remove all expectations
24600 of math.h and complex.h contents.
24601 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24603 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24604 (struct tm): Expect tag.
24605 [C99-based-standards] (wcstof): Expect function.
24606 [C99-based-standards] (wcstold): Likewise.
24607 [C99-based-standards] (wcstoll): Likewise.
24608 [C99-based-standards] (wcstoull): Likewise.
24609 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24610 macro-int-constant. Specify type.
24611 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24612 constraint on value.
24613 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24615 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24617 [ISO C standards]: Do not allow headers.
24618 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24619 wcs[abcdefghijklmnopqrstuvwxyz]*.
24620 [ISO C standards] (*_t): Do not allow.
24621 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24623 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24624 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24626 [ISO C standards]: Do not allow headers.
24627 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24628 is[abcdefghijklmnopqrstuvwxyz]*.
24629 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24630 to[abcdefghijklmnopqrstuvwxyz]*.
24631 [ISO C standards] (*_t): Do not allow.
24632 * conform/data/stdalign.h-data: New file.
24633 * conform/data/stdbool.h-data: Likewise.
24634 * conform/data/stdnoreturn.h-data: Likewise.
24636 2012-11-07 Roland McGrath <roland@hack.frob.com>
24639 * manual/filesys.texi (Directory Entries): Typo fix.
24640 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24642 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24644 * elf/elf.h (EM_AARCH64): New macro.
24645 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24646 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24647 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24648 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24649 (R_AARCH64_TLSDESC): Likewise.
24650 (NT_ARM_TLS): Likewise.
24651 (NT_ARM_HW_BREAK): Likewise.
24652 (NT_ARM_HW_WATCH): Likewise.
24654 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24657 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24658 (__ieee754_powl): Saturate nonzero exponents with absolute value
24659 below 0x1p-79 to +/- 0x1p-79.
24660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24661 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24662 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24663 nonzero exponents with absolute value below 0x1p-32 to +/-
24665 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24666 (__ieee754_powl): Saturate nonzero exponents with absolute value
24667 below 0x1p-79 to +/- 0x1p-79.
24668 * math/libm-test.inc (pow_test): Add more tests.
24670 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24672 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24673 _dl_s390_cap_flags with kernel. Increase string length.
24674 (_dl_s390_platforms): Add z196 and zEC12.
24676 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24678 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24679 Change XOPEN21K to XOPEN2K.
24681 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24683 * string/memmove.c: Use memcpy when possible.
24685 2012-11-06 Andreas Jaeger <aj@suse.de>
24687 * po/eo.po: Update from translation team.
24689 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24693 exponent and small x and y exponents, scale x or y up. Increase
24694 by 2 the exponent used in scaling up.
24695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24697 * math/libm-test.inc (fma_test): Add more tests.
24698 (fma_test_towardzero): Likewise.
24699 (fma_test_downward): Likewise.
24700 (fma_test_upward): Likewise.
24702 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24705 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24709 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24710 namespace for names of struct fields.
24711 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24713 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24714 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24716 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24719 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24721 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24723 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24727 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24730 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24734 definitely overflow as x * y not x * y + z.
24735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24737 * math/libm-test.inc (fma_test): Add more tests.
24738 (fma_test_towardzero): Likewise.
24739 (fma_test_downward): Likewise.
24740 (fma_test_upward): Likewise.
24742 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24746 * include/stub-tag.h: Remove file.
24747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24749 * manual/maint.texi (Porting): Don't reference it.
24750 * Makerules ($(objpfx)stubs): Likewise.
24751 * dirent/closedir.c: Don't include <stub-tag.h>.
24752 * dirent/dirfd.c: Likewise.
24753 * dirent/fdopendir.c: Likewise.
24754 * dirent/getdents.c: Likewise.
24755 * dirent/getdents64.c: Likewise.
24756 * dirent/opendir.c: Likewise.
24757 * dirent/readdir.c: Likewise.
24758 * dirent/readdir64.c: Likewise.
24759 * dirent/readdir64_r.c: Likewise.
24760 * dirent/readdir_r.c: Likewise.
24761 * dirent/rewinddir.c: Likewise.
24762 * dirent/seekdir.c: Likewise.
24763 * dirent/telldir.c: Likewise.
24764 * gmon/profil.c: Likewise.
24765 * grp/setgroups.c: Likewise.
24766 * inet/if_index.c: Likewise.
24767 * io/access.c: Likewise.
24768 * io/chdir.c: Likewise.
24769 * io/chmod.c: Likewise.
24770 * io/chown.c: Likewise.
24771 * io/close.c: Likewise.
24772 * io/dup.c: Likewise.
24773 * io/dup2.c: Likewise.
24774 * io/dup3.c: Likewise.
24775 * io/euidaccess.c: Likewise.
24776 * io/faccessat.c: Likewise.
24777 * io/fchdir.c: Likewise.
24778 * io/fchmod.c: Likewise.
24779 * io/fchmodat.c: Likewise.
24780 * io/fchown.c: Likewise.
24781 * io/fchownat.c: Likewise.
24782 * io/fcntl.c: Likewise.
24783 * io/flock.c: Likewise.
24784 * io/fstatfs.c: Likewise.
24785 * io/fstatfs64.c: Likewise.
24786 * io/fstatvfs.c: Likewise.
24787 * io/fstatvfs64.c: Likewise.
24788 * io/futimens.c: Likewise.
24789 * io/fxstat.c: Likewise.
24790 * io/fxstat64.c: Likewise.
24791 * io/fxstatat.c: Likewise.
24792 * io/fxstatat64.c: Likewise.
24793 * io/getcwd.c: Likewise.
24794 * io/isatty.c: Likewise.
24795 * io/lchmod.c: Likewise.
24796 * io/lchown.c: Likewise.
24797 * io/link.c: Likewise.
24798 * io/linkat.c: Likewise.
24799 * io/lseek.c: Likewise.
24800 * io/lseek64.c: Likewise.
24801 * io/lxstat64.c: Likewise.
24802 * io/mkdir.c: Likewise.
24803 * io/mkdirat.c: Likewise.
24804 * io/mkfifo.c: Likewise.
24805 * io/mkfifoat.c: Likewise.
24806 * io/open.c: Likewise.
24807 * io/open64.c: Likewise.
24808 * io/openat.c: Likewise.
24809 * io/openat64.c: Likewise.
24810 * io/pipe.c: Likewise.
24811 * io/pipe2.c: Likewise.
24812 * io/poll.c: Likewise.
24813 * io/posix_fadvise.c: Likewise.
24814 * io/posix_fadvise64.c: Likewise.
24815 * io/posix_fallocate.c: Likewise.
24816 * io/posix_fallocate64.c: Likewise.
24817 * io/read.c: Likewise.
24818 * io/readlink.c: Likewise.
24819 * io/readlinkat.c: Likewise.
24820 * io/rmdir.c: Likewise.
24821 * io/sendfile.c: Likewise.
24822 * io/sendfile64.c: Likewise.
24823 * io/statfs.c: Likewise.
24824 * io/statfs64.c: Likewise.
24825 * io/statvfs.c: Likewise.
24826 * io/statvfs64.c: Likewise.
24827 * io/symlink.c: Likewise.
24828 * io/symlinkat.c: Likewise.
24829 * io/ttyname.c: Likewise.
24830 * io/ttyname_r.c: Likewise.
24831 * io/umask.c: Likewise.
24832 * io/unlink.c: Likewise.
24833 * io/unlinkat.c: Likewise.
24834 * io/utime.c: Likewise.
24835 * io/utimensat.c: Likewise.
24836 * io/write.c: Likewise.
24837 * io/xmknod.c: Likewise.
24838 * io/xmknodat.c: Likewise.
24839 * io/xstat.c: Likewise.
24840 * io/xstat64.c: Likewise.
24841 * login/getpt.c: Likewise.
24842 * login/grantpt.c: Likewise.
24843 * login/unlockpt.c: Likewise.
24844 * math/e_acoshl.c: Likewise.
24845 * math/e_acosl.c: Likewise.
24846 * math/e_asinl.c: Likewise.
24847 * math/e_atan2l.c: Likewise.
24848 * math/e_atanhl.c: Likewise.
24849 * math/e_coshl.c: Likewise.
24850 * math/e_expl.c: Likewise.
24851 * math/e_fmodl.c: Likewise.
24852 * math/e_gammal_r.c: Likewise.
24853 * math/e_hypotl.c: Likewise.
24854 * math/e_j0l.c: Likewise.
24855 * math/e_j1l.c: Likewise.
24856 * math/e_jnl.c: Likewise.
24857 * math/e_lgammal_r.c: Likewise.
24858 * math/e_log10l.c: Likewise.
24859 * math/e_log2l.c: Likewise.
24860 * math/e_logl.c: Likewise.
24861 * math/e_powl.c: Likewise.
24862 * math/e_rem_pio2l.c: Likewise.
24863 * math/e_sinhl.c: Likewise.
24864 * math/e_sqrtl.c: Likewise.
24865 * math/fclrexcpt.c: Likewise.
24866 * math/fedisblxcpt.c: Likewise.
24867 * math/feenablxcpt.c: Likewise.
24868 * math/fegetenv.c: Likewise.
24869 * math/fegetexcept.c: Likewise.
24870 * math/fegetround.c: Likewise.
24871 * math/feholdexcpt.c: Likewise.
24872 * math/fesetenv.c: Likewise.
24873 * math/fesetround.c: Likewise.
24874 * math/feupdateenv.c: Likewise.
24875 * math/fgetexcptflg.c: Likewise.
24876 * math/fraiseexcpt.c: Likewise.
24877 * math/fsetexcptflg.c: Likewise.
24878 * math/ftestexcept.c: Likewise.
24879 * math/k_cosl.c: Likewise.
24880 * math/k_rem_pio2l.c: Likewise.
24881 * math/k_sinl.c: Likewise.
24882 * math/k_tanl.c: Likewise.
24883 * math/s_asinhl.c: Likewise.
24884 * math/s_atanl.c: Likewise.
24885 * math/s_cbrtl.c: Likewise.
24886 * math/s_erfl.c: Likewise.
24887 * math/s_expm1l.c: Likewise.
24888 * math/s_log1pl.c: Likewise.
24889 * math/s_tanhl.c: Likewise.
24890 * misc/acct.c: Likewise.
24891 * misc/brk.c: Likewise.
24892 * misc/chflags.c: Likewise.
24893 * misc/chroot.c: Likewise.
24894 * misc/fchflags.c: Likewise.
24895 * misc/fgetxattr.c: Likewise.
24896 * misc/flistxattr.c: Likewise.
24897 * misc/fremovexattr.c: Likewise.
24898 * misc/fsetxattr.c: Likewise.
24899 * misc/fsync.c: Likewise.
24900 * misc/ftruncate.c: Likewise.
24901 * misc/futimes.c: Likewise.
24902 * misc/futimesat.c: Likewise.
24903 * misc/getdomain.c: Likewise.
24904 * misc/getdtsz.c: Likewise.
24905 * misc/gethostid.c: Likewise.
24906 * misc/gethostname.c: Likewise.
24907 * misc/getloadavg.c: Likewise.
24908 * misc/getpagesize.c: Likewise.
24909 * misc/getsysstats.c: Likewise.
24910 * misc/getxattr.c: Likewise.
24911 * misc/gtty.c: Likewise.
24912 * misc/ioctl.c: Likewise.
24913 * misc/lgetxattr.c: Likewise.
24914 * misc/listxattr.c: Likewise.
24915 * misc/llistxattr.c: Likewise.
24916 * misc/lremovexattr.c: Likewise.
24917 * misc/lsetxattr.c: Likewise.
24918 * misc/lutimes.c: Likewise.
24919 * misc/madvise.c: Likewise.
24920 * misc/mincore.c: Likewise.
24921 * misc/mlock.c: Likewise.
24922 * misc/mlockall.c: Likewise.
24923 * misc/mmap.c: Likewise.
24924 * misc/mprotect.c: Likewise.
24925 * misc/msync.c: Likewise.
24926 * misc/munlock.c: Likewise.
24927 * misc/munlockall.c: Likewise.
24928 * misc/munmap.c: Likewise.
24929 * misc/preadv.c: Likewise.
24930 * misc/preadv64.c: Likewise.
24931 * misc/ptrace.c: Likewise.
24932 * misc/pwritev.c: Likewise.
24933 * misc/pwritev64.c: Likewise.
24934 * misc/readv.c: Likewise.
24935 * misc/reboot.c: Likewise.
24936 * misc/remap_file_pages.c: Likewise.
24937 * misc/removexattr.c: Likewise.
24938 * misc/revoke.c: Likewise.
24939 * misc/select.c: Likewise.
24940 * misc/setdomain.c: Likewise.
24941 * misc/setegid.c: Likewise.
24942 * misc/seteuid.c: Likewise.
24943 * misc/sethostid.c: Likewise.
24944 * misc/sethostname.c: Likewise.
24945 * misc/setregid.c: Likewise.
24946 * misc/setreuid.c: Likewise.
24947 * misc/setxattr.c: Likewise.
24948 * misc/sstk.c: Likewise.
24949 * misc/stty.c: Likewise.
24950 * misc/swapoff.c: Likewise.
24951 * misc/swapon.c: Likewise.
24952 * misc/sync.c: Likewise.
24953 * misc/syncfs.c: Likewise.
24954 * misc/syscall.c: Likewise.
24955 * misc/truncate.c: Likewise.
24956 * misc/ualarm.c: Likewise.
24957 * misc/usleep.c: Likewise.
24958 * misc/ustat.c: Likewise.
24959 * misc/utimes.c: Likewise.
24960 * misc/vhangup.c: Likewise.
24961 * misc/writev.c: Likewise.
24962 * posix/_exit.c: Likewise.
24963 * posix/alarm.c: Likewise.
24964 * posix/execve.c: Likewise.
24965 * posix/fexecve.c: Likewise.
24966 * posix/fork.c: Likewise.
24967 * posix/fpathconf.c: Likewise.
24968 * posix/getaddrinfo.c: Likewise.
24969 * posix/getegid.c: Likewise.
24970 * posix/geteuid.c: Likewise.
24971 * posix/getgid.c: Likewise.
24972 * posix/getgroups.c: Likewise.
24973 * posix/getlogin.c: Likewise.
24974 * posix/getlogin_r.c: Likewise.
24975 * posix/getpgid.c: Likewise.
24976 * posix/getpid.c: Likewise.
24977 * posix/getppid.c: Likewise.
24978 * posix/getresgid.c: Likewise.
24979 * posix/getresuid.c: Likewise.
24980 * posix/getsid.c: Likewise.
24981 * posix/getuid.c: Likewise.
24982 * posix/glob64.c: Likewise.
24983 * posix/nanosleep.c: Likewise.
24984 * posix/pathconf.c: Likewise.
24985 * posix/pause.c: Likewise.
24986 * posix/posix_madvise.c: Likewise.
24987 * posix/pread.c: Likewise.
24988 * posix/pread64.c: Likewise.
24989 * posix/pwrite.c: Likewise.
24990 * posix/pwrite64.c: Likewise.
24991 * posix/sched_getaffinity.c: Likewise.
24992 * posix/sched_getp.c: Likewise.
24993 * posix/sched_gets.c: Likewise.
24994 * posix/sched_primax.c: Likewise.
24995 * posix/sched_primin.c: Likewise.
24996 * posix/sched_rr_gi.c: Likewise.
24997 * posix/sched_setaffinity.c: Likewise.
24998 * posix/sched_setp.c: Likewise.
24999 * posix/sched_sets.c: Likewise.
25000 * posix/sched_yield.c: Likewise.
25001 * posix/setgid.c: Likewise.
25002 * posix/setlogin.c: Likewise.
25003 * posix/setpgid.c: Likewise.
25004 * posix/setresgid.c: Likewise.
25005 * posix/setresuid.c: Likewise.
25006 * posix/setsid.c: Likewise.
25007 * posix/setuid.c: Likewise.
25008 * posix/sleep.c: Likewise.
25009 * posix/spawni.c: Likewise.
25010 * posix/sysconf.c: Likewise.
25011 * posix/times.c: Likewise.
25012 * posix/wait.c: Likewise.
25013 * posix/wait3.c: Likewise.
25014 * posix/wait4.c: Likewise.
25015 * posix/waitpid.c: Likewise.
25016 * resolv/gai_sigqueue.c: Likewise.
25017 * resource/getpriority.c: Likewise.
25018 * resource/getrlimit.c: Likewise.
25019 * resource/getrusage.c: Likewise.
25020 * resource/nice.c: Likewise.
25021 * resource/setpriority.c: Likewise.
25022 * resource/setrlimit.c: Likewise.
25023 * resource/ulimit.c: Likewise.
25024 * rt/aio_cancel.c: Likewise.
25025 * rt/aio_fsync.c: Likewise.
25026 * rt/aio_read.c: Likewise.
25027 * rt/aio_sigqueue.c: Likewise.
25028 * rt/aio_suspend.c: Likewise.
25029 * rt/aio_write.c: Likewise.
25030 * rt/clock_getres.c: Likewise.
25031 * rt/clock_gettime.c: Likewise.
25032 * rt/clock_nanosleep.c: Likewise.
25033 * rt/clock_settime.c: Likewise.
25034 * rt/lio_listio.c: Likewise.
25035 * rt/mq_close.c: Likewise.
25036 * rt/mq_getattr.c: Likewise.
25037 * rt/mq_notify.c: Likewise.
25038 * rt/mq_open.c: Likewise.
25039 * rt/mq_receive.c: Likewise.
25040 * rt/mq_send.c: Likewise.
25041 * rt/mq_setattr.c: Likewise.
25042 * rt/mq_timedreceive.c: Likewise.
25043 * rt/mq_timedsend.c: Likewise.
25044 * rt/mq_unlink.c: Likewise.
25045 * rt/shm_open.c: Likewise.
25046 * rt/shm_unlink.c: Likewise.
25047 * rt/timer_create.c: Likewise.
25048 * rt/timer_delete.c: Likewise.
25049 * rt/timer_getoverr.c: Likewise.
25050 * rt/timer_gettime.c: Likewise.
25051 * rt/timer_settime.c: Likewise.
25052 * setjmp/__longjmp.c: Likewise.
25053 * setjmp/setjmp.c: Likewise.
25054 * signal/kill.c: Likewise.
25055 * signal/killpg.c: Likewise.
25056 * signal/raise.c: Likewise.
25057 * signal/sigaction.c: Likewise.
25058 * signal/sigaltstack.c: Likewise.
25059 * signal/sigblock.c: Likewise.
25060 * signal/sigignore.c: Likewise.
25061 * signal/sigintr.c: Likewise.
25062 * signal/signal.c: Likewise.
25063 * signal/sigpause.c: Likewise.
25064 * signal/sigpending.c: Likewise.
25065 * signal/sigqueue.c: Likewise.
25066 * signal/sigreturn.c: Likewise.
25067 * signal/sigset.c: Likewise.
25068 * signal/sigsetmask.c: Likewise.
25069 * signal/sigstack.c: Likewise.
25070 * signal/sigsuspend.c: Likewise.
25071 * signal/sigtimedwait.c: Likewise.
25072 * signal/sigvec.c: Likewise.
25073 * signal/sigwait.c: Likewise.
25074 * signal/sigwaitinfo.c: Likewise.
25075 * signal/sysv_signal.c: Likewise.
25076 * socket/accept.c: Likewise.
25077 * socket/accept4.c: Likewise.
25078 * socket/bind.c: Likewise.
25079 * socket/connect.c: Likewise.
25080 * socket/getpeername.c: Likewise.
25081 * socket/getsockname.c: Likewise.
25082 * socket/getsockopt.c: Likewise.
25083 * socket/isfdtype.c: Likewise.
25084 * socket/listen.c: Likewise.
25085 * socket/recv.c: Likewise.
25086 * socket/recvfrom.c: Likewise.
25087 * socket/recvmsg.c: Likewise.
25088 * socket/send.c: Likewise.
25089 * socket/sendmsg.c: Likewise.
25090 * socket/sendto.c: Likewise.
25091 * socket/setsockopt.c: Likewise.
25092 * socket/shutdown.c: Likewise.
25093 * socket/sockatmark.c: Likewise.
25094 * socket/socket.c: Likewise.
25095 * socket/socketpair.c: Likewise.
25096 * stdio-common/ctermid.c: Likewise.
25097 * stdio-common/cuserid.c: Likewise.
25098 * stdio-common/remove.c: Likewise.
25099 * stdio-common/rename.c: Likewise.
25100 * stdio-common/renameat.c: Likewise.
25101 * stdio-common/tempname.c: Likewise.
25102 * stdlib/getcontext.c: Likewise.
25103 * stdlib/makecontext.c: Likewise.
25104 * stdlib/setcontext.c: Likewise.
25105 * stdlib/swapcontext.c: Likewise.
25106 * stdlib/system.c: Likewise.
25107 * streams/fattach.c: Likewise.
25108 * streams/fdetach.c: Likewise.
25109 * streams/getmsg.c: Likewise.
25110 * streams/getpmsg.c: Likewise.
25111 * streams/putmsg.c: Likewise.
25112 * streams/putpmsg.c: Likewise.
25113 * sysdeps/unix/bsd/getpt.c: Likewise.
25114 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25115 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25116 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25119 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25120 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25121 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25122 * sysvipc/msgctl.c: Likewise.
25123 * sysvipc/msgget.c: Likewise.
25124 * sysvipc/msgrcv.c: Likewise.
25125 * sysvipc/msgsnd.c: Likewise.
25126 * sysvipc/semctl.c: Likewise.
25127 * sysvipc/semget.c: Likewise.
25128 * sysvipc/semop.c: Likewise.
25129 * sysvipc/semtimedop.c: Likewise.
25130 * sysvipc/shmat.c: Likewise.
25131 * sysvipc/shmctl.c: Likewise.
25132 * sysvipc/shmdt.c: Likewise.
25133 * sysvipc/shmget.c: Likewise.
25134 * termios/tcdrain.c: Likewise.
25135 * termios/tcflow.c: Likewise.
25136 * termios/tcflush.c: Likewise.
25137 * termios/tcgetattr.c: Likewise.
25138 * termios/tcgetpgrp.c: Likewise.
25139 * termios/tcsendbrk.c: Likewise.
25140 * termios/tcsetattr.c: Likewise.
25141 * termios/tcsetpgrp.c: Likewise.
25142 * time/adjtime.c: Likewise.
25143 * time/clock.c: Likewise.
25144 * time/getitimer.c: Likewise.
25145 * time/gettimeofday.c: Likewise.
25146 * time/setitimer.c: Likewise.
25147 * time/settimeofday.c: Likewise.
25148 * time/stime.c: Likewise.
25149 * time/time.c: Likewise.
25151 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25153 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25156 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25158 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25160 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25164 FE_TONEAREST before applying Dekker multiplication and Knuth
25165 addition. Clear inexact exceptions and check for exact zero
25166 results afterwards.
25167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25168 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25170 * math/libm-test.inc (fma_test): Add more tests.
25171 (fma_test_towardzero): Likewise.
25172 (fma_test_downward): Likewise.
25173 (fma_test_upward): Likewise.
25174 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25176 (libc_fesetround): New macro.
25177 (libc_fesetroundf): Likewise.
25178 (libc_fesetroundl): Likewise.
25179 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25181 (libc_fesetround_387): Likewise.
25182 (libc_fesetroundf): New macro.
25183 (libc_fesetround): Likewise.
25184 (libc_fesetroundl): Likewise.
25185 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25187 (libc_fesetroundf): New macro.
25188 (libc_fesetround): Likewise.
25189 (libc_fesetroundl): Likewise.
25190 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25191 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25192 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25194 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25195 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25197 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25198 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25200 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25204 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25205 integer constant usable in #if and use that to give value to enum
25207 (FE_DIVBYZERO): Likewise.
25208 (FE_UNDERFLOW): Likewise.
25209 (FE_OVERFLOW): Likewise.
25210 (FE_INVALID): Likewise.
25211 (FE_INVALID_SNAN): Likewise.
25212 (FE_INVALID_ISI): Likewise.
25213 (FE_INVALID_IDI): Likewise.
25214 (FE_INVALID_ZDZ): Likewise.
25215 (FE_INVALID_IMZ): Likewise.
25216 (FE_INVALID_COMPARE): Likewise.
25217 (FE_INVALID_SOFTWARE): Likewise.
25218 (FE_INVALID_SQRT): Likewise.
25219 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25220 (FE_TONEAREST): Likewise.
25221 (FE_TOWARDZERO): Likewise.
25222 (FE_UPWARD): Likewise.
25223 (FE_DOWNWARD): Likewise.
25224 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25225 (FE_DIVBYZERO): Likewise.
25226 (FE_OVERFLOW): Likewise.
25227 (FE_UNDERFLOW): Likewise.
25228 (FE_INEXACT): Likewise.
25229 (FE_TONEAREST): Likewise.
25230 (FE_DOWNWARD): Likewise.
25231 (FE_UPWARD): Likewise.
25232 (FE_TOWARDZERO): Likewise.
25233 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25234 (FE_UNDERFLOW): Likewise.
25235 (FE_OVERFLOW): Likewise.
25236 (FE_DIVBYZERO): Likewise.
25237 (FE_INVALID): Likewise.
25238 (FE_TONEAREST): Likewise.
25239 (FE_TOWARDZERO): Likewise.
25240 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25241 (FE_OVERFLOW): Likewise.
25242 (FE_UNDERFLOW): Likewise.
25243 (FE_DIVBYZERO): Likewise.
25244 (FE_INEXACT): Likewise.
25245 (FE_TONEAREST): Likewise.
25246 (FE_TOWARDZERO): Likewise.
25247 (FE_UPWARD): Likewise.
25248 (FE_DOWNWARD): Likewise.
25249 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25250 (FE_DIVBYZERO): Likewise.
25251 (FE_OVERFLOW): Likewise.
25252 (FE_UNDERFLOW): Likewise.
25253 (FE_INEXACT): Likewise.
25254 (FE_TONEAREST): Likewise.
25255 (FE_DOWNWARD): Likewise.
25256 (FE_UPWARD): Likewise.
25257 (FE_TOWARDZERO): Likewise.
25259 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25261 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25263 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25265 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25266 commands. Quote $PWD.
25267 (blacklist_exports): Don't use remove_newlines. Replace "declare
25269 (remove_newlines): Remove.
25271 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25273 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25274 * stdlib/stdlib.h (atof): Moved to ...
25275 * include/bits/stdlib-float.h: Here. New file.
25276 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25277 * stdlib/bits/stdlib-float.h: New file.
25278 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25283 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25285 * conform/conformtest.pl (@headers): Add fenv.h.
25286 * conform/data/fenv.h-data: New file.
25287 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25288 include of <math/fenv.h>.
25290 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25291 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25292 && !UNIX98]. Enables tests for XOPEN2K8.
25293 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25294 POSIX2008]: Likewise.
25296 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25297 (struct rusage): Do not expect type or its members.
25300 * math/math.h (FP_NAN): Define macro to integer constant usable in
25301 #if and use that to give value to enum constant.
25302 (FP_INFINITE): Likewise.
25303 (FP_ZERO): Likewise.
25304 (FP_SUBNORMAL): Likewise.
25305 (FP_NORMAL): Likewise.
25307 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25309 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25310 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25313 2012-11-02 Roland McGrath <roland@hack.frob.com>
25315 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25316 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25317 autoconf-time if not.
25318 * configure.in: Remove AC_PREREQ.
25320 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25322 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25323 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25324 of the internal implementation.
25326 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25328 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25329 except include of <misc/sys/syslog.h>.
25331 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25334 function returns with a NULL context exit with zero.
25336 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25338 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25340 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25342 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25343 (run_program_cmd): This.
25344 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25345 (tst_langinfo): New variable. Use it.
25347 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25349 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25350 floating point opcodes.
25352 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25354 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25357 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25359 * sysdeps/mach/hurd/powerpc: Remove directory.
25360 * sysdeps/mach/powerpc: Likewise.
25362 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25364 * scripts/check-local-headers.sh: Ignore c++ headers.
25366 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25368 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25369 __libc_cleanup_region_start argument.
25371 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25376 x * y using scaling, not as x * y + z.
25377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25379 * math/libm-test.inc (fma_test): Add more tests.
25380 (fma_test_towardzero): Likewise.
25381 (fma_test_downward): Likewise.
25382 (fma_test_upward): Likewise.
25384 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25386 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25388 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25390 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25393 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25395 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25397 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25404 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25407 Fix the order of the list for glibc 2.17.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25411 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25415 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25418 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25419 for low part of x being zero before using __atanl (y).
25420 * math/libm-test.inc (atan2_test): Add another test.
25422 * manual/install.texi (Configuring and compiling): Document
25423 general use of test-wrapper and test-wrapper-env.
25424 * INSTALL: Regenerated.
25426 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25427 (__fma): Do not extract and scale down low bits on after-rounding
25428 systems when result rounded to normal precision would have normal
25430 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25431 (__fmal): Do not extract and scale down low bits on after-rounding
25432 systems when result rounded to normal precision would have normal
25434 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25435 (__fmal): Do not extract and scale down low bits on after-rounding
25436 systems when result rounded to normal precision would have normal
25438 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25440 (fma_test): Add more tests.
25441 (fma_test_towardzero): Likewise.
25442 (fma_test_downward): Likewise.
25443 (fma_test_upward): Likewise.
25445 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25447 * sysdeps/i386/tininess.h: Renamed to ...
25448 * sysdeps/x86/tininess.h: This.
25449 * sysdeps/x86_64/tininess.h: Removed.
25451 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25453 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25454 input. Use $(build-program-cmd).
25455 ($(objpfx)tst-array1-static.out): Likewise.
25456 ($(objpfx)tst-array2.out): Likewise.
25457 ($(objpfx)tst-array3.out): Likewise.
25458 ($(objpfx)tst-array4.out): Likewise.
25459 ($(objpfx)tst-array5.out): Likewise.
25460 ($(objpfx)tst-array5-static.out): Likewise.
25462 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25464 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25467 * nss/nsswitch.h (nss_interface_function): Provide new
25468 macro for use with NSS functions.
25469 * grp/initgroups.c: Use new macro.
25470 * nss/getXXbyYY.c: Likewise.
25471 * nss/getXXbyYY_r.c: Likewise.
25472 * nss/getXXent.c: Likewise.
25473 * nss/getXXent_r.c: Likewise.
25474 * sysdeps/posix/getaddrinfo.c: Likewise.
25476 2012-10-30 Andreas Jaeger <aj@suse.de>
25478 * po/ru.po: Update Russion translation from translation project.
25480 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25485 result and shift together with sticky bit instead of replicating
25486 round-to-nearest rounding.
25487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25489 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25490 missing underflow exceptions.
25491 (fma_test_towardzero): Add more tests.
25492 (fma_test_downward): Likewise.
25493 (fma_test_upward): Likewise.
25496 * sysdeps/generic/tininess.h: New file.
25497 * sysdeps/i386/tininess.h: Likewise.
25498 * sysdeps/sh/tininess.h: Likewise.
25499 * sysdeps/x86_64/tininess.h: Likewise.
25500 * stdlib/tst-strtod-underflow.c: Likewise.
25501 * stdlib/tst-tininess.c: Likewise.
25502 * stdlib/strtod_l.c: Include <tininess.h>.
25503 (round_and_return): Do not set errno for exact underflow cases.
25504 Force an underflow exception when setting errno for underflow.
25505 Determine underflow based on rounding to normal precision if
25506 TININESS_AFTER_ROUNDING.
25507 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25508 ERANGE for exact underflow cases.
25509 * stdlib/Makefile (tests): Add tst-tininess and
25510 tst-strtod-underflow.
25511 ($(objpfx)tst-tininess): Use $(link-libm).
25512 ($(objpfx)tst-strtod-underflow): Likewise.
25514 2012-10-30 Andreas Jaeger <aj@suse.de>
25517 * elf/Makefile (tests): Remove conditional for have-initfini-array
25518 since this is now always required and the variable does not exist
25520 (tests-static): Likewise.
25521 (modules-names): Likewise.
25523 * po/eo.po: Add Esperanto translation from translation project.
25525 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25526 merged with constructor/destructor.
25527 (init_array): Likewise.
25528 * elf/tst-array2dep.c (fini_array): Likewise.
25529 (init_array): Likewise.
25531 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25533 * manual/message.texi: Delete @cartouche tags.
25535 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25537 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25539 * sysdeps/mach/hurd/fsync.c: Likewise.
25541 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25542 [_POSIX_REALTIME_SIGNALS]: Change condition to
25543 [_POSIX_REALTIME_SIGNALS > 0].
25545 2012-10-27 Andreas Jaeger <aj@suse.de>
25547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25548 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25550 [__WORDSIZE != 64]: Likewise.
25552 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25554 * iconvdata/tst-table.sh: Remove ${SHELL}.
25555 * iconvdata/tst-tables.sh: Likewise.
25557 2012-10-25 David S. Miller <davem@davemloft.net>
25559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25560 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25566 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25567 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25570 2012-10-25 Roland McGrath <roland@hack.frob.com>
25572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25573 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25576 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25577 Jim Blandy <jimb@codesourcery.com>
25579 * scripts/cross-test-ssh.sh: New file.
25580 * manual/install.texi (Configuring and compiling): Document use of
25582 * INSTALL: Regenerated.
25584 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25586 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25589 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25591 * Makeconfig (run-program-prefix): Fix comment.
25593 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25594 Jim Blandy <jimb@codesourcery.com>
25596 * Makeconfig (test-wrapper): New variable,
25597 (test-wrapper-env): Likewise.
25598 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25599 (run-built-tests): Define to yes.
25600 (run-program-prefix): Use $(test-wrapper).
25601 (built-program-cmd): Likewise.
25602 * Rules (make-test-out): Use $(test-wrapper-env) and
25603 $(host-built-program-cmd).
25604 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25605 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25607 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25608 $(test-wrapper-env) to tst-rtld-load-self.sh.
25609 ($(objpfx)order2.out): Use $(test-wrapper).
25610 ($(objpfx)tst-initorder.out): Likewise.
25611 ($(objpfx)tst-initorder2.out): Likewise.
25612 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25613 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25614 (test_wrapper_env): New variable. Use it to run ld.so.
25615 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25616 Use it to run ld.so.
25617 (test_wrapper_env): Likewise.
25618 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25619 $(test-wrapper) to run-iconv-test.sh.
25620 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25621 (ICONV): Use $test_wrapper.
25622 * posix/Makefile ($(objpfx)globtest.out): Pass
25623 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25624 globtest.sh, not $(run-program-prefix).
25625 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25626 (test_wrapper): Likewise.
25627 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25628 set together with run_via_rtld_prefix.
25629 (run_program_prefix): Define in terms of test_wrapper and
25630 run_via_rtld_prefix.
25632 2012-10-24 Roland McGrath <roland@hack.frob.com>
25634 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25635 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25639 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25640 Declare __clock_getres, __clock_gettime, __clock_settime,
25641 __clock_nanosleep, and __clock_getcpuclockid.
25642 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25643 Remove librt_hidden_def (clock_gettime).
25644 * sysdeps/unix/clock_gettime.c: Likewise.
25645 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25647 * rt/clock_getres.c: Define __clock_getres as an alias.
25648 * sysdeps/posix/clock_getres.c: Likewise.
25649 * rt/clock_settime.c: Define __clock_settime as an alias.
25650 * sysdeps/unix/clock_settime.c: Likewise.
25651 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25652 * sysdeps/unix/clock_nanosleep.c: Likewise.
25653 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25654 * rt/clock-compat.c: New file.
25655 * rt/Makefile (librt-routines): Add clock-compat and move
25656 $(clock-routines) to ...
25657 (routines): ... here, new variable.
25658 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25659 Don't add get_clockfreq here.
25660 * rt/Versions (libc: GLIBC_2.17): New version set.
25661 Add clock_* symbols here.
25662 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25664 (GLIBC_2.17): Add clock_* symbols.
25665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25676 * NEWS: Mention the move.
25678 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25679 Use __open, __read, __close rather than their public counterparts.
25680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25681 (__get_clockfreq_via_cpuinfo): Likewise.
25682 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25683 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25685 * config.h.in (HAVE_IFUNC): New #undef.
25686 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25688 * configure: Regenerated.
25690 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25692 * configure.in: Move READELF check to start of file.
25693 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25694 libc_cv_asm_gnu_indirect_function in the process.
25695 * configure: Regenerated.
25697 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25699 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25700 send the output to /dev/null.
25701 (libc_cv_cc_with_libunwind): Likewise.
25702 (libc_cv_as_noexecstack): Likewise.
25703 * configure: Regenerate.
25705 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25707 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25709 * posix/globtest.sh (TMPDIR): Do not set.
25710 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25711 (testout): Likewise.
25713 2012-10-24 Andreas Jaeger <aj@suse.de>
25715 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25716 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25717 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25718 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25719 posix_fadvise64, posix_fallocate64.
25721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25722 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25723 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25725 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25727 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25730 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25731 <bits/fcntl-linux.h>.
25732 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25735 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25736 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25737 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25738 [__WORDSIZE != 64]: Likewise.
25740 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25742 * Makeconfig (run-built-tests): New variable.
25743 * Rules [$(cross-compiling) = yes]: Change condition to
25744 [$(run-built-tests) = no].
25745 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25746 to [$(run-built-tests) = yes].
25747 * elf/Makefile [$(cross-compiling) = no]: Likewise
25748 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25749 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25750 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25751 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25752 * io/Makefile [$(cross-compiling) = no]: Likewise.
25753 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25754 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25755 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25756 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25757 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25758 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25759 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25760 * string/Makefile [$(cross-compiling) = no]: Likewise.
25762 * posix/Makefile ($(objpfx)globtest.out): Pass
25763 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25764 $(rtld-installed-name).
25765 * posix/globtest.sh (elf_objpfx): Remove variable.
25766 (rtld_installed_name): Likewise.
25767 (library_path): Likewise.
25768 (run_program_prefix): New variable. Use for running globtest
25771 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25772 Joseph Myers <joseph@codesourcery.com>
25774 * Makeconfig (host-built-program-cmd): New variable.
25775 * elf/Makefile (tst-stackguard1-ARGS): Use
25776 $(host-built-program-cmd).
25777 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25778 (tst-spawn-ARGS): Likewise.
25779 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25781 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25782 Jim Blandy <jimb@codesourcery.com>
25784 * Makeconfig (run-via-rtld-prefix): New variable.
25785 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25786 (built-program-cmd): Likewise.
25788 2012-10-22 Andreas Jaeger <aj@suse.de>
25790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25791 __O_RSYNC if it exists, otherwise to O_SYNC.
25793 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25794 Joseph Myers <joseph@codesourcery.com>
25796 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25798 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25800 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25803 2012-10-22 Andreas Jaeger <aj@suse.de>
25805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25810 bits/fcntl-linux.h.
25812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25813 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25820 2012-10-21 Jim Blandy <jimb@codesourcery.com>
25821 Joseph Myers <joseph@codesourcery.com>
25823 * config.make.in (NM): New variable.
25825 2012-10-21 Andreas Jaeger <aj@suse.de>
25827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25828 definitions and declarations that are provided by
25829 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25831 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25834 * elf/Makefile (tests-static): Add tst-leaks1-static.
25835 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25836 ($(objpfx)tst-leaks1-static): New rule.
25837 ($(objpfx)tst-leaks1-static-mem): Likewise.
25838 (tst-leaks1-static-ENV): New macro.
25839 * elf/dl-open.c (dl_open_worker): Check the main application
25840 only if SHARED is defined.
25841 * elf/tst-leaks1-static.c: New file.
25843 2012-10-20 Andreas Jaeger <aj@suse.de>
25845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25846 generic values for Linux.
25847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25848 and declarations that are provided by <bits/fcntl-linux.h> and
25849 include <bits/fcntl-linux.h>.
25850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25853 2012-10-20 Roland McGrath <roland@hack.frob.com>
25855 * io/fcntl.h: Move include of <bits/types.h> to the top and
25856 include it unconditionally.
25858 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25860 * wcsmbs/Makefile (tests-ifunc): New variable.
25861 (tests): Add $(tests-ifunc).
25862 * wcsmbs/test-wcschr-ifunc.c: New file.
25863 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25864 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25865 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25866 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25867 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25869 * string/Makefile (tests-ifunc): New variable.
25870 (tests): Add $(tests-ifunc).
25871 * string/test-memccpy.c (TEST_NAME): New macro.
25872 * string/test-memchr.c (TEST_NAME): Likewise.
25873 * string/test-memcmp.c (TEST_NAME): Likewise.
25874 * string/test-memcpy.c (TEST_NAME): Likewise.
25875 * string/test-memmem.c (TEST_NAME): Likewise.
25876 * string/test-memmove.c (TEST_NAME): Likewise.
25877 * string/test-memset.c (TEST_NAME): Likewise.
25878 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25879 * string/test-stpcpy.c (TEST_NAME): Likewise.
25880 * string/test-stpncpy.c (TEST_NAME): Likewise.
25881 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25882 * string/test-strcasestr.c (TEST_NAME): Likewise.
25883 * string/test-strcat.c (TEST_NAME): Likewise.
25884 * string/test-strchr.c (TEST_NAME): Likewise.
25885 * string/test-strcmp.c(TEST_NAME): Likewise.
25886 * string/test-strcpy.c (TEST_NAME): Likewise.
25887 * string/test-strcspn.c (TEST_NAME): Likewise.
25888 * string/test-strlen.c (TEST_NAME): Likewise.
25889 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25890 * string/test-strncmp.c (TEST_NAME): Likewise.
25891 * string/test-strncpy.c (TEST_NAME): Likewise.
25892 * string/test-strnlen.c (TEST_NAME): Likewise.
25893 * string/test-strpbrk.c (TEST_NAME): Likewise.
25894 * string/test-strrchr.c (TEST_NAME): Likewise.
25895 * string/test-strspn.c (TEST_NAME): Likewise.
25896 * string/test-strstr.c (TEST_NAME): Likewise.
25897 * string/test-bcopy-ifunc.c: New file.
25898 * string/test-bzero-ifunc.c: Likewise.
25899 * string/test-memccpy-ifunc.c: Likewise.
25900 * string/test-memchr-ifunc.c: Likewise.
25901 * string/test-memcmp-ifunc.c: Likewise.
25902 * string/test-memcpy-ifunc.c: Likewise.
25903 * string/test-memmem-ifunc.c: Likewise.
25904 * string/test-memmove-ifunc.c: Likewise.
25905 * string/test-mempcpy-ifunc.c: Likewise.
25906 * string/test-memset-ifunc.c: Likewise.
25907 * string/test-rawmemchr-ifunc.c: Likewise.
25908 * string/test-stpcpy-ifunc.c: Likewise.
25909 * string/test-stpncpy-ifunc.c: Likewise.
25910 * string/test-strcasecmp-ifunc.c: Likewise.
25911 * string/test-strcasestr-ifunc.c: Likewise.
25912 * string/test-strcat-ifunc.c: Likewise.
25913 * string/test-strchr-ifunc.c: Likewise.
25914 * string/test-strchrnul-ifunc.c: Likewise.
25915 * string/test-strcmp-ifunc.c: Likewise.
25916 * string/test-strcpy-ifunc.c: Likewise.
25917 * string/test-strcspn-ifunc.c: Likewise.
25918 * string/test-strlen-ifunc.c: Likewise.
25919 * string/test-strncasecmp-ifunc.c: Likewise.
25920 * string/test-strncat-ifunc.c: Likewise.
25921 * string/test-strncmp-ifunc.c: Likewise.
25922 * string/test-strncpy-ifunc.c: Likewise.
25923 * string/test-strnlen-ifunc.c: Likewise.
25924 * string/test-strpbrk-ifunc.c: Likewise.
25925 * string/test-strrchr-ifunc.c: Likewise.
25926 * string/test-strspn-ifunc.c: Likewise.
25927 * string/test-strstr-ifunc.c: Likewise.
25929 * debug/Makefile (tests-ifunc): New variable.
25930 (tests): Add $(tests-ifunc).
25931 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25932 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25933 * debug/test-stpcpy_chk-ifunc.c: New file.
25934 * debug/test-strcpy_chk-ifunc.c: Likewise.
25936 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25939 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25940 header is not read in.
25942 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25944 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25945 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25946 directly. Pass built executable to script as
25947 $(built-program-cmd).
25948 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25949 $testprogram without using LD_LIBRARY_PATH and $ldso.
25951 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25952 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25953 $(rtld-installed-name).
25954 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25955 (rtld_installed_name): Likewise.
25956 (library_path): Likewise.
25957 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25958 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25959 $(run-program-prefix) to tst-tables.sh.
25960 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25961 it to run tst-table-from and tst-table-to.
25962 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25963 Pass it to tst-table.sh.
25964 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25965 $(run-program-prefix) to tst-gettext.sh.
25966 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25968 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25970 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25971 to run tst-gettext.
25972 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25973 to run tst-gettext2.
25974 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25975 to run tst-translit.
25976 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25977 $(run-program-prefix) to tst-mtrace.sh.
25978 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25980 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25981 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25982 $(rtld-installed-name).
25983 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25984 (rtld_installed_name): Likewise.
25985 (run_program_prefix): New variable. Use it to run wordexp-test.
25987 * Makeconfig (ARCH): Remove all definitions.
25988 (machine): Likewise.
25989 [ARCH]: Remove conditional code.
25990 [!objdir]: Give error.
25991 [!objdir] (objpfx): Remove.
25992 [!objdir] (common-objpfx): Likewise.
25993 [!objdir] (common-objdir): Likewise.
25994 * configure.in (config_makefile): Remove. Hardcode Makefile in
25995 AC_CONFIG_FILES call.
25996 * configure: Regenerated.
25999 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26001 (testout): Likewise.
26003 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26004 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26005 $(rtld-installed-name).
26006 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26007 (rtld_installed_name): Likwise.
26008 (runit): Remove function.
26009 (run_getconf): New variable, Use it for running getconf binary.
26011 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26014 * string/test-memmem.c (check_result): New function.
26015 (do_one_test): Use it.
26016 (check1): New function.
26017 (test_main): Use it.
26019 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26021 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26023 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26025 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26026 (_G_LSEEK64): Likewise.
26027 (_G_MMAP64): Likewise.
26028 (_G_FSTAT64): Likewise.
26029 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26030 (_G_LSEEK64): Likewise.
26031 (_G_MMAP64): Likewise.
26032 (_G_FSTAT64): Likewise.
26033 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26034 unconditional. Call __mmap64 directly.
26035 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26036 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26037 __lseek64 directly.
26038 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26039 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26041 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26042 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26043 __lseek64 directly.
26044 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26045 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26046 __lseek64 directly.
26047 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26048 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26049 __lseek64 directly.
26050 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26051 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26052 __fxstat64 directly.
26053 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26054 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26056 (freopen64) [!_G_OPEN64]: Remove conditional code.
26057 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26059 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26060 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26062 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26063 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26065 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26066 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26068 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26069 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26071 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26072 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26074 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26075 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26077 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26079 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26082 * manual/memory.texi (Malloc Tunable Parameters): Add note
26083 about free list pointers overwriting some perturb bytes.
26084 Wording suggested by Roland McGrath.
26086 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26088 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26089 (lgamma_test): Likewise.
26090 (tgamma_test): Likewise.
26092 2012-10-16 Florian Weimer <fweimer@redhat.com>
26095 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26096 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26098 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26100 * NEWS: Mention BZ #14716.
26101 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26102 when removing AVAILABLE1_USES_J macro.
26104 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26106 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26107 (__bswap_64): __uint64_t for unsigned 64-bit int.
26109 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26111 * include/string.h (memmem): Declare libc hidden alias.
26112 * string/memmem.c (memmem): Define libc hidden alias.
26113 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26114 __read, __close instead of open, read, close.
26116 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26119 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26121 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26122 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26123 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26125 (__rawmemchr_sse2): Likewise.
26126 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26127 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26128 (__strchr_sse2): Likewise.
26129 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26130 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26131 (__strcasecmp_sse2): Likewise.
26132 (__strncasecmp_sse2): Likewise.
26133 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26134 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26135 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26136 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26137 (__strrchr_sse2): Likewise.
26138 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26140 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26141 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26142 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26143 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26144 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26145 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26146 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26147 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26148 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26149 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26150 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26151 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26152 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26153 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26154 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26155 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26156 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26157 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26158 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26159 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26160 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26161 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26162 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26163 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26164 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26165 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26166 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26167 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26168 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26169 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26171 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26173 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26174 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26175 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26176 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26178 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26180 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26181 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26182 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26183 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26185 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26186 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26187 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26188 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26189 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26190 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26191 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26192 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26193 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26194 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26195 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26196 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26197 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26198 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26199 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26200 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26201 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26202 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26203 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26204 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26205 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26206 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26207 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26208 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26210 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26211 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26212 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26213 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26214 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26215 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26216 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26217 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26218 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26219 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26220 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26221 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26222 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26223 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26224 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26225 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26227 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26228 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26229 * include/ifunc-impl-list.h: New file.
26230 * misc/ifunc-impl-list.c: Likewise.
26231 * misc/Makefile (routines): Add ifunc-impl-list.
26232 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26233 * string/test-string.h: Include <ifunc-impl-list.h>.
26234 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26235 TEST_NAME]: New variables.
26236 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26238 (test_init): Call __libc_ifunc_impl_list to initialize
26239 func_list if TEST_IFUNC and TEST_NAME are defined.
26241 * string/Makefile (strop-tests): Add bcopy and bzero.
26242 * string/test-bcopy.c: New file.
26243 * string/test-bzero.c: Likewise.
26244 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26246 * string/test-memset.c: Support bzero test if TEST_BZERO is
26248 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26250 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26252 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26255 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26257 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26258 * configure: Regenerated.
26260 * Makeconfig (+link-static-before-libc): Don't include
26261 $(link-static-libc).
26263 * libio/libio.h (_IO_pos_t): Remove.
26265 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26267 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26270 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26272 * crypt/crypt-entry.c: Include fips-private.h.
26273 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26274 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26275 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26276 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26278 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26280 * crypt/crypt-private.h: Include stdbool.h.
26281 (_ufc_setup_salt_r): Return bool.
26282 * crypt/crypt-entry.c: Include errno.h.
26283 (__crypt_r): Return NULL with EINVAL for bad salt.
26284 * crypt/crypt_util.c (bad_for_salt): New.
26285 (_ufc_setup_salt_r): Check that salt is long enough and within
26286 the specified alphabet.
26287 * crypt/badsalttest.c: New file.
26288 * crypt/Makefile (tests): Add it.
26289 ($(objpfx)badsalttest): New.
26291 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26293 * NEWS: Add entry for BZ #14602.
26295 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26297 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26299 * math/libm-test.inc: Update comment listing what functions and
26301 (isgreater_test): New function.
26302 (isgreaterequal_test): Likewise.
26303 (isless_test): Likewise.
26304 (islessequal_test): Likewise.
26305 (islessgreater_test): Likewise.
26306 (isunordered_test): Likewise.
26307 (main): Call the new functions.
26309 2012-10-09 Roland McGrath <roland@hack.frob.com>
26311 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26312 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26313 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26314 * sysdeps/i386/configure: Regenerated.
26315 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26316 * sysdeps/mach/configure: Regenerated.
26317 * sysdeps/mach/hurd/configure: Regenerated.
26318 * sysdeps/powerpc/configure: Regenerated.
26319 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26320 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26321 * sysdeps/s390/s390-32/configure: Regenerated.
26322 * sysdeps/s390/s390-64/configure: Regenerated.
26323 * sysdeps/sh/configure: Regenerated.
26324 * sysdeps/sparc/configure: Regenerated.
26325 * sysdeps/unix/sysv/linux/configure: Regenerated.
26326 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26327 * sysdeps/x86_64/configure: Regenerated.
26329 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26330 defined. Don't check if MAP is NULL.
26332 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26334 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26335 (_G_stat64): Likewise.
26336 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26337 (_G_stat64): Likewise.
26338 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26339 instead of struct _G_stat64.
26340 * libio/fileops.c (mmap_remap_check): Likewise.
26341 (decide_maybe_mmap): Likewise.
26342 (_IO_new_file_seekoff): Likewise.
26343 (_IO_file_stat): Likewise.
26344 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26346 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26347 instead of struct _G_stat64.
26348 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26350 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26353 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26355 (CHECK_EOL): New macro.
26356 (two_way_short_needle): Check beginning of haystack for EOL. Use
26358 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26359 Replace with CHECK_EOL.
26360 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26361 Replace with CHECK_EOL.
26363 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26365 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26367 * math/libm-test.inc: Update comment listing what functions and
26369 (finite_test): New function.
26370 (isinf_test): Likewise.
26371 (isnan_test): Likewise.
26372 (fpclassify_test): Test subnormal input.
26373 (isfinite_test): Likewise.
26374 (isnormal_test): Likewise.
26375 (main): Call the new functions.
26377 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26380 * Makerules (%.dynsym): Force C locale when running
26381 $(OBJDUMP) --dynamic-syms.
26383 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26385 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26388 2012-10-06 David S. Miller <davem@davemloft.net>
26390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26391 upper 32-bits of the length value in %o2 since we use branch-on-register
26392 tests which consider the entire 64-bit register.
26394 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26396 * string/test-strstr.c (check2): Add a test for page boundary.
26398 2012-10-05 David S. Miller <davem@davemloft.net>
26400 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26401 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26403 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26406 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26407 and bzero when HWCAP_SPARC_CRYPTO is present.
26409 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26412 * string/test-strstr.c (check2): New function.
26413 (test_main): Call check2.
26415 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26417 * string/bug-strcasestr1.c (do_test): Moved to ...
26418 * string/test-strcasestr.c (check1): Here. New function.
26419 (do_one_test): Break out result checking code into ...
26420 (check_result): This. New function.
26421 (do_one_test): Call check_result.
26422 (test_main): Call check1.
26423 * string/bug-strchr1.c (do_test): Moved to ...
26424 * string/test-strchr.c (check1): Here. New function.
26425 (do_one_test): Break out result checking code into ...
26426 (check_result): This. New function.
26427 (do_one_test): Call check_result.
26428 (test_main): Call check1.
26429 * string/bug-strstr1.c (main): Moved to ...
26430 * string/test-strstr.c (check1): Here. New function.
26431 (do_one_test): Break out result checking code into ...
26432 (check_result): This. New function.
26433 (do_one_test): Call check_result.
26434 (test_main): Call check1.
26435 * string/bug-strcasestr1.c: Removed.
26436 * string/bug-strchr1.c: Likewise.
26437 * string/bug-strstr1.c: Likewise.
26439 * elf/Makefile (dl-routines): Add hwcaps.
26440 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26441 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26442 (_dl_important_hwcaps): Moved to ...
26443 * elf/dl-hwcaps.c: Here. New file.
26444 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26447 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26448 if IS_IN_rtld isn't defined.
26450 * elf/dl-support.c (_dl_sysinfo_map): New.
26451 Include "get-dynamic-info.h" and "setup-vdso.h".
26452 (_dl_non_dynamic_init): Call setup_vdso.
26453 * elf/dynamic-link.h: Don't include <assert.h>.
26454 (elf_get_dynamic_info): Moved to ...
26455 * elf/get-dynamic-info.h: Here. New file.
26456 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26457 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26458 * elf/setup-vdso.h: Here. New file.
26459 * elf/rtld.c: Include "setup-vdso.h".
26460 (dl_main): Call setup_vdso.
26462 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26464 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26465 creal in comment listing functions tested. List finite, isinf,
26466 isnan, isless, islessequal, isgreater, isgreaterequal,
26467 islessgreater, isunordered, lgamma_r and pow10 as functions and
26468 macros not tested. Mention which functions not tested are aliases
26469 for other functions. Fix typo. Note that signs of NaNs are not
26472 * scripts/config.guess: Update from config.git.
26473 * scripts/config.sub: Likewise.
26475 2012-10-04 Roland McGrath <roland@hack.frob.com>
26477 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26478 * misc/madvise.c (madvise): Renamed to __madvise.
26479 Make madvise a weak alias.
26480 * include/sys/mman.h: Declare __madvise.
26481 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26482 * sysdeps/unix/syscalls.list
26483 (madvise): Make __madvise the strong name, and madvise a weak alias.
26484 * sysdeps/unix/sysv/linux/syscalls.list
26485 (madvise, mmap): Remove redundant entries.
26486 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26487 * malloc/malloc.c (mtrim): Likewise.
26488 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26490 2012-10-03 Roland McGrath <roland@hack.frob.com>
26492 * sysdeps/mach/hurd/dl-cache.c: File removed.
26493 * config.h.in (USE_LDCONFIG): New #undef.
26494 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26495 * configure: Regenerated.
26496 * elf/Makefile (dl-routines): Add dl-cache only under
26497 [$(use-ldconfig) = yes].
26498 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26499 cache on [USE_LDCONFIG].
26500 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26502 * elf/rtld.c (dl_main): Likewise.
26504 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26506 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26507 _SC_LEVEL4_CACHE_LINESIZE.
26509 2012-10-03 Roland McGrath <roland@hack.frob.com>
26511 * sysdeps/unix/bsd/confstr.h: File removed.
26513 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26515 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26518 2012-10-02 Roland McGrath <roland@hack.frob.com>
26520 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26521 Make 'mapoff' field ElfW(Off) rather than off_t.
26523 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26525 * nscd/Makefile: Remove nscd-cflags and all its users.
26526 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26527 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26530 * malloc.c (malloc_printerr): Clarify error message.
26532 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26536 Set bit_FMA_Usable if FMA is supported.
26537 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26539 (bit_FMA4_Usable): Updated.
26540 (index_FMA_Usable): New macro.
26541 (CPUID_FMA): Likewise
26542 (HAS_FMA): Defined with bit_FMA_Usable.
26544 2012-10-01 Roland McGrath <roland@hack.frob.com>
26546 * bits/types.h (__swblk_t): Type removed.
26547 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26548 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26550 (__SWBLK_T_TYPE): Likewise.
26551 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26552 (__SWBLK_T_TYPE): Likewise.
26553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26554 (__SWBLK_T_TYPE): Likewise.
26555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26556 (__SWBLK_T_TYPE): Likewise.
26558 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26559 Honza Horak <hhorak@redhat.com>
26561 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26562 (xdr_mapname): Use YPMAXMAP as maxsize.
26563 (xdr_peername): Use YPMAXPEER as maxsize.
26564 (xdr_keydat): Use YPAXRECORD as maxsize.
26565 (xdr_valdat): Use YPMAXRECORD as maxsize.
26567 2012-10-01 Roland McGrath <roland@hack.frob.com>
26569 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26571 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26572 * csu/init-first.c: ... here.
26573 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26574 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26575 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26576 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26577 * sysdeps/i386/init-first.c: File removed.
26578 * sysdeps/sh/init-first.c: File removed.
26580 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26584 if x * y might underflow to zero and z is zero.
26585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26587 * math/libm-test.inc (min_subnorm_value): New variable.
26588 (fma_test): Add more tests.
26589 (fma_test_towardzero): Likewise.
26590 (fma_test_downward): Likewise
26591 (fma_test_upward): Likewise.
26592 (initialize): Set min_subnorm_value.
26594 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26599 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26600 mode for addition resulting in exact zero.
26601 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26604 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26606 * math/libm-test.inc (fma_test): Add more tests.
26607 (fma_test_towardzero): New function.
26608 (fma_test_downward): Likewise.
26609 (fma_test_upward): Likewise.
26610 (main): Call the new functions.
26612 2012-09-28 David S. Miller <davem@davemloft.net>
26614 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26616 2012-09-28 Roland McGrath <roland@hack.frob.com>
26618 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26619 instead of SIGALRM.
26621 * sysdeps/gnu/_G_config.h: Moved to ...
26622 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26623 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26624 * sysdeps/generic/_G_config.h: ... here.
26626 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26628 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26630 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26631 Conditionalize target on [libnss_test1.so-version].
26633 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26635 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26636 (elfobjdir): Move out of conditionals.
26638 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26639 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26640 (__nss_lookup_function): Conditionalize label remove_from_tree on
26641 [!DO_STATIC_NSS || SHARED], matching its only use.
26643 2012-09-28 David S. Miller <davem@davemloft.net>
26645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26646 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26648 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26650 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26652 when HWCAP_SPARC_CRYPTO is present.
26654 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26656 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26658 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26661 * stdio-common/vfprintf.c (process_string_arg): Revert
26664 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26666 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26668 * stdio-common/tst-sprintf.c: Include <locale.h>
26669 (main): Test sprintf's handling of incomplete multibyte
26672 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26674 * elf/dl-runtime.c (VERSYMIDX): Removed.
26675 * elf/dl-version.c (VERSYMIDX): Likewise.
26676 * elf/do-rel.h (VERSYMIDX): Likewise.
26677 (VALIDX): Likewise.
26678 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26679 * elf/rtld.c (VALIDX): Likewise.
26680 (ADDRIDX): Likewise.
26681 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26682 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26683 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26684 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26685 (VALIDX): Likewise.
26686 (ADDRIDX): Likewise.
26688 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26690 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26692 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26695 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26697 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26698 addresses are in the same scope as 192.0.2/24.
26699 * posix/gai.conf: Document new scope table defaults.
26701 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26704 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26705 for ftell. Compute offsets from write pointers instead.
26706 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26708 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26711 * libio/Makefile (tests): New test case tst-fseek.
26712 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26713 combination works in wide mode.
26714 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26715 state when the external buffer state changes.
26717 2012-09-27 David S. Miller <davem@davemloft.net>
26720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26721 pass reloc->r_addend in as the 'high' argument to
26722 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26726 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26728 * rt/tst-aio2.c: Include <pthread.h>.
26729 * rt/tst-aio3.c: Likewise.
26731 2012-09-27 Steve Ellcey <sellcey@mips.com>
26733 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26735 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26737 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26738 contents on [SHARED].
26740 2012-09-26 Marek Polacek <polacek@redhat.com>
26744 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26745 for C++ and GCC <4.3 as well as for non GCC compilers.
26747 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26751 2012-09-25 Roland McGrath <roland@hack.frob.com>
26753 * Makefile.in (all, install): Declare with .PHONY.
26754 Reported by Michael Hope <michael.hope@linaro.org>.
26756 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26758 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26759 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26761 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26763 (sydep_routines): Add the new and the internal functions.
26764 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26765 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26767 (GLIBC_2.17): Add the new function.
26768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26769 (GLIBC_2.17): Likewise.
26770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26771 (GLIBC_2.17): Likewise.
26772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26773 (GLIBC_2.17): Likewise.
26774 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26776 2012-09-25 Alan Modra <amodra@gmail.com>
26778 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26779 Add release barrier before setting once_control to say
26780 initialisation is done. Add hints on lwarx. Use macro in
26782 (clear_once_control): Add release barrier.
26784 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26787 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26789 * math/s_clog10.c (__clog10): Likewise.
26790 * math/s_clog10f.c (__clog10f): Likewise.
26791 * math/s_clog10l.c (__clog10l): Likewise.
26792 * math/s_clogf.c (__clogf): Likewise.
26793 * math/s_clogl.c (__clogl): Likewise.
26794 * math/Makefile (libm-calls): Add x2y2m1.
26795 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26796 (__x2y2m1): Likewise.
26797 (__x2y2m1l): Likewise.
26798 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26799 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26802 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26803 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26804 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26805 * sysdeps/i386/fpu/libm-test-ulps: Update.
26806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26810 int as type of variable DEPTH.
26811 (glob): Use size_t instead of int as type of variables NEWCOUNT
26814 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26816 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26817 Add s_sincosf-sse2.
26818 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26819 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26820 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26821 macros for using routine as __sincosf_ia32.
26822 Use macro for function declaration and weak_alias.
26823 * sysdeps/i386/fpu/libm-test-ulps: Update.
26825 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26828 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26829 subnormal argument.
26830 * math/s_cexpf.c (__cexpf): Likewise.
26831 * math/s_csinf.c (__csinf): Likewise.
26832 * math/s_csinhf.c (__csinhf): Likewise.
26833 * math/s_ctanf.c (__ctanf): Likewise.
26834 * math/s_ctanhf.c (__ctanhf): Likewise.
26835 * math/s_ccosh.c (__ccoshf): Likewise.
26836 * math/s_cexp.c (__cexpl): Likewise.
26837 * math/s_csin.c (__csin): Likewise.
26838 * math/s_csinh.c (__csinh): Likewise.
26839 * math/s_ctan.c (__ctan): Likewise.
26840 * math/s_ctanh.c (ctanh): Likewise.
26841 * math/s_ccoshl.c (__ccoshl): Likewise.
26842 * math/s_cexpl.c (__cexpl): Likewise.
26843 * math/s_csinl.c (__csinl): Likewise.
26844 * math/s_csinhl.c (__csinhl): Likewise.
26845 * math/s_ctanl.c (__ctanl): Likewise.
26846 * math/s_ctanhl.c (__ctanhl): Likewise.
26848 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26850 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26851 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26852 (_IO_off_t): Define to __off_t, not _G_off_t.
26853 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26854 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26855 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26856 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26857 type of __dummy and __dummy2 fields.
26858 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26859 (_G_ssize_t): Likewise.
26860 (_G_off_t): Likewise.
26861 (_G_pid_t): Likewise.
26862 (_G_uid_t): Likewise.
26863 (_G_wchar_t): Likewise.
26864 (_G_wint_t): Likewise.
26865 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26866 (_G_ssize_t): Likewise.
26867 (_G_off_t): Likewise.
26868 (_G_pid_t): Likewise.
26869 (_G_uid_t): Likewise.
26870 (_G_wchar_t): Likewise.
26871 (_G_wint_t): Likewise.
26872 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26873 (_G_ssize_t): Likewise.
26874 (_G_off_t): Likewise.
26875 (_G_pid_t): Likewise.
26876 (_G_uid_t): Likewise.
26877 (_G_wchar_t): Likewise.
26878 (_G_wint_t): Likewise.
26880 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26882 * malloc/arena.c: Include malloc-sysdep.h.
26883 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26884 is sufficient to shrink the heap or an unmap is needed.
26885 * sysdeps/generic/malloc-sysdep.h: New file. Define
26886 new function check_may_shrink_heap.
26887 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26888 new function check_may_shrink_heap.
26890 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26892 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26895 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26897 * catgets/test-gencat.sh: Add "set -e".
26898 * elf/tst-pathopt.sh: Likewise.
26899 * grp/tst_fgetgrent.sh: Likewise.
26900 * iconvdata/run-iconv-test.sh: Likewise.
26901 * intl/tst-gettext.sh: Likewise.
26902 * intl/tst-gettext2.sh: Likewise.
26903 * intl/tst-gettext4.sh: Likewise.
26904 * intl/tst-gettext6.sh: Likewise.
26905 * intl/tst-translit.sh: Likewise.
26906 * io/ftwtest-sh: Likewise.
26907 * libio/test-freopen.sh: Likewise.
26908 * malloc/tst-mtrace.sh: Likewise.
26909 * posix/globtest.sh: Likewise.
26910 * posix/tst-getconf.sh: Likewise.
26911 * posix/wordexp-tst.sh: Likewise.
26912 * stdio-common/tst-printf.sh: Likewise.
26913 * stdio-common/tst-unbputc.sh: Likewise.
26914 * stdlib/tst-fmtmsg.sh: Likewise.
26915 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26916 * catgets/Makefile: Do not specify -e option when running
26917 testsuite shell scripts.
26918 * elf/Makefile: Likewise.
26919 * grp/Makefile: Likewise.
26920 * iconvdata/Makefile: Likewise.
26921 * intl/Makefile: Likewise.
26922 * io/Makefile: Likewise.
26923 * libio/Makefile: Likewise.
26924 * malloc/Makefile: Likewise.
26925 * posix/Makefile: Likewise.
26926 * stdio-common/Makefile: Likewise.
26927 * stdlib/Makefile: Likewise.
26928 * sysdeps/x86_64/Makefile: Likewise.
26930 * io/ftwtest-sh: Add copyright header.
26931 * posix/globtest.sh: Likewise.
26932 * posix/tst-getconf.sh: Likewise.
26933 * posix/wordexp-tst.sh: Likewise.
26934 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26936 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26939 * Makeconfig (+link): Defined as $(+link-static) if
26940 $(build-shared) isn't yes.
26941 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26943 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26945 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26948 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26949 new chunk size with MALLOC_ALIGN_MASK.
26951 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26954 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26956 (__printf_fphex): Determine rounding using get_rounding_mode and
26958 * stdio-common/tst-printf-round.c (struct hex_test): New
26960 (hex_tests): New variable.
26961 (test_hex_in_one_mode): New function.
26962 (do_test): Also run tests for hex float output.
26964 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26966 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26967 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26968 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26969 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26970 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26971 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26972 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26975 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26977 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26978 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26979 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26980 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26982 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26985 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26987 * elf/tst-rtld-load-self.sh: New test.
26988 * elf/Makefile: Run it.
26990 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26992 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26993 (tst-writev-ENV): Remove.
26994 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26996 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26998 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27000 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27002 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27004 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27006 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27007 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27008 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27011 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27014 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27015 * config.make.in (have-cpp-asm-debuginfo): Removed.
27016 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27017 * configure: Regenerated.
27019 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27022 * stdio-common/printf_fp.c: Include <stdbool.h> and
27024 (___printf_fp): Determine rounding using get_rounding_mode and
27026 * stdio-common/tst-printf-round.c: New file.
27027 * stdio-common/Makefile (tests): Add tst-printf-round.
27028 (link-libm): New variable.
27029 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27031 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27034 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27035 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27037 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27040 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27042 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27043 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27044 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27045 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27047 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27050 * include/rounding-mode.h: New file.
27051 * sysdeps/generic/get-rounding-mode.h: Likewise.
27052 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27053 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27054 (MAX_VALUE): New macro.
27055 (MIN_VALUE): Likewise.
27056 (overflow_value): New function.
27057 (underflow_value): Likewise.
27058 (round_and_return): Use overflow_value and underflow_value to
27059 determine return values in overflow and underflow cases. Use
27060 round_away to determine rounding depending on rounding mode.
27061 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27062 determine return values in overflow and underflow cases.
27063 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27064 (struct test_results): New structure.
27065 (struct test): Use struct test_results to store expected results
27066 for all rounding modes.
27067 (TEST): Include expected results for all rounding modes.
27068 (test_in_one_mode): New function.
27069 (do_test): Use test_in_one_mode to compute and check results.
27070 Check results for all rounding modes.
27071 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27074 2012-12-09 Allan McRae <allan@archlinux.org>
27076 * sysdeps/i386/fpu/libm-test-ulps: Update
27078 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27080 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27081 (_G_int32_t): Likewise.
27082 (_G_uint16_t): Likewise.
27083 (_G_uint32_t): Likewise.
27084 (_G_HAVE_BOOL): Likewise.
27085 (_G_HAVE_ATEXIT): Likewise.
27086 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27087 (_G_HAVE_IO_FILE_OPEN): Likewise.
27088 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27089 (_G_int32_t): Likewise.
27090 (_G_uint16_t): Likewise.
27091 (_G_uint32_t): Likewise.
27092 (_G_HAVE_BOOL): Likewise.
27093 (_G_HAVE_ATEXIT): Likewise.
27094 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27095 (_G_HAVE_IO_FILE_OPEN): Likewise.
27096 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27097 (_G_int32_t): Likewise.
27098 (_G_uint16_t): Likewise.
27099 (_G_uint32_t): Likewise.
27100 (_G_HAVE_BOOL): Likewise.
27101 (_G_HAVE_ATEXIT): Likewise.
27102 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27103 (_G_HAVE_IO_FILE_OPEN): Likewise.
27105 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27107 * csu/libc-tls.c: Update copyright years.
27109 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27111 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27112 [!_G_USING_THUNKS]: Remove conditional code.
27113 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27114 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27116 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27117 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27118 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27119 (_G_VTABLE_LABEL_PREFIX): Likewise.
27120 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27121 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27122 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27123 (_G_VTABLE_LABEL_PREFIX): Likewise.
27124 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27125 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27126 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27127 (_G_VTABLE_LABEL_PREFIX): Likewise.
27128 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27130 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27132 * libio/Makefile: Include ../Makeconfig before tests.
27133 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27134 only if $(build-shared) is yes.
27136 * iconv/gconv_db.c: Update copyright years.
27138 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27140 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27141 unwind info if defined PIC. Fix special cases description.
27142 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27144 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27146 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27148 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27150 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27152 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27155 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27156 (LDLIBS-tst-chk4): This.
27157 (LDFLAGS-tst-chk5): Renamed to ...
27158 (LDLIBS-tst-chk5): This.
27159 (LDFLAGS-tst-chk6): Renamed to ...
27160 (LDLIBS-tst-chk6): This.
27161 (LDFLAGS-tst-lfschk4): Renamed to ...
27162 (LDLIBS-tst-lfschk4): This.
27163 (LDFLAGS-tst-lfschk5): Renamed to ...
27164 (LDLIBS-tst-lfschk5): This.
27165 (LDFLAGS-tst-lfschk6): Renamed to ...
27166 (LDLIBS-tst-lfschk6): This.
27168 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27169 on $(common-objpfx)soversions.mk.
27171 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27174 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27177 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27179 * malloc/arena.c (arena_get_retry): New function that gets
27180 another arena for the caller to try its request on.
27181 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27182 current arena cannot fulfill the request.
27183 (__libc_memalign): Likewise.
27184 (__libc_memalign): Likewise.
27185 (__libc_pvalloc): Likewise.
27186 (__libc_calloc): Likewise.
27188 2012-09-05 John Tobey <john.tobey@gmail.com>
27191 * manual/arith.texi (Operations on Complex): Fix description
27192 of carg branch cut.
27194 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27197 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27201 * manual/memory.texi (Memory): Make order of menu items match
27204 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27206 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27207 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27208 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27210 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27212 * csu/libc-tls.c (static_dtv): Renamed to ...
27213 (_dl_static_dtv): This. Make it global.
27214 (_dl_initial_dtv): Removed.
27215 (__libc_setup_tls): Updated.
27216 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27217 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27220 2012-09-06 Petr Machata <pmachata@redhat.com>
27222 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27223 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27224 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27225 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27227 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27230 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27231 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27234 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27237 * Makeconfig (link-static-before-libc): Replace $(+prector)
27239 (link-static-after-libc): Replace $(+postctor) with
27241 (link-bounded): Replace $(+prector)/$(+postctor) with
27242 $(+prectorT)/$(+postctorT).
27243 (+prectorT): New macro.
27244 (+postctorT): Likewise.
27246 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27248 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27249 (round_str): Handle values above the maximum for IBM long double
27251 * stdlib/tst-strtod-round.c (tests): Regenerated.
27253 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27255 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27257 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27258 zarch_nohighgprs around the zarch optimized routines.
27259 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27260 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27264 2012-09-05 David S. Miller <davem@davemloft.net>
27266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27268 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27269 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27270 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27271 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27274 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27276 * malloc/arena.c: Fold copyright years.
27277 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27279 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27281 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27283 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27285 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27287 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27289 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27290 change internal state upon failure.
27292 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27294 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27295 * malloc/memusage.c (mmap): Likewise.
27296 (mmap64, mremap): Likewise. Adjust name in comment.
27298 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27300 * libio/fileops.c: Fix typos in comments.
27301 * libio/oldfileops.c: Likewise.
27302 * libio/wfileops.c: Likewise.
27304 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27307 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27308 (tst-malloc-usable-ENV): Set environment for test case.
27309 * malloc/hooks.c (malloc_check_get_size): New function to get
27311 * malloc/malloc.c (musable): Use malloc_check_get_size.
27312 * malloc/tst-malloc-usable.c: New test case.
27314 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27316 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27318 2012-09-05 Allan McRae <allan@archlinux.org>
27321 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27322 determine header location.
27323 * configure: Regenerated.
27325 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27327 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27329 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27330 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27332 (test): Regenerate.
27334 2012-09-04 David S. Miller <davem@davemloft.net>
27336 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27337 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27338 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27340 2012-09-04 Florian Weimer <fweimer@redhat.com>
27342 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27345 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27347 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27350 * libio/iogetdelim.c: Include <limits.h>.
27351 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27352 + len + 1 would overflow.
27354 2012-09-03 Andreas Jaeger <aj@suse.de>
27356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27357 * sysdeps/i386/fpu/libm-test-ulps: Update.
27359 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27361 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27362 Add s_sinf-sse2, s_conf-sse2.
27364 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27365 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27366 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27367 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27369 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27370 for using routine as __sinf_ia32.
27371 Use macro for function declaration and weak_alias.
27372 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27373 for using routine as __cosf_ia32.
27374 Use macro for function declaration and weak_alias.
27376 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27377 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27379 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27380 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27383 * math/libm-test.inc (cos_test): Add more test cases.
27384 (sin_test): Likewise.
27385 (sincos_test): Likewise.
27387 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27389 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27390 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27392 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27394 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27397 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27398 first element of the GOT.
27399 (elf_machine_load_address): Return the difference between
27400 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27402 2012-09-01 Allan McRae <allan@archlinux.org>
27405 * configure.in (AWK): Require gawk version 3.0 or later.
27406 * configure: Regenerated.
27408 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27410 * sysdeps/unix/sysv/linux/kernel-features.h
27411 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27413 [__NR_clock_getres]: Make code unconditional.
27414 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27415 (clock_getcpuclockid): Remove code left unreachable by removal of
27417 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27418 code unconditional.
27419 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27420 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27421 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27422 Make code unconditional.
27423 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27424 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27425 * sysdeps/unix/sysv/linux/clock_settime.c
27426 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27428 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27429 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27431 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27434 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27435 scripts/test-installation.pl.
27437 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27438 and $ld_so_version if it is set.
27440 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27443 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27444 failure if reading from procfs failed.
27445 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27447 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27449 * sysdeps/unix/sysv/linux/kernel-features.h
27450 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27451 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27452 Remove conditional code.
27453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27454 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27455 Remove conditional code.
27456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27457 * sysdeps/unix/sysv/linux/i386/fxstat.c
27458 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27460 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27461 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27463 * sysdeps/unix/sysv/linux/i386/lxstat.c
27464 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27466 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27467 Remove conditional code.
27468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27469 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27470 Remove conditional code.
27471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27472 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27473 <kernel-features.h>.
27474 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27476 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27477 Remove conditional code.
27478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27479 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27480 Remove conditional.
27482 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27485 * NEWS: Add fixed bug number.
27487 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27490 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27491 underflowing exponent in case of negative sign.
27492 * stdlib/tst-strtod-round-data: Add more tests.
27493 * stdlib/tst-strtod-round.c (tests): Regenerated.
27496 * stdlib/strtod_l.c (NDIG): Remove.
27497 (HEXNDIG): Likewise.
27498 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27499 smallest representable value.
27500 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27501 lie within an exact representation of 1/2 ulp of the result.
27502 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27504 (TENS_P9_IDX): Define unconditionally.
27505 (TENS_P9_SIZE): Likewise.
27506 (TENS_P10_IDX): Likewise.
27507 (TENS_P10_SIZE): Likewise.
27508 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27509 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27510 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27511 entries for 10^2^13 and 10^2^14.
27512 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27513 (TENS_P13_IDX): Define.
27514 (TENS_P13_SIZE): Likewise.
27515 (TENS_P14_IDX): Likewise.
27516 (TENS_P14_SIZE): Likewise.
27517 (_fpioconst_pow10): Change array size to
27518 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27520 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27521 1024]: Add entries for 10^2^13 and 10^2^14.
27522 [LAST_POW10 > _LAST_POW10]: Remove #error.
27523 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27524 (_fpioconst_pow10): Change array size to
27525 FPIOCONST_POW10_ARRAY_SIZE.
27526 * stdlib/gen-fpioconst.c: New file.
27527 * stdlib/gen-tst-strtod-round.c: Likewise.
27528 * stdlib/tst-strtod-round-data: Likewise.
27529 * stdlib/tst-strtod-round.c: Likewise.
27530 * stdlib/Makefile (tests): Add tst-strtod-round.
27533 * stdlib/strtod_l.c: Include <stdint.h>.
27534 (NDEBUG): Do not define.
27535 (round_and_return): Change EXPONENT parameter to type intmax_t.
27536 Rearrange calculations to avoid internal overflow possibilities.
27537 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27538 Rearrange calculations to avoid internal overflow possibilities.
27539 Assert that number fits inside MPNSIZE limbs.
27540 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27541 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27542 calculations and add assertions to avoid internal overflow
27543 possibilities. Add casts to avoid signed/unsigned operations.
27544 * stdlib/tst-strtod-overflow.c: New file.
27545 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27547 2012-08-25 Marek Polacek <polacek@redhat.com>
27549 * time/time.h: Fix some typos in comments.
27551 2012-08-23 Roland McGrath <roland@hack.frob.com>
27553 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27554 * posix/tst-rfc3484-2.c: Likewise.
27555 * posix/tst-rfc3484-3.c: Likewise.
27557 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27559 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27560 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27562 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27564 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27565 #include of fxstatat64.c.
27567 2012-08-22 Roland McGrath <roland@hack.frob.com>
27569 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27570 * shadow/getspent_r.c: Likewise.
27571 * shadow/getspnam.c: Likewise.
27572 * shadow/getspnam_r.c: Likewise.
27573 * gshadow/getsgent.c: Likewise.
27574 * gshadow/getsgent_r.c: Likewise.
27575 * gshadow/getsgnam.c: Likewise.
27576 * gshadow/getsgnam_r.c: Likewise.
27577 * inet/getnetbyad.c: Likewise.
27578 * inet/getnetbyad_r.c: Likewise.
27579 * inet/getnetbynm.c: Likewise.
27580 * inet/getnetbynm_r.c: Likewise.
27581 * inet/getnetent.c: Likewise.
27582 * inet/getnetent_r.c: Likewise.
27583 * inet/getproto.c: Likewise.
27584 * inet/getproto_r.c: Likewise.
27585 * inet/getprtent.c: Likewise.
27586 * inet/getprtent_r.c: Likewise.
27587 * inet/getprtname.c: Likewise.
27588 * inet/getprtname_r.c: Likewise.
27589 * inet/getrpcbyname.c: Likewise.
27590 * inet/getrpcbyname_r.c: Likewise.
27591 * inet/getrpcbynumber.c: Likewise.
27592 * inet/getrpcbynumber_r.c: Likewise.
27593 * inet/getrpcent.c: Likewise.
27594 * inet/getrpcent_r.c: Likewise.
27595 * inet/getaliasent.c: Likewise.
27596 * inet/getaliasent_r.c: Likewise.
27597 * inet/getaliasname.c: Likewise.
27598 * inet/getaliasname_r.c: Likewise.
27599 * nscd/getgrgid_r.c: Likewise.
27600 * nscd/getgrnam_r.c: Likewise.
27601 * nscd/gethstbyad_r.c: Likewise.
27602 * nscd/gethstbynm3_r.c: Likewise.
27603 * nscd/getpwnam_r.c: Likewise.
27604 * nscd/getpwuid_r.c: Likewise.
27605 * nscd/getsrvbynm_r.c: Likewise.
27606 * nscd/getsrvbypt_r.c: Likewise.
27607 * nscd/gai.c: Likewise.
27609 * configure.in (build_nscd): New substituted variable, set
27610 by --disable-build-nscd and defaults to $use_nscd.
27611 * configure: Regenerated.
27612 * config.make.in (build-nscd): New substituted variable.
27613 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27614 Change conditional to require [$(build-nscd) = yes] as well.
27615 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27618 * configure.in (use_nscd): New substituted variable, set by
27619 --disable-nscd. If enabled, define USE_NSCD.
27620 * configure: Regenerated.
27621 * config.h.in: Add USE_NSCD.
27622 * config.make.in (use-nscd): New substituted variable.
27623 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27624 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27625 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27626 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27627 (CFLAGS-getgrnam_r.c): Likewise.
27628 (CFLAGS-initgroups.c): Likewise.
27629 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27630 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27632 * inet/getnetgrent_r.c
27633 (nscd_setnetgrent): New function, broken out of ...
27634 (setnetgrent): ... here. Call it.
27635 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27636 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27637 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27638 * nscd/Makefile (routines, aux): Move definitions after include of
27639 Makeconfig. Conditionalize on [$(use-nscd) != no].
27640 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27641 Conditionalize on [USE_NSCD].
27642 (is_nscd, nscd_init_cb): Likewise.
27643 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27644 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27645 * nss/nss_db/db-init.c: Likewise.
27646 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27648 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27649 (make_request): Use it.
27650 (cache_valid_p): New function.
27651 (__check_pf): Use it.
27652 * NEWS: Add item for --disable-nscd.
27654 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27656 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27657 to support sed >= 4.2.1-20-ga9bf076.
27658 * configure: Regenerated.
27660 2012-08-22 Roland McGrath <roland@hack.frob.com>
27662 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27663 Conditionalize whole body on [IREL].
27665 2012-08-22 Jeff Law <law@redhat.com>
27668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27669 if the family is PF_UNSPEC.
27671 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27673 * Makerules (lib-version): Rename from V.
27674 (install-lib-nosubdir): Change V to lib-version.
27676 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27679 * powerpc32/power6/wcschr.c: New file.
27680 * powerpc32/power6/wcscpy.c: New file.
27681 * powerpc32/power6/wcsrchr.c: New file.
27682 * powerpc64/power6/wcschr.c: New file.
27683 * powerpc64/power6/wcscpy.c: New file.
27684 * powerpc64/power6/wcsrchr.c: New file.
27686 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27688 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27689 (two_way_short_needle): Use it.
27690 * string/strstr.c (AVAILABLE1_USES_J): Define.
27691 * string/strcasestr.c: Likewise.
27693 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27695 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27698 * NEWS: Add an entry.
27699 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27700 define their defaults.
27701 (two_way_short_needle): Detect end-of-string on-the-fly.
27702 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27703 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27704 * string/bug-strcasestr1.c: New test.
27705 * string/Makefile: Run it.
27707 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27710 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27711 the first character.
27713 2012-08-21 Roland McGrath <roland@hack.frob.com>
27715 * csu/elf-init.c (__libc_csu_irel): Function removed.
27716 * csu/libc-start.c (apply_irel): New function.
27717 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27719 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27721 * sysdeps/unix/sysv/linux/kernel-features.h
27722 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27723 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27724 <kernel-features.h>.
27725 [__NR_fadvise64_64]: Make code unconditional.
27726 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27727 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27728 !__NR_fadvise64_64)]: Likewise.
27729 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27730 !__NR_fadvise64_64))]: Likewise.
27731 [__NR_fadvise64]: Make code unconditional.
27732 [!__NR_fadvise64]: Remove conditional code.
27733 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27734 <kernel-features.h>.
27735 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27737 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27740 not include <kernel-features.h>.
27741 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27743 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27745 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27746 include <kernel-features.h>.
27747 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27749 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27752 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27755 slight instruction rearrangements per scrollpipe analysis.
27756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27758 2012-08-20 Roland McGrath <roland@hack.frob.com>
27760 * manual/syslog.texi (syslog; vsyslog, closelog):
27761 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27762 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27764 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27765 DSOCAPS to match condition on defining it.
27767 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27769 * sysdeps/unix/sysv/linux/kernel-features.h
27770 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27772 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27773 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27775 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27776 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27778 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27779 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27781 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27782 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27784 * sysdeps/unix/sysv/linux/kernel-features.h
27785 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27786 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27788 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27789 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27790 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27791 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27792 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27793 Make code unconditional.
27794 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27795 (__mmap64) [!__NR_mmap2]: Likewise.
27796 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27797 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27798 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27799 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27800 [__NR_mmap2]: Make code unconditional.
27801 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27802 (__mmap64) [!__NR_mmap2]: Likewise.
27804 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27806 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27808 2012-08-18 Andreas Jaeger <aj@suse.de>
27810 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27812 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27814 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27815 * include/unistd.h (__have_sock_cloexec): Likewise.
27816 (__have_pipe2): Likewise.
27817 (__have_dup3): Likewise.
27819 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27822 * include/unistd.h (__have_pipe2): Change define into an extern int.
27823 (__have_dup3): Likewise.
27824 * socket/have_sock_cloexec.c: Include fcntl.h.
27825 (__have_pipe2): New variable.
27826 (__have_dup3): Likewise.
27828 2012-08-17 Mike Frysinger <vapier@gentoo.org>
27830 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27832 2012-08-17 Marek Polacek <polacek@redhat.com>
27834 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27835 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27837 2012-08-17 Roland McGrath <roland@hack.frob.com>
27839 * configure.in: Add AC_SUBST for sysheaders.
27840 * configure: Regenerated.
27841 * config.make.in (sysheaders): New substituted variable.
27843 * sysdeps/unix/mkfifo.c: Moved ...
27844 * sysdeps/posix/mkfifo.c: ... here.
27845 * sysdeps/unix/mkfifoat.c: Moved ...
27846 * sysdeps/posix/mkfifoat.c: ... here.
27848 * sysdeps/unix/utime.c: Moved ...
27849 * sysdeps/posix/utime.c: ... here.
27851 * sysdeps/unix/time.c: Moved ...
27852 * sysdeps/posix/time.c: ... here.
27853 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27854 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27856 * sysdeps/unix/nice.c: Moved ...
27857 * sysdeps/posix/nice.c: ... here.
27859 * sysdeps/unix/alarm.c: Moved ...
27860 * sysdeps/posix/alarm.c: ... here.
27862 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27864 2012-08-17 Jeff Law <law@redhat.com>
27866 * intl/Makefile (codeset_mo): New variable.
27867 ($(codeset_mo)): New target.
27868 (tst-codeset.out): Depend on that. Remove explicit rule.
27869 (tst-gettext3.out, tst-gettext5.out): Likewise.
27870 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27871 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27872 * intl/tst-codeset.sh: Remove.
27873 * intl/tst-gettext3.sh: Likewise.
27874 * intl/tst-gettext5.sh: Likewise.
27876 2012-08-17 Roland McGrath <roland@hack.frob.com>
27878 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27879 * sysdeps/unix/syscalls.list: ... here.
27881 * sysdeps/posix/getaddrinfo.c
27882 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27883 (gaiconf_init, gaiconf_reload): Use them.
27884 [!_STATBUF_ST_NSEC]
27885 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27886 Define using time_t rather than struct timespec.
27888 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27889 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27891 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27893 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27894 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27897 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27898 __libc_cleanup_push argument.
27900 * bits/param.h: New file.
27901 * misc/sys/param.h: New file.
27902 * include/sys/param.h: New file.
27903 * misc/Makefile (headers): Add bits/param.h.
27904 * sysdeps/generic/sys/param.h: File removed.
27905 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27906 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27907 * sysdeps/mach/hurd/bits/param.h: New file.
27908 * sysdeps/mach/hurd/sys/param.h: File removed.
27910 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27913 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27915 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27916 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27919 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27920 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27921 rather than -D_IO_MTSAFE_IO conditionally.
27922 * stdio-common/Makefile (CPPFLAGS): Likewise.
27923 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27924 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27925 Use $(libio-mtsafe).
27926 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27927 of -D_IO_MTSAFE_IO.
27928 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27929 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27930 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27931 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27932 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27933 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27934 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27935 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27936 (CFLAGS-fread_u_chk.c): Likewise.
27937 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27938 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27939 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27940 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27941 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27942 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27943 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27944 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27945 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27947 * libio/Makefile: Test [$(libc-reentrant) = yes]
27948 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27951 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27952 * sysdeps/pthread/configure: File removed.
27953 * sysdeps/pthread/Makeconfig: New file.
27954 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27955 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27957 2012-08-16 Gary Benson <gbenson@redhat.com>
27959 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27960 unmapping the first object in a namespace.
27962 2012-08-16 Roland McGrath <roland@hack.frob.com>
27964 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27965 (__internal_setnetgrent): ... this. Add internal_function to
27966 definition. Add libc_hidden_def.
27967 (setnetgrent): Update caller.
27968 (internal_endnetgrent): Renamed to ...
27969 (__internal_endnetgrent): ... this. Add internal_function to
27970 definition. Add libc_hidden_def.
27971 (endnetgrent): Update caller.
27972 (internal_getnetgrent_r): Renamed to ...
27973 (__internal_getnetgrent_r): ... this. Add internal_function to
27974 definition. Add libc_hidden_def.
27975 (__getnetgrent_r): Update caller.
27976 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27978 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27980 * stdlib/longlong.h: Update from GCC.
27982 2012-08-16 Roland McGrath <roland@hack.frob.com>
27984 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27985 on _QL, which is set by umul_ppmm but never used.
27986 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27987 variables, which are set by GMP macros but never used.
27988 * stdio-common/_itowa.c (_itowa): Likewise.
27989 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27990 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27992 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27994 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27995 struct La_sh_regs is not constant.
27996 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27997 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27998 and struct La_sparc64_regs are not constant.
28000 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28002 * sysdeps/unix/sysv/linux/kernel-features.h
28003 (__ASSUME_POSIX_TIMERS): Remove.
28004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28005 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28006 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28007 Make code unconditional.
28008 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28009 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28010 Make code unconditional.
28011 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28012 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28013 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28014 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28015 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28016 Make code unconditional.
28017 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28018 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28019 (__libc_missing_posix_timers): Remove.
28021 2012-08-15 Roland McGrath <roland@hack.frob.com>
28023 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28024 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28026 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28028 * elf/dl-sym.c: Include <stdlib.h>.
28030 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28031 constants, which avoids warnings in 32-bit builds.
28033 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28034 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28036 * misc/lseek.c: File moved to ...
28037 * io/lseek.c: ... here.
28039 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28041 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28042 shifting LEN more than 31 bits at once.
28044 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28047 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28048 segmentation fault for a case of two empty input strings.
28049 * string/test-strncasecmp.c (check1): Renamed to...
28050 (bz12205): ...this.
28051 (bz14195): Add new testcase for two empty input strings and N > 0.
28052 (test_main): Call new testcase, adapt for renamed function.
28054 2012-08-15 Andreas Jaeger <aj@suse.de>
28057 * crypt/md5test2.c: New test, based on test supplied by Serge
28058 Belyshev <belyshev@depni.sinp.msu.ru>.
28059 * crypt/Makefile (xtests): Add md5test-giant..
28060 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28062 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28065 * crypt/md5.c (md5_process_block): Don't assume the buffer
28066 length is less than 2**32.
28067 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28068 length is less than 2**64.
28070 2012-08-15 Roland McGrath <roland@hack.frob.com>
28072 * string/str-two-way.h: Include <sys/param.h>.
28073 (MAX): Macro removed.
28075 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28076 Move #define and #undef of memmove to just before and after
28077 including <string.h>.
28079 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28080 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28081 and after including <string.h>. Move declarations of
28082 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28083 to before #include "string/memmove.c".
28085 * include/dirent.h: Declare __getdirentries.
28087 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28088 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28090 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28092 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28093 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28094 * sysdeps/i386/configure: Regenerated.
28095 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28096 STABS_CURRENT_FILE, and STABS_FUN.
28097 (END): Remove call to STABS_FUN_END.
28098 (STABS_CURRENT_FILE1): Delete.
28099 (STABS_CURRENT_FILE): Likewise.
28100 (STABS_FUN): Likewise.
28101 (STABS_FUN_END): Likewise.
28102 (STABS_FUN2): Likewise.
28103 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28104 * sysdeps/x86_64/configure: Regenerated.
28106 2012-08-14 Roland McGrath <roland@hack.frob.com>
28108 * elf/dl-open.c: Include <atomic.h>.
28109 * elf/dl-lookup.c: Likewise.
28111 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28113 * sysdeps/unix/sysv/linux/kernel-features.h
28114 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28115 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28117 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28119 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28120 condition on __ASSUME_CLONE_THREAD_FLAGS.
28122 2012-08-14 Andreas Jaeger <aj@suse.de>
28124 * sysdeps/i386/fpu/libm-test-ulps: Update.
28126 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28128 * include/atomic.h (atomic_exchange_and_add): Split into ...
28129 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28132 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28136 2012-08-13 Jeff Law <law@redhat.com>
28138 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28139 null byte in the output string.
28141 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28143 * sysdeps/unix/sysv/linux/kernel-features.h
28144 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28145 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28146 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28147 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28148 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28149 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28150 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28152 2012-08-09 Jeff Law <law@redhat.com>
28155 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28156 When avoid_arena is set, don't retry in the that arena. Pick the
28157 next one, whatever it might be.
28158 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28159 (arena_lock): Pass in new parameter to arena_get2.
28160 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28162 (__libc_malloc): Unify retrying after main arena failure with
28163 __libc_memalign version.
28164 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28166 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28169 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28170 to __redirect_strstr.
28171 (__strstr_sse42): Use typeof __redirect_strstr.
28172 (__strstr_ia32): Likewise.
28173 (__libc_strstr): New prototype.
28174 (strstr): Renamed to ...
28175 (__libc_strstr): This.
28176 (strstr): New strong alias of __libc_strstr.
28177 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28178 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28181 (__libc_time): New prototype.
28182 (time_ifunc): Replace time with __libc_time.
28183 (time): New strong alias and hidden definition of __libc_time.
28184 (__GI_time): Remove strong alias.
28185 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28186 Include <stddef.h>.
28187 (memmove): Redefined to __redirect_memmove.
28188 (__memmove_sse2): Use typeof __redirect_memmove.
28189 (__memmove_ssse3): Likewise.
28190 (__memmove_ssse3_back): Likewise.
28191 (__libc_memmove): New prototype.
28192 (memmove): Renamed to ...
28193 (__libc_memmove): This.
28194 (memmove): New strong alias of __libc_memmove.
28196 2012-08-08 Mark Salter <msalter@redhat.com>
28199 (R_MN10300_TLS_GD): Define.
28200 (R_MN10300_TLS_LD): Likewise.
28201 (R_MN10300_TLS_LDO): Likewise.
28202 (R_MN10300_TLS_GOTIE): Likewise.
28203 (R_MN10300_TLS_IE): Likewise.
28204 (R_MN10300_TLS_LE): Likewise.
28205 (R_MN10300_TLS_DTPMOD): Likewise.
28206 (R_MN10300_TLS_DTPOFF): Likewise.
28207 (R_MN10300_TLS_TPOFF): Likewise.
28208 (R_MN10300_SYM_DIFF): Likewise.
28209 (R_MN10300_ALIGN): Likewise.
28210 (R_MN10300_NUM): Update.
28212 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28214 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28217 2012-08-08 Roland McGrath <roland@hack.frob.com>
28219 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28221 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28222 sysdeps/unix -> sysdeps/posix move.
28223 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28225 2012-08-07 Allan McRae <allan@archlinux.org>
28228 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28229 (SUNOS_CPP): Likewise.
28230 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28232 (open_input): Call CPP using execvp.
28234 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28236 * sysdeps/unix/sysv/linux/kernel-features.h
28237 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28238 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28239 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28240 (__ASSUME_WAITID_SYSCALL): Likewise.
28241 * sysdeps/unix/sysv/linux/dl-execstack.c
28242 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28243 code unconditional.
28244 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28246 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28247 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28248 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28250 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28252 [__ASSUME_WAITID_SYSCALL]: Likewise.
28253 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28255 2012-08-07 Roland McGrath <roland@hack.frob.com>
28257 * sysdeps/unix/closedir.c: Renamed to ...
28258 * sysdeps/posix/closedir.c: ... here.
28259 * sysdeps/unix/dirfd.c: Renamed to ...
28260 * sysdeps/posix/dirfd.c: ... here.
28261 * sysdeps/unix/dirstream.h: Renamed to ...
28262 * sysdeps/posix/dirstream.h: ... here.
28263 * sysdeps/unix/fdopendir.c: Renamed to ...
28264 * sysdeps/posix/fdopendir.c: ... here.
28265 * sysdeps/unix/opendir.c: Renamed to ...
28266 * sysdeps/posix/opendir.c: ... here.
28267 * sysdeps/unix/readdir.c: Renamed to ...
28268 * sysdeps/posix/readdir.c: ... here.
28269 * sysdeps/unix/readdir_r.c: Renamed to ...
28270 * sysdeps/posix/readdir_r.c: ... here.
28271 * sysdeps/unix/rewinddir.c: Renamed to ...
28272 * sysdeps/posix/rewinddir.c: ... here.
28273 * sysdeps/unix/seekdir.c: Renamed to ...
28274 * sysdeps/posix/seekdir.c: ... here.
28275 * sysdeps/unix/telldir.c: Renamed to ...
28276 * sysdeps/posix/telldir.c: ... here.
28277 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28278 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28279 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28280 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28282 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28283 * bits/fcntl.h: ... here.
28285 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28287 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28288 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28289 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28290 (struct flock): Move l_start, l_len to the beginning.
28291 Use __pid_t for l_pid.
28292 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28293 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28294 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28295 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28296 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28297 [__USE_LARGEFILE64] (struct flock64): New type.
28298 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28300 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28301 * bits/dirent.h: ... here.
28303 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28304 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28306 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28309 Change from 2.6.0 to 2.6.16.
28310 * sysdeps/unix/sysv/linux/configure: Regenerated.
28311 * sysdeps/unix/sysv/linux/kernel-features.h
28312 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28313 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28315 (__ASSUME_UTIMES): Likewise.
28316 (__ASSUME_CLONE_STOPPED): Remove.
28317 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28318 architectures, not kernel version.
28319 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28320 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28321 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28322 (__ASSUME_WAITID_SYSCALL): Likewise.
28323 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28324 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28325 * README: State 2.6.16 as minimum Linux kernel version. Do not
28326 refer to older versions.
28328 2012-08-06 Roland McGrath <roland@hack.frob.com>
28330 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28331 Define alphasort64 as an alias.
28332 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28333 Define versionsort64 as an alias.
28334 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28335 Define scandir64 as an alias.
28336 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28337 Define scandirat64 as an alias.
28338 * dirent/alphasort64.c (alphasort64):
28339 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28340 * dirent/versionsort64.c: Likewise.
28341 * dirent/scandir64.c: Likewise.
28342 * dirent/scandirat64.c: Likewise.
28343 * sysdeps/wordsize-64/alphasort.c: File removed.
28344 * sysdeps/wordsize-64/alphasort64.c: File removed.
28345 * sysdeps/wordsize-64/scandir.c: File removed.
28346 * sysdeps/wordsize-64/scandir64.c: File removed.
28347 * sysdeps/wordsize-64/scandirat.c: File removed.
28348 * sysdeps/wordsize-64/scandirat64.c: File removed.
28349 * sysdeps/wordsize-64/versionsort.c: File removed.
28350 * sysdeps/wordsize-64/versionsort64.c: File removed.
28351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28352 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28353 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28355 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28357 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28360 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28362 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28364 [defined __arch64__ || defined __sparcv9]
28365 (__INO_T_MATCHES_INO64_T): New macro.
28366 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28367 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28368 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28369 * sysdeps/unix/sysv/linux/bits/dirent.h
28370 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28371 (_DIRENT_MATCHES_DIRENT64): New macro.
28373 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28374 Define lockf64 as an alias.
28375 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28376 Define fseeko64 as an alias.
28377 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28378 Define ftello64 as an alias.
28379 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28380 Define _IO_fgetpos64 and fgetpos64 as aliases.
28381 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28382 Define _IO_fsetpos64 and fsetpos64 as aliases.
28383 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28384 Conditionalize body on this.
28385 * libio/fseeko64.c: Likewise.
28386 * libio/ftello64.c: Likewise.
28387 * libio/iofgetpos64.c: Likewise.
28388 * libio/iofsetpos64.c: Likewise.
28389 * sysdeps/wordsize-64/lockf.c: File removed.
28390 * sysdeps/wordsize-64/lockf64.c: File removed.
28391 * sysdeps/wordsize-64/fseeko.c: File removed.
28392 * sysdeps/wordsize-64/fseeko64.c: File removed.
28393 * sysdeps/wordsize-64/ftello.c: File removed.
28394 * sysdeps/wordsize-64/ftello64.c: File removed.
28395 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28396 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28397 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28398 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28399 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28400 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28401 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28402 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28403 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28404 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28405 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28407 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28408 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28410 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28412 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28414 [defined __arch64__ || defined __sparcv9]
28415 (__OFF_T_MATCHES_OFF64_T): New macro.
28416 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28417 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28419 (__OFF_T_MATCHES_OFF64_T): New macro.
28421 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28423 * stdlib/secure-getenv.c (__secure_getenv): Replace
28424 GLIBC_2_16 with GLIBC_2_17.
28426 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28429 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28431 2012-08-03 David S. Miller <davem@davemloft.net>
28433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28435 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28437 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28439 (__ASSUME_CORRECT_SI_PID): Likewise.
28440 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28441 (__ASSUME_TMPFS_NAME): Likewise.
28442 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28443 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28444 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28445 (HAVE_AUX_SECURE): Make definition unconditional.
28446 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28447 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28449 2012-08-03 Roland McGrath <roland@hack.frob.com>
28451 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28452 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28453 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28454 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28455 __eloop_threshold instead of SYMLOOP_MAX.
28457 * sysdeps/generic/eloop-threshold.h: New file.
28458 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28460 * elf/chroot_canon.c (chroot_canon): Likewise.
28462 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28466 Change to 2.6.0 everywhere.
28467 * sysdeps/unix/sysv/linux/configure: Regenerated.
28468 * sysdeps/unix/sysv/linux/kernel-features.h
28469 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28470 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28472 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28473 (__ASSUME_FUTEX_REQUEUE): Remove.
28474 (__ASSUME_STATFS64): Define unconditionally.
28475 (__ASSUME_AT_SECURE): Likewise.
28476 (__ASSUME_CORRECT_SI_PID): Likewise.
28477 (__ASSUME_TGKILL): Define without depending on kernel version for
28479 (__ASSUME_UTIMES): Likewise.
28480 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28482 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28483 (__ASSUME_TMPFS_NAME): Likewise.
28484 * README: Update reference to Linux kernel versions.
28486 2012-08-02 Marek Polacek <polacek@redhat.com>
28489 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28490 libc_cv_asm_type_prefix with %.
28491 * configure: Regenerated.
28492 * include/libc-symbols.h: Remove comment about
28493 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28494 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28495 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28496 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28497 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28498 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28499 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28500 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28501 * elf/tst-unique2mod1.c: Likewise.
28502 * elf/tst-unique1mod2.c: Likewise.
28503 * elf/tst-unique1mod1.c: Likewise.
28504 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28505 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28506 Replace ASM_TYPE_DIRECTIVE with .type.
28507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28508 * sysdeps/i386/sysdep.h: Likewise.
28509 * sysdeps/x86_64/sysdep.h: Likewise.
28510 * sysdeps/sh/sysdep.h: Likewise.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28512 Do not define ASM_TYPE_DIRECTIVE.
28513 * sysdeps/powerpc/sysdep.h: Likewise.
28514 * sysdeps/powerpc/powerpc32/sysdep.h:
28515 Replace ASM_TYPE_DIRECTIVE with .type.
28516 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28517 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28518 * sysdeps/i386/fpu/e_powf.S: Likewise.
28519 * sysdeps/i386/fpu/e_expl.S: Likewise.
28520 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28521 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28522 * sysdeps/i386/fpu/e_pow.S: Likewise.
28523 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28525 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28526 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28527 * sysdeps/i386/fpu/e_log2.S: Likewise.
28528 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28529 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28530 * sysdeps/i386/fpu/e_powl.S: Likewise.
28531 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28532 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28533 * sysdeps/i386/fpu/e_logl.S: Likewise.
28534 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28535 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28536 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28537 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28538 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28539 * sysdeps/i386/fpu/e_log.S: Likewise.
28540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28541 * sysdeps/i386/fpu/e_logf.S: Likewise.
28542 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28543 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28544 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28545 * sysdeps/i386/fpu/e_log10.S: Likewise.
28546 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28547 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28548 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28549 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28550 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28551 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28552 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28553 * sysdeps/i386/i686/strtok.S: Likewise.
28554 * sysdeps/i386/i386-mcount.S: Likewise.
28555 * sysdeps/i386/strtok.S: Likewise.
28556 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28560 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28561 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28562 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28563 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28564 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28565 * sysdeps/x86_64/_mcount.S: Likewise.
28566 * sysdeps/x86_64/strtok.S: Likewise.
28567 * sysdeps/sh/_mcount.S: Likewise.
28569 2012-08-01 Roland McGrath <roland@hack.frob.com>
28571 * libio/iofopen.c: Include <fcntl.h>.
28572 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28573 (_IO_fopen64, fopen64): Define as aliases.
28574 * libio/iofopen64.c: Include <fcntl.h>.
28575 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28576 Conditionalize body on this.
28577 * sysdeps/wordsize-64/iofopen.c: File removed.
28578 * sysdeps/wordsize-64/iofopen64.c: File removed.
28580 2012-08-01 Marek Polacek <polacek@redhat.com>
28582 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28583 Use dlfcn directly instead of a variable.
28584 (binfmt-subdir): Do not define.
28587 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28590 Remove all definitions.
28591 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28592 <kernel-features.h>.
28593 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28594 (miss_F_GETOWN_EX): Remove all definitions.
28595 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28597 [!__ASSUME_FCNTL64]: Remove conditional code.
28598 [__ASSUME_FCNTL64]: Make code unconditional.
28599 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28600 <kernel-features.h>.
28601 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28602 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28603 (lockf64) [__NR_fcntl64]: Make code unconditional.
28604 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28606 * sysdeps/unix/sysv/linux/kernel-features.h
28607 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28608 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28609 Make code unconditional.
28610 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28611 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28613 [__NR_vfork]: Make code unconditional.
28614 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28615 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28617 [__NR_vfork]: Make code unconditional.
28618 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28619 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28621 2012-08-01 Roland McGrath <roland@hack.frob.com>
28623 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28624 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28626 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28627 Define mkstemp64 as an alias.
28628 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28629 Define mkstemps64 as an alias.
28630 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28631 Define mkostemp64 as an alias.
28632 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28633 Define mkostemps64 as an alias.
28634 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28635 Conditionalize body on this.
28636 * misc/mkostemp64.c: Likewise.
28637 * misc/mkostemps64.c: Likewise.
28638 * misc/mkstemps64.c: Likewise.
28639 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28640 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28641 * sysdeps/wordsize-64/mkostemp.c: File removed.
28642 * sysdeps/wordsize-64/mkstemp.c: File removed.
28643 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28644 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28645 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28646 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28649 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28650 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28651 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28652 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28654 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28655 compat_symbol macros from <shlib-compat.h> rather than the underlying
28656 default_symbol_version and symbol_version macros, so that DEFAULT
28657 lines in shlib-versions are respected.
28658 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28660 2012-08-01 Florian Weimer <fweimer@redhat.com>
28662 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28663 Declare with warn_unused_result.
28664 (setgid, setregid, setegid, setresgid): Likewise.
28665 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28667 * WUR-REPORT: Remove set*id functions.
28669 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28671 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28673 2012-07-31 Roland McGrath <roland@hack.frob.com>
28676 * include/sys/socket.h (__libc_accept, __libc_accept4):
28677 Add attribute_hidden.
28678 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28680 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28682 * inet/getnetgrent_r.c (setup): Likewise.
28684 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28686 2012-07-31 David S. Miller <davem@davemloft.net>
28688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28690 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28693 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28694 value between 1.0 and 2.0 and smaller part has absolute value less
28696 * math/s_clog10.c (__clog10): Likewise.
28697 * math/s_clog10f.c (__clog10f): Likewise.
28698 * math/s_clog10l.c (__clog10l): Likewise.
28699 * math/s_clogf.c (__clogf): Likewise.
28700 * math/s_clogl.c (__clogl): Likewise.
28701 * math/libm-test.inc (clog_test): Add more tests.
28702 (clog10_test): Likewise.
28703 * sysdeps/i386/fpu/libm-test-ulps: Update.
28704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28706 2012-07-31 Florian Weimer <fweimer@redhat.com>
28708 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28709 Exit with zero in case no suitable GID is found, and write a
28710 message to standard error.
28712 2012-07-30 Roland McGrath <roland@hack.frob.com>
28714 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28716 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28717 (MAXPATHLEN): Removed.
28718 (NOGROUP, NODEV): New macros.
28719 (setbit, clrbit, isset, isclr): New macros.
28720 (howmany, roundup, powerof2): New macros.
28721 (DEV_BSIZE): New macro.
28723 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28724 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28726 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28727 definition on [!__NO_LONG_DOUBLE_MATH].
28729 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28730 PTR_MANGLE and PTR_DEMANGLE.
28732 * socket/accept4.c (accept4): Rename to __libc_accept4.
28733 Define accept4 as a weak alias.
28735 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28736 on [_DIRENT_HAVE_D_TYPE].
28737 * io/ftw.c (ftw_dir): Likewise.
28739 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28741 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28743 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28744 Use the BSD numbers rather than the arbitrary ones we had.
28745 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28746 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28747 (SIGXCPU, SIGXFSZ): New macros.
28750 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28751 initializer on [_LIBC_REENTRANT].
28753 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28754 definitions inside [_POSIX_MAPPED_FILES].
28756 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28758 * dirent/opendir.c: Include <fcntl.h>.
28760 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28761 (__libc_getspecific): Likewise.
28762 (__libc_key_create): Likewise.
28764 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28765 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28766 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28767 (tmpfile64): Define as alias.
28768 * sysdeps/wordsize-64/tmpfile.c: File removed.
28769 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28773 * stdio-common/vfscanf.c: Include <stdbool.h>.
28774 * nss/makedb.c: Likewise.
28775 * stdio-common/_i18n_number.h: Likewise.
28776 * argp/argp-help.c: Likewise.
28777 * posix/wordexp.c: Likewise.
28778 * sysdeps/posix/spawni.c: Likewise.
28779 * nss/nss_files/files-initgroups.c: Likewise.
28780 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28781 * nss/nss_files/files-initgroups.c: Likewise.
28782 * nss/nss_db/db-netgrp.c: Likewise.
28783 * nss/nss_db/db-initgroups.c: Likewise.
28784 * io/fchmodat.c: Include <sys/stat.h>.
28786 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28787 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28789 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28792 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28793 Add multiple inclusion protection.
28795 2012-07-27 David S. Miller <davem@davemloft.net>
28797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28799 2012-07-27 Gary Benson <gbenson@redhat.com>
28802 * elf/rtld.c: Include <stap-probe.h>.
28803 (dl_main): Added static probes "init_start" and "init_complete".
28804 * elf/dl-load.c: Include <stap-probe.h>.
28805 (lose): Take new parameter "nsid".
28806 Added static probe "map_failed".
28807 (_dl_map_object_from_fd): Pass namespace id to lose.
28808 Added static probe "map_start".
28809 (open_verify): Pass namespace id to lose.
28810 * elf/dl-open.c: Include <stap-probe.h>.
28811 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28812 and "reloc_complete".
28813 * elf/dl-close.c: Include <stap-probe.h>.
28814 (_dl_close_worker): Added static probes "unmap_start" and
28816 * elf/rtld-debugger-interface.txt: New file documenting the above.
28818 2012-07-26 Roland McGrath <roland@hack.frob.com>
28820 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28821 rather than a string variable.
28822 * sunrpc/rpc_main.c (h_output): Likewise.
28823 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28825 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28827 * inet/check_native.c: New file.
28829 2012-07-26 Joseph Myers <joseph@codesourcery.com>
28832 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28833 if larger part has absolute value 1.0.
28834 * math/s_clog10.c (__clog10): Likewise.
28835 * math/s_clog10f.c (__clog10f): Likewise.
28836 * math/s_clog10l.c (__clog10l): Likewise.
28837 * math/s_clogf.c (__clogf): Likewise.
28838 * math/s_clogl.c (__clogl): Likewise.
28839 * math/libm-test.inc (clog_test): Add more tests.
28840 (clog10_test): Likewise.
28841 * sysdeps/i386/fpu/libm-test-ulps: Update.
28842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28844 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28845 (pltexit): Likewise.
28846 (La_regs): Likewise.
28847 (La_retval): Likewise.
28848 (int_retval): Likewise.
28849 Update #error for removed macros to refer only to definitions in
28851 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28853 (pltexit): Likewise.
28854 (La_regs): Likewise.
28855 (La_retval): Likewise.
28856 (int_retval): Likewise.
28857 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28859 (pltexit): Likewise.
28860 (La_regs): Likewise.
28861 (La_retval): Likewise.
28862 (int_retval): Likewise.
28863 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28865 (pltexit): Likewise.
28866 (La_regs): Likewise.
28867 (La_retval): Likewise.
28868 (int_retval): Likewise.
28869 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28871 (pltexit): Likewise.
28872 (La_regs): Likewise.
28873 (La_retval): Likewise.
28874 (int_retval): Likewise.
28875 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28877 (pltexit): Likewise.
28878 (La_regs): Likewise.
28879 (La_retval): Likewise.
28880 (int_retval): Likewise.
28881 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28883 (pltexit): Likewise.
28884 (La_regs): Likewise.
28885 (La_retval): Likewise.
28886 (int_retval): Likewise.
28887 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28888 macro definitions in tst-audit.h.
28889 * sysdeps/i386/tst-audit.h: New file.
28890 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28891 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28892 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28893 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28894 * sysdeps/sh/tst-audit.h: Likewise.
28895 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28896 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28897 * sysdeps/x86_64/tst-audit.h: Likewise.
28899 2012-07-26 Andreas Jaeger <aj@suse.de>
28901 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28904 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28905 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28906 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28908 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28909 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28910 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28912 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28915 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28917 (si_call_addr, si_syscall, si_arch): Define new macro.
28918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28920 (si_call_addr, si_syscall, si_arch): Define new marcro.
28921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28923 (si_call_addr, si_syscall, si_arch): Define new macro.
28924 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28926 (si_call_addr, si_syscall, si_arch): Define new macro.
28928 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28931 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28932 Change to 2.4.21 where previously 2.4.1.
28933 * sysdeps/unix/sysv/linux/configure: Regenerated.
28934 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28935 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28936 Linux kernel version.
28937 (__ASSUME_STD_AUXV): Remove.
28938 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28940 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28941 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28942 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28943 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28944 (__ASSUME_NETLINK_SUPPORT): Likewise.
28945 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28946 (__no_netlink_support): Remove conditional definition.
28947 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28949 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28950 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28951 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28952 (if_nameindex_ioctl): Remove.
28953 (if_nameindex_netlink): Do not handle __no_netlink_support.
28954 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28956 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28957 Remove conditional code.
28958 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28960 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28962 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28963 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28964 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28966 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28967 [!__ASSUME_STD_AUXV]: Remove conditional code.
28968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28969 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28970 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28972 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28973 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28975 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28977 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28978 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28980 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28982 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28985 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28988 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28989 code unconditional.
28990 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28992 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28994 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28997 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28999 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29002 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29003 code unconditional.
29004 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29006 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29008 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29011 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29012 code unconditional.
29013 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29015 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29017 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29020 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29022 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29023 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29024 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29025 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29026 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29027 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29028 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29029 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29030 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29031 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29032 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29033 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29034 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29035 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29036 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29037 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29038 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29039 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29040 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29042 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29043 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29046 2012-07-25 Florian Weimer <fweimer@redhat.com>
29048 * Versions.def: Add GLIBC_2.17.
29049 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29050 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29051 Introduce __libc_secure_getenv.
29052 * stdlib/Versions (2.17): Add secure_getenv
29053 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29054 * stdlib/secure-getenv.c: Rename __secure_getenv to
29055 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29056 symbol __secure_getenv for GLIBC_2.0.
29057 * stdlib/tst-secure-getenv.c: New.
29058 * stdlib/Makefile (tests): Add testcase.
29059 * manual/startup.texi (Environment Access): Document
29061 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29062 __libc_secure_getenv.
29063 * inet/ruserpass.c (ruserpass): Likewise.
29064 * malloc/mtrace.c (mtrace): Likewise.
29065 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29066 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29067 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29068 * sysdeps/posix/tempname.c: Likewise. Evaluate
29069 HAVE_SECURE_GETENV.
29070 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29071 __secure_getenv to __libc_secure_getenv.
29072 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29079 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29085 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29087 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29088 (struct La_i86_retval): Likewise.
29089 (struct La_x86_64_regs): Likewise.
29090 (struct La_x86_64_retval): Likewise.
29091 (struct La_x32_regs): Likewise.
29092 (struct La_x32_retval): Likewise.
29093 (struct La_ppc32_regs): Likewise.
29094 (struct La_ppc32_retval): Likewise.
29095 (struct La_ppc64_regs): Likewise.
29096 (struct La_ppc64_retval): Likewise.
29097 (struct La_sh_regs): Likewise.
29098 (struct La_sh_retval): Likewise.
29099 (struct La_s390_32_regs): Likewise.
29100 (struct La_s390_32_retval): Likewise.
29101 (struct La_s390_64_regs): Likewise.
29102 (struct La_s390_64_retval): Likewise.
29103 (struct La_sparc32_regs): Likewise.
29104 (struct La_sparc32_retval): Likewise.
29105 (struct La_sparc64_regs): Likewise.
29106 (struct La_sparc64_retval): Likewise.
29107 (struct audit_ifaces): Remove architecture-specific pltenter and
29109 * sysdeps/i386/ldsodefs.h: New file.
29110 * sysdeps/powerpc/ldsodefs.h: Likewise.
29111 * sysdeps/s390/ldsodefs.h: Likewise.
29112 * sysdeps/sh/ldsodefs.h: Likewise.
29113 * sysdeps/sparc/ldsodefs.h: Likewise.
29114 * sysdeps/x86_64/ldsodefs.h: Likewise.
29116 2012-07-25 Marek Polacek <polacek@redhat.com>
29119 * math/libm-test.inc (yn_test): Add another test.
29120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29121 to ERANGE when the result is +-Inf.
29122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29123 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29124 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29125 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29127 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29129 * conform/data/time.h-data (NULL): Use macro-constant. Require
29131 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29133 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29135 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29137 * configure.in <sysdeps resolving>: Correct printing
29139 * configure: Regenerate.
29141 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29143 * math/w_ilogb.c: Include <limits.h>.
29144 * math/w_ilogbl.c: Likewise.
29146 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29148 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29149 va_copy. Document allowing for unavailable va_copy only as
29150 pre-C99 compatibility.
29151 * manual/string.texi (Copying and Concatenation): Use va_copy
29152 instead of __va_copy in concat example.
29154 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29156 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29157 (__sendto): Use create_address_port. Initialize APORT and deallocate
29160 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29161 with O_NOLINK passed to __file_name_lookup.
29163 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29164 with O_NOLINK passed to __file_name_lookup.
29166 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29167 negative N or less than NGIDS.
29169 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29170 type to string_t. Set ERANGE as errno and return it if NAME is not big
29171 enough. Use memcpy instead of strncpy.
29173 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29175 * elf/Makefile (check-data): Remove.
29176 (localplt.data): New vpath directive.
29177 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29178 instead of $(check-data).
29179 * scripts/data/localplt-generic.data: Move to ...
29180 * sysdeps/generic/localplt.data: ... here.
29181 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29182 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29183 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29186 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29189 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29192 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29195 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29198 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29202 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29204 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29205 PPC32 and PPC64 files.
29206 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29207 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29209 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29211 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29212 __makecontext_ret to ...
29213 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29214 ... here and call exit if uc_link is NULL. New file.
29215 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29216 __makecontext_ret.S.
29217 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29218 __makecontext_ret to ...
29219 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29220 ... here and call exit if uc_link is NULL. New file.
29221 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29222 __makecontext_ret.S.
29224 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29226 * elf/elf.h (R_390_IRELATIVE): New definition.
29227 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29228 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29229 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29231 (elf_machine_lazy_rel): Likewise.
29232 * sysdeps/s390/dl-irel.h: New file.
29233 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29234 * sysdeps/s390/s390-64/memset.S: New asm code.
29235 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29236 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29237 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29238 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29239 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29240 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29241 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29242 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29243 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29244 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29245 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29246 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29247 * sysdeps/s390/s390-32/memset.S: New asm code.
29248 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29250 2012-07-17 Marek Polacek <polacek@redhat.com>
29253 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29254 * sysdeps/s390/s390-64/configure.in: Likewise.
29255 * sysdeps/sparc/configure.in: Likewise.
29256 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29257 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29258 * sysdeps/i386/configure.in: Likewise.
29259 * sysdeps/x86_64/configure.in: Likewise.
29260 * sysdeps/sh/configure.in: Likewise.
29261 * sysdeps/s390/s390-32/configure: Regenerated.
29262 * sysdeps/s390/s390-64/configure: Likewise.
29263 * sysdeps/x86_64/configure: Likewise.
29264 * sysdeps/sh/configure: Likewise.
29265 * sysdeps/powerpc/powerpc64/configure: Likewise.
29266 * sysdeps/powerpc/powerpc32/configure: Likewise.
29267 * sysdeps/sparc/configure: Likwise.
29268 * sysdeps/i386/configure: Likewise.
29270 * elf/dl-open.c: Comment fixes.
29272 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29274 * Makefile [CXX] (check-data): Remove.
29275 [CXX] (c++-types.data): New vpath directive.
29276 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29277 vpath. Do not allow for C++ type data being missing.
29278 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29279 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29280 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29281 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29282 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29283 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29284 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29287 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29290 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29293 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29296 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29299 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29302 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29305 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29308 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29309 definitions to architecture-specific files.
29310 (TLS_IE): Likewise.
29311 (TLS_LD): Likewise.
29312 (TLS_GD): Likewise.
29313 * sysdeps/i386/tls-macros.h: New file.
29314 * sysdeps/powerpc/tls-macros.h: Likewise.
29315 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29316 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29317 * sysdeps/sh/tls-macros.h: Likewise.
29318 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29319 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29320 * sysdeps/x86_64/tls-macros.h: Likewise.
29322 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29324 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29325 zero value for regular exit case.
29327 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29328 (__start_context): Preserve zero value for regular exit case.
29330 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29331 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29333 * manual/setjmp.texi (setcontext): Clarify normal process
29334 termination when uc_link is the null pointer.
29335 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29338 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29340 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29341 preprocessor. Test for each exception mask separately.
29343 2012-07-16 Andreas Jaeger <aj@suse.de>
29345 * po/ru.po: Update from translation team.
29347 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29349 * conform/data/string.h-data (NULL): Use macro-constant. Require
29351 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29352 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29353 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29354 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29357 2012-07-13 Andreas Jaeger <aj@suse.de>
29359 * po/fr.po: Update from translation team.
29361 2012-07-12 Marek Polacek <polacek@redhat.com>
29364 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29365 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29368 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29372 Change to 2.4.1 where previously 2.4.0.
29373 * sysdeps/unix/sysv/linux/configure: Regenerated.
29374 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29375 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29377 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29378 (__ASSUME_AT_CLKTCK): Remove.
29379 (__ASSUME_AT_PAGESIZE): Likewise.
29380 (__ASSUME_AT_XID): Likewise.
29381 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29382 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29383 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29385 (HAVE_AUX_PAGESIZE): Likewise.
29386 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29387 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29388 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29390 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29394 the temporary buffer used to invoke __gethostbyname2_r,
29395 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29396 host_data / struct gaih_addrtuple.
29397 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29398 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29399 header file nss/nsswitch.h.
29400 * nss/nsswitch.h (global scope): Add definition of implementation
29401 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29402 resolv/nss_dns/dns-host.c).
29404 2012-07-11 Andreas Jaeger <aj@suse.de>
29406 * po/fr.po: Update from translation team.
29408 * po/sv.po: Update from translation team
29409 * po/fr.po: Another update from translation team.
29411 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29413 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29414 for subnormals or multiply small sinh result by itself.
29415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29418 2012-07-11 David S. Miller <davem@davemloft.net>
29420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29422 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29425 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29426 (INTERNAL_MARK): Shift it here.
29428 2012-07-10 Marek Polacek <polacek@redhat.com>
29431 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29432 libc_cv_asm_global_directive with .globl.
29433 * configure: Regenerated.
29434 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29436 * sysdeps/i386/configure: Regenerated.
29437 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29439 * sysdeps/x86_64/configure: Regenerated.
29440 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29441 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29442 * elf/tst-unique2mod2.c: Likewise.
29443 * elf/tst-unique2mod1.c: Likewise.
29444 * elf/tst-unique1mod2.c: Likewise.
29445 * elf/tst-unique1mod1.c: Likewise.
29446 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29447 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29449 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29450 * sysdeps/mach/sysdep.h: Likewise.
29451 * sysdeps/i386/sysdep.h: Likewise.
29452 * sysdeps/i386/i386-mcount.S: Likewise.
29453 * sysdeps/x86_64/_mcount.S: Likewise.
29454 * sysdeps/x86_64/sysdep.h: Likewise.
29455 * sysdeps/sh/_mcount.S: Likewise.
29456 * sysdeps/sh/sysdep.h: Likewise.
29457 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29458 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29459 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29461 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29462 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29463 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29464 * locale/localeinfo.h: Likewise.
29465 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29466 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29468 2012-07-09 Roland McGrath <roland@hack.frob.com>
29471 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29473 * manual/message.texi (The Uniforum approach): Likewise.
29474 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29475 (glibc iconv Implementation): Likewise.
29477 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29480 * math/s_clog.c (__clog): Avoid scaling a value down where that
29481 could result in underflow.
29482 * math/s_clog10.c (__clog10): Likewise.
29483 * math/s_clog10f.c (__clog10f): Likewise.
29484 * math/s_clog10l.c (__clog10l): Likewise.
29485 * math/s_clogf.c (__clogf): Likewise.
29486 * math/s_clogl.c (__clogl): Likewise.
29487 * math/libm-test.inc (clog_test): Add more tests.
29488 (clog10_test): Likewise.
29489 * sysdeps/i386/fpu/libm-test-ulps: Update.
29490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29492 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29495 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29496 by 7 not 8 to examine high bit of fractional part.
29499 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29500 for call to __mcount_internal.
29501 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29502 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29503 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29505 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29508 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29509 approximation for values within 0x1p-13f of an odd multiple of
29511 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29512 exception. Add more tests.
29513 * sysdeps/i386/fpu/libm-test-ulps: Update.
29516 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29517 inputs and return -1 for them. Do not check for +Inf in case not
29518 reachable for +Inf.
29519 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29520 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29521 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29522 and return -1 for them. Do not check for +Inf in case not
29523 reachable for +Inf.
29524 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29527 and return -1 for them. Do not check for +Inf in case not
29528 reachable for +Inf.
29529 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29530 spurious underflow.
29531 * sysdeps/i386/fpu/libm-test-ulps: Update.
29532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29534 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29536 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29538 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29542 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29543 could result in spurious underflow. Scale down values above
29544 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29545 * math/s_csqrtf.c (__csqrtf): Likewise.
29546 * math/s_csqrtl.c (__csqrtl): Likewise.
29547 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29548 spurious underflow.
29549 * sysdeps/i386/fpu/libm-test-ulps: Update.
29550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29552 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29554 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29556 * catgets/xopen-msg.awk: New file.
29557 * catgets/xopen-msg.sed: Removed.
29559 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29561 * intl/po2test.awk: New file.
29562 * intl/po2test.sed: Removed.
29564 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29567 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29568 or multiply small sinh result by itself.
29569 * math/s_ctanf.c (__ctanf): Likewise.
29570 * math/s_ctanh.c (__ctanh): Likewise.
29571 * math/s_ctanhf.c (__ctanhf): Likewise.
29572 * math/s_ctanhl.c (__ctanhl): Likewise.
29573 * math/s_ctanl.c (__ctanl): Likewise.
29574 * math/libm-test.inc (ctan_test_tonearest): New function.
29575 (ctan_test_towardzero): Likewise.
29576 (ctan_test_downward): Likewise.
29577 (ctan_test_upward): Likewise.
29578 (ctanh_test_tonearest): Likewise.
29579 (ctanh_test_towardzero): Likewise.
29580 (ctanh_test_downward): Likewise.
29581 (ctanh_test_upward): Likewise.
29582 (main): Call these new functions.
29583 * sysdeps/i386/fpu/libm-test-ulps: Update.
29584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29586 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29588 * .gitignore: Delete /ports entry.
29590 2012-07-03 Andreas Jaeger <aj@suse.de>
29592 * po/bg.po: Update from translation team.
29593 * po/cs.po: Likewise.
29594 * po/de.po: Likewise.
29595 * po/hr.po: Likewise.
29596 * po/nl.pl: Likewise.
29597 * po/pl.po: Likewise.
29598 * po/vi.po: Likewise.
29600 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29602 * Makeconfig [!+link] (+link-before-libc): New variable.
29603 [!+link] (+link-after-libc): Likewise.
29604 [!+link] (+link-tests): Likewise.
29605 [!+link] (+link): Define in terms of $(+link-before-libc) and
29606 $(+link-after-libc).
29607 [!+link-static] (+link-static-before-libc): New variable.
29608 [!+link-static] (+link-static-after-libc): Likewise.
29609 [!+link-static] (+link-static-tests): Likewise.
29610 [!+link-static] (+link-static): Define in terms of
29611 $(+link-static-before-libc) and $(+link-static-after-libc).
29612 [build-shared] (link-libc-before-gnulib): New variable.
29613 [build-shared] (link-libc-tests): Likewise.
29614 [build-shared] (link-libc): Define in terms of
29615 $(link-libc-before-gnulib).
29616 [!build-shared] (link-libc-tests): New variable.
29617 (link-libc-static-tests): New variable.
29618 [!gnulib] (gnulib-arch): New variable.
29619 [!gnulib] (gnulib-tests): Likewise.
29620 [!gnulib] (static-gnulib-arch): Likewise.
29621 [!gnulib] (static-gnulib-tests): Likewise.
29622 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29623 Define with "=" instead of ":=".
29624 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29625 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29626 * Rules (binaries-all-notests): New variable.
29627 (binaries-all-tests): Likewise.
29628 (binaries-static-notests): Likewise.
29629 (binaries-static-tests): Likewise.
29630 (binaries-all): Define using $(binaries-all-notests) and
29631 $(binaries-all-tests).
29632 (binaries-static): Define using $(binaries-static-notests) and
29633 $(binaries-static-tests).
29634 (binaries-shared-tests): New variable.
29635 (binaries-shared-notests): Likewise.
29636 (binaries-shared): Remove variable.
29637 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29638 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29639 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29640 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29641 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29642 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29643 * elf/Makefile (sln-modules): New variable.
29644 (extra-objs): Add $(sln-modules:=.o).
29645 (ldconfig-modules): Add static-stubs.
29646 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29647 * elf/static-stubs.c: New file.
29650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29651 by 7 not 8 to examine high bit of fractional part. Use volatile
29652 variables when splitting into final array of floats if
29653 __FLT_EVAL_METHOD__ != 0.
29654 * math/libm-test.inc (cos_test): Add another test.
29655 (sin_test): Likewise.
29656 * sysdeps/i386/fpu/libm-test-ulps: Update.
29659 * math/libm-test.inc (cosh_test): Add more tests.
29661 * version.h (RELEASE): Set to "development".
29662 (VERSION): Set to "2.16.90".
29664 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29666 * NEWS: Update copyright. Remove last-updated date.
29667 Mention math library bug fixes and timezone data changes.
29668 * README: Mention GNU/Hurd, x32, and HPPA support status.
29670 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29672 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29674 2012-06-27 Andreas Jaeger <aj@suse.de>
29676 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29678 2012-06-25 Andreas Jaeger <aj@suse.de>
29680 * sysdeps/s390/fpu/libm-test-ulps: Update.
29682 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29683 Thomas Schwinge <thomas@codesourcery.com>
29685 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29686 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29687 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29690 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29692 * sysdeps/mach/start.c: Remove file.
29693 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29694 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29695 * sysdeps/sh/init-first.c: Likewise.
29697 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29698 registers for frame unwinding purposes, add CFI directives.
29699 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29701 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29704 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29705 __fortify_fail returning.
29706 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29708 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29709 sysdeps/sh/____longjmp_chk.S.
29710 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29711 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29712 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29713 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29715 * sysdeps/sh/abort-instr.h: New file.
29716 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29717 process in case exit returns.
29719 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29720 initialize the GOT register before use.
29722 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29723 calculation of ARGC > 4.
29725 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29726 meaningful names to some local labels.
29728 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29729 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29731 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29732 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29733 (__arch_compare_and_exchange_val_16_acq): Likewise.
29734 (__arch_compare_and_exchange_val_32_acq): Likewise.
29735 (atomic_exchange_and_add): Fix gUSA sequence.
29736 (atomic_add): Likewise.
29737 (atomic_add_negative): Likewise.
29738 (atomic_add_zero): Likewise.
29739 (atomic_bit_test_set): Likewise.
29741 2012-06-22 Andreas Schwab <schwab@redhat.com>
29744 * include/link.h (struct link_map): Add l_free_initfini.
29745 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29747 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29748 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29749 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29752 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29754 * configure.in: Use AC_LANG_SOURCE.
29755 * configure: Regenerate.
29757 2012-06-22 Roland McGrath <roland@hack.frob.com>
29759 * configure.in (libc_cv_localstatedir): New substituted variable.
29760 * configure: Regenerated.
29761 * config.make.in (localstatedir): New variable, substituted from
29762 libc_cv_localstatedir.
29763 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29764 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29765 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29766 * sysdeps/gnu/configure: Regenerated.
29768 2012-06-21 Jeff Law <law@redhat.com>
29771 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29772 free. Simplify list management for _LIBC case.
29774 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29777 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29778 Clear sign bit of 64-bit integer value before comparing against
29781 * sysdeps/mach/configure: Regenerated.
29783 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29786 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29788 2012-06-21 Jeff Law <law@redhat.com>
29791 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29792 uint16_t for elements in the "seen" array to avoid char overflows.
29793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29794 * elf/dl-open.c (dl_open_worker): Likewise.
29796 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29798 * scripts/list-sources.sh: Scan PORTS for translations.
29799 * po/libc.pot: Regenerated.
29801 2012-06-21 Andreas Jaeger <aj@suse.de>
29804 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29806 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29807 * bits/byteswap-16.h (__bswap_16): Likewise.
29808 * bits/byteswap.h (__bswap_constant_16): Likewise.
29810 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29813 * sysdeps/i386/fpu_control.h: Removed.
29814 * sysdeps/x86_64/fpu_control.h: Moved to ...
29815 * sysdeps/x86/fpu_control.h: Here.
29817 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29818 (_FPU_SETCW): Likewise.
29820 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29823 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29824 * sysdeps/x86/fpu/bits/mathinline.h: This.
29825 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29829 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29830 functions if __x86_64__ is defined.
29832 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29834 * string/endian.h: Add !__ASSEMBLER__ condition for including
29835 conversion interfaces.
29837 2012-06-15 Joseph Myers <joseph@codesourcery.com>
29840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29841 of ABS(x) in calculating zero to negative powers other than odd
29843 * math/libm-test.inc (pow_test): Add more tests.
29845 2012-06-15 Andreas Jaeger <aj@suse.de>
29847 * manual/contrib.texi (Contributors): Update entry of Liubov
29848 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29851 2012-06-15 Cyril Hrubis <metan@ucw.cz>
29853 * string/string.h: Add __wur to GNU version of strerror_r.
29855 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29858 * string/Makefile (tests): Add tst-strtok_r.
29859 * string/tst-strtok_r.c: New file.
29860 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29861 RAX_LP/RDX_LP on SAVE_PTR.
29863 2012-06-14 Roland McGrath <roland@hack.frob.com>
29865 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29867 2012-06-14 Joseph Myers <joseph@codesourcery.com>
29869 * libm_test.inc (csqrt_test): Allow more spurious underflow
29871 (j0_test): Likewise.
29872 (j1_test): Likewise.
29873 (y0_test): Likewise.
29874 (y1_test): Likewise.
29876 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29878 * po/Makefile (libc.pot): Use UTF-8 charset.
29880 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29883 Suppress sign-conversion warning from FD_SET.
29884 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29885 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29886 not unsigned long int.
29887 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29889 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29893 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29894 __extern_always_inline instead of __extern_inline.
29895 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29896 (__signbit): Likewise.
29897 (__signbitl): Support C++ namespace.
29898 (lrintf): New inline function.
29900 (llrintf): Likewise.
29901 (llrint): Likewise.
29911 (floorf): Likewise.
29912 (nearbyint): Likewise.
29913 (nearbyintf): Likewise.
29915 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29917 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29918 non-default versions.
29920 2012-06-11 Roland McGrath <roland@hack.frob.com>
29923 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29925 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29927 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29928 (FE_UPWARD, FE_DOWNWARD): Don't define.
29929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29934 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29935 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29937 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29939 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29941 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29942 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29944 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29947 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29948 * sysdeps/i386/fpu/Implies: New file.
29949 * sysdeps/x86_64/fpu/Implies: Likewise.
29950 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29951 * sysdeps/x86/fpu/bits/fenv.h: This.
29953 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29956 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29959 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29960 character 0xffff that matches the last element of the
29963 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29965 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29968 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29971 values higher than 25.6283.
29973 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29976 subnormal exponent extraction and add some __builtin_expect.
29977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29978 Fix for subnormal mantissa calculation.
29980 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29982 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29983 cpu2 is -1 and errno is not ENOSYS.
29985 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29988 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29989 * sysdeps/x86/bits/string.h: This.
29990 * sysdeps/x86_64/bits/string.h: Removed.
29992 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29993 if not compiling for x86-64, but compiling for >= i486.
29995 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29996 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29998 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29999 New macro from Linux kernel 3.4.0.
30000 (FP_XSTATE_MAGIC2): Likewise.
30001 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30002 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30003 (struct _fpx_sw_bytes): New struct.
30004 (struct _xsave_hdr): Likewise.
30005 (struct _ymmh_state): Likewise.
30006 (struct _xstate): Likewise.
30008 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30009 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30011 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30012 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30013 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30015 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30017 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30018 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30019 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30020 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30022 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30025 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30026 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30027 (sysdep_headers): Include sys/platform/ppc.h.
30028 * sysdeps/powerpc/test-gettimebase.c: Test for
30029 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30030 * manual/Makefile (appendices): Include platform.texi.
30031 * manual/contrib.texi (Contributors): Update @node pointers.
30032 * manual/maint.texi (Maintenance): Likewise.
30033 (Platform): New node.
30034 * manual/platform.texi: New file. Document the new features.
30036 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30037 Jakub Jelinek <jakub@redhat.com>
30040 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30041 where __builtin_expect is unavailable.
30043 2012-06-03 David S. Miller <davem@davemloft.net>
30045 * stdlib/longlong.h: Updated from GCC.
30047 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30050 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30051 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30054 (GLIBC_2.16): Likewise.
30056 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30060 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30063 (default-abi): New variable.
30064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30065 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30067 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30069 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30071 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30074 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30075 definition. Document in comment.
30077 2012-06-01 David S. Miller <davem@davemloft.net>
30079 * stdlib/longlong.h: Updated from GCC.
30081 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30084 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30085 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30086 sys/debugreg.h sys/io.h here.
30087 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30088 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30090 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30091 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30092 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30093 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30094 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30095 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30098 Define only if __x86_64__ is defined.
30100 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30103 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30104 Use int64_t for variable i.
30105 * math/libm-test.inc (fmod_test): Add more tests.
30107 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30108 z computation is not scheduled after fetestexcept.
30109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30110 Use math_force_eval instead of asm to ensure calculation scheduled
30111 before exception test.
30112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30113 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30115 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30118 computation is not scheduled after fetestexcept.
30120 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30123 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30124 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30126 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30128 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30129 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30131 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30134 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30136 (__WCHAR_MIN): Support __WORDSIZE == 64.
30137 (__WCHAR_MAX): Likewise.
30139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30143 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30144 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30147 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30148 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30150 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30151 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30153 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30154 Defined to 1 if __x86_64__ isn't defined.
30155 (_STAT_VER_LINUX_OLD): New.
30156 (st_atime): Remove duplicate.
30157 (st_mtime): Likewise.
30158 (st_ctime): Likewise.
30160 2012-05-31 David S. Miller <davem@davemloft.net>
30162 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30165 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30167 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30171 * elf/dl-reloc.c: Include <_itoa.h>.
30172 (_dl_reloc_bad_type): Remove use of INTUSE.
30173 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30174 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30175 * stdio-common/psiginfo.c (psiginfo): Likewise.
30176 * stdio-common/psignal.c (psignal): Likewise.
30177 * string/strsignal.c (strsignal): Likewise.
30178 * include/signal.h (_sys_siglist): Declare hidden proto.
30179 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30180 INTVARDEF with libc_hidden_data_def.
30181 * stdio-common/itoa-udigits.c: Likewise.
30182 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30183 (_itoa_lower_digits_internal): Remove declaration.
30184 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30185 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30186 (_sys_sigabbrev_internal): Remove aliases.
30187 (_sys_siglist): Define hidden alias.
30189 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30194 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30197 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30198 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30200 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30201 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30202 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30203 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30205 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30207 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30209 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30219 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30220 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30221 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30223 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30224 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30226 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30228 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30230 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30231 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30233 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30234 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30238 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30240 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30241 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30243 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30245 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30246 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30247 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30249 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30251 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30253 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30255 * math/math.h (M_El): Use two more decimal places.
30256 (M_LOG2El): Likewise.
30257 (M_LOG10El): Likewise.
30258 (M_LN2l): Likewise.
30259 (M_LN10l): Likewise.
30261 (M_PI_2l): Likewise.
30262 (M_PI_4l): Likewise.
30263 (M_1_PIl): Likewise.
30264 (M_2_PIl): Likewise.
30265 (M_2_SQRTPIl): Likewise.
30266 (M_SQRT2l): Likewise.
30267 (M_SQRT1_2l): Likewise.
30269 2012-05-31 David S. Miller <davem@davemloft.net>
30271 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30272 values between float registers.
30273 * sysdeps/sparc/sparc64/memset.S: Likewise.
30274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30276 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30278 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30279 -D_FORTIFY_SOURCE=1.
30280 (CPPFLAGS-tst-longjmp_chk.c): Define.
30281 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30282 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30283 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30284 CFLAGS-tst-wchar-h.c.
30286 2012-05-31 Marek Polacek <polacek@redhat.com>
30289 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30290 __endmntent_internal): Remove declaration.
30291 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30292 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30293 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30295 2012-05-30 David S. Miller <davem@davemloft.net>
30297 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30298 (___Q_simulate_exceptions): Use real FP ops rather than writing
30300 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30303 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30306 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30307 * sysdeps/x86/bits/xtitypes.h: This.
30309 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30310 * sysdeps/x86/bits/wordsize.h: This.
30312 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30313 * sysdeps/x86/bits/huge_vall.h: This.
30315 * sysdeps/i386/bits/select.h: Removed.
30316 * sysdeps/x86_64/bits/select.h: Renamed to ...
30317 * sysdeps/x86/bits/select.h: This.
30319 * sysdeps/i386/bits/setjmp.h: Removed.
30320 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30321 * sysdeps/x86/bits/setjmp.h: This.
30323 * sysdeps/i386/bits/mathdef.h: Removed.
30324 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30325 * sysdeps/x86/bits/mathdef.h: This.
30327 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30330 * include/sys/socket.h (__connect_internal)
30331 (__libc_sa_len_internal): Remove declaration.
30332 (__connect, __libc_sa_len): Declare hidden_proto.
30333 (SA_LEN): Remove use of INTUSE.
30334 * socket/connect.c: Add libc_hidden_def.
30335 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30336 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30337 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30339 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30340 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30341 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30342 of adding _internal alias.
30344 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30347 * sysdeps/i386/bits/link.h: Removed.
30348 * sysdeps/i386/bits/linkmap.h: Likewise.
30349 * sysdeps/x86_64/bits/link.h: Renamed to ...
30350 * sysdeps/x86/bits/link.h: This.
30351 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30352 * sysdeps/x86/bits/linkmap.h: This.
30354 * sysdeps/i386/bits/endian.h: Removed.
30355 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30356 * sysdeps/x86/bits/endian.h: This.
30358 * sysdeps/i386/bits/byteswap.h: Removed.
30359 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30360 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30361 * sysdeps/x86/bits/byteswap.h: This.
30362 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30363 * sysdeps/x86/bits/byteswap-16.h: This.
30364 * sysdeps/i386/Implies: Add x86.
30365 * sysdeps/x86_64/Implies: Likewise.
30367 2012-05-30 David S. Miller <davem@davemloft.net>
30369 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30370 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30372 (FP_TRAPPING_EXCEPTIONS): Define.
30373 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30374 (FP_TRAPPING_EXCEPTIONS): Define.
30375 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30376 subnormals only when inexact has been signalled or underflow
30377 exceptions are enabled.
30378 (_FP_PACK_CANONICAL): Likewise.
30380 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30384 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30386 2012-05-30 Richard Henderson <rth@twiddle.net>
30388 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30389 with #ifndef NOT_IN_libc.
30391 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30392 marked to avoid plt entry.
30394 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30397 * Makeconfig (default-abi): New macro.
30398 (abi-includes): Likewise.
30399 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30400 $(abi-$(default-abi)-lib-soname) for soname if defined.
30401 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30403 * Makefile (installed-stubs): Likewise.
30404 * include/stubs-biarch.h: Removed.
30405 * scripts/lib-names.awk: Only handle one library at a time.
30406 * scripts/soversions.awk: Remove WORDSIZE support.
30407 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30409 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30411 (syscall-list-default-condition): Likewise.
30412 (syscall-list-default-condition): Likewise.
30413 (syscall-list-includes): Likewise.
30414 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30415 syscall-list-* with abi-*. Handle undefined abi-variants.
30416 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30417 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30418 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30419 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30420 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30421 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30423 (syscall-list-32-options): Likewise.
30424 (syscall-list-32-condition): Likewise.
30425 (syscall-list-64-options): Likewise.
30426 (syscall-list-64-condition): Likewise.
30427 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30429 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30432 (abi-64-ld-soname): New macro.
30433 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30434 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30437 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30438 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30440 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30442 * sysdeps/unix/sysv/linux/kernel-features.h
30443 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30444 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30445 include <kernel-features.h>.
30446 [!__NR_ftruncate64]: Remove conditional code.
30447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30448 [__NR_ftruncate64]: Make code unconditional.
30449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30450 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30451 include <kernel-features.h>.
30452 [!__NR_ftruncate64]: Remove conditional code.
30453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30454 [__NR_ftruncate64]: Make code unconditional.
30455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30457 include <kernel-features.h>.
30458 [!__NR_ftruncate64]: Remove conditional code.
30459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30460 [__NR_ftruncate64]: Make code unconditional.
30461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30463 include <kernel-features.h>.
30464 [!__NR_ftruncate64]: Remove conditional code.
30465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30466 [__NR_ftruncate64]: Make code unconditional.
30467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30469 * configure.in (libc_cv_fpie): Weaken to a compile test using
30470 LIBC_TRY_CC_OPTION.
30471 * configure: Regenerated.
30473 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30488 2012-05-27 David S. Miller <davem@davemloft.net>
30490 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30492 (__Q_simulate_exceptions): Return void. Change to simulate
30493 exceptions by writing into the %fsr.
30494 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30495 (__Qp_handle_exceptions): Likewise.
30497 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30498 __Qp_handle_exceptions.
30499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30500 __Qp_handle_exceptions.
30501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30502 as unused and give dummy FP_RND_NEAREST initializer.
30503 (FP_INHIBIT_RESULTS): Define.
30504 (___Q_simulate_exceptions): Update declaration.
30505 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30508 as unused and give dummy FP_RND_NEAREST initializer.
30509 (__Qp_handle_exceptions): Update declaration.
30510 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30513 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30515 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30516 the temporary FPU control word.
30517 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30518 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30519 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30520 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30521 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30522 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30523 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30524 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30525 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30526 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30529 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30534 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30536 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30537 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30538 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30539 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30541 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30542 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30545 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30547 * po/h.po: Update from translation team.
30549 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30551 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30553 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30554 handling of denormals.
30555 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30556 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30558 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30564 2012-05-26 Marek Polacek <polacek@redhat.com>
30567 * math/libm-test.inc (fma_test): Don't always expect underflow
30570 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30573 * elf/tst-execstack.c: Include stackinfo.h.
30574 (do_test): Adjust test case to ensure that pthread_getattr_np
30575 behaviour remains the same after marking stack executable.
30577 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30579 * sysdeps/unix/sysv/linux/kernel-features.h
30580 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30581 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30583 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30584 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30585 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30587 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30588 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30590 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30592 * configure.in: Define the default includes to being none.
30593 * configure: Regenerated.
30595 2012-05-25 Roland McGrath <roland@hack.frob.com>
30597 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30598 * sysdeps/x86_64/setjmp.S: Likewise.
30599 * sysdeps/i386/bsd-setjmp.S: Likewise.
30600 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30601 * sysdeps/i386/setjmp.S: Likewise.
30602 * sysdeps/i386/__longjmp.S: Likewise.
30603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30604 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30606 * include/stap-probe.h: New file.
30607 * configure.in: Handle --enable-systemtap.
30608 * configure: Regenerated.
30609 * config.h.in (USE_STAP_PROBE): New #undef.
30610 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30611 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30612 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30614 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30618 to 2.4.0 where earlier.
30619 * sysdeps/unix/sysv/linux/configure: Regenerated.
30620 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30621 <kernel-features.h>.
30622 [__ASSUME_32BITUIDS]: Make code unconditional.
30623 [!__ASSUME_32BITUIDS]: Remove conditional code.
30624 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30625 <kernel-features.h>.
30626 [__ASSUME_32BITUIDS]: Make code unconditional.
30627 [!__ASSUME_32BITUIDS]: Remove conditional code.
30628 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30629 [__ASSUME_32BITUIDS]: Make code unconditional.
30630 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30631 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30632 <kernel-features.h>.
30633 [__ASSUME_32BITUIDS]: Make code unconditional.
30634 [!__ASSUME_32BITUIDS]: Remove conditional code.
30635 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30636 <kernel-features.h>.
30637 [__ASSUME_32BITUIDS]: Make code unconditional.
30638 [!__ASSUME_32BITUIDS]: Remove conditional code.
30639 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30640 <kernel-features.h>.
30641 [__ASSUME_32BITUIDS]: Make code unconditional.
30642 [!__ASSUME_32BITUIDS]: Remove conditional code.
30643 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30644 <kernel-features.h>.
30645 [__ASSUME_32BITUIDS]: Make code unconditional.
30646 [!__ASSUME_32BITUIDS]: Remove conditional code.
30647 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30648 <kernel-features.h>.
30649 [__ASSUME_32BITUIDS]: Make code unconditional.
30650 [!__ASSUME_32BITUIDS]: Remove conditional code.
30651 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30652 <kernel-features.h>.
30653 [__ASSUME_32BITUIDS]: Make code unconditional.
30654 [!__ASSUME_32BITUIDS]: Remove conditional code.
30655 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30656 <kernel-features.h>.
30657 [__ASSUME_32BITUIDS]: Make code unconditional.
30658 [!__ASSUME_32BITUIDS]: Remove conditional code.
30659 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30660 <kernel-features.h>.
30661 [__ASSUME_32BITUIDS]: Make code unconditional.
30662 [!__ASSUME_32BITUIDS]: Remove conditional code.
30663 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30664 <kernel-features.h>.
30665 [__ASSUME_32BITUIDS]: Make code unconditional.
30666 [!__ASSUME_32BITUIDS]: Remove conditional code.
30667 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30668 <kernel-features.h>.
30669 [__ASSUME_32BITUIDS]: Make code unconditional.
30670 [!__ASSUME_32BITUIDS]: Remove conditional code.
30671 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30672 <kernel-features.h>.
30673 [__NR_setresgid] (__setresgid): Do not declare.
30674 [__ASSUME_32BITUIDS]: Make code unconditional.
30675 [!__ASSUME_32BITUIDS]: Remove conditional code.
30676 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30677 <kernel-features.h>.
30678 [__NR_setresuid] (__setresuid): Do not declare.
30679 [__ASSUME_32BITUIDS]: Make code unconditional.
30680 [!__ASSUME_32BITUIDS]: Remove conditional code.
30681 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30682 <kernel-features.h>.
30683 [__ASSUME_32BITUIDS]: Make code unconditional.
30684 [!__ASSUME_32BITUIDS]: Remove conditional code.
30685 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30686 <kernel-features.h>.
30687 [__ASSUME_32BITUIDS]: Make code unconditional.
30688 [!__ASSUME_32BITUIDS]: Remove conditional code.
30689 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30690 <kernel-features.h>.
30691 [__ASSUME_32BITUIDS]: Make code unconditional.
30692 [!__ASSUME_32BITUIDS]: Remove conditional code.
30693 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30694 <kernel-features.h>.
30695 [__ASSUME_32BITUIDS]: Make code unconditional.
30696 [!__ASSUME_32BITUIDS]: Remove conditional code.
30697 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30698 <kernel-features.h>.
30699 [__ASSUME_32BITUIDS]: Make code unconditional.
30700 [!__ASSUME_32BITUIDS]: Remove conditional code.
30701 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30702 <kernel-features.h>.
30703 [__ASSUME_32BITUIDS]: Make code unconditional.
30704 [!__ASSUME_32BITUIDS]: Remove conditional code.
30705 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30706 <kernel-features.h>.
30707 [__ASSUME_32BITUIDS]: Make code unconditional.
30708 [!__ASSUME_32BITUIDS]: Remove conditional code.
30709 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30710 <kernel-features.h>.
30711 [__ASSUME_32BITUIDS]: Make code unconditional.
30712 [!__ASSUME_32BITUIDS]: Remove conditional code.
30713 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30714 <kernel-features.h>.
30715 [__ASSUME_32BITUIDS]: Make code unconditional.
30716 [!__ASSUME_32BITUIDS]: Remove conditional code.
30717 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30718 <kernel-features.h>.
30719 [__ASSUME_32BITUIDS]: Make code unconditional.
30720 [!__ASSUME_32BITUIDS]: Remove conditional code.
30721 * sysdeps/unix/sysv/linux/kernel-features.h
30722 (__ASSUME_SETRESUID_SYSCALL): Remove.
30723 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30724 (__ASSUME_32BITUIDS): Likewise.
30725 (__ASSUME_LDT_WORKS): Likewise.
30726 (__ASSUME_O_DIRECTORY): Likewise.
30727 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30728 architecture but not kernel version.
30729 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30730 (__ASSUME_MMAP2_SYSCALL): Likewise.
30731 (__ASSUME_STAT64_SYSCALL): Likewise.
30732 (__ASSUME_IPC64): Likewise.
30733 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30734 <kernel-features.h>.
30735 [__ASSUME_32BITUIDS]: Make code unconditional.
30736 [!__ASSUME_32BITUIDS]: Remove conditional code.
30737 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30738 <kernel-features.h>.
30739 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30740 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30741 132096]: Remove conditional code.
30742 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30744 <kernel-features.h>.
30745 [__ASSUME_32BITUIDS]: Make code unconditional.
30746 [!__ASSUME_32BITUIDS]: Remove conditional code.
30747 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30748 <kernel-features.h>.
30749 [__ASSUME_32BITUIDS]: Make code unconditional.
30750 [!__ASSUME_32BITUIDS]: Remove conditional code.
30751 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30752 <kernel-features.h>.
30753 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30755 (__setresgid): Do not declare.
30756 [__ASSUME_32BITUIDS]: Make code unconditional.
30757 [!__ASSUME_32BITUIDS]: Remove conditional code.
30758 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30759 <kernel-features.h>.
30760 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30762 (__setresuid): Do not declare.
30763 [__ASSUME_32BITUIDS]: Make code unconditional.
30764 [!__ASSUME_32BITUIDS]: Remove conditional code.
30765 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30766 <kernel-features.h>.
30767 [__ASSUME_32BITUIDS]: Make code unconditional.
30768 [!__ASSUME_32BITUIDS]: Remove conditional code.
30769 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30770 <kernel-features.h>.
30771 [__ASSUME_32BITUIDS]: Make code unconditional.
30772 [!__ASSUME_32BITUIDS]: Remove conditional code.
30774 2012-05-25 Richard Henderson <rth@twiddle.net>
30776 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30777 dl_hwcap to ifunc resolver.
30778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30780 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30781 dl_hwcap to ifunc resolver.
30782 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30784 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30787 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30788 for |x| <= 2**-26, not 2**-57.
30789 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30792 2012-05-24 Jeff Law <law@redhat.com>
30794 * stdio-common/Makefile (tests): Add bug25.
30795 * stdio-common/bug25.c: New test.
30797 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30800 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30801 multiple of MALLOC_ALIGNMENT in size.
30802 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30804 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30806 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30808 (FILENAME_MAX): Use macro-int-constant.
30809 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30810 (_IOFBF): Use macro-int-constant.
30811 (_IOLBF): Likewise.
30812 (_IONBF): Likewise.
30813 (SEEK_CUR): Likewise.
30814 (SEEK_END): Likewise.
30815 (SEEK_SET): Likewise.
30816 (TMP_MAX): Likewise.
30817 (EOF): Use macro-int-constant. Require < 0.
30818 (NULL): Use macro-constant. Require == 0.
30819 (stdin): Require type to be FILE *.
30820 (stdout): Likewise.
30821 (stderr): Likewise.
30822 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30823 macro-int-constant.
30824 (EXIT_SUCCESS): Likewise.
30825 (NULL): Use macro-constant. Require == 0.
30826 (RAND_MAX): Use macro-int-constant.
30827 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30828 [C99-based standards] (strtof): Require function.
30829 [C99-based standards] (strtold): Likewise.
30830 [C99-based standards] (strtoll): Likewise.
30831 [C99-based standards] (strtoull): Likewise.
30832 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30833 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30834 [ISO || ISO99 || ISO11] (math.h): Likewise.
30835 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30836 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30839 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30842 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30843 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30844 * intl/dgettext.c (DCGETTEXT): Likewise.
30845 * intl/gettext.c (DCGETTEXT): Likewise.
30846 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30847 * posix/regex_internal.h (gettext): Likewise.
30848 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30849 Remove declaration.
30850 * include/argz.h (__argz_count_internal)
30851 (__argz_stringify_internal): Remove declaration.
30852 (__argz_count, __argz_stringify): Declare hidden proto.
30853 * intl/dcgettext.c: Remove use of INTDEF.
30854 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30855 * string/argz-stringify.c: Likewise.
30856 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30857 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30858 Declare hidden proto.
30859 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30860 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30861 Declare hidden proto.
30862 * include/stdio.h (__asprintf_internal): Don't declare.
30863 (__asprintf): Don't define as macro. Declare hidden proto.
30864 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30865 (__fsetlocking): Declare hidden proto.
30866 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30867 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30869 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30870 (_IO_setlinebuf): Remove use of INTUSE.
30871 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30872 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30873 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30874 Remove declaration.
30875 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30876 (_IO_do_flush): Remove use of INTUSE.
30877 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30878 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30879 (_IO_adjust_column, _IO_least_wmarker)
30880 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30881 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30882 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30883 (_IO_default_doallocate, _IO_wdefault_doallocate)
30884 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30885 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30886 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30887 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30888 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30889 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30890 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30891 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30892 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30893 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30894 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30895 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30896 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30898 (_IO_flush_all_internal, _IO_adjust_column_internal)
30899 (_IO_default_uflow_internal, _IO_default_finish_internal)
30900 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30901 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30902 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30903 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30904 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30905 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30906 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30907 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30908 (_IO_file_close_internal, _IO_file_close_it_internal)
30909 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30910 (_IO_file_init_internal, _IO_file_attach_internal)
30911 (_IO_file_fopen_internal, _IO_file_read_internal)
30912 (_IO_file_sync_internal, _IO_file_seek_internal)
30913 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30914 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30915 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30916 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30917 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30918 (_IO_list_all_internal, _IO_link_in_internal)
30919 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30920 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30921 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30922 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30923 (_IO_do_write_internal, _IO_padn_internal)
30924 (_IO_getline_info_internal, _IO_getline_internal)
30925 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30926 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30927 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30928 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30929 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30930 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30931 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30932 with libc_hidden_ver, remove use of INTUSE.
30933 * libio/genops.c: Likewise.
30934 * libio/freopen.c: Likewise.
30935 * libio/freopen64.c: Likewise.
30936 * libio/iofclose.c: Likewise.
30937 * libio/iofdopen.c: Likewise.
30938 * libio/iofflush.c: Likewise.
30939 * libio/iofflush_u.c: Likewise.
30940 * libio/iofgets.c: Likewise.
30941 * libio/iofgets_u.c: Likewise.
30942 * libio/iofopen.c: Likewise.
30943 * libio/iofopncook.c: Likewise.
30944 * libio/iofread.c: Likewise.
30945 * libio/iofread_u.c: Likewise.
30946 * libio/ioftell.c: Likewise.
30947 * libio/iofwrite.c: Likewise.
30948 * libio/iogetline.c: Likewise.
30949 * libio/iogets.c: Likewise.
30950 * libio/iogetwline.c: Likewise.
30951 * libio/iopadn.c: Likewise.
30952 * libio/iopopen.c: Likewise.
30953 * libio/ioseekoff.c: Likewise.
30954 * libio/ioseekpos.c: Likewise.
30955 * libio/iosetbuffer.c: Likewise.
30956 * libio/iosetvbuf.c: Likewise.
30957 * libio/ioungetc.c: Likewise.
30958 * libio/ioungetwc.c: Likewise.
30959 * libio/iovdprintf.c: Likewise.
30960 * libio/iovsprintf.c: Likewise.
30961 * libio/iovsscanf.c: Likewise.
30962 * libio/memstream.c: Likewise.
30963 * libio/obprintf.c: Likewise.
30964 * libio/oldfileops.c: Likewise.
30965 * libio/oldiofclose.c: Likewise.
30966 * libio/oldiofdopen.c: Likewise.
30967 * libio/oldiofopen.c: Likewise.
30968 * libio/oldiopopen.c: Likewise.
30969 * libio/oldstdfiles.c: Likewise.
30970 * libio/putc.c: Likewise.
30971 * libio/setbuf.c: Likewise.
30972 * libio/setlinebuf.c: Likewise.
30973 * libio/stdfiles.c: Likewise.
30974 * libio/strops.c: Likewise.
30975 * libio/vasprintf.c: Likewise.
30976 * libio/vscanf.c: Likewise.
30977 * libio/vsnprintf.c: Likewise.
30978 * libio/vswprintf.c: Likewise.
30979 * libio/wfiledoalloc.c: Likewise.
30980 * libio/wfileops.c: Likewise.
30981 * libio/wgenops.c: Likewise.
30982 * libio/wmemstream.c: Likewise.
30983 * libio/wstrops.c: Likewise.
30984 * libio/__fpurge.c: Likewise.
30985 * libio/__fsetlocking.c: Likewise.
30986 * assert/assert.c: Likewise.
30987 * debug/fgets_chk.c: Likewise.
30988 * debug/fgets_u_chk.c: Likewise.
30989 * debug/fread_chk.c: Likewise.
30990 * debug/fread_u_chk.c: Likewise.
30991 * debug/gets_chk.c: Likewise.
30992 * debug/obprintf_chk.c: Likewise.
30993 * debug/vasprintf_chk.c: Likewise.
30994 * debug/vdprintf_chk.c: Likewise.
30995 * debug/vsnprintf_chk.c: Likewise.
30996 * debug/vsprintf_chk.c: Likewise.
30997 * malloc/mtrace.c: Likewise.
30998 * misc/error.c: Likewise.
30999 * misc/syslog.c: Likewise.
31000 * stdio-common/asprintf.c: Likewise.
31001 * stdio-common/fxprintf.c: Likewise.
31002 * stdio-common/getw.c: Likewise.
31003 * stdio-common/isoc99_fscanf.c: Likewise.
31004 * stdio-common/isoc99_scanf.c: Likewise.
31005 * stdio-common/isoc99_vfscanf.c: Likewise.
31006 * stdio-common/isoc99_vscanf.c: Likewise.
31007 * stdio-common/isoc99_vsscanf.c: Likewise.
31008 * stdio-common/printf-prs.c: Likewise.
31009 * stdio-common/printf_fp.c: Likewise.
31010 * stdio-common/printf_fphex.c: Likewise.
31011 * stdio-common/printf_size.c: Likewise.
31012 * stdio-common/putw.c: Likewise.
31013 * stdio-common/scanf.c: Likewise.
31014 * stdio-common/sprintf.c: Likewise.
31015 * stdio-common/tmpfile.c: Likewise.
31016 * stdio-common/vfprintf.c: Likewise.
31017 * stdio-common/vfscanf.c: Likewise.
31018 * stdlib/strfmon_l.c: Likewise.
31019 * sunrpc/openchild.c: Likewise.
31020 * sunrpc/xdr_stdio.c: Likewise.
31021 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31022 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31024 2012-05-24 Roland McGrath <roland@hack.frob.com>
31026 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31028 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31029 in the third column, to generate for the shared library an IFUNC
31030 that uses _dl_vdso_vsym.
31031 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31032 * Makeconfig (object-suffixes-noshared): New variable.
31034 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31035 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31036 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31037 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31040 * include/sys/time.h (__gettimeofday): Remove macro.
31041 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31042 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31044 (__gettimeofday): Add libc_hidden_def.
31045 (gettimeofday): Add libc_hidden_weak.
31046 * sysdeps/mach/gettimeofday.c: Likewise.
31047 * sysdeps/posix/gettimeofday.c: Likewise.
31048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31049 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31051 (__gettimeofday_internal): Remove strong_alias.
31052 (__gettimeofday): Add libc_hidden_def.
31053 (gettimeofday): Add libc_hidden_weak.
31054 * sysdeps/unix/syscalls.list (gettimeofday):
31055 Remove __gettimeofday_internal alias.
31057 2012-05-24 Daniel Jacobowitz <drow@false.org>
31058 H.J. Lu <hongjiu.lu@intel.com>
31061 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31062 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31063 (largebin_index_32_big): New.
31064 (largebin_index): Use it for 16-byte alignment.
31065 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31066 correction with front_misalign.
31068 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31096 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31097 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31099 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31103 * math/libm-test.inc (exp_test): Add test from bug 14036.
31104 (pow_test): Add test from bug 10846.
31106 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31108 (special_function): Do not include flags in test name.
31109 (parse_args): Likewise.
31110 * sysdeps/i386/fpu/libm-test-ulps: Update.
31111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31112 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31116 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31118 * math/libm-test.inc ("Philosophy"): Update comment about
31120 (UNDERFLOW_EXCEPTION): New macro.
31121 (UNDERFLOW_EXCEPTION_OK): Likewise.
31122 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31123 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31124 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31125 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31126 (INVALID_EXCEPTION_OK): Update value.
31127 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31128 (OVERFLOW_EXCEPTION_OK): Likewise.
31129 (IGNORE_ZERO_INF_SIGN): Likewise.
31130 (test_exceptions): Handle underflow exceptions.
31131 (acos_test): Update for underflow exception expectations.
31132 (cexp_test): Likewise.
31133 (clog_test): Likewise.
31134 (clog10_test): Likewise.
31135 (csqrt_test): Likewise.
31136 (ctan_test): Likewise.
31137 (ctanh_test): Likewise.
31138 (exp_test): Likewise.
31139 (exp10_test): Likewise.
31140 (exp2_test): Likewise.
31141 (expm1_test): Likewise.
31142 (fma_test): Likewise.
31143 (j0_test): Likewise.
31144 (jn_test): Likewise.
31145 (nexttoward_test): Likewise.
31146 (pow_test): Likewise.
31147 (scalbn_test): Likewise.
31148 (scalbln_test): Likewise.
31149 (tan_test): Likewise.
31150 (y1_test): Likewise.
31151 * sysdeps/i386/fpu/libm-test-ulps: Update.
31152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31154 2012-05-23 David S. Miller <davem@davemloft.net>
31156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31157 (__libc_sigaction): Remove unused local variables.
31159 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31161 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31163 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31165 mktime: avoid signed integer overflow
31166 * time/mktime.c (__mktime_internal): Do not mishandle the case
31167 where diff == INT_MIN.
31169 mktime: simplify computation of average
31170 * time/mktime.c (ranged_convert): Use new time_t_avg function
31171 instead of rolling our own (probably-slower) code.
31173 mktime: do not assume signed right shift propagates sign bit
31174 * time/mktime.c (isdst_differ): New static function.
31175 (__mktime_internal): No need to normalize tm_isdst now.
31176 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31179 mktime: merge another wrapv change from gnulib
31180 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31181 from some compilers.
31183 mktime: remove incorrect attempt at unusual arithmetics
31184 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31185 The code didn't really work on such machines anyway.
31186 (TYPE_MINIMUM): Assume two's complement.
31187 (twos_complement_arithmetic): Verify that long_int and time_t
31188 are two's complement (or unsigned, in the latter case).
31190 mktime: check signed shifts on long_int and time_t, too
31191 * time/mktime.c (SHR): Check that shifts work as desired
31192 on the types long_int and time_t too, as SHR is used on
31195 mktime: do not assume 'long' is wide enough
31196 * time/mktime.c (verify): Move decl up.
31197 (long_int): New type.
31198 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31199 to remove assumption in the code that 'long' is wide enough to
31200 store year values. This assumption is not true on x32 and on
31201 some non-glibc platforms.
31203 mktime: merge wrapv change from gnulib
31204 * time/mktime.c (WRAPV): New macro.
31205 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31206 (guess_time_tm, __mktime_internal): Do not assume that signed
31207 integer overflow wraps around; modern compilers generate code
31208 where this assumption is no longer valid.
31210 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31212 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31213 Replace "jmp L(pseudo_end)" with "ret".
31214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31217 2012-05-23 Andreas Jaeger <aj@suse.de>
31219 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31220 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31222 2012-05-23 Andreas Jaeger <aj@suse.de>
31223 Maximilian Attems <max@stro.at>
31225 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31228 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31230 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31231 code so that pseudo_end is just ret and the stack pointer is
31232 correct also for static library in error case.
31234 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31236 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31237 move to syscalls.list.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31243 * manual/install.texi (Running make install): Do not mention Linux
31244 kernel version for which pt_chown is not needed.
31245 (Linux): Do not mention problems with nscd with 2.0 kernels.
31246 * INSTALL: Regenerated.
31248 2012-05-23 Andreas Jaeger <aj@suse.de>
31250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31251 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31253 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31254 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31255 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31257 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31258 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31263 * sysdeps/unix/sysv/linux/bits/in.h
31264 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31266 2012-05-22 Roland McGrath <roland@hack.frob.com>
31268 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31269 (PREPARE_VERSION): Just use assert instead, it will be elided
31270 under [NDEBUG] anyway.
31272 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31274 * sysdeps/unix/sysv/linux/Makefile: Include
31275 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31276 (sysdep_routines): Remove sysctl.
31277 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31278 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31279 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31280 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31281 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31283 2012-05-22 Andreas Jaeger <aj@suse.de>
31285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31286 that pseudo_end is just ret and the stack pointer is correct also
31287 for static library in error case.
31289 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31292 * nss/nsswitch.c (defconfig_entries): New variable.
31293 (__nss_database_lookup): Don't leak defconfig entries.
31294 (nss_parse_service_list): Don't leak on error paths.
31295 (free_database_entries): New function.
31296 (free_defconfig): New function.
31297 (free_mem): Move common code to free_database_entries.
31299 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31303 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31305 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31306 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31309 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31310 (INTERNAL_SYSCALL_TYPES): Likewise.
31311 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31312 (LOAD_REGS_TYPES_[1-6]): Likewise.
31313 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31314 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31316 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31319 copysignl for GLIBC_2_0.
31320 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31321 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31323 logbl for GLIBC_2_0.
31324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31325 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31327 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31330 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31332 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31335 * time/mktime.c: Update copyright years.
31337 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31339 mktime: merge comment-quoting-style change from gnulib
31340 * time/mktime.c: Quote 'like this' in comments.
31341 The GNU coding standards suggest that we no longer quote `like this',
31342 as "`" and "'" are typically rendered asymmetrically nowadays.
31343 The typical gnulib style is to quote 'like this' when quoting
31344 code, and "like this" when quoting English.
31346 * time/mktime.c (compile-command): Add "-I.".
31348 mktime: merge mktime-internal.h change from gnulib
31349 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31351 mktime: merge time_r change from gnulib
31352 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31354 mktime: merge DEBUG change from gnulib
31355 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31356 case system <time.h> has a #define.
31358 mktime: merge <sys/types.h> change from gnulib
31359 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31360 since <time.t> is now guaranteed to define time_t.
31362 mktime: merge HAVE_CONFIG_H change from gnulib
31363 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31365 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31372 (struct rusage): Use anonymous union to pad each field to
31375 2012-05-21 David S. Miller <davem@davemloft.net>
31377 * Makefules (o-iterator): Remove .s cases.
31378 (compile-command.s): Delete.
31379 (COMPILE.s): Delete.
31380 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31382 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31384 * configure.in (libc_cv_predef_stack_protector): Only consider
31385 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31386 * configure: Regenerated.
31388 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31391 New macro. Use R*LP on int and pointer.
31392 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31393 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31394 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31395 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31397 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31398 [__WORDSIZE_TIME64_COMPAT32] instead of
31399 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31400 (struct utmp): Likewise.
31401 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31402 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31404 (__WORDSIZE_TIME64_COMPAT32): This.
31405 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31406 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31407 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31408 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31409 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31410 (__WORDSIZE_TIME64_COMPAT32): New macro.
31412 2012-05-21 Andreas Jaeger <aj@suse.de>
31414 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31415 only if [SHARED]. Add prototype for __wcschr_ia32.
31417 2012-05-21 Roland McGrath <roland@hack.frob.com>
31419 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31420 of %rbp unmolested in the jmp_buf while mangling the low bits.
31421 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31422 unmolested high bits of %rbp while demangling the low bits.
31423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31425 2012-05-21 Andreas Jaeger <aj@suse.de>
31427 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31428 * sunrpc/svc_simple.c: Use it for registerrpc.
31429 * sunrpc/xcrypt.c: Use it for passwd2des.
31431 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31433 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31435 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31436 Don't define if [__SYSCALL_WORDSIZE != 32].
31437 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31440 2012-05-21 Bruno Haible <bruno@clisp.org>
31441 Andreas Jaeger <aj@suse.de>
31443 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31444 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31445 inptr and inend for must_buffer_ch.
31446 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31447 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31448 * stdio-common/Makefile (tests): Remove bug15.
31449 (bug15-ENV): Remove macro.
31450 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31453 2012-05-19 Andreas Jaeger <aj@suse.de>
31454 Roland McGrath <roland@hack.frob.com>
31456 * manual/contrib.texi: Completely rewritten. It contains now an
31457 alphabetical list of contributors and their contributions.
31459 2012-05-21 Richard Henderson <rth@twiddle.net>
31461 * misc/getauxval.c (__getauxval): Use unsigned long int.
31462 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31463 (getauxval): Use unsigned long int.
31465 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31467 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31469 2012-05-21 Roland McGrath <roland@hack.frob.com>
31471 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31472 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31473 __alignof__ (long double).
31475 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31479 2012-05-20 Richard Henderson <rth@twiddle.net>
31481 * misc/getauxval.c: New file.
31482 * misc/sys/auxv.h: New file.
31483 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31484 (routines): Add getauxval.
31485 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31486 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31487 * elf/dl-sysdep.c (_dl_auxv): Remove.
31488 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31489 * elf/dl-support.c (_dl_auxv): New variable.
31490 (_dl_aux_init): Initialize it.
31491 * manual/startup.texi (Auxiliary Vector): New node.
31492 * sysdeps/generic/bits/hwcap.h: New file.
31493 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31494 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31495 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31496 * sysdeps/sparc/sysdep.h: ... here. Include it.
31497 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31510 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31514 2012-05-19 David S. Miller <davem@davemloft.net>
31516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31518 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31521 * math/s_ccosh.c: Include <float.h>
31522 (__ccosh): Avoid internal overflow calculating sinh and cosh
31523 values before multiplying by sin and cos values.
31524 * math/s_ccoshf.c: Likewise.
31525 * math/s_ccoshl.c: Likewise.
31526 * math/s_csin.c: Likewise.
31527 * math/s_csinf.c: Likewise.
31528 * math/s_csinl.c: Likewise.
31529 * math/s_csinh.c: Likewise.
31530 * math/s_csinhf.c: Likewise.
31531 * math/s_csinhl.c: Likewise.
31532 * math/libm-test.inc (ccos_test): Add more tests.
31533 (ccosh_test): Likewise.
31534 (csin_test): Likewise.
31535 (csinh_test): Likewise.
31536 * sysdeps/i386/fpu/libm-test-ulps: Update.
31537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31539 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31541 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31542 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31544 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31546 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31548 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31549 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31550 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31551 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31552 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31553 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31554 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31555 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31556 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31557 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31558 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31559 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31560 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31561 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31562 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31563 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31564 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31565 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31566 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31567 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31568 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31569 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31570 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31571 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31572 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31573 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31574 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31575 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31576 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31577 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31578 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31580 2012-05-18 Andreas Jaeger <aj@suse.de>
31582 * csu/.gitignore: Delete.
31584 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31586 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31587 (timex): Use __syscall_slong_t.
31589 2012-05-18 Andreas Jaeger <aj@suse.de>
31590 Carlos O'Donell <carlos_odonell@mentor.com>
31592 * manual/install.texi (Configuring and compiling): Update
31593 description about files modified in the source directory.
31594 * INSTALL: Regenerated.
31596 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31598 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31599 value. Use "or" to set return value to -1.
31600 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31601 negate return value.
31603 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31605 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31606 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31607 failure if the compiler has Graphite support disabled.
31608 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31610 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31611 (CFLAGS-memmove.c): Likewise.
31612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31615 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31617 * sysdeps/x86_64/x32/_itoa.h: New file.
31619 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31620 getdents system call only if kernel and user dirents have the
31621 same d_ino and d_off.
31623 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31624 LLONG_MAX != LONG_MAX.
31625 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31626 (_fitoa_word): Likewise.
31628 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31630 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31631 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31632 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31635 include <bits/wordsize.h>. Check __x86_64__ instead of
31637 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31638 if __x86_64__ is defined. Use anonymous union on fpstate.
31640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31643 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31645 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31646 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31648 Refer to _rtld_local_ro instead of _rtld_global_ro.
31649 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31651 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31653 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31655 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31656 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31657 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31659 * sysdeps/powerpc/powerpc32/dl-machine.c
31660 (__elf_machine_runtime_setup) [PROF]: Don't reference
31663 2012-05-18 Andreas Jaeger <aj@suse.de>
31665 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31666 function only available for GCCs before 3.4 since GCC 3.4
31667 introduced a builtin.
31669 (llrintf): Likewise.
31670 (llrint): Likewise.
31677 (nearbyint): Likewise.
31678 (nearbyintf): Likewise.
31682 (floorf): Likewise.
31684 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31686 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31687 on both fields and cast pointer to __syscall_ulong_t.
31689 * bits/types.h (__fsword_t): New type.
31690 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31691 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31693 (__FSWORD_T_TYPE): Likewise.
31694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31695 (__FSWORD_T_TYPE): Likewise.
31696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31697 (__FSWORD_T_TYPE): Likewise.
31698 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31699 (__FSWORD_T_TYPE): Likewise.
31700 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31701 __SWORD_TYPE with __fsword_t.
31702 (statfs64): Likewise.
31704 2012-05-17 David S. Miller <davem@davemloft.net>
31706 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31708 2012-05-17 Andreas Jaeger <aj@suse.de>
31710 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31713 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31715 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31717 2012-05-17 Andreas Jaeger <aj@suse.de>
31719 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31722 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31724 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31726 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31728 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31729 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31731 2012-05-17 Andreas Jaeger <aj@suse.de>
31732 Carlos O'Donell <carlos_odonell@mentor.com>
31735 * sysdeps/x86_64/multiarch/init-arch.h
31736 (bit_YMM_Usable): Rename to...
31737 (bit_AVX_Usable): ... this.
31738 (bit_FMA4_Usable): New macro.
31739 (bit_XMM_state): New macro.
31740 (bit_YMM_state): New macro.
31741 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31742 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31743 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31744 (CPUID_OSXSAVE): New macro.
31745 (CPUID_AVX): New macro.
31746 (CPUID_FMA4): New macro.
31747 (index_YMM_Usable): Rename to...
31748 (index_AVX_Usable): ... this.
31749 (HAS_AVX): Use HAS_ARCH_FEATURE.
31750 (HAS_FMA4): Likewise.
31751 (HAS_YMM_USABLE): Remove.
31752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31753 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31755 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31756 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31757 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31758 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31759 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31761 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31763 * math/libm-test.c: Support platforms without multiple rounding modes.
31764 * math/bug-nextafter.c: Support platforms without FP exceptions.
31765 * math/bug-nexttoward.c: Likewise.
31766 * math/test-fenv.c: Likewise.
31767 * math/test-misc.c: Likewise.
31768 * stdlib/bug-getcontext.c: Likewise.
31770 2012-05-17 Andreas Jaeger <aj@suse.de>
31772 * manual/examples/search.c (critter_cmp): Change signature to
31774 * manual/string.texi (Collation Functions): Likewise.
31776 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31778 * bits/types.h: Fold copyright years.
31779 * bits/typesizes.h: Likewise.
31780 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31784 * time/time.h: Likewise.
31786 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31789 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31790 in instead of returning them. Return void.
31791 (__libc_mallinfo): Accumulate over all arenas.
31792 (__malloc_stats): Adjust for change in int_mallinfo interface.
31794 2012-05-16 Roland McGrath <roland@hack.frob.com>
31797 * configure.in (NM): Add AC_CHECK_TOOL for it.
31798 (libc_extra_cflags): New substituted variable.
31799 Check for -fstack-protector being used implicitly.
31800 * configure: Regenerated.
31801 * config.make.in (config-extra-cflags): New variable,
31802 gets @libc_extra_cflags@.
31803 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31806 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31807 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31808 * configure: Regenerated.
31809 * config.make.in (CPPUNDEFS): New substituted variable.
31810 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31811 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31812 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31814 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31816 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31817 (mq_attr): Use __syscall_slong_t.
31819 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31821 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31822 Check __x86_64__ instead of __WORDSIZE.
31823 (_STAT_VER_LINUX): Likewise.
31824 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31825 __syscall_ulong_t and __syscall_slong_t.
31826 (stat64): Likewise.
31828 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31832 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31834 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31836 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31838 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31841 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31842 include <bits/wordsize.h>. Check __x86_64__ instead of
31844 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31846 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31849 include <bits/wordsize.h>. Check __x86_64__ instead of
31851 (user_regs_struct): Use "__extension__ unsigned long long"
31852 instead of "unsigned long" if __x86_64__ is defined.
31853 (user): Likewise. Pad after pointer field if __ILP32__ is
31856 2012-05-16 Joseph Myers <joseph@codesourcery.com>
31858 * configure.in (makeinfo): Require version 4.5 or later. Allow
31860 * configure: Regenerated.
31861 * manual/install.texi (texinfo): Increase version requirement to
31863 * INSTALL: Regenerated.
31865 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31867 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31869 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31871 * sysdeps/x86_64/x32/ffs.c: New file.
31873 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31875 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31876 defined. Use __syscall_ulong_t.
31877 (shminfo): Use __syscall_ulong_t.
31878 (shm_info): Likewise.
31880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31883 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31885 (msgqnum_t): Use __syscall_ulong_t.
31886 (msglen_t): Likewise.
31887 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31890 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31891 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31893 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31895 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31896 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31898 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31901 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31902 include <bits/wordsize.h>. Check __x86_64__ instead of
31905 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31906 "unsigned long long int" if __x86_64__ is defined.
31907 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31910 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31911 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31913 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31915 (GET_PC): Cast to uintptr_t first.
31916 (GET_FRAME): Likewise.
31917 (GET_STACK): Likewise.
31919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31921 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31922 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31923 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31924 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31925 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31926 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31927 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31928 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31929 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31930 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31931 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31932 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31933 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31941 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31943 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31946 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31947 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31949 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31951 * Makerules (+depfiles): Also collect depfiles from .oS in
31953 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31954 .oS, $(libnldbl-routines)).
31956 * Makerules (native-compile-mkdep-flags): Define.
31957 * sunrpc/Makefile (extra-objs): Add $(addprefix
31958 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31959 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31960 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31961 calling $(make-target-directory).
31963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31965 * bits/types.h (__snseconds_t): Removed.
31966 * time/time.h (struct timespec): Replace __snseconds_t with
31968 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31969 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31972 (__SNSECONDS_T_TYPE): Likewise.
31973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31974 (__SNSECONDS_T_TYPE): Likewise.
31975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31976 (__SNSECONDS_T_TYPE): Likewise.
31978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31980 * sysdeps/mach/hurd/bits/typesizes.h
31981 (__SYSCALL_SLONG_TYPE): New macro.
31982 (__SYSCALL_ULONG_TYPE): Likewise.
31984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31986 * bits/types.h (__syscall_slong_t): New type.
31987 (__syscall_ulong_t): Likewise.
31989 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31990 (__SYSCALL_ULONG_TYPE): Likewise.
31991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31992 (__SYSCALL_SLONG_TYPE): Likewise.
31993 (__SYSCALL_ULONG_TYPE): Likewise.
31994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31995 (__SYSCALL_SLONG_TYPE): Likewise.
31996 (__SYSCALL_ULONG_TYPE): Likewise.
31997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31998 (__SYSCALL_SLONG_TYPE): Likewise.
31999 (__SYSCALL_ULONG_TYPE): Likewise.
32001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32003 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32004 Add sigaltstack-offsets.sym.
32005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32006 <sigaltstack-offsets.h>.
32007 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32008 longjmp_msg pointer.
32009 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32010 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32012 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32014 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32016 * elf/stackguard-macros.h: Remove file.
32017 * sysdeps/generic/stackguard-macros.h: New file.
32018 * sysdeps/i386/stackguard-macros.h: Likewise.
32019 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32020 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32021 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32022 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32023 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32024 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32025 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32026 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32027 <elf/stackguard-macros.h>.
32030 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32031 __aligned__ in attribute.
32032 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32033 (gregset_t): Likewise.
32035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32037 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32038 * sysdeps/x86_64/64/Implies-after: Here. New file.
32039 * sysdeps/x86_64/x32/Implies-after: New file.
32041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32043 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32044 and access return value for _dl_profile_fixup. Use R10_LP to
32047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32049 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32053 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32054 * sysdeps/x86_64/x32/sysdep.h: New file.
32056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32058 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32059 * sysdeps/x86_64/setjmp.S: Likewise.
32061 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32065 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32066 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32067 remove unused global constant.
32069 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32071 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32072 include of <not-cancel.h>.
32074 2012-05-15 Roland McGrath <roland@hack.frob.com>
32076 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32078 2012-05-15 Jeff Law <law@redhat.com>
32079 Andreas Jaeger <aj@suse.de>
32082 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32084 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32085 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32086 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32087 code changing __hst_map_handle.map.
32089 2012-05-15 Roland McGrath <roland@hack.frob.com>
32091 * configure.in (sysnames): Look for Implies-before and Implies-after
32093 * configure: Regenerated.
32095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32097 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32098 8-byte data alignment with LP_SIZE alignment.
32100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32107 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32111 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32112 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32119 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32120 (stackinfo_sub_sp): Likewise.
32122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32139 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32143 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32144 into R11_LP and load __x86_64_shared_cache_size_half into
32147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32152 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32161 powerpc32/power7/fpu/s_logb.c via #include.
32162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32163 powerpc32/power7/fpu/s_logbf.c via #include.
32164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32165 powerpc32/power7/fpu/s_logbl.c via #include.
32167 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32169 * README.libm: Remove file.
32171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32173 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32174 count for x32. Use R*_LP and omit operand-size suffix.
32176 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32178 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32179 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32180 * sysdeps/x86_64/x32/shlib-versions: New file.
32182 2012-05-14 Roland McGrath <roland@hack.frob.com>
32184 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32185 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32186 Use _dl_fatal_printf instead.
32188 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32190 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32191 set if not set by the user. Do not allow for being unset.
32192 * sysdeps/unix/sysv/linux/configure: Regenerated.
32194 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32196 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32197 the `q' suffix from lea and replace .quad with ASM_ADDR.
32199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32202 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32204 (PTR_DEMANGLE): Likewise.
32206 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32208 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32210 (ASM_ADDR): Likewise.
32211 (RAX_LP): Likewise.
32212 (RBP_LP): Likewise.
32213 (RBX_LP): Likewise.
32214 (RCX_LP): Likewise.
32215 (RDI_LP): Likewise.
32216 (RSI_LP): Likewise.
32217 (RSP_LP): Likewise.
32220 (R10_LP): Likewise.
32221 (R10_LP): Likewise.
32222 (R11_LP): Likewise.
32223 (R12_LP): Likewise.
32224 (R13_LP): Likewise.
32225 (R14_LP): Likewise.
32226 (R15_LP): Likewise.
32228 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32230 * sysdeps/x86_64/x32/dl-machine.h: New file.
32232 2012-05-14 Andreas Jaeger <aj@suse.de>
32234 * manual/Makefile (subdir): Remove export of subdir.
32235 (all): Remove target.
32236 (.PHONY): Remove all from list.
32237 (mkinstalldirs): Remove.
32238 (.PHONY): Remove installdirs from list.
32239 ($(inst_infodir)/libc.info): Use make-target-directory.
32240 (installdirs): Remove.
32241 (subdir_%): Remove.
32242 (glibc-targets): Remove.
32245 ($(objpfx)stubs ../po/manual.pot): Remove.
32246 ($(objpfx)stamp%): Remove.
32247 (make-target-directory): Remove.
32248 (subdir_install): Remove.
32249 (routines): Remove.
32256 * manual/.gitignore: Remove, it's not needed anymore.
32257 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32259 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32261 (texis): Renamed to $(objpfx)texis.
32262 (texis-path): New, contains path to generated files.
32263 (chapters.%): Use texis-path for complete path, add extra argument
32265 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32266 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32267 (summary,texi, stamp-summary): Use complete path of
32268 files. Generate files in build dir.
32269 (dir-add.texi): Build in build dir.
32270 (libm-err.texi,stamp-libm-err): Likewise.
32271 (version.texi, stamp-version): Likewise.
32272 (.%c.texi): Likewise.
32273 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32274 (mostlyclean): Remove target.
32275 (realclean): Remove target.
32276 (generated): Add new variable with contents from mostlyclean and
32277 realclean, remove entries duplicated in common-mostlyclean, add
32278 stamp-libm-err and stamp-version.
32279 (generated-dirs): Add libc directory.
32280 ($(inst_infodir)/libc.info): Install files from build dir.
32282 * manual/install.texi (Configuring and compiling): Adjust since
32283 the info files are not part of the tar ball anymore.
32285 2012-05-14 Andreas Jaeger <aj@suse.de>
32287 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32290 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32294 to 2.2.0 where earlier.
32295 * sysdeps/unix/sysv/linux/configure: Regenerated.
32296 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32297 Remove conditional code.
32298 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32299 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32300 Remove conditional code.
32301 [!__NR_lchown]: Likewise.
32302 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32303 [__NR_lchown]: Likewise.
32304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32305 comment referencing __ASSUME_LCHOWN_SYSCALL.
32306 * sysdeps/unix/sysv/linux/i386/sigaction.c
32307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32309 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32310 Remove conditional code.
32311 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32312 (__protocol_available): Remove #if 0 code.
32313 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32315 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32316 * sysdeps/unix/sysv/linux/kernel-features.h
32317 (__ASSUME_GETCWD_SYSCALL): Don't define.
32318 (__ASSUME_REALTIME_SIGNALS): Likewise.
32319 (__ASSUME_PREAD_SYSCALL): Likewise.
32320 (__ASSUME_PWRITE_SYSCALL): Likewise.
32321 (__ASSUME_POLL_SYSCALL): Likewise.
32322 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32323 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32325 (__ASSUME_SIOCGIFNAME): Don't define.
32326 (__ASSUME_MSG_NOSIGNAL): Likewise.
32327 (__ASSUME_SENDFILE): Define unconditionally.
32328 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32329 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32331 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32332 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32333 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32334 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32335 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32336 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32337 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32362 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32363 Remove conditional code.
32364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32365 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32366 Remove conditional code.
32367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32368 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32369 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32370 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32371 Remove conditional code.
32372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32373 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32374 Remove conditional code.
32375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32376 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32377 Remove conditional code.
32378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32379 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32380 Remove conditional code.
32381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32382 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32383 Remove conditional code.
32384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32385 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32388 * sysdeps/unix/sysv/linux/sigaction.c
32389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32391 * sysdeps/unix/sysv/linux/sigpending.c
32392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32394 * sysdeps/unix/sysv/linux/sigprocmask.c
32395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32397 * sysdeps/unix/sysv/linux/sigsuspend.c
32398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32401 (__libc_missing_rt_sigs): Remove.
32402 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32403 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32404 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32405 Remove conditional code.
32406 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32407 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32410 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32412 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32414 2012-05-14 Andreas Jaeger <aj@suse.de>
32416 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32417 it's not used in glibc.
32418 (__coshm1): Likewise.
32419 (__acosh1p): Likewise.
32422 * manual/string.texi (Copying and Concatenation): Add missing
32423 variable in concat example.
32424 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32426 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32430 __builtin_clzl with __builtin_clzll.
32432 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32435 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32438 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32440 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32441 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32442 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32445 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32447 * NEWS: Update ia64 info.
32449 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32451 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32454 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32456 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32457 * sysdeps/unix/syscalls.list (dup3): Likewise.
32458 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32459 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32461 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32463 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32464 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32466 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32468 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32470 (TLS_IE): Use mov/add instead of movq/addq to load thread
32472 (TLS_GD_PREFIX): New.
32475 2012-05-11 David S. Miller <davem@davemloft.net>
32477 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32478 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32479 (_FPU_SETCW): Likewise.
32481 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32483 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32484 is 32-byte aligned.
32486 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32489 * iconvdata/gb18030.c: Update tables.
32490 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32491 characters specially.
32492 (BODY for TO_LOOP): Add encoding of missing ranges.
32494 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32497 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32498 * sysdeps/mach/hurd/dup3.c: Likewise.
32499 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32500 * sysdeps/powerpc/memmove.c:: Likewise.
32502 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32505 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32507 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32509 * elf/elf.h (R_X86_64_RELATIVE64): New.
32510 (R_X86_64_NUM): Updated.
32511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32512 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32513 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32514 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32515 tst-quad1pie tst-quad2pie
32516 (modules-names): Add tst-quadmod1 tst-quadmod2.
32517 ($(objpfx)tst-quad1): New dependency.
32518 ($(objpfx)tst-quad2): Likewise.
32519 ($(objpfx)tst-quad1pie): Likewise.
32520 ($(objpfx)tst-quad2pie): Likewise.
32521 * sysdeps/x86_64/tst-quad1.c: New file.
32522 * sysdeps/x86_64/tst-quad1pie.c: New file.
32523 * sysdeps/x86_64/tst-quad2.c: Likewise.
32524 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32525 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32526 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32527 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32528 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32532 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32533 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32534 * streams/stropts.h (t_scalar_t): Define type.
32536 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32537 (_PATH_PRESERVE): Set to "/var/lib".
32538 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32540 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32543 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32544 if __dir_mkfile succeeded.
32546 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32547 checking for _hurd_dtablesize. Unlock it right after having
32548 finished _hurd_dtable allocation.
32550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32552 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32553 * sysdeps/mach/hurd/configure: Regenerated.
32554 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32555 special-casing to...
32556 * sysdeps/gnu/configure.in: ... this new file.
32557 * sysdeps/unix/sysv/linux/configure: Regenerated.
32558 * sysdeps/gnu/configure: New generated file.
32560 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32561 for Linux: use nsec instead of usec, as well as:
32562 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32563 members of type struct timespec.
32564 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32566 (struct stat64): Likewise.
32567 (_STATBUF_ST_NSEC): New macro.
32568 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32571 __strtoul_internal rather than strtoul.
32573 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32575 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32580 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32581 which preserves existing values.
32582 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32584 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32586 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32587 TIMEOUT values. Return EINVAL for NFDS values either negative or
32588 greater than FD_SETSIZE.
32590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32592 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32593 allocated, call __vm_protect to finish enabling the existing space, and
32594 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32595 allocate the remainder.
32597 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32599 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32600 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32604 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32605 sysdeps/mach/hurd/readlink.c.
32607 * posix/tst-sysconf.c (posix_options): Only use
32608 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32609 _POSIX_SYNCHRONIZED_IO when they are defined
32610 * sysdeps/mach/hurd/bits/posix_opt.h:
32611 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32612 (_XOPEN_REALTIME): Undefine macro.
32613 (_XOPEN_REALTIME_THREADS): Undefine macro.
32614 (_XOPEN_SHM): Undefine macro.
32615 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32617 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32619 (_POSIX_ASYNC_IO): Undefine macro.
32620 (_POSIX_PRIORITIZED_IO): Undefine macro.
32621 (_POSIX_SPIN_LOCKS): Define macro to -1.
32623 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32624 SA_NODEFER, SA_RESETHAND.
32625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32626 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32631 * elf/Makefile (pldd-modules): Define unconditionally.
32633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32635 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32639 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32640 Return ENOENT when name is empty.
32641 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32645 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32647 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32651 Fix mlock in all cases except non-readable pages.
32652 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32653 instead of VM_PROT_ALL as parameter to __vm_wire function.
32655 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32656 (__mkdir): When path is `/', just fail with EEXIST.
32657 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32659 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32661 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32662 <sys/uio.h> (for writev).
32663 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32664 and <sys/param.h> (for MIN).
32666 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32668 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32669 REQUESTED_TIME. Properly set the remaining time and return EINTR
32672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32674 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32675 Depend on against $(link-rpcuserlibs).
32677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32679 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32680 (__libc_stack_end): Do not use attribute_relro.
32681 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32682 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32683 to libthread-provided value.
32684 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32690 * bits/libc-lock.h (__libc_once_get): New macro.
32691 * sysdeps/mach/bits/libc-lock.h: Likewise.
32692 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32694 instead of using implementation details.
32696 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32697 * libio/freopen.c: Likewise.
32698 * libio/freopen64.c: Likewise.
32699 * misc/syslog.c: Likewise.
32700 * nscd/connections.c: Likewise.
32701 * nscd/netgroupcache.c: Likewise.
32702 * sysdeps/posix/getcwd.c: Likewise.
32704 2012-05-10 Roland McGrath <roland@hack.frob.com>
32706 * math/w_ilogbf.c: Add #include <limits.h>.
32708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32711 path instead of returning without unlocking.
32713 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32714 immediate-write ioctls.
32715 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32719 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32720 __builtin_frame_address instead of making assumptions about the
32721 location of the return address relative to DATA. Force early load of
32722 the return address.
32723 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32724 __builtin_frame_address.
32727 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32728 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32729 implement dup3 and do some further code clean-ups.
32730 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32731 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32735 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32737 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32738 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32739 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32740 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32741 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32744 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32745 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32746 when handler == SIG_ERR, not when handler != SIG_ERR.
32748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32750 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32751 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32754 accept4 for GNU Hurd.
32755 * include/sys/socket.h (__libc_accept4): New prototype.
32756 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32757 to implement __libc_accept4.
32758 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32760 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32762 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32763 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32764 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32765 signal-defines.sym.
32767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32769 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32773 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32774 assertion on O_CLOEXEC flag.
32775 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32776 * hurd/intern-fd.c: Likewise.
32777 * hurd/port2fd.c: Likewise.
32779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32782 * bits/in.h (IPV6_PKTINFO): Define new macro.
32783 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32785 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32790 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32792 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32793 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32795 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32796 * math/libm-test.inc (logb_test) : Additional logb tests.
32798 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32799 Andreas Jaeger <aj@suse.de>
32801 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32802 * configure: Regenerated.
32803 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32804 * config.make.in (link-obsolete-rpc): New substituted variable.
32805 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32806 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32807 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32808 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32809 so that libc.a contains the symbols.
32810 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32811 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32812 * sunrpc/auth_none.c: Likewise.
32813 * sunrpc/auth_unix.c: Likewise.
32814 * sunrpc/authdes_prot.c: Likewise.
32815 * sunrpc/authuxprot.c: Likewise.
32816 * sunrpc/clnt_gen.c: Likewise.
32817 * sunrpc/clnt_perr.c: Likewise.
32818 * sunrpc/clnt_raw.c: Likewise.
32819 * sunrpc/clnt_simp.c: Likewise.
32820 * sunrpc/clnt_tcp.c: Likewise.
32821 * sunrpc/clnt_udp.c: Likewise.
32822 * sunrpc/clnt_unix.c: Likewise.
32823 * sunrpc/des_crypt.c: Likewise.
32824 * sunrpc/des_soft.c: Likewise.
32825 * sunrpc/get_myaddr.c: Likewise.
32826 * sunrpc/key_call.c: Likewise.
32827 * sunrpc/key_prot.c: Likewise.
32828 * sunrpc/netname.c: Likewise.
32829 * sunrpc/pm_getmaps.c: Likewise.
32830 * sunrpc/pm_getport.c: Likewise.
32831 * sunrpc/pmap_clnt.c: Likewise.
32832 * sunrpc/pmap_prot.c: Likewise.
32833 * sunrpc/pmap_prot2.c: Likewise.
32834 * sunrpc/pmap_rmt.c: Likewise.
32835 * sunrpc/publickey.c: Likewise.
32836 * sunrpc/rpc_cmsg.c: Likewise.
32837 * sunrpc/rpc_common.c: Likewise.
32838 * sunrpc/rpc_dtable.c: Likewise.
32839 * sunrpc/rpc_prot.c: Likewise.
32840 * sunrpc/rpc_thread.c: Likewise.
32841 * sunrpc/rtime.c: Likewise.
32842 * sunrpc/svc.c: Likewise.
32843 * sunrpc/svc_auth.c: Likewise.
32844 * sunrpc/svc_raw.c: Likewise.
32845 * sunrpc/svc_run.c: Likewise.
32846 * sunrpc/svc_tcp.c: Likewise.
32847 * sunrpc/svc_udp.c: Likewise.
32848 * sunrpc/svc_unix.c: Likewise.
32849 * sunrpc/svcauth_des.c: Likewise.
32850 * sunrpc/xcrypt.c: Likewise.
32851 * sunrpc/xdr.c: Likewise.
32852 * sunrpc/xdr_array.c: Likewise.
32853 * sunrpc/xdr_float.c: Likewise.
32854 * sunrpc/xdr_intXX_t.c: Likewise.
32855 * sunrpc/xdr_mem.c: Likewise.
32856 * sunrpc/xdr_rec.c: Likewise.
32857 * sunrpc/xdr_ref.c: Likewise.
32858 * sunrpc/xdr_sizeof.c: Likewise.
32859 * sunrpc/xdr_stdio.c: Likewise.
32861 2012-05-10 Roland McGrath <roland@hack.frob.com>
32863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32864 change. Update copyright years.
32866 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32868 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32870 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32871 Joseph Myers <joseph@codesourcery.com>
32872 Paul Pluzhnikov <ppluzhnikov@google.com>
32875 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32877 [cross-compiling] (extra-libs): Likewise.
32878 [cross-compiling] (extra-libs-others): Likewise.
32879 [cross-compiling] (librpcsvc-routines): Likewise.
32880 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32881 [cross-compiling] (omit-deps): Likewise.
32882 (sunrpc-CPPFLAGS): New variable.
32883 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32884 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32885 (cross-rpcgen-objs): New variable.
32886 (extra-objs): Append $(cross-rpcgen-objs).
32887 ($(cross-rpcgen-objs)): New rule.
32888 ($(objpfx)cross-rpcgen): Likewise.
32889 (rpcgen-cmd): Define to use $(built-program-file). Expand
32891 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32892 ($(objpfx)x%.stmp): Likewise.
32893 * sunrpc/proto.h [IS_IN_build] (_): Define.
32894 [IS_IN_build] (_libc_intl_domainname): Likewise.
32896 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32899 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32900 and R_X86_64_TPOFF64.
32902 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32904 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32905 sysdeps/unix/sysv/syscalls.list.
32908 * sysdeps/unix/sysv/syscalls.list: Remove file.
32910 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32913 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32914 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32915 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32916 (__LC_IDENTIFICATION): Make these macros useful in #if
32917 expressions, as required by C99.
32919 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32921 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32922 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32925 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32927 * stdlib/longlong.h: Updated from GCC.
32929 2012-05-09 Andreas Jaeger <aj@suse.de>
32931 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32932 default is first entry.
32933 (run_mode): Set type.
32934 (main): Remove informal message about syslog.
32935 (options): Fix typo.
32938 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32941 (llrintf): Likewise.
32942 (llrint): Likewise.
32945 (nearbyint): Likewise.
32946 (nearbyintf): Likewise.
32948 2012-05-09 Andreas Jaeger <aj@suse.de>
32949 Pedro Alves <palves@redhat.com>
32951 * nscd/nscd.c (run_mode): Use enum.
32952 (main): Cleanup coding style issue.
32954 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32955 Andreas Jaeger <aj@suse.de>
32957 * nscd/nscd.c (go_background): Replaced with...
32958 (run_mode): ... this.
32959 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32960 (options): Add -F --foreground.
32961 (main): Implement it.
32962 (parse_opt): Parse it.
32964 2012-05-09 Andreas Jaeger <aj@suse.de>
32967 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32968 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32969 -Wconversion warning.
32970 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32973 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32975 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32977 (LC_ALL): Use macro-int-constant.
32978 (LC_COLLATE): Likewise.
32979 (LC_CTYPE): Likewise.
32980 (LC_MESSAGES): Likewise.
32981 (LC_MONETARY): Likewise.
32982 (LC_NUMERIC): Likewise.
32983 (LC_TIME): Likewise.
32984 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32985 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32987 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32989 [C99-based standards] (float_t): Expect type.
32990 [C99-based standards] (double_t): Expect type.
32991 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32993 [C99-based standards] (HUGE_VALL): Likewise.
32994 [C99-based standards] (INFINITY): Likewise.
32995 [C99-based standards] (NAN): Likewise.
32996 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32997 [C99-based standards] (FP_NAN): Likewise.
32998 [C99-based standards] (FP_NORMAL): Likewise.
32999 [C99-based standards] (FP_SUBNORMAL): Likewise.
33000 [C99-based standards] (FP_ZERO): Likewise.
33001 [C99-based standards] (FP_FAST_FMA): Use
33002 optional-macro-int-constant. Specify type. Require == 1.
33003 [C99-based standards] (FP_FAST_FMAF): Likewise.
33004 [C99-based standards] (FP_FAST_FMAL): Likewise.
33005 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33006 [C99-based standards] (FP_ILOGBNAN): Likewise.
33007 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33009 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33010 [C99-based standards] (math_errhandling): Specify type.
33011 [ISO99 || ISO11] (signgam): Do not allow.
33012 [non-C99-based standards] (copysignf): Do not allow.
33013 [non-C99-based standards] (exp2f): Likewise.
33014 [non-C99-based standards] (log2f): Likewise.
33015 [non-C99-based standards] (modff): Allow.
33016 [non-C99-based standards] (erff): Do not allow.
33017 [non-C99-based standards] (erfcf): Likewise.
33018 [non-C99-based standards] (gammaf): Likewise.
33019 [non-C99-based standards] (hypotf): Likewise.
33020 [non-C99-based standards] (j0f): Likewise.
33021 [non-C99-based standards] (j1f): Likewise.
33022 [non-C99-based standards] (jnf): Likewise.
33023 [non-C99-based standards] (lgammaf): Likewise.
33024 [non-C99-based standards] (tgammaf): Likewise.
33025 [non-C99-based standards] (y0f): Likewise.
33026 [non-C99-based standards] (y1f): Likewise.
33027 [non-C99-based standards] (ynf): Likewise.
33028 [non-C99-based standards] (isnanf): Likewise.
33029 [non-C99-based standards] (acoshf): Likewise.
33030 [non-C99-based standards] (asinhf): Likewise.
33031 [non-C99-based standards] (atanhf): Likewise.
33032 [non-C99-based standards] (cbrtf): Likewise.
33033 [non-C99-based standards] (expm1f): Likewise.
33034 [non-C99-based standards] (ilogbf): Likewise.
33035 [non-C99-based standards] (log1pf): Likewise.
33036 [non-C99-based standards] (logbf): Likewise.
33037 [non-C99-based standards] (nextafterf): Likewise.
33038 [non-C99-based standards] (remainderf): Likewise.
33039 [non-C99-based standards] (rintf): Likewise.
33040 [non-C99-based standards] (scalbf): Likewise.
33041 [non-C99-based standards] (copysignl): Likewise.
33042 [non-C99-based standards] (exp2l): Likewise.
33043 [non-C99-based standards] (log2l): Likewise.
33044 [non-C99-based standards] (modfl): Allow.
33045 [non-C99-based standards] (erfl): Do not allow.
33046 [non-C99-based standards] (erfcl): Likewise.
33047 [non-C99-based standards] (gammal): Likewise.
33048 [non-C99-based standards] (hypotl): Likewise.
33049 [non-C99-based standards] (j0l): Likewise.
33050 [non-C99-based standards] (j1l): Likewise.
33051 [non-C99-based standards] (jnl): Likewise.
33052 [non-C99-based standards] (lgammal): Likewise.
33053 [non-C99-based standards] (tgammal): Likewise.
33054 [non-C99-based standards] (y0l): Likewise.
33055 [non-C99-based standards] (y1l): Likewise.
33056 [non-C99-based standards] (ynl): Likewise.
33057 [non-C99-based standards] (isnanl): Likewise.
33058 [non-C99-based standards] (acoshl): Likewise.
33059 [non-C99-based standards] (asinhl): Likewise.
33060 [non-C99-based standards] (atanhl): Likewise.
33061 [non-C99-based standards] (cbrtl): Likewise.
33062 [non-C99-based standards] (expm1l): Likewise.
33063 [non-C99-based standards] (ilogbl): Likewise.
33064 [non-C99-based standards] (log1pl): Likewise.
33065 [non-C99-based standards] (logbl): Likewise.
33066 [non-C99-based standards] (nextafterl): Likewise.
33067 [non-C99-based standards] (remainderl): Likewise.
33068 [non-C99-based standards] (rintl): Likewise.
33069 [non-C99-based standards] (scalbl): Likewise.
33070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33071 [non-C99-based standards] (FP_*): Do not allow.
33072 [C99-based standards] (FP_*): Change to
33073 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33074 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33076 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33077 (SIG_ERR): Likewise.
33078 [X/Open-based standards] (SIG_HOLD): Likewise.
33079 (SIG_IGN): Likewise.
33080 (SIGABRT): Use macro-int-constant. Specify type. Require
33082 (SIGFPE): Likewise.
33083 (SIGILL): Likewise.
33084 (SIGINT): Likewise.
33085 (SIGSEGV): Likewise.
33086 (SIGTER): Likewise.
33087 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33088 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33089 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33090 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33091 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33092 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33093 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33094 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33095 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33096 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33097 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33098 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33099 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33100 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33101 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33102 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33103 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33104 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33105 [X/Open-based standards] (SIGTRAP): Likewise.
33106 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33107 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33108 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33109 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33110 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33113 2012-05-08 Ian Wienand <ianw@vmware.com>
33116 * time/tzset.c (__tzset_parse_tz): Update default rules for
33117 daylight time changes in the Energy Policy Act of 2005.
33119 2012-05-09 Andreas Jaeger <aj@suse.de>
33122 * elf/ldconfig.c (parse_conf): Change string to make clear that
33123 ldconfig only issued a warning if ld.so.conf does not exist.
33125 2012-05-08 David S. Miller <davem@davemloft.net>
33127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33128 movxtod instead of popping the value on the stack.
33130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33132 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33134 * config.h.in: Add HAVE_ARM_PCS_VFP.
33136 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33139 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33140 checking but the checks are disabled for any reason.
33142 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33144 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33145 and ELF64_R_TYPE with ELFW(R_TYPE).
33147 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33149 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33150 (ulimit): Likewise.
33152 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33153 (settimeofday): Likewise.
33155 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33157 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33158 a struct th_u2 inside the union, and move tu_block/tu_code into
33159 a new th_u3 union of tu_block/tu_code inside of that. Move
33160 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33161 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33162 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33163 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33164 (th_stuff): Change to th_u1.tu_stuff.
33166 (th_msg): Change to th_u1.th_u2.tu_data.
33168 2012-05-07 David S. Miller <davem@davemloft.net>
33170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33173 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33174 (SETUP_PIC_REG): Use it.
33175 (SETUP_PIC_REG_LEAF): Use it.
33177 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33181 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33183 (EXPL_FINITE): Likewise.
33184 (FLDLOG): Likewise.
33185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33186 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33190 (EXPL_FINITE): Likewise.
33191 (FLDLOG): Likewise.
33192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33193 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33195 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33196 test of -max_value argument for long double.
33197 * sysdeps/i386/fpu/libm-test-ulps: Update.
33198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33200 2012-05-06 David S. Miller <davem@davemloft.net>
33202 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33203 quad soft-float symbols whose references which are compiler
33205 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33207 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33211 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33213 (EXPL_FINITE): Likewise.
33214 (FLDLOG): Likewise.
33217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33218 Adjust comments for base varying.
33219 (__expl_finite): Change alias to EXPL_FINITE.
33220 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33222 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33223 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33225 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33228 (EXPL_FINITE): Likewise.
33229 (FLDLOG): Likewise.
33232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33233 Adjust comments for base varying.
33234 (__expl_finite): Change alias to EXPL_FINITE.
33235 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33240 * math/libm-test.inc (check_float_internal): Correct ulp
33241 calculation for subnormal expected results.
33243 2012-05-06 Andreas Jaeger <aj@suse.de>
33245 * Makeconfig (+math-flags): New, set to -frounding-math.
33246 (+cflags): Add +math-flags so that all of glibc gets compiled with
33249 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33251 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33253 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33259 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33260 (__ieee754_expl): Allow for and saturate large arguments.
33261 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33262 (u_threshold): Likewise.
33263 (__exp): Call __ieee754_exp before checking for overflow and
33265 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33266 (u_threshold): Likewise.
33267 (__expf): Call __ieee754_expf before checking for overflow and
33269 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33270 (u_threshold): Likewise.
33271 (__expl): Call __ieee754_expl before checking for overflow and
33273 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33274 (__ieee754_expl): Allow for and saturate large arguments.
33275 * math/libm-test.inc (exp_test): Add another test. Do not allow
33276 missing overflow exception on overflow.
33277 (expm1_test): Do not allow missing overflow exception on overflow.
33279 * sysdeps/i386/fpu/e_expl.c: Move to ...
33280 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33281 rather than using inline asm.
33282 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33283 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33284 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33286 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33289 (signal): Likewise.
33293 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33295 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33296 sysdeps/unix/common/syscalls.list.
33297 (fchmod): Likewise.
33298 (fchown): Likewise.
33299 (ftruncate): Likewise.
33300 (getrusage): Likewise.
33301 (gettimeofday): Likewise.
33302 (setpgid): Likewise.
33303 (setregid): Likewise.
33304 (setreuid): Likewise.
33305 (sigaction): Likewise.
33306 (truncate): Likewise.
33307 (vhangup): Likewise.
33308 * sysdeps/unix/common/syscalls.list: Remove file.
33309 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33310 * sysdeps/unix/sysv/linux/Implies: Likewise.
33312 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33314 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33316 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33320 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33323 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33329 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33332 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33338 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33342 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33349 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33357 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33359 * sysdeps/unix/common/bits/dirent.h: Remove file.
33360 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33362 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33363 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33364 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33365 * sysdeps/unix/bsd/isatty.c: Likewise.
33366 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33367 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33368 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33370 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33373 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33374 long double comparison inaccuracies.
33375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33378 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33380 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33383 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33387 nonzero digits before rounding a hex value.
33388 * stdlib/tst-strtod.c (tests): Add another test.
33390 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33392 * sysdeps/s390/fpu/libm-test-ulps: Update.
33394 2012-05-03 Andreas Jaeger <aj@suse.de>
33396 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33397 does not get optimized out.
33398 (malloc_opt_barrier): New.
33400 2012-05-03 Andreas Jaeger <aj@suse.de>
33401 Roland McGrath <roland@hack.frob.com>
33403 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33404 intermediate file deletion.
33405 (generated): Add .symlist files.
33407 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33410 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33411 Redirect under this condition.
33412 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33413 [__USE_GNU] (__dprintf_chk): Not under this condition.
33414 [__USE_GNU] (__vdprintf_chk): Likewise.
33415 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33416 under this condition.
33417 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33418 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33419 [__USE_XOPEN2K8] (vdprintf): Likewise.
33420 [__USE_GNU] (__dprintf_chk): Not under this condition.
33421 [__USE_GNU] (__vdprintf_chk): Likewise.
33422 [__USE_GNU] (dprintf): Likewise.
33423 [__USE_GNU] (vdprintf): Likewise.
33425 2012-05-03 Roland McGrath <roland@hack.frob.com>
33427 * elf/Makefile (common-generated): Set this instead of generated for
33428 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33429 $(all-built-dso)-derived lists.
33431 2012-05-03 Andreas Jaeger <aj@suse.de>
33433 * sysdeps/i386/fpu/libm-test-ulps: Update.
33436 * FAQ.in: Likewise.
33437 * scripts/gen-FAQ.pl: Likewise.
33438 * manual/install.texi (Installation): Point to online location of
33440 * Makefile (files-for-dist): Remove FAQ.
33443 2012-05-02 Allan McRae <allan@archlinux.org>
33445 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33446 (LDFLAGS-reldepmod5.so): Likewise.
33447 (LDFLAGS-reldep6mod1.so): Likewise.
33448 (LDFLAGS-reldep6mod4.so): Likewise.
33449 (LDFLAGS-reldep8mod3.so): Likewise.
33450 (LDFLAGS-unload4mod1.so): Likewise.
33451 (LDFLAGS-unload4mod2.so): Likewise.
33452 (LDFLAGS-tst-initorder): Likewise.
33453 (LDFLAGS-tst-initordera2.so): Likewise.
33454 (LDFLAGS-tst-initordera3.so): Likewise.
33455 (LDFLAGS-tst-initordera4.so): Likewise.
33456 (LDFLAGS-tst-initorderb2.so): Likewise.
33457 (LDFLAGS-noload): Likewise.
33458 (LDFLAGS-next): Likewise.
33459 (LDFLAGS-order2mod1.so): Likewise.
33460 (LDFLAGS-order2mod2.so): Likewise.
33461 (LDFLAGS-tst-initorder2): Likewise.
33462 (LDFLAGS-tst-initorder2a.so): Likewise.
33463 (LDFLAGS-tst-initorder2b.so): Likewise.
33464 (LDFLAGS-tst-initorder2c.so): Likewise.
33465 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33467 2012-05-02 David S. Miller <davem@davemloft.net>
33469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33471 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33474 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33476 2012-05-02 Andreas Jaeger <aj@suse.de>
33478 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33479 since we manipulate rounding mode.
33480 (CPPFLAGS-test-idouble.c): Likewise.
33481 (CPPFLAGS-test-ifloat.c): Likewise.
33482 (CFLAGS-test-ldouble.c): Likewise.
33483 (CFLAGS-test-double.c): Likewise.
33484 (CFLAGS-test-float.c): Likewise.
33485 (CFLAGS-test-misc.c): Likewise.
33486 (CFLAGS-test-test-fenv.c): Likewise.
33488 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33492 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33493 comparisons to determine direction to adjust input.
33495 2012-05-01 Roland McGrath <roland@hack.frob.com>
33497 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33498 output to the target.
33500 * scripts/localplt.awk: New file.
33501 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33502 (check-localplt-CFLAGS): Variable removed.
33503 ($(all-built-dso:=.jmprel)): New static pattern rule.
33504 (generated): Add those targets.
33505 (localplt-built-dso): New variable.
33506 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33508 * elf/check-localplt.c: File removed.
33510 * scripts/check-execstack.awk: New file.
33511 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33512 (check-execstack-CFLAGS): Variable removed.
33513 ($(objpfx)check-execstack.h): Target removed.
33514 ($(objpfx)execstack-default): New target.
33515 (generated): Add that instead of check-execstack.h.
33516 ($(all-built-dso:=.phdr)): New static pattern rule.
33517 (generated): Add those targets.
33518 * elf/check-execstack.c: File removed.
33520 * scripts/check-textrel.awk: New file.
33521 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33522 (check-textrel-CFLAGS): Variable removed.
33523 (all-built-dso): Use := to define.o
33524 ($(all-built-dso:=.dyn)): New static pattern rule.
33525 (generated): Add those targets.
33526 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33527 * config.make.in (READELF): New substituted variable.
33528 * elf/check-textrel.c: File removed.
33530 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33532 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33534 * conform/data/ctype.h-data [C99-based standards] (isblank):
33536 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33537 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33539 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33540 Specify type. Require positive value.
33541 (EILSEQ): Likewise.
33542 (ERANGE): Likewise.
33543 [ISO || POSIX] (EILSEQ): Do not expect.
33544 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33545 Specify type. Require positive value.
33546 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33547 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33548 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33549 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33550 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33551 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33552 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33553 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33554 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33555 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33556 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33557 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33558 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33559 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33560 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33561 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33562 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33563 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33564 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33565 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33566 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33567 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33568 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33569 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33570 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33571 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33572 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33573 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33574 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33575 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33576 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33577 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33578 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33579 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33580 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33581 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33582 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33583 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33584 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33585 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33586 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33587 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33588 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33589 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33590 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33591 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33592 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33593 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33594 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33595 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33596 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33597 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33598 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33599 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33600 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33601 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33602 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33603 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33604 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33605 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33606 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33607 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33608 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33609 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33610 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33611 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33612 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33613 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33614 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33615 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33616 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33617 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33618 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33619 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33620 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33621 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33622 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33624 (FLT_ROUNDS): Expect as macro, not constant.
33625 (FLT_MANT_DIG): Use macro-int-constant.
33626 (DBL_MANT_DIG): Likewise.
33627 (LDBL_MANT_DIG): Likewise.
33628 (FLT_DIG): Likewise.
33629 (DBL_DIG): Likewise.
33630 (LDBL_DIG): Likewise.
33631 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33632 (DBL_MIN_EXP): Likewise.
33633 (LDBL_MIN_EXP): Likewise.
33634 (FLT_MAX_EXP): Use macro-int-constant.
33635 (DBL_MAX_EXP): Likewise.
33636 (LDBL_MAX_EXP): Likewise.
33637 (FLT_MAX_10_EXP): Likewise.
33638 (DBL_MAX_10_EXP): Likewise.
33639 (LDBL_MAX_10_EXP): Likewise.
33640 (FLT_MAX): Use macro-constant.
33641 (DBL_MAX): Likewise.
33642 (LDBL_MAX): Likewise.
33643 (FLT_EPSILON): Use macro-constant. Give upper bound.
33644 (DBL_EPSILON): Likewise.
33645 (LDBL_EPSILON): Likewise.
33646 (FLT_MIN): Likewise.
33647 (DBL_MIN): Likewise.
33648 (LDBL_MIN): Likewise.
33649 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33650 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33651 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33652 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33653 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33654 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33655 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33656 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33657 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33658 [ISO11] (FLT_TRUE_MIN): Likewise.
33659 [ISO11] (LDBL_TRUE_MIN): Likewise.
33660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33661 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33662 (SCHAR_MIN): Use macro-int-constant. Specify type.
33663 (SCHAR_MAX): Likewise.
33664 (UCHAR_MAX): Likewise.
33665 (CHAR_MIN): Likewise.
33666 (CHAR_MAX): Likewise.
33667 (MB_LEN_MAX): Use macro-int-constant.
33668 (SHRT_MIN): Use macro-int-constant. Specify type.
33669 (SHRT_MAX): Likewise.
33670 (USHRT_MAX): Likewise.
33671 (INT_MAX): Likewise.
33672 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33674 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33676 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33678 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33679 bound negative. Suffix upper bound with "L".
33680 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33682 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33684 [C99-based standards] (LLONG_MAX): Likewise.
33685 [C99-based standards] (ULLONG_MAX): Likewise.
33686 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33688 [ISO11] (max_align_t): Require type.
33689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33691 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33692 from $CFLAGS, without defining away __attribute__ calls.
33693 (checknamespace): Use $CFLAGS_namespace.
33695 * conform/conformtest.pl (@keywords): Only include C99 keywords
33696 for standards based on C99 or C11.
33698 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33700 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33703 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33704 usability of symbols in #if.
33706 * conform/conformtest.pl: If macro or constant types start
33707 "promoted:", expect the symbol to be of the following type
33708 promoted by the integer promotions.
33710 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33711 in one place. Also handle "macro-constant".
33713 * conform/conformtest.pl: Only accept expected macro values with
33714 "==". Parse all "macro" lines in one place.
33715 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33717 * conform/conformtest.pl: Handle braced types on "constant" lines
33718 instead of handling "typed-constant".
33719 * conform/data/signal.h-data: Use "constant" instead of
33722 * conform/conformtest.pl: Handle "optional-" at start of lines in
33723 one place rather than duplicating several cases. Handle each
33724 format of "macro" line with initial "optional-".
33726 * conform/conformtest.pl: Only accept expected constant or
33727 optional-constant values with "==". Parse all "constant" lines in
33728 one place. Parse all "optional-constant" lines in one place.
33729 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33730 * conform/data/fmtmsg.h-data: Likewise.
33731 * conform/data/netinet/in.h-data: Likewise.
33732 * conform/data/tar.h-data: Likewise.
33733 * conform/data/limits.h-data: Use "==" form on "constant" and
33734 "optional-constant" lines.
33736 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33737 Use -std=c99 for XOPEN2K.
33738 (@knownproblems): Remove.
33739 (newtoken): Don't check %isknown.
33741 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33742 Do not expect macro.
33743 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33755 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33756 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33757 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33758 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33759 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33760 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33773 [XPG3] (acosh): Likewise.
33774 [XPG3] (asinh): Likewise.
33775 [XPG3] (atanh): Likewise.
33776 [XPG3] (cbrt): Likewise.
33777 [XPG3] (expm1): Likewise.
33778 [XPG3] (ilogb): Likewise.
33779 [XPG3] (log1p): Likewise.
33780 [XPG3] (logb): Likewise.
33781 [XPG3] (nextafter): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33784 [XPG3] (remainder): Likewise.
33785 [XPG3] (rint): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33792 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33793 [UNIX98 || XOPEN2K] (scalb): Expect.
33794 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33795 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33796 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33797 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33798 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33799 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33800 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33801 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33802 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33803 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33804 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33805 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33806 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33807 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33808 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33809 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33810 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33811 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33812 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33813 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33814 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33815 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33816 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33817 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33818 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33819 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33820 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33821 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33822 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33823 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33824 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33825 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33826 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33827 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33828 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33829 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33830 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33831 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33832 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33833 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33834 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33835 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33836 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33837 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33838 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33839 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33840 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33841 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33842 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33843 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33844 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33845 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33846 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33847 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33848 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33849 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33850 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33851 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33852 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33853 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33854 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33855 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33856 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33857 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33858 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33859 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33860 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33861 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33862 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33863 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33864 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33865 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33866 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33867 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33868 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33869 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33870 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33871 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33872 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33873 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33874 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33875 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33876 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33877 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33878 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33879 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33880 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33881 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33882 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33883 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33884 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33885 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33886 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33887 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33888 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33889 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33890 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33891 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33892 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33893 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33894 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33895 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33896 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33897 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33898 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33899 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33900 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33901 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33902 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33903 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33904 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33905 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33906 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33907 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33908 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33909 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33910 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33911 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33912 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33913 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33914 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33915 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33916 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33917 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33918 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33919 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33920 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33921 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33922 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33923 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33924 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33925 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33926 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33927 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33928 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33929 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33930 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33932 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33933 _XOPEN_SOURCE_EXTENDED for XPG4.
33935 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33937 * Makeconfig (localtime): Remove variable.
33938 (inst_localtime-file): Likewise.
33940 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33961 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33965 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33966 comparisons to determine direction to adjust input.
33967 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33968 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33978 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33980 * math/libm-test.inc (nexttoward_test): Add more tests.
33982 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33986 in version GLIBC_2.1, not GLIBC_2.0.
33987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33990 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33993 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33996 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33997 * math/libm-test.inc (acos_test): Add more tests.
33998 (asin_test): Likewise.
33999 * sysdeps/i386/fpu/libm-test-ulps: Update.
34000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34003 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34005 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34006 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34007 * math/libm-test.inc (acos_test_tonearest): New function.
34008 (acos_test_towardzero): Likewise.
34009 (acos_test_downward): Likewise.
34010 (acos_test_upward): Likewise.
34011 (asin_test_tonearest): Likewise.
34012 (asin_test_towardzero): Likewise.
34013 (asin_test_downward): Likewise.
34014 (asin_test_upward): Likewise.
34015 (main): Call the new functions.
34016 * sysdeps/i386/fpu/libm-test-ulps: Update.
34017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34021 * math/e_exp10.c: Include <float.h>.
34022 (__ieee754_exp10): Handle underflow here rather than multiplying
34023 large negative argument by M_LN10.
34024 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34026 * math/e_exp10l.c: Include <float.h>.
34027 (__ieee754_exp10l): Handle underflow here rather than multiplying
34028 large negative argument by M_LN10l.
34029 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34030 spurious overflow exception on underflow.
34032 2012-04-29 Marek Polacek <polacek@redhat.com>
34034 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34035 (__fortify_function): New macro.
34036 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34037 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34038 __extern_always_inline.
34039 * libio/bits/stdio2.h: Likewise.
34040 * libio/bits/stdio.h: Likewise.
34041 * string/string.h: Likewise.
34042 * string/bits/string3.h: Likewise.
34043 * include/stdio.h: Likewise.
34044 * stdlib/bits/stdlib.h: Likewise.
34045 * stdlib/stdlib.h: Likewise.
34046 * rt/bits/mqueue2.h: Likewise.
34047 * rt/mqueue.h: Likewise.
34048 * posix/bits/unistd.h: Likewise.
34049 * posix/unistd.h: Likewise.
34050 * io/bits/poll2.h: Likewise.
34051 * io/bits/fcntl2.h: Likewise.
34052 * io/fcntl.h: Likewise.
34053 * io/sys/poll.h: Likewise.
34054 * misc/bits/syslog.h: Likewise.
34055 * misc/bits/syslog-ldbl.h: Likewise.
34056 * misc/sys/syslog.h: Likewise.
34057 * socket/bits/socket2.h: Likewise.
34058 * socket/sys/socket.h: Likewise.
34059 * debug/tst-chk1.c: Likewise.
34060 * wcsmbs/bits/wchar2.h: Likewise.
34061 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34062 * wcsmbs/wchar.h: Likewise.
34064 2012-04-29 Andreas Jaeger <aj@suse.de>
34066 * Makerules (tests): Remove enable-check-abi protection.
34067 (check-abi-warn): Remove.
34068 (check-abi-%): Remove check-abi-warn usage.
34070 * configure.in: Remove check-abi configure option.
34071 * configure: Regenerated.
34072 * config.make.in (enable-check-abi): Remove.
34074 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34077 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34078 double functions to double *_finite functions.
34081 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34082 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34084 * stdio-common/Makefile (tests): Add tst-sprintf3.
34085 * stdio-common/tst-sprintf3.c: New file.
34087 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34088 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34090 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34092 * conform/conformtest.pl: Remove duplicate typed-constant
34095 2012-04-28 David S. Miller <davem@davemloft.net>
34097 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34098 (check-abi-%): Remove AWK script prerequisite and explicit
34100 (check-abi): Rewrite to just diff the symlist with the abilist.
34101 (config-tls, config-abi-config): Delete, no longer used.
34102 (update-abi-%): Remove AWK script and explicit abilist directory.
34103 (update-abi): Rewrite to simply compare and conditionally copy the
34104 symlist and the sysdep abilist file. Remove update-abi-config
34106 * abilist/ld.abilist: Remove.
34107 * abilist/libBrokenLocale.abilist: Remove.
34108 * abilist/libanl.abilist: Remove.
34109 * abilist/libcrypt.abilist: Remove.
34110 * abilist/libdl.abilist: Remove.
34111 * abilist/librt.abilist: Remove.
34112 * abilist/libthread_db.abilist: Remove.
34113 * abilist/libutil.abilist: Remove.
34114 * scripts/extract-abilist.awk: Remove.
34115 * scripts/merge-abilist.awk: Remove.
34116 * sysdeps/generic/libcidn.abilist: New file.
34117 * sysdeps/generic/libnss_compat.abilist: New file.
34118 * sysdeps/generic/libnss_db.abilist: New file.
34119 * sysdeps/generic/libnss_dns.abilist: New file.
34120 * sysdeps/generic/libnss_files.abilist: New file.
34121 * sysdeps/generic/libnss_hesiod.abilist: New file.
34122 * sysdeps/generic/libnss_nis.abilist: New file.
34123 * sysdeps/generic/libnss_nisplus.abilist: New file.
34124 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34125 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34126 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34129 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34130 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34131 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34132 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34134 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34135 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34136 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34138 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34144 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34145 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34146 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34150 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34154 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34258 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34259 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34262 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34263 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34267 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34269 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34270 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34322 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34324 * conform/conformtest.pl: Fix typo in handling typed-constant from
34327 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34329 * README: Cut down references to pre-2.6 Linux kernels and
34330 Linuxthreads. Update lists of configurations in libc and ports
34331 and sort alphabetically. Say "or newer" with Linux kernel version
34334 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34336 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34339 * math/libm-test.inc (logb_test_downward): New test to expose
34340 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34343 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34346 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34348 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34349 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34351 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34353 * sysdeps/unix/i386/brk.S: Remove file.
34354 * sysdeps/unix/i386/dl-brk.S: Likewise.
34355 * sysdeps/unix/i386/pipe.S: Likewise.
34356 * sysdeps/unix/i386/sigreturn.S: Likewise.
34357 * sysdeps/unix/i386/syscall.S: Likewise.
34358 * sysdeps/unix/i386/vfork.S: Likewise.
34359 * sysdeps/unix/i386/wait.S: Likewise.
34361 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34362 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34364 * configure.in (arm*-none*): Do not allow without
34365 --enable-hacker-mode.
34366 (netbsd*): Remove case setting base_os.
34367 (386bsd*): Likewise.
34368 (freebsd*): Likewise.
34371 (sunos*): Likewise.
34372 (ultrix*): Likewise.
34373 (newsos*): Likewise.
34374 (dynix*): Likewise.
34380 (minix*): Likewise.
34381 (irix4*): Likewise.
34382 (irix6*): Likewise.
34383 (solaris[2-9]*): Likewise.
34385 * configure: Regenerated.
34387 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34391 overflow or cancellation in calculating denominator.
34392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34394 down expression to avoid unexpected rounding in newer GCCs.
34395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34397 2012-04-26 David S. Miller <davem@davemloft.net>
34399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34400 long-double compat symbols.
34401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34415 2012-04-25 David S. Miller <davem@davemloft.net>
34417 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34418 HWCAP_* values only after the memory barriers have been defined.
34419 (atomic_full_barrier): Define.
34420 (atomic_read_barrier): Define.
34421 (atomic_write_barrier): Define.
34423 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34425 * shlib-versions: Add libgcc_s version information.
34426 * sysdeps/generic/libgcc_s.h: Remove.
34427 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34429 * sysdeps/gnu/unwind-resume.c: Likewise.
34430 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34432 2012-04-25 David S. Miller <davem@davemloft.net>
34434 * sysdeps/unix/sparc/brk.S: Delete.
34435 * sysdeps/unix/sparc/dl-brk.S: Delete.
34436 * sysdeps/unix/sparc/pipe.S: Delete.
34437 * sysdeps/unix/sparc/sysdep.S: Delete.
34438 * sysdeps/unix/sparc/sysdep.h: Delete.
34439 * sysdeps/unix/sparc/vfork.S: Delete.
34440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34441 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34442 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34443 (ret_ERRVAL, r0, r1, MOVE): Define.
34444 (JUMPTARGET): Remove.
34445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34446 sysdeps/unix/sparc/sysdep.h
34447 (ENTRY, END): Remove.
34448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34450 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34452 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34453 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34456 * timezone/README: Update upstream location and email address for
34458 * timezone/zdump.c: Update from tzcode 2012b.
34459 * timezone/zic.c: Likewise.
34461 * configure.in (libc_cv_as_needed): Remove test.
34462 * configure: Regenerated.
34463 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34464 conditional definition.
34465 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34466 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34467 * config.make.in (have-as-needed): Remove variable.
34469 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34470 Paul Pluzhnikov <ppluzhnikov@google.com>
34472 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34475 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34477 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34478 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34479 * sysdeps/sh/strlen.S: Likewise.
34481 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34483 * sysdeps/unix/fork.S: Remove file.
34484 * sysdeps/unix/i386/fork.S: Likewise.
34485 * sysdeps/unix/sparc/fork.S: Likewise.
34487 * sysdeps/unix/system.c: Remove file.
34488 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34490 * sysdeps/unix/getegid.S: Remove file.
34491 * sysdeps/unix/geteuid.S: Likewise.
34493 2012-04-24 Roland McGrath <roland@hack.frob.com>
34495 * scripts/check-localplt.awk: New file.
34496 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34498 * scripts/data/localplt-generic.data: Add a comment.
34500 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34501 NODE when __dir_mkfile failed.
34502 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34503 Reported by Ludovic Courtès <ludo@gnu.org>.
34505 2012-04-24 Andreas Jaeger <aj@suse.de>
34507 * Makerules (common-clean): Also remove gen-as-const-headers
34510 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34512 * Makerules (native-compile): Do not change working directory for
34513 build. Use $(OUTPUT_OPTION) in command.
34514 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34516 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34519 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34520 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34521 * math/libm-test.inc (floor_test): Add more tests.
34522 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34524 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34526 * sysdeps/unix/getdents.c: Remove file.
34527 * sysdeps/unix/sysv/getdents.c: Likewise.
34528 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34530 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34531 sysdeps/unix/mman/syscalls.list.
34533 (mprotect): Likewise.
34535 (munmap): Likewise.
34536 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34537 * sysdeps/unix/mman/syscalls.list: Remove.
34538 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34540 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34541 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34542 * configure: Regenerated.
34543 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34544 $(libgcc_s_suffix).
34545 * config.make.in (libgcc_s_suffix): Remove variable.
34547 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34549 * sysdeps/unix/sysv/gethostname.c: Move to ...
34550 * sysdeps/posix/gethostname.c: ... here.
34552 * sysdeps/unix/execve.S: Remove file.
34554 * sysdeps/unix/_exit.S: Remove file.
34556 2012-04-23 Andreas Jaeger <aj@suse.de>
34559 * manual/Makefile: Remove make dist support, there's no
34560 need for a stand-alone documentation tar ball.
34561 (TEXI2DVI): Define always, it's not in Makeconfig.
34564 (edition): Removed.
34565 (glibc-doc-$(edition).tar): Removed
34569 (ETAGS): Remove, it's in Makeconfig.
34570 (move-if-change): Remove, it's in Makeconfig.
34572 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34575 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34576 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34577 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34578 (strtod_l, strtof_l, strtold_l): Remove __wur.
34579 It is not necessarily an error to ignore strtol's return value.
34580 One can reliably look at the stored endptr to decide whether
34581 the number had valid syntax.
34583 2012-04-21 Andreas Jaeger <aj@suse.de>
34586 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34588 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34590 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34591 * sysdeps/unix/sysv/Versions: Remove file.
34593 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34598 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34602 version from __vm86.
34604 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34606 * sysdeps/unix/common/lxstat.c: Remove file.
34607 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34609 * sysdeps/unix/sysv/Makefile: Remove file.
34611 * sysdeps/unix/sysv/direct.h: Remove file.
34613 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34614 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34615 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34616 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34617 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34618 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34619 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34621 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34623 * sysdeps/unix/xmknod.c: Remove file.
34624 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34626 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34628 * sysdeps/unix/sysv/i386/time.S: Remove file.
34630 * sysdeps/unix/fxstat.c: Remove file.
34631 * sysdeps/unix/xstat.c: Likewise.
34632 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34634 * sysdeps/unix/sysv/sigaction.c: Remove file.
34636 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34637 (sysdep_headers): Remove variable.
34638 [termio.h not in sysdep_headers] (generated): Likewise.
34639 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34640 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34641 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34642 * sysdeps/unix/sysv/tcflow.c: Likewise.
34643 * sysdeps/unix/sysv/tcflush.c: Likewise.
34644 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34645 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34646 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34647 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34648 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34650 * sysdeps/unix/siglist.c: Remove file.
34652 * sysdeps/unix/getppid.S: Remove file.
34654 * sysdeps/unix/mkdir.c: Remove file.
34655 * sysdeps/unix/rmdir.c: Likewise.
34657 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34659 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34662 errlist-compat value.
34664 2012-04-18 David S. Miller <davem@davemloft.net>
34666 * sysdeps/generic/memcopy.h (reg_char): Delete.
34667 * debug/strcat_chk.c: Use char, not reg_char.
34668 * debug/strcpy_chk.c: Likewise.
34669 * debug/strncat_chk.c: Likewise.
34670 * debug/strncpy_chk.c: Likewise.
34671 * string/memchr.c: Likewise.
34672 * string/memrchr.c: Likewise.
34673 * string/rawmemchr.c: Likewise.
34674 * string/strcat.c: Likewise.
34675 * string/strchr.c: Likewise.
34676 * string/strchrnul.c: Likewise.
34677 * string/strcmp.c: Likewise.
34678 * string/strcpy.c: Likewise.
34679 * string/strncat.c: Likewise.
34680 * string/strncmp.c: Likewise.
34681 * string/strncpy.c: Likewise.
34683 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34685 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34686 __builtin_memcopy is called when src and dest ranges are known to not
34689 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34692 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34693 fwd_align_merge macro call.
34694 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34695 bwd_align_merge macro call.
34696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34698 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34701 bwd_align_merge macros.
34702 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34703 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34704 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34706 2012-04-18 David S. Miller <davem@davemloft.net>
34708 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34710 2012-04-18 Andreas Jaeger <aj@suse.de>
34713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34714 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34718 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34719 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34721 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34722 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34723 Adjust for changed ldbl-128 files.
34725 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34726 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34727 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34729 2012-04-17 David S. Miller <davem@davemloft.net>
34731 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34733 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34735 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34736 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34737 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34738 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34739 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34740 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34742 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34745 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34746 * math/libm-test.inc: Add ilogb errno and exception tests.
34747 * math/w_ilogb.c: New file: ilogb wrapper.
34748 * math/w_ilogbf.c: New file: ilogbf wrapper.
34749 * math/w_ilogbl.c: New file: ilogbl wrapper.
34750 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34751 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34752 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34753 exception being thrown with 0.0 as argument.
34754 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34755 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34756 exception being thrown with 0.0 as argument.
34757 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34758 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34759 exception being thrown with 0.0 as argument.
34760 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34761 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34762 exception being thrown with 0.0 as argument.
34763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34764 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34766 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34768 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34769 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34770 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34771 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34773 2012-04-17 Petr Baudis <pasky@ucw.cz>
34775 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34778 2012-04-16 Marek Polacek <polacek@redhat.com>
34780 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34782 2012-04-16 Marek Polacek <polacek@redhat.com>
34784 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34785 operands of fdivp instruction.
34787 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34789 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34790 * elf/tst-auditmod3b.c: Likewise.
34791 * elf/tst-auditmod4b.c: Likewise.
34792 * elf/tst-auditmod5b.c: Likewise.
34793 * elf/tst-auditmod6b.c: Likewise.
34794 * elf/tst-auditmod6c.c: Likewise.
34795 * elf/tst-auditmod7b.c: Likewise.
34796 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34797 * sysdeps/x86_64/preconfigure.in: Likewise.
34798 * sysdeps/x86_64/preconfigure: Regenerated.
34800 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34802 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34805 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
34807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34808 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34810 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34813 * locale/iso-639.def: Fix gl language name. Spotted by
34816 2012-04-12 Roland McGrath <roland@hack.frob.com>
34819 * libio/libio.h (__io_write_fn): Update comment.
34821 2012-04-12 Petr Baudis <pasky@ucw.cz>
34824 * stdio.texi (Hook Functions): The user provided writer function
34825 is not allowed to return -1.
34827 2012-04-11 David S. Miller <davem@davemloft.net>
34829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34831 2012-04-11 Mike Frysinger <vapier@gentoo.org>
34833 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34834 Add a leading slash to rtkaio.
34836 2012-04-11 Jim Meyering <meyering@redhat.com>
34839 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34840 It is not necessarily an error to ignore fwrite's return
34841 value. One can reliably use ferror to test for errors after
34844 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34846 * bits/types.h (__snseconds_t): New type.
34847 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34849 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34851 (__SNSECONDS_T_TYPE): Likewise.
34852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34853 (__SNSECONDS_T_TYPE): Likewise.
34854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34855 (__SNSECONDS_T_TYPE): Likewise.
34857 2012-04-10 Andreas Jaeger <aj@suse.de>
34860 * manual/time.texi (Processor Time): Return type of times is
34861 elapsed real time since an arbitrary point in the past.
34862 (CPU Time): Move CLK_TCK from here...
34863 (Processor Time): ...to here. Correct description.
34864 * manual/conf.texi (Constants for Sysconf): Correct description of
34867 2012-04-10 David S. Miller <davem@davemloft.net>
34870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34871 where the is a gap between DT_REL(A) and DT_JMPREL.
34873 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34875 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34879 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34881 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34882 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34883 (dl_main): Handle --inhibit-cache.
34884 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34886 * elf/dl-load.c (_dl_map_object): Use it.
34887 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34889 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34892 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34893 (__ieee754_powl): Saturate large exponents rather than testing for
34894 overflow of y*log2(x).
34895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34896 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34900 * math/s_ctan.c: Include <float.h>.
34901 (__ctan): Avoid internal overflow or cancellation in calculating
34903 * math/s_ctanf.c: Likewise.
34904 * math/s_ctanl.c: Likewise.
34905 * math/s_ctanh.c: Likewise.
34906 * math/s_ctanhf.c: Likewise.
34907 * math/s_ctanhl.c: Likewise.
34908 * math/libm-test.inc (ctan_test): Add more tests.
34909 (ctanh_test): Likewise.
34910 * sysdeps/i386/fpu/libm-test-ulps: Update.
34911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34913 2012-04-09 Andreas Jaeger <aj@suse.de>
34916 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34917 is an optional BSD extension.
34920 * manual/stdio.texi (Opening Streams): Document additional fopen
34923 2012-04-09 Roland McGrath <roland@hack.frob.com>
34925 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34926 %eax without telling the compiler.
34928 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34931 * manual/install.texi: Use sourceware.org.
34933 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34936 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34937 (__ieee754_pow): Generate overflow and underflow using huge*huge
34938 and tiny*tiny rather than just returning constant infinity or zero
34939 for large exponents.
34940 * math/libm-test.inc (pow_test): Require overflow exceptions for
34941 applicable cases of large exponents.
34944 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34945 (__ieee754_pow): Use iterative multiplication algorithm only for
34946 integer exponents with absolute value below 1024. Check for odd
34947 integer exponents when using algorithm for real exponents.
34948 * math/libm-test.inc (pow_test): Add more tests.
34949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34951 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34954 * math/libm-test.inc (exp_test): Do not allow overflow exception
34957 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34960 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34961 instead of __kernel_standard_f.
34963 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34965 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34966 * sysdeps/x86_64/memset_chk.S: Likewise.
34968 2012-04-08 Andreas Jaeger <aj@suse.de>
34971 * manual/startup.texi (Environment Access): Describe return value
34972 for putenv and setenv.
34975 * manual/filesys.texi (Directory Entries): Add description for
34979 * manual/filesys.texi (Directory Entries): Clarify that it's file
34980 system not operating system in the description of DT_UNKNOWN.
34983 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34985 2012-04-08 Stephen Compall <s11@member.fsf.org>
34988 * manual/llio.texi (Opening and Closing Files): Add cross
34989 reference to explain mode argument.
34991 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34993 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34994 * sysdeps/x86_64/memset_chk.S: Likewise.
34996 2012-04-07 David S. Miller <davem@davemloft.net>
34998 * elf/elf.h (R_SPARC_WDISP10): Define.
34999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35002 R_SPARC_SIZE64 and R_SPARC_H34.
35004 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35007 conditions and remove no longer applicable assertion.
35009 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35011 * bits/byteswap.h: Include <features.h>.
35012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35015 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35017 * bits/byteswap.h (__bswap_16): Removed.
35018 Include <bits/byteswap-16.h> to get __bswap_16.
35019 * sysdeps/i386/bits/byteswap.h: Likewise.
35020 * sysdeps/s390/bits/byteswap.h: Likewise.
35021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35022 * bits/byteswap-16.h: New file.
35023 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35024 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35025 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35026 * string/Makefile (headers): Add bits/byteswap-16.h.
35028 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35031 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35033 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35034 * nss/tst-nss-static.c: New.
35036 2012-04-06 Robert Millan <rmh@gnu.org>
35039 * manual/llio.texi (File Position Primitive): lseek
35040 refers to WHENCE when it really means OFFSET.
35042 2012-04-06 Andreas Jaeger <aj@suse.de>
35044 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35045 strncmp declarations.
35047 * abilist/libc.abilist: Add __poll and __ppoll.
35049 2012-04-05 David S. Miller <davem@davemloft.net>
35051 * scripts/check-local-headers.sh: Accept a host triplet in the
35052 path matched by the exclude regexp.
35054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35056 * sysdeps/powerpc/powerpc32/dl-machine.h
35057 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35058 * sysdeps/s390/s390-32/dl-machine.h
35059 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35060 * sysdeps/sparc/sparc32/dl-machine.h
35061 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35062 * sysdeps/sparc/sparc64/dl-machine.h
35063 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35065 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35068 undefined symbol errors.
35070 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35073 2012-04-05 Michael Matz <matz@suse.de>
35076 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35078 2012-04-05 Andreas Jaeger <aj@suse.de>
35081 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35084 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35087 which ROUND is no valid rounding mode.
35089 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35093 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35095 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35098 an exception using FPU order intentionally.
35100 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35102 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35103 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35104 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35105 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35107 2012-04-05 Simon Josefsson <simon@josefsson.org>
35110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35111 EINVAL when BUFLEN is too smal.
35113 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35116 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35117 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35119 2012-04-03 Andreas Jaeger <aj@suse.de>
35122 * manual/setjmp.texi (System V contexts): Fix sentence.
35125 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35126 New macro for this case.
35127 [!__GNUC__] (__bswap_64): New inline function for this case.
35128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35129 * bits/byteswap.h: Likewise.
35130 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35131 ull, guard with __GLIBC_HAVE_LONG_LONG.
35133 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35134 __GLIBC_HAVE_LONG_LONG.
35136 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35137 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35139 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35142 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35143 inptr and inend, rather than using last_ch.
35145 2012-04-02 David S. Miller <davem@davemloft.net>
35147 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35148 * stdio-common/printf-parse.h (read_int): Change return type to
35149 'int', return -1 on INT_MAX overflow.
35150 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35151 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35152 overflows INT_MAX. Check for overflow of in-format-string precision
35153 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35154 SIZE_MAX not INT_MAX for integer overflow test.
35155 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35156 skip the construct in the format string but do not record anything.
35157 * stdio-common/bug22.c: Adjust to test both width/prevision
35158 INT_MAX overflow as well as total length INT_MAX overflow. Check
35159 explicitly for proper errno values.
35161 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35163 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35165 * string/test-strcmp.c [! WIDE]: Likewise.
35166 * time/tst-mktime2.c: Likewise for INT_MAX.
35167 * string/test-string.h: #include <sys/param.h> for MIN.
35169 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35170 * sysdeps/i386/init-first.c (init): Likewise.
35171 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35172 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35173 * sysdeps/sh/init-first.c (init): Likewise.
35175 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35177 * po/ru.po: Update from translation team.
35178 * po/vi.po: Likewise.
35180 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35182 * resolv/nss_dns/dns-host.c: Merge copyright years.
35184 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35187 Optimize memcpy with prefetch if
35188 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35189 src, dst pointers have unequal 16 byte alignments.
35191 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35194 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35195 from a CNAME entry and return the minimum ttl for the query.
35196 (gaih_getanswer_slice): Likewise.
35198 2012-03-30 Jeff Law <law@redhat.com>
35200 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35202 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35203 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35205 * resolv/nss_dns/dns-host.c: Update copyright year.
35207 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35209 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35210 requests to save a system call. Fix check that all bytes are sent.
35212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35213 comments for sendmmsg.
35215 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35218 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35219 with only 1 character between 0x0041 and 0x01b0.
35220 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35221 * wcsmbs/tst-mbsnrtowcs.c: New file.
35223 2012-03-29 David S. Miller <davem@davemloft.net>
35225 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35226 small copies by hand.
35228 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35231 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35232 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35235 2012-03-28 David S. Miller <davem@davemloft.net>
35237 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35238 that branches into memcpy.
35239 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35242 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35245 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35246 implementation too.
35247 * sysdeps/sparc/mempcpy.S: New file.
35249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35250 the IFUNC routine in the libc case.
35251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35253 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35254 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35255 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35256 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35257 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35258 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35259 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35260 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35262 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35263 loop to 256 bytes instead of 64 bytes and fix test signedness.
35265 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35266 * sysdeps/sparc/sparc32/Makefile: rather than here...
35267 * sysdeps/sparc/sparc64/Makefile: and here.
35269 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35271 * malloc/mallocbug.c: Avoid warnings about unused variables.
35273 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35276 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35277 in the right place. Discard and retry query if response is
35278 larger than input buffer size.
35280 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35286 x for large integer exponent.
35287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35288 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35289 sign of result as needed afterwards.
35290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35292 result for underflowing pow the same as for overflow.
35293 (__kernel_standard_l): Handle powl overflow and underflow here
35294 rather than calling __kernel_standard.
35295 * math/libm-test.inc (pow_test): Add more tests.
35310 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35311 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35312 (__kernel_standard_l): New function.
35313 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35315 * math/w_acosl.c (__acosl): Likewise.
35316 * math/w_asinl.c (__asinl): Likewise.
35317 * math/w_atan2l.c (__atan2l): Likewise.
35318 * math/w_atanhl.c (__atanhl): Likewise.
35319 * math/w_coshl.c (__coshl): Likewise.
35320 * math/w_exp10l.c (__exp10l): Likewise.
35321 * math/w_exp2l.c (__exp2l): Likewise.
35322 * math/w_fmodl.c (__fmodl): Likewise.
35323 * math/w_hypotl.c (__hypotl): Likewise.
35324 * math/w_j0l.c (__j0l, __y0l): Likewise.
35325 * math/w_j1l.c (__j1l, __y1l): Likewise.
35326 * math/w_jnl.c (__jnl, __ynl): Likewise.
35327 * math/w_lgammal.c (__lgammal): Likewise.
35328 * math/w_log10l.c (__log10l): Likewise.
35329 * math/w_log2l.c (__log2l): Likewise.
35330 * math/w_logl.c (__logl): Likewise.
35331 * math/w_powl.c (__powl): Likewise.
35332 * math/w_remainderl.c (__remainderl): Likewise.
35333 * math/w_scalbl.c (sysv_scalbl): Likewise.
35334 * math/w_sinhl.c (__sinhl): Likewise.
35335 * math/w_sqrtl.c (__sqrtl): Likewise.
35336 * math/w_tgammal.c (__tgammal): Likewise.
35337 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35338 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35339 * math/libm-test.inc (acos_test): Add more tests.
35340 (acosh_test): Likewise.
35341 (asin_test): Likewise.
35342 (atanh_test): Likewise.
35343 (exp_test): Likewise.
35344 (exp10_test): Likewise.
35345 (exp2_test): Likewise.
35346 (expm1_test): Likewise.
35347 (lgamma_test): Likewise.
35348 (log_test): Likewise.
35349 (log10_test): Likewise.
35350 (log1p_test): Likewise.
35351 (log2_test): Likewise.
35352 (pow_test): Do not allow some spurious overflow exceptions.
35353 (sqrt_test): Add more tests.
35354 (tgamma_test): Likewise.
35355 (y0_test): Likewise.
35356 (y1_test): Likewise.
35357 (yn_test): Likewise.
35359 2012-03-27 Anton Blanchard <anton@samba.org>
35361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35367 2012-03-27 David S. Miller <davem@davemloft.net>
35369 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35371 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35372 have-as-vis3 check.
35374 2012-03-27 Andreas Jaeger <aj@suse.de>
35376 * sysdeps/x86_64/elf/configure.in: Moved to ...
35377 * sysdeps/x86_64/configure.in: ... here.
35378 * sysdeps/x86_64/elf/start.S: Moved to ...
35379 * sysdeps/x86_64/start.S: ... here.
35380 * sysdeps/x86_64/elf/configure: Delete.
35382 * sysdeps/x86_64/configure.in: Merge contents from
35383 sysdeps/i386/configure.in (without i686 check).
35385 * sysdeps/i386/elf/Versions: Merge into ...
35386 * sysdeps/i386/Versions: ... this.
35387 * sysdeps/i386/elf/Versions: Delete file.
35388 * sysdeps/i386/elf/start.S: Moved to ...
35389 * sysdeps/i386/start.S: ...here.
35390 * sysdeps/i386/elf/configure.in: Merge into...
35391 * sysdeps/i386/configure.in: ...here.
35392 * sysdeps/i386/elf/configure.in: Delete file.
35393 * sysdeps/i386/elf/configure: Delete file.
35395 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35396 * debug/backtracesyms.c: ... here.
35397 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35398 * debug/backtracesymsfd.c: ... here.
35399 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35400 * sysdeps/generic/ifunc-sel.h: ... here.
35402 * sysdeps/unix/i386/start.c: Delete file.
35403 * sysdeps/unix/sparc/start.c: Delete file.
35404 * sysdeps/unix/start.c: Delete file.
35406 * sysdeps/sh/elf/configure.in: Moved to ...
35407 * sysdeps/sh/configure.in: ... here.
35408 * sysdeps/sh/elf/start.S: Moved to ...
35409 * sysdeps/sh/start.S: ... here.
35410 * sysdeps/sh/elf/configure: Delete file.
35412 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35413 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35414 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35415 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35416 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35417 * sysdeps/powerpc/powerpc64/start.S: here.
35418 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35419 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35420 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35421 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35422 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35424 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35425 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35426 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35427 * sysdeps/powerpc/powerpc32/start.S: ... here.
35428 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35429 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35430 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35432 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35433 * sysdeps/powerpc/ifunc-sel.h: ... here.
35434 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35435 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35437 * sysdeps/sparc/elf/configure.in: Moved to ...
35438 * sysdeps/sparc/configure.in: ... here.
35439 * sysdeps/sparc/elf/configure: Delete file.
35440 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35441 * sysdeps/sparc/sparc32/start.S: ... here.
35442 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35443 * sysdeps/sparc/sparc64/start.S: ... here.
35444 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35445 * sysdeps/sparc/sparc32/Makefile: ... this.
35446 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35447 * sysdeps/sparc/sparc64/Makefile: ... this.
35449 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35450 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35451 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35452 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35453 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35454 * sysdeps/s390/s390-32/setjmp.S: ... here.
35455 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35456 * sysdeps/s390/s390-32/configure.in: ... here.
35457 * sysdeps/s390/s390-32/elf/configure: Delete file.
35458 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35459 * sysdeps/s390/s390-32/start.S: ... here.
35461 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35462 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35463 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35464 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35465 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35466 * sysdeps/s390/s390-64/setjmp.S: ... here.
35467 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35468 * sysdeps/s390/s390-64/configure.in: ... here
35469 * sysdeps/s390/s390-64/elf/configure: Delete file.
35470 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35471 * sysdeps/s390/s390-64/start.S: ... here.
35472 * sysdeps/s390/s390-64/elf/configure: Delete.
35474 * configure.in: Remove support for elf directories in sysdeps.
35476 * configure: Regenerated.
35477 * sysdeps/i386/configure: Regenerated.
35478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35480 * sysdeps/s390/s390-32/configure: Regenerated.
35481 * sysdeps/s390/s390-64/configure: Regenerated.
35482 * sysdeps/sh/configure: Regenerated.
35483 * sysdeps/sparc/configure: Regenerated.
35484 * sysdeps/x86_64/configure: Regenerated.
35486 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35491 denormal result into account.
35493 2012-03-25 Roland McGrath <roland@hack.frob.com>
35495 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35496 Reported by Allan McRae <allan@archlinux.org>.
35498 2012-03-23 Jeff Law <law@redhat.com>
35500 * nss/getnssent.c (__nss_getent): Fix typo.
35502 2012-03-23 David S. Miller <davem@davemloft.net>
35504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35506 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35508 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35509 to pad to uint64_t for each field.
35510 (dl_tls_index): Replace unsigned long with uint64_t.
35512 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35513 Paul Pluzhnikov <ppluzhnikov@google.com>
35516 * grp/Makefile (otherlibs): Don't set it.
35517 * inet/Makefile (otherlibs): Likewise.
35518 * login/Makefile (otherlibs): Likewise.
35519 * nscd/Makefile (otherlibs): Likewise.
35520 * posix/Makefile (otherlibs): Likewise.
35521 * pwd/Makefile (otherlibs): Likewise.
35522 * rt/Makefile (otherlibs): Likewise.
35523 * sunrpc/Makefile (otherlibs): Likewise.
35524 * nss/Makefile (otherlibs): Likewise.
35525 Add libnss_files to routines and static-only-routines.
35526 ($(objpfx)getent): Remove rule.
35527 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35528 static-only-routines.
35530 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35533 * math/s_cexp.c: Include <float.h>.
35534 (__cexp): Handle exp result overflowing not necessarily
35535 overflowing both real and imaginary parts of result.
35536 * math/s_cexpf.c: Likewise.
35537 * math/s_cexpl.c: Likewise.
35538 * math/libm-test.inc (cexp_test): Add more tests.
35539 * sysdeps/i386/fpu/libm-test-ulps: Update.
35540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35542 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35544 * include/link.h (ELFW): New macro.
35545 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35546 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35548 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35550 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35553 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35555 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35557 (struct La_x32_retval): Likewise.
35559 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35561 * sysdeps/x86_64/preconfigure.in: New file.
35562 * sysdeps/x86_64/preconfigure: New generated file.
35564 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35567 * math/e_exp2l.c: Include <float.h>.
35568 (__ieee754_exp2l): Handle overflow and underflow cases
35569 separately. Only pass fractional part of argument to
35571 * math/libm-test.inc (exp2_test): Add more tests.
35573 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35574 negating x to take absolute value.
35575 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35580 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35581 computing low part if x was negated.
35582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35584 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35586 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35587 la_x32_gnu_pltexit.
35588 (pltexit): Cast int_retval to ptrdiff_t.
35589 * elf/tst-auditmod3b.c: Likewise.
35590 * elf/tst-auditmod4b.c: Likewise.
35591 * elf/tst-auditmod5b.c: Likewise.
35592 * elf/tst-auditmod6b.c: Likewise.
35593 * elf/tst-auditmod6c.c: Likewise.
35594 * elf/tst-auditmod7b.c: Likewise.
35596 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35597 and x32_gnu_pltexit.
35599 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35600 __ELF_NATIVE_CLASS.
35601 (La_x32_regs): New macro.
35602 (La_x32_retval): Likewise.
35603 (la_x32_gnu_pltenter): New function prototype.
35604 (la_x32_gnu_pltexit): Likewise.
35606 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35613 * configure.in (libc_cv_cc_nofma): Check for option to disable
35614 generation of FMA instructions.
35615 * configure: Regenerate.
35616 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35617 * sysdeps/ieee754/dbl-64/Makefile: New file.
35618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35619 Remove brandred-fma4.
35620 (CFLAGS-brandred-fma4.c): Remove.
35621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35622 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35624 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35627 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35630 LLONG_MAX != LONG_MAX.
35631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35632 (_fitoa_word): Likewise.
35633 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35634 LLONG_MAX != LONG_MAX.
35635 * stdio-common/_itowa.h: Include <_itoa.h>.
35636 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35637 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35638 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35639 only if not defined.
35640 (_ITOA_WORD_TYPE): Likewise.
35641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35642 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35644 2012-03-21 David S. Miller <davem@davemloft.net>
35646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35648 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35650 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35651 of x86_64 when setting libc_cv_slibdir, libdir and
35653 * sysdeps/unix/sysv/linux/configure: Regenerated.
35655 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35657 * manual/lang.texi (Old Varargs): Remove section.
35658 (How Variadic): Update menu.
35659 (va_start): Do not mention varargs.h.
35661 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35662 Joseph Myers <joseph@codesourcery.com>
35664 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35666 * configure: Regenerated.
35668 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35670 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35671 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35674 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35677 * Makefile (files-for-dist): Remove NOTES.
35678 (NOTES): Remove rule.
35679 * README: Don't refer to NOTES.
35680 * manual/creature.texi: Don't include macros.texi.
35681 * manual/intro.texi (creature.texi): Remove comment referring to
35684 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35685 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35686 * configure: Regenerated.
35687 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35688 LIBC_TRY_CC_OPTION.
35689 (libc_cv_as_i686): Likewise.
35690 (libc_cv_cc_avx): Likewise.
35691 (libc_cv_cc_sse2avx): Likewise.
35692 (libc_cv_cc_fma4): Likewise.
35693 (libc_cv_cc_novzeroupper): Likewise.
35694 * sysdeps/i386/configure: Regenerated.
35697 * sysdeps/i386/fpu/s_cexp.S: Remove.
35698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35699 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35700 * math/libm-test.inc (cexp_test): Add more tests.
35701 * sysdeps/i386/fpu/libm-test-ulps: Update.
35702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35704 2012-03-21 Allan McRae <allan@archlinux.org>
35706 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35708 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35711 * math/w_exp2.c: Do not include <float.h>.
35712 (o_threshold, u_threshold): Remove.
35713 (__exp2): Calculate result before checking finiteness and calling
35715 * math/w_exp2f.c: Likewise.
35716 * math/w_exp2l.c: Likewise.
35717 * math/libm-test.inc (exp2_test): Require overflow exception for
35721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35722 range of signed 64-bit integers before using fistpll. Remove
35723 checks for whether integers fit in mantissa bits.
35724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35725 the range of signed 32-bit integers before using fistpl. Remove
35726 checks for whether integers fit in mantissa bits.
35727 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35728 (__ieee754_powl): Test for y outside the range of signed 64-bit
35729 integers before using fistpll. Reduce 64-bit values to 63-bit
35731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35732 divide-by-zero is raised for zero to large negative powers.
35733 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35734 (__ieee754_powl): Test for y outside the range of signed 64-bit
35735 integers before using fistpll. Reduce 64-bit values to 63-bit
35737 * math/libm-test.inc (pow_test): Add more tests.
35739 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35741 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35742 <stdio-common/_itoa.h>.
35743 * debug/segfault.c: Likewise.
35744 * elf/dl-cache.c: Likewise.
35745 * elf/dl-minimal.c: Likewise.
35746 * elf/dl-misc.c: Likewise.
35747 * elf/dl-sysdep.c: Likewise.
35748 * elf/dl-version.c: Likewise.
35749 * elf/rtld.c: Likewise.
35750 * hurd/hurdsock.c: Likewise.
35751 * hurd/lookup-retry.c: Likewise.
35752 * malloc/malloc.c: Likewise.
35753 * malloc/mtrace.c: Likewise.
35754 * nscd/nscd_getgr_r.c: Likewise.
35755 * nscd/nscd_getpw_r.c: Likewise.
35756 * nscd/nscd_getserv_r.c: Likewise.
35757 * posix/getopt_init.c: Likewise.
35758 * posix/wordexp.c: Likewise.
35759 * stdio-common/_itoa.c: Likewise.
35760 * stdio-common/printf_fphex.c: Likewise.
35761 * stdio-common/vfprintf.c: Likewise.
35762 * string/_strerror.c: Likewise.
35763 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35764 * sysdeps/i386/i686/hp-timing.h: Likewise.
35765 * sysdeps/mach/_strerror.c: Likewise.
35766 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35767 * sysdeps/mach/hurd/sethostid.c: Likewise.
35768 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35769 * sysdeps/mach/xpg-strerror.c: Likewise.
35770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35772 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35773 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35775 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35777 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35778 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35779 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35780 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35781 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35782 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35783 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35784 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35785 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35786 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35787 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35788 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35789 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35790 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35792 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35794 * stdio-common/_itoa.h: Moved to ...
35795 * sysdeps/generic/_itoa.h: Here.
35797 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35799 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35800 instead of "_itoa.h" and "_itowa.h".
35801 * stdio-common/vfprintf.: Likewise.
35803 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35807 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35808 (__signbit): Likwise.
35809 (llrintf): Likwise.
35812 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35814 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35817 2012-03-20 Joseph Myers <joseph@codesourcery.com>
35819 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35820 OVERFLOW_EXCEPTION_OK.
35821 * math/libm-test.inc ("Philosophy"): Update comment about
35823 (OVERFLOW_EXCEPTION): Define.
35824 (OVERFLOW_EXCEPTION_OK): Likewise.
35825 (INVALID_EXCEPTION_OK): Renumber.
35826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35827 (IGNORE_ZERO_INF_SIGN): Likewise.
35828 (test_exceptions): Handle FE_OVERFLOW.
35829 (exp10_test): Expect overflow exceptions.
35830 (exp2_test): Likewise.
35831 (expm1_test): Likewise.
35832 (nextafter_test): Likewise.
35833 (pow_test): Likewise.
35834 (scalbn_test): Likewise.
35835 (scalbln_test): Likewise.
35837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35839 * sysdeps/x86_64/bits/atomic.h
35840 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35842 (atomic_exchange_acq): Likewise.
35843 (__arch_exchange_and_add_body): Likewise.
35844 (__arch_add_body): Likewise.
35845 (atomic_add_negative): Likewise.
35846 (atomic_add_zero): Likewise.
35848 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35850 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35851 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35853 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35855 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35856 Check __x86_64__ instead of __WORDSIZE.
35858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35860 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35862 2012-03-19 David S. Miller <davem@davemloft.net>
35864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35866 * sysdeps/sparc/fpu/fenv_private.h: New file.
35867 * sysdeps/sparc/fpu/math_private.h: Use it.
35868 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35870 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35871 (libc_feholdexcept_setroundl): Remove.
35872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35874 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35875 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35877 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35879 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35880 int64_t instead of long int.
35881 (INSERT_WORDS64): Likwise.
35883 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35885 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35886 _Unwind_GetCFA return to _Unwind_Ptr first.
35888 2012-03-19 Joseph Myers <joseph@codesourcery.com>
35891 * math/s_clog.c: Include <float.h>.
35892 (__clog): Scale large or subnormal inputs.
35893 * math/s_clogf.c: Likewise.
35894 * math/s_clogl.c: Likewise.
35895 * math/s_clog10.c: Include <float.h>.
35896 (M_LOG10_2): Define.
35897 (__clog10): Scale large or subnormal inputs.
35898 * math/s_clog10f.c: Likewise.
35899 * math/s_clog10l.c: Likewise.
35900 * math/libm-test.inc (clog_test): Add more tests.
35901 (clog10_test): Likewise.
35902 * sysdeps/i386/fpu/libm-test-ulps: Update.
35903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35906 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35908 * math/libm-test.inc (atan2_test): Add another test.
35910 * Makerules (common-objdir-compile): Remove.
35911 * sysdeps/unix/Makefile (config-generated): Do not add
35912 $(unix-generated) to variable.
35913 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35914 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35916 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35918 [generic bits/local_lim.h] (before-compile): Do not append to
35920 [generic bits/local_lim.h] (common-generated): Likewise.
35921 [generic sys/param.h] (before-compile): Do not append to variable.
35922 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35923 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35924 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35925 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35927 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35928 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35929 [generic sys/param.h] ($(addprefix
35930 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35931 [generic sys/param.h] (common-generated): Do not append to
35933 [generic sys/param.h] (sysdep_headers): Likewise.
35934 [generic bits/errno.h] (before-compile): Do not append to
35936 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35938 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35939 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35940 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35941 [generic bits/errno.h] (common-generated): Do not append to
35943 [generic bits/ioctls.h] (before-compile): Do not append to
35945 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35947 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35948 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35949 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35951 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35952 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35953 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35954 [generic bits/ioctls.h] (common-generated): Do not append to
35956 [generic sys/syscall.h] (syscall.h): Remove variable.
35957 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35959 [generic sys/syscall.h] (before-compile): Do not append to
35961 [generic sys/syscall.h] (common-generated): Likewise.
35962 * sysdeps/unix/errnos-tmpl.c: Remove file.
35963 * sysdeps/unix/errnos.awk: Likewise.
35964 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35965 * sysdeps/unix/ioctls.awk: Likewise.
35966 * sysdeps/unix/mk-local_lim.c: Likewise.
35967 * sysdeps/unix/snarf-ioctls: Likewise.
35969 2012-03-19 Richard Henderson <rth@twiddle.net>
35971 * sysdeps/i386/fpu/fenv_private.h: New file.
35972 * sysdeps/i386/fpu/math_private.h: Use it.
35973 (math_opt_barrier, math_force_eval): Remove.
35974 (libc_feholdexcept_setround_53bit): Remove.
35975 (libc_feupdateenv_53bit): Remove.
35976 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35977 (math_opt_barrier, math_force_eval): Remove.
35978 (libc_feholdexcept): Remove.
35979 (libc_feholdexcept_setround): Remove.
35980 (libc_fetestexcept, libc_fesetenv): Remove.
35981 (libc_feupdateenv_test): Remove.
35982 (libc_feupdateenv, libc_feholdsetround): Remove.
35983 (libc_feresetround): Remove.
35985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35986 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35988 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35989 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35990 (libc_feupdateenv_testl): New.
35991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35992 (libc_feupdateenv_testf): New.
35993 (libc_feupdateenv): Use libc_feupdateenv_test.
35994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35997 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35998 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35999 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36000 (libc_feresetround_noex): New.
36001 (libc_feresetround_noexf): New.
36002 (libc_feresetround_noexl): New.
36003 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36004 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36005 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36011 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36013 SET_RESTORE_ROUND_NOEX.
36014 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36015 SET_RESTORE_ROUND_NOEXF.
36016 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36017 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36018 (libc_feholdsetroundf): New.
36019 (libc_feresetround, libc_feresetroundf): New.
36021 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36022 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36023 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36025 * sysdeps/generic/math_private.h: Include <fenv.h>.
36026 (default_libc_feholdexcept): New.
36027 (default_libc_feholdexcept_setround): New.
36028 (default_libc_fesetenv, default_libc_feupdateenv): New.
36029 (libc_feholdexcept): Only define if undefined.
36030 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36031 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36032 (libc_feholdexcept_setroundl): Likewise.
36033 (libc_feholdexcept_setround_53bit): Likewise.
36034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36035 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36036 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36037 (libc_feupdateenv_53bit): Likewise.
36038 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36039 (libc_feholdexcept): Convert from macro to inline function.
36040 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36041 (libc_fesetenv, libc_feupdateenv): Likewise.
36043 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36044 not previously defined.
36045 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36046 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36047 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36048 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36049 * sysdeps/ieee754/flt-32/math_private.h: New file.
36050 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36051 math_private.h below SET_FLOAT_WORD.
36052 (__isnan, __isinf_ns, __finite): Remove.
36053 (__isnanf, __isinf_nsf, __finitef): Remove.
36055 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36059 2012-03-17 David S. Miller <davem@davemloft.net>
36062 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36065 2012-03-16 David S. Miller <davem@davemloft.net>
36067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36073 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36074 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36075 sysdep_routines when subdir is sysvipc.
36076 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36077 __getshmlba helper.
36079 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36083 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36086 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36089 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36090 (__lround): Renamed to ...
36091 (__llround): This. Replace long int with long long int.
36092 Define lround functions as aliases of llround functions.
36093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36095 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36097 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36098 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36099 adresses to uintptr_t. Replace "long int" and "unsigned long
36100 int" with "greg_t" on va_arg.
36102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36104 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36105 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36107 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36108 Move e_machine check before EI_CLASS check. Handle x32
36109 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36110 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36111 SKIP_EM_IA_64 and include
36112 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36114 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36115 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36116 (add_system_dir): New macro.
36118 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36121 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36132 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36134 * math/w_j0f.c (j0f): Likewise.
36136 * math/w_j0l.c (__j0l): Likewise.
36138 * math/w_j1.c (j1): Likewise.
36140 * math/w_j1f.c (j1f): Likewise.
36142 * math/w_j1l.c (__j1l): Likewise.
36144 * math/w_jn.c (jn): Likewise.
36146 * math/w_jnf.c (jnf): Likewise.
36148 * math/w_jnl.c (__jnl): Likewise.
36150 * math/libm-test.inc (j0_test): Add more tests.
36151 (j1_test): Likewise.
36152 (jn_test): Likewise. Add trailing semicolon to existing test.
36153 (y0_test): Likewise.
36154 (y1_test): Likewise.
36155 * sysdeps/i386/fpu/libm-test-ulps: Update.
36156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36161 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36162 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36164 (__tanl): Set errno for infinite argument.
36165 * sysdeps/i386/fpu/mptan.c: Remove.
36166 * sysdeps/i386/fpu/s_tan.S: Likewise.
36167 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36168 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36169 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36170 * math/libm-test.inc (tan_test): Add more tests and enable more
36171 tests for double and long double.
36172 * sysdeps/i386/fpu/libm-test-ulps: Update.
36173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36175 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36177 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36178 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36180 2012-03-16 Roland McGrath <roland@hack.frob.com>
36182 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36183 * configure.in: Use it for both main tree and add-ons.
36184 * configure: Regenerated.
36186 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36188 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36190 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36192 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36196 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36197 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36202 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36204 != 0 for prec == 2.
36205 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36206 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36207 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36208 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36209 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36210 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36211 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36212 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36213 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36214 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36215 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36216 * math/libm-test.inc (cos_test): Add more tests and enable more
36217 tests for long double.
36218 (sin_test): Likewise.
36219 (sincos_test): Likewise.
36220 * sysdeps/i386/fpu/libm-test-ulps: Update.
36221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36223 2012-03-16 David S. Miller <davem@davemloft.net>
36225 * sysdeps/sparc/fpu/math_private.h: New file.
36227 2012-03-15 David S. Miller <davem@davemloft.net>
36229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36243 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36244 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36246 * sysdeps/sparc/sparc-ifunc.h: New file.
36247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36292 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36294 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36298 2012-03-15 Andreas Jaeger <aj@suse.de>
36301 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36302 ieee754/flt-32 implementation for sin, cos and sincos.
36303 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36304 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36305 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36306 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36307 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36308 ieee754/flt-32 implementation for tan.
36310 * math/libm-test.inc (cos_test): Enable some large input tests for
36312 (sin_test): Likewise.
36313 (sincos_test): Likewise.
36314 (tan_test): Add tests for large input.
36316 * sysdeps/i386/fpu/libm-test-ulps: Update.
36318 2012-03-15 Andreas Jaeger <aj@suse.de>
36321 * math/libm-test.inc (cos_test): Add more test cases.
36322 (sin_test): Likewise.
36323 (sincos_test): Likewise.
36325 2012-03-15 Andreas Jaeger <aj@suse.de>
36328 * math/libm-test.inc (cos_test): Add a test case for large input
36330 (sin_test): Likewise.
36331 (sincos_test): Likewise.
36333 2012-03-15 Andreas Jaeger <aj@suse.de>
36334 Joseph Myers <joseph@codesourcery.com>
36337 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36338 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36339 * sysdeps/i386/fpu/branred.c: Likewise.
36340 * sysdeps/i386/fpu/dosincos.c: Likewise.
36341 * sysdeps/i386/fpu/mpa.c: Likewise.
36342 * sysdeps/i386/fpu/s_cos.S: Likewise.
36343 * sysdeps/i386/fpu/s_sin.S: Likewise.
36344 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36345 * sysdeps/i386/fpu/sincos32.c: Likewise.
36347 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36349 (libc_feupdateenv_53bit): Define.
36350 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36352 (libc_feupdateenv_53bit): Define.
36354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36355 53 bit (without extend i386 double precision).
36357 * math/libm-test.inc (sincos_test): Add tests for large input.
36361 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36363 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36367 2012-03-15 David S. Miller <davem@davemloft.net>
36369 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36370 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36371 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36372 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36397 fmin/fmax sysdep routines.
36398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36400 2012-03-14 David S. Miller <davem@davemloft.net>
36402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36474 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36479 * sysdeps/sparc/configure.in: New file.
36480 * sysdeps/sparc/configure: Generate.
36481 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36482 * configure: Regenerate.
36483 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36484 * config.make.in (have-as-vis3): New.
36485 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36486 available use -Av9d instead of -Av9a.
36487 * sysdeps/sparc/sparc64/Makefile: Likewise.
36488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36503 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36504 fzeros/fnegs to load 0x80000000 into a float register instead of
36506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36508 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36512 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36513 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36514 ($(inst_includedir)/bits/syscall.h): Remove rule.
36515 ($(objpfx)bits/syscall.d): Include instead of
36516 $(objpfx)syscall-list.d.
36517 (generated): Change syscall-list.h and syscall-list.d to
36518 bits/syscall.h and bits/syscall.d.
36520 2012-03-14 Roland McGrath <roland@hack.frob.com>
36523 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36525 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36528 * math/s_csqrt.c: Include <float.h>.
36529 (__csqrt): Scale large or subnormal inputs.
36530 * math/s_csqrtf.c: Likewise.
36531 * math/s_csqrtl.c: Likewise.
36532 * math/libm-test.inc (csqrt_test): Add more tests.
36533 * sysdeps/i386/fpu/libm-test-ulps: Update.
36534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36537 * math/libm-test.inc (hypot_test): Add more tests.
36539 2012-03-13 David S. Miller <davem@davemloft.net>
36542 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36543 double-precision for the calculation instead of scaling.
36545 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36548 manipulate bits before adding and subtracting TWO52[sx].
36549 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36554 2012-03-13 David S. Miller <davem@davemloft.net>
36556 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36557 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36559 rtld-global-offsets.h
36560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36562 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36565 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36567 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36568 'err' in the ifdef scope in which it is actually used.
36570 * nss/nss_db/db-init.c: Include string.h
36572 2012-03-12 David S. Miller <davem@davemloft.net>
36574 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36575 masking out of the most significant byte of random value used.
36576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36577 Fix coding style in previous change.
36579 * sysdeps/unix/sysv/linux/kernel-features.h
36580 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36581 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36583 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36586 2012-03-11 David S. Miller <davem@davemloft.net>
36588 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36589 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36591 for 'resultvar' otherwise things get truncated on 64-bit.
36593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36594 Fix masking out of the most significant byte of random value used.
36596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36598 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36602 2012-03-09 David S. Miller <davem@davemloft.net>
36604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36605 variables with appropriate CPP guards.
36606 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36607 from the frame pointer, not the stack pointer. Correct layout
36608 comments. Fix test on resulting framesize and the management of
36609 the outregs buffer for pltexit. Preserve floating point return
36610 values across _dl_call_pltexit call.
36611 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36612 framesize and the management of the outregs buffer for pltexit.
36613 Preserve floating point return values across _dl_call_pltexit
36615 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36616 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36617 (la_sparc64_gnu_pltexit): New functions.
36618 (print_exit): Fix format string for return register value.
36620 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36622 * sunrpc/Makefile (others): Add rpcgen.
36623 ($(objpfx)rpcgen): Remove special build rule and dependency on
36625 * sunrpc/rpcgen.c: New file.
36627 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36630 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36631 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36632 * sysdeps/i386/crti.S: Likewise.
36633 * sysdeps/i386/crtn.S: Likewise.
36634 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36635 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36636 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36637 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36638 * sysdeps/sh/crti.S: Likewise.
36639 * sysdeps/sh/crtn.S: Likewise.
36640 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36643 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36645 * locale/programs/locfile-kw.gperf: Likewise.
36646 * locale/programs/charmap-kw.h: Regenerated.
36647 * locale/programs/locfile-kw.h: Likewise.
36650 * intl/plural.y: Replace FSF snail mail address with URL.
36651 * intl/plural.c: Regenerated.
36653 2012-03-09 Richard Henderson <rth@twiddle.net>
36655 * include/math_private.h: Remove file.
36656 * math/math_private.h: Move file ...
36657 * sysdeps/generic/math_private.h: ... here.
36659 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36660 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36661 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36663 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36664 and <math_private.h>.
36665 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36666 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36667 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36668 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36669 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36670 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36671 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36673 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36674 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36676 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36677 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36679 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36680 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36681 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36682 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36683 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36684 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36686 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36687 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36689 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36695 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36697 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36698 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36699 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36700 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36701 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36702 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36703 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36704 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36705 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36706 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36707 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36708 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36709 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36710 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36711 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36712 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36713 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36714 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36715 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36716 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36717 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36718 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36719 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36720 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36721 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36722 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36723 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36724 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36726 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36728 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36729 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36733 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36734 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36736 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36738 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36739 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36744 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36745 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36746 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36747 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36749 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36750 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36752 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36753 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36754 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36755 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36756 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36757 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36758 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36759 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36760 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36761 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36762 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36764 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36765 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36766 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36767 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36768 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36770 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36771 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36772 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36773 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36774 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36775 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36776 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36777 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36778 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36779 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36781 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36782 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36783 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36784 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36785 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36786 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36787 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36788 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36789 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36790 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36791 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36792 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36793 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36794 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36795 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36796 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36797 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36798 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36799 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36800 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36801 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36802 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36803 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36804 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36805 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36806 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36807 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36808 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36809 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36810 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36811 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36812 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36813 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36814 * sysdeps/ieee754/k_standard.c: Likewise.
36815 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36816 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36819 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36821 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36824 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36825 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36827 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36828 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36829 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36832 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36833 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36834 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36839 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36842 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36843 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36846 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36847 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36848 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36849 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36850 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36851 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36854 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36860 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36861 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36863 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36864 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36866 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36867 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36868 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36869 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36870 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36871 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36872 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36873 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36874 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36876 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36877 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36878 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36879 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36882 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36883 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36885 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36887 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36888 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36889 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36891 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36892 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36894 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36895 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36896 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36897 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36898 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36899 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36900 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36901 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36902 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36903 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36905 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36906 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36907 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36908 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36909 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36910 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36911 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36912 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36913 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36914 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36916 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36919 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36922 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36923 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36924 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36925 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36926 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36927 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36928 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36929 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36930 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36931 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36932 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36933 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36934 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36935 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36936 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36937 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36938 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36939 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36940 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36941 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36942 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36943 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36944 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36945 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36946 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36947 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36948 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36949 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36950 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36951 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36952 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36953 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36954 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36955 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36956 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36957 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36958 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36959 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36960 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36961 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36962 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36963 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36964 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36965 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36966 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36967 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36969 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36970 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36971 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36972 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36973 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36974 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36975 * sysdeps/ieee754/s_lib_version.c: Likewise.
36976 * sysdeps/ieee754/s_matherr.c: Likewise.
36977 * sysdeps/ieee754/s_signgam.c: Likewise.
36978 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36979 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36980 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36981 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36982 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36983 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36984 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36985 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36986 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36987 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36988 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36989 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36990 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36991 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36992 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36993 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36994 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36995 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36996 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37000 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37002 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37003 * sunrpc/rpc_main.c: Likewise.
37004 * sunrpc/rpc_svcout.c: Likewise.
37006 2012-03-09 David S. Miller <davem@davemloft.net>
37008 * include/math_private.h: New file.
37010 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37012 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37013 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37014 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37015 from <bits/socket_type.h>.
37016 (enum __socket_type): Don't define here.
37017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37019 bits/socket_type.h.
37022 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37023 checking __USE_GNU.
37025 * Makerules ($(inst_includedir)/%.h): New rule.
37026 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37027 (install-others): Remove variable setting.
37028 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37030 2012-03-08 Richard Henderson <rth@twiddle.net>
37032 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37033 from macro to inline function; merge with the
37034 !__LIBC_INTERNAL_MATH_INLINES version.
37035 (__ieee754_sqrtf): Likewise.
37037 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37038 to inline function.
37039 (__rintf, __floor, __floorf): Likewise.
37041 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37042 macro to inline function.
37043 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37046 not <math/math_private.h>.
37048 2012-03-08 David S. Miller <davem@davemloft.net>
37050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37052 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37054 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37056 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37058 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37059 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37061 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37063 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37064 be defined individually, they must be defined as a block. Define
37065 S for printing a string instead of hidint the different by using a
37066 macro for adding the 'l'.
37067 * stdio-common/tst-fphex-wide.c: Adjust.
37069 2012-03-07 Marek Polacek <polacek@redhat.com>
37071 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37073 2012-03-08 Marek Polacek <polacek@redhat.com>
37076 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37077 * stdio-common/tst-fphex.c: Define a few macros to make the
37078 test reusable. Use them.
37079 * stdio-common/tst-fphex-wide.c: New file.
37081 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37084 * manual/macros.texi (gnusystems): New macro.
37085 (nongnusystems): Likewise.
37086 (gnulinuxhurdsystems): Likewise.
37087 (gnuhurdsystems): Likewise..
37088 (gnulinuxsystems): Likewise.
37089 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37090 variants of the GNU system, not "GNU system".
37091 * manual/conf.texi: Likewise.
37092 * manual/errno.texi: Likewise. Update example of errno macro
37094 * manual/filesys.texi: Likewise.
37095 (getumask): Document as specific to GNU/Hurd.
37096 * manual/install.texi: Likewise. Reword some references to
37098 * manual/intro.texi: Likewise.
37099 * manual/io.texi: Likewise.
37100 (File Name Portability): Detail which constraints are inapplicable
37101 to all GNU systems and which are only inapplicable to GNU/Hurd.
37102 * manual/job.texi: Likewise.
37103 * manual/llio.texi: Likewise.
37104 (O_NOCTTY): Document as present on GNU/Linux.
37105 * manual/maint.texi: Likewise.
37106 * manual/memory.texi: Likewise.
37107 * manual/pattern.texi: Likewise.
37108 * manual/pipe.texi: Likewise.
37109 * manual/process.texi: Likewise.
37110 * manual/resource.texi: Likewise.
37111 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37113 * manual/setjmp.texi: Likewise.
37114 * manual/signal.texi: Likewise.
37115 * manual/startup.texi: Likewise.
37116 * manual/stdio.texi: Likewise.
37117 * manual/terminal.texi: Likewise.
37118 (ONLCR): Document as POSIX.
37119 (OXTABS): Document availability on GNU/Linux as XTABS.
37120 (ONOEOT): Document availability separately from other bits.
37121 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37122 * manual/time.texi: Likewise.
37123 * manual/users.texi: Likewise.
37124 * INSTALL: Regenerated.
37125 * sysdeps/gnu/errlist.c: Regenerated.
37127 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37128 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37129 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37131 * configure: Regenerated.
37133 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37135 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37136 default includes instead of AC_HEADER_CHECK.
37137 * sysdeps/i386/configure: Regenerated.
37140 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37141 * math/s_cacoshf.c (__cacoshf): Likewise.
37142 * math/s_cacoshl.c (__cacoshl): Likewise.
37143 * math/s_casinh.c (__casinh): Set signs of result from argument.
37144 * math/s_casinhf.c (__casinhf): Likewise.
37145 * math/s_casinhl.c (__casinhl): Likewise.
37146 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37147 (casinh_test): Add more tests.
37148 * sysdeps/i386/fpu/libm-test-ulps: Update.
37149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37151 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37153 * po/zh_TW.po: Update from translation team.
37155 * login/Makefile (distribute): Remove variable.
37156 * catgets/Makefile: Likewise.
37157 * mach/Makefile: Likewise.
37158 * malloc/Makefile: Likewise.
37159 * misc/Makefile: Likewise.
37160 * iconv/Makefile: Likewise.
37161 * nscd/Makefile: Likewise.
37162 * hurd/Makefile: Likewise.
37163 * manual/Makefile: Likewise.
37164 * locale/Makefile: Likewise.
37165 * intl/Makefile: Likewise.
37166 * conform/Makefile: Likewise.
37167 * nss/Makefile: Likewise.
37168 * time/Makefile: Likewise.
37169 * soft-fp/Makefile: Likewise.
37170 * dirent/Makefile: Likewise.
37171 * gmon/Makefile: Likewise.
37172 * po/Makefile: Likewise.
37173 * rt/Makefile: Likewise.
37174 * socket/Makefile: Likewise.
37175 * math/Makefile: Likewise.
37176 * signal/Makefile: Likewise.
37177 * debug/Makefile: Likewise.
37178 * elf/Makefile: Likewise.
37179 * timezone/Makefile: Likewise.
37180 * stdlib/Makefile: Likewise.
37181 * iconvdata/Makefile: Likewise.
37182 * sunrpc/Makefile: Likewise.
37183 * io/Makefile: Likewise.
37184 * argp/Makefile: Likewise.
37185 * inet/Makefile: Likewise.
37186 * hesiod/Makefile: Likewise.
37187 * grp/Makefile: Likewise.
37188 * csu/Makefile: Likewise.
37189 * wctype/Makefile: Likewise.
37190 * crypt/Makefile: Likewise.
37191 * libio/Makefile: Likewise.
37192 * string/Makefile: Likewise.
37193 * nis/Makefile: Likewise.
37194 * resolv/Makefile: Likewise.
37195 * stdio-common/Makefile: Likewise.
37196 * wcsmbs/Makefile: Likewise.
37197 * dlfcn/Makefile: Likewise.
37198 * posix/Makefile: Likewise.
37201 * timezone/Makefile: Don't install timezone files, just the programs
37204 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37206 * nss/databases.def: Add missing gshadow entry.
37208 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37210 2012-03-06 Marek Polacek <polacek@redhat.com>
37213 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37214 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37215 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37216 * stdio-common/tst-long-dbl-fphex.c: New file.
37218 2012-03-06 David S. Miller <davem@davemloft.net>
37220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37221 (set_obp_int): New function.
37222 (get_obp_int): New function.
37223 (__get_clockfreq_via_dev_openprom): Likewise.
37224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37225 Avoid unused variable warnings on 'val' and use builtin_expect.
37226 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37228 (INLINE_CLONE_SYSCALL): Likewise.
37230 2012-03-05 David S. Miller <davem@davemloft.net>
37232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37234 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37239 only for |x| >= 40.
37240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37242 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37245 Replace gettimeofday with __vdso_gettimeofday.
37247 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37248 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37249 __vdso_clock_gettime and __vdso_getcpu.
37251 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37252 time with __vdso_time.
37254 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37256 * manual/lang.texi (size_t): Note types to which size_t may be
37257 equivalent with the GNU C Library, but do not describe when
37258 differences between them are significant.
37260 2012-03-05 Andreas Jaeger <aj@suse.de>
37262 * sysdeps/i386/fpu/libm-test-ulps: Update.
37264 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37267 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37268 (__ieee754_pow): Save and restore rounding mode and use
37269 round-to-nearest for main computations.
37270 * math/libm-test.inc (pow_test_tonearest): New function.
37271 (pow_test_towardzero): Likewise.
37272 (pow_test_downward): Likewise.
37273 (pow_test_upward): Likewise.
37274 (main): Call the new functions.
37275 * sysdeps/i386/fpu/libm-test-ulps: Update.
37276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37279 * math/libm-test.inc (cosh_test_tonearest): New function.
37280 (cosh_test_towardzero): Likewise.
37281 (cosh_test_downward): Likewise.
37282 (cosh_test_upward): Likewise.
37283 (sinh_test_tonearest): Likewise.
37284 (sinh_test_towardzero): Likewise.
37285 (sinh_test_downward): Likewise.
37286 (sinh_test_upward): Likewise.
37287 (main): Call the new functions.
37288 * sysdeps/i386/fpu/libm-test-ulps: Update.
37289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37291 2012-03-05 Tom de Vries <tom@codesourcery.com>
37293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37294 default stack guard is set in last bytes.
37295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37297 2012-03-05 Kees Cook <keescook@chromium.org>
37299 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37302 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37303 possibly allocate from heap instead of stack.
37304 * stdio-common/bug-vfprintf-nargs.c: New file.
37305 * stdio-common/Makefile (tests): Add nargs overflow test.
37307 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37311 2012-03-03 Marek Polacek <polacek@redhat.com>
37313 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37314 * math/math_private.h: Likewise.
37315 * stdlib/tst-strtod.c: Likewise.
37316 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37317 * sysdeps/x86_64/bits/atomic.h: Likewise.
37319 2012-03-02 David S. Miller <davem@davemloft.net>
37321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37325 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37326 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37327 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37328 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37330 2012-03-02 Roland McGrath <roland@hack.frob.com>
37333 * manual/examples/README: New file, says the example source files
37334 can be used under GPL>=2.
37335 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37336 line containing just "*/".
37337 * manual/examples/add.c: Add copyright header (GPL>=2).
37338 * manual/examples/argp-ex1.c: Likewise.
37339 * manual/examples/argp-ex2.c: Likewise.
37340 * manual/examples/argp-ex3.c: Likewise.
37341 * manual/examples/argp-ex4.c: Likewise.
37342 * manual/examples/atexit.c: Likewise.
37343 * manual/examples/db.c: Likewise.
37344 * manual/examples/dir.c: Likewise.
37345 * manual/examples/dir2.c: Likewise.
37346 * manual/examples/execinfo.c: Likewise.
37347 * manual/examples/filecli.c: Likewise.
37348 * manual/examples/filesrv.c: Likewise.
37349 * manual/examples/fmtmsgexpl.c: Likewise.
37350 * manual/examples/genpass.c: Likewise.
37351 * manual/examples/inetcli.c: Likewise.
37352 * manual/examples/inetsrv.c: Likewise.
37353 * manual/examples/isockad.c: Likewise.
37354 * manual/examples/longopt.c: Likewise.
37355 * manual/examples/memopen.c: Likewise.
37356 * manual/examples/memstrm.c: Likewise.
37357 * manual/examples/mkfsock.c: Likewise.
37358 * manual/examples/mkisock.c: Likewise.
37359 * manual/examples/mygetpass.c: Likewise.
37360 * manual/examples/pipe.c: Likewise.
37361 * manual/examples/popen.c: Likewise.
37362 * manual/examples/rprintf.c: Likewise.
37363 * manual/examples/search.c: Likewise.
37364 * manual/examples/select.c: Likewise.
37365 * manual/examples/setjmp.c: Likewise.
37366 * manual/examples/sigh1.c: Likewise.
37367 * manual/examples/sigusr.c: Likewise.
37368 * manual/examples/stpcpy.c: Likewise.
37369 * manual/examples/strdupa.c: Likewise.
37370 * manual/examples/strftim.c: Likewise.
37371 * manual/examples/strncat.c: Likewise.
37372 * manual/examples/subopt.c: Likewise.
37373 * manual/examples/swapcontext.c: Likewise.
37374 * manual/examples/termios.c: Likewise.
37375 * manual/examples/testopt.c: Likewise.
37376 * manual/examples/testpass.c: Likewise.
37377 * manual/examples/timeval_subtract.c: Likewise.
37380 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37382 * manual/timeval_subtract.c.texi: ... here, new file.
37384 2012-03-02 David S. Miller <davem@davemloft.net>
37386 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37388 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37391 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37392 (__sin): Save and restore rounding mode and use round-to-nearest
37393 for all computations.
37394 (__cos): Save and restore rounding mode and use round-to-nearest
37395 for all computations.
37396 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37398 (tan): Save and restore rounding mode and use round-to-nearest for
37400 * math/libm-test.inc (cos_test_tonearest): New function.
37401 (cos_test_towardzero): Likewise.
37402 (cos_test_downward): Likewise.
37403 (cos_test_upward): Likewise.
37404 (sin_test_tonearest): Likewise.
37405 (sin_test_towardzero): Likewise.
37406 (sin_test_downward): Likewise.
37407 (sin_test_upward): Likewise.
37408 (tan_test_tonearest): Likewise.
37409 (tan_test_towardzero): Likewise.
37410 (tan_test_downward): Likewise.
37411 (tan_test_upward): Likewise.
37412 (main): Call the new functions.
37413 * sysdeps/i386/fpu/libm-test-ulps: Update.
37414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37417 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37418 small n, then large n, before computing and testing k+n.
37419 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37424 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37425 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37426 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37427 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37430 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37432 * math/libm-test.inc (scalbn_test): Add more tests.
37433 (scalbln_test): Likewise.
37435 * manual/filesys.texi (mode_t): Describe constraints on size and
37436 signedness, not exact equivalence to a particular type.
37438 (ino64_t): Likewise.
37440 (nlink_t): Likewise.
37441 (blkcnt_t): Likewise.
37442 (blkcnt64_t): Likewise.
37443 * manual/llio.texi (off_t): Likewise.
37446 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37447 (__ieee754_exp): Save and restore rounding mode and use
37448 round-to-nearest for all computations.
37449 * math/libm-test.inc (exp_test_tonearest): New function.
37450 (exp_test_towardzero): Likewise.
37451 (exp_test_downward): Likewise.
37452 (exp_test_upward): Likewise.
37453 (main): Call the new functions.
37454 * sysdeps/i386/fpu/libm-test-ulps: Update.
37455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37457 2012-03-01 Chris Demetriou <cgd@google.com>
37459 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37460 have predictable order.
37462 2012-03-01 David S. Miller <davem@davemloft.net>
37464 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37466 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37467 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37468 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37469 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37471 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37472 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37473 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37475 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37476 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37477 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37478 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37479 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37484 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37485 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37487 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37488 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37489 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37490 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37491 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37494 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37495 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37496 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37497 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37503 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37504 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37505 * sysdeps/sparc/elf/configure: Regenerated.
37507 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37509 * configure.in (AS, LD): Require binutils 2.20 or later.
37510 * configure: Regenerated.
37511 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37512 as required minimum version.
37513 * INSTALL: Regenerated.
37517 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37518 before squaring exponent.
37519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37520 bottom long double and 27 bits of top long double before squaring
37522 * math/libm-test.inc (erfc_test): Add more tests.
37523 * sysdeps/i386/fpu/libm-test-ulps: Update.
37524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37527 2012-03-01 Kai Tietz <ktietz@redhat.com>
37529 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37530 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37531 containing bit-fields.
37532 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37533 * soft-fp/single.h (_FP_UNION_S): Likewise.
37534 * soft-fp/double.h (_FP_UNION_D): Likewise.
37536 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37539 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37540 not include ../strcmp.S.
37541 [USE_AS_STRNCASECMP_L]: Likewise.
37542 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37543 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37544 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37545 (__strncasecmp_l_ia32): Define as alias to
37546 __strncasecmp_l_nonascii.
37549 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37550 * sysdeps/i386/fpu/libm-test-ulps: Update.
37551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37553 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37556 2012-02-29 Jeff Law <law@redhat.com>
37558 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37559 out of bounds read.
37561 2012-02-29 Marek Polacek <polacek@redhat.com>
37564 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37565 * elf/Makefile: Add rules to run tst-unused-dep.out.
37567 2012-02-28 David S. Miller <davem@davemloft.net>
37569 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37570 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37573 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37574 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37576 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37578 * math/libm-test.inc (llround_test): Move one test from
37579 lround_test. Use TEST_f_L in moved test.
37580 (lround_test): Move misplaced test to llround_test. Add testcase
37583 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37585 * sysdeps/x86_64/fpu/e_expf.S: New file.
37586 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37588 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37591 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37592 of remain_len that may cause incomplete multi-byte character and
37594 * posix/bug-regex33.c: New file.
37595 * posix/Makefile (tests): Add bug-regex33.
37597 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37599 * manual/macros.texi: New file.
37600 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37601 * manual/libc.texinfo: Include macros.texi.
37602 * manual/creatute.texi: Likewise.
37603 * manual/install.texi: Likewise.
37604 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37605 @glibcadj{} in references to the GNU C Library.
37606 * manual/charset.texi: Likewise.
37607 * manual/conf.texi: Likewise.
37608 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37609 when not using those macros.
37610 * manual/creature.texi: Likewise.
37611 * manual/crypt.texi: Likewise.
37612 * manual/errno.texi: Likewise.
37613 * manual/filesys.texi: Likewise.
37614 * manual/header.texi: Likewise.
37615 * manual/install.texi: Likewise.
37616 * manual/intro.texi: Likewise.
37617 * manual/io.texi: Likewise.
37618 * manual/job.texi: Likewise.
37619 * manual/lang.texi: Likewise.
37620 * manual/libc.texiinfo: Likewise.
37621 * manual/llio.texi: Likewise.
37622 * manual/locale.texi: Likewise.
37623 * manual/maint.texi: Likewise.
37624 * manual/math.texi: Likewise.
37625 * manual/memory.texi: Likewise.
37626 * manual/message.texi: Likewise.
37627 * manual/nss.texi: Likewise.
37628 * manual/pattern.texi: Likewise.
37629 * manual/process.texi: Likewise.
37630 * manual/resource.texi: Likewise.
37631 * manual/search.texi: Likewise.
37632 * manual/setjmp.texi: Likewise.
37633 * manual/signal.texi: Likewise.
37634 * manual/socket.texi: Likewise.
37635 * manual/startup.texi: Likewise.
37636 * manual/stdio.texi: Likewise.
37637 * manual/string.texi: Likewise.
37638 * manual/sysinfo.texi: Likewise.
37639 * manual/syslog.texi: Likewise.
37640 * manual/terminal.texi: Likewise.
37641 * manual/time.texi: Likewise.
37642 * manual/users.texi: Likewise.
37643 * INSTALL: Regenerated.
37644 * NOTES: Regenerated.
37645 * sysdeps/gnu/errlist.c: Regenerated.
37647 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37649 * include/dirent.h: Include <dirstream.h> before
37652 2012-02-28 David S. Miller <davem@davemloft.net>
37654 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37655 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37656 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37657 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37659 2012-02-27 David S. Miller <davem@davemloft.net>
37661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37663 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37664 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37667 frame pointer instead of stack pointer relative arg slot.
37668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37672 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37675 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37677 2012-02-27 David S. Miller <davem@davemloft.net>
37679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37685 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37686 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37688 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37690 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37691 later. Allow versions 5-9.
37692 * configure: Regenerated.
37693 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37694 required minimum version and 4.6 as recommended version. Do not
37695 mention bugs in GCC 2.7 and 2.8.
37696 * INSTALL: Regenerated.
37698 2012-02-27 David S. Miller <davem@davemloft.net>
37700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37704 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37705 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37706 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37707 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37710 manipulate bits before adding and subtracting TWO112[sx].
37711 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37713 2012-02-27 Roland McGrath <roland@hack.frob.com>
37716 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37717 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37718 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37719 being in POSIX, because they are in 1003.1-2008.
37721 * rt/tst-aio.c: Include <fcntl.h>.
37722 * rt/tst-aio7.c: Likewise.
37723 * rt/tst-aio64.c: Likewise.
37725 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37727 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37729 * manual/install.texi (--with-headers): Describe headers as
37730 interface headers, not private headers.
37731 (Specific advice for GNU/Linux systems): Describe use of headers
37732 from "make headers_install", not private headers from older
37734 * INSTALL: Regenerated.
37735 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37737 * sysdeps/unix/sysv/linux/configure: Regenerated.
37739 * manual/llio.texi (fclean): Remove documentation.
37741 * manual/Makefile (libc-texi-generated): New variable. Include
37743 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37744 $(libc-texi-generated), not duplicated list of files.
37745 (version.texi, stamp-version): New rules.
37746 (realclean): Remove $(libc-texi-generated), not individual files
37747 from that list. Do not remove dir-add.texinfo.
37748 * manual/libc.texinfo: Comment out uses of edition numbers and
37749 references to printed manual. Remove last-updated dates.
37750 (EDITION): Comment out.
37752 (VERSION, UPDATED): Remove.
37753 (version.texi): Include.
37755 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37757 * sysdeps/posix/spawni.c: Include <signal.h>.
37758 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37759 * sysdeps/pthread/aio_fsync.c: Likewise.
37761 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37763 * conform/Makefile (tests): Run only when not cross-compiling and
37764 when fast-check is not defined.
37766 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37767 * conform/data/limits.h-data: Fixes for POSIX2008.
37768 * conform/run-conformtest.sh: Run all tests.
37769 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37771 * include/bits/dlfcn.h: Likewise.
37772 * include/langinfo.h: Likewise.
37773 * include/monetary.h: Likewise.
37774 * include/sys/poll.h: Likewise.
37776 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37778 * posix/spawn.h: Define __need_sigset_t.
37779 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37780 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37781 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37782 to get sigevent_t only.
37783 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37784 only for __USE_GNU.
37785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37786 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37787 process_vm_writev only for __USE_GNU.
37788 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37790 * conform/Makefile: For now ignore errors from run-conformtest.
37791 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37792 POSIX to avoid namespace pollution. Don't prepend headers.
37793 * conform/data/aio.h-data: Fixes for POSIX testing.
37794 * conform/data/fcntl.h-data: Likewise.
37795 * conform/data/glob.h-data: Likewise.
37796 * conform/data/grp.h-data: Likewise.
37797 * conform/data/pthread.h-data: Likewise.
37798 * conform/data/pwd.h-data: Likewise.
37799 * conform/data/signal.h-data: Likewise.
37800 * conform/data/spawn.h-data: Likewise.
37801 * conform/data/stdio.h-data: Likewise.
37802 * conform/data/stdlib.h-data: Likewise.
37803 * conform/data/stropts.h-data: Likewise.
37804 * conform/data/sys/mman.h-data: Likewise.
37805 * conform/data/sys/stat.h-data: Likewise.
37806 * conform/data/sys/types.h-data: Likewise.
37807 * conform/data/sys/wait.h-data: Likewise.
37808 * conform/data/time.h-data: Likewise.
37809 * conform/data/unistd.h-data: Likewise.
37810 * conform/data/utime.h-data: Likewise.
37812 * io/sys/stat.h: fchmod was always in POSIX.
37813 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37814 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37815 * rt/aio.h: Define __need_timespec before including <time.h>.
37816 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37817 struct. Add forward declaration of pthread_attr_t and use it in
37819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37821 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37822 always remove CLK_TCK definition.
37824 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37826 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37828 2012-02-25 Ulrich Drepper <drepper@gmail.com>
37830 * conform/run-conformtest.sh: New file.
37831 * conform/Makefile: Run run-conformtest for tests.
37832 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37835 * conform/data/uchar.h-data: New file.
37836 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37837 * conform/data/arpa/inet.h-data: Likewise.
37838 * conform/data/assert.h-data: Likewise.
37839 * conform/data/complex.h-data: Likewise.
37840 * conform/data/cpio.h-data: Likewise.
37841 * conform/data/ctype.h-data: Likewise.
37842 * conform/data/dirent.h-data: Likewise.
37843 * conform/data/dlfcn.h-data: Likewise.
37844 * conform/data/errno.h-data: Likewise.
37845 * conform/data/fcntl.h-data: Likewise.
37846 * conform/data/float.h-data: Likewise.
37847 * conform/data/fmtmsg.h-data: Likewise.
37848 * conform/data/fnmatch.h-data: Likewise.
37849 * conform/data/ftw.h-data: Likewise.
37850 * conform/data/glob.h-data: Likewise.
37851 * conform/data/grp.h-data: Likewise.
37852 * conform/data/iconv.h-data: Likewise.
37853 * conform/data/inttypes.h-data: Likewise.
37854 * conform/data/langinfo.h-data: Likewise.
37855 * conform/data/libgen.h-data: Likewise.
37856 * conform/data/limits.h-data: Likewise.
37857 * conform/data/locale.h-data: Likewise.
37858 * conform/data/math.h-data: Likewise.
37859 * conform/data/monetary.h-data: Likewise.
37860 * conform/data/mqueue.h-data: Likewise.
37861 * conform/data/ndbm.h-data: Likewise.
37862 * conform/data/net/if.h-data: Likewise.
37863 * conform/data/netdb.h-data: Likewise.
37864 * conform/data/netinet/in.h-data: Likewise.
37865 * conform/data/nl_types.h-data: Likewise.
37866 * conform/data/poll.h-data: Likewise.
37867 * conform/data/pthread.h-data: Likewise.
37868 * conform/data/pwd.h-data: Likewise.
37869 * conform/data/regex.h-data: Likewise.
37870 * conform/data/sched.h-data: Likewise.
37871 * conform/data/search.h-data: Likewise.
37872 * conform/data/semaphore.h-data: Likewise.
37873 * conform/data/setjmp.h-data: Likewise.
37874 * conform/data/signal.h-data: Likewise.
37875 * conform/data/spawn.h-data: Likewise.
37876 * conform/data/stdarg.h-data: Likewise.
37877 * conform/data/stdio.h-data: Likewise.
37878 * conform/data/stdlib.h-data: Likewise.
37879 * conform/data/string.h-data: Likewise.
37880 * conform/data/strings.h-data: Likewise.
37881 * conform/data/stropts.h-data: Likewise.
37882 * conform/data/sys/ipc.h-data: Likewise.
37883 * conform/data/sys/mman.h-data: Likewise.
37884 * conform/data/sys/msg.h-data: Likewise.
37885 * conform/data/sys/resource.h-data: Likewise.
37886 * conform/data/sys/select.h-data: Likewise.
37887 * conform/data/sys/sem.h-data: Likewise.
37888 * conform/data/sys/shm.h-data: Likewise.
37889 * conform/data/sys/socket.h-data: Likewise.
37890 * conform/data/sys/stat.h-data: Likewise.
37891 * conform/data/sys/statvfs.h-data: Likewise.
37892 * conform/data/sys/time.h-data: Likewise.
37893 * conform/data/sys/timeb.h-data: Likewise.
37894 * conform/data/sys/times.h-data: Likewise.
37895 * conform/data/sys/types.h-data: Likewise.
37896 * conform/data/sys/uio.h-data: Likewise.
37897 * conform/data/sys/un.h-data: Likewise.
37898 * conform/data/sys/utsname.h-data: Likewise.
37899 * conform/data/sys/wait.h-data: Likewise.
37900 * conform/data/syslog.h-data: Likewise.
37901 * conform/data/tar.h-data: Likewise.
37902 * conform/data/termios.h-data: Likewise.
37903 * conform/data/utime.h-data: Likewise.
37904 * conform/data/utmpx.h-data: Likewise.
37905 * conform/data/varargs.h-data: Likewise.
37906 * conform/data/wchar.h-data: Likewise.
37907 * conform/data/wctype.h-data: Likewise.
37908 * conform/data/wordexp.h-data: Likewise.
37910 * include/stropts.h: New file.
37911 * include/uchar.h: New file.
37912 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37913 * include/assert.h: Likewise.
37914 * include/ctype.h: Likewise.
37915 * include/dirent.h: Likewise.
37916 * include/dlfcn.h: Likewise.
37917 * include/fcntl.h: Likewise.
37918 * include/fnmatch.h: Likewise.
37919 * include/glob.h: Likewise.
37920 * include/grp.h: Likewise.
37921 * include/libio.h: Likewise.
37922 * include/locale.h: Likewise.
37923 * include/math.h: Likewise.
37924 * include/net/if.h: Likewise.
37925 * include/netdb.h: Likewise.
37926 * include/netinet/in.h: Likewise.
37927 * include/pthread.h: Likewise.
37928 * include/pwd.h: Likewise.
37929 * include/regex.h: Likewise.
37930 * include/sched.h: Likewise.
37931 * include/search.h: Likewise.
37932 * include/setjmp.h: Likewise.
37933 * include/signal.h: Likewise.
37934 * include/stdio.h: Likewise.
37935 * include/stdlib.h: Likewise.
37936 * include/string.h: Likewise.
37937 * include/sys/cdefs.h: Likewise.
37938 * include/sys/mman.h: Likewise.
37939 * include/sys/msg.h: Likewise.
37940 * include/sys/resource.h: Likewise.
37941 * include/sys/select.h: Likewise.
37942 * include/sys/socket.h: Likewise.
37943 * include/sys/stat.h: Likewise.
37944 * include/sys/statvfs.h: Likewise.
37945 * include/sys/time.h: Likewise.
37946 * include/sys/times.h: Likewise.
37947 * include/sys/uio.h: Likewise.
37948 * include/sys/utsname.h: Likewise.
37949 * include/sys/wait.h: Likewise.
37950 * include/termios.h: Likewise.
37951 * include/time.h: Likewise.
37952 * include/ulimit.h: Likewise.
37953 * include/unistd.h: Likewise.
37954 * include/utime.h: Likewise.
37955 * include/wchar.h: Likewise.
37956 * include/wctype.h: Likewise.
37957 * include/wordexp.h: Likewise.
37959 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37961 * time/time.h: TIME_UTC must be a macro.
37962 Make timespec_get available for ISO C11 only as well.
37964 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37966 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37967 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37969 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37971 * configure.in: Use -o not -a in test for unsupported multi-arch.
37973 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37975 * manual/texinfo.tex: Update to version 2012-01-19.16.
37977 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37979 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37981 2012-02-24 Roland McGrath <roland@hack.frob.com>
37984 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37985 * manual/fdl-1.3.texi: New file.
37986 * manual/fdl-1.1.texi: File removed.
37989 * manual/libc.texinfo (FDL_VERSION): New @set.
37990 Use it for mention of FDL in cover text.
37991 (Documentation License): Use it in @include file name.
37993 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37994 Roland McGrath <roland@hack.frob.com>
37997 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37998 (not LONG_LONG_MAX and LONG_LONG_MIN.
37999 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38000 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38002 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38004 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38008 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38009 manipulate bits before adding and subtracting TWO23[sx].
38010 * math/libm-test.inc (nearbyint_test): Add more tests.
38012 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38015 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38016 bits before adding and subtracting TWO23[sx].
38017 * math/libm-test.inc (rint_test): Add more tests.
38018 (rint_test_tonearest): Likewise.
38019 (rint_test_towardzero): Likewise.
38020 (rint_test_downward): Likewise.
38021 (rint_test_upward: Likewise.
38023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38026 * include/stdc-predef.h: New file. Extracted from features.h.
38027 * include/features.h: Include stdc-predef.h.
38028 * Makefile (headers): Add stdc-predef.h.
38029 * CONFORMANCE (Compiler limitations): Update.
38031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38033 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38035 2012-02-21 David S. Miller <davem@davemloft.net>
38037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38038 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38040 2012-02-20 David S. Miller <davem@davemloft.net>
38042 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38043 using a normal save/restore sequence, rather than allocating a
38044 dummy stack frame just to store a frame pointer and restore.
38045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38047 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38049 * manual/install.texi: Fix stray word in line-wrapped comment.
38051 2012-02-20 David S. Miller <davem@davemloft.net>
38053 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38054 both binutils and gcc support GOTDATA.
38056 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38057 "rd %pc" in the PIC register setup sequences.
38059 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38060 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38061 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38062 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38063 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38065 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38068 (SYSCALL_ERROR_HANDLER): Likewise.
38069 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38070 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38072 (SYSCALL_ERROR_HANDLER): Likewise.
38074 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38075 (HAVE_GCC_GOTDATA): New.
38076 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38077 relocation support in both binutils and gcc.
38078 * sysdeps/sparc/elf/configure: Regenerate.
38080 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38081 * sysdeps/sparc/sparc32/elf/configure: Delete.
38082 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38083 * sysdeps/sparc/sparc64/elf/configure: Delete.
38084 * sysdeps/sparc/elf/configure.in: New file.
38085 * sysdeps/sparc/elf/configure: Generate.
38087 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38088 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38089 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38090 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38091 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38093 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38095 * manual/install.texi: Do not mention specific glibc version
38097 * manual/libc.texinfo (VERSION, UPDATED): Update.
38098 (@copying): Use @copyright{} and range of years.
38100 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38103 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38104 [crti.S not in sysdirs] (generated): Do not append.
38105 [crti.S not in sysdirs] (omit-deps): Likewise.
38106 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38107 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38108 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38109 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38110 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38112 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38113 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38114 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38115 * csu/defs.awk: Remove file.
38116 * sysdeps/generic/initfini.c: Likewise.
38117 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38119 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38122 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38124 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38125 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38126 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38127 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38129 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38131 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38132 (__EPOLL_PACKED): Define to empty if not defined by
38134 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38138 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38140 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38141 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38142 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38143 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38145 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38149 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38151 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38154 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38158 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38163 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38165 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38166 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38168 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38170 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38173 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38175 * math/w_acos.c: Use non-signaling floating-point comparisons.
38176 * math/w_acosf.c: Likewise.
38177 * math/w_acosh.c: Likewise.
38178 * math/w_acoshf.c: Likewise.
38179 * math/w_acoshl.c: Likewise.
38180 * math/w_acosl.c: Likewise.
38181 * math/w_asin.c: Likewise.
38182 * math/w_asinf.c: Likewise.
38183 * math/w_asinl.c: Likewise.
38184 * math/w_atanh.c: Likewise.
38185 * math/w_atanhf.c: Likewise.
38186 * math/w_atanhl.c: Likewise.
38187 * math/w_exp2.c: Likewise.
38188 * math/w_exp2f.c: Likewise.
38189 * math/w_exp2l.c: Likewise.
38190 * math/w_j0.c: Likewise.
38191 * math/w_j0f.c: Likewise.
38192 * math/w_j0l.c: Likewise.
38193 * math/w_j1.c: Likewise.
38194 * math/w_j1f.c: Likewise.
38195 * math/w_j1l.c: Likewise.
38196 * math/w_jn.c: Likewise.
38197 * math/w_jnf.c: Likewise.
38198 * math/w_log.c: Likewise.
38199 * math/w_log10.c: Likewise.
38200 * math/w_log10f.c: Likewise.
38201 * math/w_log10l.c: Likewise.
38202 * math/w_log2.c: Likewise.
38203 * math/w_log2f.c: Likewise.
38204 * math/w_log2l.c: Likewise.
38205 * math/w_logf.c: Likewise.
38206 * math/w_logl.c: Likewise.
38207 * math/w_sqrt.c: Likewise.
38208 * math/w_sqrtf.c: Likewise.
38209 * math/w_sqrtl.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38213 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38214 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38216 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38219 * manual/string.texi (strnlen): Use correct parameter name in
38220 equivalent expression.
38222 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38225 * manual/users.texi (seteuid): Consistently use neweuid for
38228 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38231 * manual/nss.texi (Services in the NSS configuration): Correct
38232 list of services in example configuration file.
38234 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38237 * manual/arith.texi: Remove statements about negative zero
38238 behaving identically to zero.
38240 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38243 * manual/install.texi: Do not document upgrading from libc5.
38245 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38248 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38250 2012-02-18 David S. Miller <davem@davemloft.net>
38252 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38253 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38254 %o7 across the call.
38255 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38258 SETUP_PIC_REG_LEAF.
38259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38260 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38261 * sysdeps/sparc/crtn.S: Likewise.
38263 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38265 * aout/Makefile: Remove.
38267 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38270 * manual/examples/argp-ex1.c (main): Format definition in GNU
38272 * manual/examples/argp-ex2.c (main): Likewise.
38273 * manual/examples/argp-ex3.c (main): Likewise.
38274 * manual/examples/argp-ex4.c (main): Likewise.
38275 * manual/examples/longopt.c (main): Use new-style prototype
38277 * manual/examples/strncat.c (main): Specify return type and use
38278 (void) for arguments.
38279 * manual/examples/subopt.c (main): Use char **argv argument.
38281 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38284 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38287 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38290 * manual/string.texi (strchr): Change when strchrnul is
38293 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38296 * manual/locale.texi (setlocale): Document LOCPATH.
38298 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38301 * manual/process.texi (execle): Move @dots{} before last argument.
38303 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38306 * manual/charset.texi (Generic Charset Conversion): Fix typo
38307 (LC_TYPE -> LC_CTYPE).
38309 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38312 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38313 (scalbnf): Likewise.
38314 (scalbnl): Likewise.
38315 (scalbln): Likewise.
38316 (scalblnf): Likewise.
38317 (scalblnl): Likewise.
38318 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38319 (vwarnx): Likewise.
38322 * manual/filesys.texi (telldir): Use braces around return type.
38323 * manual/llio.texi (mmap): Add space after comma.
38324 (mmap64): Likewise.
38325 * manual/math.texi (jn): Use @var{} on parameter names.
38331 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38333 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38335 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38336 (sched_get_priority_max): Likewise.
38337 * manual/signal.texi (sigvec): Add space after comma.
38338 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38340 (if_indextoname): Likewise.
38341 (if_freenameindex): Likewise.
38342 (sendto): Use ',' instead of '.' in prototype.
38343 * manual/startup.texi (syscall): Use @dots{} instead of literal
38345 * manual/stdio.texi (__fpending): Separate initial words of
38346 paragraph from @deftypefun line.
38347 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38349 (vsyslog): Use @var{} on parameter names.
38350 * manual/terminal.texi (stty): Use @var{} on parameter names.
38351 * manual/users.texi (getutmp): Use @var{} on parameter names.
38352 (getutmpx): Likewise.
38354 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38357 * manual/stdio.texi (fopen): Fix typos in description of
38360 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38363 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38364 get clock_id definition.
38366 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38369 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38370 (madvise): Cast every argument to void on its own.
38372 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38375 * manual/startup.texi (Exit Status): Fix typo.
38377 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38380 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38381 * manual/examples/argp-ex2.c: Likewise.
38382 * manual/examples/argp-ex3.c: Likewise.
38384 2012-02-16 Richard Henderson <rth@redhat.com>
38386 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38387 * sysdeps/s390/s390-32/initfini.c: Remove.
38388 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38389 * sysdeps/s390/s390-64/initfini.c: Remove.
38391 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38393 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38394 compiler output for sysdeps/generic/initfini.c.
38395 * sysdeps/sh/elf/initfini.c: Remove file.
38397 2012-02-16 David S. Miller <davem@davemloft.net>
38400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38402 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38403 * sysdeps/sparc/crti.S: New file.
38404 * sysdeps/sparc/crtn.S: New file.
38405 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38406 * sysdeps/sparc/sparc64/Makefile: Likewise.
38408 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38411 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38413 2012-02-15 Roland McGrath <roland@hack.frob.com>
38416 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38418 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38419 (write, read, close): Likewise.
38420 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38422 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38424 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38425 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38426 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38427 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38429 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38433 2012-02-14 Marek Polacek <polacek@redhat.com>
38435 * sysdeps/x86_64/crti.S: New file.
38436 * sysdeps/x86_64/crtn.S: New file.
38437 * sysdeps/x86_64/elf/initfini.c: Remove file.
38439 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38441 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38442 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38443 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38444 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38446 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38450 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38452 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38453 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38454 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38455 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38457 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38461 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38463 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38464 __feraiseexcept instead of feraiseexcept.
38466 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38467 nanosleep invocations.
38468 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38469 strings, and add error checking for a nanosleep invocations.
38471 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38473 Replace FSF snail mail address with URLs, as per GNU coding standards.
38474 Most of the snail mail addresses were wrong anyway, and omitting
38475 them makes the source code easier to maintain. Almost all of the
38476 changes are to license notices and to locale LC_IDENTIFICATION
38477 addresses, except for this one:
38478 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38479 not its snail mail address.
38481 2012-02-09 Richard Henderson <rth@twiddle.net>
38483 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38484 of kernel-features.h.
38486 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38488 2012-02-08 Marek Polacek <polacek@redhat.com>
38490 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38491 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38492 * sysdeps/gnu/_G_config.h: Likewise.
38493 * sysdeps/generic/_G_config.h: Likewise.
38495 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38497 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38501 * sysdeps/powerpc/powerpc32/crti.S: New file.
38502 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38503 * sysdeps/powerpc/powerpc64/crti.S: New file.
38504 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38506 * Makeconfig (have-initfini): Don't set.
38507 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38508 * configure.in (nopic_initfini): Don't substitute.
38509 * config.h.in (HAVE_INITFINI): Don't #undef.
38510 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38511 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38513 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38515 Support crti.S and crtn.S provided directly by architectures.
38516 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38517 [crti.S in sysdirs] (omit-deps): Likewise.
38518 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38519 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38520 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38521 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38522 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38523 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38524 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38525 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38526 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38527 compiler output for sysdeps/generic/initfini.c.
38528 * sysdeps/i386/elf/Makefile: Remove file.
38529 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38531 2012-02-07 Marek Polacek <polacek@redhat.com>
38533 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38534 * sysdeps/gnu/_G_config.h: Likewise.
38535 * sysdeps/mach/hurd/_G_config.h: Likewise.
38537 2012-02-07 Marek Polacek <polacek@redhat.com>
38539 * math/Makefile (tests): Add tst-CMPLX2.
38540 * math/tst-CMPLX2.c: New file.
38542 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38546 * math/libm-test.inc (jn_test): Add missing L suffix.
38548 2012-02-06 Marek Polacek <polacek@redhat.com>
38550 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38551 * sysdeps/i386/fpu/e_powf.S: Likewise.
38552 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38553 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38554 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38555 * sysdeps/i386/fpu/e_pow.S: Likewise.
38556 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38557 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38558 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38559 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38560 * sysdeps/i386/fpu/e_log2.S: Likewise.
38561 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38562 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38563 * sysdeps/i386/fpu/e_powl.S: Likewise.
38564 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38565 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38566 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38567 * sysdeps/i386/fpu/e_logl.S: Likewise.
38568 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38569 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38570 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38571 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38572 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38573 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38574 * sysdeps/i386/fpu/e_log.S: Likewise.
38575 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38576 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38577 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38578 * sysdeps/i386/fpu/e_logf.S: Likewise.
38579 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38580 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38581 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38582 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38583 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38584 * sysdeps/i386/fpu/e_log10.S: Likewise.
38585 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38587 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38588 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38590 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38591 * sysdeps/i386/asm-syntax.h: Likewise.
38592 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38593 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38594 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38595 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38596 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38597 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38598 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38599 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38600 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38601 * sysdeps/powerpc/sysdep.h: Likewise.
38602 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38603 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38605 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38608 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38610 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38612 * sysdeps/i386/sysdep.h: Include <features.h>.
38613 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38616 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38620 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38623 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38625 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38626 (SETUP_PIC_REG): Use GET_PC_THUNK.
38627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38630 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38632 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38633 for non-PIC compilation.
38634 (SETUP_PIC_REG): Add .p2align directive.
38635 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38636 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38637 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38638 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38639 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38640 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38641 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38642 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38643 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38644 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38645 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38646 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38647 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38648 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38649 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38650 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38651 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38652 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38653 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38654 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38655 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38656 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38657 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38658 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38661 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38662 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38663 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38664 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38665 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38666 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38668 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38669 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38670 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38671 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38672 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38673 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38674 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38675 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38677 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38679 * math/tst-CMPLX.c: Include <stdio.h>.
38681 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38683 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38685 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38686 * sysdeps/sparc/bits/mathdef.h: Likewise.
38688 2012-01-31 Marek Polacek <polacek@redhat.com>
38690 * libio/libio.h: Don't define _PARAMS.
38691 * locale/programs/config.h: Don't define PARAMS.
38692 * stdlib/strtol_l.c: Likewise.
38693 (__strtol_l): Remove PARAMS from the prototype.
38695 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38697 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38698 names. Just use the correct names. Remove unnecessary wrapper
38700 * malloc/arena.c: Likewise.
38701 * malloc/hooks.c: Likewise.
38703 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38704 ARENA_TEST says not to. Simplify test for creation of a new arena.
38705 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38707 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38709 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38711 (update_get_addr): New function.
38712 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38713 GET_ADDR_MODULE parameter.
38715 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38717 * crypt/cert.c: Remove __STDC__ conditionals.
38718 * crypt/crypt-entry.c: Likewise.
38719 * crypt/crypt_util.c: Likewise.
38720 * libio/filedoalloc.c: Likewise.
38721 * libio/fileops.c: Likewise.
38722 * libio/genops.c: Likewise.
38723 * libio/iofclose.c: Likewise.
38724 * libio/iofdopen.c: Likewise.
38725 * libio/iofopen.c: Likewise.
38726 * libio/iofopen64.c: Likewise.
38727 * libio/iogetdelim.c: Likewise.
38728 * libio/iopopen.c: Likewise.
38729 * libio/obprintf.c: Likewise.
38730 * libio/oldfileops.c: Likewise.
38731 * libio/oldiofclose.c: Likewise.
38732 * libio/oldiofdopen.c: Likewise.
38733 * libio/oldiofopen.c: Likewise.
38734 * libio/oldiopopen.c: Likewise.
38735 * libio/wfiledoalloc.c: Likewise.
38736 * libio/wgenops.c: Likewise.
38737 * locale/programs/xmalloc.c: Likewise.
38738 * misc/syslog.c: Likewise.
38739 * stdio-common/xbug.c: Likewise.
38740 * string/memchr.c: Likewise.
38741 * string/memcmp.c: Likewise.
38742 * string/memrchr.c: Likewise.
38743 * string/rawmemchr.c: Likewise.
38744 * sysdeps/posix/getcwd.c: Likewise.
38745 * time/strftime_l.c: Likewise.
38747 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38749 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38750 * config.make.in (config-cflags-sse2avx): Define.
38751 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38754 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38756 * scripts/config.guess: Update from upstream config git repository.
38757 * scripts/config.sub: Likewise.
38759 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38761 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38763 (R_TILEPRO_*, R_TILEGX_*): New macros.
38765 * scripts/firstversions.awk: Fix bug in version range handling.
38767 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38769 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38771 * include/sys/epoll.h: New file.
38772 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38775 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38777 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38778 Avoid unnecessary __WORDSIZE == 64 test.
38779 (fmaxf): Use VEX format if possible.
38784 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38785 * math/math_private.h: Remove libc_fegetround* and
38787 * sysdeps/i386/configure.in: Check for -msse2avx.
38788 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38789 also if SSE2AVX is defined.
38790 Remove libc_fegetround* and libc_fesetround*.
38791 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38792 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38801 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38803 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38805 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38807 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38809 2012-01-27 Ulrich Drepper <drepper@gmail.com>
38812 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38814 * Makeconfig (libm): Define.
38815 * elf/Makefile: Add rules to build and run tst-relsort1.
38816 * elf/tst-relsort1.c: New file.
38817 * elf/tst-relsort1mod1.c: New file.
38818 * elf/tst-relsort1mod2.c: New file.
38820 2012-01-27 Joseph Myers <joseph@codesourcery.com>
38822 * math/s_ldexp.c: Remove __STDC__ conditionals.
38823 * math/s_ldexpf.c: Likewise.
38824 * math/s_ldexpl.c: Likewise.
38825 * math/s_nextafter.c: Likewise.
38826 * math/s_nexttowardf.c: Likewise.
38827 * math/s_significand.c: Likewise.
38828 * math/s_significandf.c: Likewise.
38829 * math/s_significandl.c: Likewise.
38830 * math/w_jnl.c: Likewise.
38831 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38832 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38833 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38834 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38835 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38850 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38851 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38852 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38853 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38855 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38856 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38857 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38858 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38859 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38862 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38863 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38864 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38865 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38867 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38868 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38869 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38870 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38871 * sysdeps/ieee754/k_standard.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38933 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38938 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38947 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38951 * sysdeps/ieee754/s_matherr.c: Likewise.
38952 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38953 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38957 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38959 * crypt/md5.h: Remove __STDC__ conditionals.
38960 * libio/libioP.h: Likewise.
38961 * locale/programs/config.h: Likewise.
38962 * sysdeps/generic/sysdep.h: Likewise.
38963 * sysdeps/i386/asm-syntax.h: Likewise.
38964 * sysdeps/s390/asm-syntax.h: Likewise.
38965 * sysdeps/unix/sysdep.h: Likewise.
38966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38969 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38971 * libio/libio.h: Remove __STDC__ conditionals.
38972 * malloc/obstack.h: Likewise.
38973 * math/complex.h: Likewise.
38974 * math/math.h: Likewise.
38975 * sysdeps/generic/_G_config.h: Likewise.
38976 * sysdeps/gnu/_G_config.h: Likewise.
38977 * sysdeps/mach/hurd/_G_config.h: Likewise.
38978 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38979 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38980 * sysdeps/sparc/bits/mathdef.h: Likewise.
38982 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38985 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38986 Clean up HAS_* macros.
38987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38988 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38992 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38993 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38994 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38995 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38996 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38998 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39000 * elf/tst-unique3.cc (gets): Remove declaration.
39001 * elf/tst-unique3lib.cc (gets): Likewise.
39002 * elf/tst-unique3lib2.cc (gets): Likewise.
39003 * elf/tst-unique4.cc (gets): Likewise.
39005 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39007 * include/stdio.h: Add C++ protection. Add gets declarations and
39009 * debug/tst-chk1.c: Don't declare gets here.
39010 * stdio-common/tst-gets.c: Likewise.
39012 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39014 * posix/glob: Remove directory.
39016 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39018 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39020 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39022 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39023 of the non-standard EPFNOSUPPORT.
39025 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39027 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39028 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39029 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39031 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39033 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39035 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39037 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39039 * nscd/grpcache.c (cache_addgr): Likewise.
39040 * nscd/hstcache.c (cache_addhst): Likewise.
39041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39042 * nscd/pwdcache.c (cache_addpw): Likewise.
39043 * nscd/servicescache.c (cache_addserv): Likewise.
39045 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39047 * malloc/malloc.c: Various cleanups.
39048 * malloc/hooks.c: Likewise.
39050 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39051 * stdlib/bug-fmtmsg1.c: New file.
39053 * stdlib/fmtmsg.c (init): Add missing unlock.
39054 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39056 2012-01-12 Marek Polacek <polacek@redhat.com>
39058 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39061 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39063 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39064 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39065 macro to ensure uniqueness of label name.
39066 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39067 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39069 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39071 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39073 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39074 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39078 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39082 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39083 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39084 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39086 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39088 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39090 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39093 * math/bits/math-finite.h: Add ldexp support.
39095 2012-01-10 Marek Polacek <polacek@redhat.com>
39097 * locale/programs/localedef.h (show_archive_content): Add noreturn
39100 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39102 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39104 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39106 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39108 * io/Makefile (headers): Add bits/poll2.h.
39110 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39113 typo #include statement.
39115 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39117 * include/sys/cdefs.h: Define __attribute_alloc_size.
39118 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39119 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39120 * elf/pldd.c: Likewise.
39121 * iconv/iconv_charmap.c: Likewise.
39122 * iconv/iconvconfig.c: Likewise.
39123 * iconv/strtab.c: Likewise.
39124 * locale/programs/locale.c: Likewise.
39125 * locale/programs/localedef.h: Likewise.
39126 * locale/programs/simple-hash.c: Likewise.
39127 * nscd/nscd.h: Likewise.
39128 * nss/makedb.c: Likewise.
39129 * sysdeps/generic/ldconfig.h: Likewise.
39130 * locale/programs/localedef.c: Remove xmalloc prototype.
39131 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39133 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39135 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39138 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39140 * math/Makefile (tests): Add tst-CMPLX.
39141 * math/tst-CMPLX.c: New file.
39143 * math/complex.h (CMPLXL): Fix typo.
39145 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39146 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39148 * debug/tst-chk1.c: Add poll and ppoll tests.
39149 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39150 * include/sys/poll.h: Add hidden proto for ppoll.
39151 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39152 * sysdeps/mach/hurd/ppoll.c: Likewise.
39153 * io/ppoll.c: Likewise.
39154 * debug/poll_chk.c: New file.
39155 * debug/ppoll_chk.c: New file.
39156 * include/bits/poll2.h: New file.
39157 * io/bits/poll2.h: New file.
39160 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39162 * configure.in: static is always set to yes. Remove.
39163 * config.make.in: Don't set build-static.
39164 * Makeconfig: Remove use of build-static.
39165 * dlfcn/Makefile: Likewise.
39166 * elf/Makefile: Likewise.
39167 * math/Makefile: Likewise.
39168 * misc/Makefile: Likewise.
39169 * nptl/Makefile: Likewise.
39170 * sysdeps/mach/hurd/Makefile: Likewise.
39172 * configure.in: PWD_P is not used anymore.
39173 * config.make.in: Remove PWD_P entry.
39175 * configure.in: Remove last remnants of RANLIB.
39176 No need to check for signed size_t anymore.
39177 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39179 Remove __builtin_expect test because we require at least gcc 3.4.
39180 * aclocal.m4: Likewise.
39182 * wcsmbs/mbrtoc16.c: Implement using towc function.
39183 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39184 * wcsmbs/wcsmbsload.c: Likewise.
39185 * iconv/gconv_simple.c: Likewise.
39186 * iconv/gconv_int.h: Likewise.
39187 * iconv/gconv_builtin.h: Likewise.
39188 * iconv/iconv_prog.c: Remove CHAR16 handling.
39190 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39192 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39194 * configure.in: Remove --with-elf and --enable-bounded options.
39195 Dont set base_machine for ia64. More non-ELF conditions removed.
39196 Remove testing and setting of leading underscore information.
39197 * config.make.in (build-bounded): Set to no.
39198 * config.h.in: Remove NO_UNDERSCORES entry.
39199 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39201 * csu/start.c: Remove !NO_UNDERSCORE code.
39202 * locale/localeinfo.h: Likewise.
39203 * sysdeps/generic/machine-gmon.h: Likewise.
39204 * sysdeps/generic/sysdep.h: Likewise.
39205 * sysdeps/i386/sysdep.h: Likewise.
39206 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39207 * sysdeps/mach/sysdep.h: Likewise.
39208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39210 * sysdeps/sh/sysdep.h: Likewise.
39211 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39212 * sysdeps/unix/i386/sysdep.S: Likewise.
39213 * sysdeps/unix/sparc/start.c: Likewise.
39214 * sysdeps/unix/sparc/sysdep.S: Likewise.
39215 * sysdeps/unix/sparc/sysdep.h: Likewise.
39216 * sysdeps/unix/start.c: Likewise.
39217 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39218 * sysdeps/x86_64/sysdep.h: Likewise.
39220 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39223 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39225 * argp/argp-fmtstream.h: Use const instead __const.
39226 * argp/argp.h: Likewise.
39227 * assert/assert.h: Likewise.
39228 * bits/fenv.h: Likewise.
39229 * bits/sched.h: Likewise.
39230 * bits/sigset.h: Likewise.
39231 * bits/sigthread.h: Likewise.
39232 * catgets/nl_types.h: Likewise.
39233 * conform/data/pthread.h-data: Likewise.
39234 * crypt/crypt-private.h: Likewise.
39235 * crypt/crypt.h: Likewise.
39236 * crypt/crypt_util.c: Likewise.
39237 * ctype/ctype.h: Likewise.
39238 * debug/execinfo.h: Likewise.
39239 * debug/mbsnrtowcs_chk.c: Likewise.
39240 * debug/mbsrtowcs_chk.c: Likewise.
39241 * debug/wcsnrtombs_chk.c: Likewise.
39242 * debug/wcsrtombs_chk.c: Likewise.
39243 * debug/wcstombs_chk.c: Likewise.
39244 * dirent/dirent.h: Likewise.
39245 * dlfcn/dlfcn.h: Likewise.
39246 * elf/neededtest4.c: Likewise.
39247 * grp/grp.h: Likewise.
39248 * gshadow/gshadow.h: Likewise.
39249 * iconv/gconv.h: Likewise.
39250 * iconv/gconv_int.h: Likewise.
39251 * iconv/gconv_simple.c: Likewise.
39252 * iconv/iconv.h: Likewise.
39253 * iconv/loop.c: Likewise.
39254 * iconv/skeleton.c: Likewise.
39255 * include/aio.h: Likewise.
39256 * include/aliases.h: Likewise.
39257 * include/argz.h: Likewise.
39258 * include/arpa/inet.h: Likewise.
39259 * include/assert.h: Likewise.
39260 * include/dirent.h: Likewise.
39261 * include/dlfcn.h: Likewise.
39262 * include/execinfo.h: Likewise.
39263 * include/fcntl.h: Likewise.
39264 * include/fenv.h: Likewise.
39265 * include/glob.h: Likewise.
39266 * include/grp.h: Likewise.
39267 * include/libintl.h: Likewise.
39268 * include/mntent.h: Likewise.
39269 * include/netdb.h: Likewise.
39270 * include/pwd.h: Likewise.
39271 * include/rpc/netdb.h: Likewise.
39272 * include/sched.h: Likewise.
39273 * include/search.h: Likewise.
39274 * include/shadow.h: Likewise.
39275 * include/signal.h: Likewise.
39276 * include/stdio.h: Likewise.
39277 * include/stdlib.h: Likewise.
39278 * include/string.h: Likewise.
39279 * include/sys/socket.h: Likewise.
39280 * include/sys/stat.h: Likewise.
39281 * include/sys/statfs.h: Likewise.
39282 * include/sys/statvfs.h: Likewise.
39283 * include/sys/syslog.h: Likewise.
39284 * include/sys/time.h: Likewise.
39285 * include/sys/uio.h: Likewise.
39286 * include/time.h: Likewise.
39287 * include/unistd.h: Likewise.
39288 * include/utmp.h: Likewise.
39289 * include/wchar.h: Likewise.
39290 * include/wctype.h: Likewise.
39291 * inet/aliases.h: Likewise.
39292 * inet/arpa/inet.h: Likewise.
39293 * inet/netinet/ether.h: Likewise.
39294 * inet/netinet/in.h: Likewise.
39295 * intl/libintl.h: Likewise.
39296 * io/bits/fcntl2.h: Likewise.
39297 * io/fcntl.h: Likewise.
39298 * io/ftw.h: Likewise.
39299 * io/sys/poll.h: Likewise.
39300 * io/sys/stat.h: Likewise.
39301 * io/sys/statfs.h: Likewise.
39302 * io/sys/statvfs.h: Likewise.
39303 * io/utime.h: Likewise.
39304 * libio/bits/stdio.h: Likewise.
39305 * libio/bits/stdio2.h: Likewise.
39306 * libio/libio.h: Likewise.
39307 * libio/libioP.h: Likewise.
39308 * libio/stdio.h: Likewise.
39309 * locale/lc-ctype.c: Likewise.
39310 * locale/locale.h: Likewise.
39311 * login/utmp.h: Likewise.
39312 * malloc/arena.c: Likewise.
39313 * malloc/malloc.c: Likewise.
39314 * malloc/malloc.h: Likewise.
39315 * malloc/mcheck.c: Likewise.
39316 * malloc/mtrace.c: Likewise.
39317 * math/bits/mathcalls.h: Likewise.
39318 * math/fenv.h: Likewise.
39319 * math/math_private.h: Likewise.
39320 * misc/bits/error.h: Likewise.
39321 * misc/bits/syslog.h: Likewise.
39322 * misc/err.h: Likewise.
39323 * misc/error.h: Likewise.
39324 * misc/fstab.h: Likewise.
39325 * misc/mntent.h: Likewise.
39326 * misc/regexp.h: Likewise.
39327 * misc/search.h: Likewise.
39328 * misc/sgtty.h: Likewise.
39329 * misc/sys/mman.h: Likewise.
39330 * misc/sys/syslog.h: Likewise.
39331 * misc/sys/uio.h: Likewise.
39332 * misc/sys/xattr.h: Likewise.
39333 * misc/ttyent.h: Likewise.
39334 * nis/rpcsvc/ypclnt.h: Likewise.
39335 * nss/nss.h: Likewise.
39336 * posix/bits/unistd.h: Likewise.
39337 * posix/fnmatch.h: Likewise.
39338 * posix/glob.h: Likewise.
39339 * posix/sched.h: Likewise.
39340 * posix/spawn.h: Likewise.
39341 * posix/sys/wait.h: Likewise.
39342 * posix/unistd.h: Likewise.
39343 * posix/wordexp.h: Likewise.
39344 * pwd/pwd.h: Likewise.
39345 * resolv/netdb.h: Likewise.
39346 * resource/sys/resource.h: Likewise.
39347 * rt/aio.h: Likewise.
39348 * rt/bits/mqueue2.h: Likewise.
39349 * rt/mqueue.h: Likewise.
39350 * shadow/shadow.h: Likewise.
39351 * signal/signal.h: Likewise.
39352 * socket/send.c: Likewise.
39353 * socket/sendto.c: Likewise.
39354 * socket/sys/socket.h: Likewise.
39355 * stdio-common/printf.h: Likewise.
39356 * stdlib/bits/stdlib.h: Likewise.
39357 * stdlib/fmtmsg.h: Likewise.
39358 * stdlib/monetary.h: Likewise.
39359 * stdlib/stdlib.h: Likewise.
39360 * stdlib/ucontext.h: Likewise.
39361 * streams/stropts.h: Likewise.
39362 * string/argz.h: Likewise.
39363 * string/bits/string2.h: Likewise.
39364 * string/string.h: Likewise.
39365 * string/strings.h: Likewise.
39366 * sunrpc/rpc/auth.h: Likewise.
39367 * sunrpc/rpc/auth_des.h: Likewise.
39368 * sunrpc/rpc/clnt.h: Likewise.
39369 * sunrpc/rpc/netdb.h: Likewise.
39370 * sunrpc/rpc/pmap_clnt.h: Likewise.
39371 * sunrpc/rpc/xdr.h: Likewise.
39372 * sysdeps/generic/inttypes.h: Likewise.
39373 * sysdeps/generic/net/if.h: Likewise.
39374 * sysdeps/generic/sys/swap.h: Likewise.
39375 * sysdeps/gnu/net/if.h: Likewise.
39376 * sysdeps/gnu/utmpx.h: Likewise.
39377 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39378 * sysdeps/i386/i486/bits/string.h: Likewise.
39379 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39380 * sysdeps/s390/bits/string.h: Likewise.
39381 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39382 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39383 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39384 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39385 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39386 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39387 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39388 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39389 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39390 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39391 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39392 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39393 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39394 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39395 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39396 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39397 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39399 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39400 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39402 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39403 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39404 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39405 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39406 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39407 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39408 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39409 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39411 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39412 * sysvipc/sys/ipc.h: Likewise.
39413 * sysvipc/sys/msg.h: Likewise.
39414 * sysvipc/sys/sem.h: Likewise.
39415 * sysvipc/sys/shm.h: Likewise.
39416 * termios/termios.h: Likewise.
39417 * time/sys/time.h: Likewise.
39418 * time/time.h: Likewise.
39419 * wcsmbs/bits/wchar2.h: Likewise.
39420 * wcsmbs/uchar.h: Likewise.
39421 * wcsmbs/wchar.h: Likewise.
39422 * wctype/wctype.h: Likewise.
39425 * Makeconfig: Remove all but ELF support including AIX support.
39426 * Makerules: Likewise.
39427 * config.h.in: Likewise.
39428 * config.make.in: Likewise.
39429 * configure: Likewise.
39430 * configure.in: Likewise.
39431 * csu/Makefile: Likewise.
39432 * csu/version.c: Likewise.
39433 * debug/Makefile: Likewise.
39434 * dlfcn/Makefile: Likewise.
39435 * elf/Makefile: Likewise.
39436 * extra-lib.mk: Likewise.
39437 * iconv/Makefile: Likewise.
39438 * include/libc-symbols.h: Likewise.
39439 * include/shlib-compat.h: Likewise.
39440 * resolv/Makefile: Likewise.
39441 * resolv/res_libc.c: Likewise.
39442 * rt/Makefile: Likewise.
39443 * sysdeps/i386/asm-syntax.h: Likewise.
39444 * sysdeps/i386/sysdep.h: Likewise.
39445 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39446 * sysdeps/mach/sysdep.h: Likewise.
39447 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39448 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39449 * sysdeps/s390/asm-syntax.h: Likewise.
39450 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39451 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39452 * sysdeps/sh/sysdep.h: Likewise.
39453 * sysdeps/unix/sparc/sysdep.h: Likewise.
39454 * sysdeps/wordsize-32/divdi3.c: Likewise.
39455 * sysdeps/x86_64/sysdep.h: Likewise.
39457 * argp/Versions: Remove _argp_unlock_xxx.
39460 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39461 * abilist/libBrokenLocale.abilist: Likewise.
39462 * abilist/libanl.abilist: Likewise.
39463 * abilist/libc.abilist: Likewise.
39464 * abilist/libcrypt.abilist: Likewise.
39465 * abilist/libdl.abilist: Likewise.
39466 * abilist/libm.abilist: Likewise.
39467 * abilist/libnsl.abilist: Likewise.
39468 * abilist/libpthread.abilist: Likewise.
39469 * abilist/libresolv.abilist: Likewise.
39470 * abilist/librt.abilist: Likewise.
39471 * abilist/libthread_db.abilist: Likewise.
39472 * abilist/libutil.abilist: Likewise.
39473 * abilist/libnss_db.abilist: New file.
39475 * scripts/abilist.awk: Add support for indirect functions.
39477 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39479 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39481 * shlib-versions: Remove entries for ports architectures.
39483 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39485 * elf/stackguard-macros.h: Remove support for IA-64.
39486 * elf/tst-auditmod1.c: Likewise.
39487 * sysdeps/generic/ldsodefs.h: Likewise.
39489 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39490 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39494 * configure.in: Remove --enable-omitfp support.
39496 * config.make.in: Likewise.
39497 * Makeconfig: Likewise.
39498 * manual/install.texi: Likewise.
39500 In case anyone cares, the IA-64 architecture could move to ports.
39501 * sysdeps/ia64/*: Removed.
39502 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39503 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39506 * configure.in: Remove entries for unsupported architectures.
39509 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39510 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39512 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39513 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39514 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39515 fall back to using wcrtomb.
39516 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39517 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39519 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39520 * wcsmbs/tst-c16c32-1.c: New file.
39522 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39525 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39527 * elf/tst-unique3.cc: Add explicit declaration of gets.
39528 * elf/tst-unique3lib.cc: Likewise.
39529 * elf/tst-unique3lib2.cc: Likewise.
39530 * elf/tst-unique4.cc: Likewise.
39532 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39534 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39537 * assert/assert.h (static_assert): Don't define for C++.
39538 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39539 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39541 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39543 * iconv/loop.c (single loop): Fix assertion in storing of
39546 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39548 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39550 * posix/getconf.c: Update copyright year.
39551 * nss/getent.c: Likewise.
39552 * nss/makedb.c: Likewise.
39553 * iconv/iconvconfig.c: Likewise.
39554 * iconv/iconv_prog.c: Likewise.
39555 * elf/ldconfig.c: Likewise.
39556 * elf/pldd.c: Likewise.
39557 * elf/sotruss.ksh: Likewise.
39558 * catgets/gencat.c: Likewise.
39559 * csu/version.c: Likewise.
39560 * elf/ldd.bash.in: Likewise.
39561 * elf/sprof.c (print_version): Likewise.
39562 * locale/programs/locale.c: Likewise.
39563 * locale/programs/localedef.c: Likewise.
39564 * login/programs/pt_chown.c: Likewise.
39565 * nscd/nscd.c (print_version): Likewise.
39566 * debug/xtrace.sh: Likewise.
39567 * malloc/memusage.sh: Likewise.
39568 * malloc/mtrace.pl: Likewise.
39569 * debug/catchsegv.sh: Likewise.
39571 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39573 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39576 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39579 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39580 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39582 * iconv/gconv_int.h: Likewise.
39583 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39584 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39585 from libc for GLIBC_2.16.
39586 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39587 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39588 * wcsmbs/uchar.h: Really define mbstate_t.
39589 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39590 * wcsmbs/c16rtomb.c: New file.
39591 * wcsmbs/mbrtoc16.c: New file.
39592 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39593 for C/POSIX locale.
39594 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39595 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39597 * wcsmbs/wchar.h: Add missing __restrict.
39599 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39602 * time/Makefile (routines): Add timespec_get.
39603 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39604 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39605 timespec for ISO C11.
39606 * time/timespec_get.c: New file.
39607 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39608 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39611 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39612 * stdlib/stdlib.h: Declare aligned_alloc.
39613 * Versions.def: Add GLIBC_2.16 for libc.
39614 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39617 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39620 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39624 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39627 * assert/assert.h (static_assert): Define.
39629 * version.h: Update for 2.16 development version.
39632 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39635 * version.h (RELEASE): Bump for 2.15 release.
39636 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39638 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39639 Patch by Marek Polacek <mpolacek@redhat.com>.
39641 * bits/byteswap.h: Protect long long constants with __extension__.
39642 * sysdeps/i386/bits/byteswap.h: Likewise.
39643 * sysdeps/ia64/bits/byteswap.h: Likewise.
39644 * sysdeps/s390/bits/byteswap.h: Likewise.
39645 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39647 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39651 destination buffer.
39652 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39654 2011-12-23 Marek Polacek <polacek@redhat.com>
39656 * elf/dl-addr.c (determine_info): Add inline keyword.
39657 * elf/tst-auditmod4b.c (check_avx): Likewise.
39658 * elf/tst-auditmod6b.c (check_avx): Likewise.
39659 * elf/tst-auditmod6c.c (check_avx): Likewise.
39660 * elf/tst-auditmod7b.c (check_avx): Likewise.
39662 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39664 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39667 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39670 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39671 processing for last bytes.
39673 2011-08-06 Bruno Haible <bruno@clisp.org>
39676 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39677 U+0385, not to U+1FEE.
39680 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39681 entry for U+00A5 U+0301.
39683 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39686 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39687 buffer for the output is too small.
39689 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39693 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39694 SSE flags if possible.
39696 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39699 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39700 processing for last bytes.
39702 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39704 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39705 (syscall-list-default-options, syscall-list-default-condition)
39706 (syscall-list-includes): Define.
39707 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39708 list of ABIs and options and #if conditions for each ABI. Do not
39709 handle common syscalls between ABIs specially.
39710 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39712 (syscall-list-variants, syscall-list-32bit-options)
39713 (syscall-list-32bit-condition, syscall-list-64bit-options)
39714 (syscall-list-64bit-condition): Define.
39715 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39716 (syscall-list-variants, syscall-list-32bit-options)
39717 (syscall-list-32bit-condition, syscall-list-64bit-options)
39718 (syscall-list-64bit-condition): Define.
39719 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39721 (syscall-list-variants, syscall-list-32bit-options)
39722 (syscall-list-32bit-condition, syscall-list-64bit-options)
39723 (syscall-list-64bit-condition): Define.
39724 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39726 (syscall-list-variants, syscall-list-32bit-options)
39727 (syscall-list-32bit-condition, syscall-list-64bit-options)
39728 (syscall-list-64bit-condition): Define.
39730 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39732 * locale/iso-639.def: Add brx entry.
39735 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39736 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39738 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39739 __feraiseexcept_renamed.
39741 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39744 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39745 EPOLLET with unsigned values.
39746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39749 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39750 to large cancellation.
39751 * math/s_cacoshf.c: Likewise.
39752 * math/s_cacoshl.c: Likewise.
39754 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39758 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39759 * math/s_cacoshf.c: Likewise.
39760 * math/s_cacoshl.c: Likewise.
39762 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39765 * iconv/gconv.h: Define __GCONV_SWAP.
39766 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39767 * iconvdata/utf-16.c: Likewise.
39768 * iconvdata/utf-32.c: Likewise.
39770 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39774 numerator after shifting it by one limb.
39776 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39778 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39779 under [__USE_EXTERN_INLINES].
39781 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39784 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39786 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39788 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39789 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39791 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39792 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39793 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39794 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39795 for strncasecmp/strncasecmp_l compilation.
39796 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39797 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39799 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39802 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39805 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39808 * time/tzfile.c (__tzfile_read): Check values from file header.
39810 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39812 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39813 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39814 * powerpc/powerpc32/dl-start.S: Likewise.
39815 * powerpc/powerpc32/elf/start.S: Likewise.
39816 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39817 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39818 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39819 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39820 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39821 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39822 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39823 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39824 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39825 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39826 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39827 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39828 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39829 * powerpc/powerpc32/memset.S: Likewise.
39830 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39831 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39832 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39833 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39834 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39835 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39836 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39837 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39838 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39839 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39840 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39841 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39842 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39844 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39846 * math/libm-test.inc: Added more nearbyint tests.
39847 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39849 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39852 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39854 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39857 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39859 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39860 Add wcscpy-ssse3 wcscpy-c.
39861 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39862 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39863 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39864 * sysdeps/x86_64/wcschr.S: New file.
39865 * sysdeps/x86_64/wcsrchr.S: New file.
39866 * string/test-strcmp.c: Remove checking of wcscmp function for
39868 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39869 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39870 wcsrchr-sse2 wcsrchr-c.
39871 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39872 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39873 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39874 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39875 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39876 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39877 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39878 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39879 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39880 * wcsmbc/wcschr.c (WCSCHR): New macro.
39882 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39884 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39885 * wcsmbs/test-wcsrchr.c: New file.
39886 * string/test-strrchr.c: Add wcsrchr support.
39888 * wcsmbs/test-wcscpy.c: New file.
39889 * string/test-strcpy.c: Add wcscpy support.
39892 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39894 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39897 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39900 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39902 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39904 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39905 Minor optimizations.
39907 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39908 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39909 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39911 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39913 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39914 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39915 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39916 for gcc to avoid warnings.
39917 * inet/Makefile (tests): Add tst-checks.
39918 * inet/tst-checks.c: New file.
39920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39923 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39926 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39927 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39929 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39931 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39933 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39936 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39938 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39940 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39941 conditional on GCC version.
39942 (__arch_compare_and_exchange_val_8_acq)
39943 (__arch_compare_and_exchange_val_16_acq)
39944 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39945 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39946 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39948 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39950 * sysdeps/sh/backtrace.c: New file.
39952 2011-12-02 Andreas Schwab <schwab@redhat.com>
39954 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39957 2011-12-01 Andreas Schwab <schwab@redhat.com>
39959 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39960 falling back to utime.
39962 2011-11-30 Andreas Schwab <schwab@redhat.com>
39964 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39965 expectations for float.
39967 2011-11-29 Andreas Schwab <schwab@redhat.com>
39969 * locale/weight.h (findidx): Add parameter len.
39970 * locale/weightwc.h (findidx): Likewise.
39971 * posix/fnmatch_loop.c (FCT): Adjust caller.
39972 * posix/regcomp.c (build_equiv_class): Likewise.
39973 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39974 * posix/regexec.c (check_node_accept_bytes): Likewise.
39975 * string/strcoll_l.c (STRCOLL): Likewise.
39976 * string/strxfrm_l.c (STRXFRM): Likewise.
39978 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39980 * Makefile.in: Remove CVSOPT handling.
39981 * configure.in: Remove use of AC_REVISION.
39982 * iconvdata/Makefile (distribute): No need to filter out CVS.
39983 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39986 2011-11-16 Andreas Schwab <schwab@redhat.com>
39988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39989 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39990 [USE_AS_STRNCASECMP_L]: Likewise.
39991 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39992 NO_TLS_DIRECT_SEG_REFS.
39993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39994 Fix argument offsets for non-PIC.
39995 [USE_AS_STRNCASECMP_L]: Likewise.
39996 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39997 NO_TLS_DIRECT_SEG_REFS.
39999 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40001 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40003 * locale/loadlocale.c (_nl_load_locale): Likewise.
40005 2011-11-15 Andreas Schwab <schwab@redhat.com>
40007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40008 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40010 (SYSCALL_GETTIME): Set errno on error.
40012 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40013 count references to noai6ai_cached.
40015 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40017 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40019 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40020 FD_CLOEXEC for /proc/self/maps.
40022 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40023 FD_CLOEXEC for /proc/meminfo.
40025 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40028 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40029 FD_CLOEXEC for given file.
40031 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40033 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40034 FD_CLOEXEC for /etc/hosts.
40035 (_gethtent): Likewise.
40037 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40039 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40040 cancellation and set FD_CLOEXEC for /etc/netgroup.
40042 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40043 reading /etc/publickey.
40045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40046 allow cancellation when reading /etc/group.
40048 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40050 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40052 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40053 when using data file.
40055 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40057 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40058 (write_nis_obj): Use "c" and "e" in fopen.
40060 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40062 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40064 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40066 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40068 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40071 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40073 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40075 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40077 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40078 file parsing and set FD_CLOEXEC.
40080 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40082 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40084 2011-11-14 Andreas Schwab <schwab@redhat.com>
40086 * malloc/arena.c (arena_get2): Don't call reused_arena when
40087 _int_new_arena failed.
40089 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40092 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40094 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40096 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40097 to compile strcasecmp and strncasecmp.
40098 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40099 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40103 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40105 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40106 locale-defines.sym to gen-as-const-headers.
40107 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40108 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40110 to compile strcasecmp and strncasecmp.
40111 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40112 strcasecmp_l and strncasecmp_l.
40113 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40114 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40115 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40116 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40117 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40118 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40119 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40120 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40121 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40122 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40123 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40125 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40127 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40128 result of SYSDEP_GETTIME_CPU to retval.
40129 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40130 parameter list to macro. Remove trailing semicolon. Adjust users.
40132 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40135 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40137 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40139 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40140 from unused variable.
40142 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40144 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40147 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40150 * sunrpc/rpc_prot.c (rejected): Fix case value.
40152 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40153 unsigned long long int to avoid warnings in shift.
40155 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40157 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40160 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40161 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40162 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40164 * nis/nis_table.c (nis_list): Use variable of correct type for
40165 result of __follow_path call.
40167 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40169 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40170 of math functions ceil, trunc, floor, round, and sqrt, when
40171 avaliable on the platform.
40172 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40174 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40175 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40176 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40178 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40180 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40181 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40183 2011-11-11 Roland McGrath <roland@hack.frob.com>
40185 * include/unistd.h: Fix __readlink return type.
40186 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40188 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40190 * stdlib/ucontext.h: Undo last change for makecontext.
40192 2011-11-11 Andreas Schwab <schwab@redhat.com>
40194 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40196 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40197 * setjmp/setjmp.h: Mark functions as non-leaf.
40198 * setjmp/bits/setjmp2.h: Likewise.
40199 * stdlib/ucontext.h: Likewise.
40201 2011-11-10 Andreas Schwab <schwab@redhat.com>
40203 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40204 (reused_arena): Don't check arena limit.
40205 (arena_get2): Atomically check arena limit.
40207 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40209 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40210 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40215 2011-11-07 Andreas Schwab <schwab@redhat.com>
40217 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40218 handler when locking.
40220 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40221 Fix size of allocated buffer.
40223 2011-11-04 Andreas Schwab <schwab@redhat.com>
40226 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40227 declarations for long double functions.
40228 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40230 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40232 2011-11-03 Andreas Schwab <schwab@redhat.com>
40234 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40237 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40240 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40242 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40244 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40246 * include/alloca.h (stackinfo_alloca_round): Define.
40247 (extend_alloca): Use it.
40248 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40249 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40252 * scripts/check-local-headers.sh: Ignore libaudit.h.
40254 * nscd/Makefile (extra-objs): Make recursively expanded.
40256 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40258 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40261 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40262 * posix/tst-rfc3484-2.c: Likewise.
40263 * posix/tst-rfc3484-3.c: Likewise.
40265 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40267 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40269 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40270 process_vm_writev from libc using GLIBC_2.15 version.
40272 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40274 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40276 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40279 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40282 * nss/getent.c (initgroups_keys): Show error message in case no group
40285 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40286 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40287 __bump_nl_timestamp.
40288 * nscd/connections (nscd_init): When host database is served open
40289 netlink socket and request notification about configuration changes.
40290 (main_loop_poll): Track netlink file descriptor and bump timestamp
40291 in case data becomes available.
40292 (main_loop_epoll): Likewise.
40293 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40294 (database_pers_head): Add extra_data fileds.
40295 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40296 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40297 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40300 in6ai data, call __free_in6ai.
40301 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40302 Add -DHAVE_NETLINK.
40303 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40304 interface information. Reuse previous data if netlink timestamp
40306 (__bump_nl_timestamp): New function.
40307 (__free_in6ai): New function.
40309 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40311 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40312 close_not_cancel_no_status here.
40313 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40315 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40318 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40321 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40322 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40323 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40325 2011-07-03 Andreas Jaeger <aj@suse.de>
40328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40329 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40330 * math/libm-test.inc (sin_test): Add test case.
40332 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40335 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40336 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40338 * elf/chroot_canon.c (chroot_canon): Cleanups.
40340 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40343 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40344 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40346 * string/test-strchr.c: Make usable for strchrnul testing.
40347 * string/test-strchrnul.c: New file.
40348 * string/Makefile (strop-tests): Add strchrnul.
40350 * po/it.po: Update from translation team.
40351 * po/es.po: Likewise.
40353 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40356 the three constants needed as parameters. Drop the others.
40357 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40358 __m128i_strloadu_tolower.
40359 Create and initialize variable zero and use it in all the places
40360 where _mm_setzero_si128 was used.
40362 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40363 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40364 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40365 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40367 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40368 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40369 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40370 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40371 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40372 __mpranred, __mptan.
40373 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40374 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40375 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40376 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40377 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40378 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40379 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40380 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40381 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40383 2011-10-28 Andreas Schwab <schwab@redhat.com>
40385 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40386 redefine if SHARED.
40387 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40390 wide char related routines to wcsmbs subdir.
40392 2011-10-27 Andreas Schwab <schwab@redhat.com>
40395 * misc/sys/cdefs.h (__THROWNL): Define.
40396 * posix/unistd.h: Use __THREADNL instead of __THREAD
40397 for memory synchronization functions.
40399 2011-10-26 Roland McGrath <roland@hack.frob.com>
40402 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40404 * manual/stdio.texi (Obstack Streams): Node removed.
40406 2011-10-26 Andreas Schwab <schwab@redhat.com>
40408 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40409 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40412 * math/math_private.h (math_force_eval): Allow non-addressable
40414 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40416 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40418 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40419 file is not needed.
40421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40428 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40430 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40431 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40432 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40433 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40434 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40435 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40436 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40437 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40438 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40439 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40440 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40441 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40443 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40444 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40445 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40446 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40447 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40448 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40450 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40451 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40454 place. Use VEX encoding when compiling for AVX.
40456 2011-10-25 Andreas Schwab <schwab@redhat.com>
40458 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40459 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40461 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40463 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40465 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40466 useless if() expression.
40467 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40468 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40469 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40470 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40471 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40473 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40474 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40475 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40476 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40477 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40478 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40479 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40480 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40481 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40482 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40483 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40485 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40487 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40489 2011-10-25 Andreas Schwab <schwab@redhat.com>
40491 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40493 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40495 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40497 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40498 .text section. Avoid duplicate constants.
40499 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40501 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40507 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40508 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40509 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40510 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40511 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40512 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40513 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40514 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40515 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40516 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40522 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40523 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40524 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40525 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40526 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40527 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40528 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40529 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40530 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40531 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40532 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40533 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40534 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40535 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40537 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40538 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40540 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40541 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40542 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40543 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40545 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40547 * sysdeps/x86_64/dla.h: Move to ...
40548 * sysdeps/x86_64/fpu/dla.h: ...here.
40549 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40550 situations. Use __builtin_fma only for gcc 4.6 and up.
40552 * config.make.in: Add have-mfma4 entry.
40553 * configure.in: Substitute libc_cv_cc_fma4.
40554 * math/Makefile (dbl-only-routines): Add sincostab.
40555 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40556 Use __sincostab not sincos.
40557 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40564 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40565 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40566 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40567 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40569 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40570 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40572 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40573 define aliases when function name is a macro.
40574 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40575 sysdeps/ieee754/dbl-64/sincos.tbl.
40576 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40577 fma4-enabled routines.
40578 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40579 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40580 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40581 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40582 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40583 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40585 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40586 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40587 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40588 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40589 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40590 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40591 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40592 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40593 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40594 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40595 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40596 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40597 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40598 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40599 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40600 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40602 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40603 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40605 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40606 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40607 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40609 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40620 2011-10-24 Andreas Schwab <schwab@redhat.com>
40622 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40624 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40626 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40628 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40630 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40632 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40633 Remove unused variable magic_bits.
40634 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40636 * string/strnlen.c: Define and use STRNLEN macro.
40637 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40638 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40640 * wcsmbs/wcslen.c: Define and use WCSLEN.
40641 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40642 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40643 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40644 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40645 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40646 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40649 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40652 strnlen-sse2-no-bsf.
40653 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40655 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40656 Add strnlen support.
40657 (USE_AS_STRNLEN): New macro.
40658 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40659 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40660 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40661 * sysdeps/x86_64/wcslen.S: New file.
40663 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40666 XMM-moves are used for copying on small sizes.
40668 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40670 * wcsmbs/Makefile (strop-tests): Add wcschr.
40671 * wcsmbs/test-wcschr.c: New file.
40672 * string/test-strchr.c: Update.
40673 Add wcschr support.
40676 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40678 * wcsmbs/Makefile (strop-tests): Add wcslen.
40679 * wcsmbs/test-wcslen.c: New file.
40680 * string/test-strlen.c: Update.
40681 Add wcslen support.
40684 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40686 * po/it.po: Update from translation team.
40688 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40690 * sysdeps/x86_64/wcscmp.S: Update.
40691 Fix wrong comparison semantics.
40692 wcscmp shall use signed comparison not unsigned.
40693 Don't use substraction to avoid overflow bug.
40694 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40695 * wcsmbc/wcscmp.c: Likewise.
40696 * string/test-strcmp.c: Likewise.
40697 Add new tests to check cases with negative values.
40699 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40701 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40702 * sysdeps/x86_64/dla.h: ...here. New file.
40703 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40708 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40713 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40716 __ynl_finite aliases.
40718 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40722 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40724 [DLA_FMA] (EMULV): Use DLA_FMA.
40725 [DLA_FMA] (MUL12): Use EMULV.
40726 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40727 that are not needed.
40728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40736 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40738 * math/s_nan.c: Undef __nan.
40739 * math/s_nanf.c: Undef __nanf.
40740 * math/s_nanl.c: Undef __nanl.
40741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40744 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40746 * math/s_catan.c: Add branch predictions.
40747 * math/s_catanf.c: Likewise.
40748 * math/s_catanh.c: Likewise.
40749 * math/s_catanhf.c: Likewise.
40750 * math/s_catanhl.c: Likewise.
40751 * math/s_catanl.c: Likewise.
40752 * math/s_cexp.c: Likewise.
40753 * math/s_cexpf.c: Likewise.
40754 * math/s_cexpl.c: Likewise.
40755 * math/s_clog.c: Likewise.
40756 * math/s_clog10.c: Likewise.
40757 * math/s_clog10f.c: Likewise.
40758 * math/s_clog10l.c: Likewise.
40759 * math/s_clogf.c: Likewise.
40760 * math/s_clogl.c: Likewise.
40761 * math/s_csqrt.c: Likewise.
40762 * math/s_csqrtf.c: Likewise.
40763 * math/s_csqrtl.c: Likewise.
40764 * math/s_ctanf.c: Likewise.
40765 * math/s_ctanh.c: Likewise.
40766 * math/s_ctanhf.c: Likewise.
40767 * math/s_ctanhl.c: Likewise.
40768 * math/s_ctanl.c: Likewise.
40770 * math/math_private.h: Define __nan, __nanf, __nanl.
40771 * math/s_cacosh.c: Include <math_private.h>.
40772 * math/s_cacoshl.c: Likewise.
40773 * math/s_casinh.c: Likewise.
40774 * math/s_casinhf.c: Likewise.
40775 * math/s_casinhl.c: Likewise.
40776 * math/s_ccos.c: Rely entire on ccosh.
40777 * math/s_ccosf.c: Rely entire on ccoshf.
40778 * math/s_ccosl.c: Rely entirely on ccoshl.
40779 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40780 Remove tests for FE_INVALID.
40781 * math/s_ccoshf.c: Likewise.
40782 * math/s_ccoshl.c: Likewise.
40783 * math/s_csin.c: Likewise.
40784 * math/s_csinf.c: Likewise.
40785 * math/s_csinh.c Likewise.
40786 * math/s_csinhf.c: Likewise.
40787 * math/s_csinhl.c: Likewise.
40788 * math/s_csinl.c: Likewise.
40789 * math/s_ctan.c: Likewise.
40790 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40791 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40792 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40794 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40797 compilation problems.
40799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40802 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40804 * sysdeps/i386/configure.in: Test for -mfma4 option.
40805 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40806 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40807 COMMON_CPUID_INDEX_80000001.
40808 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40809 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40810 use it if FMA3 is not supported.
40811 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40813 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40814 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40816 2011-10-20 Andreas Schwab <schwab@redhat.com>
40819 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40820 it would create a cycle with a link time dependency.
40822 2011-10-19 Ulrich Drepper <drepper@gmail.com>
40824 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40826 * string/Makefile (strop-tests): Add rawmemchr.
40827 * string/test-rawmemchr.c: New file.
40829 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40830 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40831 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40832 when compiling str{,n}casecmp and when AVX is available. Hook up
40833 new optimized code in initializers.
40835 2011-10-19 Andreas Schwab <schwab@redhat.com>
40837 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40838 __feraiseexcept instead of feraiseexcept.
40840 2011-10-18 Ulrich Drepper <drepper@gmail.com>
40842 * math/math_private.h: Define defaults for libc_fetestexcept and
40844 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40845 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40846 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40847 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40848 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40849 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40850 libc_fetestexcept and libc_feupdateenv.
40852 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40853 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40854 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40855 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40856 libc_feholdexcept_setround.
40858 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40859 Add s_nearbyint-c and s_nearbyintf-c.
40860 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40861 nearbyintf inlines.
40862 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40863 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40864 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40867 * math/math_private.h: Define defaults for libc_fegetround,
40868 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40869 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40870 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40871 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40872 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40873 standard functions.
40874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40875 Remove comments and hacks for old compiler versions.
40876 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40877 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40878 libc_feholdexceptl.
40880 2011-10-18 Andreas Schwab <schwab@redhat.com>
40882 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40883 (__feraiseexcept_renamed): Add __NTH.
40884 (feraiseexcept): Add __NTH. Rename local variables to fix
40885 namespace violations.
40887 2011-10-17 Ulrich Drepper <drepper@gmail.com>
40889 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40891 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40893 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40894 recently added interfaces.
40895 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40897 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40898 about macro parameter expansion.
40900 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40901 __NO_MATH_INLINES is defined. Cleanups.
40903 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40904 and __floorf is target has SSE4.1.
40905 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40906 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40907 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40908 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40910 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40912 (floorf): Likewise.
40914 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40916 2011-10-17 Andreas Schwab <schwab@redhat.com>
40918 * misc/sys/cdefs.h: Fix last change.
40920 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40923 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40925 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40927 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40928 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40933 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40934 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40935 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40936 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40937 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40938 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40939 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40940 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40941 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40942 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40943 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40944 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40946 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40947 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40948 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40950 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40951 ceil, ceilf, floor, floorf.
40953 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40954 Perform IRELATIVE relocations last.
40956 * elf/do-rel.h: Add another parameter nrelative, replacing the
40957 local variable with the same name. Change name of the function
40958 to end in Rel or Rela (uppercase).
40959 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40960 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40961 elf_dynamic_do_##reloc function.
40963 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40965 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40966 is sufficient, at least on modern CPUs.
40968 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40970 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40971 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40973 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40975 * math/bits/math-finite.h: Add entries for exp.
40976 * math/e_expl.c: Add __*_finite alias.
40977 * sysdeps/i386/fpu/e_exp.S: Likewise.
40978 * sysdeps/i386/fpu/e_expf.S: Likewise.
40979 * sysdeps/i386/fpu/e_expl.c: Likewise.
40980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40984 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40985 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40986 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40988 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40989 is sufficient, at least on modern CPUs.
40991 * ctype/ctype-info.c (__ctype_init): Define.
40992 * include/ctype.h (__ctype_init): Declare.
40993 (__ctype_b_loc): The variable is always initialized.
40994 (__ctype_toupper_loc): Likewise.
40995 (__ctype_tolower_loc): Likewise.
40996 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40997 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40999 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41001 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41003 * configure.in: Also look in $cxxmachine/include for C++ system
41006 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41008 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41009 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41010 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41011 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41013 (USE_AS_WMEMCMP): New macro.
41015 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41016 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41017 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41018 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41020 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41021 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41022 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41023 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41024 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41025 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41026 (USE_AS_WMEMCMP): New macro.
41027 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41028 * sysdeps/string/test-memcmp.c: Update.
41029 Fix simple_wmemcmp.
41031 * wcsmbs/wmemcmp.c: Update.
41032 (WMEMCMP): New macro.
41035 2011-10-12 Andreas Jaeger <aj@suse.de>
41038 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41040 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41042 * libio/iofwide.c (do_length): Avoid warning.
41044 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41046 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41048 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41050 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41051 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41052 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41053 * sysdeps/i386/i686/fpu/e_log.S: New file.
41054 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41055 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41057 * ctype/ctype.h: Add support for inlined isXXX functions when
41058 compiling C++ code.
41060 2011-10-14 Andreas Schwab <schwab@redhat.com>
41062 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41064 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41066 2011-10-13 Roland McGrath <roland@hack.frob.com>
41069 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41071 2011-10-13 Andreas Schwab <schwab@redhat.com>
41073 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41074 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41077 * sysdeps/x86_64/memrchr.S: Check for zero size.
41079 * string/stratcliff.c: Add memrchr tests.
41081 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41084 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41085 rawmemchr-sse2 rawmemchr-sse2-bsf.
41086 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41087 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41088 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41089 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41090 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41091 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41092 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41093 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41094 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41095 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41096 * string/memrchr.c (MEMRCHR): New macro.
41098 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41100 Add integration with gcc's -ffinite-math-only and optimize wrapper
41102 * Versions.def: Define GLIBC_2.15 version for libm.
41103 * math/Makefile (headers): Add bits/math-finite.h.
41104 * math/bits/math-finite.h: New file.
41105 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41106 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41107 * math/e_acoshl.c: Add __*_finite alias.
41108 * math/e_acosl.c: Likewise.
41109 * math/e_asinl.c: Likewise.
41110 * math/e_atan2l.c: Likewise.
41111 * math/e_atanhl.c: Likewise.
41112 * math/e_coshl.c: Likewise.
41113 * math/e_exp10.c: Likewise.
41114 * math/e_exp10f.c: Likewise.
41115 * math/e_exp10l.c: Likewise.
41116 * math/e_exp2l.c: Likewise.
41117 * math/e_fmodl.c: Likewise.
41118 * math/e_gammal_r.c: Likewise.
41119 * math/e_hypotl.c: Likewise.
41120 * math/e_j0l.c: Likewise.
41121 * math/e_j1l.c: Likewise.
41122 * math/e_jnl.c: Likewise.
41123 * math/e_lgammal_r.c: Likewise.
41124 * math/e_log10l.c: Likewise.
41125 * math/e_log2l.c: Likewise.
41126 * math/e_logl.c: Likewise.
41127 * math/e_powl.c: Likewise.
41128 * math/e_sinhl.c: Likewise.
41129 * math/e_sqrtl.c: Likewise.
41130 * math/e_scalb.c: Completely rewritten and optimized.
41131 * math/e_scalbf.c: Likewise.
41132 * math/e_scalbl.c: Likewise.
41133 * math/w_acos.c: Likewise.
41134 * math/w_acosf.c: Likewise.
41135 * math/w_acosl.c: Likewise.
41136 * math/w_acosh.c: Likewise.
41137 * math/w_acoshf.c: Likewise.
41138 * math/w_acoshl.c: Likewise.
41139 * math/w_asin.c: Likewise.
41140 * math/w_asinf.c: Likewise.
41141 * math/w_asinl.c: Likewise.
41142 * math/w_atan2.c: Likewise.
41143 * math/w_atan2f.c: Likewise.
41144 * math/w_atan2l.c: Likewise.
41145 * math/w_atanh.c: Likewise.
41146 * math/w_atanhf.c: Likewise.
41147 * math/w_atanhl.c: Likewise.
41148 * math/w_exp10.c: Likewise.
41149 * math/w_exp10f.c: Likewise.
41150 * math/w_exp10l.c: Likewise.
41151 * math/w_fmod.c: Likewise.
41152 * math/w_fmodf.c: Likewise.
41153 * math/w_fmodl.c: Likewise.
41154 * math/w_j0.c: Likewise.
41155 * math/w_j0f.c: Likewise.
41156 * math/w_j0l.c: Likewise.
41157 * math/w_j1.c: Likewise.
41158 * math/w_j1f.c: Likewise.
41159 * math/w_j1l.c: Likewise.
41160 * math/w_jn.c: Likewise.
41161 * math/w_jnf.c: Likewise.
41162 * math/w_log.c: Likewise.
41163 * math/w_logf.c: Likewise.
41164 * math/w_logl.c: Likewise.
41165 * math/w_log10.c: Likewise.
41166 * math/w_log10f.c: Likewise.
41167 * math/w_log10l.c: Likewise.
41168 * math/w_log2.c: Likewise.
41169 * math/w_log2f.c: Likewise.
41170 * math/w_log2l.c: Likewise.
41171 * math/w_pow.c: Likewise.
41172 * math/w_powf.c: Likewise.
41173 * math/w_powl.c: Likewise.
41174 * math/w_remainder.c: Likewise.
41175 * math/w_remainderf.c: Likewise.
41176 * math/w_remainderl.c: Likewise.
41177 * math/w_scalb.c: Likewise.
41178 * math/w_scalbf.c: Likewise.
41179 * math/w_scalbl.c: Likewise.
41180 * math/w_sqrt.c: Likewise.
41181 * math/w_sqrtf.c: Likewise.
41182 * math/w_sqrtl.c: Likewise.
41183 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41184 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41186 * math/math_private.h: Declare __kernel_standard_f.
41187 * math/w_cosh.c: Remove cruft and optimize a bit.
41188 * math/w_coshf.c: Likewise.
41189 * math/w_coshl.c: Likewise.
41190 * math/w_exp2.c: Likewise.
41191 * math/w_exp2f.c: Likewise.
41192 * math/w_exp2l.c: Likewise.
41193 * math/w_hypot.c: Likewise.
41194 * math/w_hypotf.c: Likewise.
41195 * math/w_hypotl.c: Likewise.
41196 * math/w_lgamma.c: Likewise.
41197 * math/w_lgamma_r.c: Likewise.
41198 * math/w_lgammaf.c: Likewise.
41199 * math/w_lgammaf_r.c: Likewise.
41200 * math/w_lgammal.c: Likewise.
41201 * math/w_lgammal_r.c: Likewise.
41202 * math/w_sinh.c: Likewise.
41203 * math/w_sinhf.c: Likewise.
41204 * math/w_sinhl.c: Likewise.
41205 * math/w_tgamma.c: Likewise.
41206 * math/w_tgammaf.c: Likewise.
41207 * math/w_tgammal.c: Likewise.
41208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41209 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41210 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41211 Minor optimizations. Pretty printing. Remove cruft.
41212 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41213 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41214 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41215 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41216 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41217 * sysdeps/i386/fpu/e_asin.S: Likewise.
41218 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41219 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41220 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41221 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41222 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41224 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41225 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41226 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41227 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41228 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41229 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41230 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41231 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41232 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41233 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41234 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41235 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41236 * sysdeps/i386/fpu/e_log.S: Likewise.
41237 * sysdeps/i386/fpu/e_log10.S: Likewise.
41238 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41239 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41240 * sysdeps/i386/fpu/e_log2.S: Likewise.
41241 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41242 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41243 * sysdeps/i386/fpu/e_logf.S: Likewise.
41244 * sysdeps/i386/fpu/e_logl.S: Likewise.
41245 * sysdeps/i386/fpu/e_pow.S: Likewise.
41246 * sysdeps/i386/fpu/e_powf.S: Likewise.
41247 * sysdeps/i386/fpu/e_powl.S: Likewise.
41248 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41249 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41250 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41251 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41252 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41253 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41254 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41255 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41256 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41260 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41261 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41262 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41268 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41271 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41273 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41274 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41275 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41277 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41278 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41281 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41282 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41283 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41284 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41285 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41286 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41288 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41289 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41290 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41291 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41292 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41293 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41294 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41295 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41296 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41297 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41298 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41299 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41300 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41302 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41303 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41304 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41305 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41307 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41308 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41310 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41311 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41312 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41313 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41314 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41315 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41316 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41317 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41321 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41327 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41328 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41330 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41331 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41333 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41334 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41335 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41336 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41337 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41338 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41339 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41340 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41342 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41343 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41344 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41345 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41346 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41347 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41348 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41350 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41351 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41352 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41353 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41354 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41355 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41356 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41357 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41358 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41359 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41360 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41362 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41363 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41365 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41366 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41367 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41368 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41369 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41370 (__isnanf): Likewise.
41371 (__isinf_ns): Likewise.
41372 (__isinf_nsf): Likewise.
41373 (__finite): Likewise.
41374 (__finitef): Likewise.
41375 (__ieee754_sqrt): Define as macro.
41376 (__ieee754_sqrtf): Define as macro.
41377 (__ieee754_sqrtl): Define as macro.
41378 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41380 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41381 __FINITE_MATH_ONLY__ consistent.
41382 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41384 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41386 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41389 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41391 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41393 * po/ja.po: Update from translation team.
41395 2011-10-08 Roland McGrath <roland@hack.frob.com>
41397 * locale/programs/locarchive.c (prepare_address_space): New function.
41398 (create_archive, enlarge_archive, open_archive): Use it.
41400 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41401 inside [SHARED], where it is used.
41403 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41405 * nss/getent.c (netgroup_keys): Remove unused variable.
41406 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41408 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41410 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41411 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41413 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41414 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41415 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41416 * math/Makefile (libm-calls): Add s_isinf_ns.
41417 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41418 * math/multc3.c: Likewise.
41419 * math/s_casin.c: Likewise.
41420 * math/s_casinf.c: Likewise.
41421 * math/s_casinl.c: Likewise.
41422 * math/s_ccos.c: Likewise.
41423 * math/s_ccosf.c: Likewise.
41424 * math/s_ccosl.c: Likewise.
41425 * math/s_ctan.c: Likewise.
41426 * math/s_ctanf.c: Likewise.
41427 * math/s_ctanh.c: Likewise.
41428 * math/s_ctanhf.c: Likewise.
41429 * math/s_ctanhl.c: Likewise.
41430 * math/s_ctanl.c: Likewise.
41431 * math/w_fmod.c: Likewise.
41432 * math/w_fmodf.c: Likewise.
41433 * math/w_fmodl.c: Likewise.
41434 * math/w_remainder.c: Likewise.
41435 * math/w_remainderf.c: Likewise.
41436 * math/w_remainderl.c: Likewise.
41437 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41438 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41439 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41441 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41442 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41443 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41444 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41446 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41448 * stdio-common/printf_fphex.c: Likewise.
41449 * stdio-common/printf_size.c: Likewise.
41451 * math/e_exp10.c: Include math_private.h using <...> not "...".
41452 * math/e_exp10f.c: Likewise.
41453 * math/e_exp10l.c: Likewise.
41454 * math/e_exp2l.c: Likewise.
41455 * math/e_j0l.c: Likewise.
41456 * math/e_j1l.c: Likewise.
41457 * math/e_jnl.c: Likewise.
41458 * math/e_lgammal_r.c: Likewise.
41459 * math/e_rem_pio2l.c: Likewise.
41460 * math/e_scalb.c: Likewise.
41461 * math/e_scalbf.c: Likewise.
41462 * math/e_scalbl.c: Likewise.
41463 * math/k_cosl.c: Likewise.
41464 * math/k_sinl.c: Likewise.
41465 * math/k_tanl.c: Likewise.
41466 * math/s_cacoshf.c: Likewise.
41467 * math/s_catan.c: Likewise.
41468 * math/s_catanf.c: Likewise.
41469 * math/s_catanh.c: Likewise.
41470 * math/s_catanhf.c: Likewise.
41471 * math/s_catanhl.c: Likewise.
41472 * math/s_catanl.c: Likewise.
41473 * math/s_ccosh.c: Likewise.
41474 * math/s_ccoshf.c: Likewise.
41475 * math/s_ccoshl.c: Likewise.
41476 * math/s_cexp.c: Likewise.
41477 * math/s_cexpf.c: Likewise.
41478 * math/s_cexpl.c: Likewise.
41479 * math/s_clog.c: Likewise.
41480 * math/s_clog10.c: Likewise.
41481 * math/s_clog10f.c: Likewise.
41482 * math/s_clog10l.c: Likewise.
41483 * math/s_clogf.c: Likewise.
41484 * math/s_clogl.c: Likewise.
41485 * math/s_csin.c: Likewise.
41486 * math/s_csinf.c: Likewise.
41487 * math/s_csinh.c: Likewise.
41488 * math/s_csinhf.c: Likewise.
41489 * math/s_csinhl.c: Likewise.
41490 * math/s_csinl.c: Likewise.
41491 * math/s_csqrt.c: Likewise.
41492 * math/s_csqrtf.c: Likewise.
41493 * math/s_csqrtl.c: Likewise.
41494 * math/s_ctan.c: Likewise.
41495 * math/s_ctanf.c: Likewise.
41496 * math/s_ctanh.c: Likewise.
41497 * math/s_ctanhf.c: Likewise.
41498 * math/s_ctanhl.c: Likewise.
41499 * math/s_ctanl.c: Likewise.
41500 * math/s_ldexp.c: Likewise.
41501 * math/s_ldexpf.c: Likewise.
41502 * math/s_ldexpl.c: Likewise.
41503 * math/s_significand.c: Likewise.
41504 * math/s_significandf.c: Likewise.
41505 * math/s_significandl.c: Likewise.
41506 * math/w_acos.c: Likewise.
41507 * math/w_acosf.c: Likewise.
41508 * math/w_acosh.c: Likewise.
41509 * math/w_acoshf.c: Likewise.
41510 * math/w_acoshl.c: Likewise.
41511 * math/w_acosl.c: Likewise.
41512 * math/w_asin.c: Likewise.
41513 * math/w_asinf.c: Likewise.
41514 * math/w_asinl.c: Likewise.
41515 * math/w_atan2.c: Likewise.
41516 * math/w_atan2f.c: Likewise.
41517 * math/w_atan2l.c: Likewise.
41518 * math/w_atanh.c: Likewise.
41519 * math/w_atanhf.c: Likewise.
41520 * math/w_atanhl.c: Likewise.
41521 * math/w_cosh.c: Likewise.
41522 * math/w_coshf.c: Likewise.
41523 * math/w_coshl.c: Likewise.
41524 * math/w_dremf.c: Likewise.
41525 * math/w_exp10.c: Likewise.
41526 * math/w_exp10f.c: Likewise.
41527 * math/w_exp10l.c: Likewise.
41528 * math/w_exp2.c: Likewise.
41529 * math/w_exp2f.c: Likewise.
41530 * math/w_fmod.c: Likewise.
41531 * math/w_fmodf.c: Likewise.
41532 * math/w_fmodl.c: Likewise.
41533 * math/w_hypot.c: Likewise.
41534 * math/w_hypotf.c: Likewise.
41535 * math/w_hypotl.c: Likewise.
41536 * math/w_j0.c: Likewise.
41537 * math/w_j0f.c: Likewise.
41538 * math/w_j0l.c: Likewise.
41539 * math/w_j1.c: Likewise.
41540 * math/w_j1f.c: Likewise.
41541 * math/w_j1l.c: Likewise.
41542 * math/w_jn.c: Likewise.
41543 * math/w_jnf.c: Likewise.
41544 * math/w_jnl.c: Likewise.
41545 * math/w_lgamma.c: Likewise.
41546 * math/w_lgamma_r.c: Likewise.
41547 * math/w_lgammaf.c: Likewise.
41548 * math/w_lgammaf_r.c: Likewise.
41549 * math/w_lgammal.c: Likewise.
41550 * math/w_lgammal_r.c: Likewise.
41551 * math/w_log.c: Likewise.
41552 * math/w_log10.c: Likewise.
41553 * math/w_log10f.c: Likewise.
41554 * math/w_log10l.c: Likewise.
41555 * math/w_log2.c: Likewise.
41556 * math/w_log2f.c: Likewise.
41557 * math/w_log2l.c: Likewise.
41558 * math/w_logf.c: Likewise.
41559 * math/w_logl.c: Likewise.
41560 * math/w_pow.c: Likewise.
41561 * math/w_powf.c: Likewise.
41562 * math/w_powl.c: Likewise.
41563 * math/w_remainder.c: Likewise.
41564 * math/w_remainderf.c: Likewise.
41565 * math/w_remainderl.c: Likewise.
41566 * math/w_scalb.c: Likewise.
41567 * math/w_scalbf.c: Likewise.
41568 * math/w_scalbl.c: Likewise.
41569 * math/w_sinh.c: Likewise.
41570 * math/w_sinhf.c: Likewise.
41571 * math/w_sinhl.c: Likewise.
41572 * math/w_sqrt.c: Likewise.
41573 * math/w_sqrtf.c: Likewise.
41574 * math/w_sqrtl.c: Likewise.
41575 * math/w_tgamma.c: Likewise.
41576 * math/w_tgammaf.c: Likewise.
41577 * math/w_tgammal.c: Likewise.
41579 * po/ja.po: Update from translation team.
41581 2011-09-29 Andreas Jaeger <aj@suse.de>
41584 * sunrpc/netname.c (netname2host): Fix logic.
41588 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41590 * math/w_remainder.c (__remainder): Likewise.
41591 * math/w_remainderf.c (__remainderf): Likewise.
41592 * math/libm-test.inc (remainder_test): Add test cases.
41594 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41596 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41599 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41601 * string/test-memcmp.c: Avoid unncessary #defines.
41602 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41604 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41606 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41607 Use new sse2 version for core i3 - i7 as it's faster
41608 than sse42 version.
41609 (bit_Prefer_PMINUB_for_stringop): New.
41610 * sysdeps/x86_64/rawmemchr.S: Update.
41611 Replace with faster SSE2 version.
41612 * sysdeps/x86_64/memrchr.S: New file.
41613 * sysdeps/x86_64/memchr.S: Update.
41614 Replace with faster SSE2 version.
41616 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41618 * elf/dl-load.c (lose): Add cast to avoid warning.
41620 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41622 * po/ca.po: Update from translation team.
41624 * inet/getnetgrent_r.c: Hook up nscd.
41625 * nscd/Makefile (routines): Add nscd_netgroup.
41626 (nscd-modules): Add netgroupcache.
41627 (CFLAGS-netgroupcache.c): Define.
41628 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41629 (cache_search): Add const to second parameter.
41630 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41632 (dbs): Add netgrdb entry.
41633 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41634 (verify_persistent_db): Handle netgrdb.
41635 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41636 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41638 (netgroup_response_header): Define.
41639 (innetgroup_response_header): Define.
41640 (datahead): Add netgroup_response_header and innetgroup_response_header
41642 * nscd/nscd.conf: Add entries for netgroup cache.
41643 * nscd/nscd.h (dbtype): Add netgrdb.
41644 (_PATH_NSCD_NETGROUP_DB): Define.
41645 (netgroup_iov_disabled): Declare.
41646 (xmalloc, xcalloc, xrealloc): Move declarations here.
41647 (cache_search): Adjust prototype.
41648 Add netgroup-related prototypes.
41649 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41650 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41651 (__nscd_innetgr): Declare.
41652 * nscd/selinux.c (perms): Use access_vector_t as element type and
41653 add netgroup-related initializers.
41654 * nscd/netgroupcache.c: New file.
41655 * nscd/nscd_netgroup.c: New file.
41656 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41657 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41658 For four parameters use innetgr.
41659 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41660 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41661 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41662 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41664 * nscd/connections.c (register_traced_file): Don't register file
41665 for disabled databases.
41667 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41669 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41671 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41672 from tree and freeing node.
41674 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41676 * nss/nsswitch.c (__nss_database_lookup): Handle
41677 nss_parse_service_list out of memory case.
41679 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41681 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41682 out of memory case.
41684 2011-10-04 Andreas Schwab <schwab@redhat.com>
41686 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41687 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41689 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41690 elf_machine_rela, elf_machine_lazy_rel.
41691 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41692 (ELF_DYNAMIC_DO_REL): Likewise.
41693 (ELF_DYNAMIC_DO_RELA): Likewise.
41694 (ELF_DYNAMIC_RELOCATE): Likewise.
41695 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41696 to ELF_DYNAMIC_DO_REL.
41697 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41698 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41699 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41702 skip_ifunc, don't call ifunc function if non-zero.
41703 (elf_machine_rela): Likewise.
41704 (elf_machine_lazy_rel): Likewise.
41705 (elf_machine_lazy_rela): Likewise.
41706 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41707 (elf_machine_lazy_rel): Likewise.
41708 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41710 (elf_machine_lazy_rel): Likewise.
41711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41713 (elf_machine_lazy_rel): Likewise.
41714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41715 (elf_machine_lazy_rel): Likewise.
41716 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41717 (elf_machine_lazy_rel): Likewise.
41718 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41719 (elf_machine_lazy_rel): Likewise.
41720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41721 (elf_machine_lazy_rel): Likewise.
41722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41723 (elf_machine_lazy_rel): Likewise.
41724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41725 (elf_machine_lazy_rel): Likewise.
41727 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41729 * nss/nss_files/files-init.c (_nss_files_init): Use static
41730 initialization for all the *_traced_file variables.
41732 2011-09-28 Andreas Schwab <schwab@redhat.com>
41734 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41736 2011-09-27 Roland McGrath <roland@hack.frob.com>
41739 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41741 2011-09-27 Andreas Schwab <schwab@redhat.com>
41743 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41744 Reread the line before reparsing it.
41746 2011-09-26 Andreas Schwab <schwab@redhat.com>
41748 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41750 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41751 Maxim Kuvyrkov <maxim@codesourcery.com>
41752 Joseph Myers <joseph@codesourcery.com>
41754 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41755 if needed for __stack_chk_guard.
41757 2011-09-19 Roland McGrath <roland@hack.frob.com>
41759 * sysdeps/posix/spawni.c (script_execute): Always define it.
41760 It will be optimized away if unused.
41761 (maybe_script_execute): New function.
41762 (__spawni): Call it.
41764 * Makerules: Don't include tls.make.
41765 (config-tls): Always set to thread.
41766 * tls.make.c: File removed.
41768 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41770 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41771 * config.make.in (CPPFLAGS-config): New substituted variable.
41773 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41778 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41779 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41781 2011-09-15 Roland McGrath <roland@hack.frob.com>
41783 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41784 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41786 (CALL_FAIL): Likewise.
41787 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41788 (CALL_FAIL): Macro removed.
41789 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41791 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41793 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41794 for __FINITE_MATH_ONLY__ == 1.
41796 2011-09-15 Andreas Schwab <schwab@redhat.com>
41798 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41799 __ieee754_sqrt instead of sqrt.
41800 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41801 __ieee754_sqrtf instead of sqrtf.
41802 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41803 __floorf instead of floorf.
41804 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41805 __floorf, __truncf instead of floorf, truncf.
41807 2011-09-14 Ulrich Drepper <drepper@gmail.com>
41809 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41811 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41812 __extern_always_inline.
41813 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41816 2011-09-14 Andreas Schwab <schwab@redhat.com>
41818 * elf/rtld.c (dl_main): Also relocate in dependency order when
41819 doing symbol dependency testing.
41821 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41824 Always define `refsym'.
41826 2011-09-13 Andreas Schwab <schwab@redhat.com>
41828 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41829 (__FD_ELT): Renamed from __FDELT.
41830 * misc/bits/select2.h (__FD_ELT): Likewise.
41831 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41832 __FD_MASK instead of __FDELT, __FDMASK.
41833 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41835 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41838 * elf/Makefile (gen-ldd): Fix pattern.
41840 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41841 (init_tls): Likewise.
41843 2011-09-12 Ulrich Drepper <drepper@gmail.com>
41845 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41847 2011-09-12 Andreas Schwab <schwab@redhat.com>
41849 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41850 `struct cmsghdr *' instead of `void *'.
41851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41854 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41856 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41858 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41859 ldd_rewrite_script.
41861 2011-09-11 Ulrich Drepper <drepper@gmail.com>
41863 * configure.in: Remove --with-tls option.
41864 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41865 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41866 out in case it is missing.
41867 * sysdeps/ia64/elf/configure.in: Likewise.
41868 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41869 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41870 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41871 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41872 * sysdeps/sh/elf/configure.in: Likewise.
41873 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41874 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41875 * sysdeps/x86_64/elf/configure.in: Likewise.
41876 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41877 * sysdeps/mach/hurd/tls.h: Likewise.
41880 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41883 * configure.in: Fix use of AC_INIT.
41885 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41887 2011-09-10 Ulrich Drepper <drepper@gmail.com>
41889 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41891 * malloc/hooks.c: Likewise.
41894 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41895 variables statically.
41896 (narenas): Initialize.
41897 (list_lock): Initialize.
41898 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41899 initializtion of main_arena and list_lock. Small cleanups.
41900 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41901 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41902 Add initializers to main_arena and mp_.
41903 (malloc_state): Remove pagesize member. Change all users to use
41906 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41907 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41908 is always initialized.
41910 * malloc/malloc.c: Removed unused configurations and dead code.
41911 * malloc/arena.c: Likewise.
41912 * malloc/hooks.c: Likewise.
41913 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41915 * include/tls.h: Removed. USE___THREAD must always be defined.
41916 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41917 * elf/dl-libc.c: Likewise.
41918 * elf/dl-tsd.c: Likewise.
41919 * include/errno.h: Likewise.
41920 * include/netdb.h: Likewise.
41921 * include/resolv.h: Likewise.
41922 * inet/herrno-loc.c: Likewise.
41923 * inet/herrno.c: Likewise.
41924 * malloc/arena.c: Likewise.
41925 * malloc/hooks.c: Likewise.
41926 * malloc/malloc.c: Likewise.
41927 * resolv/res-state.c: Likewise.
41928 * resolv/res_libc.c: Likewise.
41929 * sysdeps/i386/dl-machine.h: Likewise.
41930 * sysdeps/ia64/dl-machine.h: Likewise.
41931 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41932 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41933 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41934 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41935 * sysdeps/sh/dl-machine.h: Likewise.
41936 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41937 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41938 * sysdeps/unix/i386/sysdep.S: Likewise.
41939 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41940 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41943 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41945 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41949 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41950 * sysdeps/x86_64/dl-machine.h: Likewise.
41951 * tls.make.c: Likewise.
41953 * configure.in: Remove --with-__thread option. Make tests for
41954 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41955 tls_model attribute fail if no support is available. Remove
41957 * Makeconfig: Adjust for dropped configure option. All features are
41959 * Makerules: Likewise.
41960 * Versions.def: Likewise.
41961 * argp/argp-fmtstream.c: Likewise.
41962 * argp/argp-fmtstream.h: Likewise.
41963 * argp/argp-help.c: Likewise.
41964 * assert/assert.c: Likewise.
41965 * config.h.in: Likewise.
41966 * config.make.in: Likewise.
41967 * configure: Likewise.
41968 * configure.in: Likewise.
41969 * csu/Versions: Likewise.
41970 * csu/init.c: Likewise.
41971 * elf/tst-audit2.c: Likewise.
41972 * elf/tst-tls10.c: Likewise.
41973 * elf/tst-tls10.h: Likewise.
41974 * elf/tst-tls11.c: Likewise.
41975 * elf/tst-tls12.c: Likewise.
41976 * elf/tst-tls14.c: Likewise.
41977 * elf/tst-tlsmod11.c: Likewise.
41978 * elf/tst-tlsmod12.c: Likewise.
41979 * elf/tst-tlsmod13.c: Likewise.
41980 * elf/tst-tlsmod13a.c: Likewise.
41981 * elf/tst-tlsmod14a.c: Likewise.
41982 * elf/tst-tlsmod15b.c: Likewise.
41983 * elf/tst-tlsmod16a.c: Likewise.
41984 * elf/tst-tlsmod16b.c: Likewise.
41985 * elf/tst-tlsmod7.c: Likewise.
41986 * elf/tst-tlsmod8.c: Likewise.
41987 * elf/tst-tlsmod9.c: Likewise.
41988 * gmon/gmon.c: Likewise.
41989 * grp/fgetgrent_r.c: Likewise.
41990 * grp/putgrent.c: Likewise.
41991 * hurd/fopenport.c: Likewise.
41992 * include/libc-symbols.h: Likewise.
41993 * include/tls.h: Likewise.
41994 * intl/gettextP.h: Likewise.
41995 * intl/loadinfo.h: Likewise.
41996 * locale/global-locale.c: Likewise.
41997 * locale/localeinfo.h: Likewise.
41998 * mach/devstream.c: Likewise.
41999 * malloc/arena.c: Likewise.
42000 * malloc/set-freeres.c: Likewise.
42001 * misc/err.c: Likewise.
42002 * misc/getttyent.c: Likewise.
42003 * misc/mntent_r.c: Likewise.
42004 * posix/getopt.c: Likewise.
42005 * posix/wordexp.c: Likewise.
42006 * pwd/fgetpwent_r.c: Likewise.
42007 * resolv/Versions: Likewise.
42008 * resolv/res_hconf.c: Likewise.
42009 * shadow/fgetspent_r.c: Likewise.
42010 * shadow/putspent.c: Likewise.
42011 * stdio-common/printf_fphex.c: Likewise.
42012 * stdio-common/tmpfile.c: Likewise.
42013 * stdlib/abort.c: Likewise.
42014 * stdlib/fmtmsg.c: Likewise.
42015 * sunrpc/auth_unix.c: Likewise.
42016 * sunrpc/clnt_perr.c: Likewise.
42017 * sunrpc/clnt_tcp.c: Likewise.
42018 * sunrpc/clnt_udp.c: Likewise.
42019 * sunrpc/clnt_unix.c: Likewise.
42020 * sunrpc/openchild.c: Likewise.
42021 * sunrpc/svc_simple.c: Likewise.
42022 * sunrpc/svc_tcp.c: Likewise.
42023 * sunrpc/svc_udp.c: Likewise.
42024 * sunrpc/svc_unix.c: Likewise.
42025 * sunrpc/xdr.c: Likewise.
42026 * sunrpc/xdr_array.c: Likewise.
42027 * sunrpc/xdr_rec.c: Likewise.
42028 * sunrpc/xdr_ref.c: Likewise.
42029 * sunrpc/xdr_stdio.c: Likewise.
42031 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42033 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42035 2011-07-03 Andreas Jaeger <aj@suse.de>
42037 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42038 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42039 regenerate with gen-libm-tests.pl.
42041 2010-05-12 Petr Baudis <pasky@suse.cz>
42044 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42045 around j0() zero points by switching to j1().
42046 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42051 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42053 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42055 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42058 Patch in part by Pavel Roskin <proski@gnu.org>.
42061 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42063 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42064 Free memory block if necessary.
42067 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42068 be NULL. Don't lock in this case.
42070 2011-09-09 Roland McGrath <roland@hack.frob.com>
42072 * elf/elf.h (ELFOSABI_GNU): New macro.
42073 (ELFOSABI_LINUX): Define to that.
42075 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42077 * string/strncat.c (strncat): Undef the symbol in case it has been
42078 defined in bits/string.h.
42080 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42082 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42084 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42087 2011-08-17 Andreas Jaeger <aj@suse.de>
42089 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42091 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42092 Ian Lance Taylor <iant@google.com>
42094 * math/libm-test.inc (lround_test): New testcase.
42095 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42097 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42099 * Makefile: Remove support for automatic cvs check-ins.
42100 * Makerules: Likewise.
42101 * config.make.in: Likewise.
42102 * configure.in: Likewise.
42103 * intl/Makefile: Likewise.
42104 * locale/Makefile: Likewise.
42105 * po/Makefile: Likewise.
42106 * posix/Makefile: Likewise.
42107 * sysdeps/gnu/Makefile: Likewise.
42108 * sysdeps/mach/hurd/Makefile: Likewise.
42109 * sysdeps/sparc/sparc32/Makefile: Likewise.
42112 * posix/Makefile (bug-regex32-ENV): Define.
42113 Patch by John Stanley <jpsinthemix@verizon.net>.
42115 * misc/Makefile (headers): Add bits/select2.h.
42116 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42117 * misc/bits/select2.h: New file.
42118 * include/bits/select2.h: New file.
42119 * debug/Makefile (routines): Add fdelt_chk.
42120 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42121 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42123 * debug/fdelt_chk.c: New file.
42125 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42126 * wcsmbs/test-wmemcmp.c: Likewise.
42127 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42128 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42130 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42132 * string/Makefile (strop-tests): Add memcmp.
42133 * string/test-wmemcmp.c: New file.
42134 * string/test-memcmp.c: Add wmemcmp support.
42136 2011-09-08 Roland McGrath <roland@hack.frob.com>
42139 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42142 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42143 garbage value in a __mach_port_mod_refs call in the cases of the
42144 task-self and thread-self ports.
42146 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42148 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42150 2011-09-08 Andreas Schwab <schwab@redhat.com>
42152 * elf/dl-load.c (lose): Check for non-null L.
42154 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42156 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42158 * elf/dl-libc.c (dlerror_run): Pass back error code from
42162 * elf/dl-load.c (lose): Free l_origin if it is valid.
42164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42166 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42167 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42169 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42170 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42171 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42173 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42175 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42176 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42177 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42178 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42179 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42180 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42181 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42182 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42183 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42184 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42186 2011-08-15 Alan Modra <amodra@gmail.com>
42189 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42190 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42191 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42192 ppc_mcount to static-only-routines.
42193 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42195 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42196 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42198 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42200 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42201 for finite and infinity parameters.
42203 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42206 and add nop instructions for throughput optimization.
42207 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42209 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42211 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42212 aligned copy for power7 with vector-scalar instructions.
42213 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42215 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42220 2011-09-07 Andreas Schwab <schwab@redhat.com>
42223 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42226 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42228 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42229 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42230 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42231 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42234 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42236 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42237 Forgot to demangle the pointer.
42239 * sysdeps/i386/sysdep.h: Define atom_text_section.
42240 * sysdeps/x86_64/sysdep.h: Likewise.
42241 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42242 section with atom_text_section.
42243 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42245 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42247 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42250 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42251 already be defined. Change to take two parameters and don't assign
42252 result to variable. Adjust all users.
42253 Define INTERNAL_GETTIME if not already defined.
42254 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42257 HAVE_CLOCK_GETTIME_VSYSCALL.
42258 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42261 gettimeofday vsyscall, just use time.
42263 2011-09-06 Andreas Schwab <schwab@redhat.com>
42265 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42268 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42270 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42274 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42275 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42276 syscall if possible.
42278 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42280 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42281 e_ident. Don't pass to find_mapsXX.
42282 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42284 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42287 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42288 * sysdeps/x86_64/multiarch/strchr.S: Update.
42289 Check bit_slow_BSF bit.
42290 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42291 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42294 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42297 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42299 (tryshell): Define.
42300 (__spawni): Change last parameter to be flag. Test
42301 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42302 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42303 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42304 * posix/spawni.c: Likewise.
42305 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42306 * posix/spawnp.c: Likewise. Change normal version to use
42307 SPAWN_XFLAGS_USE_PATH.
42308 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42309 SPAWN_XFLAGS_TRY_SHELL.
42312 * posix/glob.h: Remove gcc 1.x support.
42315 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42317 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42320 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42322 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42323 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42324 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42326 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42327 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42329 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42331 * sysdeps/x86_64/wcscmp.S: New file.
42333 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42334 wcscmp-c wcscmp-sse2
42335 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42336 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42337 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42338 * wcsmbs/wcscmp.c: Allow renaming.
42340 2011-09-05 David S. Miller <davem@davemloft.net>
42342 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42343 stack slot, rather than the struct return pointer slot.
42344 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42345 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42347 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42349 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42351 * po/ja.po: Update from translation team.
42354 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42355 kernel in 64-bit binaries.
42357 2011-09-01 David S. Miller <davem@davemloft.net>
42359 * elf/elf.h (HWCAP_SPARC_*): Move to..
42360 * sysdeps/sparc/sysdep.h: this new file and add new values.
42361 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42362 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42363 _DL_HWCAP_COUNT to 24.
42364 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42366 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42367 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42368 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42370 instead of magic constants.
42371 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42373 2011-08-31 David S. Miller <davem@davemloft.net>
42375 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42377 Reimplement to do errno handling inline.
42378 (SYSCALL_ERROR_HANDLER): New macro.
42379 (__SYSCALL_STRING): Do not do errno handling in asm.
42380 (__CLONE_SYSCALL_STRING): Delete.
42381 (__INTERNAL_SYSCALL_STRING): Delete.
42382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42383 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42384 (PSEUDO): Reimplement to do errno handling inline.
42385 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42386 (SYSCALL_ERROR_HANDLER): New macro.
42387 (__SYSCALL_STRING): Do not do errno handling in asm.
42388 (__CLONE_SYSCALL_STRING): Delete.
42389 (__INTERNAL_SYSCALL_STRING): Delete.
42390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42391 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42393 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42394 (inline_syscall*): Add 'err' argument.
42395 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42396 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42397 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42398 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42400 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42401 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42403 2011-08-30 Andreas Schwab <schwab@redhat.com>
42405 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42407 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42409 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42412 2011-08-24 David S. Miller <davem@davemloft.net>
42414 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42416 2011-08-24 Andreas Schwab <schwab@redhat.com>
42418 * elf/Makefile: Add rules to build and run unload8 test.
42419 * elf/unload8.c: New file.
42420 * elf/unload8mod1.c: New file.
42421 * elf/unload8mod1x.c: New file.
42422 * elf/unload8mod2.c: New file.
42423 * elf/unload8mod3.c: New file.
42425 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42428 2011-08-23 David S. Miller <davem@davemloft.net>
42430 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42431 subtract stack bias.
42432 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42433 %sp not %fp in calculations.
42434 (_JMPBUF_UNWINDS_ADJ): Likewise.
42436 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42437 (aio_suspend): Call it to force an exception region around the
42438 AIO_MISC_WAIT() invocation.
42440 2011-08-23 Andreas Schwab <schwab@redhat.com>
42442 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42445 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42447 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42449 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42450 and <dl-machine.h>.
42451 (Elf64_FuncDesc): Remove.
42453 2011-08-22 David S. Miller <davem@davemloft.net>
42455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42456 sigaltstack check, add missing cfi directives.
42457 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42458 missing cfi directives, and sigaltstack handling.
42460 2011-08-16 Andreas Schwab <schwab@redhat.com>
42463 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42464 object is seen twice.
42465 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42467 * elf/Makefile (distribute): Add tst-initorder2.c.
42468 (tests): Add tst-initorder2.
42469 (modules-names): Add tst-initorder2a tst-initorder2b
42470 tst-initorder2c tst-initorder2d. Add rules to build them.
42471 ($(objpfx)tst-initorder2.out): New rule.
42472 * elf/tst-initorder2.c: New file.
42473 * elf/tst-initorder2.exp: New file.
42475 2011-08-22 Andreas Schwab <schwab@redhat.com>
42477 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42479 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42480 dependencies back to end of function.
42482 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42483 $(elfobjdir)/ld.so.
42485 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42488 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42489 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42490 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42491 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42492 of __vdso_gettimeofday.
42493 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42494 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42496 (_libc_vdso_platform_setup): Remove initialization of
42497 __vdso_gettimeofday and __vdso_time.
42499 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42501 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42502 and fgetc_unlocked.
42503 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42506 * elf/dl-open.c (add_to_global): Report additions to the global scope
42507 for LD_DEBUG=scopes.
42508 (dl_open_worker): Also print scope of newly loaded dependencies.
42509 (_dl_show_scope): Indicate if there is no scope.
42512 * stdio-common/Makefile (tests): Add bug24.
42513 * stdio-common/bug24.c: New file.
42515 2011-08-19 Andreas Jaeger <aj@suse.de>
42518 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42519 non-existant file when using close-on-exec mode.
42521 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42524 the very first instruction.
42526 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42527 the CFI state in the end.
42528 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42529 inclusion of dl-trampoline.h.
42530 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42532 2011-08-19 Andreas Schwab <schwab@redhat.com>
42534 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42535 expectations for long double.
42537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42538 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42540 2011-08-14 David S. Miller <davem@davemloft.net>
42542 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42543 artificual limit depends upon the system page size.
42545 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42547 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42548 * resolv/Makefile: Define CFLAGS-libresolv.
42550 2011-08-17 Andreas Schwab <schwab@redhat.com>
42552 * nss/makedb.c (compute_tables): Make variables used in nested
42555 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42557 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42558 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42559 if buffer was too small.
42561 * elf/pldd.c (main): Attach to all threads in the process.
42562 Rewrite /proc handling to use *at functions.
42564 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42566 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42567 specifies first scope to show.
42568 (dl_open_worker): Update callers. Move printing scope of new
42569 object to before the relocation.
42570 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42571 * sysdeps/generic/ldsodefs.h: Update declaration.
42573 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42574 string for the scope number.
42576 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42578 * nscd/servicescache.c (cache_addserv): Make sure written is always
42581 2011-08-14 Roland McGrath <roland@hack.frob.com>
42583 * sysdeps/i386/i486/bits/atomic.h
42584 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42585 statement expression, so as to suppress "set but not used" warning.
42586 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42588 * string/strncat.c (STRNCAT): Use prototype definition.
42590 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42591 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42593 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42594 (localedef-modules): Add localedef.
42595 (locale-modules): Add locale.
42597 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42598 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42599 to avoid a warning.
42601 2011-08-14 David S. Miller <davem@davemloft.net>
42603 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42604 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42606 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42608 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42609 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42610 * elf/rtld.c (dl_main): Set l_name of vDSO.
42611 Call _dl_show_scope when DL_DEBUG_SCOPES.
42612 (process_dl_debug): Recognize scopes flag and also set it for all.
42613 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42614 Declare _dl_show_scope.
42616 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42617 (do_dlopen): Pass caller_dlopen to dl_open.
42618 (__libc_dlopen_mode): Initialize caller_dlopen.
42620 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42621 of libc. Make tolower call locale-independent. Optimize a bit by
42622 using isdigit instead of isalnum.
42623 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42625 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42627 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42628 was a dependency or dynamically loaded.
42630 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42632 * intl/l10nflist.c: Allow architecture-specific pop function.
42633 * sysdeps/x86_64/l10nflist.c: New file.
42635 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42638 2011-08-10 Andreas Schwab <schwab@redhat.com>
42640 * include/dirent.h: Add libc_hidden_proto for scandirat and
42641 scandirat64. Don't declare __scandirat64.
42642 * dirent/scandirat.c: Add libc_hidden_def.
42643 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42644 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42646 2011-08-10 David S. Miller <davem@davemloft.net>
42648 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42654 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42656 * Versions.def [libc]: Add GLIBC_2.15.
42657 * dirent/Makefile (routines): Add scandirat and scandirat64.
42658 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42660 * dirent/dirent.h: Declare scandirat and scandirat64.
42661 * dirent/scandirat.c: New file.
42662 * dirent/scandirat64.c: New file.
42663 * sysdeps/wordsize-64/scandirat.c: New file.
42664 * sysdeps/wordsize-64/scandirat64.c: New file.
42665 * dirent/opendir.c: Define opendirat.
42666 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42668 * dirent/scandir64.c: Adjust for scandir.c change.
42669 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42670 __scandirat64, and __scandir_cancel_handler.
42671 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42672 additional parameter and use openat instead of open (outside of ld.so).
42673 Add new __opendir as wrapper around __opendirat.
42674 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42675 here without requiring old scandirat implementation.
42677 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42679 * dirent/scandir.c (cancel_handler): Renamed to
42680 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42681 defined. Adjust users.
42682 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42683 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42685 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42687 * string/test-string.h (IMPL): Use __STRING to expand name and then
42690 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42693 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42695 * string/Makefile: Update.
42696 (strop-tests): Append strncat.
42697 * string/test-wcscmp.c: New file.
42698 New comprehensive test for wcscmp.
42699 * string/test-strcmp.c: Update.
42700 (WIDE): New define.
42702 2011-07-22 Andreas Schwab <schwab@redhat.com>
42704 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42707 2011-07-26 Andreas Schwab <schwab@redhat.com>
42709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42710 encoding to ACE if AI_IDN.
42712 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42715 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42717 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42720 Fix overflow bug in strncat.
42721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42723 * string/test-strncat.c: Update.
42724 Add new tests for checking overflow bugs.
42726 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42729 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42730 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42731 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42732 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42733 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42734 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42735 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42736 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42739 (USE_AS_STRCAT): Define.
42740 Add strcat and strncat support.
42741 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42743 2011-07-25 Andreas Schwab <schwab@redhat.com>
42745 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42746 __n bigger than INT_MAX+1.
42747 (__strncmp_g): Likewise.
42749 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42751 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42752 * libio/stido.h: Likewise.
42754 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42759 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42760 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42761 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42762 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42766 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42771 (_dl_x86_64_save_sse): Likewise.
42773 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42777 (_dl_x86_64_save_sse): Likewise.
42779 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42781 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42783 2011-07-21 Andreas Schwab <schwab@redhat.com>
42785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42787 (_dl_x86_64_save_sse): Use correct AVX check.
42789 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42791 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42792 bug in strncpy/strncat.
42793 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42795 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42797 * string/tester.c (test_strcat): Add tests for different alignments
42798 of source and destination.
42799 (test_strncat): Likewise.
42801 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42804 * posix/glob.c (glob): Check passed in values before using them in
42805 expressions to avoid some overflows.
42806 (glob_in_dir): Likewise.
42809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42810 check for AVX enablement so that we don't crash with old kernels and
42812 * elf/tst-audit4.c: Add same checks here.
42813 * elf/tst-audit6.c: Likewise.
42815 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42817 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42819 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42821 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42823 * po/cs.po: Update from translation team.
42824 * po/bg.po: Likewise.
42826 2011-07-12 Marek Polacek <mpolacek@redhat.com>
42828 * misc/sys/cdefs.h: Add support for const attribute.
42829 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42830 to gnu_dev_{major,minor,makedev} functions.
42832 2011-07-20 Marek Polacek <mpolacek@redhat.com>
42834 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42836 2011-07-20 Andreas Schwab <schwab@redhat.com>
42838 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42841 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42844 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42845 register in order to avoid conflicts with the soft frame pointer
42846 being held in r11 when necessary.
42847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42848 (INTERNAL_VSYSCALL_NCS): Likewise.
42850 2011-07-14 Marek Polacek <mpolacek@redhat.com>
42852 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42853 * elf/dl-fini.c (_dl_fini): Adjust caller.
42854 * elf/dl-close.c (_dl_close_worker): Likewise.
42855 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42857 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42859 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42860 "aux_cache->nlibs < 0".
42862 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42863 in the reload-count case.
42865 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42868 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42869 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42870 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42871 * sysdeps/x86_64/multiarch/strcat.S: New file.
42872 * sysdeps/x86_64/multiarch/strncat.S: New file.
42873 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42874 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42875 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42876 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42878 (USE_AS_STRCAT): Define.
42879 Add strcat and strncat support.
42880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42882 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42883 * string/strncat.c: Update.
42884 (USE_AS_STRNCAT): Define.
42885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42886 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42888 * sysdeps/x86_64/multiarch/init-arch.h
42889 (bit_Prefer_PMINUB_for_stringop): New.
42890 (index_Prefer_PMINUB_for_stringop): Likewise.
42891 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42892 bit_Prefer_PMINUB_for_stringop.
42894 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42896 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42898 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42899 of casting of buffer.
42900 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42901 buffer32 and buffer64.
42902 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42903 writes instead of casting of buffer.
42904 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42906 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42909 2011-07-19 Andreas Schwab <schwab@redhat.com>
42911 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42913 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42915 * nscd/nscd.c (termination_handler): Don't do anything for a database
42916 if it has not yet been initialized.
42918 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42920 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42922 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42924 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42926 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42928 * po/nl.po: Update from translation team.
42929 * po/sv.po: Likewise.
42931 2011-07-16 Roland McGrath <roland@hack.frob.com>
42933 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42934 now disallowed by GCC.
42936 * configure.in (use-default-link): Default to yes if a test -shared
42937 link meets our qualifications.
42938 * configure: Regenerated.
42940 * config.make.in (output-format): New variable.
42941 * configure.in: Check for ld --print-output-format support.
42942 * configure: Regenerated.
42943 * Makerules ($(common-objpfx)format.lds)
42944 [$(output-format) != unknown]: Just use $(output-format),
42945 instead of the linker-script munging.
42947 2011-07-14 Roland McGrath <roland@hack.frob.com>
42949 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42950 of $(common-objpfx)shlib.lds.
42951 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42953 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42954 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42956 * configure.in (-z relro check): Adjust test code to add a large
42957 writable data section after it.
42958 * configure: Regenerated.
42960 2011-07-11 Roland McGrath <roland@hack.frob.com>
42962 * configure.in (-z relro check): Fix test code to make the variable
42964 * configure: Regenerated.
42966 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42968 * nscd/nscd.h (struct traced_file): Define.
42969 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42970 elements. Add traced_files.
42971 (inotify_fd): Declare.
42972 (register_traced_file): Declare.
42973 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42974 (inotify_fd): Export.
42975 (resolv_conf_descr): Remove.
42976 (nscd_init): Move inotify descriptor creation to main.
42977 Don't register files for notification here.
42978 (register_traced_file): New function.
42979 (invalidate_cache): Don't use reset_res to determine whether to call
42980 res_init, go through the list of registered files.
42981 (main_loop_poll): The inotify descriptors are now stored in the
42982 structures for the traced files.
42983 (main_loop_epoll): Likewise
42984 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42985 to __nss_disable_nscd.
42986 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42987 for a database anymore. Check the records for all the registered
42989 * nss/Makefile (libnss_files-routines): Add files-init.
42990 (libnss_db-routines): Add db-init.
42991 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42992 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42993 * nss/nss_db/db-init.c: New file.
42994 * nss/nss_files/files-init.c: New file.
42995 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42996 __nss_lookup_function.
42997 (__nss_lookup_function): Call nss_load_library.
42998 (nss_load_all_libraries): New function.
42999 (__nss_disable_nscd): Take parameter with callback function for files
43000 to register. Set is_nscd. Load all the DSOs for the NSS modules
43001 used for the cached services.
43002 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43003 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43004 options for features to all the files in nscd.
43006 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43008 2011-07-10 Roland McGrath <roland@hack.frob.com>
43010 * csu/elf-init.c (__libc_csu_init): Comment typo.
43012 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43014 * po/pl.po: Update from translation team.
43015 * po/ja.po: Likewise.
43016 * po/ru.po: Likewise.
43017 * po/ko.po: Likewise.
43018 * po/fr.po: Likewise.
43020 2011-07-09 Roland McGrath <roland@hack.frob.com>
43022 * configure.in (.ctors/.dtors header and trailer check):
43023 Use an empirical test on a built program.
43024 * configure: Regenerated.
43026 * configure.in (-z relro check): Use an empirical test on a built DSO.
43027 Detect, but do not require, on ia64.
43028 * configure: Regenerated.
43030 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43031 Update tests that use readelf to use $READELF instead.
43032 * configure: Regenerated.
43034 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43036 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43037 if the result is not used.
43039 2011-07-05 Andreas Jaeger <aj@suse.de>
43042 * stdlib/tst-strtod.c: Add testcase.
43044 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43046 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43047 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43048 The latter has a higher limit. Take additional parameter to pass to
43050 (__pathconf): Pass file to __statfs_link_max.
43051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43053 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43057 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43058 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43060 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43061 (__statfs_filesize_max): Likewise.
43062 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43064 2011-07-05 Andreas Jaeger <aj@suse.de>
43066 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43068 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43070 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43072 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43075 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43077 * Makefile (strop-tests): Add strncat.
43078 * string/test-strncat.c: New file.
43080 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43082 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43084 2011-06-21 Andreas Jaeger <aj@suse.de>
43086 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43087 Copy rule from iconvdata/Makefile.
43089 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43092 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43093 but no long options are defined, just return 'W'.
43095 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43098 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43100 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43102 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43104 (innetgr): Likewise.
43106 2011-07-05 Roland McGrath <roland@hack.frob.com>
43108 * config.make.in (install_root): Default to $(DESTDIR).
43110 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43112 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43114 2011-07-02 Roland McGrath <roland@hack.frob.com>
43116 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43118 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43119 containing directory rather than embedding absolute directory names.
43121 * scripts/check-local-headers.sh: Rewritten using awk.
43122 Match by word, not by line. Print error messages for matches.
43123 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43125 * Makerules [shlib-lds-flags empty]:
43126 ($(common-objpfx)libc_pic.opts): New target.
43127 ($(common-objpfx)libc_pic.os.clean): New target.
43128 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43130 * config.make.in (OBJCOPY): New variable.
43131 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43132 * configure: Regenerated.
43134 * config.make.in (use-default-link): New variable.
43135 * configure.in (use_default_link): Grok --with-default-link to set it.
43136 * configure: Regenerated.
43137 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43138 (shlib-lds, shlib-lds-flags): Define to empty.
43140 * Makerules (shlib-lds): New variable.
43141 (shlib-lds-flags): New variable.
43142 (build-shlib, build-moduile, build-module-asneeded): Use it.
43143 ($(common-objpfx)libc.so): Use $(shlib-lds).
43144 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43145 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43147 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43148 DT_FLAGS/DT_FLAGS_1 with zero flags.
43150 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43151 linker script munging.
43153 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43155 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43157 * crypt/sha512.c (sha512_process_block): Perform total addition using
43158 128-bit if possible.
43159 (__sha512_finish_ctx): Likewise.
43160 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43162 * crypt/sha256.c (SWAP64): Define.
43163 (sha256_process_block): Perform total addition using 64-bit if
43165 (__sha256_finish_ctx): Likewise.
43167 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43169 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43171 * nscd/hstcache.c (cache_addhst): Likewise.
43172 * nscd/grpcache.c (cache_addgr): Likewise.
43173 * nscd/aicache.c (addhstaiX): Likewise
43174 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43176 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43178 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43180 * nscd/hstcache.c (cache_addhst): Likewise.
43181 * nscd/grpcache.c (cache_addgr): Likewise.
43182 * nscd/aicache.c (addhstaiX): Likewise
43184 2011-07-01 Andreas Schwab <schwab@redhat.com>
43186 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43187 domain only when needed.
43189 2011-06-30 Andreas Schwab <schwab@redhat.com>
43191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43192 is always restored.
43194 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43196 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43197 are re-adding the entry.
43198 * nscd/servicescache.c (cache_addserv): Likewise.
43200 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43202 * sysdeps/generic/dl-irel.h: fix protection against multiple
43204 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43206 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43209 * malloc/memusage.sh: Fix quoting in message.
43210 * debug/xtrace.sh: Likewise.
43212 * configure.in: Remove support for --experimental-malloc option, make
43214 * config.make.in: Likewise.
43215 * malloc/Makefile: Likewise.
43217 2011-06-27 Andreas Schwab <schwab@redhat.com>
43219 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43220 two-byte characters.
43222 2011-06-27 Roland McGrath <roland@hack.frob.com>
43224 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43225 AC_CACHE_CHECK invocation.
43226 * configure: Regenerated.
43228 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43230 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43233 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43234 bit from old_res_options.
43236 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43238 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43239 value type for setfct.
43241 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43244 __gettimeofday instead of gettimeofday.
43246 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43248 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43250 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43252 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43257 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43260 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43261 strcpy-sse2-unaligned strncpy-sse2-unaligned
43262 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43263 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43264 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43265 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43266 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43268 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43269 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43270 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43271 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43272 (STRCPY): Support SSE2 and SSSE3 versions.
43274 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43277 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43278 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43279 kernels which artificially limit size of requests.
43281 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43284 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43285 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43286 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43287 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43288 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43289 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43290 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43291 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43293 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43294 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43295 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43296 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43297 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43299 Enable unaligned load optimization for Intel Core i3, i5 and i7
43301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43303 (index_Fast_Unaligned_Load): Define.
43304 (HAS_FAST_UNALIGNED_LOAD): Define.
43306 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43308 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43310 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43313 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43314 until it is clear that the information is realy needed.
43315 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43317 2011-06-22 Andreas Schwab <schwab@redhat.com>
43319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43321 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43324 /sys/devices/system/cpu/online if it is usable.
43326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43327 reading the information from the /proc filesystem to once a second.
43329 2011-06-21 Andreas Jaeger <aj@suse.de>
43331 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43332 NULL after inclusion of kernel headers.
43334 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43336 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43337 calls to internal_setent.
43340 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43341 addresses using gethostbyname4_r ignore IPv4 addresses.
43343 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43344 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43346 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43348 2011-06-20 David S. Miller <davem@davemloft.net>
43350 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43352 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43354 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43355 (elf_irel): Use it.
43356 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43357 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43358 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43359 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43360 * sysdeps/x86_64/dl-irel.h: Likewise.
43362 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43363 * elf/dl-sym.c: Likewise.
43365 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43367 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43368 need to dereference resplen2.
43370 2011-06-14 Andreas Schwab <schwab@redhat.com>
43372 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43374 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43376 * Makeconfig: Define vardbdir and inst_vardbdir.
43377 * nss/Makefile: Add rules to install db-Makefile.
43379 * nss/nss_db/db-XXX.c: Cleanup.
43381 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43382 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43384 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43385 * nss/makedb.c: Implement -g option to specify that value strings
43386 are generated and should not be added to table iterated over for
43388 * nss/nss_db/db-initgroups.c: New file.
43390 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43393 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43394 (internal_getgrouplist): Adjust to name change.
43395 Update use_initgroups_entry if this is not the first call.
43396 * nss/databases.def: Add initgroups entry.
43398 * nss/makedb.c (compute_tables): Check result of multiple hash table
43399 sizes to minimize maximum chain length.
43401 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43403 * Versions.def: Add entry for libnss_db.
43404 * shlib-versions: Likewise.
43405 * nss/Makefile: Add rules to build libnss_db.
43406 * nss/Versions: Add libnss_db information. Organize libnss_files
43408 * nss/db-Makefile: Add gshadow support. Change rules for the new
43409 makedb progra. Some minor improvements to generate smaller files.
43410 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43412 * nss/makedb.c: ...here.
43413 Improve database format to be smaller and require less memory at
43415 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43417 * nss/nss_db/db-netgrp.c: Likewise.
43418 * nss/nss_db/db-open.c: Likewise.
43419 * nss/nss_files/flies-XXX.x: Adjust comments.
43420 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43421 * nss/nss_files/files-grp.c: Likewise.
43422 * nss/nss_files/files-hosts.c: Likewise.
43423 * nss/nss_files/files-network.c: Likewise.
43424 * nss/nss_files/files-proto.c: Likewise.
43425 * nss/nss_files/files-pwd.c: Likewise.
43426 * nss/nss_files/files-rpc.c: Likewise.
43427 * nss/nss_files/files-service.c: Likewise.
43428 * nss/nss_files/files-sgrp.c: Likewise.
43429 * nss/nss_files/files-spwd.c: Likewise.
43430 * nss/nss_db/db-alias.c: Removed.
43431 * nss/nss_db/dummy-db.h: Removed.
43433 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43435 * nss/makedb.c: Rewritten to not use database library.
43436 * nss/Makefile: Update to build new makedb program.
43438 2011-06-14 Andreas Jaeger <aj@suse.de>
43440 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43441 memset declaration.
43443 2011-06-10 Andreas Schwab <schwab@redhat.com>
43445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43448 2011-06-10 Roland McGrath <roland@hack.frob.com>
43450 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43451 * elf/Makefile ($(objpfx)ld.so): Likewise.
43453 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43454 Don't list ld.so twice in dependencies.
43456 * posix/bug-regex31.c: Include <stdlib.h>.
43458 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43460 * nis/nss_compat/compat-spwd.c
43461 (getspent_next_nss_netgr): Remove unused variable.
43462 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43464 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43465 nonmembers" output to use the right array.
43467 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43469 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43471 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43472 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43473 * catgets/gencat.c (read_input_file): Likewise.
43474 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43476 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43477 variable definition inside #if's controlling its use.
43479 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43481 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43483 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43485 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43488 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43490 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43491 * configure: Regenerated.
43493 * Makerules: Revert last change.
43494 * elf/Makefile: Likewise.
43496 2011-06-09 Roland McGrath <roland@hack.frob.com>
43498 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43499 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43500 (reloc-link): Likewise.
43502 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43504 * elf/Makefile: Add rules to build pldd.
43505 * elf/pldd.c: New file.
43506 * elf/pldd-xx.c: New file.
43508 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43510 * version.h: Update for 2.15 development version.
43512 2011-06-07 David S. Miller <davem@davemloft.net>
43514 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43516 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43517 elf_machine_lazy_rel): Likewise.
43518 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43520 elf_machine_lazy_rel): Likewise.
43521 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43522 dl_hwcap via passed in argument.
43523 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43526 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43528 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43530 2011-06-06 Roland McGrath <roland@hack.frob.com>
43533 * manual/fdl-1.1.texi: New file, verbatim from:
43534 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43535 * manual/lgpl-2.1.texi: New file, verbatim from:
43536 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43537 * manual/Makefile (licenses): New variable, list those new file names.
43539 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43541 * manual/fdl.texi: File removed.
43542 * manual/lesser.texi: File removed.
43543 * manual/libc.texinfo (Copying, Documentation License):
43544 Use new @include file names, put @appendix directive before @include.
43546 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43549 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43550 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43551 (mq_open): Add __NTH.
43553 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43556 Assume Intel Core i3/i5/i7 processor if AVX is available.
43558 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43563 2011-05-31 Andreas Schwab <schwab@redhat.com>
43565 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43566 memory. Use alloca_account. Fix memory leak when retrying.
43568 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43570 * version.h (RELEASE): Bump for 2.14 release.
43571 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43573 * config.make.in (RANLIB): Remove entry.
43575 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43577 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43578 (libc.pot): Work around missing support for .ksh extension in xgettext.
43581 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43582 if both request failed.
43583 (send_dg): In case of server errors clear resplen or *resplen2.
43586 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43587 when there are multiple maps.
43588 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43589 (_dl_fini): Remove test here.
43591 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43593 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43596 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43597 bit from old_res_options.
43598 (gaih_inet): Likewise.
43601 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43604 * resolv/res_init.c (res_setoptions): Make the code more compact.
43607 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43611 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43613 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43616 * malloc/malloc.h: Declare malloc hook variables as volatile.
43618 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43622 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43623 raise in the comment.
43624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43626 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43628 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43631 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43632 grow the buffers more if it already has to be sufficient.
43633 (build_wcs_upper_buffer): Likewise.
43634 * posix/regexec.c (check_matching): Likewise.
43635 (clean_state_log_if_needed): Likewise.
43636 (extend_buffers): Don't enlarge buffers beyond size of the input
43638 Patches mostly by Emil Wojak <emil@wojak.eu>.
43639 * posix/bug-regex32.c: New file.
43640 * posix/Makefile (tests): Add bug-regex32.
43642 * locale/findlocale.c (_nl_find_locale): Return right away if
43643 _nl_explode_name failed.
43644 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43646 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43648 * debug/xtrace.sh: Unify messages.
43649 * malloc/memusage.sh: Likewise.
43652 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43653 time symbol from vDSO. Substitute with vsyscall if not available.
43654 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43657 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43658 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43659 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43660 Add sendmmsg and internal_sendmmsg.
43661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43662 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43665 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43666 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43669 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43673 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43675 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43679 * iconvdata/Makefile (tests): Add bug-iconv9.
43680 * iconvdata/bug-iconv9.c: New file.
43682 2011-05-27 Andreas Schwab <schwab@redhat.com>
43685 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43687 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43690 (struct user_regs_struct): Change intcs field back to cs.
43692 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43694 * po/ja.po: Update from translation team.
43696 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43699 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43700 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43702 2011-05-20 Andreas Schwab <schwab@redhat.com>
43704 * stdlib/longlong.h: Update from GCC.
43706 2011-05-23 Andreas Schwab <schwab@redhat.com>
43708 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43710 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43711 Add parameter name.
43712 (__sysconf): Pass it down.
43714 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43717 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43720 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43721 add in in __libc_use_alloca calls. Adjust callers.
43722 (glob): Use malloc in some situations.
43724 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43725 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43728 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43730 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43731 and CLOCK_BOOTTIME_ALARM.
43734 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43737 * string/_strerror.c (__strerror_r): Print negative errors as signed
43741 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43742 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43743 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43745 * configure.in: Fix typo in redirection and correct removal of test
43746 files in two cases.
43749 * locale/setlocale.c (new_composite_name): Fix test to check for
43750 identical name of all categories.
43753 * libio/filedoalloc.c (local_isatty): New function.
43754 (_IO_file_doallocate): Use local_isatty.
43755 * stdio-common/perror.c (perror): In case a new stream is used
43756 forward the stream error.
43757 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43760 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43765 * include/alloca.h (extend_alloca_account): Define.
43768 * posix/regex.h: Fix comments with documentation of user-accessible
43769 fields after compilation and describe correct free'ing of pattern
43770 after re_compile_pattern.
43771 Patch by Reuben Thomas <rrt@sc3d.org>.
43773 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43775 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43776 and -mno-altivec to prevent the compiler from using Altivec and/or
43777 VSX instructions when the corresponding registers are not available.
43779 2011-05-19 Andreas Schwab <schwab@redhat.com>
43781 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43783 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43785 * libio/freopen.c (freopen): Use __dup2, not dup2.
43786 * libio/freopen64.c (freopen64): Likewise.
43788 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43791 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43792 * math/Makefile (tests): Add test-powl.
43793 (CFLAGS-test-powl.c): Define.
43794 * math/test-powl.c: New file.
43796 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43798 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43800 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43803 * iconvdata/gb18030.c: Update to GB18020-2005.
43805 2011-05-16 Ulrich Drepper <drepper@gmail.com>
43807 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43808 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43809 Patch by Aharon Robbins <arnold@skeeve.com>.
43812 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43816 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43817 through underflows.
43820 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43821 point to strings before performing equality test for error_one_per_line
43825 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43829 (struct user_fpregs_struct): Avoid __uint*_t types.
43832 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43833 symbol info. Use it instead of calling _dl_addr locally.
43834 (lock_and_info): New function.
43835 (tr_freehook): Call lock_and_info and pass symbol info as additional
43836 parameter to tr_where.
43837 (tr_mallochook): Likewise.
43838 (tr_reallochook): Likewise.
43839 (tr_memalignhook): Likewise.
43841 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43842 used and couldn't be at all thread-safe.
43844 2011-05-15 Ulrich Drepper <drepper@gmail.com>
43846 * libio/freopen.c (freopen): Don't close old file descriptor
43847 before the new one is opened. Instead dup the new file descriptor
43848 to the old one after the new stream is created.
43849 * libio/freopen64.c (freopen64): Likewise.
43850 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43851 * libio/fileops.c (_IO_new_file_close_it): Handle new
43852 _IO_FLAGS2_NOCLOSE flag.
43853 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43854 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43855 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43856 _IO_FLAGS2_NOCLOSE flag.
43857 * include/unistd.h: Add hidden_proto for dup3.
43858 Define __have_dup3.
43859 * io/dup3.c: Define hidden symbol.
43860 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43863 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43864 when an incomplete long option is used.
43865 * posix/tst-getopt_long1.c: New file.
43866 * posix/Makefile (tests): Add tst-getopt_long1.
43869 * scripts/config.guess: Update from autoconf-2.68.
43870 * scripts/config.sub: Likewise.
43873 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43875 (has_cpuclock): ...this. New function.
43876 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43877 macro here based on has_cpuclock code.
43880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43881 First byte (not low byte) is now always NUL.
43882 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43885 Use non-cancelable interfaces.
43888 * locale/iso-639.def: Add entry for Sorani.
43891 * include/stdlib.h: Move include protection to the right place.
43892 Define abort_msg_s. Declare __abort_msg with it.
43893 * stdlib/abort.c (__abort_msg): Adjust type.
43894 * assert/assert.c (__assert_fail_base): New function. Majority
43895 of code from __assert_fail. Allocate memory for __abort_msg with
43897 (__assert_fail): Now call __assert_fail_base.
43898 * assert/assert-perr.c: Remove bulk of implementation. Use
43899 __assert_fail_base.
43900 * include/assert.hL Declare __assert_fail_base.
43901 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43903 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43905 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43909 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43910 until all modules are registered in the DTV.
43911 * elf/Makefile: Add rules to build and run tst-tls19.
43912 * elf/tst-tls19.c: New file.
43913 * elf/tst-tls19mod1.c: New file.
43914 * elf/tst-tls19mod2.c: New file.
43915 * elf/tst-tls19mod3.c: New file.
43916 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43919 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43923 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43924 two-byte sequence errors.
43925 * iconvdata/Makefile (tests): Add bug-iconv8.
43926 * iconvdata/bug-iconv8.c: New file.
43929 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43932 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43935 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43936 (dummy_getcfa): New function.
43937 (init): Get _Unwind_GetCFA address, use dummy if not found.
43938 (backtrace_helper): In recursion check, also check whether CFA changes.
43939 (__backtrace): Completely initialize arg.
43941 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43942 storing incomplete byte sequence in state object. Avoid testing for
43943 guaranteed too small input if we know there is enough data available.
43945 2011-05-11 Andreas Schwab <schwab@redhat.com>
43947 * Makeconfig (+link-pie): Indent.
43948 * Rules (binaries-pie): Define if $(have-fpie) and
43950 (binaries-shared): Also filter out $(binaries-pie).
43951 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43952 * nscd/Makefile (others-pie): Add nscd.
43953 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43954 ($(objpfx)nscd): Remove command override.
43955 * login/Makefile (others-pie): Add pt_chown.
43956 ($(objpfx)pt_chown): Remove command override.
43957 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43958 remove command overrides.
43960 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43962 * libio/tst_putwc.c: Fix error messages.
43965 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43966 currently writing and seek to current position when not.
43967 * libio/Makefile (tests): Add bug-fclose1.
43968 * libio/bug-fclose1.c: New file.
43970 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43973 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43974 don't set DF_1_NODELETE here.
43975 (do_lookup_x): When entering new entry test for copy relocation
43976 and if necessary set DF_1_NODELETE flag.
43977 * elf/tst-unique4.cc: New file.
43978 * elf/tst-unique4.h: New file.
43979 * elf/tst-unique4lib.cc: New file.
43980 * elf/Makefile: Add rules to build and run tst-unique4.
43981 Patch by Piotr Bury <pbury@goahead.com>.
43983 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43986 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43989 * misc/mntent_r.c (addmntent): Flush the stream after the output
43992 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43993 (is_trusted_path_normalize): Skip initial colon. Append slash
43994 to empty buffer. Duplicate is_trusted_path code but allow
43995 constructed patch to be prefix.
43996 (is_dst): Allow $ORIGIN followed by /.
43997 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43998 Correct testing of result of is_trusted_path_normalize
43999 (decompose_rpath): Fix warning.
44001 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44004 * grp/initgroups.c (internal_getgrouplist): When we found the service
44005 list through the initgroups entry in nsswitch.conf do not always
44006 continue on a successful lookup. Don't always use the
44007 __nss_group_database value if it is set.
44008 * nss/nsswitch.conf (initgroups): Change action for successful db
44009 lookup to continue for compatibility.
44011 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44014 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44016 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44018 * iconvdata/tst-tables.sh: Likewise.
44019 * iconvdata/cp770.c: New file.
44020 * iconvdata/cp771.c: New file.
44021 * iconvdata/cp772.c: New file.
44022 * iconvdata/cp773.c: New file.
44023 * iconvdata/cp774.c: New file.
44024 * iconvdata/testdata/CP770: New file.
44025 * iconvdata/testdata/CP770..UTF8: New file.
44026 * iconvdata/testdata/CP771: New file.
44027 * iconvdata/testdata/CP771..UTF8: New file.
44028 * iconvdata/testdata/CP772: New file.
44029 * iconvdata/testdata/CP772..UTF8: New file.
44030 * iconvdata/testdata/CP773: New file.
44031 * iconvdata/testdata/CP773..UTF8: New file.
44032 * iconvdata/testdata/CP774: New file.
44033 * iconvdata/testdata/CP774..UTF8: New file.
44035 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44037 * iconvdata/gen-8bit-gap.sh: Likewise.
44038 * iconvdata/gen-8bit.sh: Likewise.
44040 * locale/iso-639.def: Add ary entry.
44043 * locale/C-translit.h.in: Add U20A1 transliteration.
44046 * locale/iso-639.def: Add wae entry.
44047 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44050 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44054 * locale/C-translit.h.in: Add entry for U20B9.
44055 Patch by pravin.d.s@gmail.com.
44057 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44060 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44061 ENAMETOOLONG use generic getcwd.
44062 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44063 in rtld. Use *stat64.
44064 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44065 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44066 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44067 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44068 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44069 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44070 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44071 __fstatat64 macros.
44072 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44073 * dirent/rewinddir.c: Add libc_hidden_def.
44074 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44075 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44077 * include/dirent.h (__alloc_dir): Add flags parameter.
44078 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44079 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44081 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44082 from fdopendir if O_CLOEXEC is already set.
44084 2011-03-15 Alan Modra <amodra@gmail.com>
44086 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44087 l_tls_firstbyte_offset non-zero. Save padding offset in
44088 l_tls_firstbyte_offset for later use.
44089 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44090 freeing static tls block.
44092 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44094 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44095 where #ifdef was intended. The intent is to prevent ARG_MAX from
44096 being defined by the kernel headers.
44098 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44101 * resolv/resolv.h: Define RES_NOTLDQUERY.
44102 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44103 no-tld-query and set RES_NOTLDQUERY.
44104 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44105 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44106 modern BIND to search name as TLD unless forbidden.
44108 2011-05-07 Petr Baudis <pasky@suse.cz>
44109 Ulrich Drepper <drepper@gmail.com>
44112 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44113 (is_trusted_path): ...to here.
44114 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44115 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44116 using is_trusted_path_normalize() in setuid scripts.
44118 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44120 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44121 __BEGIN/__END_DECLS.
44123 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44126 NSS_STATUS_NOTFOUND if no record was found.
44128 2011-05-05 Andreas Schwab <schwab@redhat.com>
44130 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44131 (headers-not-in-tirpc): Remove rpc/netdb.h
44132 * resolv/netdb.h: Revert last change.
44134 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44136 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44137 circular dependency between libgcc.a and libc.a.
44139 2011-05-05 Andreas Schwab <schwab@redhat.com>
44141 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44142 * nis/Makefile: Don't install rpcsvc/*.
44143 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44144 instead of <rpc/types.h>.
44145 (MAXHOSTNAMELEN): Define.
44147 2011-05-03 Andreas Schwab <schwab@redhat.com>
44149 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44151 2011-04-28 Maciej Babinski <mbabinski@google.com>
44154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44155 gethostbyname4_r when IPv6 results are possible.
44157 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44160 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44161 _PC_PIPE_BUF handling.
44163 2011-04-30 Bruno Haible <bruno@clisp.org>
44166 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44167 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44169 * inet/getnameinfo.c (getnameinfo): Likewise.
44171 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44173 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44174 to groups setting in database lookup.
44175 * nss/nsswitch.conf: Add initgroups entry.
44177 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44180 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44182 Patch by Eric Blake <eblake@redhat.com>.
44184 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44186 * sunrpc/Makefile (need-export-routines): Add svc_run.
44187 (routines): Remove svc_run.
44188 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44189 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44190 * sunrpc/svc_run.c (svc_run): Likewise.
44191 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44193 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44196 problem in reallocation in last patch.
44198 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44200 * sunrpc/Makefile: Move inclusion of Rules.
44202 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44204 * nss/nss_files/files-initgroups.c: New file.
44205 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44206 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44207 _nss_files_initgroups_dyn.
44209 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44211 * elf/elf.h (R_ARM_IRELATIVE): Define.
44213 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44215 * po/ru.po: Update from translation team.
44217 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44219 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44222 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44225 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44226 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44231 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44235 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44239 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44242 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44244 * stdlib/bug-getcontext.c: New file.
44245 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44247 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44249 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44250 instructions into .machine "z9-109".
44251 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44252 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44254 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44256 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44257 between environment variables and auxiliary vector.
44259 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44261 * Makefile: Add rules to build linkobj/libc.so.
44262 * include/libc-symbols.h: Define libc_hidden_nolink.
44263 * include/rpc/auth.h: Mark functions which are to be hidden.
44264 * include/rpc/auth_des.h: Likewise.
44265 * include/rpc/auth_unix.h: Likewise.
44266 * include/rpc/clnt.h: Likewise.
44267 * include/rpc/des_crypt.h: Likewise.
44268 * include/rpc/key_prot.h: Likewise.
44269 * include/rpc/pmap_clnt.h: Likewise.
44270 * include/rpc/pmap_prot.h: Likewise.
44271 * include/rpc/pmap_rmt.h: Likewise.
44272 * include/rpc/rpc_msg.h: Likewise.
44273 * include/rpc/svc.h: Likewise.
44274 * include/rpc/svc_auth.h: Likewise.
44275 * include/rpc/xdr.h: Likewise.
44276 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44277 * nss/Makefile: Likewise.
44278 * sunrpc/Makefile: Don't install headers. Build library with normal
44279 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44280 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44281 for the compat linking library. Remove use of INTDEF/INTUSE.
44282 * sunrpc/auth_none.c: Likewise.
44283 * sunrpc/auth_unix.c: Likewise.
44284 * sunrpc/authdes_prot.c: Likewise.
44285 * sunrpc/authuxprot.c: Likewise.
44286 * sunrpc/clnt_gen.c: Likewise.
44287 * sunrpc/clnt_perr.c: Likewise.
44288 * sunrpc/clnt_raw.c: Likewise.
44289 * sunrpc/clnt_simp.c: Likewise.
44290 * sunrpc/clnt_tcp.c: Likewise.
44291 * sunrpc/clnt_udp.c: Likewise.
44292 * sunrpc/clnt_unix.c: Likewise.
44293 * sunrpc/des_crypt.c: Likewise.
44294 * sunrpc/des_soft.c: Likewise.
44295 * sunrpc/get_myaddr.c: Likewise.
44296 * sunrpc/key_call.c: Likewise.
44297 * sunrpc/key_prot.c: Likewise.
44298 * sunrpc/netname.c: Likewise.
44299 * sunrpc/pm_getmaps.c: Likewise.
44300 * sunrpc/pm_getport.c: Likewise.
44301 * sunrpc/pmap_clnt.c: Likewise.
44302 * sunrpc/pmap_prot.c: Likewise.
44303 * sunrpc/pmap_prot2.c: Likewise.
44304 * sunrpc/pmap_rmt.c: Likewise.
44305 * sunrpc/publickey.c: Likewise.
44306 * sunrpc/rpc_cmsg.c: Likewise.
44307 * sunrpc/rpc_common.c: Likewise.
44308 * sunrpc/rpc_dtable.c: Likewise.
44309 * sunrpc/rpc_prot.c: Likewise.
44310 * sunrpc/rpc_thread.c: Likewise.
44311 * sunrpc/rtime.c: Likewise.
44312 * sunrpc/svc.c: Likewise.
44313 * sunrpc/svc_auth.c: Likewise.
44314 * sunrpc/svc_authux.c: Likewise.
44315 * sunrpc/svc_raw.c: Likewise.
44316 * sunrpc/svc_run.c: Likewise.
44317 * sunrpc/svc_simple.c: Likewise.
44318 * sunrpc/svc_tcp.c: Likewise.
44319 * sunrpc/svc_udp.c: Likewise.
44320 * sunrpc/svc_unix.c: Likewise.
44321 * sunrpc/svcauth_des.c: Likewise.
44322 * sunrpc/xcrypt.c: Likewise.
44323 * sunrpc/xdr.c: Likewise.
44324 * sunrpc/xdr_array.c: Likewise.
44325 * sunrpc/xdr_float.c: Likewise.
44326 * sunrpc/xdr_intXX_t.c: Likewise.
44327 * sunrpc/xdr_mem.c: Likewise.
44328 * sunrpc/xdr_rec.c: Likewise.
44329 * sunrpc/xdr_ref.c: Likewise.
44330 * sunrpc/xdr_sizeof.c: Likewise.
44331 * sunrpc/xdr_stdio.c: Likewise.
44333 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44336 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44337 * sysdeps/ia64/dl-tls.h: Likewise.
44338 * sysdeps/powerpc/dl-tls.h: Likewise.
44339 * sysdeps/s390/dl-tls.h: Likewise.
44340 * sysdeps/sh/dl-tls.h: Likewise.
44341 * sysdeps/sparc/dl-tls.h: Likewise.
44342 * sysdeps/x86_64/dl-tls.h: Likewise.
44343 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44345 2011-03-14 Andreas Schwab <schwab@redhat.com>
44347 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44348 rpath element also skip the following colon.
44349 (expand_dynamic_string_token): Add is_path parameter and pass
44350 down to DL_DST_REQUIRED and _dl_dst_substitute.
44351 (decompose_rpath): Call expand_dynamic_string_token with
44352 non-zero is_path. Ignore empty rpaths.
44353 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44356 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44361 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44364 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44365 Patch by Filipe David Manana <fdmanana@apache.org>.
44367 2011-04-07 Andreas Schwab <schwab@redhat.com>
44369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44370 Maintain aligned stack.
44371 (CHECK_RSP): Remove unused macro.
44373 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44375 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44378 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44380 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44382 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44384 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44387 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44388 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44389 * sysdeps/x86_64/memmove.c: New file.
44390 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44391 (memcpy): Renamed to ...
44392 (__new_memcpy): This.
44393 (memcpy): Provide GLIBC_2_14 memcpy.
44394 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44395 (memcpy): Provide GLIBC_2_2_5 memcpy.
44397 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44400 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44402 2011-03-30 Andreas Schwab <schwab@redhat.com>
44404 * misc/syncfs.c: New file.
44405 * misc/Makefile (routines): Add syncfs.
44406 * posix/unistd.h: Declare syncfs.
44407 * sysdeps/unix/syscalls.list: Add syncfs.
44409 2011-04-01 Andreas Schwab <schwab@redhat.com>
44411 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44413 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44414 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44418 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44421 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44424 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44425 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44427 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44431 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44432 sync_file_range.c with -fexceptions.
44433 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44434 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44435 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44436 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44437 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44438 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44440 sync_file_range as cancellation point
44441 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44442 now a wrapper around __call_sync_file_range with cancellation handling.
44443 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44444 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44445 function name to __call_sync_file_range.
44446 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44447 Add call_sync_file_range.
44449 2011-04-01 Andreas Schwab <schwab@redhat.com>
44451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44454 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44456 * iconv/iconv.h: Fix typo in comment.
44457 * io/fcntl.h: Likewise.
44458 * libio/stdio.h: Likewise.
44459 * posix/spawn.h: Likewise.
44460 * posix/unistd.h: Likewise.
44461 * stdlib/stdlib.h: Likewise.
44462 * time/time.h: Likewise.
44463 * wcsmbs/wchar.h: Likewise.
44465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44466 open_by_handle): Add.
44467 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44468 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44469 Augment a few comments.
44470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44475 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44478 * io/fcntl.h (AT_EMPTY_PATH): Define.
44480 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44482 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44483 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44484 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44486 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44487 * Versions.def: Add GLIBC_2.14.
44488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44491 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44493 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44495 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44497 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44500 * string/test-strncmp.c (do_page_test): New function.
44501 (check2): Likewise.
44502 (test_main): Call check2.
44503 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44505 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44508 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44509 Handle cache information in CPU leaf 4.
44510 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44512 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44515 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44516 character representation.
44517 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44519 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44521 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44522 END(__isnan) to END(__isnanf) to match function entry point/label
44523 EALIGN(__isnanf,...).
44525 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44527 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44529 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44532 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44533 copy from the symbol referenced in the relocation to initialize the
44535 Patch by Piotr Bury <pbury@goahead.com>.
44536 * elf/Makefile: Add rules to build and tst-unique3.
44537 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44538 * elf/tst-unique3.cc: New file.
44539 * elf/tst-unique3.h: New file.
44540 * elf/tst-unique3lib.cc: New file.
44541 * elf/tst-unique3lib2.cc: New file.
44543 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44545 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44547 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44548 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44551 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44553 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44554 to-be-loaded object along a path to loader is ld.so.
44556 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44557 Ulrich Drepper <drepper@gmail.com>
44559 * sysdeps/x86_64/memset.S: After aligning destination, code
44560 branches to different locations depending on the value of
44561 misalignment, when multiarch is enabled. Fix this.
44563 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44565 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44566 Set _x86_64_preferred_memory_instruction for AMD processsors.
44567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44568 Set bit_Prefer_SSE_for_memop for AMD processors.
44570 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44572 * libio/fmemopen.c (fmemopen): Optimize a bit.
44574 2011-03-03 Andreas Schwab <schwab@redhat.com>
44576 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44578 2011-03-03 Roland McGrath <roland@redhat.com>
44580 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44582 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44584 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44585 __bzero_ultra1 instead of __memset_ultra1.
44587 2011-02-23 Andreas Schwab <schwab@redhat.com>
44588 Ulrich Drepper <drepper@gmail.com>
44591 * include/link.h (struct link_map): Add l_orig_initfini.
44592 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44593 returning unsuccessfully.
44594 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44595 close of a file loaded at startup, restore the original l_initfini
44597 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44598 list, store the pointer.
44599 * elf/Makefile ($(objpfx)noload-mem): New rule.
44600 (noload-ENV): Define.
44601 (tests): Add $(objpfx)noload-mem.
44602 * elf/noload.c: Include <memcheck.h>.
44603 (main): Call mtrace. Close all opened handles.
44605 2011-02-17 Andreas Schwab <schwab@redhat.com>
44608 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44609 dependencies are missing.
44611 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44613 Fix __if_freereq crash: Unlike the generic version which uses free,
44615 * sysdeps/mach/hurd/ifreq.h: New file.
44617 2011-01-27 Petr Baudis <pasky@suse.cz>
44618 Ulrich Drepper <drepper@gmail.com>
44621 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44622 to extend_alloca().
44623 * stdio-common/bug23.c: New file.
44624 * stdio-common/Makefile (tests): Add bug23.
44626 2010-09-28 Andreas Schwab <schwab@redhat.com>
44627 Ulrich Drepper <drepper@gmail.com>
44630 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44631 before performing relro protection. At old place add assertion
44632 to make sure nothing changed.
44634 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44635 Glauber de Oliveira Costa <glommer@gmail.com>
44637 * elf/elf.h: Add new ARM TLS relocs.
44639 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44642 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44644 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44646 * sysdeps/wordsize-64/tst-writev.c: New file.
44648 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44650 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44651 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44652 insns in _dl_start to prevent a TOC reference before relocs are
44655 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44658 * Makeconfig: Remove RANLIB definition.
44659 * Makerules: Don't use RANLIB.
44660 * aclocal.m4: Remove ranlib test.
44661 * configure.in: No need to check for ranlib.
44662 * elf/rtld-Rules: Don't use RANLIB.
44664 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44666 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44668 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44669 inclusion protection macro.
44671 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44672 SIGRTMIN and SIGRTMAX and print information in that case only when
44673 SIGRTMIN is defined.
44675 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44677 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44678 arginfo fn returning -1.
44680 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44681 and thousands string is zero terminated.
44683 2011-02-03 Andreas Schwab <schwab@redhat.com>
44685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44686 sysdeps/unix/sysv/linux/bits/socket.h.
44688 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44690 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44691 (__CPU_COUNT): Remove old macros.
44692 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44693 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44694 (__CPU_ALLOC, __CPU_FREE): Add macros.
44695 (__sched_cpualloc, __sched_cpufree): Add declarations.
44697 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44699 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44700 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44701 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44702 (readdhstai): Return value of addhstaiX call.
44703 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44704 (addgrbyX): Return value returned by cache_addgr.
44705 (readdgrbyname): Return value returned by addgrbyX.
44706 (readdgrbygid): Likewise.
44707 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44708 (addpwbyX): Return value returned by cache_addpw.
44709 (readdpwbyname): Return value returned by addhstbyX.
44710 (readdpwbyuid): Likewise.
44711 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44712 (addservbyX): Return value returned by cache_addserv.
44713 (readdservbyname): Return value returned by addservbyX:
44714 (readdservbyport): Likewise.
44715 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44716 (addhstbyX): Return value returned by cache_addhst.
44717 (readdhstbyname): Return value returned by addhstbyX.
44718 (readdhstbyaddr): Likewise.
44719 (readdhstbynamev6): Likewise.
44720 (readdhstbyaddrv6): Likewise.
44721 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44722 (readdinitgroups): Return value returned by addinitgroupsX.
44723 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44724 (prune_cache): Keep track of timeout value of re-added entries.
44725 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44726 * nscd/nscd.h: Adjust prototypes of readd* functions.
44728 2011-02-04 Roland McGrath <roland@redhat.com>
44730 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44731 (nis_stats): Likewise.
44732 * nis/nis_modify.c (nis_modify): Likewise.
44733 * nis/nis_remove.c (nis_remove): Likewise.
44734 * nis/nis_add.c (nis_add): Likewise.
44736 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44738 * posix/fnmatch_loop.c: Add some consts.
44740 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44742 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44745 * config.make.in (config-cflags-novzeroupper): Define.
44746 * configure.in: Substitute libc_cv_cc_novzeroupper.
44747 * elf/Makefile (AVX-CFLAGS): Define.
44748 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44749 (CFLAGS-tst-auditmod4a.c): Likewise.
44750 (CFLAGS-tst-auditmod4b.c): Likewise.
44751 (CFLAGS-tst-auditmod6b.c): Likewise.
44752 (CFLAGS-tst-auditmod6c.c): Likewise.
44753 (CFLAGS-tst-auditmod7b.c): Likewise.
44754 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44756 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44758 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44759 function to the callback.
44760 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44762 2011-02-02 Andreas Schwab <schwab@redhat.com>
44764 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44767 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44770 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44772 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44774 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44777 * elf/Makefile: Add rules to build and run new test.
44778 * elf/tst-initorder.c: New file.
44779 * elf/tst-initorder.exp: New file.
44780 * elf/tst-initordera1.c: New file.
44781 * elf/tst-initordera2.c: New file.
44782 * elf/tst-initordera3.c: New file.
44783 * elf/tst-initordera4.c: New file.
44784 * elf/tst-initorderb1.c: New file.
44785 * elf/tst-initorderb2.c: New file.
44786 * elf/tst-order-a1.c: New file.
44787 * elf/tst-order-a2.c: New file.
44788 * elf/tst-order-a3.c: New file.
44789 * elf/tst-order-a4.c: New file.
44790 * elf/tst-order-b1.c: New file.
44791 * elf/tst-order-b2.c: New file.
44792 * elf/tst-order-main.c: New file.
44793 New test case by George Gensure <werkt0@gmail.com>.
44795 2010-10-01 Andreas Schwab <schwab@redhat.com>
44797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44798 decoding ACE if AI_CANONIDN.
44800 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44802 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44804 2011-01-17 Ulrich Drepper <drepper@gmail.com>
44806 * version.h (RELEASE): Bump for 2.13 release.
44807 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44809 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44811 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44813 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44815 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44816 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44818 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44820 * posix/getconf.c: Update copyright year.
44821 * catgets/gencat.c: Likewise.
44822 * csu/version.c: Likewise.
44823 * debug/catchsegv.sh: Likewise.
44824 * debug/xtrace.sh: Likewise.
44825 * elf/ldconfig.c: Likewise.
44826 * elf/ldd.bash.in: Likewise.
44827 * elf/sprof.c (print_version): Likewise.
44828 * iconv/iconv_prog.c: Likewise.
44829 * iconv/iconvconfig.c: Likewise.
44830 * locale/programs/locale.c: Likewise.
44831 * locale/programs/localedef.c: Likewise.
44832 * malloc/memusage.sh: Likewise.
44833 * malloc/mtrace.pl: Likewise.
44834 * nscd/nscd.c (print_version): Likewise.
44835 * nss/getent.c: Likewise.
44837 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44838 PF_CAIF, and PF_ALG.
44839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44841 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44843 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44844 (modules-names): Use them.
44845 (ifunc-test-modules, ifunc-pie-tests): Define.
44846 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44847 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44848 (test-extras): Likewise.
44849 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44850 $(compile-command.c).
44851 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44852 (all-built-dso): Define.
44853 (check-textrel.out, check-execstack.out): Depend on it.
44855 * configure.in: Don't override --enable-multi-arch.
44857 2011-01-15 Ulrich Drepper <drepper@gmail.com>
44860 * nscd/hstcache.c (tryagain): Define.
44861 (cache_addhst): Return tryagain not notfound for temporary errors.
44862 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44865 2011-01-14 Ulrich Drepper <drepper@gmail.com>
44868 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44869 to make the syscall.
44870 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44873 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44874 and fall back to matching as normal character if the string ends before
44875 the matching ']' is found. This is what POSIX requires.
44876 * posix/testfnm.c: Adjust test result.
44877 * posix/globtest.sh: Adjust test result. Add new test.
44878 * posix/tst-fnmatch.input: Likewise.
44879 * posix/tst-fnmatch2.c: Add new test.
44881 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44883 * elf/Makefile (check-execstack): Revert last change. Depend on
44885 (check-execstack.h): New target.
44886 (generated): Add check-execstack.h.
44887 * elf/check-execstack.c: Include "check-execstack.h".
44888 (main): Revert last change.
44889 (handle_file): Return zero if GNU_STACK is absent and
44890 DEFAULT_STACK_PERMS doesn't include PF_X.
44892 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44894 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44895 in child fails because the descriptor is already closed.
44896 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44897 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44898 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44901 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44905 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44906 temporary buffer used to handle multi lookups locally.
44907 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44909 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44911 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44914 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44916 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44917 alignment for SSE2.
44919 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44922 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44923 characters. When rounding increased number of integer digits recompute
44925 * stdio-common/tst-grouping.c: New file.
44926 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44928 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44930 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44931 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44933 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44935 * bits/select.h: Likewise.
44937 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44939 * po/ja.po: Update from translation team.
44941 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44944 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44945 implementation just like for lxstat, fxstatat, et al.
44947 2010-12-27 Jim Meyering <meyering@redhat.com>
44950 * posix/regexec.c (build_trtable): Return failure indication upon
44951 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44953 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44956 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44957 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44958 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44959 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44962 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44965 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44966 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44968 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44970 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44971 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44972 script has SORT_BY_INIT_PRIORITY.
44973 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44974 NO_CTORS_DTORS_SECTIONS is defined.
44975 * elf/soinit.c: Likewise.
44976 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44977 NO_CTORS_DTORS_SECTIONS is defined.
44978 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44979 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44980 * sysdeps/sh/init-first.c: Likewise.
44981 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44983 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44985 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44986 always use the slow path.
44988 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44990 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44991 similar rule which adds the sysdep directories to the header search in
44992 order to pick up the correct platform stackinfo.h.
44993 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44994 perform test if it is, otherwise return successfully without testing.
44995 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44996 DEFAULT_STACK_PERMS define in stackinfo.h.
44997 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44998 defined in stackinfo.h.
44999 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45000 DEFAULT_STACK_PERMS defined in stackinfo.h.
45001 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45002 * sysdeps/ia64/stackinfo.h: Likewise.
45003 * sysdeps/s390/stackinfo.h: Likewise.
45004 * sysdeps/sh/stackinfo.h: Likewise.
45005 * sysdeps/sparc/stackinfo.h: Likewise.
45006 * sysdeps/x86_64/stackinfo.h: Likewise.
45007 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45008 PF_X for powerpc64. Retain PF_X for powerpc32.
45010 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45012 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45014 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45015 GETDENTS_64BIT_ALIGNED.
45017 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45019 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45021 2010-12-10 Andreas Schwab <schwab@redhat.com>
45023 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45026 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45027 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45029 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45030 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45032 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45035 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45038 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45040 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45042 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45044 * po/it.po: Update from translation team.
45046 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45051 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45053 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45055 2010-11-24 Andreas Schwab <schwab@redhat.com>
45057 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45059 (gaih_getanswer_slice): Likewise.
45061 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45065 2010-05-31 Petr Baudis <pasky@suse.cz>
45068 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45069 silently even in the chroot mode.
45071 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45073 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45074 last patch a bit. Pretty printing
45076 2010-05-31 Petr Baudis <pasky@suse.cz>
45079 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45080 initialization of skip_initgroups_dyn.
45082 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45084 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45085 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45087 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45089 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45091 2010-11-11 Andreas Schwab <schwab@redhat.com>
45093 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45094 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45095 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45096 ($(objpfx)tst-fnmatch-mem): New rule.
45097 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45098 * posix/tst-fnmatch.c (main): Call mtrace.
45100 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45103 Support Intel processor model 6 and model 0x2c.
45105 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45110 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45113 * string/test-strncasecmp.c (check_result): New function.
45114 (do_one_test): Use it.
45115 (check1): New function.
45116 (test_main): Use it.
45117 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45118 Support strcasecmp and strncasecmp.
45120 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45123 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45124 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45126 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45128 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45132 * sysdeps/x86_64/multiarch/bzero.S: New file.
45133 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45134 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45135 * sysdeps/x86_64/multiarch/memset.S: New file.
45136 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45138 Set bit_Prefer_SSE_for_memop for Intel processors.
45139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45141 (index_Prefer_SSE_for_memop): Define.
45142 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45144 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45146 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45147 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45149 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45152 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45153 (__x86_64_raw_data_cache_size_half): Likewise.
45154 (__x86_64_raw_shared_cache_size): Likewise.
45155 (__x86_64_raw_shared_cache_size_half): Likewise.
45157 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45158 (__x86_64_raw_data_cache_size_half): Likewise.
45159 (__x86_64_raw_shared_cache_size): Likewise.
45160 (__x86_64_raw_shared_cache_size_half): Likewise.
45161 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45162 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45163 and __x86_64_raw_shared_cache_size_half. Round
45164 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45165 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45166 to multiple of 256 bytes.
45168 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45172 of inacessible symlinks. Verify result of symlink before returning it.
45173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45174 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45176 2010-10-28 Erich Ritz <erichritz@gmail.com>
45178 * math/math.h (isinf): Fix typo in comment.
45180 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45182 * po/da.po: Update from translation team.
45184 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45186 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45187 is added to the list.
45189 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45190 Ulrich Drepper <drepper@gmail.com>
45192 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45193 the global list here. Move code to...
45194 (_dl_add_to_namespace_list): ...here. New function.
45195 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45196 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45197 * elf/dl-load.c (lose): Don't remove the element from the list.
45198 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45199 (_dl_map_object): Likewise.
45201 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45204 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45205 into all bytes of SSE register.
45206 Patch by Richard Li <richardpku@gmail.com>.
45208 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45211 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45214 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45216 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45217 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45218 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45219 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45224 2010-10-22 Andreas Schwab <schwab@redhat.com>
45226 * include/dlfcn.h (__RTLD_SECURE): Define.
45227 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45228 mode & __RTLD_SECURE instead.
45229 (open_path): Rename preloaded parameter to secure.
45230 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45231 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45232 * elf/dl-deps.c (openaux): Likewise.
45233 * elf/rtld.c (struct map_args): Remove is_preloaded.
45234 (map_doit): Don't use it.
45235 (dl_main): Likewise.
45236 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45237 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45239 2010-09-09 Andreas Schwab <schwab@redhat.com>
45241 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45242 (sysd-rules-targets): Remove duplicates.
45243 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45244 rtld-%.$o dependency.
45246 2010-10-18 Andreas Schwab <schwab@redhat.com>
45248 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45249 _dl_map_object do it.
45251 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45253 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45254 fast fma builtins, define the macros in the C99 standard.
45255 (FP_FAST_FMAF): Likewise.
45256 (FP_FAST_FMAL): Likewise.
45257 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45259 * bits/mathdef.h: Update copyright year.
45260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45262 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45264 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45265 builtins, define the macros in the C99 standard.
45266 (FP_FAST_FMAF): Likewise.
45267 (FP_FAST_FMAL): Likewise.
45268 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45270 (FP_FAST_FMAF): Likewise.
45272 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45275 * math/libm-test.inc (fma_test): Some new testcases.
45276 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45277 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45278 y and infinite z. Do multiplication by C already in long double.
45279 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45281 y and infinite z. Do bitwise or of inexact bit into u.d.
45282 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45283 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45284 * sysdeps/i386/fpu/s_fma.S: Removed.
45285 * sysdeps/i386/fpu/s_fmal.S: Removed.
45287 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45290 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45292 computation is not scheduled after fetestexcept. Fix value
45293 of minimum denormal long double.
45295 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45298 * math/libm-test.inc (fma_test): Add some more tests.
45299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45302 2010-10-15 Andreas Schwab <schwab@redhat.com>
45304 * scripts/data/localplt-s390-linux-gnu.data: New file.
45305 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45307 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45310 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45311 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45313 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45315 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45317 if one of x and y is very large and the other is subnormal.
45318 * sysdeps/s390/fpu/s_fmaf.c: New file.
45319 * sysdeps/s390/fpu/s_fma.c: New file.
45320 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45321 * sysdeps/powerpc/fpu/s_fma.S: New file.
45322 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45323 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45324 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45326 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45329 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45331 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45332 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45333 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45334 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45335 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45336 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45337 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45339 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45342 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45343 * posix/bug-regex31.input: Add test case.
45345 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45347 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45348 * posix/bug-regex31.input: New file.
45351 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45352 (parse_sub_exp): Fix last change, use postorder.
45354 * posix/bug-regex31.c: New file.
45355 * posix/Makefile: Add rules to build and run bug-regex31.
45357 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45360 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45363 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45364 to have entries in sys_siglist.
45367 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45370 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45373 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45374 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45375 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45376 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45377 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45378 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45379 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45380 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45381 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45382 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45383 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45384 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45385 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45386 * math/ftestexcept.c (fetestexcept): Likewise.
45387 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45388 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45389 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45390 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45391 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45392 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45393 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45395 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45398 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45401 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45403 * string/bug-strstr1.c: New file.
45404 * string/Makefile: Add rules to build and run bug-strstr1.
45406 2010-10-05 Eric Blake <eblake@redhat.com>
45409 * string/str-two-way.h (two_way_long_needle): Always clear memory
45410 when skipping input due to the shift table.
45412 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45415 * malloc/mcheck.c: Handle large requests.
45418 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45419 for strncmp and strncasecmp.
45420 * string/stratcliff.c: Add tests for strcmp and strncmp.
45421 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45423 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45425 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45428 2010-09-30 Andreas Jaeger <aj@suse.de>
45430 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45431 (CGROUP_SUPER_MAGIC): Define.
45432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45433 Handle btrfs and cgroup file systems.
45434 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45437 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45439 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45440 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45442 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45445 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45446 trying to locate the ELF header.
45448 2010-09-27 Andreas Schwab <schwab@redhat.com>
45451 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45452 Mask out sign-bit copies when constructing f_fsid.
45454 2010-09-24 Petr Baudis <pasky@suse.cz>
45456 * debug/stack_chk_fail_local.c: Add missing licence exception.
45457 * debug/warning-nop.c: Likewise.
45459 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45461 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45462 implementing getdents64 using getdents syscall, set d_type if
45463 __ASSUME_GETDENTS32_D_TYPE.
45465 2010-09-16 Andreas Schwab <schwab@redhat.com>
45467 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45468 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45470 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45473 * posix/unistd.h: Undo change of feature selection for ftruncate from
45476 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45478 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45481 2010-09-20 Andreas Schwab <schwab@redhat.com>
45483 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45487 2010-09-14 Andreas Schwab <schwab@redhat.com>
45489 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45490 variables after CHECK_SP call.
45491 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45493 2010-09-13 Andreas Schwab <schwab@redhat.com>
45494 Ulrich Drepper <drepper@redhat.com>
45496 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45497 re-relocationg ld.so.
45498 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45499 _dl_init_paths call.
45500 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45503 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45505 * resolv/res_init.c (__res_vinit): Count the default server we added.
45507 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45508 Ulrich Drepper <drepper@redhat.com>
45511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45512 (____longjmp_chk): Use %ebx for saving value across system call.
45515 2010-09-06 Andreas Schwab <schwab@redhat.com>
45517 * manual/Makefile: Don't mix pattern rules with normal rules.
45519 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45521 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45523 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45524 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45525 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45526 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45530 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45533 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45534 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45536 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45538 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45539 * sysdeps/x86_64/addmul_1.S: Likewise.
45540 * sysdeps/x86_64/lshift.S: Likewise.
45541 * sysdeps/x86_64/mul_1.S: Likewise.
45542 * sysdeps/x86_64/rshift.S: Likewise.
45543 * sysdeps/x86_64/sub_n.S: Likewise.
45544 * sysdeps/x86_64/submul_1.S: Likewise.
45546 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45548 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45549 Define __sched_param instead of SCHED_* and sched_param when
45550 <bits/sched.h> is included with __need_schedparam defined.
45551 * bits/sched.h [__need_schedparam]
45552 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45553 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45554 (__defined_schedparam): Define to 1.
45555 (__sched_param): New structure, identical to sched_param.
45556 (__need_schedparam): Undefine.
45558 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45560 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45561 (epoll_create1): Declare.
45563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45565 2010-08-31 Andreas Schwab <schwab@redhat.com>
45568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45569 shifting retval into place.
45571 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45573 * nis/rpcsvc/nis.h: Update copyright notice.
45574 * nis/rpcsvc/nis.x: Likewise.
45575 * nis/rpcsvc/nis_callback.h: Likewise.
45576 * nis/rpcsvc/nis_callback.x: Likewise.
45577 * nis/rpcsvc/nis_object.x: Likewise.
45578 * nis/rpcsvc/nis_tags.h: Likewise.
45579 * nis/rpcsvc/yp.h: Likewise.
45580 * nis/rpcsvc/yp.x: Likewise.
45581 * nis/rpcsvc/ypupd.h: Likewise.
45582 * nis/yp_xdr.c: Likewise.
45583 * nis/ypupdate_xdr.c: Likewise.
45585 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45586 mainly the body of pmap_getport. Add parameters to specify timeouts.
45587 (pmap_getport): Use __libc_rpc_getport.
45588 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45589 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45590 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45592 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45597 2010-08-27 Roland McGrath <roland@redhat.com>
45599 * sysdeps/i386/i686/multiarch/Makefile
45600 (CFLAGS-varshift.c): New variable.
45602 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45604 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45605 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45607 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45609 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45611 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45613 * sysdeps/x86_64/strlen.S: Unroll the loop.
45614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45615 strlen-sse2 strlen-sse2-bsf.
45616 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45617 __strlen_no_bsf if bit_Slow_BSF is set.
45618 (__strlen_sse42): Removed.
45619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45620 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45622 2010-08-25 Roland McGrath <roland@redhat.com>
45624 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45625 * sysdeps/x86_64/multiarch/varshift.c: New file.
45626 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45627 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45628 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45629 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45631 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45634 strlen-sse2 strlen-sse2-bsf.
45635 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45636 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45637 (__strlen_sse2): Removed.
45638 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45641 bit_Slow_BSF for Atom.
45642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45643 (index_Slow_BSF): Define.
45644 (HAS_SLOW_BSF): Define.
45646 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45649 * resolv/res_init.c (__res_vinit): When no server address at all
45650 is given default to loopback.
45652 2010-08-24 Roland McGrath <roland@redhat.com>
45654 * configure.in: Remove config-name.h generation.
45655 * configure: Regenerated.
45656 * config-name.in: File removed.
45657 * scripts/config-uname.sh: New file.
45658 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45659 ($(objdir)config-name.h): New target.
45661 * sunrpc/rpc_parse.h: Avoid nested comment.
45663 2010-08-24 Richard Henderson <rth@redhat.com>
45664 Ulrich Drepper <drepper@redhat.com>
45665 H.J. Lu <hongjiu.lu@intel.com>
45667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45669 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45670 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45671 _mm_alignr_epi8 with _mm_loadu_si128.
45672 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45673 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45674 (__m128i_shift_right): Removed.
45675 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45676 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45677 * sysdeps/x86_64/multiarch/varshift.h: New file.
45678 * sysdeps/x86_64/multiarch/varshift.S: New file.
45680 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45682 * configure.in: Move assembler checks to before sysdep dir checking.
45684 2010-08-20 Petr Baudis <pasky@suse.cz>
45686 * LICENSES: Sync the sunrpc license.
45688 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45690 * sunrpc/auth_des.c: Update copyright notice once again.
45691 * sunrpc/auth_none.c: Likewise.
45692 * sunrpc/auth_unix.c: Likewise.
45693 * sunrpc/authdes_prot.c: Likewise.
45694 * sunrpc/authuxprot.c: Likewise.
45695 * sunrpc/bindrsvprt.c: Likewise.
45696 * sunrpc/clnt_gen.c: Likewise.
45697 * sunrpc/clnt_perr.c: Likewise.
45698 * sunrpc/clnt_raw.c: Likewise.
45699 * sunrpc/clnt_simp.c: Likewise.
45700 * sunrpc/clnt_tcp.c: Likewise.
45701 * sunrpc/clnt_udp.c: Likewise.
45702 * sunrpc/clnt_unix.c: Likewise.
45703 * sunrpc/des_crypt.c: Likewise.
45704 * sunrpc/des_soft.c: Likewise.
45705 * sunrpc/get_myaddr.c: Likewise.
45706 * sunrpc/getrpcport.c: Likewise.
45707 * sunrpc/key_call.c: Likewise.
45708 * sunrpc/key_prot.c: Likewise.
45709 * sunrpc/openchild.c: Likewise.
45710 * sunrpc/pm_getmaps.c: Likewise.
45711 * sunrpc/pm_getport.c: Likewise.
45712 * sunrpc/pmap_clnt.c: Likewise.
45713 * sunrpc/pmap_prot.c: Likewise.
45714 * sunrpc/pmap_prot2.c: Likewise.
45715 * sunrpc/pmap_rmt.c: Likewise.
45716 * sunrpc/rpc/auth.h: Likewise.
45717 * sunrpc/rpc/auth_unix.h: Likewise.
45718 * sunrpc/rpc/clnt.h: Likewise.
45719 * sunrpc/rpc/des_crypt.h: Likewise.
45720 * sunrpc/rpc/key_prot.h: Likewise.
45721 * sunrpc/rpc/netdb.h: Likewise.
45722 * sunrpc/rpc/pmap_clnt.h: Likewise.
45723 * sunrpc/rpc/pmap_prot.h: Likewise.
45724 * sunrpc/rpc/pmap_rmt.h: Likewise.
45725 * sunrpc/rpc/rpc.h: Likewise.
45726 * sunrpc/rpc/rpc_des.h: Likewise.
45727 * sunrpc/rpc/rpc_msg.h: Likewise.
45728 * sunrpc/rpc/svc.h: Likewise.
45729 * sunrpc/rpc/svc_auth.h: Likewise.
45730 * sunrpc/rpc/types.h: Likewise.
45731 * sunrpc/rpc/xdr.h: Likewise.
45732 * sunrpc/rpc_clntout.c: Likewise.
45733 * sunrpc/rpc_cmsg.c: Likewise.
45734 * sunrpc/rpc_common.c: Likewise.
45735 * sunrpc/rpc_cout.c: Likewise.
45736 * sunrpc/rpc_dtable.c: Likewise.
45737 * sunrpc/rpc_hout.c: Likewise.
45738 * sunrpc/rpc_main.c: Likewise.
45739 * sunrpc/rpc_parse.c: Likewise.
45740 * sunrpc/rpc_parse.h: Likewise.
45741 * sunrpc/rpc_prot.c: Likewise.
45742 * sunrpc/rpc_sample.c: Likewise.
45743 * sunrpc/rpc_scan.c: Likewise.
45744 * sunrpc/rpc_scan.h: Likewise.
45745 * sunrpc/rpc_svcout.c: Likewise.
45746 * sunrpc/rpc_tblout.c: Likewise.
45747 * sunrpc/rpc_util.c: Likewise.
45748 * sunrpc/rpc_util.h: Likewise.
45749 * sunrpc/rpcinfo.c: Likewise.
45750 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45751 * sunrpc/rpcsvc/key_prot.x: Likewise.
45752 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45753 * sunrpc/rpcsvc/mount.x: Likewise.
45754 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45755 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45756 * sunrpc/rpcsvc/rex.x: Likewise.
45757 * sunrpc/rpcsvc/rstat.x: Likewise.
45758 * sunrpc/rpcsvc/rusers.x: Likewise.
45759 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45760 * sunrpc/rpcsvc/spray.x: Likewise.
45761 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45762 * sunrpc/rtime.c: Likewise.
45763 * sunrpc/svc.c: Likewise.
45764 * sunrpc/svc_auth.c: Likewise.
45765 * sunrpc/svc_authux.c: Likewise.
45766 * sunrpc/svc_raw.c: Likewise.
45767 * sunrpc/svc_run.c: Likewise.
45768 * sunrpc/svc_simple.c: Likewise.
45769 * sunrpc/svc_tcp.c: Likewise.
45770 * sunrpc/svc_udp.c: Likewise.
45771 * sunrpc/svc_unix.c: Likewise.
45772 * sunrpc/svcauth_des.c: Likewise.
45773 * sunrpc/xcrypt.c: Likewise.
45774 * sunrpc/xdr.c: Likewise.
45775 * sunrpc/xdr_array.c: Likewise.
45776 * sunrpc/xdr_float.c: Likewise.
45777 * sunrpc/xdr_mem.c: Likewise.
45778 * sunrpc/xdr_rec.c: Likewise.
45779 * sunrpc/xdr_ref.c: Likewise.
45780 * sunrpc/xdr_sizeof.c: Likewise.
45781 * sunrpc/xdr_stdio.c: Likewise.
45783 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45786 2010-08-19 Andreas Schwab <schwab@redhat.com>
45788 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45790 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45792 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45793 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45794 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45795 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45796 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45797 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45798 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45799 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45801 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45802 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45803 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45804 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45805 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45807 2010-07-26 Anton Blanchard <anton@samba.org>
45809 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45810 * malloc/arena.c (heap_trim): Likewise.
45812 2010-08-16 Ulrich Drepper <drepper@redhat.com>
45814 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45817 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45819 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45821 * sysdeps/i386/elf/Makefile: New file.
45823 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45825 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45826 from fanotify_init.
45827 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45830 2010-08-15 Ulrich Drepper <drepper@redhat.com>
45832 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45834 * sysdeps/multiarch/strcmp.S: Likewise.
45836 2010-08-14 Ulrich Drepper <drepper@redhat.com>
45838 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45839 strncase_l-nonascii.
45840 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45841 Add strncase_l-ssse3.
45842 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45843 * sysdeps/x86_64/strcmp.S: Likewise.
45844 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45845 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45846 * sysdeps/x86_64/strncase.S: New file.
45847 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45848 * sysdeps/x86_64/strncase_l.S: New file.
45849 * string/Makefile (strop-tests): Add strncasecmp.
45850 * string/test-strncasecmp.c: New file.
45852 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45855 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45856 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45858 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45860 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45862 2010-08-12 Ulrich Drepper <drepper@redhat.com>
45864 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45865 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45866 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45868 2010-05-01 Alan Modra <amodra@gmail.com>
45870 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45871 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45872 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45873 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45874 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45875 tidying. Don't tail-call __sigjmp_save for static lib.
45876 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45878 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45879 (CALL_MCOUNT): Add eh info, and nop after bl.
45880 (TAIL_CALL_SYSCALL_ERROR): New macro.
45881 (PSEUDO_RET): Use it.
45882 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45883 Correct save location of integer regs and cr.
45884 (_dl_profile_resolve): Correct cr save location. Delete nops
45885 after bl when SHARED. Reduce cfi size a little by better
45886 placement of cfi directives.
45887 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45888 make a stack frame. Instead use parm save area as a temp.
45889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45890 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45892 Don't make a stack frame for parent, use parm save area.
45893 Increase child stack frame to 112 bytes. Don't save unused reg,
45894 and adjust reg usage. Set up cfi on error recovery and
45895 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45897 (__makecontext): Add dummy nop after jump to exit.
45898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45899 Use correct parm save area and cr save, reduce stack frame.
45900 Correct cfi for possible PSEUDO_RET frame setup.
45901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45902 Branch to local label emitted by PSEUDO_RET rather than
45905 2010-08-12 Andreas Schwab <schwab@redhat.com>
45908 * locale/programs/locale.c (print_assignment): New function.
45909 (show_locale_vars): Use it.
45911 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45913 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45915 (struct statfs64): Likewise.
45916 (_STATFS_F_FLAGS): Define.
45917 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45919 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45920 (ST_VALID): Define locally.
45921 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45922 __statvfs_getflags, use the provided value.
45923 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45924 __ASSUME_STATFS_F_FLAGS.
45926 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45928 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45929 Add sys/fanotify.h.
45930 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45931 fanotify_mask for GLIBC_2.13.
45932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45933 fanotify_init and fanotify_mark.
45934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45935 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45937 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45939 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45940 prlimit64 for GLIBC_2.13.
45941 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45946 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45947 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45948 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45951 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45954 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45955 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45957 * nss/Makefile: Add rules to build and run tst-nss-test1.
45958 * shlib-versions: Add entry for libnss_test1.
45959 * nss/nss_test1.c: New file.
45960 * nss/tst-nss-test1.c: New file.
45962 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45963 (__nss_configure_lookup): Set appropriate entry in
45964 __nss_configure_lookup to true.
45965 * nss/nsswitch.h: Define enum with indeces of databases in
45966 databases and __nss_database_custom arrays. Declare
45967 __nss_database_custom.
45968 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45969 to avoid using nscd when custom rules are installed.
45970 * nss/getXXbyYY_r.c: Likewise.
45971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45973 * nss/nss_files/files-parse.c: Whitespace fixes.
45975 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45978 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45979 * posix/fnmatch_loop.c: Likewise.
45981 2010-07-17 Andi Kleen <ak@linux.intel.com>
45983 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45984 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45985 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45986 * Versions.def [GLIBC_2.13]: Add.
45988 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45991 Also fail if tpwd after pwuid call is NULL.
45993 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45995 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45996 when converting to ms.
45998 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46000 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46001 EOPNOTSUPP errors with ENOTTY.
46002 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46003 EOPNOTSUPP errors with ENOTTY.
46005 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46007 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46008 Add strcasecmp_l-ssse3.
46009 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46011 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46012 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46013 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46015 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46017 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46019 * string/Makefile (strop-tests): Add strcasecmp.
46020 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46021 strcasecmp_l-nonascii.
46022 (gen-as-const-headers): Add locale-defines.sym.
46023 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46024 * sysdeps/x86_64/strcasecmp.S: New file.
46025 * sysdeps/x86_64/strcasecmp_l.S: New file.
46026 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46027 * sysdeps/x86_64/locale-defines.sym: New file.
46028 * string/test-strcasecmp.c: New file.
46030 * string/test-strcasestr.c: Test both ends of the range of characters.
46031 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46033 2010-07-29 Roland McGrath <roland@redhat.com>
46036 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46038 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46040 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46043 2010-07-27 Andreas Schwab <schwab@redhat.com>
46045 * manual/memory.texi (Malloc Tunable Parameters): Document
46048 2010-07-26 Roland McGrath <roland@redhat.com>
46051 * configure.in (-fgnu89-inline check): Set and substitute
46052 gnu89_inline, not libc_cv_gnu89_inline.
46053 * configure: Regenerated.
46054 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46056 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46058 * string/test-strnlen.c: New file.
46059 * string/Makefile (strop-tests): Add strnlen.
46060 * string/tester.c (test_strnlen): Add a few more test cases.
46061 * string/tst-strlen.c: Better error reporting.
46063 * sysdeps/x86_64/strnlen.S: New file.
46065 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46067 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46068 lower-latency instructions.
46070 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46072 * string/test-strcasestr.c: New file.
46073 * string/test-strstr.c: New file.
46074 * string/Makefile (strop-tests): Add strstr and strcasestr.
46075 * string/str-two-way.h: Don't undefine MAX.
46076 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46078 2010-07-21 Andreas Schwab <schwab@redhat.com>
46080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46081 strcasestr-nonascii.
46082 (CFLAGS-strcasestr-nonascii.c): Define.
46083 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46084 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46085 Remove unused attribute.
46087 2010-07-20 Roland McGrath <roland@redhat.com>
46089 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46090 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46091 ld.so.cache was broken. With it, there is no way to disable dsocaps
46092 like LD_HWCAP_MASK can disable hwcaps.
46094 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46096 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46098 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46100 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46101 call in strcasestr.
46102 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46103 __strcasestr_sse42_nonascii.
46104 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46105 strcasestr-nonascii.c.
46106 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46108 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46110 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46111 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46112 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46113 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46115 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46117 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46120 2010-07-06 Andreas Schwab <schwab@redhat.com>
46123 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46126 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46128 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46129 _PC_PIPE_BUF using F_GETPIPE_SZ.
46131 2010-07-05 Roland McGrath <roland@redhat.com>
46133 * manual/arith.texi (Rounding Functions): Fix rint description
46134 implicit in round description.
46136 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46138 * elf/Makefile: Fix linking for a few tests to make recent linker
46141 2010-06-30 Andreas Schwab <schwab@redhat.com>
46143 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46144 $(common-objpfx)libc_nonshared.a.
46146 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46148 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46149 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46150 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46151 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46152 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46153 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46154 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46155 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46170 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46171 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46172 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46173 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46174 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46175 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46176 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46177 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46178 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46179 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46180 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46181 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46197 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46199 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46200 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46201 * string/memmove.c (memmove): Renamed to ...
46202 (MEMMOVE): ...this. Default to memmove.
46203 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46204 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46207 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46208 mempcpy-ssse3-back memmove-ssse3-back.
46209 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46210 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46212 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46213 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46214 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46215 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46216 * sysdeps/x86_64/multiarch/memmove.c: New file.
46217 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46218 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46219 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46220 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46221 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46224 (index_Fast_Copy_Backward): Define.
46225 (HAS_ARCH_FEATURE): Define.
46226 (HAS_FAST_REP_STRING): Define.
46227 (HAS_FAST_COPY_BACKWARD): Define.
46229 2010-06-21 Andreas Schwab <schwab@redhat.com>
46231 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46232 Restore proper fallback handling.
46234 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46237 * posix/group_member.c (__group_member): Correct checking loop.
46239 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46240 OOM in getpwuid_r correctly. Return error number when the caller
46241 should return, otherwise -1.
46242 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46243 call returning > 0 value.
46244 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46246 2010-06-07 Andreas Schwab <schwab@redhat.com>
46248 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46249 libc_nonshared.a from targets in modules-names.
46251 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46253 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46256 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46258 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46259 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46261 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46263 2010-06-02 Andreas Schwab <schwab@redhat.com>
46265 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46267 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46269 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46271 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46276 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46278 2010-06-14 Roland McGrath <roland@redhat.com>
46280 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46282 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46284 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46285 __REDIRECT followed by __THROW.
46286 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46287 * posix/getopt.h (getopt): Likewise.
46289 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46291 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46292 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46293 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46295 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46296 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46298 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46300 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46302 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46306 Properly check family and model.
46308 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46310 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46312 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46314 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46316 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46318 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46321 2010-05-19 Andreas Schwab <schwab@redhat.com>
46323 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46326 2010-05-21 Andreas Schwab <schwab@redhat.com>
46328 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46329 and internal_recvmmsg.
46330 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46331 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46333 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46335 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46336 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46337 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46339 2010-05-20 Andreas Schwab <schwab@redhat.com>
46341 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46343 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46345 POWER7 optimizations.
46346 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46347 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46349 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46351 * version.h: Update for 2.13 development version.
46353 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46355 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46356 exceptions. Return 0.
46358 2010-05-07 Roland McGrath <roland@redhat.com>
46360 * elf/ldconfig.c (main): Add a const.
46362 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46364 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46365 (args_options): Add no-idn option.
46366 (ahosts_keys_int): Add idn_flags to ai_flags.
46367 (parse_option): Handle 'i' option to clear idn_flags.
46369 * malloc/malloc.c (_int_free): Possible race in the most recently
46370 added check. Only act on the data if no current modification
46373 See ChangeLog.17 for earlier changes.