1 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12 hidden ___tls_get_addr.
13 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14 hidden __tls_get_addr.
15 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
21 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
26 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27 from "call _dl_init@PLT".
28 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30 2014-12-21 Anders Kaseorg <andersk@mit.edu>
32 * manual/search.texi: (Array Sort Function): Clarify stable sorting
35 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
37 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
44 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
46 * string/strncat.c (STRNCAT): Simplify implementation.
48 2014-12-19 David S. Miller <davem@davemloft.net>
50 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
51 access the quad as both a long double and as a series of 4 words.
53 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
54 link_map->l_info array access.
56 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
58 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
60 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
61 * math/atest-exp2.c (TIMEOUT): Likewise.
62 * math/atest-sincos.c (TIMEOUT): Likewise.
64 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
66 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
67 -Wno-error with -fno-builtin-lround.
69 2014-12-19 Torvald Riegel <triegel@redhat.com>
71 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
72 Contains futex constants and functions moved over from ...
73 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
74 <lowlevellock-futex.h>.
75 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
76 (lll_timedwait_tid): Add comments and parentheses around macro
79 2014-12-19 Torvald Riegel <triegel@redhat.com>
81 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
82 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
83 (__lll_private_flag): Remove.
84 (lll_futex_wait): Likewise.
85 (lll_futex_timed_wait): Likewise.
86 (lll_futex_wake): Likewise.
87 (lll_futex_requeue): Likewise.
88 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
89 (__lll_timedwait_tid): Spell out argument names.
90 (lll_timedwait_tid): Add comments and parentheses around macro
92 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
93 LLL_SHARED and LLL_PRIVATE usable from assembly code.
95 2014-12-19 Torvald Riegel <triegel@redhat.com>
97 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
98 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
99 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
100 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
101 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
102 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
103 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
104 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
105 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
106 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
107 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
108 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
109 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
110 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
111 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
112 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
113 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
114 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
115 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
117 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
119 * sysdeps/x86_64/x32/Makefile: New file.
121 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
123 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
124 1L with (mp_limb_t) 1.
126 2014-12-17 Roland McGrath <roland@hack.frob.com>
128 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
129 * nptl/libc_pthread_init.c: ... here.
130 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
131 * nptl/register-atfork.c: ... here.
133 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
134 Use pthread_sigmask rather than INTERNAL_SYSCALL.
135 Use assert_perror to check its return value.
136 (__gai_create_helper_thread): Likewise.
138 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
140 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
142 2014-12-17 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
147 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
149 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
151 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
153 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
154 (profil_counter): Likewise.
155 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
156 (profil_counter): Likewise.
157 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
159 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
161 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
162 (profil_counter): Likewise.
163 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
165 [!__profil_counter] (profil_counter): Define as weak alias of
167 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
168 (profil_counter): Rename to __profil_counter.
169 [!__profil_counter] (profil_counter): Define as weak alias of
171 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
172 (profil_counter): Rename to __profil_counter.
173 [!__profil_counter] (profil_counter): Define as weak alias of
175 * sysdeps/posix/profil.c: Update comment referring to
177 (__profil): Use __profil_counter instead of profil_counter.
178 * sysdeps/posix/sprofil.c (profil_counter): Rename to
179 __profil_counter. Use __profil_counter_ushort and
180 __profil_counter_uint in definitions.
181 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
182 instead of profil_counter_uint and profil_counter_ushort.
185 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
186 define as weak alias of __inet_makeaddr.
187 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
188 as weak alias of __inet_addr.
189 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
190 as weak alias of __inet_pton. Use libc_hidden_weak.
191 * include/arpa/inet.h (__inet_pton): Declare. Use
193 (inet_makeaddr): Don't use libc_hidden_proto.
194 (__inet_makeaddr): Declare. Use libc_hidden_proto.
195 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
196 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
197 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
199 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
200 (test-xfail-POSIX/time.h/linknamespace): Likewise.
202 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
204 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
206 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
208 * stdio-common/bug-vfprintf-nargs.c (do_test):
209 Cast value to intptr_t to avoid format warning
210 for usage with PRIdPTR printing macro.
212 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
214 * libio/tst-widetext.c (do_test):
215 Use format type %td instead of %Zd for ptrdiff_t
216 in order to avoid format warning.
218 2014-12-17 Andreas Schwab <schwab@suse.de>
220 * nscd/mem.c (gc): Add size_t cast to match printf format.
222 2014-12-16 Roland McGrath <roland@hack.frob.com>
224 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
225 (init): Apply PTR_MANGLE to pointers before storing them.
226 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
229 2014-12-16 Joseph Myers <joseph@codesourcery.com>
232 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
233 define as weak alias of __memrchr.
234 (__memrchr): Do not define as strong alias of memrchr.
235 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
237 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
238 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
239 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
242 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
243 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
244 (if_indextoname): Rename to __if_indextoname and define as weak
245 alias of __if_indextoname. Use libc_hidden_weak.
246 (if_freenameindex): Rename to __if_freenameindex and define as
247 weak alias of __if_freenameindex.
248 (if_nameindex): Rename to __if_nameindex and define as weak alias
250 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
251 __if_nametoindex and define as weak alias of __if_nametoindex.
252 Use libc_hidden_weak.
253 (if_freenameindex): Rename to __if_freenameindex and define as
254 weak alias of __if_freenameindex.
255 (if_nameindex): Rename to __if_nameindex and define as weak alias
257 (if_indextoname): Rename to __if_indextoname and define as weak
258 alias of __if_indextoname. Use libc_hidden_weak.
259 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
260 __if_nametoindex and define as weak alias of __if_nametoindex.
261 Use libc_hidden_weak.
262 (if_freenameindex): Rename to __if_freenameindex and define as
263 weak alias of __if_freenameindex. Use libc_hidden_weak.
264 (if_nameindex_netlink): Use __if_freenameindex instead of
266 (if_nameindex): Rename to __if_nameindex and define as weak alias
267 of __if_nameindex. Use libc_hidden_weak.
268 (if_indextoname): Rename to __if_indextoname and define as weak
269 alias of __if_indextoname. Use libc_hidden_weak.
270 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
272 [!_ISOMAC] (__if_freenameindex): Likewise.
273 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
275 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
277 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
278 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
279 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
280 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
281 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
282 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
283 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
285 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
287 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
288 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
290 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
292 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
293 subscript above bounds'
295 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
298 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
300 * libio/tst-fopenloc.c: Use test-skeleton.c.
302 * stdlib/tst-bsearch.c: Use test-skeleton.c.
303 (entry): Rename to ITEM.
304 (do_test, comp): Adjust.
306 * stdio-common/tst-fseek.c: Use test-skeleton.c.
308 2014-12-16 Torvald Riegel <triegel@redhat.com>
310 * string/tester.c: Include <libc-internal.h>.
311 (test_memset): Ignore -Wmemset-transposed-args.
313 2014-12-16 Torvald Riegel <triegel@redhat.com>
315 * misc/tst-mntent2.c (do_test): Fix warning.
317 2014-12-16 Torvald Riegel <triegel@redhat.com>
319 * elf/tst-unique4lib.cc(a): Mark as used.
321 2014-12-16 Florian Weimer <fweimer@redhat.com>
324 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
327 2014-12-16 Allan McRae <allan@archlinux.org>
329 * stdio-common/Makefile (tests): Re-add bug26.
331 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
334 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
337 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
339 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
340 (__lll_lock_wait): Likewise.
341 (__lll_timedlock_wait): Likewise.
342 (__lll_timedwait_tid): Likewise.
343 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
344 (__lll_robust_timedlock_wait): Likewise.
345 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
346 (lll_cond_trylock): Likewise.
347 (__lll_lock): Likewise.
348 (__lll_robust_lock): Likewise.
349 (__lll_cond_lock): Likewise.
350 (lll_robust_cond_lock): Likewise.
351 (__lll_timedlock): Likewise.
352 (__lll_robust_timedlock): Likewise.
353 (__lll_unlock): Likewise.
354 (__lll_robust_unlock): Likewise.
355 (lll_wait_tid): Likewise.
356 (lll_timedwait_tid): Likewise.
358 2014-12-15 Torvald Riegel <triegel@redhat.com>
360 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
362 2014-12-15 Torvald Riegel <triegel@redhat.com>
364 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
366 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
368 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
369 * stdio-common/tst-sprintf.c: Likewise.
371 2014-12-15 Torvald Riegel <triegel@redhat.com>
373 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
375 2014-12-15 Jeff Law <law@redhat.com>
378 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
379 on the heap. (CVE-2012-3406)
380 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
381 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
382 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
384 2014-12-15 Will Newton <will.newton@linaro.org>
386 * manual/install.texi: Bump required version of texinfo
388 * INSTALL: Regenerated.
389 * configure.ac: Check for makeinfo version 4.7 and above.
390 * configure: Regenerated.
392 2014-12-12 Roland McGrath <roland@hack.frob.com>
394 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
395 PREFIX, string constant to insert between directory and name.
396 * sysdeps/posix/shm_open.c: Update caller.
397 * sysdeps/posix/shm_unlink.c: Likewise.
398 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
399 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
400 (SEM_SHM_PREFIX): New macro.
401 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
402 [$(have-thread-library) = no].
403 * nptl/Makefile (libpthread-routines): Add shm-directory.
404 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
405 * sysdeps/nptl/shm-directory.h: New file.
406 * sysdeps/posix/shm-directory.c
407 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
408 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
409 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
411 (__where_is_shmfs): Function removed.
412 (mountpoint, defaultmount, defaultdir, __namedsem_once):
414 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
416 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
418 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
419 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
420 unconditional for use inside libpthread.
421 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
423 2014-12-12 Roland McGrath <roland@hack.frob.com>
425 * nptl/pthread_getaffinity.c: New file.
426 * nptl/pthread_setaffinity.c: New file.
427 * nptl/pthread_getname.c: New file.
428 * nptl/pthread_setname.c: New file.
430 * nptl/pthread_create.c (START_THREAD_DEFN)
431 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
433 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
434 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436 * resolv/res_send.c (send_vc): Disable warning resplen may
437 be used uninitialized.
439 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
442 (ATTR_NULL): New define checks ATTR against NULL.
443 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
444 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
446 2014-12-11 James Lemke <jwlemke@codesourcery.com>
450 (mem2mem_check): Revert my previous change.
451 (malloc_check_get_size): Revert my previous change.
452 (mem2chunk_check): Revert my previous change.
454 2014-12-11 Roland McGrath <roland@hack.frob.com>
456 * sysdeps/posix/shm-directory.c: New file.
457 * sysdeps/posix/shm-directory.h: New file.
458 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
459 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
460 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
461 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
462 Transmute EPERM to EACCES.
463 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
465 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
466 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
468 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
470 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
471 pointer and cast to uintptr_t.
472 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
473 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
474 Add cast to avoid warning.
475 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
477 2014-12-11 Joseph Myers <joseph@codesourcery.com>
479 * nptl/semaphore.h: Move to ...
480 * sysdeps/pthread/semaphore.h: ... here.
481 * Makefile (installed-headers): Change nptl/semaphore.h to
482 sysdeps/pthread/semaphore.h.
484 2014-12-11 Roland McGrath <roland@hack.frob.com>
486 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
487 generated error format strings.
489 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
490 -Wformat-extra-args warnings for scanf formats.
491 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
492 test of zero-length format (duh).
493 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
494 corner-case scanf format test.
495 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
496 generated fprintf format string.
497 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
498 corner-case sprintf format tests.
499 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
500 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
501 -Wformat-extra-args warnings throughout.
502 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
503 (CFLAGS-scanf4.c): Likewise.
504 (CFLAGS-scanf7.c): Likewise.
505 (CFLAGS-tst-sprintf.c): Likewise.
506 (CFLAGS-tst-printf.c): Likewise.
507 (CFLAGS-tst-printfsz.c): Likewise.
509 2014-12-11 Joseph Myers <joseph@codesourcery.com>
511 * include/cpio.h: New file.
512 * include/fmtmsg.h: Likewise.
514 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
515 corresponding format argument to size_t.
516 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
518 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
519 corresponding format argument to size_t.
520 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
522 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
523 corresponding format argument to size_t.
524 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
525 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
526 (CFLAGS-tst-mbswcs2.c): Likewise.
527 (CFLAGS-tst-mbswcs3.c): Likewise.
528 (CFLAGS-tst-mbswcs4.c): Likewise.
529 (CFLAGS-tst-mbswcs5.c): Likewise.
530 (CFLAGS-tst-trans.c): Likewise
532 2014-12-11 Roland McGrath <roland@hack.frob.com>
534 * posix/regexbug1.c (main): Use "%s" format with regerror results,
535 rather than assuming they won't contain any '%'s.
537 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
539 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
540 inhibit_loop_to_libcall to avoid recursive calls.
541 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
542 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
544 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
546 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
549 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
551 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
552 integer value instead of boolean.
554 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
556 * malloc/malloc.c: Fix powerof2 check.
558 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
560 * locale/programs/locfile.h (maybe_swap_uint32):
561 Remove inline and add unused attribute.
563 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
566 Truncating assembler expression to a .long expression.
568 2014-12-11 Andreas Schwab <schwab@suse.de>
570 * elf/rtld.c (struct map_args): Constify str member.
571 (do_preload): Constify fname argument.
573 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
576 constants definition.
578 2014-12-11 Andreas Schwab <schwab@suse.de>
581 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
582 FORCE_ELISION instead of DO_ELISION.
583 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
585 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
588 * iconvdata/gconv-modules: Remove duplicate entry.
590 2014-12-11 Will Newton <will.newton@linaro.org>
592 Merge gettext 0.19.3 into intl/.
594 This involves a number of cosmetic changes to comments
595 and ANSI function definitions and prototypes throughout
596 all the files. The gettext copyright header is used but
597 with the date ranges taken from the glibc copy.
599 * NEWS: Add gettext merge to 2.21.
600 * intl/bindtextdom.c: Switch to gettext copyright.
601 Use ANSI definitions and prototypes.
602 Use gl_* locking primitives rather than __libc_* ones.
603 Use __builtin_expect rather than __glibc_likely/unlikely.
604 * intl/dcgettext.c: Switch to gettext copyright.
605 Use ANSI definitions and prototypes.
606 * intl/dcigettext.c: Switch to gettext copyright.
607 Use ANSI definitions and prototypes.
608 (INTDIV0_RAISES_SIGFPE): New define.
609 Use gl_* locking primitives rather than __libc_* ones.
610 Include eval-plural.h instead of plural-eval.c.
611 Use __builtin_expect rather than __glibc_likely/unlikely.
612 * intl/dcngettext.c: Switch to gettext copyright.
613 Use ANSI definitions and prototypes.
614 * intl/dgettext.c: Likewise.
615 * intl/dngettext.c: Likewise.
616 * intl/plural-eval.c: Renamed to...
617 * intl/eval-plural.h: ...this.
618 * intl/explodename.c: Switch to gettext copyright.
619 Use ANSI definitions and prototypes.
620 (_nl_explode_name): Use strchr instead of __rawmemchr.
621 * intl/finddomain.c: Switch to gettext copyright.
622 Use ANSI definitions and prototypes.
623 Use gl_* locking primitives rather than __libc_* ones.
624 (_nl_find_domain): Use malloc rather than alloca for
625 allocation of temporary locale name.
626 * intl/gettext.c: Switch to gettext copyright.
627 Use ANSI definitions and prototypes.
628 * intl/gettextP.h: Switch to gettext copyright.
629 Use ANSI definitions and prototypes.
630 Use gl_* locking primitives rather than __libc_* ones.
631 * intl/gmo.h: Switch to gettext copyright.
632 (struct sysdep_string): Move struct segment_pair outside of
634 * intl/hash-string.c: Use ANSI definitions and prototypes.
635 * intl/hash-string.h: Switch to gettext copyright.
636 Use ANSI definitions and prototypes.
637 * intl/l10nflist.c: Switch to gettext copyright.
638 Use ANSI definitions and prototypes.
639 (_nl_normalize_codeset): Avoid integer overflow.
640 * intl/loadinfo.h: Switch to gettext copyright.
641 Use ANSI definitions and prototypes.
642 (LIBINTL_DLL_EXPORTED): New define.
643 (PATH_SEPARATOR): New define.
644 * intl/loadmsgcat.c: Switch to gettext copyright.
645 * intl/localealias.c: Switch to gettext copyright.
646 Use ANSI definitions and prototypes.
647 (_nl_expand_alias): Use PATH_SEPARATOR.
648 * intl/ngettext.c: Switch to gettext copyright.
649 Use ANSI definitions and prototypes.
650 * intl/plural-exp.c: Likewise.
651 * intl/plural-exp.h: Switch to gettext copyright.
652 Use ANSI definitions and prototypes.
653 (struct expression): Move definition of enum operator outside
654 of struct definition.
655 * intl/plural.c: Regenerate.
656 * intl/plural.y: Switch to gettext copyright.
657 Use ANSI definitions and prototypes.
659 * intl/textdomain.c: Switch to gettext copyright.
660 Use ANSI definitions and prototypes.
661 Use gl_* locking primitives rather than __libc_* ones.
663 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
665 * debug/warning-nop.c: Add used atrribute.
667 2014-12-10 Joseph Myers <joseph@codesourcery.com>
669 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
671 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
672 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
673 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
675 2014-12-10 Joseph Myers <joseph@codesourcery.com>
676 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
680 Undefine after defining function. Define as weak alias of
681 __wcschr. Use libc_hidden_weak.
682 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
683 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
684 (libc_hidden_def): Also define __GI___wcschr alias.
685 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
686 __wcschr and define as weak alias of __wcschr.
687 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
689 [!WCSCHR] (DEFAULT_WCSCHR): Define.
690 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
691 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
692 libc_hidden_weak. Do not use libc_hidden_def.
693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
694 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
697 [IS_IN (libc)] (wcschr): Define as macro expanding to
699 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
700 [IS_IN (libc)] (__wcschr_power6): Likewise.
701 [IS_IN (libc)] (__wcschr_power7): Likewise.
702 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
704 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
706 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
707 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
708 __wcschr and define as weak alias of __wcschr. Use
709 libc_hidden_builtin_def.
710 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
711 as weak alias of __wcschr. Use libc_hidden_weak.
712 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
714 * time/era.c (_nl_init_era_entries): Likewise.
715 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
717 (test-xfail-XPG3/time.h/linknamespace): Likewise.
718 (test-xfail-XPG4/time.h/linknamespace): Likewise.
720 2014-12-10 Joseph Myers <joseph@codesourcery.com>
722 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
723 format for long int variable.
725 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
728 * manual/search.texi: (Array Sort Function): Remove claim how to make
731 2014-12-10 Andreas Schwab <schwab@suse.de>
734 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
735 user-controlled locks.
737 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
739 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
742 2014-12-10 Joseph Myers <joseph@codesourcery.com>
744 * configure.ac (--disable-werror): New configure option.
745 (enable_werror): New AC_SUBST.
746 * configure: Regenerated.
747 * config.make.in (enable-werror): New variable.
748 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
750 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
751 * manual/install.texi (Configuring and compiling): Document
753 * INSTALL: Regenerated.
754 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
755 (CFLAGS-tst-chk2.c): Likewise.
756 (CFLAGS-tst-chk3.c): Likewise.
757 (CFLAGS-tst-chk4.cc): Likewise.
758 (CFLAGS-tst-chk5.cc): Likewise.
759 (CFLAGS-tst-chk6.cc): Likewise.
760 (CFLAGS-tst-lfschk1.c): Likewise.
761 (CFLAGS-tst-lfschk2.c): Likewise.
762 (CFLAGS-tst-lfschk3.c): Likewise.
763 (CFLAGS-tst-lfschk4.cc): Likewise.
764 (CFLAGS-tst-lfschk5.cc): Likewise.
765 (CFLAGS-tst-lfschk6.cc): Likewise.
767 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
768 (main): Disable -Wdeprecated-declarations around calls to
769 register_printf_function.
771 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
772 (do_test): Disable -Wdiv-by-zero around some calls to
773 fwrite_unlocked and fread_unlocked.
775 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
776 (DIAG_POP_NEEDS_COMMENT): Likewise.
777 (_DIAG_STR1): Likewise.
778 (_DIAG_STR): Likewise.
779 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
780 * stdio-common/bug21.c: Include <libc-internal.h>.
781 (do_test): Disable -Wformat around call to sscanf.
782 * stdio-common/scanf14.c: Include <libc-internal.h>.
783 (main): Disable -Wformat around some calls to scanf functions.
785 2014-12-09 Torvald Riegel <triegel@redhat.com>
787 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
789 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
791 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
792 stack variable alignment.
794 2014-12-06 Joseph Myers <joseph@codesourcery.com>
797 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
798 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
799 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
800 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
801 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
802 __getrlimit instead of getrlimit.
803 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
804 __gettimeofday instead of gettimeofday.
805 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
807 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
809 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
810 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
812 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
813 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
815 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
818 for wide-character tests.
820 2014-12-04 Roland McGrath <roland@hack.frob.com>
822 * io/openat64.c: #include <libc-internal.h>
823 (__openat64): Prototypify. Use ignore_value on MODE.
824 * io/openat.c: Likewise.
825 * misc/reboot.c: #include <libc-internal.h>
826 (reboot): Prototypify. Use ignore_value on HOWTO.
827 * misc/ptrace.c: #include <libc-internal.h>
828 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
830 2014-12-04 Joseph Myers <joseph@codesourcery.com>
832 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
833 XPG4, UNIX98 and XOPEN2K.
834 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
836 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
838 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
840 * libio/fileops.c: Use ISO C style for function definitions.
841 * libio/iofopen.c: Likewise.
842 * libio/wfileops.c: Likewise.
845 * libio/fileops.c (_IO_new_file_underflow): Unset cached
847 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
848 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
849 (fgets_func): Function pointer to fgets and fgetws.
850 (do_ftell_test): Add test to verify ftell value after read
852 (do_test): Set fgets_func.
854 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
855 O_TRUNC flag for w and w+ modes.
856 (do_rewind_test): Likewise.
857 (do_ftell_test): Likewise.
858 (do_write_test): Likewise.
861 * libio/fileops.c (do_ftell): Seek only when there are
863 * libio/wfileops.c (do_ftell_wide): Likewise.
864 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
866 (do_one_test): Call it.
868 2014-12-03 Joseph Myers <joseph@codesourcery.com>
870 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
871 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
872 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
874 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
875 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
876 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
878 2014-12-02 Joseph Myers <joseph@codesourcery.com>
880 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
882 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
885 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
886 as weak alias of __getifaddrs. Use libc_hidden_weak.
887 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
888 __freeifaddrs. Use libc_hidden_weak.
889 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
890 define as weak alias of __getifaddrs. Use libc_hidden_weak.
891 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
892 __freeifaddrs. Use libc_hidden_weak.
893 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
894 __getifaddrs and define as weak alias of __getifaddrs. Use
896 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
897 __freeifaddrs. Use libc_hidden_weak.
898 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
900 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
901 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
903 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
906 * sysdeps/mips/start.S (__start): Use indirect jump to call
909 2014-12-02 Joseph Myers <joseph@codesourcery.com>
911 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
913 * nptl/tst-mutex1.c: Include <stdbool.h>.
914 [!ATTR] (ATTR_NULL): New macro.
915 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
916 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
917 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
919 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
923 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
924 Change conditional to [__USE_MISC].
927 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
929 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
931 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
933 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
935 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
936 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
937 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
938 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
939 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
940 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
941 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
942 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
943 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
945 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
947 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
949 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
950 Remove strpbrk objects.
951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
952 (__libc_ifunc_impl_list): Remove strpbrk implementation.
953 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
954 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
955 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
956 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
958 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
959 Remove strcspn objects.
960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
961 (__libc_ifunc_impl_list): Remove strcspn implementation.
962 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
963 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
964 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
965 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
967 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
968 Remove strspn objetcs.
969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
970 (__libc_ifunc_impl_list): Remove strspn implementation.
971 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
972 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
973 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
974 * sysdeps/powerpc/powerpc64/strspn.S: New file.
976 2014-12-01 James Lemke <jwlemke@codesourcery.com>
980 (mem2mem_check): Add a terminator to the chain of checking blocks.
981 (malloc_check_get_size): Use it here.
982 (mem2chunk_check): Ditto.
984 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
986 * sysdeps/powerpc/powerpc64/strtok.S: New file.
987 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
989 2014-11-29 Carlos O'Donell <carlos@redhat.com>
991 * bits/ioctl-types.h: Indent preprocessor directives correctly.
993 * nptl/nptl-init.c: Include libc-internal.h.
994 (__pthread_initialize_minimal_internal): Use ROUND_UP.
996 * elf/ldconfig.c (search_dir): Expand comment.
998 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1000 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1002 (linknamespace-symlist-stdlibs-tests): Likewise.
1003 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1004 instead of $(objpfx)symlist-stdlibs.
1005 (linknamespace-libs-isoc): New variable.
1006 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1007 (linknamespace-libs-ISO): New variable.
1008 (linknamespace-libs-ISO99): Likewise.
1009 (linknamespace-libs-ISO11): Likewise.
1010 (linknamespace-libs-XPG3): Likewise.
1011 (linknamespace-libs-XPG4): Likewise.
1012 (linknamespace-libs-POSIX): Likewise.
1013 (linknamespace-libs-UNIX98): Likewise.
1014 (linknamespace-libs-XOPEN2K): Likewise.
1015 (linknamespace-libs-POSIX2008): Likewise.
1016 (linknamespace-libs-XOPEN2K8): Likewise.
1017 ($(objpfx)symlist-stdlibs): Replace by
1018 $(linknamespace-symlist-stdlibs-tests). Use
1019 $(linknamespace-libs-$*) as set of libraries.
1020 ($(linknamespace-header-tests)): Update dependencies. Use
1021 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1022 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1023 * conform/linknamespace.pl: Remove comment about considering
1024 definitions of symbols from irrelevant libraries.
1026 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1029 * elf/dl-tls.c: Include <atomic.h>.
1030 (oom): Remove #ifdef SHARED/#endif.
1031 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1032 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1033 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1035 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1036 * nptl/Makefile (tests): Add tst-stack4.
1037 (modules-names): Add tst-stack4mod.
1038 ($(objpfx)tst-stack4): New.
1039 (tst-stack4mod.sos): Likewise.
1040 ($(objpfx)tst-stack4.out): Likewise.
1041 ($(tst-stack4mod.sos)): Likewise.
1043 * nptl/tst-stack4.c: New file.
1044 * nptl/tst-stack4mod.c: Likewise.
1046 2014-11-27 J. Brown <jb999@gmx.de>
1048 * sysdeps/x86/bits/string.h: Add recent CPUs.
1050 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1052 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1055 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1058 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1061 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1063 * nscd/connections.c: Include libc-internal.h because of macro
1066 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1068 * string/bits/string3.h (__warn_memset_zero_len): Don't
1069 declare for gcc newer than 5.0.
1070 (memset): Don't test for zero-length __LEN for gcc newer than
1073 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1075 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1076 size_t for %zu format.
1078 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1079 difference, not %ju.
1081 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1083 * include/libc-internal.h (ignore_value): New macro.
1084 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1087 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1090 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1091 pthread_cleanup_push to void *.
1093 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1098 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1099 instead of 1L << 52.
1101 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1102 * libio/bug-rewind2.c (do_test): Likewise.
1104 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1105 * debug/test-strcpy_chk-ifunc.c: Likewise.
1106 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1107 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1108 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1109 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1110 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1111 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1112 * Rules [$(multi-arch) = no] (tests): Do not filter out
1114 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1115 * debug/Makefile (tests-ifunc): Remove variable.
1116 (tests): Do not add $(tests-ifunc).
1117 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1118 (tests): Do not add $(tests-ifunc).
1119 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1120 [TEST_IFUNC]: Remove conditionals.
1121 * string/test-string.h (TEST_IFUNC): Remove macro.
1122 [TEST_IFUNC]: Remove conditionals.
1124 * string/test-strchr.c [!WIDE] (L): New macro.
1125 [WIDE] (L): Likewise.
1126 (check1): Use CHAR instead of char. Use L on string and character
1129 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1131 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1133 * sysdeps/powerpc/bits/atomic.h
1134 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1135 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1136 (atomic_exchange_and_add_acq): Likewise.
1137 (atomic_exchange_and_add_rel): Likewise.
1138 * sysdeps/powerpc/powerpc32/bits/atomic.h
1139 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1140 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1141 * sysdeps/powerpc/powerpc64/bits/atomic.h
1142 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1143 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1145 2014-11-26 Torvald Riegel <triegel@redhat.com>
1147 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1148 Change synchronization of __sched_fifo_min_prio and
1149 __sched_fifo_max_prio.
1150 * nptl/pthread_mutexattr_getprioceiling.c
1151 (pthread_mutexattr_getprioceiling): Likewise.
1152 * nptl/pthread_mutexattr_setprioceiling.c
1153 (pthread_mutexattr_setprioceiling): Likewise.
1154 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1155 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1158 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1160 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1163 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1165 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1166 third argument const.
1168 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1170 fnmatch: work around GCC compiler warning bug with uninit var
1171 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1172 This works around a bug with x86-64 GCC 4.9.2 and earlier
1173 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1174 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1175 used uninitialized in this function [-Wmaybe-uninitialized]".
1177 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1179 * posix/bug-regex31.c (main): Return RES not 0.
1181 2014-11-25 Anton Blanchard <anton@samba.org>
1183 * sysdeps/powerpc/bits/atomic.h
1184 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1186 2014-11-24 Sterling Augustine <saugustine@google.com>
1188 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1190 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1193 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1195 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1198 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1199 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1201 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1202 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1204 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1206 * string/strncpy.c (strncpy): Improve performance by using memset.
1208 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1210 * string/strcpy.c (strcpy):
1211 Improve performance by using strlen and memcpy.
1213 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1215 * string/strcoll_l.c (get_next_seq): __always_inline.
1216 * string/strcoll_l.c (do_compare): __always_inline.
1218 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1220 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1222 * include/mqueue.h: Likewise.
1223 * include/stdlib.h: Likewise.
1225 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1226 (get_null_defines): Adjust.
1227 * sunrpc/Makefile: Adjust comment.
1228 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1229 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1230 (CFLAGS-interp.c): Likewise.
1231 (CFLAGS-ldconfig.c): Likewise.
1232 (CPPFLAGS-.os): Likewise.
1233 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1234 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1235 * extra-modules.mk (extra-modules.mk): Likewise.
1236 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1237 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1238 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1239 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1240 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1241 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1242 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1243 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1244 * iconvdata/Makefile (CPPFLAGS): Likewise.
1245 (cpp-srcs-left): Add libof for all iconvdata routines.
1246 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1247 * include/assert.h: Likewise.
1248 * include/ctype.h: Likewise.
1249 * include/errno.h: Likewise.
1250 * include/libc-symbols.h: Likewise.
1251 * include/math.h: Likewise.
1252 * include/netdb.h: Likewise.
1253 * include/resolv.h: Likewise.
1254 * include/stdio.h: Likewise.
1255 * include/stdlib.h: Likewise.
1256 * include/string.h: Likewise.
1257 * include/sys/stat.h: Likewise.
1258 * include/wctype.h: Likewise.
1259 * intl/l10nflist.c: Likewise.
1260 * libidn/idn-stub.c: Likewise.
1261 * libio/libioP.h: Likewise.
1262 * nptl/libc_multiple_threads.c: Likewise.
1263 * nptl/pthreadP.h: Likewise.
1264 * posix/regex_internal.h: Likewise.
1265 * resolv/res_hconf.c: Likewise.
1266 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1267 * sysdeps/arm/memmove.S: Likewise.
1268 * sysdeps/arm/sysdep.h: Likewise.
1269 * sysdeps/generic/_itoa.h: Likewise.
1270 * sysdeps/generic/symbol-hacks.h: Likewise.
1271 * sysdeps/gnu/errlist.awk: Likewise.
1272 * sysdeps/gnu/errlist.c: Likewise.
1273 * sysdeps/i386/i586/memcpy.S: Likewise.
1274 * sysdeps/i386/i586/memset.S: Likewise.
1275 * sysdeps/i386/i686/memcpy.S: Likewise.
1276 * sysdeps/i386/i686/memmove.S: Likewise.
1277 * sysdeps/i386/i686/mempcpy.S: Likewise.
1278 * sysdeps/i386/i686/memset.S: Likewise.
1279 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1280 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1281 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1282 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1283 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1284 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1285 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1286 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1287 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1288 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1289 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1290 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1291 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1292 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1293 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1294 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1295 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1296 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1297 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1298 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1299 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1300 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1301 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1302 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1303 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1304 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1305 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1306 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1307 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1308 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1309 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1312 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1313 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1314 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1315 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1316 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1317 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1319 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1320 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1321 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1322 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1323 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1324 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1325 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1326 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1328 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1329 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1330 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1331 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1332 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1333 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1334 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1335 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1336 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1337 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1338 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1339 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1340 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1341 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1342 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1343 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1344 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1345 * sysdeps/posix/closedir.c: Likewise.
1346 * sysdeps/posix/opendir.c: Likewise.
1347 * sysdeps/posix/readdir.c: Likewise.
1348 * sysdeps/posix/rewinddir.c: Likewise.
1349 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1350 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1351 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1352 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1353 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1354 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1360 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1361 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1362 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1364 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1365 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1366 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1368 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1369 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1370 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1371 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1373 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1374 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1375 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1377 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1384 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1385 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1386 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1389 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1390 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1391 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1392 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1393 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1394 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1395 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1396 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1397 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1398 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1399 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1400 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1401 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1403 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1404 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1405 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1406 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1407 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1408 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1409 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1410 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1411 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1412 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1413 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1414 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1415 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1416 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1417 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1418 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1419 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1420 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1421 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1422 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1423 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1424 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1425 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1426 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1427 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1428 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1429 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1430 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1432 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1433 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1435 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1436 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1437 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1438 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1439 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1440 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1441 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1442 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1444 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1445 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1447 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1448 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1450 * sysdeps/unix/alpha/sysdep.S: Likewise.
1451 * sysdeps/unix/alpha/sysdep.h: Likewise.
1452 * sysdeps/unix/make-syscalls.sh: Likewise.
1453 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1455 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1456 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1457 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1458 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1459 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1460 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1461 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1462 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1463 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1464 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1465 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1466 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1467 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1468 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1469 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1470 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1471 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1472 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1473 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1474 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1475 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1476 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1477 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1478 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1479 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1482 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1483 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1484 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1485 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1487 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1491 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1492 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1493 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1494 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1496 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1497 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1503 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1504 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1505 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1506 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1507 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1511 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1512 * sysdeps/x86_64/memcpy.S: Likewise.
1513 * sysdeps/x86_64/memmove.c: Likewise.
1514 * sysdeps/x86_64/memset.S: Likewise.
1515 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1516 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1517 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1518 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1519 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1522 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1523 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1524 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1525 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1527 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1528 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1529 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1530 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1532 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1533 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1534 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1535 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1536 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1537 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1538 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1539 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1540 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1541 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1542 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1543 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1544 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1545 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1546 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1547 * sysdeps/x86_64/strcmp.S: Likewise.
1549 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1551 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1552 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1553 * elf/rtld-Rules: Likewise.
1554 * elf/setup-vdso.h: Likewise.
1555 * include/assert.h: Likewise.
1556 * include/bits/stdlib-float.h: Likewise.
1557 * include/errno.h: Likewise.
1558 * include/sys/stat.h: Likewise.
1559 * include/unistd.h: Likewise.
1560 * sysdeps/aarch64/setjmp.S: Likewise.
1561 * sysdeps/alpha/setjmp.S: Likewise.
1562 * sysdeps/arm/__longjmp.S: Likewise.
1563 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1564 * sysdeps/arm/setjmp.S: Likewise.
1565 * sysdeps/arm/sysdep.h: Likewise.
1566 * sysdeps/generic/_itoa.h: Likewise.
1567 * sysdeps/generic/dl-sysdep.h: Likewise.
1568 * sysdeps/generic/ldsodefs.h: Likewise.
1569 * sysdeps/i386/dl-tls.h: Likewise.
1570 * sysdeps/i386/setjmp.S: Likewise.
1571 * sysdeps/m68k/setjmp.c: Likewise.
1572 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1573 * sysdeps/mach/hurd/opendir.c: Likewise.
1574 * sysdeps/posix/getcwd.c: Likewise.
1575 * sysdeps/posix/opendir.c: Likewise.
1576 * sysdeps/posix/profil.c: Likewise.
1577 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1579 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1580 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1581 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1582 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1583 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1584 * sysdeps/s390/dl-tls.h: Likewise.
1585 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1586 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1587 * sysdeps/sh/sh3/setjmp.S: Likewise.
1588 * sysdeps/sh/sh4/setjmp.S: Likewise.
1589 * sysdeps/unix/alpha/sysdep.h: Likewise.
1590 * sysdeps/unix/arm/sysdep.S: Likewise.
1591 * sysdeps/unix/i386/sysdep.S: Likewise.
1592 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1593 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1596 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1597 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1598 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1599 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1600 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1601 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1602 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1603 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1604 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1607 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1610 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1611 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1615 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1616 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1619 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1620 * sysdeps/x86_64/setjmp.S: Likewise.
1622 * include/math.h: Use IS_IN instead of IS_IN_libm.
1623 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1635 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1643 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1644 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1645 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1646 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1647 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1648 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1650 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1651 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1652 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1653 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1654 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1655 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1666 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1667 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1668 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1669 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1670 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1671 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1677 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1678 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1679 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1680 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1681 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1682 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1683 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1684 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1685 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1686 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1687 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1688 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1689 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1690 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1692 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1694 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1695 * nptl/pthreadP.h: Likewise.
1696 * nptl_db/structs.def: Likewise.
1697 * sysdeps/arm/sysdep.h: Likewise.
1698 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1699 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1700 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1701 * sysdeps/unix/alpha/sysdep.h: Likewise.
1702 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1704 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1705 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1706 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1707 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1708 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1709 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1710 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1711 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1712 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1713 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1714 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1715 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1720 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1723 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1724 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1725 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1726 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1729 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1730 * nptl/pthreadP.h: Likewise.
1731 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1732 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1733 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1734 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1735 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1736 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1737 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1738 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1739 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1740 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1741 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1742 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1749 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1752 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1753 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1754 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1756 * dlfcn/dladdr.c: Use IS_IN.
1757 * dlfcn/dladdr1.c: Likewise.
1758 * dlfcn/dlclose.c: Likewise.
1759 * dlfcn/dlerror.c: Likewise.
1760 * dlfcn/dlinfo.c: Likewise.
1761 * dlfcn/dlmopen.c: Likewise.
1762 * dlfcn/dlopen.c: Likewise.
1763 * dlfcn/dlsym.c: Likewise.
1764 * dlfcn/dlvsym.c: Likewise.
1766 * include/ifaddrs.h: Use IS_IN.
1767 * inet/check_pf.c: Likewise.
1768 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1769 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1771 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1773 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1774 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1776 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1777 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1780 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1782 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1783 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1784 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1785 * include/libc-symbols.h (IS_IN_LIB): New macro.
1786 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1787 * include/netdb.h: Likewise.
1788 * include/stap-probe.h: Remove all uses of IN_LIB.
1790 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1791 instead of IN_MODULE.
1792 * include/libc-symbols.h (IN_MODULE): Define using
1794 (PASTE_NAME, PASTE_NAME1): New macros.
1795 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1797 (STAP_PROBE_ASM): Likewise.
1799 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1801 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1802 __mach_init in dlopened libc.
1804 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1806 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1807 * sysdeps/arm/preconfigure: Regenerate.
1809 2014-11-21 Roland McGrath <roland@hack.frob.com>
1811 * nptl/pthread_create.c (__pthread_create_2_1): Set
1812 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1813 when copying values from IATTR into PD.
1815 2014-11-21 Will Newton <will.newton@linaro.org>
1816 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1818 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1819 Refactor inline-asm. Also add comment.
1821 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1822 ElfW macro instead of hardcoded Elf64 types.
1823 (la_aarch64_gnu_pltenter): Likewise.
1824 * sysdeps/aarch64/dl-machine.h
1825 (elf_machine_runtime_setup): Use ElfW(Addr).
1827 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1828 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1829 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1830 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1831 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1832 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1833 (R_AARCH64_TLS_DTPMOD): This.
1834 (R_AARCH64_TLS_DTPREL64): Rename to ...
1835 (R_AARCH64_TLS_DTPREL): This.
1836 (R_AARCH64_TLS_TPREL64): Rename to ...
1837 (R_AARCH64_TLS_TPREL): This.
1838 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1839 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1840 R_AARCH64_TLS_TPREL64.
1841 (elf_machine_rela): Likewise.
1843 2014-11-21 Torvald Riegel <triegel@redhat.com>
1845 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1846 by setting it to 0. 64b atomics are not supported currently.
1848 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1851 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1852 search domain names.
1854 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1858 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1860 * posix/tst-getaddrinfo5.c: New.
1861 * posix/Makefile (tests): Add it.
1863 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1867 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1868 after parsing line but before break_if_match.
1869 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1870 if there is a protocol mismatch.
1872 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1874 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1875 because the potential race is on the user-supplied stream.
1877 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1879 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1880 string literal if not passed a buffer.
1881 * manual/job.texi (ctermid): Update reasoning, note deviation
1882 from posix, suggest mtasurace when not passed a buffer, for
1883 future non-preliminary safety notes.
1885 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1887 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1888 of not passing it a buffer.
1889 Reported by Peng Haitao.
1891 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1893 * manual/Makefile ($(objpfx)stamp-summary): Require
1894 check-safety.sh to pass.
1895 * manual/check-safety.sh: Wish for verification that every
1896 @deftypefn and @deftypefun is followed by a @safety remark.
1898 2014-11-20 Roland McGrath <roland@hack.frob.com>
1900 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1902 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1903 PTHREAD_CANCEL_ASYNCHRONOUS.
1904 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1907 * nptl/default-sched.h: New file.
1908 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1909 * nptl/pthread_create.c: Include it.
1910 (__pthread_create_2_1): Use collect_default_sched instead of making
1911 Linux syscalls here directly.
1913 2014-11-20 Torvald Riegel <triegel@redhat.com>
1915 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1916 __pthread_once): Use C11 atomics.
1918 2014-11-20 Torvald Riegel <triegel@redhat.com>
1920 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1922 2014-11-20 Torvald Riegel <triegel@redhat.com>
1924 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1925 atomic_thread_fence_acquire, atomic_thread_fence_release,
1926 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1927 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1928 atomic_compare_exchange_weak_relaxed,
1929 atomic_compare_exchange_weak_acquire,
1930 atomic_compare_exchange_weak_release,
1931 atomic_exchange_acquire, atomic_exchange_release,
1932 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1933 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1934 atomic_fetch_and_acquire,
1935 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1937 2014-11-20 Torvald Riegel <triegel@redhat.com>
1939 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1940 USE_ATOMIC_COMPILER_BUILTINS): Define.
1941 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1942 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1943 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1944 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1945 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1946 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1947 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1948 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1949 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1950 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1951 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1952 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1953 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1954 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1955 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1956 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1957 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1958 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1959 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1961 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1962 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1963 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1964 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1965 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1966 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1967 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1968 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1969 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1970 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1971 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1972 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1973 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1974 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1975 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1976 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1977 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1978 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1979 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1980 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1982 2014-11-19 Roland McGrath <roland@hack.frob.com>
1984 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1985 the sched_priority value here. It was already checked when the user
1986 called pthread_attr_setschedparam.
1988 * nptl/tst-bad-schedattr.c: New file.
1989 * nptl/Makefile (tests): Add it.
1991 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1992 Florian Weimer <fweimer@redhat.com>
1993 Joseph Myers <joseph@codesourcery.com>
1994 Adam Conrad <adconrad@0c3.net>
1995 Andreas Schwab <schwab@suse.de>
1996 Brooks <bmoses@google.com>
1999 * wordexp-test.c (__dso_handle): Add prototype.
2000 (__register_atfork): Likewise.
2001 (__app_register_atfork): New function.
2002 (registered_forks): New global.
2003 (register_fork): New function.
2004 (test_case): Add 3 new tests for WRDE_CMDSUB.
2005 (main): Call __app_register_atfork.
2006 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2007 fork count is non-zero fail the test.
2008 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2010 (parse_dollars): Remove check for WRDE_NOCMD.
2011 (parse_dquote): Likewise.
2013 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2015 * Makeconfig (built-modules): List non-library modules to be
2017 (module-cppflags): Include libc-modules.h for
2018 everything except shlib-versions.v.i.
2020 (before-compile): Add libc-modules.h.
2021 ($(common-objpfx)libc-modules.h,
2022 $(common-objpfx)libc-modules.stmp): New targets.
2023 (common-generated): Add libc-modules.h and libc-modules.stmp.
2024 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2025 * include/libc-symbols.h: Don't include libc-modules.h.
2026 * include/libc-modules.h: Remove file.
2027 * scripts/gen-libc-modules.awk: New script to generate
2029 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2030 Depend on libc-modules.stmp.
2032 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2034 * Makeconfig (in-module): Get value of libof set for the
2036 (CPPFLAGS): Use $(in-module).
2037 * Makerules: Don't suffix routine names for nonlib.
2038 * include/libc-modules.h: New file.
2039 * include/libc-symbols.h: Include libc-modules.h
2040 (IS_IN): New macro to replace IS_IN_* macros.
2041 * elf/Makefile: Set libof-* for each routine.
2042 * elf/rtld-Rules: Likewise.
2043 * extra-modules.mk: Likewise.
2044 * iconv/Makefile: Likewise.
2045 * iconvdata/Makefile: Likewise.
2046 * locale/Makefile: Likewise.
2047 * malloc/Makefile: Likewise.
2048 * nss/Makefile: Likewise.
2049 * sysdeps/gnu/Makefile: Likewise.
2050 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2051 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2052 * sysdeps/s390/s390-64/Makefile: Likewise.
2053 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2054 CPPFLAGS for nscd instead of nonlib.
2056 2014-11-18 Roland McGrath <roland@hack.frob.com>
2058 * nptl/createthread.c: New file.
2060 * nptl/createthread.c: Moved ...
2061 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2063 * nptl/createthread.c: Add proper top-line comment.
2064 (do_clone): Folded into ...
2065 (create_thread): ... here. Take new arguments STOPPED_START and
2066 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2067 increment __nptl_threads, do event-reporting logic, do
2068 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2069 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2070 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2071 just send SIGCANCEL.
2072 * nptl/pthread_create.c: Forward-declare create_thread before
2073 including createthread.c.
2074 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2075 declaration, and new macro START_THREAD_SELF to replace argument.
2076 Remove return statement.
2077 (report_thread_creation): New function.
2078 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2079 synchronization logic, and __nptl_nthreads increment here, around
2080 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2081 PD->parent_cancelhandling here, before create_thread. When
2082 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2083 __deallocate_stack, and ENOMEM translation here.
2085 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2088 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2089 (mptwo): Rename to __mptwo.
2090 (__inv): Use __mptwo instead of mptwo.
2091 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2092 (mptwo): Rename to __mptwo.
2093 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2094 of mpone and __mptwo instead of mptwo.
2095 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2098 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2099 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2100 of mpone and __mptwo instead of mptwo.
2101 (__mpranred): Use __mpone instead of mpone.
2102 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2104 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2105 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2106 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2107 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2108 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2109 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2110 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2111 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2112 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2113 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2114 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2115 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2116 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2117 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2118 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2119 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2120 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2121 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2122 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2124 2014-11-18 Tom de Vries <tom@codesoucery.com>
2126 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2127 replace BSD Handler xref with BSD Signal Handling.
2129 2014-11-17 Richard Henderson <rth@redhat.com>
2131 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2132 (_FP_PACK_RAW_2): Remove.
2133 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2134 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2135 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2136 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2137 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2138 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2139 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2140 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2141 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2142 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2143 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2144 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2145 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2146 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2147 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2148 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2150 2014-11-14 Roland McGrath <roland@hack.frob.com>
2152 * signal/signal.h [__USE_MISC]
2153 (struct sigvec): Remove type.
2154 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2155 (sigvec): Remove declaration.
2156 * sysdeps/posix/sigvec.c: Moved ...
2157 * signal/sigvec.c: ... here, replacing old file.
2158 (struct sigvec): New type, copied from old signal.h definition.
2159 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2160 (__sigvec): Convert definition to prototype.
2161 (sigvec): Replace weak_alias with compat_symbol.
2162 * signal/Versions (libc: GLIBC_2.21): New version set.
2163 * include/signal.h: Remove __sigvec declaration.
2164 * sysdeps/unix/bsd/sigvec.c: Remove file.
2165 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2166 * manual/signal.texi (BSD Handler): Remove subsection.
2167 Move siginterrupt up to ...
2168 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2169 (Blocking in BSD): Fold subsection into its parent.
2170 * NEWS: Mention sigvec removal.
2172 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2174 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2175 (DLA_FMS): Make definition conditional only on [__FMA4__].
2176 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2179 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2180 Make definition conditional only on [PROF].
2181 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2183 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2184 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2186 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2188 * include/signal.h (__sigpause): Move declaration above call to
2190 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2192 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2193 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2195 2014-11-14 David S. Miller <davem@davemloft.net>
2197 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2198 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2200 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2202 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2203 * configure: Regenerated.
2204 * manual/install.texi (Tools for Compilation): Document a
2205 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2206 compiler verified to work.
2207 * INSTALL: Regenerated.
2209 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2210 redeclare with asm name.
2211 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2212 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2213 including <string.h>.
2214 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2216 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2217 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2218 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2219 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2220 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2222 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2224 * stdlib/strtol.c (__strtol): Use prototype definition.
2227 * stdlib/strtol.c (SYM__): New macro.
2229 (__strtol): Likewise.
2230 (strtol): Rename to __strtol and define as weak alias of
2231 __strtol. Use libc_hidden_weak.
2233 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2235 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2236 Use numbered labels in inline assembly.
2238 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2240 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2241 Add setjmp LIBC_PROBE.
2242 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2244 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2245 Add longjmp, longjmp_target LIBC_PROBE.
2246 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2249 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2251 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2252 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2253 to get rid of unused variable warning.
2255 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2257 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2258 Check for unwind_backtrace == NULL only in SHARED case.
2259 (__backchain_backtrace): Compile only in SHARED case.
2260 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2262 (__backchain_backtrace): Declare as static.
2264 2014-11-12 Roland McGrath <roland@hack.frob.com>
2266 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2267 (__libc_multiple_threads_ptr): Variable moved ...
2268 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2270 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2272 * conform/GlibcConform.pm: New file.
2273 * conform/conformtest.pl: Use GlibcConform module.
2274 * conform/linknamespace.pl: New file.
2275 * conform/list-header-symbols.pl: Likewise.
2276 * conform/Makefile (linknamespace-symlists-base): New variable.
2277 (linknamespace-symlists-tests): Likewise.
2278 (linknamespace-header-base): Likewise.
2279 (linknamespace-header-tests): Likewise.
2280 (tests-special): Add new tests.
2281 ($(linknamespace-symlists-tests)): New rule.
2282 (linknamespace-libs): New variable.
2283 ($(objpfx)symlist-stdlibs): New rule.
2284 ($(linknamespace-header-tests)): Likewise.
2285 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2286 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2287 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2288 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2289 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2290 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2291 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2292 (test-xfail-ISO/math.h/linknamespace): Likewise.
2293 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2294 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2295 (test-xfail-ISO/time.h/linknamespace): Likewise.
2296 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2297 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2298 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2299 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2300 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2301 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2302 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2303 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2304 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2305 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2306 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2307 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2308 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2309 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2310 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2311 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2312 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2313 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2314 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2315 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2316 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2317 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2318 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2319 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2320 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2321 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2322 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2323 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2324 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2325 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2326 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2327 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2328 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2329 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2330 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2331 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2332 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2333 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2334 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2335 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2336 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2337 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2338 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2339 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2340 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2341 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2342 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2343 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2344 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2345 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2346 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2347 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2348 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2349 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2350 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2351 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2352 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2353 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2354 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2355 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2356 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2357 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2358 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2359 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2360 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2361 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2362 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2363 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2364 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2365 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2366 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2367 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2368 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2369 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2370 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2371 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2372 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2373 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2374 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2375 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2376 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2377 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2378 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2379 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2380 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2381 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2382 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2383 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2384 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2385 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2386 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2387 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2388 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2389 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2390 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2391 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2392 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2393 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2394 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2395 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2396 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2397 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2398 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2399 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2400 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2401 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2402 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2403 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2404 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2405 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2406 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2407 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2408 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2409 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2410 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2411 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2412 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2413 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2414 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2415 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2416 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2417 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2418 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2419 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2420 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2421 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2422 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2423 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2424 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2425 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2426 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2427 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2428 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2429 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2430 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2431 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2432 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2433 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2434 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2435 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2436 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2437 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2438 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2439 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2440 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2441 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2442 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2443 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2444 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2445 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2448 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2452 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2453 (memmem): Rename to __memmem and define as weak alias of
2454 __memmem. Use libc_hidden_weak.
2455 (__memmem): Use libc_hidden_def.
2456 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2457 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2461 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2462 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2463 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2464 and define as weak alias of __fgets_unlocked. Use
2466 (__fgets_unlocked): Use libc_hidden_def.
2467 * include/stdio.h (__fgets_unlocked): Declare. Use
2469 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2470 __fgets_unlocked instead of fgets_unlocked.
2471 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2472 (GET_NPROCS_CONF_PARSER): Likewise.
2473 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2474 (GET_NPROCS_CONF_PARSER): Likewise.
2477 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2478 weak alias of __wmemset. Use libc_hidden_weak.
2479 (__wmemset): Use libc_hidden_def.
2480 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2481 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2485 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2486 with asm name __mempcpy.
2487 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2490 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2491 and define as weak alias of __rawmemchr.
2492 (__rawmemchr): Do not define as strong alias of rawmemchr.
2495 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2497 (qsort): Call __qsort_r instead of qsort_r.
2498 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2499 (__qsort_r): Declare. Call libc_hidden_proto.
2500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2502 * nscd/gai.c (__qsort_r): Define to qsort_r.
2503 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2504 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2505 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2508 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2509 define as weak alias of __malloc_info.
2512 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2513 as weak alias of __rewinddir. Don't use libc_hidden_def.
2514 (__rewinddir): Use libc_hidden_def.
2515 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2516 as weak alias of __rewinddir. Don't use libc_hidden_def.
2517 (__rewinddir): Use libc_hidden_def.
2518 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2519 weak alias of __rewinddir. Don't use libc_hidden_def.
2520 (__rewinddir): Use libc_hidden_def.
2521 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2522 (__rewinddir): Use libc_hidden_proto.
2523 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2525 (__getcwd): Use __rewinddir instead of rewinddir.
2528 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2529 alias of __fileno. Use libc_hidden_weak.
2530 (__fileno): Use libc_hidden_def.
2531 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2532 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2534 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2536 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2537 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2539 (fread_unlocked): Don't use libc_hidden_ver.
2540 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2541 and define as weak alias of __fread_unlocked. Don't use
2543 (__fread_unlocked): Use libc_hidden_def.
2544 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2545 (ftello): Don't use libc_hidden_proto.
2546 (__ftello): Declare. Use libc_hidden_proto.
2547 (fread_unlocked): Don't use libc_hidden_proto.
2548 (__fread_unlocked): Declare. Use libc_hidden_proto.
2549 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2550 and __ftello instead of fileno, fread_unlocked and ftello.
2552 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2554 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2556 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2558 (_dl_start_user): Likewise.
2559 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2561 2014-11-12 Carlos O'Donell <carlos@redhat.com>
2562 Siddhesh Poyarekar <siddhesh@redhat.com>
2564 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2565 Move argv and envp down instead of moving argc up.
2566 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2568 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
2571 * test-skeleton.c (main): Return successful if one of
2572 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2573 * string/tst-strcoll-overflow.c: Define expected status.
2575 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2578 * locale/iso-639.def: Define Bhili and Tulu language codes.
2580 2014-11-11 Alan Hayward <alan.hayward@arm.com>
2582 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2584 2014-11-10 Renlin Li <Renlin.Li@arm.com>
2587 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2589 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2591 * configure.ac: Updated check of minimal required version to
2593 * manual/install.texi (Tools for Compilation): Updated version
2595 * configure: Regenerated.
2596 * INSTALL: Likewise.
2598 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2600 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2603 2014-11-07 Joseph Myers <joseph@codesourcery.com>
2605 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2606 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2607 (__waitpid): Don't define as alias. Use libc_hidden_def not
2609 (waitpid): Define as alias of __waitpid.
2610 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2612 (__waitpid): Don't define as alias. Use libc_hidden_def not
2614 (waitpid): Define as alias of __waitpid.
2615 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2616 __libc_waitpid alias.
2617 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2618 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2620 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2621 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2622 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2624 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2626 (__waitpid): Don't define as alias. Use libc_hidden_def not
2628 (waitpid): Define as alias of __waitpid.
2630 2014-11-06 Carlos O'Donell <carlos@redhat.com>
2632 * manual/llio.texi: Add comment that write safety has been
2635 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2636 (localplt-build-dso): Add elf/ld.so.
2637 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2638 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2641 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2646 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2647 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2648 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2649 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2650 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2651 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2652 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2653 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2654 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2656 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2658 2014-11-05 Joseph Myers <joseph@codesourcery.com>
2661 * include/libc-symbols.h (INTUSE): Remove macro.
2663 (INTVARDEF): Likewise.
2664 (_INTVARDEF): Likewise.
2665 (INTDEF2): Likewise.
2666 (INTVARDEF2): Likewise.
2667 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2668 rtld_hidden_def instead of INTVARDEF.
2669 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2670 (_dl_starting_up_internal): Remove declaration.
2671 (_dl_starting_up): Use rtld_hidden_proto.
2672 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2674 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2675 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2677 * elf/dl-writev.h (_dl_writev): Likewise.
2678 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2679 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2680 _dl_starting_up_internal.
2682 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2684 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2687 2014-11-05 Will Newton <will.newton@linaro.org>
2689 * benchtests/Makefile: (bench-malloc): Add malloc thread
2690 scalability benchmark.
2691 * benchtests/bench-malloc-threads.c: New file.
2693 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
2695 * sysdeps/aarch64/strchrnul.S: New file.
2697 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2699 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2701 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2703 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2705 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2707 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2709 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2712 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
2714 * catgets/test-gencat.c: Use test-skeleton.c.
2715 * catgets/tst-catgets.c: Likewise.
2716 * csu/tst-empty.c: Likewise.
2717 * elf/tst-audit2.c: Likewise.
2718 * elf/tst-global1.c: Likewise.
2719 * elf/tst-pathopt.c: Likewise.
2720 * elf/tst-piemod1.c: Likewise.
2721 * elf/tst-tls10.c: Likewise.
2722 * elf/tst-tls11.c: Likewise.
2723 * elf/tst-tls12.c: Likewise.
2724 * gnulib/tst-gcc.c: Likewise.
2725 * iconvdata/tst-e2big.c: Likewise.
2726 * iconvdata/tst-loading.c: Likewise.
2727 * iconv/tst-iconv1.c: Likewise.
2728 * iconv/tst-iconv2.c: Likewise.
2729 * inet/test-inet6_opt.c: Likewise.
2730 * inet/tst-gethnm.c: Likewise.
2731 * inet/tst-network.c: Likewise.
2732 * inet/tst-ntoa.c: Likewise.
2733 * intl/tst-codeset.c: Likewise.
2734 * intl/tst-gettext2.c: Likewise.
2735 * intl/tst-gettext3.c: Likewise.
2736 * intl/tst-ngettext.c: Likewise.
2737 * intl/tst-translit.c: Likewise.
2738 * io/test-stat.c: Likewise.
2739 * libio/test-fmemopen.c: Likewise.
2740 * libio/tst-freopen.c: Likewise.
2741 * libio/tst-sscanf.c: Likewise.
2742 * libio/tst-ungetwc1.c: Likewise.
2743 * libio/tst-ungetwc2.c: Likewise.
2744 * libio/tst-widetext.c: Likewise.
2745 * localedata/tst-ctype.c: Likewise.
2746 * localedata/tst-digits.c: Likewise.
2747 * localedata/tst-leaks.c: Likewise.
2748 * localedata/tst-mbswcs1.c: Likewise.
2749 * localedata/tst-mbswcs2.c: Likewise.
2750 * localedata/tst-mbswcs3.c: Likewise.
2751 * localedata/tst-mbswcs4.c: Likewise.
2752 * localedata/tst-mbswcs5.c: Likewise.
2753 * localedata/tst-setlocale.c: Likewise.
2754 * localedata/tst-trans.c: Likewise.
2755 * localedata/tst-wctype.c: Likewise.
2756 * localedata/tst-xlocale1.c: Likewise.
2757 * login/tst-grantpt.c: Likewise.
2758 * malloc/tst-calloc.c: Likewise.
2759 * malloc/tst-malloc.c: Likewise.
2760 * malloc/tst-mallocstate.c: Likewise.
2761 * malloc/tst-mcheck.c: Likewise.
2762 * malloc/tst-mtrace.c: Likewise.
2763 * malloc/tst-obstack.c: Likewise.
2764 * math/atest-exp2.c: Likewise.
2765 * math/atest-exp.c: Likewise.
2766 * math/atest-sincos.c: Likewise.
2767 * math/test-matherr.c: Likewise.
2768 * math/test-misc.c: Likewise.
2769 * math/test-powl.c: Likewise.
2770 * math/tst-definitions.c: Likewise.
2771 * misc/tst-dirname.c: Likewise.
2772 * misc/tst-efgcvt.c: Likewise.
2773 * misc/tst-fdset.c: Likewise.
2774 * misc/tst-hsearch.c: Likewise.
2775 * misc/tst-mntent2.c: Likewise.
2776 * nptl/tst-sem7.c: Likewise.
2777 * nptl/tst-sem8.c: Likewise.
2778 * nptl/tst-sem9.c: Likewise.
2779 * nss/test-netdb.c: Likewise.
2780 * posix/tst-fnmatch.c: Likewise.
2781 * posix/tst-getlogin.c: Likewise.
2782 * posix/tst-gnuglob.c: Likewise.
2783 * posix/tst-mmap.c: Likewise.
2784 * pwd/tst-getpw.c: Likewise.
2785 * resolv/tst-inet_ntop.c: Likewise.
2786 * rt/tst-timer.c: Likewise.
2787 * stdio-common/test-fseek.c: Likewise.
2788 * stdio-common/test-popen.c: Likewise.
2789 * stdio-common/test-vfprintf.c: Likewise.
2790 * stdio-common/tst-cookie.c: Likewise.
2791 * stdio-common/tst-fileno.c: Likewise.
2792 * stdio-common/tst-gets.c: Likewise.
2793 * stdio-common/tst-obprintf.c: Likewise.
2794 * stdio-common/tst-perror.c: Likewise.
2795 * stdio-common/tst-sprintf2.c: Likewise.
2796 * stdio-common/tst-sprintf3.c: Likewise.
2797 * stdio-common/tst-sprintf.c: Likewise.
2798 * stdio-common/tst-swprintf.c: Likewise.
2799 * stdio-common/tst-tmpnam.c: Likewise.
2800 * stdio-common/tst-unbputc.c: Likewise.
2801 * stdio-common/tst-wc-printf.c: Likewise.
2802 * stdlib/tst-environ.c: Likewise.
2803 * stdlib/tst-fmtmsg.c: Likewise.
2804 * stdlib/tst-limits.c: Likewise.
2805 * stdlib/tst-rand48-2.c: Likewise.
2806 * stdlib/tst-rand48.c: Likewise.
2807 * stdlib/tst-random2.c: Likewise.
2808 * stdlib/tst-random.c: Likewise.
2809 * stdlib/tst-strtol.c: Likewise.
2810 * stdlib/tst-strtoll.c: Likewise.
2811 * stdlib/tst-tls-atexit.c: Likewise.
2812 * stdlib/tst-xpg-basename.c: Likewise.
2813 * string/test-ffs.c: Likewise.
2814 * string/tst-bswap.c: Likewise.
2815 * string/tst-inlcall.c: Likewise.
2816 * string/tst-strtok.c: Likewise.
2817 * string/tst-strxfrm.c: Likewise.
2818 * sysdeps/x86_64/tst-audit10.c: Likewise.
2819 * sysdeps/x86_64/tst-audit3.c: Likewise.
2820 * sysdeps/x86_64/tst-audit4.c: Likewise.
2821 * sysdeps/x86_64/tst-audit5.c: Likewise.
2822 * time/tst-ftime_l.c: Likewise.
2823 * time/tst-getdate.c: Likewise.
2824 * time/tst-mktime3.c: Likewise.
2825 * time/tst-mktime.c: Likewise.
2826 * time/tst-posixtz.c: Likewise.
2827 * time/tst-strptime2.c: Likewise.
2828 * time/tst-strptime3.c: Likewise.
2829 * wcsmbs/tst-btowc.c: Likewise.
2830 * wcsmbs/tst-mbrtowc.c: Likewise.
2831 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2832 * wcsmbs/tst-wchar-h.c: Likewise.
2833 * wcsmbs/tst-wcpncpy.c: Likewise.
2834 * wcsmbs/tst-wcrtomb.c: Likewise.
2835 * wcsmbs/tst-wcsnlen.c: Likewise.
2836 * wcsmbs/tst-wcstof.c: Likewise.
2838 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2841 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2843 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2845 (_dl_mcount): Use rtld_hidden_proto.
2846 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2848 * elf/rtld.c (_rtld_global_ro): Likewise.
2851 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2852 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2853 of _dl_init_internal.
2854 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2855 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2856 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2857 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2858 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2859 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2860 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2861 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2862 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2863 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2864 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2865 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2866 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2867 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2868 * sysdeps/tile/dl-start.S (_start): Likewise.
2869 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2870 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2873 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2874 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2875 (rtld_progname): Make macro definition unconditional.
2876 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2878 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2879 (dl_main): Likewise.
2880 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2881 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2882 instead of _dl_argv_internal.
2883 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2884 __GI__dl_argv instead of INTUSE(_dl_argv).
2885 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2886 __GI__dl_argv instead of _dl_argv_internal.
2888 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2889 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2891 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2892 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2894 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2895 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2897 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2898 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2900 2014-11-04 Andreas Schwab <schwab@suse.de>
2902 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2904 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2906 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2907 mtvsrd instruction in binary form.
2909 2014-11-03 Andreas Schwab <schwab@suse.de>
2912 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2913 for less than MB_LEN_MAX use a local buffer of that size.
2914 * libio/tst-fputws.c: New file.
2915 * libio/Makefile (tests): Add tst-fputws.
2917 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2919 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2920 the size of the fpu_fr.fpu_dregs[] array.
2922 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2924 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2925 (__nanosleep): Do not define as alias.
2926 (nanosleep): Define as alias of __nanosleep.
2927 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2928 __libc_nanosleep name.
2930 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2932 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2933 install.texi in comment.
2935 2014-10-31 Torvald Riegel <triegel@redhat.com>
2937 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2938 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2939 ... add here and use lwsync or sync ...
2940 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2941 ... and add here using lwsync.
2943 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2945 * elf/dl-machine-reject-phdr.h: New file.
2946 * elf/dl-load.c: #include that.
2947 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2948 if that returned true.
2950 2014-10-31 Roland McGrath <roland@hack.frob.com>
2953 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2954 gen-as-const-headers chunk. Add a big scare comment after the last
2955 safe place to touch before-compile.
2957 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2959 * manual/install.texi (Tools for Compilation): Update autoconf
2960 version requirements.
2961 * INSTALL: Regenerated.
2963 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2964 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2965 (__libc_pselect): Likewise.
2968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2973 2014-10-31 Torvald Riegel <triegel@redhat.com>
2975 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2976 correct barrier instruction.
2977 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2979 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2982 2014-10-30 Roland McGrath <roland@hack.frob.com>
2984 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2985 after defining inlines. Instead, just use parens to defeat macro
2986 expansion of __isctype in its declaration.
2988 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2990 * include/sys/uio.h (__libc_readv): Remove declaration.
2991 (__libc_writev): Likewise.
2992 * misc/readv.c (__libc_readv): Rename to __readv.
2993 (__readv): Do not define as alias.
2994 (readv): Define as alias of __readv.
2995 * misc/writev.c (__libc_writev): Rename to __writev.
2996 (__writev): Do not define as alias.
2997 (writev): Define as alias of __writev.
2998 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2999 (__readv): Do not define as alias.
3000 (readv): Define unconditionally as alias of __readv.
3001 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3002 (__writev): Do not define as alias.
3003 (writev): Define unconditionally as alias of __writev.
3004 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3006 (writev): Do not define __libc_writev name.
3008 2014-10-30 Roland McGrath <roland@hack.frob.com>
3010 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3011 (convert_charseq): New function, broken out of ...
3012 (use_from_charmap): ... here. Call it.
3013 (use_to_charmap): Use convert_charseq and free instead of duplicating
3014 its code with a variable-length stack struct.
3016 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3018 * include/fcntl.h (__libc_creat): Remove declaration.
3019 * io/creat.c (__libc_creat): Rename to creat.
3020 (creat): Do not define as alias.
3021 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3022 of creat instead of __libc_creat.
3023 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3025 (creat): Do not define as alias.
3026 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3028 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3030 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3033 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3035 * manual/llio.texi: Add comments discussing why write() may be
3036 considered MT-unsafe on Linux.
3038 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3040 * dl-load.c (local_strdup): Remove.
3041 (expand_dynamic_string_token): Use __strdup.
3042 (decompose_rpath): Likewise.
3043 (_dl_map_object): Likewise.
3045 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3048 * sysdeps/generic/unwind-dw2-fde.c
3049 (__register_frame_info_bases_internal): Do not declare.
3050 (__register_frame_info_table_bases_internal): Likewise.
3051 (__deregister_frame_info_bases_internal): Likewise.
3052 (__register_frame_info_bases): Declare and use hidden_proto before
3053 definition. Use hidden_def instead of INTDEF.
3054 (__register_frame_info_table_bases): Likewise.
3055 (__deregister_frame_info_bases): Likewise.
3056 (__register_frame_info): Do not use INTUSE.
3057 (__register_frame): Likewise.
3058 (__register_frame_info_table): Likewise.
3059 (__register_frame_table): Likewise.
3060 (__deregister_frame_info): Likewise.
3061 (__deregister_frame): Likewise.
3063 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3065 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3066 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3068 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3070 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3073 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3076 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3077 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3078 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3079 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3080 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3081 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3082 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3083 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3084 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3085 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3088 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3090 (setfsuid): Likewise.
3091 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3092 (setfsuid): Likewise.
3093 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3094 (setfsuid): Likewise.
3095 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3097 (setfsuid): Likewise.
3098 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3099 (setfsuid): Likewise.
3100 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3102 (setfsuid): Likewise.
3104 2014-10-27 Andreas Schwab <schwab@suse.de>
3107 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3108 check for Slow_SSE4_2 feature bit.
3109 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3110 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3111 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3112 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3114 2014-10-24 Roland McGrath <roland@hack.frob.com>
3116 * configure.ac: Validate compiler version with a empirical test of
3117 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3119 * configure: Regenerated.
3121 * inet/htons.c (htons): Prototypify.
3122 * inet/htonl.c (htonl): Likewise.
3124 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3126 * string/strncat.c (strncat): Improve performance by using strlen.
3128 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3130 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3132 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3134 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3135 Call libc_fetestexcept_aarch64.
3137 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3139 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3140 Call libc_feholdexcept_aarch64.
3142 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3144 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3145 Call get_rounding_mode.
3147 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3149 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3152 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3154 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3157 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3160 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3161 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3162 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3163 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3164 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3165 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3166 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3167 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3168 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3169 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3170 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3171 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3172 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3173 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3174 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3175 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3176 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3177 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3178 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3179 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3180 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3181 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3182 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3183 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3184 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3185 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3186 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3187 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3188 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3189 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3190 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3191 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3192 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3193 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3194 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3195 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3196 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3197 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3198 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3199 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3200 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3202 (geteuid): Likewise.
3205 (getresgid): Likewise.
3206 (getresuid): Likewise.
3207 (getgroups): Likewise.
3208 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3209 (geteuid): Likewise.
3212 (getresgid): Likewise.
3213 (getresuid): Likewise.
3214 (getgroups): Likewise.
3215 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3216 (geteuid): Likewise.
3219 (getresgid): Likewise.
3220 (getresuid): Likewise.
3221 (getgroups): Likewise.
3222 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3224 (geteuid): Likewise.
3227 (getresgid): Likewise.
3228 (getresuid): Likewise.
3229 (getgroups): Likewise.
3230 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3231 (geteuid): Likewise.
3234 (getresgid): Likewise.
3235 (getresuid): Likewise.
3236 (getgroups): Likewise.
3237 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3239 (geteuid): Likewise.
3242 (getgroups): Likewise.
3245 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3246 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3247 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3248 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3249 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3250 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3251 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3252 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3253 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3254 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3255 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3257 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3259 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3262 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3266 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3274 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3276 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3279 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3281 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3284 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3286 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3287 Remove unused include.
3289 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3291 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3292 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3293 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3294 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3296 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3297 Helge Deller <deller@gmx.de>
3300 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3301 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3302 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3304 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3307 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3308 Remove macro definition.
3309 (__ashrdi3_v_glibc20): Likewise.
3310 (__lshrdi3_v_glibc20): Likewise.
3311 (__cmpdi2_v_glibc20): Likewise.
3312 (__ucmpdi2_v_glibc20): Likewise.
3313 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3314 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3315 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3316 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3317 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3318 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3320 2014-10-22 Roland McGrath <roland@hack.frob.com>
3322 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3323 old GNU extension [0] syntax.
3324 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3325 alloca rather than an array member with variable length.
3326 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3327 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3328 (parse_opt): ... here. Likewise use alloca there.
3329 Validate the -i argument before checking for rootness.
3330 (send_shutdown): New function, broken out of ...
3331 (parse_opt): ... here.
3333 2014-10-22 Roland McGrath <roland@hack.frob.com>
3335 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3336 macro to get at the _rt_local_ro field.
3337 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3338 ([PIC] case) or _dl_hwcap ([!PIC] case).
3339 * sysdeps/arm/setjmp.S: Likewise.
3341 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3342 * sysdeps/arm/configure.ac: New check to define it.
3343 * sysdeps/arm/configure: Regenerated.
3344 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3345 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3346 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3347 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3348 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3349 Use move/movt pair instead of a load.
3350 (LDST_GLOBAL): Macro removed.
3351 (LDR_GLOBAL): New macro replaces it.
3352 (LDR_HIDDEN): New macro.
3353 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3354 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3356 * setjmp/tst-setjmp-static.c: New file.
3357 * setjmp/Makefile (tests): Add it.
3358 (tests-static): New variable.
3360 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3363 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3365 2014-10-21 Joseph Myers <joseph@codesourcery.com>
3368 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3370 2014-10-21 Roland McGrath <roland@hack.frob.com>
3372 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3374 2014-10-20 Roland McGrath <roland@hack.frob.com>
3376 * io/fts.c (dirent_not_directory): New function.
3377 (fts_build): Call it.
3379 2014-10-20 Roland McGrath <roland@hack.frob.com>
3381 * nptl/version.c (__nptl_main): Use normal __write rather than
3383 (banner): Update copyright years.
3385 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3387 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3388 * nptl/pthread_cond_timedwait.c: Likewise.
3389 * nptl/pthread_mutex_timedlock.c: Likewise.
3390 * nptl/sem_timedwait.c: Likewise.
3392 * sysdeps/nptl/bits/libc-lock.h
3393 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3394 (__libc_lock_init_recursive): Return void, not 0.
3395 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3396 (__libc_rwlock_init): Likewise.
3397 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3399 2014-10-20 Torvald Riegel <triegel@redhat.com>
3402 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3403 (__pthread_once_slow): ... here.
3404 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3405 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3407 2014-10-20 Torvald Riegel <triegel@redhat.com>
3410 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3411 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3412 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3413 * nptl/pthread_once.c (__pthread_once): Likewise.
3416 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3419 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3421 (writev): Use __libc_writev as strong name.
3422 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3423 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3425 2014-10-17 Roland McGrath <roland@hack.frob.com>
3427 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3429 * sysdeps/i386/nptl/tls.h
3430 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3431 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3433 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3434 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3435 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3436 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3437 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3438 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3440 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3441 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3443 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3445 (__pthread_mutex_init): ... here. Call it.
3446 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3447 Conditionalize PI cases on [__NR_futex].
3448 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3449 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3450 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3452 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3453 conditional on [SIGSETXID].
3454 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3455 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3456 is defined. Likewise for SIGSETXID.
3457 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3458 Conditionalize definitions on [SIGSETXID].
3459 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3460 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3461 unblocking on [SIGCANCEL].
3463 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3464 [__NR_set_robust_list].
3466 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3469 (do_compare): Likewise.
3471 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3474 * string/strcoll_l.c: Don't include stdio.h.
3475 (coll_seq): Remove members idxarr and rulearr.
3476 (get_next_seq_cached): Remove function.
3477 (get_next_seq): Likewise.
3478 (get_next_seq_nocache): Rename to get_next_seq.
3479 (do_compare): Remove function.
3480 (do_compare_nocache): Rename to do_compare.
3481 (STRCOLL): Remove weight and rules cache.
3483 2014-10-16 Roland McGrath <roland@hack.frob.com>
3485 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3486 * sysdeps/arm/sfp-machine.h: ... to here.
3487 * sysdeps/arm/Implies: Remove arm/soft-fp.
3489 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3491 * conform/data/sys/utsname.h-data (*_t): Allow.
3492 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3493 [POSIX] (WEXITED): Do not expect constant.
3494 [POSIX] (WSTOPPED): Likewise.
3495 [POSIX] (WNOHANG): Likewise.
3496 [POSIX] (WNOWAIT): Likewise.
3497 [POSIX] (siginfo_t): Do not expect type or elements.
3498 [POSIX] (pid_t): Do not expect type.
3499 [POSIX] (signal.h): Do not allow header.
3500 [POSIX] (sys/resource.h): Likewise.
3501 [POSIX] (si_*): Do not allow pattern.
3502 [POSIX] (W*): Likewise.
3503 [POSIX] (P_*): Likewise.
3504 [POSIX] (BUS_*): Likewise.
3505 [POSIX] (CLD_*): Likewise.
3506 [POSIX] (FPE_*): Likewise.
3507 [POSIX] (ILL_*): Likewise.
3508 [POSIX] (POLL_*): Likewise.
3509 [POSIX] (SEGV_*): Likewise.
3510 [POSIX] (SI_*): Likewise.
3511 [POSIX] (TRAP_*): Likewise.
3512 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3515 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3518 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3519 infinite loop when __recvmsg returns 0.
3521 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3523 * CANCEL-FCT-WAIVE: Remove file.
3524 * CANCEL-FILE-WAIVE: Likewise.
3527 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3528 instead of INTVARDEF.
3529 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3530 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3531 rtld_hidden_data_def instead of INTVARDEF.
3532 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3533 * elf/dl-deps.c (expand_dst): Likewise.
3534 * elf/dl-load.c (_dl_dst_count): Likewise.
3535 (_dl_dst_substitute): Likewise.
3536 (decompose_rpath): Likewise.
3537 (_dl_init_paths): Likewise.
3538 (open_path): Likewise.
3539 (_dl_map_object): Likewise.
3540 * elf/rtld.c (dl_main): Likewise.
3541 (process_dl_audit): Likewise.
3542 (process_envvars): Likewise.
3543 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3545 (__libc_enable_secure): Use rtld_hidden_proto.
3547 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3550 (add_path): New function broken out of _dl_rtld_di_serinfo.
3551 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3553 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3555 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3556 parentheses around macro arguments.
3557 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3558 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3559 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3560 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3562 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3563 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3564 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3566 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3567 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3568 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3569 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3570 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3571 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3572 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3573 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3574 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3575 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3576 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3577 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3578 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3579 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3580 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3582 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3584 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3585 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3586 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3587 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3588 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3589 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3590 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3591 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3592 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3594 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3595 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3596 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3597 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3598 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3599 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3600 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3601 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3602 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3603 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3604 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3605 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3606 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3607 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3608 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3609 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3610 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3611 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3612 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3613 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3614 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3615 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3616 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3617 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3618 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3619 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3620 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3621 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3622 (_FP_FRAC_SRS_1): Likewise.
3623 (_FP_FRAC_CLZ_1): Likewise.
3624 (_FP_MUL_MEAT_1_imm): Likewise.
3625 (_FP_MUL_MEAT_1_wide): Likewise.
3626 (_FP_MUL_MEAT_1_hard): Likewise.
3627 (_FP_SQRT_MEAT_1): Likewise.
3628 (_FP_FRAC_ASSEMBLE_1): Likewise.
3629 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3630 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3631 (__FP_CLZ_2): Likewise.
3632 (_FP_MUL_MEAT_2_wide): Likewise.
3633 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3634 (_FP_MUL_MEAT_2_gmp): Likewise.
3635 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3636 (_FP_SQRT_MEAT_2): Likewise.
3637 (_FP_FRAC_ASSEMBLE_2): Likewise.
3638 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3639 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3640 (_FP_FRAC_CLZ_4): Likewise.
3641 (_FP_MUL_MEAT_4_wide): Likewise.
3642 (_FP_MUL_MEAT_4_gmp): Likewise.
3643 (_FP_SQRT_MEAT_4): Likewise.
3644 (_FP_FRAC_ASSEMBLE_4): Likewise.
3645 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3646 * soft-fp/op-common.h (_FP_CMP): Likewise.
3647 (_FP_CMP_EQ): Likewise.
3648 (_FP_CMP_UNORD): Likewise.
3649 (_FP_TO_INT): Likewise.
3650 (_FP_FROM_INT): Likewise.
3651 [!__FP_CLZ] (__FP_CLZ): Likewise.
3652 (_FP_DIV_HELP_imm): Likewise.
3653 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3655 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3656 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3657 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3660 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3661 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3664 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3665 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3666 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3667 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3668 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3669 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3670 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3671 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3672 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3673 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3674 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3677 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3678 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3679 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3680 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3681 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3682 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3683 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3684 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3685 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3686 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3687 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3688 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3689 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3690 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3691 (FP_UNPACK_RAW_SP): Likewise.
3692 (FP_PACK_RAW_S): Likewise.
3693 (FP_PACK_RAW_SP): Likewise.
3694 (FP_UNPACK_S): Likewise.
3695 (FP_UNPACK_SP): Likewise.
3696 (FP_UNPACK_SEMIRAW_S): Likewise.
3697 (FP_UNPACK_SEMIRAW_SP): Likewise.
3698 (FP_PACK_S): Likewise.
3699 (FP_PACK_SP): Likewise.
3700 (FP_PACK_SEMIRAW_S): Likewise.
3701 (FP_PACK_SEMIRAW_SP): Likewise.
3702 (_FP_SQRT_MEAT_S): Likewise.
3703 (FP_CMP_S): Likewise.
3704 (FP_CMP_EQ_S): Likewise.
3705 (FP_CMP_UNORD_S): Likewise.
3706 (FP_TO_INT_S): Likewise.
3707 (FP_FROM_INT_S): Likewise.
3709 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3711 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3712 (FP_EX_INVALID_IMZ): Likewise.
3713 (FP_EX_INVALID_IMZ_FMA): Likewise.
3714 (FP_EX_INVALID_ISI): Likewise.
3715 (FP_EX_INVALID_ZDZ): Likewise.
3716 (FP_EX_INVALID_IDI): Likewise.
3717 (FP_EX_INVALID_SQRT): Likewise.
3718 (FP_EX_INVALID_CVI): Likewise.
3719 (FP_EX_INVALID_VC): Likewise.
3720 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3721 "invalid" exceptions.
3722 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3723 (_FP_ADD_INTERNAL): Likewise.
3724 (_FP_MUL): Likewise.
3725 (_FP_FMA): Likewise.
3726 (_FP_DIV): Likewise.
3727 (_FP_CMP_CHECK_NAN): Likewise.
3728 (_FP_SQRT): Likewise.
3729 (_FP_TO_INT): Likewise.
3730 (FP_EXTEND): Likewise.
3732 2014-10-09 Allan McRae <allan@archlinux.org>
3734 * po/fr.po: Update French translation from translation project.
3736 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3739 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3741 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3742 (__cxa_atexit): Use libc_hidden_proto.
3743 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3746 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3748 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3749 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3750 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3751 [!_ISOMAC] (__iswctype_internal): Likewise.
3752 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3753 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3755 (fcntl): Remove __fcntl_internal alias.
3756 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3757 __connect_internal alias.
3758 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3761 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3762 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3764 (_FP_CHECK_FLUSH_ZERO): New macro.
3765 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3766 (_FP_CMP): Likewise.
3767 (_FP_CMP_EQ): Likewise.
3768 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3770 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3771 (FP_TRUNC): Likewise.
3773 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3774 treated as invalid conversion, not as normal exponent.
3776 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3777 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3778 (_FP_CMP_EQ): Likewise.
3779 (_FP_CMP_UNORD): Likewise.
3780 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3781 (FP_CMP_EQ_D): Likewise.
3782 (FP_CMP_UNORD_D): Likewise.
3783 * soft-fp/extended.h (FP_CMP_E): Likewise.
3784 (FP_CMP_EQ_E): Likewise.
3785 (FP_CMP_UNORD_E): Likewise.
3786 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3787 (FP_CMP_EQ_Q): Likewise.
3788 (FP_CMP_UNORD_Q): Likewise.
3789 * soft-fp/single.h (FP_CMP_S): Likewise.
3790 (FP_CMP_EQ_S): Likewise.
3791 (FP_CMP_UNORD_S): Likewise.
3792 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3793 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3794 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3795 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3796 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3797 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3798 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3799 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3800 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3801 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3802 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3803 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3804 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3806 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3808 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3809 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3811 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3813 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3814 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3815 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3816 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3818 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3820 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3821 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3823 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3825 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3826 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3827 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3828 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3831 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3832 a subnormal result, set the underflow exception if trapping on
3833 underflow is enabled.
3834 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3835 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3836 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3838 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3839 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3840 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3841 * soft-fp/extendxftf2.c (__extendxftf2): Use
3842 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3844 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3845 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3846 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3847 FP_HANDLE_EXCEPTIONS.
3848 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3849 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3850 FP_HANDLE_EXCEPTIONS.
3851 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3852 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3853 FP_HANDLE_EXCEPTIONS.
3854 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3855 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3856 FP_HANDLE_EXCEPTIONS.
3858 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3861 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3862 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3864 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3865 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3867 (__adjtimex): Define using libc_hidden_ver.
3868 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3870 (ntp_gettime): Call __adjtimex directly.
3871 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3873 (ntp_gettimex): Call __adjtimex directly.
3874 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3875 __adjtimex_internal alias.
3877 2014-10-08 Roland McGrath <roland@hack.frob.com>
3880 * nscd/nscd.c (more_help): Rewrite list of tables collection
3881 using xstrdup and asprintf.
3883 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3885 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3886 Roland McGrath <roland@hack.frob.com>
3888 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3889 (do_lookup_unique): ... local function 'enter' here; update callers.
3891 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3894 compat_symbol calls on [SHARED].
3895 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3896 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3898 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3899 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3900 (oldsetrlimit): Remove.
3901 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3903 (lchown): New syscall entry.
3904 (oldsetrlimit): Remove.
3905 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3906 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3907 (oldsetrlimit): Remove.
3908 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3911 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3912 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3913 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3914 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3915 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3916 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3918 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3923 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3925 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3926 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3927 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3928 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3929 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3931 (__old_sem_post): Likewise.
3933 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3935 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3936 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3937 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3938 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3939 Use INLINE_VSYSCALL macro.
3940 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3941 __vdso_clock_gettime.
3942 * sysdeps/unix/sysv/linux/tile/init-first.c
3943 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3944 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3945 __vdso_clock_gettime.
3947 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3948 to set up frame more cleanly.
3950 * sysdeps/tile/memcmp.c: New file.
3952 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3954 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3955 * sysdeps/tile/tilegx/strcasestr.c: New file.
3956 * sysdeps/tile/tilegx/strnlen.c: New file.
3957 * sysdeps/tile/tilegx/strstr.c: New file.
3959 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3961 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3963 * nptl/tst-setuid3.c: Write errors to stdout.
3965 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3968 (preload): New functions broken out of _dl_map_object_deps.
3969 (_dl_map_object_deps): Remove a nested function. Update call sites.
3971 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3974 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3975 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3977 2014-10-01 Steve Ellcey <sellcey@mips.com>
3979 * sysdeps/mips/strcmp.S: New.
3981 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3984 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3986 (mkdirat): Likewise.
3987 (readlinkat): Likewise.
3988 (renameat): Likewise.
3989 (symlinkat): Likewise.
3990 (unlinkat): Likewise.
3991 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3992 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3993 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3994 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3995 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3996 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3997 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3999 2014-09-30 Will Newton <will.newton@linaro.org>
4001 * math/math.h: Define long double math functions if
4002 _LIBC_TEST is defined.
4003 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4005 * localedata/Makefile: Move assignment to tests-special
4006 into an ifdef testing run-built-tests.
4007 * timezone/Makefile: Likewise.
4009 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4011 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4012 with $(BASH) not $(SHELL).
4014 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4015 Matthew LeGendre <legendre1@llnl.gov>
4018 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4021 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4023 * stdio-common/printf_fp.c
4024 (hack_digit): New function, broken out of ...
4025 (__printf_fp): ... local function here. Update call sites.
4026 hack_digit now takes an additional parameter that is a pointer
4027 to a struct of the referenced locals. Those locals moved inside
4028 the struct and references updated.
4030 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4032 * aclocal.m4: Require autoconf 2.69.
4033 * configure: Regenerated.
4034 * sysdeps/aarch64/configure: Likewise.
4035 * sysdeps/alpha/configure: Likewise.
4036 * sysdeps/arm/armv7/configure: Likewise.
4037 * sysdeps/arm/configure: Likewise.
4038 * sysdeps/ia64/configure: Likewise.
4039 * sysdeps/mach/configure: Likewise.
4040 * sysdeps/mips/configure: Likewise.
4041 * sysdeps/s390/configure: Likewise.
4042 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4045 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4047 * sysdeps/ia64/configure.ac: Likewise.
4049 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4052 specify symbol version for ld.so. Do not include entry for
4054 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4055 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4056 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4059 * Makeconfig [$(build-shared) = yes]
4060 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4062 [$(build-shared) = yes && $(soversions.mk-done) = t]
4063 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4064 [$(build-shared) = yes && $(soversions.mk-done) = t]
4065 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4067 [$(build-shared) = yes && $(soversions.mk-done) = t]
4068 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4070 [$(build-shared) = yes && $(soversions.mk-done) = t]
4071 (common-generated): Don't append gnu/lib-names.h and
4072 gnu/lib-names.stmp here.
4073 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4074 (lib-names-h-abi): New variable.
4075 [$(build-shared) = yes && $(soversions.mk-done) = t]
4076 (lib-names-stmp-abi): Likewise.
4077 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4078 abi-variants] (before-compile): Append
4079 $(common-objpfx)$(lib-names-h-abi).
4080 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4081 abi-variants] (common-generated): Append gnu/lib-names.h.
4082 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4083 abi-variants] (install-others-nosubdir): Depend on
4084 $(inst_includedir)/$(lib-names-h-abi).
4085 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4086 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4087 [$(build-shared) = yes && $(soversions.mk-done) = t]
4088 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4089 [$(build-shared) = yes && $(soversions.mk-done) = t]
4090 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4091 [$(build-shared) = yes && $(soversions.mk-done) = t]
4092 (common-generated): Append $(lib-names-h-abi) and
4093 $(lib-names-stmp-abi).
4094 * scripts/lib-names.awk: Do not handle multi being set.
4095 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4097 (abi-lp64_be-ld-soname): Likewise.
4098 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4100 (abi-hard-ld-soname): Likewise.
4101 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4102 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4104 (abi-o32_hard-ld-soname): Likewise.
4105 (abi-o32_soft_2008-ld-soname): Likewise.
4106 (abi-o32_hard_2008-ld-soname): Likewise.
4107 (abi-n32_soft-ld-soname): Likewise.
4108 (abi-n32_hard-ld-soname): Likewise.
4109 (abi-n32_soft_2008-ld-soname): Likewise.
4110 (abi-n32_hard_2008-ld-soname): Likewise.
4111 (abi-n64_soft-ld-soname): Likewise.
4112 (abi-n64_hard-ld-soname): Likewise.
4113 (abi-n64_soft_2008-ld-soname): Likewise.
4114 (abi-n64_hard_2008-ld-soname): Likewise.
4115 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4117 (abi-64-v2-ld-soname): Likewise.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4120 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4122 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4124 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4126 (abi-64-ld-soname): Likewise.
4127 (abi-x32-ld-soname): Likewise.
4128 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4130 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4132 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4135 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4136 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4137 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4139 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4140 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4141 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4142 syscall entry for GLIBC_2.2 symbol version.
4143 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4146 (setrlimit): Likewise.
4147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4150 2014-09-23 Will Newton <will.newton@linaro.org>
4152 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4153 _LINUX_ARM_SYSDEP_H include guard too.
4154 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4157 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4159 * sysdeps/unix/sysv/linux/eventfd.c:
4160 Make first argument unsigned.
4161 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4162 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4164 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4166 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4167 * socket/sys/socket.h: Likewise
4168 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4170 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4172 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4174 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4176 * time/tst-ftime.c: New test.
4177 * time/Makefile (tests): Add tst-ftime.
4179 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4181 * soft-fp/extended.h: Fix comment formatting.
4182 * soft-fp/op-1.h: Likewise.
4183 * soft-fp/op-2.h: Likewise.
4184 * soft-fp/op-4.h: Likewise.
4185 * soft-fp/op-8.h: Likewise.
4186 * soft-fp/op-common.h: Likewise.
4187 * soft-fp/soft-fp.h: Likewise.
4189 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4191 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4194 * Makeconfig (soversions-default-setname): Remove variable.
4195 ($(common-objpfx)soversions.i): Don't pass default_setname to
4197 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4198 oldest_abi to abi-versions.awk.
4199 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4200 * config.make.in (oldest-abi): Remove variable.
4201 * configure.ac (--enable-oldest-abi): Remove configure option.
4202 * configure: Regenerated.
4203 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4205 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4206 * scripts/soversions.awk: Do not handle default_setname variable.
4207 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4209 * sysdeps/mach/hurd/configure: Regenerated.
4210 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4212 * sysdeps/unix/sysv/linux/configure: Regenerated.
4214 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4216 * elf/Makefile (CFLAGS-interp.c): Remove.
4217 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4219 * elf/interp.c: Include generated runtime-linker.h
4221 * Makerules (lib%.so): Don't include $(+interp) in
4223 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4224 * dlfcn/eval.c: Remove file.
4226 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4230 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4234 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4236 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4237 Jakub Jelinek <jakub@redhat.com>
4240 * libio/stdio.h: Check definition of __fortify_function
4241 instead of __extern_always_inline to include bits/stdio2.h.
4242 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4243 check if __extern_always_inline is defined.
4244 [__USE_MISC || __USE_XOPEN]: Likewise.
4245 [__USE_ISOC99] Likewise.
4246 * misc/sys/cdefs.h (__fortify_function): Define only if
4247 __extern_always_inline is defined.
4248 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4249 __extern_always_inline and __extern_inline only for g++-4.3
4250 and newer or a compatible gcc.
4252 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4255 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4256 last change to handle zero prefix length.
4258 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4260 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4263 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4266 2014-09-13 Allan McRae <allan@archlinux.org>
4268 * po/ru.po: Update Russian translation from translation project.
4270 2014-09-12 Roland McGrath <roland@hack.frob.com>
4272 * locale/programs/locale.c (show_locale_vars): Inline local function
4273 into its sole call site. Clean up some style nits.
4274 (print_item): New function, broken out of ...
4275 (show_info): ... local function here. Clean up style nits.
4277 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4279 (set_class_defaults): ... local function set_default here.
4280 Define set_default as a macro locally to pass constant parameters.
4281 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4282 rather than a shared local.
4284 * stdlib/rpmatch.c (try): New function, broken out of ...
4285 (rpmatch): ... local function here. Also, prototypify definition.
4287 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4289 * scripts/soversions.awk: Do not handle configuration names.
4290 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4291 vendor and os variables to soversions.awk.
4292 * configure.ac: Do not modify gnu-* host_os.
4293 * configure: Regenerated
4294 * shlib-versions: Remove first column with configuration names.
4295 * nptl/shlib-versions: Likewise.
4296 * nptl_db/shlib-versions: Likewise.
4297 * sysdeps/hppa/shlib-versions: Likewise.
4298 * sysdeps/m68k/shlib-versions: Likewise.
4299 * sysdeps/mach/hurd/shlib-versions: Likewise.
4300 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4301 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4302 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4303 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4304 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4305 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4306 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4307 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4310 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4311 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4312 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4313 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4314 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4315 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4316 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4317 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4320 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4323 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4325 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4327 * shlib-versions: Remove OS-specific entries. Moved to files in
4329 * sysdeps/mach/hurd/shlib-versions: New file.
4330 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4332 * nptl/shlib-versions: Remove architecture-specific entries.
4333 Moved to files in sysdeps.
4334 * shlib-versions: Likewise.
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4337 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4338 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4340 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4342 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4343 (UDP_NO_CHECK6_RX): Likewise.
4345 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4347 * sysdeps/posix/sysconf.c (__sysconf): Spell
4348 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4350 2014-08-12 Florian Weimer <fweimer@redhat.com>
4352 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4354 * iconv/Versions (__gconv_transliterate): Export for use from
4356 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4357 (struct __gconv_trans_data, __gconv_trans_fct,
4358 __gconv_trans_context_fct, __gconv_trans_query_fct,
4359 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4361 (struct __gconv_step_data): Remove __trans member.
4362 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4363 longer hidden. Remove unused trans_data argument.
4364 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4365 (__gconv_translit_find): Remove declaration.
4366 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4368 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4369 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4370 trans_data argument. Add hidden definition.
4371 (__gconv_translit_find): Remove.
4372 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4373 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4374 * iconv/skeleton.c: Remove transliteration initialization.
4375 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4376 __gconv_step_data initialization.
4377 * libio/iofwide.c (__libio_translit_): Remove.
4378 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4379 * wcsmbs/btowc.c (__btowc): Likewise.
4380 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4381 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4382 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4383 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4384 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4385 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4386 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4387 * wcsmbs/wctob.c (wctob): Likewise.
4389 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4392 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4393 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4395 * sysdeps/x86/Makefile: Adjust.
4397 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4398 Roland McGrath <roland@hack.frob.com>
4400 * locale/weight.h: Add include guard.
4401 (findidx): Make static rather than auto; take new parameters
4402 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4403 * locale/weightwc.h: Likewise.
4404 * posix/fnmatch_loop.c
4405 (FCT): Change type of EXTRA from int32_t to wint_t.
4406 Don't include either header inside the function.
4407 Call FINDIDX rather than findidx, and pass new arguments.
4408 #undef FINDIDX at the end of the file.
4409 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4410 FINDIDX before including fnmatch_loop.c for the non-wide version.
4411 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4412 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4413 for the wide version.
4414 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4415 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4416 Pass new arguments to findidx.
4417 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4418 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4419 Don't #include it inside the function. Pass new arguments to findidx.
4420 * posix/regex_internal.h
4421 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4422 (re_string_elem_size_at): Don't #include it inside the function.
4423 Pass new arguments to findidx.
4424 * string/strcoll_l.c: #include WEIGHT_H at top level.
4425 (get_next_seq): Don't #include it inside the function.
4426 Pass new arguments to findidx.
4427 (get_next_seq_nocache): Likewise.
4428 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4429 (STRXFRM): Don't #include it inside the function.
4430 Pass new arguments to findidx.
4432 2014-09-11 Florian Weimer <fweimer@redhat.com>
4435 * malloc/malloc.c (unlink): Turn asserts into a call to
4438 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4441 * libio/wfileops (do_ftell_wide): Free OUT.
4443 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4445 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4447 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4450 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4451 group if the current group is empty.
4453 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4455 * benchtests/bench-memset.c (test_main): Add more test from size
4456 from 32 to 512 bytes.
4457 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4458 Add POWER8 memset object.
4459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4460 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4461 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4463 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4465 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4466 multiarch POWER8 memset optimization.
4467 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4468 POWER8 memset optimization.
4470 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4471 Remove bzero multiarch objects.
4472 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4473 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4474 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4475 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4477 [__bzero]: Redefine to specific name.
4478 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4479 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4480 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4482 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4483 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4485 2014-09-10 Florian Weimer <fweimer@redhat.com>
4487 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4488 warnings into errors.
4490 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4491 __cxa_thread_atexit_impl prototype.
4493 2014-09-09 Steve Ellcey <sellcey@mips.com>
4495 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4496 Fix capitalization of error message.
4498 2014-09-09 Steve Ellcey <sellcey@mips.com>
4500 * sysdeps/mips/preconfigure: Modify ABI tests.
4502 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4504 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4506 2014-09-07 Roland McGrath <roland@hack.frob.com>
4507 Carlos O'Donell <carlos@systemhalted.org>
4509 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4510 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4511 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4512 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4513 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4514 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4515 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4516 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4517 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4518 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4519 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4520 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4521 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4522 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4523 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4524 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4525 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4526 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4527 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4528 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4529 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4530 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4531 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4532 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4533 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4534 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4535 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4536 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4537 Deconditionalize the code that was previously under [RESET_PID].
4538 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4539 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4540 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4541 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4544 2014-09-08 Allan McRae <allan@archlinux.org>
4546 * version.h (RELEASE): Set to "development".
4547 (VERSION): Set to "2.20.90"
4549 2014-09-07 Allan McRae <allan@archlinux.org
4551 * version.h (RELEASE): Set to "stable".
4552 (VERSION): Set to "2.20"
4553 * include/features.h (__GLIBC_MINOR__): Set to 20.
4555 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4558 * po/ko.po: Update Korean translation from translation project.
4560 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4563 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4564 macro for handling signed relocations.
4566 2014-09-03 Florian Weimer <fweimer@redhat.com>
4569 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4570 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4572 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4573 * iconvdata/ibm935.c (BODY): Likewise.
4574 * iconvdata/ibm937.c (BODY): Likewise.
4575 * iconvdata/ibm939.c (BODY): Likewise.
4576 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4578 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4580 * iconvdata/run-iconv-test.sh: New test loop for checking for
4583 2014-09-02 Khem Raj <raj.khem@gmail.com>
4585 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4588 2014-09-01 Allan McRae <allan@archlinux.org>
4590 * po/eo.po: Update Esperanto translation from translation project.
4592 * po/ca.po: Update Catalan translation from translation project.
4594 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4596 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4599 2014-08-27 Mark Wielaard <mjw@redhat.com>
4602 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4603 to call set_thread_area instead of hand written asm.
4604 (__NR_set_thread_area): Removed define.
4605 (TLS_FLAG_WRITABLE): Likewise.
4606 (__ASSUME_SET_THREAD_AREA): Remove check.
4607 (TLS_EBX_ARG): Remove define.
4608 (TLS_LOAD_EBX): Likewise.
4610 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4612 Simplify atomicity of socket creation in bind.
4614 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4615 looking up the name after linking the file.
4617 2014-08-27 Allan McRae <allan@archlinux.org>
4619 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4621 2014-08-26 Florian Weimer <fweimer@redhat.com>
4624 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4625 trans_compare, open_translit, __gconv_translit_find):
4626 Remove module loading code.
4628 2014-08-26 Allan McRae <allan@archlinux.org>
4630 * po/vi.po: Update Vietnamese translation from translation project.
4632 * po/uk.po: Update Ukrainian translation from translation project.
4634 * po/fr.po: Update French translation from translation project.
4636 * po/ru.po: Update Russian translation from translation project.
4638 * po/pl.po: Update Polish translation from translation project.
4640 * po/cs.po: Update Czech translation from translation project.
4642 * po/de.po: Update German translation from translation project.
4644 * po/bg.po: Update Bulgarian translation from translation project.
4646 * po/sv.po: Update Sweedish translation from translation project.
4648 * po/nl.po: Update Dutch translation from translation project.
4650 * po/es.po: Update Spanish translation from translation project.
4652 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4654 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4656 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4657 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4658 (CPPFLAGS-iconvconfig): Likewise.
4659 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4661 * include/libc-symbols.h: Remove unnecessary check for
4663 * nptl/pthreadP.h: Likewise.
4664 * sysdeps/aarch64/setjmp.S: Likewise.
4665 * sysdeps/alpha/setjmp.S: Likewise.
4666 * sysdeps/arm/sysdep.h: Likewise.
4667 * sysdeps/i386/setjmp.S: Likewise.
4668 * sysdeps/m68k/setjmp.c: Likewise.
4669 * sysdeps/posix/getcwd.c: Likewise.
4670 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4671 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4672 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4673 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4674 * sysdeps/sh/sh3/setjmp.S: Likewise.
4675 * sysdeps/sh/sh4/setjmp.S: Likewise.
4676 * sysdeps/unix/alpha/sysdep.h: Likewise.
4677 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4679 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4680 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4685 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4688 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4690 * sysdeps/x86_64/setjmp.S: Likewise.
4692 2014-08-13 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4697 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4698 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4700 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4702 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4705 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4706 and __x86_64__ when disabling x87 inline functions.
4708 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4711 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4712 asm statement with __cpuid_count.
4714 2014-08-12 Mike Frysinger <vapier@gentoo.org>
4716 * configure.ac: Change __ehdr_start code to dereference the struct.
4717 Run readelf on the output to look for relocations.
4718 * configure: Regenerated.
4720 2014-08-12 Joseph Myers <joseph@codesourcery.com>
4723 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4725 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4727 2014-08-12 Roland McGrath <roland@hack.frob.com>
4729 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4731 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4734 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4735 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4737 2014-08-12 Sean Anderson <seanga2@gmail.com>
4739 * malloc/malloc.c: Fix typo in comment.
4741 2014-08-09 Allan McRae <allan@archlinux.org>
4743 * Regenerate libc.po.
4745 2014-08-08 Mike Frysinger <vapier@gentoo.org>
4747 * intl/tst-gettext2.sh: Check every lang file for creation.
4749 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4751 * sysdeps/aarch64/fpu/math_private.h
4752 (libc_feholdsetround_noex_aarch64_ctx): New function.
4754 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4756 * sysdeps/arm/armv6/strcpy.S (strcpy):
4757 Fix performance issue in misaligned cases.
4759 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4762 Move definition from termios.h.
4763 (struct termio): Likewise.
4764 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4765 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4766 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4767 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4769 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4770 Move definition to ioctl-types.h
4771 (struct termio): Likewise.
4772 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4773 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4774 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4775 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4778 2014-08-05 Richard Henderson <rth@redhat.com>
4780 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4782 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4784 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4785 Use __feraiseexcept.
4786 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4787 Protect libm symbols with IS_IN_libm.
4789 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4791 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4793 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4795 2014-08-04 Will Newton <will.newton@linaro.org>
4797 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4800 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4802 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4803 variants for each function.
4805 2014-08-04 Roland McGrath <roland@hack.frob.com>
4807 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4809 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4810 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4812 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4813 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4814 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4815 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4816 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4817 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4818 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4819 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4820 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4821 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4822 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4830 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4831 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4832 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4833 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4842 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4844 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4845 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4846 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4848 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4849 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4850 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4851 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4852 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4853 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4854 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4855 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4856 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4857 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4858 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4859 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4860 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4861 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4862 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4863 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4864 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4866 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4867 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4869 2014-08-04 Roland McGrath <roland@hack.frob.com>
4871 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4872 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4873 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4874 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4875 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4876 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4878 2014-08-04 Roland McGrath <roland@hack.frob.com>
4880 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4881 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4882 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4883 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4885 2014-08-04 Roland McGrath <roland@hack.frob.com>
4887 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4888 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4889 (__libc_vfork): Define function under this name.
4890 (__vfork): Define as an alias.
4891 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4892 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4894 2014-08-04 Roland McGrath <roland@hack.frob.com>
4896 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4897 that was previously under [RESET_PID].
4898 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4900 2014-08-04 Andreas Schwab <schwab@suse.de>
4902 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4904 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4906 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4909 2014-08-01 Roland McGrath <roland@hack.frob.com>
4911 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4913 2014-08-01 Richard Henderon <rth@redhat.com>
4915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4916 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4917 typo in exact zero test.
4918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4919 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4922 2014-08-01 Roland McGrath <roland@hack.frob.com>
4924 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4925 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4926 * sysdeps/arm/sysdep.h: ... here.
4927 [!__ASSEMBLER__]: Include <stdint.h>.
4929 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4931 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4932 (HAVE_WCTYPE_H): Likewise.
4933 (HAVE_ISWCTYPE): Likewise.
4934 (ENABLE_NLS): Likewise.
4935 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4936 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4938 * posix/regex_internal.c: Check if DEBUG is defined and is
4941 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4942 (HAVE_MBSRTOWCS): Likewise.
4943 * posix/fnmatch.c: Include string.h unconditionally.
4945 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4947 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4950 2014-07-31 Roland McGrath <roland@hack.frob.com>
4952 * sysdeps/generic/safe-fatal.h: New file.
4953 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4954 * nptl/forward.c: Include it.
4955 (__pthread_unwind): Use __safe_fatal as default action, rather
4956 than a bogus use of INTERNAL_SYSCALL that could never work.
4958 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4959 * configure.ac (libc_cv_builtin_trap): New test.
4960 * configure: Regenerated.
4961 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4962 (ABORT_INSTRUCTION): Define using __builtin_trap.
4964 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4965 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4966 * sysdeps/nptl/nptl-signals.h: New file.
4967 * nptl/pthreadP.h: Include <nptl-signals.h>.
4969 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4971 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4972 (ONE_DIRECTION): Define.
4973 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4974 (ONE_DIRECTION): Define.
4975 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4976 (ONE_DIRECTION): Define.
4978 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4980 * sysdeps/s390/Makefile: Delete file.
4981 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4982 * sysdeps/s390/__longjmp.c: Delete file.
4983 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4984 Remove fields __flags and __reserved.
4985 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4987 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4988 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4989 * sysdeps/s390/rtld-setjmp.S: Likewise.
4990 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4991 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4992 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4993 * sysdeps/s390/s390-32/setjmp.S: ... here.
4995 (__sigsetjmp): Remove setting __flags field.
4996 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4997 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4998 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4999 * sysdeps/s390/s390-64/setjmp.S: ... here.
5001 (__sigsetjmp): Remove setting __flags field.
5002 * sysdeps/s390/setjmp.S: Delete file.
5003 * sysdeps/s390/sigjmp.c: Likewise.
5004 * sysdeps/s390/v1-longjmp.c: Likewise.
5005 * sysdeps/s390/v1-setjmp.h: Likewise.
5006 * sysdeps/s390/v1-sigjmp.c: Likewise.
5007 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5008 Remove v1-longjmp_chk.
5009 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5010 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5011 Include debug/longjmp_chk.c and add versioning.
5012 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5013 Include nptl/pt-longjmp.c and add versioning.
5014 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5015 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5016 Include __longjmp.c.
5017 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5019 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5020 (__getcontext): Remove setting __flags field.
5022 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5023 Don't restore upper high grps.
5024 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5026 (__swapcontext): Remove setting uc_flags field.
5027 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5029 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5030 Include __longjmp.c.
5031 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5033 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5034 (__getcontext): Remove setting __flags field.
5036 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5037 (__swapcontext): Remove setting uc_flags field.
5038 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5040 Remove fields uc_high_gprs and __reserved.
5041 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5042 New file with reverted content.
5043 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5044 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5046 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5049 2014-07-31 Andreas Schwab <schwab@suse.de>
5051 * config.h.in (HAVE_IFUNC): Define to 0.
5052 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5055 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5058 memmove-avx-unaligned, memcpy-avx-unaligned and
5059 mempcpy-avx-unaligned.
5060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5061 Add tests for AVX memcpy functions.
5062 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5063 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5065 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5066 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5068 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5069 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5071 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5072 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5073 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5075 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5078 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5081 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5084 * manual/llio.texi: Add section about open file description locks.
5085 * manual/examples/ofdlocks.c: Example of open file description
5087 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5088 F_OFD_SETLK, and F_OFD_SETLKW.
5090 2014-07-23 Allan McRae <allan@archlinux.org>
5092 * po/es.po: Update Spanish translation from translation project.
5094 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5096 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5098 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5101 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5102 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5103 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5105 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5108 * math/fesetenv.c (__fesetenv)
5109 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5110 * math/feupdateenv.c (__feupdateenv)
5111 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5113 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5114 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5115 (__ASSUME_SOCKETCALL): Do not define.
5117 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5118 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5119 (__ASSUME_SOCKETCALL): Do not define.
5120 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5121 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5122 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5123 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5124 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5125 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5126 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5127 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5129 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5130 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5131 (__ASSUME_SOCKETCALL): Do not define.
5132 (__ASSUME_IPC64): Define unconditionally.
5133 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5134 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5135 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5136 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5137 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5138 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5139 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5142 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5143 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5144 (__ASSUME_SOCKETCALL): Do not define.
5145 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5146 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5147 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5148 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5149 (__ASSUME_REQUEUE_PI): Define unconditionally.
5150 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5151 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5152 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5153 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5154 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5155 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5157 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5158 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5159 (__ASSUME_SOCKETCALL): Do not define.
5160 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5161 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5162 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5163 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5164 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5165 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5167 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5168 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5169 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5170 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5171 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5172 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5173 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5174 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5175 (__ASSUME_GETCPU_SYSCALL): Likewise.
5177 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5178 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5179 cases for individual architectures.
5180 * sysdeps/gnu/configure: Regenerated.
5181 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5182 LIBC_SLIBDIR_RTLDDIR.
5183 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5184 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5185 LIBC_SLIBDIR_RTLDDIR.
5186 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5188 LIBC_SLIBDIR_RTLDDIR.
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5191 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5194 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5195 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5197 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5198 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5199 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5200 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5202 * sysdeps/aarch64/shlib-versions: Move to ...
5203 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5204 * sysdeps/alpha/shlib-versions: Move to ...
5205 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5206 * sysdeps/arm/shlib-versions: Move to ...
5207 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5208 * sysdeps/hppa/shlib-versions: Move all contents except for
5209 libgcc_s entry to ...
5210 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5212 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5213 * sysdeps/ia64/shlib-versions: Move to ...
5214 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5216 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5217 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5218 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5219 * sysdeps/microblaze/shlib-versions: Move to ...
5220 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5221 * sysdeps/mips/shlib-versions: Move to ...
5222 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5224 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5225 * sysdeps/tile/shlib-versions: Move to ...
5226 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5227 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5229 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5230 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5232 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5234 2014-07-17 Will Newton <will.newton@linaro.org>
5236 * sysdeps/arm/bits/atomic.h
5237 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5238 (__arch_compare_and_exchange_bool_16_int): Likewise.
5239 (__arch_compare_and_exchange_bool_64_int): Likewise.
5241 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5242 into an #else block.
5244 2014-07-16 Roland McGrath <roland@hack.frob.com>
5246 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5247 just Linux configurations. Test empirically that the compiler sets
5248 __ARM_EABI__, rather than using the tuple to decide.
5249 * sysdeps/arm/preconfigure: Regenerated.
5250 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5251 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5252 contents appended ...
5253 * sysdeps/arm/configure.ac: ... here.
5254 * sysdeps/arm/configure: Regenerated.
5256 2014-07-15 Roland McGrath <roland@hack.frob.com>
5258 * nptl/pthread_kill.c: New file.
5259 * nptl/pthread_sigmask.c: New file.
5260 * nptl/pthread_sigqueue.c: New file.
5262 * sysdeps/nptl/lowlevellock.h: New file.
5263 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5264 * sysdeps/nptl/lowlevellock-futex.h: New file.
5266 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5267 Remove dead declarations.
5269 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5271 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5272 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5274 * sysdeps/x86_64/configure.ac: Likewise.
5275 * sysdeps/i386/configure: Regenerated.
5276 * sysdeps/x86_64/configure: Likewise.
5277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5278 memset-avx2 only if config-cflags-avx2 is yes.
5279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5280 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5282 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5283 only if HAVE_AVX2_SUPPORT is defined.
5284 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5286 2014-07-14 Alan Modra <amodra@gmail.com>
5289 * elf/elf.h (DT_PPC64_NUM): Correct value.
5290 * NEWS: Add to fixed bug list.
5292 2014-07-13 Jim Meyering <meyering@fb.com>
5295 regex: don't deref NULL upon heap allocation failure
5296 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5297 failure in one more place.
5298 To trigger the segfault, configure grep -with-included-regex,
5299 build it, and run these commands:
5300 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5302 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5304 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5306 2014-07-11 Richard Henderson <rth@redhat.com>
5308 * sysdeps/aarch64/libm-test-ulps: Update.
5310 2014-07-10 Florian Weimer <fweimer@redhat.com>
5313 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5314 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5315 (__nptl_setxid): Initialize error member. Call
5316 __nptl_setxid_error.
5317 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5318 * nptl/descr.h (struct xid_command): Add error member.
5319 * nptl/tst-setuid3.c: New file.
5320 * nptl/Makefile (tests): Add it.
5322 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5324 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5326 (__lll_trylock): Use __lll_base_trylock.
5327 (__lll_cond_trylock): Likewise.
5329 2014-07-10 Roland McGrath <roland@hack.frob.com>
5331 * nptl/pthread_create.c (start_thread): Use atomic_or and
5332 lll_futex_wake directly rather than lll_robust_dead.
5333 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5334 (lll_robust_dead): Macro removed.
5335 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5336 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5337 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5338 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5339 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5340 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5341 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5342 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5343 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5344 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5345 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5346 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5348 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5351 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5352 Use atomic_compare_and_exchange_val_acq directly rather than
5354 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5355 (__lll_robust_trylock, lll_robust_trylock): Removed.
5356 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5357 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5358 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5359 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5360 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5361 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5362 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5363 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5364 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5365 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5366 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5367 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5368 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5369 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5371 2014-07-02 Florian Weimer <fweimer@redhat.com>
5373 * manual/locale.texi (Locale Names): New section documenting
5374 locale name syntax. Adjust menu and node chaining accordingly.
5375 (Choosing Locale): Reference Locale Names, Locale Categories.
5376 Mention setting LC_ALL=C. Reflect that name syntax is now
5378 (Locale Categories): New section title. Reference Locale Names.
5379 LC_ALL is an environment variable, but not a category.
5380 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5381 description, now in Locale Name. Reference that section. Locale
5382 name syntax is now documented.
5384 2014-07-02 Florian Weimer <fweimer@redhat.com>
5387 * locale/findlocale.c (name_present, valid_locale_name): New
5389 (_nl_find_locale): Use the loc_name variable to store name
5390 candidates. Call name_present and valid_locale_name to check and
5391 validate locale names. Return an error if the locale is invalid.
5393 2014-07-02 Florian Weimer <fweimer@redhat.com>
5395 * locale/setlocale.c (setlocale): Use strdup for allocating
5396 composite name copy.
5398 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5400 Sync up with gnulib.
5401 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5402 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5403 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5404 and _GL_ARG_NONNULL.
5405 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5406 [!_LIBC]: Include code for Windows and Cygwin.
5407 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5408 Include prototype for int strerror_r.
5409 [!_LIBC] (is_open): New function.
5410 (flush_stdout): New function.
5411 (print_errno_message): Use it.
5413 (error_at_line): Likewise.
5414 (error_tail) Add function attribute macros. Use
5417 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5419 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5421 * io/ftw.c: Include sys/param.h unconditionally.
5423 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5426 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5428 (freecache): New function to free CACHE on exit.
5430 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5433 2014-07-09 David S. Miller <davem@davemloft.net>
5435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5437 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5438 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5439 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5440 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5441 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5442 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5443 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5444 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5445 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5446 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5447 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5448 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5449 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5451 2014-07-09 Andreas Schwab <schwab@suse.de>
5453 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5455 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5456 (do_test): Likewise.
5458 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5460 2014-07-09 Will Newton <will.newton@linaro.org>
5462 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5463 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5464 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5465 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5466 * sysdeps/hppa/start.S (_start): Likewise.
5468 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5470 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5472 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5475 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5477 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5478 after checking that it is non-NULL.
5480 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5482 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5484 * sysdeps/powerpc/memmove.c: Remove file.
5485 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5486 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5487 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5488 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5489 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5490 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5491 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5492 string memmove instead of removed powerpc one.
5494 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5495 [weak_alias]: Fix compiler warning due trailing data.
5496 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5497 [weak_alias]: Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5499 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5502 (__libc_ifunc_impl_list): Add memmove functions.
5504 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5506 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5508 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5510 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5512 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5514 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5516 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5518 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5520 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5522 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5524 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5526 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5528 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5530 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5532 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5534 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5536 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5538 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5541 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5543 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5544 to avoid alignment traps in non-cacheable memory.
5545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5549 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5550 file: multiarch power7 memmove.
5551 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5552 multiarch default memmove.
5553 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5554 multiarch memove for powerpc32/power4.
5556 * string/bcopy.c: Use full path to include memmove.c.
5557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5559 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5560 bcopy for powerpc64.
5561 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5562 bcopy for powerpc64.
5563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5564 and memmove implementations.
5565 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5566 optimized multiarch memmove for POWER7/powerpc64.
5567 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5568 default multiarch memmove for powerpc64.
5569 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5570 multiarch for powerpc64.
5571 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5572 for POWER7/powerpc64.
5573 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5574 memmove for POWER7/powerpc64.
5576 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5579 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5580 __ELF_NATIVE_CLASS equal to 64.
5582 2014-07-07 Roland McGrath <roland@hack.frob.com>
5584 * sysdeps/nptl/lowlevellock.h: File removed.
5586 * NEWS: NPTL is no longer an add-on!
5587 * nptl/internaltypes.h: Moved ...
5588 * sysdeps/nptl/internaltypes.h: ... here.
5589 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5590 * sysdeps/nptl/fork.c: Likewise.
5591 * sysdeps/nptl/gai_misc.h: Likewise.
5592 * sysdeps/nptl/librt-cancellation.c: Likewise.
5593 * sysdeps/nptl/jmp-unwind.c: Likewise.
5594 * sysdeps/nptl/setxid.h: Likewise.
5595 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5596 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5597 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5598 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5599 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5600 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5601 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5602 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5603 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5604 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5605 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5606 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5607 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5608 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5609 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5610 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5611 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5612 * nptl/Makeconfig: Moved ...
5613 * sysdeps/nptl/Makeconfig: ... here.
5614 * nptl/configure: File removed.
5615 * nptl/ANNOUNCE: File removed.
5616 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5617 * sysdeps/unix/sysv/linux/configure: Regenerated.
5619 * nptl/Makefile (routines): Add libc_pthread_init,
5620 libc_multiple_threads, register-atfork and unregister-atfork.
5621 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5622 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5623 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5624 pthread-pi-defines.sym, structsem.sym.
5625 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5626 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5627 [$(subdir) = nptl] (tests): Add tst-setgetname.
5628 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5629 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5630 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5631 [!LIBC_SIGACTION]: Remove aliases.
5632 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5633 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5634 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5635 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5636 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5637 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5639 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5640 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5641 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5642 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5643 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5644 __libc_allocate_rtsig_private.
5645 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5646 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5647 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5648 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5649 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5650 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5651 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5652 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5653 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5654 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5655 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5656 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5657 * nptl/internaltypes.h: ... here.
5658 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5659 * sysdeps/nptl/jmp-unwind.c: ... here.
5660 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5661 * nptl/libc-lowlevellock.c: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5663 * nptl/libc_multiple_threads.c: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5665 * nptl/libc_pthread_init.c: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5667 * nptl/lowlevelbarrier.sym: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5669 * nptl/lowlevelcond.sym: ... here.
5670 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5671 * nptl/lowlevellock.c: ... here.
5672 * nptl/lowlevellock.h: Moved ...
5673 * sysdeps/nptl/lowlevellock.h: ... here.
5674 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5675 * nptl/lowlevelrobustlock.c: ... here.
5676 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5677 * nptl/lowlevelrobustlock.sym: ... here.
5678 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5679 * nptl/lowlevelrwlock.sym: ... here.
5680 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5681 * nptl/pt-fork.c: ... here.
5682 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5683 * nptl/pthread-pi-defines.sym: ... here.
5684 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5685 * nptl/pthread_attr_getaffinity.c: ... here.
5686 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5687 * nptl/pthread_attr_setaffinity.c: ... here.
5688 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5689 * nptl/pthread_mutex_cond_lock.c: ... here.
5690 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5692 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5693 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5694 * nptl/pthread_once.c: ... here, replacing old file.
5695 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5696 * nptl/pthread_yield.c: ... here.
5697 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5698 * nptl/register-atfork.c: ... here.
5699 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5700 * nptl/sem_post.c: ... here.
5701 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5702 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5703 * nptl/sem_timedwait.c: ... here.
5704 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5705 * nptl/sem_trywait.c: ... here.
5706 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5707 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5708 * nptl/sem_wait.c: ... here.
5709 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5710 * nptl/structsem.sym: ... here.
5711 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5712 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5713 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5714 * nptl/unregister-atfork.c: ... here.
5715 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5716 * nptl/unwindbuf.sym: ... here.
5717 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5718 * sysdeps/nptl/fork.c: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5720 * sysdeps/nptl/fork.h: ... here.
5721 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5722 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5723 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5724 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5725 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5726 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5727 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5728 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5729 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5730 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5731 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5732 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5733 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5734 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5735 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5737 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5738 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5739 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5740 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5741 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5742 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5743 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5744 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5745 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5746 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5747 * sysdeps/unix/sysv/linux/raise.c: ... here.
5748 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5749 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5750 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5751 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5752 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5753 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5754 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5755 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5756 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5757 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5758 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5759 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5760 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5761 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5762 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5764 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5766 * sysdeps/generic/memcopy.h: Add comment for
5767 MEMCPY_OK_FOR_FWD_MEMMOVE.
5769 2014-07-04 Will Newton <will.newton@linaro.org>
5771 * string/memchr.c: Merge from gnulib.
5772 [_LIBC]: Remove conditionals.
5773 (__ptr_t): Remove define.
5774 (LONG_MAX_32_BITS): Likewise.
5775 (LONG_MAX): Likewise.
5776 (MEMCHR): Use ANSI prototype and optimize algorithm.
5778 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5780 2014-07-03 Roland McGrath <roland@hack.frob.com>
5782 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5783 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5785 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5786 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5787 in a bare environment with no <stdlib.h> installed.
5788 * sysdeps/nptl/configure: Regenerated.
5790 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5792 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5793 AC_EGREP_CPP for kernel header checks, so they only succeed if
5794 including <linux/version.h> actually works right.
5795 * sysdeps/unix/sysv/linux/configure: Regenerated.
5797 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5798 value so it's not diagnosed as unused.
5800 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5801 thing) with "ifeq ($(subdir),rt)".
5803 2014-07-03 Richard Henderson <rth@redhat.com>
5805 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5806 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5807 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5809 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5810 (math_force_eval): New.
5812 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5813 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5815 * sysdeps/alpha/fpu/s_round.c: Remove file.
5816 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5818 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5819 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5820 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5821 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5822 (_dl_start, print_statistics): Likewise.
5823 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5824 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5826 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5827 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5828 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5829 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5830 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5831 (HP_SMALL_TIMING_AVAIL): Define.
5832 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5833 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5834 (HP_SMALL_TIMING_AVAIL): Define.
5835 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5836 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5838 * sysdeps/aarch64/hp-timing.h: New file.
5840 * sysdeps/generic/hp-timing.h: Remove dead comment.
5841 * sysdeps/generic/hp-timing-common.h: New file.
5842 * sysdeps/alpha/hp-timing.h: Include it.
5843 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5844 * sysdeps/i386/i686/hp-timing.h: Likewise.
5845 * sysdeps/ia64/hp-timing.h: Likewise.
5846 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5847 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5849 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5850 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5851 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5854 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5855 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5856 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5857 * elf/rtld.c (_dl_start_final): Likewise.
5858 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5859 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5860 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5861 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5862 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5864 (HP_TIMING_DIFF_INIT): Remove.
5865 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5867 (HP_TIMING_DIFF_INIT): Remove.
5868 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5869 * sysdeps/i386/i686/hp-timing.c: Remove file.
5870 * sysdeps/x86_64/hp-timing.c: Remove file.
5871 * sysdeps/ia64/hp-timing.c: Remove file.
5872 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5873 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5874 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5875 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5877 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5878 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5879 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5880 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5881 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5882 (HP_TIMING_ACCUM): Remove.
5883 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5885 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5887 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5888 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5889 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5890 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5891 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5892 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5893 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5894 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5896 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5898 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5900 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5902 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5904 Sync up with gettext.
5905 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5906 [_MSC_VER]: Include malloc.h
5907 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5908 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5909 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5910 TEMP_FAILURE_RETRY. Cast return of alloca.
5911 [!_LIBC] Call gl_rwlock_init.
5912 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5914 2014-07-02 Roland McGrath <roland@hack.frob.com>
5916 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5917 before checking its value.
5919 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5921 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5923 * debug/memcpy_chk.c: Don't include pagecopy.h.
5924 * debug/mempcpy_chk.c: Likewise.
5925 * string/memcpy.c: Likewise.
5926 * string/memmove.c: Likewise.
5927 * sysdeps/powerpc/memmove.c: Likewise.
5928 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5929 definition of PAGE_COPY_FWD_MAYBE here...
5930 * sysdeps/generic/pagecopy.h: ... from here.
5931 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5933 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5934 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5936 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5940 (__libc_ifunc_impl_list): Likewise.
5941 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5942 multiarch strcat for PPC64.
5943 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5944 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5946 2014-07-02 Roland McGrath <roland@hack.frob.com>
5948 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5950 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5952 * intl/loadmsgcat.c: Remove declaration of
5953 get_sysdep_segment_value.
5954 (get_sysdep_segment_value): Use ISO C style.
5955 (_nl_load_domain): Use ISO C style. Get rid of redundant
5956 semicolon. Fix typo and formatting in comment.
5957 (_nl_unload_domain): Use ISO C style.
5959 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5961 2014-07-02 Will Newton <will.newton@linaro.org>
5963 * malloc/obstack.c: Merge from gnulib master.
5964 [HAVE_CONFIG_H]: Remove conditional code.
5965 [!_LIBC]: Include config.h.
5966 [!ELIDE_CODE]: Don't include inttypes.h, include
5967 stdint.h unconditionally.
5968 (print_and_abort): Mark as _Noreturn.
5969 (_obstack_allocated_p): Mark as __attribute_pure__.
5970 (obstack_free): Rename to __obstack_free.
5971 [!__attribute__]: Remove conditional code.
5972 * malloc/obstack.h: Merge from gnulib master.
5973 [__cplusplus]: Move conditional down.
5974 [!__attribute_pure__]: Define __attribute_pure__ here
5975 if it is not already defined.
5976 (_obstack_memory_used): Mark as __attribute_pure__.
5977 [!__obstack_free]: Define as obstack_free.
5978 [__GNUC__]: Remove check for ancient NeXT gcc.
5980 2014-07-02 Will Newton <will.newton@linaro.org>
5981 Paul Eggert <eggert@cs.ucla.edu>
5983 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5985 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5987 * resolv/gethnamaddr.c: Add comment warning that the file is
5990 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5992 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5995 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5996 entry for aio_cancel and aio_cancel64.
5997 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5998 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5999 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6000 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6001 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6002 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6003 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6004 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6005 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6006 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6007 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6008 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6009 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6011 2014-07-01 Roland McGrath <roland@hack.frob.com>
6013 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6014 * nptl/pthread_mutex_lock.c: Likewise.
6015 * nptl/pthread_mutex_timedlock.c: Likewise.
6016 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6018 2014-07-01 Richard henderson <rth@redhat.com>
6020 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6021 (__isnan, __isnanl): Remove.
6022 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6024 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6026 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6028 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6030 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6032 * resolv/nss_dns/dns-host.c (getanswer_r)
6033 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6035 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6038 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6040 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6041 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6043 2014-07-01 Roland McGrath <roland@hack.frob.com>
6045 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6046 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6048 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6049 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6051 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6052 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6054 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6055 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6057 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6058 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6059 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6060 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6062 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6063 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6064 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6065 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6066 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6068 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6070 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6071 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6072 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6073 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6074 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6075 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6076 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6077 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6078 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6079 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6080 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6081 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6082 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6083 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6084 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6085 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6086 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6087 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6088 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6089 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6091 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6092 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6093 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6094 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6095 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6096 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6097 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6098 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6100 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6102 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6103 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6104 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6107 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6111 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6113 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6114 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6116 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6118 * sysdeps/arm/libm-test-ulps: Regenerated.
6120 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6121 Roland McGrath <roland@hack.frob.com>
6123 * test-skeleton.c (signal_handler): Kill the whole process group
6124 before killing the child individually.
6125 (main): Report any failure on `setpgid'.
6127 2014-06-30 Roland McGrath <roland@hack.frob.com>
6129 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6130 from _TLS_H to _ARM_NPTL_TLS_H.
6131 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6132 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6134 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6137 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6138 (__expm1l): Return argument unchanged when small but not
6141 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6143 (_FP_UNPACK_RAW_1_P): Likewise.
6144 (_FP_PACK_RAW_1): Likewise.
6145 (_FP_PACK_RAW_1_P): Likewise.
6146 (_FP_MUL_MEAT_1_wide): Likewise.
6147 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6148 (_FP_MUL_MEAT_1_hard): Likewise.
6149 (_FP_DIV_MEAT_1_imm): Likewise.
6150 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6151 (_FP_DIV_MEAT_1_udiv): Likewise.
6152 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6153 (_FP_UNPACK_RAW_2): Likewise.
6154 (_FP_UNPACK_RAW_2_P): Likewise.
6155 (_FP_PACK_RAW_2): Likewise.
6156 (_FP_PACK_RAW_2_P): Likewise.
6157 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6158 (_FP_MUL_MEAT_2_wide): Likewise.
6159 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6160 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6161 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6162 (_FP_MUL_MEAT_2_gmp): Likewise.
6163 (_FP_DIV_MEAT_2_udiv): Likewise.
6164 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6165 (_FP_FRAC_SRL_4): Likewise.
6166 (_FP_FRAC_SRST_4): Likewise.
6167 (_FP_FRAC_SRS_4): Likewise.
6168 (_FP_UNPACK_RAW_4): Likewise.
6169 (_FP_UNPACK_RAW_4_P): Likewise.
6170 (_FP_PACK_RAW_4): Likewise.
6171 (_FP_PACK_RAW_4_P): Likewise.
6172 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6173 (_FP_MUL_MEAT_4_wide): Likewise.
6174 (_FP_MUL_MEAT_4_gmp): Likewise.
6175 (umul_ppppmnnn): Likewise.
6176 (_FP_DIV_MEAT_4_udiv): Likewise.
6177 (__FP_FRAC_ADD_4): Likewise.
6178 (__FP_FRAC_SUB_3): Likewise.
6179 (__FP_FRAC_SUB_4): Likewise.
6180 (__FP_FRAC_DEC_3): Likewise.
6181 (__FP_FRAC_DEC_4): Likewise.
6182 (__FP_FRAC_ADDI_4): Likewise.
6183 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6184 (_FP_FRAC_SRL_8): Likewise.
6185 (_FP_FRAC_SRS_8): Likewise.
6187 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6189 (FP_UNPACK_RAW_EP): Likewise.
6190 (FP_PACK_RAW_E): Likewise.
6191 (FP_PACK_RAW_EP): Likewise.
6192 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6193 (_FP_ISSIGNAN): Likewise.
6194 (_FP_ADD_INTERNAL): Likewise.
6195 (_FP_FMA): Likewise.
6196 (_FP_CMP): Likewise.
6197 (_FP_SQRT): Likewise.
6198 (_FP_TO_INT): Likewise.
6199 (_FP_FROM_INT): Likewise.
6200 (FP_EXTEND): Likewise.
6201 (_FP_DIV_MEAT_N_loop): Likewise.
6203 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6205 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6208 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6211 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6212 result with correct sign in case of exponents that produce
6213 overflow except for X very close to 1.
6215 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6217 mktime: merge #if/#ifdef usage from glibc
6218 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6219 as that works with both Glibc's and Gnulib's style.
6220 See thread starting at Siddhesh Poyarekar's bug report at:
6221 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6223 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6225 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6226 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6227 * sysdeps/tile/tilegx/memmove.c: Remove file.
6229 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6231 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6232 abi-name definition.
6233 * scripts/soversions.awk: Do not handle or generate ABI lines.
6234 * shlib-versions: Remove ABI entries.
6235 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6236 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6238 2014-06-27 Roland McGrath <roland@hack.frob.com>
6240 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6241 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6242 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6243 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6244 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6245 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6248 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6250 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6251 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6252 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6253 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6255 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6257 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6261 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6264 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6268 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6271 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6274 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6276 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6281 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6283 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6285 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6288 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6290 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6291 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6293 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6294 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6296 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6298 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6301 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6303 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6304 Identical file removed.
6305 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6307 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6309 Identical file removed.
6310 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6311 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6312 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6314 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6315 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6316 Identical file removed.
6317 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6318 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6320 Identical file removed.
6321 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6322 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6323 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6324 Identical file removed.
6325 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6326 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6327 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6328 Identical file removed.
6329 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6331 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6332 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6333 Identical file removed.
6334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6337 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6338 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6339 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6340 Identical file removed.
6341 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6343 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6346 Identical file removed.
6347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6349 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6350 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6351 Identical file removed.
6352 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6354 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6356 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6357 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6358 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6359 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6361 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6362 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6363 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6365 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6366 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6367 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6368 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6369 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6371 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
6374 * nscd/nscd.c (monitor_child): Return exit status of child
6375 instead of return value from wait syscall.
6377 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6379 * configure.ac (libc_commonpagesize): Remove variable.
6380 (libc_relro_required): Likewise.
6381 (libc_cv_z_relro): Remove configure test.
6382 * configure: Regenerated.
6383 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6385 (libc_relro_required): Likewise.
6386 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6387 (libc_relro_required): Likewise.
6388 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6389 (libc_relro_required): Likewise.
6390 * sysdeps/arm/preconfigure: Regenerated.
6391 * sysdeps/ia64/preconfigure: Remove file.
6392 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6394 (libc_relro_required): Likewise.
6398 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6399 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6400 recompute overflowing results in original rounding mode.
6401 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6402 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6403 recompute overflowing results in original rounding mode.
6404 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6405 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6406 recompute overflowing results in original rounding mode.
6407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6408 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6409 recompute overflowing results in original rounding mode.
6410 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6411 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6412 recompute overflowing results in original rounding mode.
6413 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6414 (libc_feholdsetround_ctx): New macro.
6415 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6416 * sysdeps/i386/fpu/libm-test-ulps: Update.
6417 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6419 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6421 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6422 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6423 corresponding .cpsetup call.
6425 2014-06-26 Roland McGrath <roland@hack.frob.com>
6427 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6428 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6429 * sysdeps/arm/Makefile [$(subdir) = csu]
6430 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6431 (static-only-routines): Add aeabi_read_tp here.
6432 (shared-only-routines): Add libc-aeabi_read_tp here.
6433 (CFLAGS-libc-start.c): Add -fexceptions here.
6434 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6435 (sysdep_routines, static-only-routines, shared-only-routines):
6436 Don't add to these here.
6437 (CFLAGS-libc-start.c): Likewise.
6439 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6440 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6441 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6442 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6443 * sysdeps/arm/Makefile [$(subdir) = rt]
6444 (librt-sysdep_routines, librt-shared-only-routines):
6445 Append rt-aeabi_unwind_cpp_pr1 here.
6446 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6447 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6448 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6449 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6450 Append nptl-aeabi_unwind_cpp_pr1 here.
6451 (tests): Filter out tst-cleanupx4 here.
6452 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6453 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6454 Don't do those here.
6456 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6458 * scripts/list-sources.sh: Do not handle ports specially.
6460 2014-06-26 Roland McGrath <roland@hack.frob.com>
6462 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6463 * sysdeps/arm/feupdateenv.c: Likewise.
6465 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6467 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6469 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6470 trailing whitespace removed.
6471 * scripts/config.guess: Update to version 2014-03-23.
6472 * scripts/config.sub: Update to version 2014-05-01
6473 * scripts/install-sh: Update to version 2013-12-25.23.
6474 * scripts/move-if-change: Update from gnulib.
6476 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6478 * debug/memmove_chk.c: Remove pagecopy.h include.
6480 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6482 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6483 identical to gnulib mktime.
6485 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6487 * configure.ac: Do not test for machine being rs6000. Do not test
6489 * configure: Regenerated.
6491 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6493 * configure: Regenerated.
6494 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6495 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6496 Remove configure test.
6497 * sysdeps/arm/configure: Regenerated.
6498 * sysdeps/nptl/configure.ac: Do not check
6499 libc_cv_asm_cfi_directives.
6500 * sysdeps/nptl/configure: Regenerated.
6501 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6502 * sysdeps/x86_64/nptl/configure: Remove generated file.
6503 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6505 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6507 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6509 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6510 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6511 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6514 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6515 instead of whether it is defined.
6516 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6517 * sysdeps/hppa/dl-machine.h: Likewise.
6518 * sysdeps/ia64/dl-machine.h: Likewise.
6519 * sysdeps/m68k/dl-machine.h: Likewise.
6520 * sysdeps/microblaze/dl-machine.h: Likewise.
6521 * sysdeps/mips/dl-machine.: Likewise.
6522 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6523 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6524 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6525 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6526 * sysdeps/sh/dl-machine.h: Likewise.
6527 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6528 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6529 * sysdeps/tile/dl-machine.h: Likewise.
6530 * sysdeps/x86_64/dl-machine.h: Likewise.
6532 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6534 (verify_persistent_db): Likewise.
6536 2014-06-26 Roland McGrath <roland@hack.frob.com>
6538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6539 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6541 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6544 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6547 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6549 Identical file removed.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6551 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6555 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6559 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6562 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6564 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6566 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6569 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6571 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6573 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6575 Identical file removed.
6576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6577 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6579 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6582 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6585 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6587 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6589 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6591 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6593 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6596 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6599 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6601 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6604 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6606 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6608 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6610 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6611 * sysdeps/unix/sysv/linux/s390/Versions
6612 (libpthread: GLIBC_2.19): New version set.
6613 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6614 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6615 (librt: GLIBC_2.3.3): New version set.
6616 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6617 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6618 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6619 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6620 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6621 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6622 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6623 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6624 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6625 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6626 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6628 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6629 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6630 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6631 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6632 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6633 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6634 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6635 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6636 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6637 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6638 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6639 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6640 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6641 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6642 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6643 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6644 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6646 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6647 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6651 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6652 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6653 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6654 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6655 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6656 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6657 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6658 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6659 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6660 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6662 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6663 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6664 (__libc_vfork): Define the function under this name.
6665 [!NOT_IN_libc] (__vfork): Make this an alias.
6666 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6668 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6669 (__libc_vfork): Define the function under this name.
6670 [!NOT_IN_libc] (__vfork): Make this an alias.
6671 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6672 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6673 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6676 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6678 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6679 code that was previously under [RESET_PID].
6680 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6681 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6684 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6685 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6686 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6687 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6688 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6689 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6690 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6691 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6692 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6693 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6694 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6696 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6697 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6698 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6699 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6700 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6702 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6703 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6704 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6705 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6706 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6707 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6708 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6710 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6711 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6712 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6714 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6715 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6717 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6718 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6720 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6721 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6722 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6723 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6724 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6726 2014-06-25 Roland McGrath <roland@hack.frob.com>
6728 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6729 that was previously under [RESET_PID].
6730 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6732 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6735 not undefine and redefine.
6736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6737 [O_CLOEXEC]: Make code unconditional.
6738 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6739 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6740 <kernel-features.h>.
6741 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6742 conditional variable definition.
6743 (shm_open) [O_CLOEXEC]: Make code unconditional.
6744 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6747 * configure.ac (USE_REGPARMS): Don't define here.
6748 * configure: Regenerated.
6749 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6750 * sysdeps/i386/configure: Regenerated.
6752 * nptl/createthread.c: Don't include kernel-features.h.
6753 * nptl/pthread_cancel.c: Likewise.
6754 * nptl/pthread_condattr_setclock.c: Likewise.
6755 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6756 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6757 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6758 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6759 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6760 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6761 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6762 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6763 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6764 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6765 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6766 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6767 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6768 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6769 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6770 * nscd/gai.c: Likewise.
6771 * nss/nss_db/db-open.c: Likewise.
6772 * sysdeps/generic/ldsodefs.h: Likewise.
6773 * sysdeps/sh/nptl/tls.h: Likewise.
6774 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6775 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6776 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6777 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6778 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6779 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6780 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6781 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6782 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6783 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6784 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6785 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6786 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6787 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6788 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6789 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6790 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6791 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6792 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6793 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6794 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6795 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6796 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6797 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6798 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6799 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6800 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6801 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6802 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6803 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6804 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6805 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6806 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6807 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6808 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6809 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6810 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6811 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6812 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6813 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6814 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6815 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6816 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6817 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6818 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6819 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6820 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6821 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6822 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6823 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6824 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6825 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6826 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6827 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6828 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6829 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6830 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6831 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6854 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6855 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6856 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6857 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6858 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6859 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6860 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6862 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6863 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6864 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6865 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6866 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6867 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6868 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6869 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6870 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6872 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6873 * sysdeps/unix/sysv/linux/system.c: Likewise.
6874 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6875 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6876 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6877 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6878 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6879 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6880 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6882 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6883 * configure: Regenerated.
6884 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6886 * configure.ac (base_machine): Do not set specially for particular
6888 * configure: Regenerated.
6889 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6890 settings from configure.ac.
6891 * sysdeps/i386/preconfigure: New file.
6892 * sysdeps/s390/preconfigure: Likewise.
6893 * sysdeps/sh/preconfigure: Likewise.
6894 * sysdeps/sparc/preconfigure: Likewise.
6896 2014-06-25 Roland McGrath <roland@hack.frob.com>
6898 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6899 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6900 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6901 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6902 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6903 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6904 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6905 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6906 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6907 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6908 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6909 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6910 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6911 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6912 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6913 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6914 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6915 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6916 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6918 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6919 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6920 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6921 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6922 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6923 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6924 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6925 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6926 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6927 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6928 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6929 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6930 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6931 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6932 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6933 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6934 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6935 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6936 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6937 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6938 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6939 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6940 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6941 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6942 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6943 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6944 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6945 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6946 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6947 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6948 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6949 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6950 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6951 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6952 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6953 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6954 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6955 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6958 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6960 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6963 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6966 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6968 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6971 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6973 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6975 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6977 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6980 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6983 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6985 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6988 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6990 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6992 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6994 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6996 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6999 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7002 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7004 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7007 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7009 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7011 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7016 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7019 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7024 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7028 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7030 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7032 * timezone/checktab.awk: Update from tzcode 2014e.
7033 * timezone/private.h: Likewise.
7034 * timezone/tzfile.h: Likewise.
7035 * timezone/zdump.c: Likewise.
7036 * timezone/zic.c: Likewise.
7038 * sysdeps/unix/sysv/linux/kernel-features.h
7039 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7040 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7041 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7042 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7043 Remove conditional code.
7045 2014-06-25 Will Newton <will.newton@linaro.org>
7047 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7048 (_dl_arm_cap_flags): Add HWCAP2 values.
7049 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7050 (_DL_HWCAP_COUNT): Increase to 37.
7051 (_DL_HWCAP_LAST): New define.
7052 (_DL_HWCAP2_LAST): New define.
7053 (_dl_procinfo): Add support for printing
7055 (_dl_string_hwcap): Use _dl_hwcap_string.
7057 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7061 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7063 * README: Do not mention ports directory.
7065 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7067 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7068 <kernel-features.h>.
7069 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7070 conditional variable definition.
7071 (__futimes): Update comment.
7072 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7073 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7076 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7077 arguments close to 0.
7078 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7080 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7082 * math/auto-libm-test-in: Add more tests of exp10.
7083 * math/auto-libm-test-out: Regenerated.
7084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7086 * sysdeps/unix/sysv/linux/kernel-features.h
7087 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7088 * sysdeps/unix/sysv/linux/readv.c: Do not include
7089 <kernel-features.h>.
7090 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7091 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7092 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7094 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7096 * sysdeps/unix/sysv/linux/writev.c: Do not include
7097 <kernel-features.h>.
7098 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7099 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7100 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7102 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7105 2014-06-25 Will Newton <will.newton@linaro.org>
7107 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7108 comment changes throughout the file. Remove checks
7109 for HAVE_*_H definitions that are not required.
7110 (__gen_tempname): Call abort if an unknown kind value is
7113 2014-06-25 Andreas Schwab <schwab@suse.de>
7116 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7117 scalbln, scalblnf, scalblnl in libc.
7119 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7122 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7123 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7124 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7126 2014-06-24 Roland McGrath <roland@hack.frob.com>
7128 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7129 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7130 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7131 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7133 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7134 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7136 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7137 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7138 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7139 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7140 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7141 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7142 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7143 * sysdeps/x86/bits/semaphore.h: ... here.
7144 * sysdeps/x86/nptl/elide.h: Moved ...
7145 * sysdeps/x86/elide.h: ... here.
7146 * sysdeps/x86_64/nptl/Implies: File removed.
7147 * sysdeps/i386/nptl/Implies: File removed.
7149 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7152 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7153 return the argument for normal arguments with exponent below -64.
7154 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7156 * math/auto-libm-test-in: Add another test of expm1.
7157 * math/auto-libm-test-out: Regenerated.
7160 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7161 calling __erfcl for arguments at least 16.
7162 * math/auto-libm-test-in: Add more tests of erf.
7163 * math/auto-libm-test-out: Regenerated.
7165 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7166 individual architectures.
7167 * sysdeps/unix/sysv/linux/configure: Regenerated.
7168 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7169 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7170 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7171 (ldd_rewrite_script): Define variable.
7172 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7177 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7178 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7179 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7180 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7181 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7182 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7183 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7184 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7186 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7189 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7190 Rename member __data.d to __data.__elision_data.
7192 2014-06-24 Wilco <wdijkstr@arm.com>
7194 * NEWS: Add 16918 to fixed bug list.
7196 2014-06-24 Wilco <wdijkstr@arm.com>
7198 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7200 2014-06-24 Wilco <wdijkstr@arm.com>
7202 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7203 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7204 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7205 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7206 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7207 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7208 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7211 2014-06-24 Wilco <wdijkstr@arm.com>
7213 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7215 2014-06-24 Wilco <wdijkstr@arm.com>
7217 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7218 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7219 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7220 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7222 2014-06-24 Wilco <wdijkstr@arm.com>
7225 * sysdeps/arm/feupdateenv.c (feupdateenv):
7226 Rewrite to reduce FPSCR accesses and fix return value.
7228 2014-06-24 Wilco <wdijkstr@arm.com>
7230 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7231 Optimize to avoid unnecessary FPSCR writes.
7232 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7233 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7234 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7235 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7237 2014-06-24 Wilco <wdijkstr@arm.com>
7239 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7240 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7241 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7242 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7243 Call libc_fetestexcept_vfp.
7244 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7245 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7246 __SOFTFP__ ifdef so that they can be built for softfp.
7248 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7250 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7251 argument type signed char.
7253 * Makerules (check-abi): Dump diff of symlist if the test
7256 2014-06-23 Roland McGrath <roland@hack.frob.com>
7258 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7261 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7262 Remove unused variable ST.
7264 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7268 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7269 small arguments before calling __expm1.
7270 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7271 small arguments before calling __expm1f.
7272 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7273 small arguments before calling __expm1l.
7274 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7276 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7277 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7278 spurious underflow for some cosh tests.
7279 * math/auto-libm-test-out: Regenerated.
7280 * sysdeps/i386/fpu/libm-test-ulps: Update.
7283 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7284 (__ieee754_y1): Set errno if return value overflows.
7285 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7286 (__ieee754_y1f): Set errno if return value overflows.
7287 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7288 (__ieee754_y1l): Set errno if return value overflows.
7289 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7290 (__ieee754_y1l): Set errno if return value overflows.
7291 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7292 * math/auto-libm-test-out: Regenerated.
7294 * math/gen-auto-libm-tests.c: Document use of
7295 ignore-zero-inf-sign.
7296 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7297 (input_flags): Add ignore-zero-inf-sign.
7298 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7299 * math/gen-libm-test.pl (generate_testfile): Handle
7300 ignore-zero-inf-sign.
7301 * math/auto-libm-test-in: Mark some cpow tests with
7302 ignore-zero-inf-sign and some with xfail-rounding.
7303 * math/auto-libm-test-out: Regenerated.
7304 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7305 * sysdeps/i386/fpu/libm-test-ulps: Update.
7306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7309 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7310 overflowing or underflowing operations take place with sign of
7312 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7313 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7314 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7315 (__ieee754_pow): Recompute overflowing and underflowing results in
7316 original rounding mode.
7317 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7318 (__powl_helper): Allow negative argument X and scale negated value
7319 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7320 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7321 overflowing or underflowing operations take place with sign of
7323 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7325 * math/auto-libm-test-in: Add more tests of pow.
7326 * math/auto-libm-test-out: Regenerated.
7327 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7328 (pow_tonearest_test_data): Remove.
7329 (pow_test_tonearest): Likewise.
7330 (pow_towardzero_test_data): Likewise.
7331 (pow_test_towardzero): Likewise.
7332 (pow_downward_test_data): Likewise.
7333 (pow_test_downward): Likewise.
7334 (pow_upward_test_data): Likewise.
7335 (pow_test_upward): Likewise.
7336 (main): Don't call removed functions.
7337 * sysdeps/i386/fpu/libm-test-ulps: Update.
7338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7340 2014-06-23 Roland McGrath <roland@hack.frob.com>
7342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7516 2014-06-23 Will Newton <will.newton@linaro.org>
7517 Wilco <wdijkstr@arm.com>
7519 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7520 implementation. Include get-rounding-mode.h.
7521 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7522 [!libc_feholdsetround_noex_ctx]: Define
7523 libc_feholdsetround_noex_ctx.
7524 [!libc_feholdsetround_noexf_ctx]: Define
7525 libc_feholdsetround_noexf_ctx.
7526 [!libc_feholdsetround_noexl_ctx]: Define
7527 libc_feholdsetround_noexl_ctx.
7528 (libc_feholdsetround_ctx): New function.
7529 (libc_feresetround_ctx): New function.
7530 (libc_feholdsetround_noex_ctx): New function.
7531 (libc_feresetround_noex_ctx): New function.
7533 2014-06-23 Roland McGrath <roland@hack.frob.com>
7535 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7536 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7537 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7538 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7539 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7540 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7542 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7543 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7544 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7545 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7546 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7547 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7548 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7549 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7550 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7551 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7552 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7554 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7556 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7557 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7558 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7559 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7560 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7562 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7563 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7564 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7565 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7566 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7568 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7569 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7571 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7572 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7574 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7576 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7577 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7579 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7581 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7582 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7583 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7584 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7585 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7586 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7587 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7588 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7590 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7592 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7595 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7599 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7600 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7601 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7602 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7603 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7604 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7606 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7608 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7610 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7613 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7614 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7615 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7616 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7617 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7619 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7620 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7621 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7622 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7624 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7625 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7626 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7628 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7629 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7630 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7631 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7632 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7633 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7634 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7635 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7636 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7637 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7638 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7639 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7640 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7641 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7642 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7643 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7644 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7645 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7646 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7648 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7650 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7651 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7652 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7653 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7654 (IPV6_PMTUDISC_INTERFACE): Likewise.
7655 (IPV6_PMTUDISC_OMIT): Likewise.
7657 2014-06-23 Andreas Schwab <schwab@suse.de>
7659 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7660 Remove unused errout label.
7662 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7664 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7665 macro: hardware supports Vector Crypto instructions.
7667 2014-06-23 Will Newton <will.newton@linaro.org>
7669 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7670 rather than __builtin_expect.
7672 * elf/dl-lookup.c (undefined_msg): Remove variable.
7673 (_dl_lookup_symbol_x): Replace undefined_msg with string
7676 * elf/dl-lookup.c (do_lookup_unique): New function.
7677 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7678 to a separate function.
7680 2014-06-23 Andreas Schwab <schwab@suse.de>
7683 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7684 before reading the next line.
7686 2014-06-23 Will Newton <will.newton@linaro.org>
7688 * test-skeleton.c (signal_handler): Use printf and %m
7689 rather than perror. Use printf rather than fprintf to
7690 stderr. Use puts rather than fputs to stderr.
7693 2014-06-22 Ludovic Courtès <ludo@gnu.org>
7695 * nscd/nscd.c (thread_info_t): Remove typedef.
7696 (thread_info): Remove variable.
7698 2014-06-21 Allan McRae <allan@archlinux.org>
7700 * NEWS: Mention CVE-2014-4043.
7702 2014-06-20 Roland McGrath <roland@hack.frob.com>
7704 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7705 * nptl/smp.h: ... here.
7707 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7709 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7710 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7711 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7712 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7714 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7715 * nptl/stack-aliasing.h: New file.
7716 * sysdeps/i386/i686/stack-aliasing.h: New file.
7717 * sysdeps/i386/i686/nptl/Makefile: File removed.
7718 * sysdeps/x86_64/stack-aliasing.h: New file.
7719 * sysdeps/x86_64/nptl/Makefile
7720 (CFLAGS-pthread_create.c): Variable removed.
7722 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7723 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7725 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7726 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7729 2014-06-21 Joseph Myers <joseph@codesourcery.com>
7731 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7732 (__ASSUME_SIGFRAME_V2): Remove macro.
7733 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7734 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7735 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7736 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7737 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7738 Declare as function. Remove conditional macro definitions.
7739 (__default_rt_sa_restorer): Likewise.
7740 (__default_sa_restorer_v1): Remove declaration.
7741 (__default_sa_restorer_v2): Likewise.
7742 (__default_rt_sa_restorer_v1): Likewise.
7743 (__default_rt_sa_restorer_v2): Likewise.
7744 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7745 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7746 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7748 2014-06-20 Roland McGrath <roland@hack.frob.com>
7750 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7751 (libpthread-routines): Add sysdep.
7752 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7753 * sysdeps/unix/sysv/linux/sparc/Versions
7754 (libpthread: GLIBC_2.3.3): New version set.
7755 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7756 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7757 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7758 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7759 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7760 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7762 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7763 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7764 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7765 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7766 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7768 * sysdeps/sparc/nptl/sem_init.c: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7770 * sysdeps/sparc/nptl/sem_post.c: ... here.
7771 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7772 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7773 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7774 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7775 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7776 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7777 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7778 (libpthread-routines): Add cpu_relax.
7779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7781 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7782 (librt: GLIBC_2.3.3): New version set.
7783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7784 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7785 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7786 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7789 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7792 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7794 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7795 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7796 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7798 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7800 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7803 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7807 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7811 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7815 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7819 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7823 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7826 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7832 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7834 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7837 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7839 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7841 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7843 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7845 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7846 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7847 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7848 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7849 * nscd/nscd.c: Likewise.
7850 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7851 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7852 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7853 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7855 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7856 <kernel-features.h>.
7857 (init_mq_netlink): Remove conditional have_sock_cloexec
7858 definitions. Remove code conditional on have_sock_cloexec < 0.
7859 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7860 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7861 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7862 <kernel-features.h>.
7863 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7864 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7866 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7869 Add tests for memset_chk and memset.
7871 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7874 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7877 * elf/tst-dl-iter-static.c: New file.
7878 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7880 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7883 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7885 * sysdeps/unix/sysv/linux/kernel-features.h
7886 (__ASSUME_F_GETOWN_EX): Remove macro.
7887 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7888 <kernel-features.h>.
7889 (miss_F_GETOWN_EX): Remove variable or macro.
7890 (do_fcntl): Do not check miss_F_GETOWN_EX.
7891 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7896 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7897 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7899 * sysdeps/unix/sysv/linux/kernel-features.h
7900 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7901 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7902 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7903 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7905 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7908 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7909 Fix calculation of the symbol's value.
7910 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7911 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7912 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7913 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7914 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7915 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7916 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7917 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7918 (modules-names): Add `tst-armtlsdescmod',
7919 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7920 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7921 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7922 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7923 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7924 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7925 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7926 ($(objpfx)tst-armtlsdescloc): New dependency.
7927 ($(objpfx)tst-armtlsdescextnow): Likewise.
7928 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7929 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7931 * sysdeps/arm/configure: Regenerate.
7933 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7935 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7936 (__atfct_seterrno_2): Likewise.
7937 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7938 <kernel-features.h>.
7939 (__ASSUME_ATFCTS): Do not undefine and redefine.
7940 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7941 (__have_atfcts): Remove conditional definition.
7942 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7943 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7944 unreachable if [__ASSUME_ATFCTS].
7945 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7946 not undefine and redefine.
7947 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7948 <kernel-features.h>.
7949 (faccessat) [__NR_faccessat]: Make code unconditional.
7950 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7951 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7952 <kernel-features.h>.
7953 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7954 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7955 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7956 <kernel-features.h>.
7957 (fchownat) [__NR_fchownat]: Make code unconditional.
7958 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7959 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7960 <kernel-features.h>.
7961 (futimesat) [__NR_futimesat]: Make code unconditional.
7962 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7963 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7964 <kernel-features.h>.
7965 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7966 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7967 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7968 <kernel-features.h>.
7969 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7970 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7971 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7972 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7973 <kernel-features.h>.
7974 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7975 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7976 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7977 <kernel-features.h>.
7978 (linkat) [__NR_linkat]: Make code unconditional.
7979 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7980 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7981 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7982 <kernel-features.h>.
7983 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7984 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7985 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7986 <kernel-features.h>.
7987 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7988 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7989 * sysdeps/unix/sysv/linux/openat.c: Do not include
7990 <kernel-features.h>.
7991 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7992 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7993 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7994 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7995 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7996 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7997 <kernel-features.h>.
7998 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7999 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8000 result of INLINE_SYSCALL directly, not via int variable.
8001 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8002 <kernel-features.h>.
8003 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8004 (renameat) [__NR_renameat]: Make code unconditional.
8005 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8006 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8007 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8008 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8009 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8010 (__ASSUME_ATFCTS): Do not undefine and redefine.
8011 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8012 <kernel-features.h>.
8013 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8014 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8015 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8016 <kernel-features.h>.
8017 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8018 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8019 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8020 (__ASSUME_ATFCTS): Do not undefine and redefine.
8021 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8022 <kernel-features.h>.
8023 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8024 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8025 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8026 <kernel-features.h>.
8027 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8028 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8030 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8032 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8034 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8037 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8038 constructed tree before returning error.
8039 * posix/bug-regexp36.c: Expand test case.
8041 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8044 * math/libm-test.inc (scalbln_test_date):
8045 Add errno expectations.
8046 * math/w_scalblnf.c: New File.
8047 Add wrapper which checks for setting errno to ERANGE.
8048 Add weak_alias for corresponding scalbln function.
8049 * math/w_scalbln.c: Likewise.
8050 * math/w_scalblnl.c: Likewise.
8051 * math/Makefile (libm-calls): Add w_scalbln.
8052 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8053 Remove weak_alias for corresponding scalbln function.
8054 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8058 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8059 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8060 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8061 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8062 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8063 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8064 Remove long_double_symbol for scalblnl function in libm, libc.
8065 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8066 Add wrapper which checks for setting errno to ERANGE.
8067 Add long_double_symbol for scalblnl function in libm, libc.
8068 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8069 Remove long_double_symbol for scalblnl in libm.
8070 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8071 Add wrapper which checks for setting errno to ERANGE.
8072 Add long_double_symbol for scalblnl function in libm.
8073 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8074 Do not use wrapper because of own implementation.
8076 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8078 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8079 3 bytes for __pad1 for x32.
8080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8082 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8083 H.J. Lu <hongjiu.lu@intel.com>
8085 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8086 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8087 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8088 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8089 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8091 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8094 * posix/regcomp.c (parse_expression): Deallocate partially
8095 constructed tree before returning error.
8096 * posix/Makefile.c (tests): Add bug-regex36.
8097 (generated): Add bug-regex36.mtrace.
8098 (tests-special): Add $(objpfx)bug-regex36-mem.out
8099 (bug-regex36-ENV): New variable.
8100 ($(objpfx)bug-regex36-mem.out): New rule.
8101 * posix/bug-regex36.c: New file.
8103 2014-06-19 Will Newton <will.newton@linaro.org>
8105 * malloc/malloc.c (systrim): If extra is zero then return
8108 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8110 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8112 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
8114 * sysdeps/aarch64/strchr.S: New file.
8116 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8119 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8120 from arguments -2 or below.
8121 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8122 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8124 2014-06-18 Andreas Schwab <schwab@suse.de>
8127 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8128 of a bracket expr not to run off the end of the string.
8129 * posix/Makefile (tests): Add tst-fnmatch3.
8130 * posix/tst-fnmatch3.c: New file.
8132 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8134 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8135 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8136 [$(cross-compiling) = no]: Likewise.
8137 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8138 [$(cross-compiling) = no]: Likewise.
8140 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8143 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8144 double, adjusted for any remainder from the high double.
8145 * math/libm-test.inc (nearbyint): Add tests.
8148 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8150 * nptl/sysdeps/powerpc/Makefile: Moved ...
8151 * sysdeps/powerpc/nptl/Makefile: ... here.
8152 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8153 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8154 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8155 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8156 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8157 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8158 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8159 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8160 * nptl/sysdeps/powerpc/tls.h: Moved ...
8161 * sysdeps/powerpc/nptl/tls.h: ... here.
8163 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8166 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8167 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8168 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8169 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8170 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8171 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8172 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8173 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8174 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8176 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8178 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8180 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8182 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8185 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8188 2014-06-16 Florian Weimer <fweimer@redhat.com>
8191 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8192 non-executed part of the test.
8194 2014-06-16 Andreas Schwab <schwab@suse.de>
8196 * string/bits/string2.h (strdup, strndup): Update feature guard.
8198 2014-06-14 David S. Miller <davem@davemloft.net>
8200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8202 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8204 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8205 that was previously under [RESET_PID].
8206 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8208 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8209 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8210 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8211 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8212 (__libc_vfork): New strong alias.
8213 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8215 2014-06-14 Andi Kleen <ak@linux.intel.com>
8217 * sysdeps/generic/elide.h: New file.
8219 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8221 * Makefile (installed-headers): Adjust path of pthread.h header.
8223 2014-06-13 Roland McGrath <roland@hack.frob.com>
8225 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8226 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8227 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8228 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8230 * nptl/sysdeps/s390/Makefile: Moved ...
8231 * sysdeps/s390/nptl/Makefile: ... here.
8232 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8233 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8234 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8235 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8236 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8237 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8238 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8239 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8240 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8241 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8242 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8243 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8244 * nptl/sysdeps/s390/tls.h: Moved ...
8245 * sysdeps/s390/nptl/tls.h: ... here.
8247 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8248 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8250 2014-06-13 David S. Miller <davem@davemloft.net>
8252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8255 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8259 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8260 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8261 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8262 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8263 Remove RESET_PID cpp guards.
8264 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8265 Remove RESET_PID cpp guards.
8266 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8268 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8270 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8273 2014-06-13 Andi Kleen <ak@linux.intel.com>
8275 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8276 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8277 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8279 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8280 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8281 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8282 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8283 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8284 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8285 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8286 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8287 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8288 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8289 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8290 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8291 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8292 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8293 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8294 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8296 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8297 (pthread_rwlock_rdlock): Add elision.
8298 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8299 (pthread_rwlock_wrlock): Add elision.
8300 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8301 (pthread_rwlock_trywrlock): Add elision.
8302 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8303 (pthread_rwlock_tryrdlock): Add elision.
8304 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8305 (pthread_rwlock_tryrdlock): Add elision unlock.
8306 * nptl/sysdeps/pthread/pthread.h:
8307 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8308 (PTHREAD_RWLOCK_INITIALIZER,
8309 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8310 Handle new elision field.
8311 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8312 * sysdeps/arm/nptl/bits/pthreadtypes.h
8313 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8314 * sysdeps/sh/nptl/bits/pthreadtypes.h
8315 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8316 * sysdeps/tile/nptl/bits/pthreadtypes.h
8317 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8318 * sysdeps/a/nptl/bits/pthreadtypes.h
8319 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8320 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8321 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8322 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8323 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8324 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8325 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8326 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8328 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8329 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8330 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8331 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8332 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8334 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8335 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8336 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8337 (elision_init): Set try_xbegin to zero when no RTM.
8338 * sysdeps/x86/nptl/bits/pthreadtypes.h
8339 (pthread_rwlock_t): Change __pad1 to __rwelision.
8340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8342 2014-06-13 Andi Kleen <ak@linux.intel.com>
8344 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8345 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8346 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8347 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8349 2014-06-13 Meador Inge <meadori@codesourcery.com>
8352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8353 that the cached result has been set before returning it.
8355 2014-06-12 Roland McGrath <roland@hack.frob.com>
8357 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8358 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8360 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8362 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8364 * nptl/sysdeps/sparc/Makefile: Moved ...
8365 * sysdeps/sparc/nptl/Makefile: ... here.
8366 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8367 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8368 * nptl/sysdeps/sparc/tls.h: Moved ...
8369 * sysdeps/sparc/nptl/tls.h: ... here.
8370 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8371 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8372 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8373 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8374 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8375 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8376 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8377 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8378 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8379 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8380 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8381 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8382 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8383 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8384 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8385 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8386 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8387 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8389 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8390 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8392 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8393 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8395 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8396 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8399 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8401 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8402 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8404 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8405 (struct list_links): Type removed.
8406 (struct thread_node, struct timer_node): Replace struct list_links
8407 with struct list_head.
8408 (list_unlink_ip): Likewise.
8409 * sysdeps/pthread/timer_routines.c
8410 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8411 (list_append, list_insbefore): Likewise.
8412 (list_init): Function removed.
8413 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8414 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8415 * sysdeps/pthread/Makefile: ... here, new file.
8417 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8418 * sysdeps/nptl/Implies: ... here.
8419 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8420 * nptl/sysdeps/pthread/list.h: Moved ...
8421 * include/list.h: ... here.
8422 * nptl/sysdeps/pthread/createthread.c: Moved ...
8423 * nptl/createthread.c: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8425 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8426 * nptl/pt-longjmp.c: ... here.
8427 * nptl/sysdeps/pthread/Makefile: Moved ...
8428 * sysdeps/nptl/Makefile: ... here.
8429 * nptl/sysdeps/pthread/Subdirs: Moved ...
8430 * sysdeps/nptl/Subdirs: ... here.
8431 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8432 * sysdeps/nptl/aio_misc.h: ... here.
8433 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8434 * sysdeps/nptl/bits/libc-lock.h: ... here.
8435 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8436 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8437 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8438 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8439 * nptl/sysdeps/pthread/configure: Moved ...
8440 * sysdeps/nptl/configure: ... here.
8441 * nptl/sysdeps/pthread/configure.ac: Moved ...
8442 * sysdeps/nptl/configure.ac: ... here.
8443 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8444 * sysdeps/nptl/gai_misc.h: ... here.
8445 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8446 * sysdeps/nptl/librt-cancellation.c: ... here.
8447 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8448 * sysdeps/nptl/malloc-machine.h: ... here.
8449 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8450 * sysdeps/nptl/pthread-functions.h: ... here.
8451 * nptl/sysdeps/pthread/pthread.h: Moved ...
8452 * sysdeps/nptl/pthread.h: ... here.
8453 * nptl/sysdeps/pthread/setxid.h: Moved ...
8454 * sysdeps/nptl/setxid.h: ... here.
8455 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8456 * sysdeps/nptl/sigfillset.c: ... here.
8457 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8458 * sysdeps/nptl/tcb-offsets.h: ... here.
8459 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8460 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8461 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8462 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8463 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8464 * sysdeps/pthread/allocalim.h: ... here.
8465 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8466 * sysdeps/pthread/bits/sigthread.h: ... here.
8467 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8468 * sysdeps/pthread/flockfile.c: ... here.
8469 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8470 * sysdeps/pthread/ftrylockfile.c: ... here.
8471 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8472 * sysdeps/pthread/funlockfile.c: ... here.
8473 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8474 * sysdeps/pthread/posix-timer.h: ... here.
8475 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8476 * sysdeps/pthread/timer_create.c: ... here.
8477 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8478 * sysdeps/pthread/timer_delete.c: ... here.
8479 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8480 * sysdeps/pthread/timer_getoverr.c: ... here.
8481 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8482 * sysdeps/pthread/timer_gettime.c: ... here.
8483 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8484 * sysdeps/pthread/timer_routines.c: ... here.
8485 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8486 * sysdeps/pthread/timer_settime.c: ... here.
8487 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8488 * sysdeps/pthread/tst-timer.c: ... here.
8489 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8490 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8492 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8493 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8495 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8496 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8497 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8498 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8499 Update #include target.
8500 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8501 * sysdeps/i386/i686/nptl/Makefile: ... here.
8502 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8503 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8504 Update #include target.
8505 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8506 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8507 * nptl/sysdeps/i386/Makefile: Moved ...
8508 * sysdeps/i386/nptl/Makefile: ... here.
8509 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8510 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8511 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8512 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8513 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8514 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8515 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8516 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8517 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8518 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8519 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8520 * nptl/sysdeps/i386/tls.h: Moved ...
8521 * sysdeps/i386/nptl/tls.h: ... here.
8523 * sysdeps/sh/Makefile [$(subdir) = csu]
8524 (gen-as-const-headers): Add tcb-offsets.sym.
8525 * nptl/sysdeps/sh/Makefile: File removed.
8526 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8527 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8528 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8529 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8530 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8531 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8532 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8533 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8534 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8535 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8536 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8537 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8538 * nptl/sysdeps/sh/tls.h: Moved ...
8539 * sysdeps/sh/nptl/tls.h: ... here.
8540 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8541 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8542 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8543 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8544 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8545 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8546 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8547 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8548 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8549 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8550 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8551 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8552 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8553 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8554 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8555 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8556 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8557 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8558 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8559 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8560 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8561 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8562 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8563 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8564 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8566 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8569 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8570 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8571 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8572 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8573 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8574 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8575 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8576 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8577 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8578 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8579 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8580 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8581 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8582 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8583 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8584 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8585 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8586 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8587 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8589 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8591 * posix/spawn_faction_addopen.c: Include string.h.
8593 2014-06-11 Roland McGrath <roland@hack.frob.com>
8595 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8596 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8597 * nptl/sysdeps/x86_64/Makefile: Moved ...
8598 * sysdeps/x86_64/nptl/Makefile: ... here.
8599 * nptl/sysdeps/x86_64/configure: Moved ...
8600 * sysdeps/x86_64/nptl/configure: ... here.
8601 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8602 * sysdeps/x86_64/nptl/configure.ac: ... here.
8603 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8604 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8605 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8606 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8607 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8608 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8609 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8610 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8611 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8612 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8613 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8614 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8615 * nptl/sysdeps/x86_64/tls.h: Moved ...
8616 * sysdeps/x86_64/nptl/tls.h: ... here.
8617 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8618 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8619 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8620 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8622 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8624 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8628 2014-06-11 Joseph Myers <joseph@codesourcery.com>
8630 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8632 [POSIX] (off_t): Likewise.
8633 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8634 [POSIX] (S_ISBLK): Require macro.
8635 [POSIX] (S_ISCHR): Likewise.
8636 [POSIX] (S_ISDIR): Likewise.
8637 [POSIX] (S_ISFIFO): Likewise.
8638 [POSIX] (S_ISREG): Likewise.
8639 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8641 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8643 [POSIX] (time_t): Likewise.
8644 [POSIX] (timer_t): Likewise.
8646 2014-06-11 Florian Weimer <fweimer@redhat.com>
8649 * posix/spawn_int.h (struct __spawn_action): Make the path string
8650 non-const to support deallocation.
8651 * posix/spawn_faction_addopen.c
8652 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8653 * posix/spawn_faction_destroy.c
8654 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8655 path in all spawn_do_open actions.
8656 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8657 posix_spawn_file_actions_addopen.
8659 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8661 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8662 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8663 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8664 conditional code always true.
8665 (__libc_vfork): New alias.
8667 2014-06-11 Roland McGrath <roland@hack.frob.com>
8669 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8670 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8672 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8674 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8675 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8677 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8678 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8680 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8681 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8683 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8685 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8686 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8687 multiarch strcmp for PPC64.
8688 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8689 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8691 multiarch optimizations.
8692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8693 (__libc_ifunc_impl_list): Likewise.
8695 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8697 * benchtests/scripts/validate_benchout.py: New script.
8698 * benchtests/Makefile (bench-func): Call it.
8699 * benchtests/scripts/benchout.schema.json: New file.
8701 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8703 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8704 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8705 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8706 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8707 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8708 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8709 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8710 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8711 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8712 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8713 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8714 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8715 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8716 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8717 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8718 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8822 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8823 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8824 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8825 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8826 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8828 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8830 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8833 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8834 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8835 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8844 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8847 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8852 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8854 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8855 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8856 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8857 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8858 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8860 2014-06-10 Wilco <wdijkstr@arm.com>
8862 * math/test-fenv-return.c: New file.
8863 * math/Makefile: Add new test test-fenv-return.
8865 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8868 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8870 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8871 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8872 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8873 0.0L for an argument of 1.0L.
8874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8876 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8877 value when x - 1 is zero.
8878 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8879 * sysdeps/i386/fpu/libm-test-ulps: Update.
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8882 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8885 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8887 2014-06-09 Roland McGrath <roland@hack.frob.com>
8889 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8890 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8892 2014-06-09 Roland McGrath <roland@hack.frob.com>
8894 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8895 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8897 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8898 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8900 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8901 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8903 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8904 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8906 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8907 if not already defined.
8908 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8909 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8910 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8911 (TLS_INIT_TP): Use it.
8912 (TLS_DEFINE_INIT_TP): New macro.
8913 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8915 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8917 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8919 [POSIX] (IXANY): Likewise.
8920 [POSIX] (OLCUC): Likewise.
8921 [POSIX || POSIX2008] (CBAUD): Do not allow.
8922 [POSIX || POSIX2008] (DEFECHO): Likewise.
8923 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8924 [POSIX || POSIX2008] (ECHOKE): Likewise.
8925 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8926 [POSIX || POSIX2008] (EXTA): Likewise.
8927 [POSIX || POSIX2008] (EXTB): Likewise.
8928 [POSIX || POSIX2008] (FLUSHO): Likewise.
8929 [POSIX || POSIX2008] (LOBLK): Likewise.
8930 [POSIX || POSIX2008] (PENDIN): Likewise.
8931 [POSIX || POSIX2008] (SWTCH): Likewise.
8932 [POSIX || POSIX2008] (VDISCARD): Likewise.
8933 [POSIX || POSIX2008] (VDSUSP): Likewise.
8934 [POSIX || POSIX2008] (VLNEXT): Likewise.
8935 [POSIX || POSIX2008] (VREPRINT): Likewise.
8936 [POSIX || POSIX2008] (VSTATUS): Likewise.
8937 [POSIX || POSIX2008] (VWERASE): Likewise.
8938 (B*): Change to B[0123456789]*.
8939 * conform/data/time.h-data [POSIX || UNIX98]
8940 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8941 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8942 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8943 [POSIX] (tm_*): Do not allow.
8945 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8947 * Makefile (install): Don't set LANGUAGE.
8948 * Makefile.in (install): Likewise.
8949 * assert/Makefile (test-assert-ENV): Remove variable.
8950 (test-assert-perr-ENV): Likewise.
8951 * elf/Makefile (neededtest4-ENV): Likewise.
8952 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8953 [$(cross-compiling) = no]: Don't set LANGUAGE.
8954 * io/ftwtest-sh (LANG): Remove variable.
8955 * libio/Makefile (tst-widetext-ENV): Likewise.
8956 * manual/install.texi (Running make install): Don't refer to
8957 environment settings for make install.
8958 * INSTALL: Regenerated.
8959 * nptl/tst-tls6.sh: Don't set LANG.
8960 * posix/globtest.sh (LANG): Remove variable.
8961 * string/Makefile (tester-ENV): Likewise.
8962 (inl-tester-ENV): Likewise.
8963 (noinl-tester-ENV): Likewise.
8964 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8965 [$(cross-compiling) = no]: Don't set LANGUAGE.
8966 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8967 without explicit environment settings.
8969 2014-06-06 Roland McGrath <roland@hack.frob.com>
8971 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8972 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8973 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8974 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8976 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8978 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8979 other files in the crypt directory.
8980 * crypt/crypt.c: Remove duplicate includes.
8981 * crypt/crypt-entry.c: Likewise.
8982 * crypt/crypt_util.c: Likewise.
8984 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8986 * Makeconfig (run-program-env): New variable.
8987 (run-program-prefix-before-env): Likewise.
8988 (run-program-prefix-after-env): Likewise.
8989 (run-program-prefix): Define in terms of new variables.
8990 (built-program-cmd-before-env): New variable.
8991 (built-program-cmd-after-env): Likewise.
8992 (built-program-cmd): Define in terms of new variables.
8993 (test-program-prefix-before-env): New variable.
8994 (test-program-prefix-after-env): Likewise.
8995 (test-program-prefix): Define in terms of new variables.
8996 (test-program-cmd-before-env): New variable.
8997 (test-program-cmd-after-env): Likewise.
8998 (test-program-cmd): Define in terms of new variables.
8999 * Rules (make-test-out): Use $(run-program-env).
9000 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9001 (help): Do not mention environment variables. Mention
9002 --timeoutfactor option.
9003 (timeoutfactor): New variable.
9004 (blacklist_exports): Remove function.
9005 (exports): Remove variable.
9006 (command): Do not include ${exports}.
9007 * manual/install.texi (Configuring and compiling): Do not mention
9008 test wrappers preserving environment variables. Mention that last
9009 assignment to a variable must take precedence.
9010 * INSTALL: Regenerated.
9011 * benchtests/Makefile (run-bench): Use $(run-program-env).
9012 * catgets/Makefile ($(objpfx)test1.cat): Use
9013 $(built-program-cmd-before-env), $(run-program-env) and
9014 $(built-program-cmd-after-env).
9015 ($(objpfx)test2.cat): Do not specify environment variables
9017 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9018 $(run-program-env) and $(built-program-cmd-after-env).
9019 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9020 $(run-program-env) and $(test-program-cmd-after-env).
9021 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9023 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9024 run_program_env and test_program_cmd_after_env arguments.
9025 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9026 * elf/tst-pathopt.sh: Use run_program_env argument.
9027 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9028 $(test-wrapper-env) and $(run-program-env).
9029 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9030 run_program_env arguments.
9031 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9032 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9033 $(test-program-prefix-before-env), $(run-program-env) and
9034 $(test-program-prefix-after-env).
9035 ($(objpfx)tst-gettext2.out): Likewise.
9036 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9037 run_program_env and test_program_prefix_after_env arguments.
9038 * intl/tst-gettext2.sh: Likewise.
9039 * intl/tst-gettext4.sh: Do not set environment variables
9041 * intl/tst-gettext6.sh: Likewise.
9042 * intl/tst-translit.sh: Likewise.
9043 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9044 $(test-program-prefix-before-env), $(run-program-env) and
9045 $(test-program-prefix-after-env).
9046 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9047 run_program_env and test_program_prefix_after_env arguments.
9048 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9049 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9050 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9051 explicitly with each use of ${test_wrapper_env}.
9052 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9053 $(test-program-prefix-before-env), $(run-program-env) and
9054 $(test-program-prefix-after-env).
9055 * posix/tst-getconf.sh: Do not set environment variables
9057 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9058 run_program_env and test_program_prefix_after_env arguments.
9059 * stdio-common/tst-printf.sh: Do not set environment variables
9061 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9062 $(test-program-prefix-before-env), $(run-program-env) and
9063 $(test-program-prefix-after-env).
9064 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9065 run_program_env and test_program_prefix_after_env arguments.
9066 Split $test calls into $test_pre and $test.
9067 * timezone/Makefile (build-testdata): Use
9068 $(built-program-cmd-before-env), $(run-program-env) and
9069 $(built-program-cmd-after-env).
9071 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9074 strlen for non SHARED builds.
9076 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9078 * nptl/allocatestack.c (check_list): Inlined function...
9079 (__reclaim_stacks): ... here.
9081 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9084 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9087 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9089 * Rules (make-test-out): Include
9090 LOCPATH=$(common-objpfx)localedata in default environment.
9091 * debug/Makefile (tst-chk1-ENV): Remove variable.
9092 (tst-chk2-ENV): Likewise.
9093 (tst-chk3-ENV): Likewise.
9094 (tst-chk4-ENV): Likewise.
9095 (tst-chk5-ENV): Likewise.
9096 (tst-chk6-ENV): Likewise.
9097 (tst-lfschk1-ENV): Likewise.
9098 (tst-lfschk2-ENV): Likewise.
9099 (tst-lfschk3-ENV): Likewise.
9100 (tst-lfschk4-ENV): Likewise.
9101 (tst-lfschk5-ENV): Likewise.
9102 (tst-lfschk6-ENV): Likewise.
9103 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9104 (tst-iconv7-ENV): Likewise.
9105 * intl/Makefile (LOCPATH-ENV): Likewise.
9106 (tst-codeset-ENV): Likewise.
9107 (tst-gettext3-ENV): Likewise.
9108 (tst-gettext5-ENV): Likewise.
9109 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9110 (tst-fopenloc-ENV): Likewise.
9111 (tst-fgetws-ENV): Remove variable.
9112 (tst-ungetwc1-ENV): Likewise.
9113 (tst-ungetwc2-ENV): Likewise.
9114 (bug-ungetwc2-ENV): Likewise.
9115 (tst-swscanf-ENV): Likewise.
9116 (bug-ftell-ENV): Likewise.
9117 (tst-fgetwc-ENV): Likewise.
9118 (tst-fseek-ENV): Likewise.
9119 (tst-ftell-partial-wide-ENV): Likewise.
9120 (tst-ftell-active-handler-ENV): Likewise.
9121 (tst-ftell-append-ENV): Likewise.
9122 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9123 (tst-regexloc-ENV): Likewise.
9124 (bug-regex1-ENV): Likewise.
9125 (tst-regex-ENV): Likewise.
9126 (tst-regex2-ENV): Likewise.
9127 (bug-regex5-ENV): Likewise.
9128 (bug-regex6-ENV): Likewise.
9129 (bug-regex17-ENV): Likewise.
9130 (bug-regex18-ENV): Likewise.
9131 (bug-regex19-ENV): Likewise.
9132 (bug-regex20-ENV): Likewise.
9133 (bug-regex22-ENV): Likewise.
9134 (bug-regex23-ENV): Likewise.
9135 (bug-regex25-ENV): Likewise.
9136 (bug-regex26-ENV): Likewise.
9137 (bug-regex30-ENV): Likewise.
9138 (bug-regex32-ENV): Likewise.
9139 (bug-regex33-ENV): Likewise.
9140 (bug-regex34-ENV): Likewise.
9141 (bug-regex35-ENV): Likewise.
9142 (tst-rxspencer-ENV): Likewise.
9143 (tst-rxspencer-no-utf8-ENV): Likewise.
9144 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9145 (tst-sscanf-ENV): Likewise.
9146 (tst-swprintf-ENV): Likewise.
9147 (tst-swscanf-ENV): Likewise.
9148 (test-vfprintf-ENV): Likewise.
9149 (scanf13-ENV): Likewise.
9150 (bug14-ENV): Likewise.
9151 (tst-grouping-ENV): Likewise.
9152 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9153 (tst-strtod3-ENV): Likewise.
9154 (tst-strtod4-ENV): Likewise.
9155 (tst-strtod5-ENV): Likewise.
9156 (testmb2-ENV): Likewise./
9157 * string/Makefile (tst-strxfrm-ENV): Likewise.
9158 (tst-strxfrm2-ENV): Likewise.
9159 (bug-strcoll1-ENV): Likewise.
9160 (test-strcasecmp-ENV): Likewise.
9161 (test-strncasecmp-ENV): Likewise.
9162 * time/Makefile (tst-strptime-ENV): Likewise.
9163 (tst-ftime_l-ENV): Likewise.
9164 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9165 (tst-mbrtowc-ENV): Likewise.
9166 (tst-wcrtomb-ENV): Likewise.
9167 (tst-mbrtowc2-ENV): Likewise.
9168 (tst-c16c32-1-ENV): Likewise.
9169 (tst-mbsnrtowcs-ENV): Likewise.
9171 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9173 * manual/resource.texi (How to get information about the memory
9174 subsystem?): Fix typo.
9175 Reported by Peon de la Parra Ivan <peon@keba.com>
9177 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9180 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9181 (pthread_spin_lock): Branch out of spin loop to proper location.
9182 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9183 (pthread_spin_lock): Likewise.
9185 * nptl/tst-spin4.c: New test.
9186 * nptl/Makefile (tests): Add tst-spin4.
9188 2014-06-03 Andreas Schwab <schwab@suse.de>
9191 * resolv/res_send.c (send_dg): Reload file descriptor after
9194 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9196 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9198 2014-06-03 Richard Henderson <rth@redhat.com>
9200 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9201 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9202 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9203 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9204 in the SAVE_PID block.
9205 (__libc_vfork): New alias.
9206 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9208 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9209 child in registers, not on the stack. Remove RESET_PID conditionals.
9210 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9212 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9214 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9216 2014-06-03 Wilco <wdijkstr@arm.com>
9218 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9219 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9220 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9221 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9222 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9225 2014-06-03 Wilco <wdijkstr@arm.com>
9227 * sysdeps/aarch64/fpu/math_private.h
9228 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9229 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9230 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9231 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9234 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9236 * crypt/crypt-private.h: Include ufc-crypt.h.
9237 (__b64_from_24bit): Declare extern.
9238 * crypt/crypt_util.c(__b64_from_24bit): New function.
9239 (b64t): New static const variable.
9240 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9241 (b64t): Remove variable.
9242 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9243 * crypt/sha256-crypt.c: Include crypt-private.h.
9244 (b64t): Remove variable.
9245 (__sha256_crypt_r): Remove b64_from_24bit and replace
9246 with __b64_from_24bit.
9247 * crypt/sha512-crypt.c: Likewise.
9249 2014-06-02 Roland McGrath <roland@hack.frob.com>
9251 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9252 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9253 Label the code __libc_vfork rather than __vfork.
9254 [!NOT_IN_libc] (vfork): Define as weak alias.
9255 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9256 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9257 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9259 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9261 * malloc/malloc.c (malloc_info): Fix format specifier for
9264 2014-06-02 Wilco <wdijkstr@arm.com>
9266 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9269 2014-06-02 Wilco <wdijkstr@arm.com>
9272 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9273 Rewrite to reduce FPCR/FPSR accesses.
9275 2014-06-01 David S. Miller <davem@davemloft.net>
9277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9279 2014-05-31 David S. Miller <davem@davemloft.net>
9281 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9282 to occur in round to nearest mode when |x| >= 2.0
9284 2014-05-30 Richard Henderson <rth@twiddle.net>
9286 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9287 (PSEUDO_RET_NOERRNO): Remove.
9288 (ret): Don't redefine.
9289 (ret_NOERRNO): Define in terms of ret.
9290 (ret_ERRVAL): Likewise.
9292 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9293 use of PSEUDO_RET; perform the error check directly.
9295 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9297 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9300 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9302 * malloc/malloc (malloc_info): Fix formatting.
9304 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9305 Roland McGrath <roland@hack.frob.com>
9307 * malloc/malloc (malloc_info): Also print mmapped statistics.
9309 2014-05-30 Roland McGrath <roland@hack.frob.com>
9311 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9312 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9314 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9316 * malloc/malloc.c (malloc_info): Inline mi_arena.
9318 2014-05-29 Richard Henderson <rth@twiddle.net>
9320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9321 Remove comma before expanding ASM_ARGS_##nr.
9322 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9323 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9325 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9326 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9327 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9328 (ASM_ARGS_1): Add leading comma.
9330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9331 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9332 to __errno_location.
9333 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9334 Remove the expected plt for __errno_location.
9336 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9337 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9340 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9341 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9342 it and break it down.
9343 (DOCARGS_0, DOCARGS_1): Do nothing.
9344 (DOCARGS_2): Update to store into the new stack frame.
9345 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9346 (UNDOCARGS_1): Update to restore from the new stack frame.
9347 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9348 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9351 (SINGLE_THREAD_P): New parameter for result regno.
9352 (PSEUDO): Update to match; use cbz instead of beq.
9354 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9355 Use ENTRY to define the _nocancel entry point. Share the syscall
9356 and syscall error check paths with the cancel path.
9359 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9360 whitespace; tabs before and after asm mnemonics.
9362 2014-05-29 Eric Wong <normalperson@yhbt.net>
9365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9366 Call fstat64 or stat64 internally, depending on arguments passed.
9367 Replace stat buffer argument with file descriptor argument.
9368 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9369 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9370 Pass fd to __internal_statvfs instead of calling fstat64.
9371 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9372 Pass fd to __internal_statvfs64 instead of calling fstat64.
9373 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9374 Pass -1 to __internal_statvfs instead of calling stat64.
9375 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9376 Pass -1 to __internal_statvfs64 instead of calling stat64.
9378 2014-05-28 Roland McGrath <roland@hack.frob.com>
9380 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9381 that was previously under [RESET_PID].
9382 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9384 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9385 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9387 2014-05-27 Roland McGrath <roland@hack.frob.com>
9389 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9391 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9392 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9394 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9396 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9398 2014-05-27 Andreas Schwab <schwab@suse.de>
9400 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9402 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9403 * elf/rtld.c (init_tls, dl_main): Likewise.
9404 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9405 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9406 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9407 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9408 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9409 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9410 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9411 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9412 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9413 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9414 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9415 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9416 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9417 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9418 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9419 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9420 * sysdeps/generic/tls.h: Update description.
9422 2014-05-27 Will Newton <will.newton@linaro.org>
9425 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9426 and restore r2 rather than just restoring.
9428 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9431 * libio/tst-ftell-append.c: New test case.
9432 * libio/Makefile (tests): Add test case.
9433 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9435 * libio/wfileops.c (do_ftell_wide): Likewise.
9437 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9441 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9445 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9446 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9447 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9448 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9449 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9450 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9458 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9460 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9461 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9463 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9464 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9466 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9468 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9470 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9471 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9472 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9474 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9475 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9477 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9500 conditional [RESET_PID].
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9504 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9509 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9510 (__libc_vfork): New strong alias.
9511 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9518 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9519 (__libc_vfork): New strong alias.
9520 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9525 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9527 * malloc/malloc.c (mi_arena): New function.
9528 (malloc_info): Remove nested function mi_arena. Call non-nosted
9531 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9533 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9535 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9536 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9537 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9538 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9539 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9540 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9541 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9543 2014-05-26 Andreas Schwab <schwab@suse.de>
9546 * locale/programs/repertoire.c (repertoire_read): Add slash
9547 between I18NPATH element and file name.
9548 * locale/programs/locfile.c (locfile_read): Likewise.
9550 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9552 * nptl/pthread_mutexattr_settype.c
9553 (__pthread_mutexattr_settype):
9554 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9556 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9558 * nptl/tst-mutex5 (do_test):
9559 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9561 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9563 * benchtests/README: Document 'init' directive.
9564 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9566 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9567 (parse_file): Recognize 'init' directive.
9569 2014-05-26 Kyle McMartin <kyle@redhat.com>
9572 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9573 alignment of struct pthread.
9575 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9578 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9579 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9580 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9581 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9583 2014-05-25 Richard Henderson <rth@twiddle.net>
9585 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9586 (SINGLE_THREAD_P_PIC): Remove.
9587 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9588 (SINGLE_THREAD_P_PIC): Remove.
9590 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9591 branch to syscall error ...
9593 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9594 from __local_syscall_error to .Lsyscall_error.
9595 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9596 (SYSCALL_ERROR): Update label name.
9598 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9599 Do not use DOARGS/UNDOARGS.
9600 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9601 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9602 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9603 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9604 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9606 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9609 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9610 define if !NOT_IN_libc.
9611 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9612 define with non-default symbol versions.
9614 2014-05-23 Richard Henderson <rth@twiddle.net>
9616 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9617 (vfork, __vfork): Define via compat_symbol.
9619 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9620 [!HAVE_IFUNC] (vfork_compat): Remove.
9621 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9623 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9626 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9627 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9630 2014-05-23 Richard Henderson <rth@twiddle.net>
9632 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9633 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9634 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9635 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9637 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9638 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9639 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9640 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9641 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9642 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9643 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9644 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9645 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9646 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9647 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9648 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9649 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9650 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9651 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9652 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9653 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9654 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9656 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9657 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9658 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9659 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9660 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9661 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9662 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9663 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9664 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9666 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9667 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9668 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9670 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9672 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9673 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9674 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9675 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9676 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9677 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9678 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9679 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9680 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9681 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9682 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9683 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9684 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9685 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9686 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9687 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9688 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9689 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9690 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9691 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9692 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9694 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9695 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9696 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9697 before exiting on error.
9698 (__libc_vfork): New strong alias.
9699 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9700 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9702 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9703 that was previously under [RESET_PID].
9704 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9706 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9708 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9711 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9712 value when x - 1 is zero.
9713 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9714 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9715 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9716 0.0L for an argument of 1.0L.
9717 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9719 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9720 value when x - 1 is zero.
9721 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9722 * sysdeps/i386/fpu/libm-test-ulps: Update.
9723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9725 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9727 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9728 alphasort and versionsort.
9730 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9732 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9734 [copysignf]: Likewise.
9736 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9738 * crypt/md5-crypt.c: Fix formatting.
9740 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9742 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9743 (b64_from_24bit): New function.
9745 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9747 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9748 libc_hidden_builtin_def to ifunc.
9749 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9750 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9752 2014-05-21 Roland McGrath <roland@hack.frob.com>
9754 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9755 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9757 2014-05-21 Joseph Myers <joseph@codesourcery.com>
9759 * nscd/Depend (linuxthreads): Remove.
9761 * resolv/Depend (linuxthreads): Remove.
9762 * rt/Depend (linuxthreads): Remove.
9764 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9765 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9766 $(common-objpfx)elf/.
9767 (link-libc-before-gnulib): Likewise.
9768 (elfobjdir): Remove variable.
9769 * Makefile (install): Use $(elf-objpfx) instead of
9770 $(common-objpfx)elf/.
9771 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9773 (link-libc-deps): Likewise.
9774 ($(common-objpfx)libc.so): Likewise.
9775 ($(common-objpfx)linkobj/libc.so): Likewise.
9776 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9777 instead of $(common-objpfx)elf/.
9778 (symbolic-link-list): Likewise.
9779 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9780 [$(cross-compiling) = no]: Likewise.
9781 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9783 (static-gnulib-arch): Likewise.
9784 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9785 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9786 $(common-objpfx)elf/.
9788 2014-05-21 Richard Henderson <rth@redhat.com>
9790 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9791 (SINGLE_THREAD_P): Use the correct width load. Fold
9792 into the ldr offset.
9794 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9795 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9797 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9799 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9800 (libgcc_s_resume): Use __attribute_used__.
9801 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9804 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9807 optimization when used with float constants.
9809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9811 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9814 * locale/nl_langinfo_l.c: Make direct reference to every
9815 _nl_current_CATEGORY symbol.
9816 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9817 (tests-static): Add tst-langinfo-static.
9818 (tests-special): Add tst-langinfo-static.out.
9819 ($(objpfx)tst-langinfo.out): Redirect output.
9820 ($(objpfx)tst-langinfo-static.out): New.
9821 * localedata/tst-langinfo.sh: Send output to stdout.
9822 * localedata/tst-langinfo-static.c: New file.
9825 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9826 when the shift amount is modulo the limb size.
9828 2014-05-20 Richard Henderson <rth@redhat.com>
9831 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9832 Change type of sa_flags from unsigned int to int.
9835 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9837 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9839 2014-05-20 Will Newton <will.newton@linaro.org>
9841 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9842 Test the return value of the system call in the nocancel case.
9844 2014-05-20 Will Newton <will.newton@linaro.org>
9845 Yvan Roux <yvan.roux@linaro.org>
9847 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9848 #include of asm/ptrace.h.
9849 (PTRACE_GET_THREAD_AREA): Remove #undef.
9850 (PTRACE_GETHBPREGS): Likewise.
9851 (PTRACE_SETHBPREGS): Likewise.
9852 (struct user_regs_struct): New structure.
9853 (struct user_fpsimd_struct): New structure.
9854 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9855 #include of asm/ptrace.h and second #include of sys/user.h.
9856 (PTRACE_GET_THREAD_AREA): Remove #undef.
9857 (PTRACE_GETHBPREGS): Likewise.
9858 (PTRACE_SETHBPREGS): Likewise.
9859 (ELF_NGREG): Use new struct user_regs_struct.
9860 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9862 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9864 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9865 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9867 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9870 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9871 membar to avoid block loads/stores to overlap previous stores.
9873 2014-05-17 Richard Henderson <rth@redhat.com>
9875 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9876 Create the __##syscall_name##_nocancel entry point.
9877 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9878 Remove; let the sysdep-cancel.h code create it.
9880 2014-05-17 David S. Miller <davem@davemloft.net>
9882 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9883 Protect with __USE_GNU.
9884 (TIOCSET_TEMPT): Likewise.
9885 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9886 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9887 these are already provided in bits/ioctl-types.h
9889 2014-05-16 Roland McGrath <roland@hack.frob.com>
9891 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9892 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9894 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9895 Use wait4 regardless of [__NR_waitpid].
9897 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9900 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9901 (_FP_NANSIGN_Q): Set the quiet bit.
9903 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9905 * benchtests/Makefile
9906 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9907 not $(common-objpfx)math/libm.so.
9908 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9909 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9910 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9911 $(common-objpfx)dlfcn/libdl.so.
9912 ($(objpfx)tst-audit8): Depend on $(libm), not
9913 $(common-objpfx)math/libm.so.
9914 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9915 not $(common-objpfx)dlfcn/libdl.so.
9917 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9918 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9919 [$(build-shared) = yes].
9920 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9921 $(common-objpfx)nptl/libpthread.so.
9922 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9923 $(common-objpfx)math/libm.so$(libm.so-version) or
9924 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9925 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9926 $(common-objpfx)dlfcn/libdl.so.
9927 * setjmp/Makefile (link-libm): Remove variable.
9928 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9929 * stdio-common/Makefile (link-libm): Remove variable.
9930 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9931 * stdlib/Makefile (link-libm): Remove variable.
9932 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9933 ($(objpfx)tst-strtod-round): Likewise.
9934 ($(objpfx)tst-tininess): Likewise.
9935 ($(objpfx)tst-strtod-underflow): Likewise.
9936 ($(objpfx)tst-strtod6): Likewise.
9937 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9938 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9939 $(common-objpfx)dlfcn/libdl.so.
9941 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9943 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9944 BSD terminal modes definitions.
9946 2014-05-16 Roland McGrath <roland@hack.frob.com>
9948 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9949 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9951 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9952 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9953 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9954 Don't do #include_next.
9955 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9956 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9957 Don't do #include_next.
9958 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9959 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9960 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9961 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9963 2014-05-16 Allan McRae <allan@archlinux.org>
9965 * po/sv.po: Update Swedish translation from translation project.
9967 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9970 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9973 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9974 errno if the TIOCGPTN ioctl fails with an error different than
9976 * login/tst-ptsname.c: New file.
9977 * login/Makefile (tests): Add tst-ptsname.
9980 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9983 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9987 herrno to return EAI_AGAIN.
9989 2014-05-14 Roland McGrath <roland@hack.frob.com>
9991 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9992 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9993 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9994 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9995 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9996 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9997 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9998 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9999 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10000 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10001 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10002 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10003 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10004 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10006 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10008 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10009 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10010 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10011 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10012 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10014 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10016 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10017 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10018 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10019 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10020 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10022 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10024 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10027 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10029 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10031 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10033 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10035 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10037 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10039 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10041 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10043 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10045 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10047 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10049 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10051 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10053 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10056 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10058 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10060 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10062 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10064 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10066 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10068 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10070 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10072 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10074 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10077 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10079 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10082 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10083 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10084 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10085 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10086 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10087 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10088 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10089 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10090 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10091 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10092 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10093 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10094 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10095 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10096 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10097 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10098 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10099 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10100 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10101 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10102 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10103 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10104 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10105 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10106 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10107 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10108 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10109 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10110 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10111 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10113 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10114 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10116 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10117 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10118 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10119 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10120 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10121 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10123 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10124 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10126 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10127 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10129 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10130 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10132 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10133 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10134 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10135 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10137 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10138 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10139 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10140 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10141 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10142 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10143 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10144 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10146 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10147 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10149 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10151 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10152 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10153 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10154 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10155 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10157 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10159 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10161 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10162 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10163 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10164 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10165 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10166 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10168 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10169 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10171 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10172 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10174 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10175 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10177 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10178 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10179 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10180 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10182 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10183 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10184 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10185 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10186 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10187 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10188 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10189 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10191 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10192 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10194 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10196 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10197 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10198 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10199 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10200 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10202 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10204 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10206 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10207 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10208 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10209 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10210 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10211 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10212 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10213 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10214 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10215 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10217 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10218 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10220 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10221 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10223 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10224 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10226 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10227 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10228 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10229 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10230 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10231 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10233 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10234 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10235 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10236 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10237 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10238 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10239 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10240 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10242 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10243 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10245 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10247 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10248 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10249 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10250 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10253 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10255 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10257 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10258 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10259 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10260 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10261 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10262 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10263 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10264 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10265 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10266 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10267 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10269 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10270 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10272 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10273 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10275 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10276 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10277 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10278 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10279 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10280 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10281 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10282 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10283 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10284 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10285 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10286 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10287 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10288 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10289 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10291 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10292 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10294 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10295 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10296 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10297 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10299 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10300 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10301 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10302 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10303 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10304 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10305 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10306 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10309 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10313 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10314 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10315 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10316 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10317 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10318 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10319 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10320 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10321 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10322 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10323 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10324 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10325 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10326 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10327 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10329 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10330 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10331 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10332 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10333 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10335 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10336 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10337 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10338 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10339 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10340 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10341 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10342 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10343 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10344 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10346 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10349 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10350 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10351 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10352 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10353 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10354 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10355 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10356 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10357 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10358 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10359 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10360 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10361 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10362 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10363 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10367 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10383 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10385 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10388 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10389 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10390 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10391 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10392 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10393 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10394 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10395 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10396 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10397 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10399 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10400 that was previously under [RESET_PID].
10401 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10402 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10403 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10405 * sysdeps/i386/nptl/Implies: New file.
10406 * sysdeps/x86_64/nptl/Implies: New file.
10407 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10408 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10409 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10410 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10412 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10413 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10414 (__libc_vfork): New strong alias.
10415 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10416 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10418 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10419 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10420 (__libc_vfork): New strong alias.
10421 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10422 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10424 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10425 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10426 (__libc_vfork): New strong alias.
10427 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10428 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10429 * nptl/pt-vfork.c: New file.
10430 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10431 (libpthread: GLIBC_2.20): New version set (empty).
10433 2014-05-14 Will Newton <will.newton@linaro.org>
10435 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10438 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10441 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10442 arguments with exponent 65 or above.
10443 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10444 arguments 0x1p113L or above.
10445 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10446 to arguments 0x1p107L or above.
10447 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10448 positive arguments with exponent 65 or above.
10449 * math/auto-libm-test-in: Add more tests of log1p.
10450 * math/auto-libm-test-out: Regenerated.
10453 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10454 non-finite arguments is +0.
10455 * math/s_cacosf.c (__cacosf): Likewise.
10456 * math/s_cacosl.c (__cacosl): Likewise.
10457 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10458 * sysdeps/i386/fpu/libm-test-ulps: Update.
10459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10462 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10464 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10465 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10466 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10467 for explicit high bit of mantissa when testing for argument equal
10469 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10470 * sysdeps/i386/fpu/libm-test-ulps: Update.
10471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10474 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10475 (__erf): Scale by 16 instead of 8 in potentially underflowing
10476 case. Ensure exception if result actually underflows.
10477 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10478 (__erff): Scale by 16 instead of 8 in potentially underflowing
10479 case. Ensure exception if result actually underflows.
10480 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10481 (efx8): Remove variable.
10482 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10483 case. Ensure exception if result actually underflows.
10484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10485 (efx8): Remove variable.
10486 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10487 case. Ensure exception if result actually underflows.
10488 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10489 (efx8): Remove variable.
10490 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10491 case. Ensure exception if result actually underflows.
10492 * math/auto-libm-test-in: Add more tests of erf.
10493 * math/auto-libm-test-out: Regenerated.
10495 2014-05-14 Andreas Schwab <schwab@suse.de>
10497 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10498 Remove code conditionalized on USE___THREAD.
10500 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10501 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10504 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10507 Define unconditionally.
10508 (__ASSUME_O_CLOEXEC): Likewise.
10509 (__ASSUME_SOCK_CLOEXEC): Likewise.
10510 (__ASSUME_IN_NONBLOCK): Likewise.
10511 (__ASSUME_PIPE2): Likewise.
10512 (__ASSUME_EVENTFD2): Likewise.
10513 (__ASSUME_SIGNALFD4): Likewise.
10514 (__ASSUME_DUP3): Likewise.
10515 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10516 (__ASSUME_DUP3): Do not define.
10517 (__ASSUME_EVENTFD2): Likewise.
10518 (__ASSUME_IN_NONBLOCK): Likewise.
10519 (__ASSUME_O_CLOEXEC): Likewise.
10520 (__ASSUME_PIPE2): Likewise.
10521 (__ASSUME_SIGNALFD4): Likewise.
10522 (__ASSUME_SOCK_CLOEXEC): Likewise.
10523 (__ASSUME_UTIMES): Undefine.
10524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10525 (__ASSUME_UTIMES): Do not define.
10526 (__ASSUME_O_CLOEXEC): Likewise.
10527 (__ASSUME_SOCK_CLOEXEC): Likewise.
10528 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10529 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10531 (__ASSUME_PIPE2): Likewise.
10532 (__ASSUME_EVENTFD2): Likewise.
10533 (__ASSUME_SIGNALFD4): Likewise.
10534 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10535 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10537 (__ASSUME_EVENTFD2): Likewise.
10538 (__ASSUME_SIGNALFD4): Likewise.
10539 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10540 (__ASSUME_32BITUIDS): Likewise.
10541 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10542 (__ASSUME_IPC64): Likewise.
10543 (__ASSUME_ST_INO_64_BIT): Likewise.
10544 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10545 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10546 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10547 (__ASSUME_UTIMES): Do not define.
10548 (__ASSUME_PSELECT): Likewise.
10549 (__ASSUME_PPOLL): Likewise.
10550 (__ASSUME_O_CLOEXEC): Likewise.
10551 (__ASSUME_SOCK_CLOEXEC): Likewise.
10552 (__ASSUME_IN_NONBLOCK): Likewise.
10553 (__ASSUME_PIPE2): Likewise.
10554 (__ASSUME_EVENTFD2): Likewise.
10555 (__ASSUME_SIGNALFD4): Likewise.
10556 (__ASSUME_DUP3): Likewise.
10557 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10558 (__ASSUME_UTIMES): Likewise.
10559 (__ASSUME_O_CLOEXEC): Likewise.
10560 (__ASSUME_SOCK_CLOEXEC): Likewise.
10561 (__ASSUME_IN_NONBLOCK): Likewise.
10562 (__ASSUME_PIPE2): Likewise.
10563 (__ASSUME_EVENTFD2): Likewise.
10564 (__ASSUME_SIGNALFD4): Likewise.
10565 (__ASSUME_DUP3): Likewise.
10566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10567 (__ASSUME_UTIMES): Likewise.
10568 (__ASSUME_O_CLOEXEC): Likewise.
10569 (__ASSUME_SOCK_CLOEXEC): Likewise.
10570 (__ASSUME_IN_NONBLOCK): Likewise.
10571 (__ASSUME_PIPE2): Likewise.
10572 (__ASSUME_EVENTFD2): Likewise.
10573 (__ASSUME_SIGNALFD4): Likewise.
10574 (__ASSUME_DUP3): Likewise.
10575 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10577 (__ASSUME_UTIMES): Likewise.
10578 (__ASSUME_EVENTFD2): Likewise.
10579 (__ASSUME_SIGNALFD4): Likewise.
10580 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10581 (__ASSUME_O_CLOEXEC): Likewise.
10582 (__ASSUME_SOCK_CLOEXEC): Likewise.
10583 (__ASSUME_IN_NONBLOCK): Likewise.
10584 (__ASSUME_PIPE2): Likewise.
10585 (__ASSUME_EVENTFD2): Likewise.
10586 (__ASSUME_SIGNALFD4): Likewise.
10587 (__ASSUME_DUP3): Likewise.
10588 (__ASSUME_UTIMES): Undefine.
10590 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10591 feclearexcept. Remove symbol versioning code.
10592 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10593 symbol versioning code.
10594 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10595 symbol versioning code.
10596 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10597 feupdateenv. Remove symbol versioning code.
10598 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10599 fegetexceptflag. Remove symbol versioning code.
10600 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10601 fesetexceptflag. Remove symbol versioning code.
10602 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10603 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10604 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10605 (__posix_fadvise64_l32): Remove prototype.
10606 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10609 2014-05-13 Roland McGrath <roland@hack.frob.com>
10611 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10612 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10613 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10614 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10616 2014-05-13 Sami Kerola <kerolasa@iki.fi>
10618 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10619 current working directory
10621 2014-05-13 Roland McGrath <roland@hack.frob.com>
10623 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10624 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10625 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10626 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10627 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10628 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10629 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10630 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10634 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10636 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10638 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10639 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10640 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10641 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10642 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10644 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10650 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10652 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10654 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10656 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10657 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10658 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10659 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10660 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10661 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10662 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10663 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10664 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10666 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10667 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10669 * sysdeps/unix/sysv/linux/arm/Makefile
10670 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10671 Add rt-aeabi_unwind_cpp_pr1.
10672 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10673 Add nptl-aeabi_unwind_cpp_pr1.
10674 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10675 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10676 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10677 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10678 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10679 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10681 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10682 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10683 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10684 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10686 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10687 Deconditionalize the code that was previously under [RESET_PID].
10688 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10690 * sysdeps/generic/exit-thread.h: New file.
10691 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10692 * include/unistd.h (__exit_thread): Remove declaration.
10693 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10694 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10695 * csu/libc-start.c: Include <exit-thread.h>.
10696 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10697 * nptl/pthread_create.c: Include <exit-thread.h>.
10698 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10699 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10700 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10701 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10702 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10703 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10704 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10705 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10706 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10707 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10708 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10709 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10710 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10711 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10712 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10713 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10714 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10716 2014-05-13 Andreas Schwab <schwab@suse.de>
10718 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10720 2014-05-12 Joseph Myers <joseph@codesourcery.com>
10722 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10723 (__ASSUME_UTIMES): Do not condition on kernel version.
10724 (__ASSUME_PSELECT): Define unconditionally.
10725 (__ASSUME_PPOLL): Likewise.
10726 (__ASSUME_ATFCTS): Likewise.
10727 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10728 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10729 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10730 (__ASSUME_UTIMENSAT): Define unconditionally.
10731 (__ASSUME_PRIVATE_FUTEX): Likewise.
10732 (__ASSUME_FALLOCATE): Likewise.
10733 (__ASSUME_O_CLOEXEC): Likewise.
10734 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10735 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10736 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10737 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10738 (__ASSUME_IN_NONBLOCK): Likewise.
10739 (__ASSUME_PIPE2): Likewise.
10740 (__ASSUME_EVENTFD2): Likewise.
10741 (__ASSUME_SIGNALFD4): Likewise.
10742 (__ASSUME_DUP3): Likewise.
10743 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10744 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10745 (__ASSUME_AT_RANDOM): Likewise.
10746 (__ASSUME_PREADV): Likewise.
10747 (__ASSUME_PWRITEV): Likewise.
10748 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10749 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10750 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10752 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10753 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10754 (__ASSUME_O_CLOEXEC): Define unconditionally.
10755 (__ASSUME_PSELECT): Do not undefine conditionally.
10756 (__ASSUME_PPOLL): Likewise.
10757 (__ASSUME_ATFCTS): Likewise.
10758 (__ASSUME_SET_ROBUST_LIST): Likewise.
10759 (__ASSUME_UTIMENSAT): Likewise.
10760 (__ASSUME_FDATASYNC): Define unconditionally.
10761 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10762 (__ASSUME_SIGFRAME_V2): Likewise.
10763 )__ASSUME_EVENTFD2): Likewise.
10764 (__ASSUME_SIGNALFD4): Likewise.
10765 (__ASSUME_PSELECT): Do not undefine conditionally.
10766 (__ASSUME_PPOLL): Likewise.
10767 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10768 (__ASSUME_PSELECT): Define unconditionally.
10769 (__ASSUME_PPOLL): Likewise.
10770 (__ASSUME_O_CLOEXEC): Likewise.
10771 (__ASSUME_SOCK_CLOEXEC): Likewise.
10772 (__ASSUME_IN_NONBLOCK): Likewise.
10773 (__ASSUME_PIPE2): Likewise.
10774 (__ASSUME_EVENTFD2): Likewise.
10775 (__ASSUME_SIGNALFD4): Likewise.
10776 (__ASSUME_DUP3): Likewise.
10777 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10778 (__ASSUME_O_CLOEXEC): Likewise.
10779 (__ASSUME_SOCK_CLOEXEC): Likewise.
10780 (__ASSUME_IN_NONBLOCK): Likewise.
10781 (__ASSUME_PIPE2): Likewise.
10782 (__ASSUME_EVENTFD2): Likewise.
10783 (__ASSUME_SIGNALFD4): Likewise.
10784 (__ASSUME_DUP3): Likewise.
10785 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10786 (__ASSUME_EVENTFD2): Likewise.
10787 (__ASSUME_SIGNALFD4): Likewise.
10788 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10790 2014-05-12 Andreas Schwab <schwab@suse.de>
10793 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10794 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10795 than maximum RPC packet size.
10796 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10797 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10798 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10799 (_nss_nis_getservbyport_r): Likewise.
10801 2014-05-12 Will Newton <will.newton@linaro.org>
10803 * malloc/Makefile (tests): Add tst-mallopt.
10804 * malloc/tst-mallopt.c: New file.
10806 2014-05-09 Roland McGrath <roland@hack.frob.com>
10808 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10809 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10811 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10813 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10814 (tst-tlsmod6.so): Likewise.
10816 2014-05-09 Roland McGrath <roland@hack.frob.com>
10818 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10820 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10823 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10824 and <dl-procinfo.h>.
10825 (__fegetenv): Save SSE state in envp->__eip if supported.
10826 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10827 envp->__eip if supported.
10828 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10829 and <dl-procinfo.h>.
10830 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10831 __data_offset and __data_selector in environment to 0. Set SSE
10832 state if supported.
10833 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10835 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10837 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10839 2014-05-09 Will Newton <will.newton@linaro.org>
10841 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10842 and libc_relro_required for ARM.
10843 * sysdeps/arm/preconfigure: Regenerate.
10845 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10846 Stefan Liebler <stli@linux.vnet.ibm.com>
10848 * config.make.in (enable-lock-elision): New Makefile variable.
10849 * configure.ac: Likewise.
10850 * configure: Regenerate.
10851 * sysdeps/s390/configure.ac:
10852 Add check for gcc transactions support.
10853 * sysdeps/s390/configure: Regenerate.
10854 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10855 Build elision files if enabled.
10856 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10857 Add lock elision support for s390.
10858 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10859 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10860 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10861 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10862 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10863 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10864 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10866 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10868 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10870 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10872 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10873 (__lll_timedlock_elision, __lll_lock_elision)
10874 (__lll_unlock_elision, __lll_trylock_elision)
10875 (lll_timedlock_elision, lll_lock_elision)
10876 (lll_unlock_elision, lll_trylock_elision): Add.
10877 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10878 (pthread_mutex_t): Add lock elision support for s390.
10880 2014-05-14 Wilco <wdijkstr@arm.com>
10882 * sysdeps/arm/fclrexcpt.c: Cleanup.
10883 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10884 * sysdeps/arm/feenablxcpt.c: Cleanup.
10885 * sysdeps/arm/fegetenv.c: Cleanup.
10886 * sysdeps/arm/fegetexcept.c: Cleanup.
10887 * sysdeps/arm/fegetround.c: Cleanup.
10888 * sysdeps/arm/feholdexcpt.c: Cleanup.
10889 * sysdeps/arm/fesetenv.c: Cleanup.
10890 * sysdeps/arm/fesetround.c: Cleanup.
10891 * sysdeps/arm/feupdateenv.c: Cleanup.
10892 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10893 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10894 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10895 * sysdeps/arm/ftestexcept.c: Cleanup.
10896 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10897 * sysdeps/arm/setfpucw.c: Cleanup.
10899 2014-05-09 Will Newton <will.newton@linaro.org>
10901 * sysdeps/arm/armv7/strcmp.S: New file.
10902 * NEWS: Mention addition of ARMv7 optimized strcmp.
10904 2014-05-08 Roland McGrath <roland@hack.frob.com>
10906 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10907 look for %.ac rather than %.in.
10909 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10910 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10911 * sysdeps/mach/hurd/configure: Regenerated.
10912 * sysdeps/unix/sysv/linux/configure: Regenerated.
10914 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10916 2014-05-07 Steve Ellcey <sellcey@mips.com>
10919 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10923 2014-05-07 Andreas Schwab <schwab@suse.de>
10925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10926 when skipping over non-matching result from nscd.
10928 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10931 * nptl/sockperf.c (client): Check socket return value.
10934 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10935 nscd security class.
10937 2014-05-06 Roland McGrath <roland@hack.frob.com>
10939 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10940 * sysdeps/arm/unwind.h: ... here.
10942 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10945 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10948 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10950 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10951 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10952 multiarch strncpy for PPC64.
10953 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10954 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10956 multiarch optimizations.
10957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10958 (__libc_ifunc_impl_list): Likewise.
10959 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10960 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10961 multiarch stpncpy for PPC64.
10962 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10963 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10965 2014-05-06 Andreas Schwab <schwab@suse.de>
10968 * gmon/mcount.c (_MCOUNT_DECL): Use
10969 atomic_compare_and_exchange_bool_acq instead of
10970 catomic_compare_and_exchange_bool_acq.
10972 2014-05-05 Roland McGrath <roland@hack.frob.com>
10974 * elf/Makefile (others, install-bin): Remove pldd.
10975 (pldd-modules): Variable removed.
10976 ($(objpfx)pldd): Target removed.
10977 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10978 (others, install-bin): Append pldd here.
10979 ($(objpfx)pldd): New target.
10981 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10982 to 0, so the first #if test emitted later doesn't see it undefined.
10983 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10984 * sysdeps/gnu/errlist.c: Regenerated.
10986 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10988 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10989 [libc_hidden_builtin_def]: Define to empty value.
10990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10991 [libc_hidden_builtin_def]: Likewise.
10992 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10993 [libc_hidden_builtin_def]: Likewise.
10994 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10995 [libc_hidden_builtin_def]: Likewise.
10996 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10997 __redirect_memcpy and define ifunc as default hidden symbol.
10998 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10999 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11001 2014-05-04 Adam Conrad <adconrad@0c3.net>
11003 * locale/iso-4217.def: Reintroduce XDR currency.
11005 2014-05-04 Allan McRae <allan@archlinux.org>
11007 * po/eo.po: Update Esperanto translation from translation project.
11009 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11011 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11012 and FEATURE_INDEX_MAX to 1.
11013 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11015 2014-05-01 Steve Ellcey <sellcey@mips.com>
11017 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11018 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11019 * iconvdata/big5.c (ONE_DIRECTION): Define.
11020 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11021 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11022 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11023 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11024 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11025 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11026 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11027 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11028 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11029 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11030 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11031 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11032 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11033 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11034 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11035 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11036 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11037 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11038 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11039 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11040 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11041 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11042 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11043 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11044 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11045 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11046 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11047 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11048 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11049 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11050 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11051 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11052 * iconvdata/johab.c (ONE_DIRECTION): Define.
11053 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11054 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11055 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11056 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11057 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11058 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11059 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11060 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11061 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11062 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11064 2014-05-01 Roland McGrath <roland@hack.frob.com>
11066 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11067 (_IO_JUMPS_OFFSET): Define to 0.
11069 * nptl/sysdeps/pthread/bits/libc-lock.h
11070 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11071 (__libc_lock_define_initialized_recursive): Always define using
11072 initializer. Modern compilers treat uninitialized (implicit zero) and
11073 explicit zero initializers the same (i.e. put the datum in bss).
11075 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11077 * nscd/nscd-client.h: Include <string.h>.
11079 2014-05-01 David S. Miller <davem@davemloft.net>
11082 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11083 multiple zero bytes exist at the end of a string.
11084 Reported by Aurelien Jarno <aurelien@aurel32.net>
11086 * string/test-strcmp.c (check): Add explicit test for situations where
11087 there are multiple zero bytes after the first.
11089 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11092 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11093 when compiling wprintf.
11094 * stdio-common/tstdiomisc.c (t3): New function.
11097 2014-05-01 Steve Ellcey <sellcey@mips.com>
11099 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11100 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11101 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11102 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11104 2014-05-01 Steve Ellcey <sellcey@mips.com>
11106 * stdlib/longlong.h: Updated from GCC.
11108 2014-05-01 Will Newton <will.newton@linaro.org>
11109 Bernard Ogden <bernie.ogden@linaro.org>
11111 * NEWS: Update fixed bug list.
11114 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11116 2014-04-30 David S. Miller <davem@davemloft.net>
11118 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11119 (libc_feholdexcept_setround_sparc_ctx): New function.
11120 (libc_fesetenv_sparc_ctx): Likewise.
11121 (libc_feupdateenv_sparc_ctx): Likewise.
11122 (libc_feholdsetround_sparc_ctx): Likewise.
11123 (libc_feholdexcept_setround_ctx): Define.
11124 (libc_feholdexcept_setroundf_ctx): Likewise.
11125 (libc_feholdexcept_setroundl_ctx): Likewise.
11126 (libc_fesetenv_ctx): Likewise.
11127 (libc_fesetenvf_ctx): Likewise.
11128 (libc_fesetenvl_ctx): Likewise.
11129 (libc_feupdateenv_ctx): Likewise.
11130 (libc_feupdateenvf_ctx): Likewise.
11131 (libc_feupdateenvl_ctx): Likewise.
11132 (libc_feresetround_ctx): Likewise.
11133 (libc_feresetroundf_ctx): Likewise.
11134 (libc_feresetroundl_ctx): Likewise.
11135 (libc_feholdsetround_ctx): Likewise.
11136 (libc_feholdsetroundf_ctx): Likewise.
11137 (libc_feholdsetroundl_ctx): Likewise.
11139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11140 with __USE_GNU instead of XOPEN cpp guards.
11142 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11146 with XOPEN cpp guards.
11148 2014-04-30 Julian Brown <julian@codesourcery.com>
11151 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11154 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11157 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11159 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11160 * sysdeps/unix/sysv/linux/configure: Regenerated.
11161 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11162 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11163 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11164 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11165 * README: Update reference to required Linux kernel version.
11166 * manual/install.texi (Linux): Update reference to required Linux
11167 kernel headers version.
11168 * INSTALL: Regenerated.
11170 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11172 [POSIX] (limits.h): Likewise.
11173 [POSIX] (math.h): Likewise.
11174 [POSIX] (sys/wait.h): Likewise.
11175 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11177 [POSIX] (stddef.h): Do not allow header inclusion.
11179 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11181 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11183 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11185 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11186 Return immediately after lll_futex_wake.
11188 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11191 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11193 (datahead_init_pos): Call datahead_init_common early.
11194 (datahead_init_neg): Likewise.
11196 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11197 datahead_init_neg): New functions.
11198 * nscd/aicache.c (addhstaiX): Use them.
11199 * nscd/grpcache.c (cache_addgr): Likewise.
11200 * nscd/hstcache.c (cache_addhst): Likewise.
11201 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11202 * nscd/netgroupcache.c (do_notfound): Likewise.
11203 (addgetnetgrentX): Likewise.
11204 (addinnetgrX): Likewise.
11205 * nscd/pwdcache.c (cache_addpw): Likewise.
11206 * nscd/servicescache.c (cache_addserv): Likewise.
11208 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11209 Atsushi Onoe <atsushi@onoe.org>
11214 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11215 one response is valid.
11216 * resolv/res_send.c (send_dg): Check for validity of other
11217 response if the current response is a referral.
11219 2014-04-29 Steve Ellcey <sellcey@mips.com>
11221 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11223 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11226 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11227 Always divide by positive zero when computing -Inf result.
11228 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11229 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11231 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11233 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11234 FPSCR if value do not change.
11235 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11236 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11237 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11238 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11239 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11240 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11243 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11245 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11246 * sysdeps/unix/sysv/linux/hppa: Move directory from
11247 ports/systeps/unix/sysv/linux/hppa.
11248 * README: Update listing for hppa-*-linux-gnu.
11250 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11253 * manual/stdio.texi (Hook functions): Fix types of stream hook
11256 * socket/sys/socket.h: Fix typo in comment.
11258 2014-04-28 Wilco <wdijkstr@arm.com>
11260 * sysdeps/arm/fenv_private.h: New file.
11261 * sysdeps/arm/math_private.h: New file.
11262 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11264 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11266 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11268 (La_x86_64_retval): Likewise.
11270 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11272 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11273 fpsr if value didn't change.
11274 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11275 to fpcr if value didn't change.
11276 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11277 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11278 fpsr or fpcr if value didn't change.
11279 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11280 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11281 fpcr if value didn't change.
11282 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11283 to fpsr if value didn't change.
11285 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11287 * nptl/tst-sem3.c: Use test-skeleton.c
11288 (main): Rename to do_test. Use return instead of
11290 * nptl/tst-sem4.c: Use test-skeleton.c
11291 (main): Rename to do_test.
11293 2014-04-22 David S. Miller <davem@davemloft.net>
11295 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11296 (struct sigaction): New struct member __glibc_reserved0, change
11297 type of sa_flags to int.
11299 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11301 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11302 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11304 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11306 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11307 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11309 2014-04-22 Will Newton <will.newton@linaro.org>
11310 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11312 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11313 (__longjmp): Add longjmp and longjmp_target SystemTap
11315 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11316 (__sigsetjmp): Add setjmp SystemTap probe.
11318 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11320 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11321 match manual order.
11323 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11327 * sysdeps/powerpc/fpu/fenv_private.h
11328 (libc_feholdexcept_setroundl_ctx): Define to
11329 libc_feholdexcept_setround_ppc_ctx.
11330 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11331 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11332 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11333 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11335 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11337 * sysdeps/aarch64/math-tests.h: New file.
11339 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11341 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11344 Check and set bit_AVX2_Usable.
11345 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11347 (bit_AVX2): Likewise.
11348 (index_AVX2_Usable): Likewise.
11349 (CPUID_AVX2): Likewise.
11350 (HAS_AVX2): Likewise.
11352 2014-04-17 Will Newton <will.newton@linaro.org>
11354 * manual/setjmp.texi (System V contexts): Add note that
11355 calling setcontext on a context created by a call to a
11356 signal handler is undefined. Update text to note that
11357 setcontext from a signal handler is possible but not
11361 * stdlib/tst-setcontext.c: Include signal.h.
11362 (main): Check that the signal stack before and
11363 after swapcontext is the same.
11365 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11366 Re-implement to restore registers in user code and avoid
11367 rt_sigreturn system call.
11369 2014-04-17 Wilco <wdijkstr@arm.com>
11371 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11372 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11373 * math/test-fenv.c: Skip exception trap tests on targets which only
11374 support non-stop mode.
11376 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11377 Wilco Dijkstra <wilco.dijkstra@arm.com>
11379 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11380 (libc_feholdsetround_aarch64_ctx)
11381 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11382 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11383 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11384 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11385 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11386 (libc_feresetround_noexl_ctx): Define.
11388 2014-04-16 Richard Henderson <rth@redhat.com>
11390 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11392 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11395 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11396 const from the non-libc, non-ldso copy.
11398 * sysdeps/alpha/libm-test-ulps: Regenerate.
11400 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11401 Wilco Dijkstra <wilco.dijkstra@arm.com>
11403 * sysdeps/aarch64/fpu/math_private.h: New file.
11405 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11407 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11409 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11412 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11413 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11415 Intel MPX bound registers before _dl_profile_fixup.
11416 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11417 registers after _dl_profile_fixup. Save and restore bound
11418 registers bnd0/bnd1 when calling _dl_call_pltexit.
11419 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11420 (LR_BND_OFFSET): Likewise.
11421 (LRV_BND0_OFFSET): Likewise.
11422 (LRV_BND1_OFFSET): Likewise.
11424 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11426 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11428 * sysdeps/mach/hurd/i386/tls.h: ... here.
11429 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11430 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11433 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11435 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11437 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11439 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11441 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11444 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11445 * sysdeps/s390/configure: Regenerate.
11448 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11449 Set round-to-nearest internally to reduce error accumulation.
11451 2014-04-16 Alan Modra <amodra@gmail.com>
11455 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11456 * math/libm-test.inc (frexp_test_data): Add tests.
11457 * NEWS: Update fixed bug list.
11459 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11461 * benchtests/Makefile: Depend on libraries in build directory.
11462 (bench-math): Separate out math tests.
11463 (bench-pthread): Separate out pthread tests.
11464 (bench): Include math and pthread tests.
11466 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11469 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11470 _dl_debug_initialize.
11472 * configure.ac: Remove SELinux header check.
11473 * configure: Regenerate.
11474 * nscd/selinux.c (perms): Array of const char* to permission names.
11475 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11476 default policy. Call string_to_security_class and string_to_av_perm to
11477 translate strings. Enforce default policy and call avs_has_perm with
11478 results of translated strings.
11480 2014-04-13 David S. Miller <davem@davemloft.net>
11482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11484 2014-04-12 Allan McRae <allan@archlinux.org>
11487 * manual/string.texi (Collation Functions): Fix qsort argument
11489 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11491 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11493 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11494 Make the test a no-op if there are no exceptions defined.
11496 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11498 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11499 enable-hardcoded-path-in-tests
11501 2014-04-11 Will Newton <will.newton@linaro.org>
11503 * benchtests/Makefile (extra-objs): Add json-lib.o.
11504 (bench-func): Tidy up JSON output.
11505 * benchtests/bench-skeleton.c: Include json-lib.h.
11506 (main): Use JSON library functions to do output of
11508 * benchtests/bench-timing-type.c (main): Output the
11509 timing type simply, leaving formatting to the user.
11510 * benchtests/json-lib.c: New file.
11511 * benchtests/json-lib.h: Likewise.
11513 2014-04-11 Torvald Riegel <triegel@redhat.com>
11516 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11517 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11518 memory barriers. Add comments.
11519 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11520 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11521 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11522 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11523 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11524 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11526 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11528 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11529 * sysdeps/s390/s390-64/configure.ac: ... this ...
11530 * sysdeps/s390/configure.ac: ... to here.
11531 * sysdeps/s390/s390-32/configure: Delete file.
11532 * sysdeps/s390/s390-64/configure: Delete file.
11533 * sysdeps/s390/configure: Regenerate.
11535 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11537 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11539 2014-04-11 Will Newton <will.newton@linaro.org>
11541 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11542 to zero if it is not defined elsewhere. (mtrim): Test
11543 the value of MALLOC_DEBUG with #if rather than #ifdef.
11545 2014-04-10 Torvald Riegel <triegel@redhat.com>
11547 * benchtests/pthread_once-inputs: New file.
11548 * benchtests/pthread_once-source.c: New file.
11549 * benchtests/README: Update documentation.
11551 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11552 H.J. Lu <hongjiu.lu@intel.com>
11555 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11556 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11557 * sysdeps/x86_64/configure: Regenerated.
11558 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11560 (REGISTER_SAVE_RAX): Likewise.
11561 (REGISTER_SAVE_RCX): Likewise.
11562 (REGISTER_SAVE_RDX): Likewise.
11563 (REGISTER_SAVE_RSI): Likewise.
11564 (REGISTER_SAVE_RDI): Likewise.
11565 (REGISTER_SAVE_R8): Likewise.
11566 (REGISTER_SAVE_R9): Likewise.
11567 (REGISTER_SAVE_BND0): Likewise.
11568 (REGISTER_SAVE_BND1): Likewise.
11569 (REGISTER_SAVE_BND2): Likewise.
11570 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11571 bound registers when calling _dl_fixup.
11573 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11575 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11576 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11578 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11579 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11580 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11581 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11582 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11583 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11584 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11586 2014-04-09 Peter Brett <peter@peter-b.co.uk>
11589 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11590 pathconf(_PC_NAME_MAX).
11592 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11594 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11595 Remove macro usage.
11596 (__PTHREAD_SPINS): Move definition to ...
11597 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11598 (__PTHREAD_SPINS): ... here.
11599 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11600 (__PTHREAD_SPIN): Likewise.
11601 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11602 (__PTHREAD_SPIN): Likewise.
11603 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11604 (__PTHREAD_SPIN): Likewise.
11605 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11606 (__PTHREAD_SPIN): Likewise.
11607 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11608 (__PTHREAD_SPIN): Likewise.
11609 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11610 (__PTHREAD_SPIN): Likewise.
11611 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11612 (__PTHREAD_SPIN): Likewise.
11613 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11614 (__PTHREAD_SPIN): Likewise.
11615 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11616 (__PTHREAD_SPIN): Likewise.
11617 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11618 (__PTHREAD_SPIN): Likewise.
11619 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11620 (__PTHREAD_SPIN): Likewise.
11621 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11622 (__PTHREAD_SPIN): Likewise.
11624 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11625 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11626 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11627 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11629 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11630 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11631 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11632 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11633 correct imply path.
11634 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11635 strlen symbol for non multi-arch builds.
11636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11637 missing hidden_def and weak_alias.
11639 2014-04-08 Carlos O'Donell <carlos@redhat.com>
11641 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11643 2014-04-07 Will Newton <will.newton@linaro.org>
11645 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11646 and contents. [!_LIBC] Remove #ifndef and contents.
11647 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11648 * string/memccpy.c (__memccpy): Use ANSI prototype.
11649 * string/memfrob.c (memfrob): Likewise.
11650 * string/strcoll.c (STRCOLL): Likewise.
11651 * string/strlen.c (strlen): Likewise.
11652 * string/strtok.c (STRTOK): Likewise.
11653 * string/strcat.c: Remove unused #include of memcopy.h.
11654 (strcat): Use ANSI prototype.
11655 * string/strchr.c: Remove unused #include of memcopy.h.
11656 (strchr): Use ANSI prototype.
11657 * string/strcmp.c: Remove unused #include of memcopy.h.
11658 (strcmp): Use ANSI prototype.
11659 * string/strcpy.c: Remove unused #include of memcopy.h.
11660 (strcpy): Use ANSI prototype.
11662 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11664 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11665 * config.make.in (config-extra-cppflags): Set it from
11666 libc_extra_cppflags.
11667 * configure.ac (libc_extra_cflags): Make it accumulate over
11668 configure fragments.
11669 (libc_extra_cppflags): New flag.
11670 * configure. Regenerate.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11672 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11673 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11678 result for FE_DOWNWARD rounding mode.
11679 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11683 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11685 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11686 in function argument name.
11688 2014-04-03 David Svoboda <svoboda@cert.org>
11691 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11694 2014-04-03 Roland McGrath <roland@hack.frob.com>
11696 * elf/dl-unmap-segments.h: New file.
11697 * sysdeps/generic/ldsodefs.h
11698 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11699 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11700 * elf/dl-fptr.c: Likewise.
11701 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11702 * sysdeps/aarch64/tlsdesc.c: Likewise.
11703 * sysdeps/arm/tlsdesc.c: Likewise.
11704 * sysdeps/i386/tlsdesc.c: Likewise.
11705 * sysdeps/tile/dl-runtime.c: Likewise.
11706 * sysdeps/x86_64/tlsdesc.c: Likewise.
11707 * elf/dl-load.h: New file.
11708 * elf/dl-load.c: Include it.
11709 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11710 Macros moved to dl-load.h.
11711 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11712 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11713 Use _dl_unmap_segments in place of __munmap.
11714 Break out segment-mapping loop into ...
11715 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11717 2014-04-03 Will Newton <will.newton@linaro.org>
11719 * elf/dl-lookup.c (do_lookup_x): Remove comment
11720 referring to nested function and move variable
11721 declarations down to before first use.
11723 2014-04-02 Joseph Myers <joseph@codesourcery.com>
11727 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11729 * math/s_catanf.c (__catanf): Likewise.
11730 * math/s_catanh.c (__catanh): Likewise.
11731 * math/s_catanhf.c (__catanhf): Likewise.
11732 * math/s_catanhl.c (__catanhl): Likewise.
11733 * math/s_catanl.c (__catanl): Likewise.
11734 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11735 by positive zero when computing -Inf result.
11736 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11737 (catanh_test): Likewise.
11738 * sysdeps/i386/fpu/libm-test-ulps: Update.
11739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11742 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11743 instead of using underflowing value in computing result.
11744 * math/s_clog10.c (__clog10): Likewise.
11745 * math/s_clog10f.c (__clog10f): Likewise.
11746 * math/s_clog10l.c (__clog10l): Likewise.
11747 * math/s_clogf.c (__clogf): Likewise.
11748 * math/s_clogl.c (__clogl): Likewise.
11749 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11750 (clog10_test): Likewise.
11751 * sysdeps/i386/fpu/libm-test-ulps: Update.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11754 2014-04-02 Alan Modra <amodra@gmail.com>
11757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11758 output when value is near a power of two. Use int64_t for lx and
11759 remove casts. Use decimal rather than hex exponent constants.
11760 Don't use long double multiplication when double will suffice.
11761 * math/libm-test.inc (nextafter_test_data): Add tests.
11762 * NEWS: Add 16739 and 16786 to bug list.
11764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11766 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11768 2014-04-01 Will Newton <will.newton@linaro.org>
11770 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11771 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11773 2014-04-01 Florian Weimer <fweimer@redhat.com>
11776 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11777 * nptl/tst-setuid2.c: New file.
11778 * nptl/Makefile (xtests): Add tst-setuid2.
11780 2014-04-01 Alan Modra <amodra@gmail.com>
11783 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11785 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11789 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11790 set errno as appropriate.
11791 * math/w_scalbf.c (__scalbf): Likewise.
11792 * math/w_scalbl.c (__scalbl): Likewise.
11793 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11794 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11795 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11796 Add more NaN tests.
11799 * math/w_atan2.c: Include <errno.h>.
11800 (__atan2): Set errno for result underflowing to zero.
11801 * math/w_atan2f.c: Include <errno.h>.
11802 (__atan2f): Set errno for result underflowing to zero.
11803 * math/w_atan2l.c: Include <errno.h>.
11804 (__atan2l): Set errno for result underflowing to zero.
11805 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11807 * math/auto-libm-test-out: Regenerated.
11809 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11811 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11812 Encode instruction correctly in little endian.
11813 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11817 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11819 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11822 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11825 * sysdeps/unix/sysv/linux/kernel-features.h
11826 [__sparc__ && !__arch64__ && !__sparc_v9__]
11827 (__ASSUME_SET_ROBUST_LIST): Do not define.
11828 [__sparc__ && !__arch64__ && !__sparc_v9__]
11829 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11830 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11832 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11833 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11834 (__ASSUME_REQUEUE_PI): Likewise.
11835 (__ASSUME_SET_ROBUST_LIST): Likewise.
11836 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11837 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11839 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11840 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11842 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11844 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11846 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11847 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11849 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11850 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11855 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11856 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11858 2014-03-31 Will Newton <will.newton@linaro.org>
11860 * benchtests/Makefile (bench): Add ffs and ffsll to list
11862 * benchtests/ffs-inputs: New file.
11863 * benchtests/ffsll-inputs: Likewise.
11865 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11868 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11869 too large before casting to int.
11870 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11871 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11872 * math/libm-test.inc (scalb_test_data): Add more tests.
11874 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11876 * benchtests/Makefile (DETAILED_OPT): New make option.
11877 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11879 * benchtests/bench-skeleton.c: Include stdbool.h.
11880 (main): Store and print timings per input.
11881 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11882 member to each argument value.
11883 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11884 (_print_arg_data): Initialize per-input timing to 0.
11886 * benchtests/Makefile (timing-type): New binary.
11887 (bench-clean): Also remove bench-timing-type.
11888 (bench): New target for timing-type.
11889 (bench-func): Print output in JSON format.
11890 * benchtests/bench-skeleton.c (main): Print output in JSON
11892 * benchtests/bench-timing-type.c: New file.
11893 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11894 (TIMING_PRINT_STATS): Remove.
11895 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11898 * benchtests/bench-modf.c: Remove.
11899 * benchtests/modf-inputs: New inputs file.
11901 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11904 * math/s_clog10.c (M_PI_LOG10E): New macro.
11905 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11906 imaginary parts are 0.
11907 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11908 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11909 imaginary parts are 0.
11910 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11911 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11912 imaginary parts are 0.
11913 * math/libm-test.inc (clog10_test_data): Update expected results
11914 for when real and imaginary parts are 0.
11916 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11918 * elf/dl-load.c: Finish conversion of __builtin_expect into
11919 __glibc_{un}likely.
11921 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11924 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11925 1+x for argument with exponent below -67.
11926 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11928 * math/auto-libm-test-in: Add more tests of exp.
11929 * math/auto-libm-test-out: Regenerated.
11931 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11934 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11935 (nscd_getnetgrent): Use it.
11938 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11941 2014-03-27 Andi Kleen <ak@linux.intel.com>
11943 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11944 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11945 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11946 (lll_robust_unlock): Remove out of line section. Use cfi
11948 (LLL_STUB_UNWIND_INFO*): Remove.
11949 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11950 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11951 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11952 (lll_robust_unlock): Remove out of line section. Use cfi
11954 (LLL_STUB_UNWIND_INFO*): Remove.
11956 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11959 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11962 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11964 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11966 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11969 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11971 * math/test-fenv-preserve.c: New file.
11972 * math/Makefile (tests): Add test-fenv-preserve.
11974 2014-03-26 Will Newton <will.newton@linaro.org>
11976 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11978 2014-03-25 Roland McGrath <roland@hack.frob.com>
11980 * scripts/versionlist.awk: Partition the version sets and emit all
11981 GLIBC_* (sorted) before all others (sorted).
11983 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11985 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11986 GLIBC_2.2.5 version.
11988 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11990 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11993 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11998 2014-03-25 Andreas Schwab <schwab@suse.de>
12000 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12001 label to be used after in6ailist is initialized.
12003 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12005 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12006 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12008 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12012 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12014 (fp_formats): Update initializers.
12015 (init_fp_formats): Initialize new field.
12016 (output_for_one_input_case): Allow underflow for results up to
12018 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12019 * math/auto-libm-test-in: Don't mark some underflows from asin and
12021 * math/auto-libm-test-out: Regenerated.
12022 * sysdeps/i386/fpu/libm-test-ulps: Update.
12023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12025 2014-03-25 Andreas Schwab <schwab@suse.de>
12027 * libio/Makefile (tst-ftell-partial-wide-ENV)
12028 (tst-ftell-active-handler-ENV): Define.
12030 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12032 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12034 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12036 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12038 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12040 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12041 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12042 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12044 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12047 * elf/dl-load.c (open_verify): Add mode parameter.
12048 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12049 (open_path): Change from boolean 'secure' to complete flag 'mode'
12050 (_dl_map_object): Adjust.
12051 * elf/Makefile (tests): Add tst-dlopen-aout.
12052 * elf/tst-dlopen-aout.c: New test.
12054 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12057 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12058 (struct stat): Rename member pad0 to __glibc_reserved0.
12061 * sysdeps/s390/s390-32/bits/wordsize.h
12062 (__WORDSIZE32_SIZE_ULONG): New define.
12063 * sysdeps/s390/s390-64/bits/wordsize.h
12064 (__WORDSIZE32_SIZE_ULONG): Likewise.
12065 * sysdeps/generic/stdint.h (SIZE_MAX):
12066 Define as UL if __WORDSIZE32_SIZE_ULONG.
12069 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12070 (__glibc_reserved0): New variable.
12071 (sa_flags): Change type to int.
12073 * posix/Makefile (before-compile): Use += before-compile instead
12076 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12077 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12079 2014-03-20 Andreas Schwab <schwab@suse.de>
12082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12083 non-matching result from nscd.
12085 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12087 * scripts/bench.py: Moved to ...
12088 * benchtests/scripts/bench.py: ... here.
12089 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12091 2014-03-24 Andreas Schwab <schwab@suse.de>
12094 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12095 alloca_account and account alloca use for struct in6ailist.
12097 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12100 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12101 rounding mode to recompute results that overflow to infinity or
12103 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12105 * math/auto-libm-test-out: Regenerated.
12106 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12107 (ccosh_test): Likewise.
12108 (csin_test_data): Use plus_oflow.
12109 (csin_test): Use ALL_RM_TEST.
12110 (csinh_test_data): Use plus_oflow.
12111 (csinh_test): Use ALL_RM_TEST.
12112 * sysdeps/i386/fpu/libm-test-ulps: Update.
12113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12115 2014-03-21 Joseph Myers <joseph@codesourcery.com>
12117 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12118 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12119 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12122 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12123 when x - 1 is zero.
12124 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12125 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12126 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12127 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12129 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12130 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12132 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12133 * sysdeps/i386/fpu/libm-test-ulps: Update.
12134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12136 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12138 * scripts/bench.pl: Remove file.
12139 * scripts/bench.py: New benchmark script.
12140 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12141 * benchtests/README: Mention python dependency.
12142 * scripts/pylintrc: New file.
12143 * scripts/pylint: New file.
12145 * bits/mathdef.h: Use #ifdef instead of #if.
12146 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12147 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12148 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12149 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12150 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12151 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12153 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12154 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12156 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12158 and strpbrk-ppc64 objects.
12159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12160 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12161 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12162 multiarch strpbrk for POWER7.
12163 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12164 multiarch strpbrk for PPC64.
12165 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12167 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12168 strpbrk for POWER7.
12170 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12172 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12173 (atan_test): Likewise.
12174 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12175 (atanh_test): Use ALL_RM_TEST.
12176 (atan2_test_data): Likewise.
12177 (cabs_test): Likewise.
12178 (cacosh_test): Likewise.
12179 (carg_test): Likewise.
12180 (casin_test): Likewise.
12181 (casinh_test): Likewise.
12182 (cbrt_test): Likewise.
12183 (csqrt_test): Likewise.
12184 (erf_test): Likewise.
12185 (erfc_test): Likewise.
12186 (pow10_test): Likewise.
12187 (exp2_test): Likewise.
12188 (hypot_test): Likewise.
12189 (j0_test): Likewise.
12190 (j1_test): Likewise.
12191 (lgamma_test): Likewise.
12192 (gamma_test): Likewise.
12193 (sincos_test): Likewise.
12194 (tanh_test): Likewise.
12195 (y0_test): Likewise.
12196 (y1_test): Likewise.
12197 * sysdeps/i386/fpu/libm-test-ulps: Update.
12198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12200 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12202 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12204 and strcspn-ppc64 objects.
12205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12206 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12207 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12208 multiarch strcspn for POWER7.
12209 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12210 multiarch strcspn for PPC64.
12211 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12213 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12214 strcspn for POWER7.
12216 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12218 * math/gen-libm-test.pl (generate_testfile): Expect only function
12219 name as argument to AUTO_TESTS_* and pass results for all rounding
12220 modes to parse_args.
12221 (parse_auto_input): Separate inputs of automatic tests from
12222 outputs before storing in %auto_tests.
12223 * math/libm-test.inc (acos_test_data): Update call to
12225 (acos_test): Use ALL_RM_TEST.
12226 (acos_tonearest_test_data): Remove.
12227 (acos_test_tonearest): Likewise.
12228 (acos_towardzero_test_data): Likewise.
12229 (acos_test_towardzero): Likewise.
12230 (acos_downward_test_data): Likewise.
12231 (acos_test_downward): Likewise.
12232 (acos_upward_test_data): Likewise.
12233 (acos_test_upward): Likewise.
12234 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12235 (asin_test_data): Likewise.
12236 (asin_test): Use ALL_RM_TEST.
12237 (asin_tonearest_test_data): Remove.
12238 (asin_test_tonearest): Likewise.
12239 (asin_towardzero_test_data): Likewise.
12240 (asin_test_towardzero): Likewise.
12241 (asin_downward_test_data): Likewise.
12242 (asin_test_downward): Likewise.
12243 (asin_upward_test_data): Likewise.
12244 (asin_test_upward): Likewise.
12245 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12246 (atan_test_data): Likewise.
12247 (atanh_test_data): Likewise.
12248 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12249 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12250 (carg_test_data): Likewise.
12251 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12252 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12253 (ccosh_test_data): Likewise.
12254 (cexp_test_data): Likewise.
12255 (clog_test_data): Likewise.
12256 (clog10_test_data): Likewise.
12257 (cos_test_data): Update call to AUTO_TESTS_f_f.
12258 (cos_test): Use ALL_RM_TEST.
12259 (cos_tonearest_test_data): Remove.
12260 (cos_test_tonearest): Likewise.
12261 (cos_towardzero_test_data): Likewise.
12262 (cos_test_towardzero): Likewise.
12263 (cos_downward_test_data): Likewise.
12264 (cos_test_downward): Likewise.
12265 (cos_upward_test_data): Likewise.
12266 (cos_test_upward): Likewise.
12267 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12268 (cosh_test): Use ALL_RM_TEST.
12269 (cosh_tonearest_test_data): Remove.
12270 (cosh_test_tonearest): Likewise.
12271 (cosh_towardzero_test_data): Likewise.
12272 (cosh_test_towardzero): Likewise.
12273 (cosh_downward_test_data): Likewise.
12274 (cosh_test_downward): Likewise.
12275 (cosh_upward_test_data): Likewise.
12276 (cosh_test_upward): Likewise.
12277 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12278 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12279 (ctan_test_data): Likewise.
12280 (ctan_test): Use ALL_RM_TEST.
12281 (ctan_tonearest_test_data): Remove.
12282 (ctan_test_tonearest): Likewise.
12283 (ctan_towardzero_test_data): Likewise.
12284 (ctan_test_towardzero): Likewise.
12285 (ctan_downward_test_data): Likewise.
12286 (ctan_test_downward): Likewise.
12287 (ctan_upward_test_data): Likewise.
12288 (ctan_test_upward): Likewise.
12289 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12290 (ctanh_test): Use ALL_RM_TEST.
12291 (ctanh_tonearest_test_data): Remove.
12292 (ctanh_test_tonearest): Likewise.
12293 (ctanh_towardzero_test_data): Likewise.
12294 (ctanh_test_towardzero): Likewise.
12295 (ctanh_downward_test_data): Likewise.
12296 (ctanh_test_downward): Likewise.
12297 (ctanh_upward_test_data): Likewise.
12298 (ctanh_test_upward): Likewise.
12299 (erf_test_data): Update call to AUTO_TESTS_f_f.
12300 (erfc_test_data): Likewise.
12301 (exp_test_data): Likewise.
12302 (exp_test): Use ALL_RM_TEST.
12303 (exp_tonearest_test_data): Remove.
12304 (exp_test_tonearest): Likewise.
12305 (exp_towardzero_test_data): Likewise.
12306 (exp_test_towardzero): Likewise.
12307 (exp_downward_test_data): Likewise.
12308 (exp_test_downward): Likewise.
12309 (exp_upward_test_data): Likewise.
12310 (exp_test_upward): Likewise.
12311 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12312 (exp10_test): Use ALL_RM_TEST.
12313 (exp10_tonearest_test_data): Remove.
12314 (exp10_test_tonearest): Likewise.
12315 (exp10_towardzero_test_data): Likewise.
12316 (exp10_test_towardzero): Likewise.
12317 (exp10_downward_test_data): Likewise.
12318 (exp10_test_downward): Likewise.
12319 (exp10_upward_test_data): Likewise.
12320 (exp10_test_upward): Likewise.
12321 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12322 (expm1_test_data): Likewise.
12323 (expm1_test): Use ALL_RM_TEST.
12324 (expm1_tonearest_test_data): Remove.
12325 (expm1_test_tonearest): Likewise.
12326 (expm1_towardzero_test_data): Likewise.
12327 (expm1_test_towardzero): Likewise.
12328 (expm1_downward_test_data): Likewise.
12329 (expm1_test_downward): Likewise.
12330 (expm1_upward_test_data): Likewise.
12331 (expm1_test_upward): Likewise.
12332 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12333 (fma_test): Use ALL_RM_TEST.
12334 (fma_towardzero_test_data): Remove.
12335 (fma_test_towardzero): Likewise.
12336 (fma_downward_test_data): Likewise.
12337 (fma_test_downward): Likewise.
12338 (fma_upward_test_data): Likewise.
12339 (fma_test_upward): Likewise.
12340 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12341 (j0_test_data): Update call to AUTO_TESTS_f_f.
12342 (j1_test_data): Likewise.
12343 (jn_test_data): Update call to AUTO_TESTS_if_f.
12344 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12345 (log_test_data): Update call to AUTO_TESTS_f_f.
12346 (log10_test_data): Likewise.
12347 (log1p_test_data): Likewise.
12348 (log2_test_data): Likewise.
12349 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12350 (pow_tonearest_test_data): Likewise.
12351 (sin_test_data): Update call to AUTO_TESTS_f_f.
12352 (sin_test): Use ALL_RM_TEST.
12353 (sin_tonearest_test_data): Remove.
12354 (sin_test_tonearest): Likewise.
12355 (sin_towardzero_test_data): Likewise.
12356 (sin_test_towardzero): Likewise.
12357 (sin_downward_test_data): Likewise.
12358 (sin_test_downward): Likewise.
12359 (sin_upward_test_data): Likewise.
12360 (sin_test_upward): Likewise.
12361 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12362 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12363 (sinh_test): Use ALL_RM_TEST.
12364 (sinh_tonearest_test_data): Remove.
12365 (sinh_test_tonearest): Likewise.
12366 (sinh_towardzero_test_data): Likewise.
12367 (sinh_test_towardzero): Likewise.
12368 (sinh_downward_test_data): Likewise.
12369 (sinh_test_downward): Likewise.
12370 (sinh_upward_test_data): Likewise.
12371 (sinh_test_upward): Likewise.
12372 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12373 (sqrt_test): Use ALL_RM_TEST.
12374 (sqrt_tonearest_test_data): Remove.
12375 (sqrt_test_tonearest): Likewise.
12376 (sqrt_towardzero_test_data): Likewise.
12377 (sqrt_test_towardzero): Likewise.
12378 (sqrt_downward_test_data): Likewise.
12379 (sqrt_test_downward): Likewise.
12380 (sqrt_upward_test_data): Likewise.
12381 (sqrt_test_upward): Likewise.
12382 (tan_test_data): Update call to AUTO_TESTS_f_f.
12383 (tan_test): Use ALL_RM_TEST.
12384 (tan_tonearest_test_data): Remove.
12385 (tan_test_tonearest): Likewise.
12386 (tan_towardzero_test_data): Likewise.
12387 (tan_test_towardzero): Likewise.
12388 (tan_downward_test_data): Likewise.
12389 (tan_test_downward): Likewise.
12390 (tan_upward_test_data): Likewise.
12391 (tan_test_upward): Likewise.
12392 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12393 (tgamma_test_data): Likewise.
12394 (y0_test_data): Likewise.
12395 (y1_test_data): Likewise.
12396 (yn_test_data): Update call to AUTO_TESTS_if_f.
12397 (main): Do not call removed functions.
12399 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12401 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12402 (ldexp_test_data): Remove.
12403 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12405 (scalb_test): Use ALL_RM_TEST.
12407 2014-03-19 Andreas Schwab <schwab@suse.de>
12409 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12411 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12415 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12416 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12417 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12418 (__ASSUME_PREADV): Undefine.
12419 (__ASSUME_PWRITEV): Likewise.
12421 2014-03-18 Roland McGrath <roland@hack.frob.com>
12423 * bits/mman-linux.h: Add comment about non-Linux use.
12424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12425 bits/mman-linux.h resting place.
12427 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12428 * bits/mman-linux.h: ... here.
12430 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12432 * conform/conformtest.pl: Add standard definition when calling C
12433 preprocessor on data files.
12434 (checknamespace): Remove unused variable.
12436 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12438 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12439 minus_oflow, plus_uflow and minus_uflow in expected results.
12440 * math/libm-test.inc (scalbn_test_data): Add more tests of
12441 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12443 (scalbn_test): Use ALL_RM_TEST.
12444 (scalbln_test_data): Add more tests of negative arguments. Use
12445 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12446 (scalbln_test): Use ALL_RM_TEST.
12448 2014-03-18 Roland McGrath <roland@hack.frob.com>
12450 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12452 2014-03-18 Will Newton <will.newton@linaro.org>
12454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12455 inaccurate comment.
12457 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12459 * Makerules [!subdir] (check-abi): Exit with error status if a
12462 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12464 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12465 for rint. Include results for all rounding modes.
12466 (nearbyint_test): Use ALL_RM_TEST.
12467 (rint_test_data): Include all tests used for nearbyint.
12469 2014-03-17 Will Newton <will.newton@linaro.org>
12471 * nptl/sysdeps/pthread/pthread.h: Revert previous
12474 * sysdeps/generic/ldsodefs.h: Revert previous
12477 * libio/genops.c: Revert previous change.
12478 * libio/libioP.h: Likewise.
12479 * stdio-common/vfprintf.c: Likewise.
12481 * sysdeps/generic/math_private.h: Revert previous
12484 * sysdeps/generic/math_private.h: Check whether
12485 HAVE_RM_CTX is defined with #ifdef rather
12488 * argp/argp-fmtstream.h: Check whether
12489 __STRICT_ANSI__ is defined with #ifdef rather
12491 * argp/argp.h: Likewise.
12493 * libio/genops.c: Check whether
12494 _IO_JUMPS_OFFSET is defined with #ifdef rather
12496 * libio/libioP.h: Likewise.
12497 * stdio-common/vfprintf.c: Likewise.
12499 * sysdeps/generic/ldsodefs.h: Check whether
12500 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12503 * nptl/sysdeps/pthread/pthread.h: Check
12504 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12507 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12509 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12511 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12515 * libio/fileops.c (_IO_file_open): Seek to end of file but
12516 don't cache the offset.
12517 (get_file_offset): Remove function.
12518 (do_ftell): Use cached offset when available.
12519 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12520 don't cache the offset.
12521 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12523 (do_one_test): Call it.
12524 (do_ftell_test): Fix up expected old offset for a+ mode.
12525 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12528 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12529 up test status with function return status.
12530 (do_write_test): Likewise.
12531 (do_append_test): Likewise.
12533 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12534 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12537 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12539 * math/gen-libm-test.pl (parse_args): Handle results specified for
12540 each rounding mode separately.
12541 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12542 tests and results from lrint_tonearest_test_data,
12543 lrint_towardzero_test_data, lrint_downward_test_data and
12544 lrint_upward_test_data.
12545 (lrint_test): Use ALL_RM_TEST.
12546 (lrint_tonearest_test_data): Remove.
12547 (lrint_test_tonearest): Likewise.
12548 (lrint_towardzero_test_data): Likewise.
12549 (lrint_test_towardzero): Likewise.
12550 (lrint_downward_test_data): Likewise.
12551 (lrint_test_downward): Likewise.
12552 (lrint_upward_test_data): Likewise.
12553 (lrint_test_upward): Likewise.
12554 (llrint_test_data): Merge in per-rounding-mode tests and results
12555 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12556 llrint_downward_test_data and llrint_upward_test_data.
12557 (llrint_test): Use ALL_RM_TEST.
12558 (llrint_tonearest_test_data): Remove.
12559 (llrint_test_tonearest): Likewise.
12560 (llrint_towardzero_test_data): Likewise.
12561 (llrint_test_towardzero): Likewise.
12562 (llrint_downward_test_data): Likewise.
12563 (llrint_test_downward): Likewise.
12564 (llrint_upward_test_data): Likewise.
12565 (llrint_test_upward): Likewise.
12566 (rint_test_data): Merge in per-rounding-mode tests and results
12567 from rint_tonearest_test_data, rint_towardzero_test_data,
12568 rint_downward_test_data and rint_upward_test_data. Add
12569 per-rounding-mode results for tests not in those arrays.
12570 (rint_test): Use ALL_RM_TEST.
12571 (rint_tonearest_test_data): Remove.
12572 (rint_test_tonearest): Likewise.
12573 (rint_towardzero_test_data): Likewise.
12574 (rint_test_towardzero): Likewise.
12575 (rint_downward_test_data): Likewise.
12576 (rint_test_downward): Likewise.
12577 (rint_upward_test_data): Likewise.
12578 (rint_test_upward): Likewise.
12579 (main): Don't call removed functions.
12581 2014-03-14 Roland McGrath <roland@hack.frob.com>
12583 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12584 "Compiled on ..." crapola. It is anti-useful.
12586 2014-03-14 Joseph Myers <joseph@codesourcery.com>
12588 * scripts/evaluate-test.sh: Handle fourth argument to determine
12589 whether test run should stop on failure.
12590 * Makeconfig (stop-on-test-failure): New variable.
12591 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12592 $(stop-on-test-failure).
12593 * Makefile (tests): Give a summary of results from testing and
12594 exit with failure status if they include an ERROR or FAIL.
12595 (xtests): Likewise.
12596 * manual/install.texi (Configuring and compiling): Mention
12597 stop-on-test-failure=y.
12598 * INSTALL: Regenerated.
12600 2014-03-14 Roland McGrath <roland@hack.frob.com>
12602 * scripts/versionlist.awk: New file.
12603 * Makerules [$(build-shared) = yes]
12604 (postclean-generated): Add Versions.def, not Versions.def.v and
12606 ($(common-objpfx)Versions.def.v.i): Target removed.
12607 ($(common-objpfx)Versions.def): New target.
12608 ($(common-objpfx)Versions.all): Depend on that rather that
12609 $(common-objpfx)Versions.def.v.
12610 * Versions.def: File removed.
12612 * Makeconfig (+gccwarn): Add -Wundef.
12613 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12614 a dl-sysdep.h breaking its contract.
12615 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12616 * include/stackinfo.h: New file.
12617 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12618 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12619 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12620 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12621 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12622 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12623 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12624 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12625 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12626 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12627 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12628 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12629 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12630 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12631 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12633 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12636 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12638 * math/libm-test.inc (round_test_data): Add more tests.
12641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12643 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12646 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12648 * math/libm-test.inc (ceil_test_data): Add more tests.
12650 * math/libm-test.inc (trunc_test_data): Add more tests related to
12653 2014-03-14 Roland McGrath <roland@hack.frob.com>
12655 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12656 with #if rather than #ifdef.
12657 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12659 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12661 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12662 first. Disable AVX-512 GCC support if assembler doesn't support
12664 * sysdeps/x86_64/configure: Regenerated.
12666 2014-03-13 Carlos O'Donell <carlos@redhat.com>
12668 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12669 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12670 (__old_pthread_attr_setstack): Likewise.
12671 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12672 [!_STACK_GROWS_DOWN]: Likewise.
12674 2014-03-13 Mike Frysinger <vapier@gentoo.org>
12676 * config.make.in (have-bash2): Delete.
12677 * configure.ac (libc_cv_have_bash2): Delete.
12678 * configure: Regenerate.
12679 * elf/Makefile (common-ldd-rewrite): Rename to ...
12680 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12681 (sh-ldd-rewrite): Delete.
12682 (bash-ldd-rewrite): Delete.
12683 (have-bash2): Delete checks.
12684 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12687 * config.make.in (have-ksh): Delete.
12689 * configure.ac (libc_cv_have_ksh): Delete.
12690 * configure: Regenerate.
12692 * elf/Makefile: Delete $(have-ksh) check.
12693 ($(objpfx)sotruss): Change KSH to BASH.
12694 * elf/sotruss.ksh: Rename to ...
12695 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12696 function style to match POSIX. Drop ksh vim mode setting.
12698 * manual/time.texi (Specifying the Time Zone with TZ): Change
12699 Tuesday to Thursday.
12701 * debug/tst-longjmp_chk2.c: Update header comment.
12702 (stackoverflow_handler): Add comment. Call assert on pass value.
12704 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12707 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12708 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12709 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12710 (La_x86_64_vector): Add zmm.
12711 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12712 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12713 ($(objpfx)tst-audit10): New target.
12714 ($(objpfx)tst-audit10.out): Likewise.
12715 (tst-audit10-ENV): New.
12716 (AVX512-CFLAGS): Likewise.
12717 (CFLAGS-tst-audit10.c): Likewise.
12718 (CFLAGS-tst-auditmod10a.c): Likewise.
12719 (CFLAGS-tst-auditmod10b.c): Likewise.
12720 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12721 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12722 * sysdeps/x86_64/configure: Regenerated.
12723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12724 AVX-512 zmm register support.
12725 (_dl_x86_64_save_sse): Likewise.
12726 (_dl_x86_64_restore_sse): Likewise.
12727 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12728 size vector registers.
12729 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12730 (ZMM_SIZE): Likewise.
12731 * sysdeps/x86_64/tst-audit10.c: New file.
12732 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12733 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12735 2014-03-13 Roland McGrath <roland@hack.frob.com>
12737 * configure.ac (HAVE_EHDR_START): New check.
12738 * configure: Regenerated.
12739 * config.h.in (HAVE_EHDR_START): New #undef.
12740 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12741 assuming the lowest-addressed segment maps the start of the file.
12743 2014-03-13 Joseph Myers <joseph@codesourcery.com>
12745 * INSTALL: Regenerated.
12747 2014-03-13 Will Newton <will.newton@linaro.org>
12749 * manual/setjmp.texi (System V contexts): Improve
12750 clarity and grammar of documentation.
12752 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12755 * elf/Makefile (tests): Add tst-pie2.
12756 (tests-pie): Add tst-pie2.
12757 * elf/tst-pie2.c: New file.
12758 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12760 * elf/rtld.c (map_doit): Load executable as lt_executable.
12761 (dl_main): Likewise.
12763 2014-03-12 Joseph Myers <joseph@codesourcery.com>
12766 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12767 (__ASSUME_PSELECT): Undefine.
12769 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12772 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12773 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12775 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12776 selector for static builds.
12778 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12781 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12784 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12786 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12787 IFUNC selector for static builds.
12789 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12791 * sysdeps/mips/math_private.h [__mips_hard_float]
12792 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12793 libc_feresetround_mips_ctx.
12794 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12795 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12796 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12799 * math/s_nextafter.c (__nextafter): Do not return value from
12800 overflowing computation.
12801 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12802 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12805 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12807 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12808 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12810 2014-03-11 Roland McGrath <roland@hack.frob.com>
12812 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12813 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12814 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12815 the new mov targetting sp.
12817 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12820 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12821 Define it for static builds as well.
12822 (NO_BZERO_IMPL): Likewise.
12824 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12826 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12827 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12828 multiarch strspn for PPC64.
12829 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12830 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12832 (__libc_ifunc_impl_list): Likewise.
12833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12834 multiarch optimizations
12835 * string/strspn.c (strspn): Using macro to redefine symbol name.
12837 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12838 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12840 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12841 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12842 multiarch strncat for PPC64.
12843 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12844 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12846 (__libc_ifunc_impl_list): Likewise.
12847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12848 multiarch optimizations
12850 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12853 * nscd/nscd.service: Make service type forking.
12855 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12857 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12858 sign in non default rounding modes.
12859 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12861 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12863 * math/libm-test.inc (ALL_RM_TEST): New macro.
12864 (ceil_test): Use ALL_RM_TEST.
12865 (cimag_test): Likewise.
12866 (conj_test): Likewise.
12867 (copysign_test): Likewise.
12868 (cproj_test): Likewise.
12869 (creal_test): Likewise.
12870 (fabs_test): Likewise.
12871 (floor_test): Likewise.
12872 (fmax_test): Likewise.
12873 (fmin_test): Likewise.
12874 (fmod_test): Likewise.
12875 (fpclassify_test): Likewise.
12876 (frexp_test): Likewise.
12877 (ilogb_test): Likewise.
12878 (isfinite_test): Likewise.
12879 (finite_test): Likewise.
12880 (isgreater_test): Likewise.
12881 (isgreaterequal_test): Likewise.
12882 (isinf_test): Likewise.
12883 (isless_test): Likewise.
12884 (islessequal_test): Likewise.
12885 (islessgreater_test): Likewise.
12886 (isnan_test): Likewise.
12887 (isnormal_test): Likewise.
12888 (issignaling_test): Likewise.
12889 (isunordered_test): Likewise.
12890 (logb_test): Likewise.
12891 (logb_downward_test_data): Remove.
12892 (logb_test_downward): Likewise.
12893 (lround_test): Use ALL_RM_TEST.
12894 (llround_test): Likewise.
12895 (modf_test): Likewise.
12896 (nexttoward_test): Likewise.
12897 (remainder_test): Likewise.
12898 (drem_test): Likewise.
12899 (remainder_tonearest_test_data): Likewise.
12900 (remainder_test_tonearest): Likewise.
12901 (drem_test_tonearest): Likewise.
12902 (remainder_towardzero_test_data): Likewise.
12903 (remainder_test_towardzero): Likewise.
12904 (drem_test_towardzero): Likewise.
12905 (remainder_downward_test_data): Likewise.
12906 (remainder_test_downward): Likewise.
12907 (drem_test_downward): Likewise.
12908 (remainder_upward_test_data): Likewise.
12909 (remainder_test_upward): Likewise.
12910 (drem_test_upward): Likewise.
12911 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12912 (round_test): Use ALL_RM_TEST.
12913 (signbit_test): Likewise.
12914 (trunc_test): Likewise.
12915 (significand_test): Likewise.
12916 (main): Don't call removed functions.
12918 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12921 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12922 || __USE_XOPEN2K8].
12923 (ILL_ILLOPN): Likewise.
12924 (ILL_ILLADR): Likewise.
12925 (ILL_ILLTRP): Likewise.
12926 (ILL_PRVOPC): Likewise.
12927 (ILL_PRVREG): Likewise.
12928 (ILL_COPROC): Likewise.
12929 (ILL_BADSTK): Likewise.
12930 (FPE_INTDIV): Likewise.
12931 (FPE_INTOVF): Likewise.
12932 (FPE_FLTDIV): Likewise.
12933 (FPE_FLTOVF): Likewise.
12934 (FPE_FLTUND): Likewise.
12935 (FPE_FLTRES): Likewise.
12936 (FPE_FLTINV): Likewise.
12937 (FPE_FLTSUB): Likewise.
12938 (SEGV_MAPERR): Likewise.
12939 (SEGV_ACCERR): Likewise.
12940 (BUS_ADRALN): Likewise.
12941 (BUS_ADRERR): Likewise.
12942 (BUS_OBJERR): Likewise.
12943 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12944 (TRAP_TRACE): Likewise.
12945 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12947 (CLD_KILLED): Likewise.
12948 (CLD_DUMPED): Likewise.
12949 (CLD_TRAPPED): Likewise.
12950 (CLD_STOPPED): Likewise.
12951 (CLD_CONTINUED): Likewise.
12952 (POLL_IN): Likewise.
12953 (POLL_OUT): Likewise.
12954 (POLL_MSG): Likewise.
12955 (POLL_ERR): Likewise.
12956 (POLL_PRI): Likewise.
12957 (POLL_HUP): Likewise.
12958 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12960 (ILL_ILLOPN): Likewise.
12961 (ILL_ILLADR): Likewise.
12962 (ILL_ILLTRP): Likewise.
12963 (ILL_PRVOPC): Likewise.
12964 (ILL_PRVREG): Likewise.
12965 (ILL_COPROC): Likewise.
12966 (ILL_BADSTK): Likewise.
12967 (FPE_INTDIV): Likewise.
12968 (FPE_INTOVF): Likewise.
12969 (FPE_FLTDIV): Likewise.
12970 (FPE_FLTOVF): Likewise.
12971 (FPE_FLTUND): Likewise.
12972 (FPE_FLTRES): Likewise.
12973 (FPE_FLTINV): Likewise.
12974 (FPE_FLTSUB): Likewise.
12975 (SEGV_MAPERR): Likewise.
12976 (SEGV_ACCERR): Likewise.
12977 (BUS_ADRALN): Likewise.
12978 (BUS_ADRERR): Likewise.
12979 (BUS_OBJERR): Likewise.
12980 (BUS_MCEERR_AR): Likewise.
12981 (BUS_MCEERR_AO): Likewise.
12982 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12983 (TRAP_TRACE): Likewise.
12984 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12986 (CLD_KILLED): Likewise.
12987 (CLD_DUMPED): Likewise.
12988 (CLD_TRAPPED): Likewise.
12989 (CLD_STOPPED): Likewise.
12990 (CLD_CONTINUED): Likewise.
12991 (POLL_IN): Likewise.
12992 (POLL_OUT): Likewise.
12993 (POLL_MSG): Likewise.
12994 (POLL_ERR): Likewise.
12995 (POLL_PRI): Likewise.
12996 (POLL_HUP): Likewise.
12997 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12998 (ILL_ILLOPN): Likewise.
12999 (ILL_ILLADR): Likewise.
13000 (ILL_ILLTRP): Likewise.
13001 (ILL_PRVOPC): Likewise.
13002 (ILL_PRVREG): Likewise.
13003 (ILL_COPROC): Likewise.
13004 (ILL_BADSTK): Likewise.
13005 (FPE_INTDIV): Likewise.
13006 (FPE_INTOVF): Likewise.
13007 (FPE_FLTDIV): Likewise.
13008 (FPE_FLTOVF): Likewise.
13009 (FPE_FLTUND): Likewise.
13010 (FPE_FLTRES): Likewise.
13011 (FPE_FLTINV): Likewise.
13012 (FPE_FLTSUB): Likewise.
13013 (SEGV_MAPERR): Likewise.
13014 (SEGV_ACCERR): Likewise.
13015 (BUS_ADRALN): Likewise.
13016 (BUS_ADRERR): Likewise.
13017 (BUS_OBJERR): Likewise.
13018 (BUS_MCEERR_AR): Likewise.
13019 (BUS_MCEERR_AO): Likewise.
13020 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13021 (TRAP_TRACE): Likewise.
13022 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13024 (CLD_KILLED): Likewise.
13025 (CLD_DUMPED): Likewise.
13026 (CLD_TRAPPED): Likewise.
13027 (CLD_STOPPED): Likewise.
13028 (CLD_CONTINUED): Likewise.
13029 (POLL_IN): Likewise.
13030 (POLL_OUT): Likewise.
13031 (POLL_MSG): Likewise.
13032 (POLL_ERR): Likewise.
13033 (POLL_PRI): Likewise.
13034 (POLL_HUP): Likewise.
13035 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13037 (ILL_ILLOPN): Likewise.
13038 (ILL_ILLADR): Likewise.
13039 (ILL_ILLTRP): Likewise.
13040 (ILL_PRVOPC): Likewise.
13041 (ILL_PRVREG): Likewise.
13042 (ILL_COPROC): Likewise.
13043 (ILL_BADSTK): Likewise.
13044 (ILL_BADIADDR): Likewise.
13045 (ILL_BREAK): Likewise.
13046 (FPE_INTDIV): Likewise.
13047 (FPE_INTOVF): Likewise.
13048 (FPE_FLTDIV): Likewise.
13049 (FPE_FLTOVF): Likewise.
13050 (FPE_FLTUND): Likewise.
13051 (FPE_FLTRES): Likewise.
13052 (FPE_FLTINV): Likewise.
13053 (FPE_FLTSUB): Likewise.
13054 (FPE_DECOVF): Likewise.
13055 (FPE_DECDIV): Likewise.
13056 (FPE_DECERR): Likewise.
13057 (FPE_INVASC): Likewise.
13058 (FPE_INVDEC): Likewise.
13059 (SEGV_MAPERR): Likewise.
13060 (SEGV_ACCERR): Likewise.
13061 (SEGV_PSTKOVF): Likewise.
13062 (BUS_ADRALN): Likewise.
13063 (BUS_ADRERR): Likewise.
13064 (BUS_OBJERR): Likewise.
13065 (BUS_MCEERR_AR): Likewise.
13066 (BUS_MCEERR_AO): Likewise.
13067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13068 (TRAP_TRACE): Likewise.
13069 (TRAP_BRANCH): Likewise.
13070 (TRAP_HWBKPT): Likewise.
13071 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13073 (CLD_KILLED): Likewise.
13074 (CLD_DUMPED): Likewise.
13075 (CLD_TRAPPED): Likewise.
13076 (CLD_STOPPED): Likewise.
13077 (CLD_CONTINUED): Likewise.
13078 (POLL_IN): Likewise.
13079 (POLL_OUT): Likewise.
13080 (POLL_MSG): Likewise.
13081 (POLL_ERR): Likewise.
13082 (POLL_PRI): Likewise.
13083 (POLL_HUP): Likewise.
13084 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13085 (ILL_ILLOPN): Likewise.
13086 (ILL_ILLADR): Likewise.
13087 (ILL_ILLTRP): Likewise.
13088 (ILL_PRVOPC): Likewise.
13089 (ILL_PRVREG): Likewise.
13090 (ILL_COPROC): Likewise.
13091 (ILL_BADSTK): Likewise.
13092 (FPE_INTDIV): Likewise.
13093 (FPE_INTOVF): Likewise.
13094 (FPE_FLTDIV): Likewise.
13095 (FPE_FLTOVF): Likewise.
13096 (FPE_FLTUND): Likewise.
13097 (FPE_FLTRES): Likewise.
13098 (FPE_FLTINV): Likewise.
13099 (FPE_FLTSUB): Likewise.
13100 (SEGV_MAPERR): Likewise.
13101 (SEGV_ACCERR): Likewise.
13102 (BUS_ADRALN): Likewise.
13103 (BUS_ADRERR): Likewise.
13104 (BUS_OBJERR): Likewise.
13105 (BUS_MCEERR_AR): Likewise.
13106 (BUS_MCEERR_AO): Likewise.
13107 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13108 (TRAP_TRACE): Likewise.
13109 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13111 (CLD_KILLED): Likewise.
13112 (CLD_DUMPED): Likewise.
13113 (CLD_TRAPPED): Likewise.
13114 (CLD_STOPPED): Likewise.
13115 (CLD_CONTINUED): Likewise.
13116 (POLL_IN): Likewise.
13117 (POLL_OUT): Likewise.
13118 (POLL_MSG): Likewise.
13119 (POLL_ERR): Likewise.
13120 (POLL_PRI): Likewise.
13121 (POLL_HUP): Likewise.
13122 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13123 (ILL_ILLOPN): Likewise.
13124 (ILL_ILLADR): Likewise.
13125 (ILL_ILLTRP): Likewise.
13126 (ILL_PRVOPC): Likewise.
13127 (ILL_PRVREG): Likewise.
13128 (ILL_COPROC): Likewise.
13129 (ILL_BADSTK): Likewise.
13130 (FPE_INTDIV): Likewise.
13131 (FPE_INTOVF): Likewise.
13132 (FPE_FLTDIV): Likewise.
13133 (FPE_FLTOVF): Likewise.
13134 (FPE_FLTUND): Likewise.
13135 (FPE_FLTRES): Likewise.
13136 (FPE_FLTINV): Likewise.
13137 (FPE_FLTSUB): Likewise.
13138 (SEGV_MAPERR): Likewise.
13139 (SEGV_ACCERR): Likewise.
13140 (BUS_ADRALN): Likewise.
13141 (BUS_ADRERR): Likewise.
13142 (BUS_OBJERR): Likewise.
13143 (BUS_MCEERR_AR): Likewise.
13144 (BUS_MCEERR_AO): Likewise.
13145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13146 (TRAP_TRACE): Likewise.
13147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13149 (CLD_KILLED): Likewise.
13150 (CLD_DUMPED): Likewise.
13151 (CLD_TRAPPED): Likewise.
13152 (CLD_STOPPED): Likewise.
13153 (CLD_CONTINUED): Likewise.
13154 (POLL_IN): Likewise.
13155 (POLL_OUT): Likewise.
13156 (POLL_MSG): Likewise.
13157 (POLL_ERR): Likewise.
13158 (POLL_PRI): Likewise.
13159 (POLL_HUP): Likewise.
13160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13161 (ILL_ILLOPN): Likewise.
13162 (ILL_ILLADR): Likewise.
13163 (ILL_ILLTRP): Likewise.
13164 (ILL_PRVOPC): Likewise.
13165 (ILL_PRVREG): Likewise.
13166 (ILL_COPROC): Likewise.
13167 (ILL_BADSTK): Likewise.
13168 (FPE_INTDIV): Likewise.
13169 (FPE_INTOVF): Likewise.
13170 (FPE_FLTDIV): Likewise.
13171 (FPE_FLTOVF): Likewise.
13172 (FPE_FLTUND): Likewise.
13173 (FPE_FLTRES): Likewise.
13174 (FPE_FLTINV): Likewise.
13175 (FPE_FLTSUB): Likewise.
13176 (SEGV_MAPERR): Likewise.
13177 (SEGV_ACCERR): Likewise.
13178 (BUS_ADRALN): Likewise.
13179 (BUS_ADRERR): Likewise.
13180 (BUS_OBJERR): Likewise.
13181 (BUS_MCEERR_AR): Likewise.
13182 (BUS_MCEERR_AO): Likewise.
13183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13184 (TRAP_TRACE): Likewise.
13185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13187 (CLD_KILLED): Likewise.
13188 (CLD_DUMPED): Likewise.
13189 (CLD_TRAPPED): Likewise.
13190 (CLD_STOPPED): Likewise.
13191 (CLD_CONTINUED): Likewise.
13192 (POLL_IN): Likewise.
13193 (POLL_OUT): Likewise.
13194 (POLL_MSG): Likewise.
13195 (POLL_ERR): Likewise.
13196 (POLL_PRI): Likewise.
13197 (POLL_HUP): Likewise.
13198 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13199 (ILL_ILLOPN): Likewise.
13200 (ILL_ILLADR): Likewise.
13201 (ILL_ILLTRP): Likewise.
13202 (ILL_PRVOPC): Likewise.
13203 (ILL_PRVREG): Likewise.
13204 (ILL_COPROC): Likewise.
13205 (ILL_BADSTK): Likewise.
13206 (ILL_DBLFLT): Likewise.
13207 (ILL_HARDWALL): Likewise.
13208 (FPE_INTDIV): Likewise.
13209 (FPE_INTOVF): Likewise.
13210 (FPE_FLTDIV): Likewise.
13211 (FPE_FLTOVF): Likewise.
13212 (FPE_FLTUND): Likewise.
13213 (FPE_FLTRES): Likewise.
13214 (FPE_FLTINV): Likewise.
13215 (FPE_FLTSUB): Likewise.
13216 (SEGV_MAPERR): Likewise.
13217 (SEGV_ACCERR): Likewise.
13218 (BUS_ADRALN): Likewise.
13219 (BUS_ADRERR): Likewise.
13220 (BUS_OBJERR): Likewise.
13221 (BUS_MCEERR_AR): Likewise.
13222 (BUS_MCEERR_AO): Likewise.
13223 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13224 (TRAP_TRACE): Likewise.
13225 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13227 (CLD_KILLED): Likewise.
13228 (CLD_DUMPED): Likewise.
13229 (CLD_TRAPPED): Likewise.
13230 (CLD_STOPPED): Likewise.
13231 (CLD_CONTINUED): Likewise.
13232 (POLL_IN): Likewise.
13233 (POLL_OUT): Likewise.
13234 (POLL_MSG): Likewise.
13235 (POLL_ERR): Likewise.
13236 (POLL_PRI): Likewise.
13237 (POLL_HUP): Likewise.
13238 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13239 (ILL_ILLOPN): Likewise.
13240 (ILL_ILLADR): Likewise.
13241 (ILL_ILLTRP): Likewise.
13242 (ILL_PRVOPC): Likewise.
13243 (ILL_PRVREG): Likewise.
13244 (ILL_COPROC): Likewise.
13245 (ILL_BADSTK): Likewise.
13246 (FPE_INTDIV): Likewise.
13247 (FPE_INTOVF): Likewise.
13248 (FPE_FLTDIV): Likewise.
13249 (FPE_FLTOVF): Likewise.
13250 (FPE_FLTUND): Likewise.
13251 (FPE_FLTRES): Likewise.
13252 (FPE_FLTINV): Likewise.
13253 (FPE_FLTSUB): Likewise.
13254 (SEGV_MAPERR): Likewise.
13255 (SEGV_ACCERR): Likewise.
13256 (BUS_ADRALN): Likewise.
13257 (BUS_ADRERR): Likewise.
13258 (BUS_OBJERR): Likewise.
13259 (BUS_MCEERR_AR): Likewise.
13260 (BUS_MCEERR_AO): Likewise.
13261 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13262 (TRAP_TRACE): Likewise.
13263 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13265 (CLD_KILLED): Likewise.
13266 (CLD_DUMPED): Likewise.
13267 (CLD_TRAPPED): Likewise.
13268 (CLD_STOPPED): Likewise.
13269 (CLD_CONTINUED): Likewise.
13270 (POLL_IN): Likewise.
13271 (POLL_OUT): Likewise.
13272 (POLL_MSG): Likewise.
13273 (POLL_ERR): Likewise.
13274 (POLL_PRI): Likewise.
13275 (POLL_HUP): Likewise.
13276 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13277 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13280 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13281 before #include of <time.h>.
13282 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13283 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13284 (test-xfail-UNIX98/sched.h/conform): Likewise.
13286 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13288 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13289 error absence of trapping exception support.
13290 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13292 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13294 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13295 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13296 * timezone/Makefile (testdata): Move definition above include of
13298 (test-zones): New variable.
13299 (tests-special): Add zone files.
13300 (build-testdata): Use $(evaluate-test).
13302 * elf/Makefile (tests-special): Rename tests to end with .out.
13303 ($(objpfx)noload-mem): Likewise.
13304 ($(objpfx)tst-leaks1-mem): Likewise.
13305 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13306 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13307 $(objpfx)test-iconvconfig.out.
13308 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13309 set -e inside subshell and redirect output to file.
13310 * iconvdata/Makefile (generated): Rename tests to end with .out.
13312 (tests-special): Rename tests to end with .out.
13313 ($(objpfx)mtrace-tst-loading): Likewise.
13314 * intl/Makefile (generated): Likewise.
13315 (tests-special): Likewise.
13316 ($(objpfx)mtrace-tst-gettext): Likewise.
13317 * misc/Makefile (generated): Likewise.
13318 (tests-special): Likewise.
13319 ($(objpfx)tst-error1-mem): Likewise.
13320 * nptl/Makefile (tests-special): Likewise.
13321 ($(objpfx)tst-stack3-mem): Likewise.
13322 (generated): Likewise.
13323 * posix/Makefile (generated): Likewise.
13324 (tests-special): Likewise.
13325 (xtests-special): Likewise.
13326 ($(objpfx)tst-fnmatch-mem): Likewise.
13327 ($(objpfx)bug-regex2-mem): Likewise.
13328 ($(objpfx)bug-regex14-mem): Likewise.
13329 ($(objpfx)bug-regex21-mem): Likewise.
13330 ($(objpfx)bug-regex31-mem): Likewise.
13331 ($(objpfx)tst-vfork3-mem): Likewise.
13332 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13333 ($(objpfx)tst-pcre-mem): Likewise.
13334 ($(objpfx)tst-boost-mem): Likewise.
13335 ($(objpfx)bug-ga2-mem): Likewise.
13336 ($(objpfx)bug-glob2-mem): Likewise.
13337 * resolv/Makefile (generate): Likewise.
13338 (tests-special): Likewise.
13339 (xtests-special): Likewise.
13340 (generated): Likewise.
13341 ($(objpfx)mtrace-tst-leaks): Likewise.
13342 ($(objpfx)mtrace-tst-leaks2): Likewise.
13344 * scripts/merge-test-results.sh: New file.
13345 * Makefile (tests-special-notdir): New variable.
13346 (tests): Run merge-test-results.sh.
13347 (xtests): Likewise.
13348 * Rules (tests-special-notdir): New variable.
13349 (xtests-special-notdir): Likewise.
13350 (tests): Run merge-test-results.sh
13351 (xtests): Likewise.
13353 * Makeconfig (test-xfail-name): New variable.
13354 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13355 compute variable name for expected failures.
13356 * conform/Makefile (conformtest-headers-data): New variable.
13357 (conformtest-standards): Likewise.
13358 (conformtest-headers-ISO): Likewise.
13359 (conformtest-headers-ISO99): Likewise.
13360 (conformtest-headers-ISO11): Likewise.
13361 (conformtest-headers-POSIX): Likewise.
13362 (conformtest-headers-XPG3): Likewise.
13363 (conformtest-headers-XPG4): Likewise.
13364 (conformtest-headers-UNIX98): Likewise.
13365 (conformtest-headers-XOPEN2K): Likewise.
13366 (conformtest-headers-POSIX2008): Likewise.
13367 (conformtest-headers-XOPEN2K8): Likewise.
13368 (conformtest-header-list-base): Likewise.
13369 (conformtest-header-list-tests): Likewise.
13370 (conformtest-header-base): Likewise.
13371 (conformtest-header-tests): Likewise.
13372 (tests-special): Add $(conformtest-header-list-tests). If
13373 [$(fast-check) && !$(cross-compiling)], add
13374 $(conformtest-header-tests) instead of
13375 $(objpfx)run-conformtest.out.
13376 (generated): Add $(conformtest-header-list-base). If
13377 [$(fast-check) && !$(cross-compiling)], add
13378 $(conformtest-header-base). Remove previous setting.
13379 ($(conformtest-header-list-tests)): New target.
13380 (test-xfail-run-conformtest): Remove variable.
13381 ($(objpfx)run-conformtest.out): Remove target.
13382 (test-xfail-ISO11/complex.h/conform): New variable.
13383 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13384 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13385 (test-xfail-XPG3/varargs.h/conform): Likewise.
13386 (test-xfail-XPG4/varargs.h/conform): Likewise.
13387 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13388 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13389 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13390 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13391 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13392 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13393 (test-xfail-XPG3/ftw.h/conform): Likewise.
13394 (test-xfail-XPG3/grp.h/conform): Likewise.
13395 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13396 (test-xfail-XPG3/limits.h/conform): Likewise.
13397 (test-xfail-XPG3/pwd.h/conform): Likewise.
13398 (test-xfail-XPG3/search.h/conform): Likewise.
13399 (test-xfail-XPG3/signal.h/conform): Likewise.
13400 (test-xfail-XPG3/stdio.h/conform): Likewise.
13401 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13402 (test-xfail-XPG3/string.h/conform): Likewise.
13403 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13404 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13405 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13406 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13407 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13408 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13409 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13410 (test-xfail-XPG3/termios.h/conform): Likewise.
13411 (test-xfail-XPG3/time.h/conform): Likewise.
13412 (test-xfail-XPG3/unistd.h/conform): Likewise.
13413 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13414 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13415 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13416 (test-xfail-XPG4/netdb.h/conform): Likewise.
13417 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13418 (test-xfail-XPG4/signal.h/conform): Likewise.
13419 (test-xfail-XPG4/stdio.h/conform): Likewise.
13420 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13421 (test-xfail-XPG4/stropts.h/conform): Likewise.
13422 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13423 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13424 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13425 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13426 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13427 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13428 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13429 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13430 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13431 (test-xfail-XPG4/termios.h/conform): Likewise.
13432 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13433 (test-xfail-XPG4/unistd.h/conform): Likewise.
13434 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13435 (test-xfail-POSIX/sched.h/conform): Likewise.
13436 (test-xfail-POSIX/signal.h/conform): Likewise.
13437 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13438 (test-xfail-POSIX/tar.h/conform): Likewise.
13439 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13440 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13441 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13442 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13443 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13444 (test-xfail-UNIX98/sched.h/conform): Likewise.
13445 (test-xfail-UNIX98/signal.h/conform): Likewise.
13446 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13447 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13448 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13449 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13450 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13451 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13452 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13453 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13454 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13455 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13456 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13457 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13458 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13459 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13460 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13461 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13462 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13463 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13464 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13465 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13466 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13467 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13468 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13469 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13470 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13471 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13472 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13473 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13474 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13475 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13476 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13477 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13478 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13479 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13480 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13481 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13482 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13483 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13484 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13485 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13486 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13487 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13488 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13489 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13490 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13491 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13492 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13493 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13494 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13495 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13496 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13497 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13498 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13499 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13500 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13501 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13502 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13503 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13504 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13505 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13506 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13507 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13508 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13509 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13510 (conformtest-cc-flags): Likewise.
13511 ($(conformtest-header-tests): New target.
13512 * conform/check-header-lists.sh: New file.
13513 * conform/run-conformtest.sh: Remove.
13515 * conform/conformtest.pl: Allow ' and \ in values given for
13517 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13519 [POSIX] (sys/types.h): Likewise.
13520 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13522 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13524 * conform/data/signal.h-data (SIGIO): Remove expectation.
13525 [XPG3] (SIGBUS): Do not expect.
13526 [POSIX || XPG3] (SIGPOLL): Likewise.
13527 [POSIX || XPG3] (SIGPROF): Likewise.
13528 [POSIX || XPG3] (SIGSYS): Likewise.
13529 [XPG3] (SIGTRAP): Likewise.
13530 [POSIX || XPG3] (SIGURG): Likewise.
13531 [POSIX || XPG3] (SIGVTALRM): Likewise.
13532 [POSIX || XPG3] (SIGXCPU): Likewise.
13533 [POSIX || XPG3] (SIGXFSZ): Likewise.
13534 [POSIX] (SA_SIGINFO): Expect.
13535 [XPG3] (siginfo_t): Do not expect type or contents.
13536 [POSIX] (si_pid): Do not expect element.
13537 [POSIX] (si_uid): Likewise.
13538 [POSIX] (si_addr): Likewise.
13539 [POSIX] (si_status): Likewise.
13540 [POSIX] (si_band): Likewise.
13541 [XPG4] (si_value): Likewise.
13542 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13543 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13544 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13545 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13546 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13547 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13548 [POSIX || XPG3] (ILL_COPROC): Likewise.
13549 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13550 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13551 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13552 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13553 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13554 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13555 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13556 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13557 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13558 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13559 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13560 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13561 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13562 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13563 [POSIX || XPG3] (CLD_EXITED): Likewise.
13564 [POSIX || XPG3] (CLD_KILLED): Likewise.
13565 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13566 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13567 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13568 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13569 [POSIX || XPG3] (POLL_IN): Likewise.
13570 [POSIX || XPG3] (POLL_OUT): Likewise.
13571 [POSIX || XPG3] (POLL_MSG): Likewise.
13572 [POSIX || XPG3] (POLL_ERR): Likewise.
13573 [POSIX || XPG3] (POLL_PRI): Likewise.
13574 [POSIX || XPG3] (POLL_HUP): Likewise.
13575 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13576 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13577 (SIG*): Do not allow.
13578 [XPG3] (si_*): Likewise.
13579 [XPG3] (SI_*): Likewise.
13580 [XPG3 || XPG4] (sigev_*): Likewise.
13581 [XPG3 || XPG4] (SIGEV_*): Likewise.
13582 [XPG3 || XPG4] (sival_*): Likewise.
13583 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13584 [POSIX || XPG3] (BUS_*): Likewise.
13585 [POSIX || XPG3] (CLD_*): Likewise.
13586 [POSIX || XPG3] (FPE_*): Likewise.
13587 [POSIX || XPG3] (ILL_*): Likewise.
13588 [POSIX || XPG3] (POLL_*): Likewise.
13589 [POSIX || XPG3] (SEGV_*): Likewise.
13590 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13591 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13592 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13593 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13594 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13595 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13596 Specify type and value.
13597 (TVERSLEN): Likewise.
13598 (REGTYPE): Likewise.
13599 (AREGTYPE): Likewise.
13600 (LNKTYPE): Likewise.
13601 (SYMTYPE): Likewise.
13602 (CHRTYPE): Likewise.
13603 (BLKTYPE): Likewise.
13604 (DIRTYPE): Likewise.
13605 (FIFOTYPE): Likewise.
13606 (CONTTYPE): Likewise.
13610 (TUREAD): Likewise.
13611 (TUWRITE): Likewise.
13612 (TUEXEC): Likewise.
13613 (TGREAD): Likewise.
13614 (TGWRITE): Likewise.
13615 (TGEXEC): Likewise.
13616 (TOREAD): Likewise.
13617 (TOWRITE): Likewise.
13618 (TOEXEC): Likewise.
13619 [POSIX] (TSVTX): Expect constant.
13621 2014-03-06 Joseph Myers <joseph@codesourcery.com>
13623 * Makefile (tests): Change dependencies to ....
13624 (tests-special): ... additions to this variable.
13625 (tests): Depend on $(tests-special).
13626 * Makerules (check-abi-list): New variable.
13627 (check-abi): Depend on $(check-abi-list).
13628 [$(subdir) = elf] (tests-special): Add
13629 $(objpfx)check-abi-libc.out.
13630 [$(build-shared) = yes && subdir] (tests-special): Add
13632 [$(build-shared) = yes && subdir] (tests): Do not depend on
13634 * Rules (tests): Depend on $(tests-special).
13635 (xtests): Depend on $(xtests-special).
13636 * catgets/Makefile (tests): Change dependencies to ....
13637 (tests-special): ... additions to this variable.
13638 * conform/Makefile (tests): Change dependencies to ....
13639 (tests-special): ... additions to this variable.
13640 * elf/Makefile (tests): Change dependencies to ....
13641 (tests-special): ... additions to this variable.
13642 * grp/Makefile (tests): Change dependencies to ....
13643 (tests-special): ... additions to this variable.
13644 * iconv/Makefile (xtests): Change dependencies to ....
13645 (xtests-special): ... additions to this variable.
13646 * iconvdata/Makefile (tests): Change dependencies to ....
13647 (tests-special): ... additions to this variable.
13648 * intl/Makefile (tests): Change dependencies to ....
13649 (tests-special): ... additions to this variable. Also add
13650 $(objpfx)tst-gettext.out.
13651 * io/Makefile (tests): Change dependencies to ....
13652 (tests-special): ... additions to this variable.
13653 * libio/Makefile (tests): Change dependencies to ....
13654 (tests-special): ... additions to this variable.
13655 * malloc/Makefile (tests): Change dependencies to ....
13656 (tests-special): ... additions to this variable.
13657 * misc/Makefile (tests): Change dependencies to ....
13658 (tests-special): ... additions to this variable.
13659 * nptl/Makefile (tests): Change dependencies to ....
13660 (tests-special): ... additions to this variable.
13661 * nptl_db/Makefile (tests): Change dependencies to ....
13662 (tests-special): ... additions to this variable.
13663 * posix/Makefile (tests): Change dependencies to ....
13664 (tests-special): ... additions to this variable.
13665 (xtests): Change dependencies to ....
13666 (xtests-special): ... additions to this variable.
13667 * resolv/Makefile (tests): Change dependencies to ....
13668 (tests-special): ... additions to this variable.
13669 (xtests): Change dependencies to ....
13670 (xtests-special): ... additions to this variable.
13671 * stdio-common/Makefile (tests): Change dependencies to ....
13672 (tests-special): ... additions to this variable.
13673 (do-tst-unbputc): Remove target.
13674 (do-tst-printf): Likewise.
13675 * stdlib/Makefile (tests): Change dependencies to ....
13676 (tests-special): ... additions to this variable.
13677 * string/Makefile (tests): Change dependencies to ....
13678 (tests-special): ... additions to this variable.
13679 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13680 (tests-special): ... additions to this variable.
13682 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13684 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13686 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13687 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13689 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13690 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13691 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13692 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13693 * conform/data/libgen.h-data [XPG3]: Likewise.
13694 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13695 * conform/data/ndbm.h-data [XPG3]: Likewise.
13696 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13697 * conform/data/netdb.h-data [XPG3]: Likewise.
13698 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13699 * conform/data/poll.h-data [XPG3]: Likewise.
13700 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13701 * conform/data/strings.h-data [XPG3]: Likewise.
13702 * conform/data/stropts.h-data [XPG3]: Likewise.
13703 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13704 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13705 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13707 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13708 * conform/data/sys/time.h-data [XPG3]: Likewise.
13709 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13710 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13711 * conform/data/sys/un.h-data [XPG3]: Likewise.
13712 * conform/data/syslog.h-data [XPG3]: Likewise.
13713 * conform/data/ucontext.h-data [XPG3]: Likewise.
13714 * conform/data/utmpx.h-data [XPG3]: Likewise.
13715 * conform/data/varargs.h-data [UNIX98]: Enable file.
13717 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13719 * math/libm-test.inc (struct test_f_f_data): Move expected results
13720 into structure for each rounding mode.
13721 (struct test_ff_f_data): Likewise.
13722 (struct test_ff_f_data_nexttoward): Likewise.
13723 (struct test_fi_f_data): Likewise.
13724 (struct test_fl_f_data): Likewise.
13725 (struct test_if_f_data): Likewise.
13726 (struct test_fff_f_data): Likewise.
13727 (struct test_c_f_data): Likewise.
13728 (struct test_f_f1_data): Likewise.
13729 (struct test_fF_f1_data): Likewise.
13730 (struct test_ffI_f1_data): Likewise.
13731 (struct test_c_c_data): Likewise.
13732 (struct test_cc_c_data): Likewise.
13733 (struct test_f_i_data): Likewise.
13734 (struct test_ff_i_data): Likewise.
13735 (struct test_f_l_data): Likewise.
13736 (struct test_f_L_data): Likewise.
13737 (struct test_fFF_11_data): Likewise.
13739 (RM_FE_DOWNWARD): Likewise.
13740 (RM_FE_TONEAREST): Likewise.
13741 (RM_FE_TOWARDZERO): Likewise.
13742 (RM_FE_UPWARD): Likewise.
13743 (RUN_TEST_LOOP_f_f): Update references to expected results.
13744 (RUN_TEST_LOOP_2_f): Likewise.
13745 (RUN_TEST_LOOP_fff_f): Likewise.
13746 (RUN_TEST_LOOP_c_f): Likewise.
13747 (RUN_TEST_LOOP_f_f1): Likewise.
13748 (RUN_TEST_LOOP_fF_f1): Likewise.
13749 (RUN_TEST_LOOP_fI_f1): Likewise.
13750 (RUN_TEST_LOOP_ffI_f1): Likewise.
13751 (RUN_TEST_LOOP_c_c): Likewise.
13752 (RUN_TEST_LOOP_cc_c): Likewise.
13753 (RUN_TEST_LOOP_f_i): Likewise.
13754 (RUN_TEST_LOOP_f_i_tg): Likewise.
13755 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13756 (RUN_TEST_LOOP_f_b): Likewise.
13757 (RUN_TEST_LOOP_f_b_tg): Likewise.
13758 (RUN_TEST_LOOP_f_l): Likewise.
13759 (RUN_TEST_LOOP_f_L): Likewise.
13760 (RUN_TEST_LOOP_fFF_11): Likewise.
13761 * math/gen-libm-test.pl (parse_args): Output four copies of
13762 expected results for each test.
13764 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13765 (__ASSUME_UTIMES): Remove.
13766 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13767 (__ASSUME_UTIMES): Likewise.
13769 * math/gen-auto-libm-tests.c: Update comment on output format.
13770 (output_for_one_input_case): Generate before-rounding and
13771 after-rounding information as conditions on output flags not
13772 floating-point format.
13773 * math/auto-libm-test-out: Regenerated.
13774 * math/gen-libm-test.pl (cond_value): New function.
13775 (or_cond_value): Use cond_value.
13776 (generate_testfile): Handle conditional exceptions.
13778 2014-03-05 Joseph Myers <joseph@codesourcery.com>
13780 * math/libm-test.inc (max_valid_error): New variable.
13781 (init_max_error): Take new argument specifying whether function
13782 results are exactly determined. Set max_valid_error and bound
13783 other variables for errors based on this argument.
13784 (set_max_error): Do not record results above max_valid_error.
13785 (check_float_internal): Only accept errors of up to 0.5ulps if
13786 also at most max_valid_error.
13787 (START): Take new argument EXACT and pass it to init_max_error.
13788 (acos_test): Update call to START.
13789 (acos_test_tonearest): Likewise.
13790 (acos_test_towardzero): Likewise.
13791 (acos_test_downward): Likewise.
13792 (acos_test_upward): Likewise.
13793 (acosh_test): Likewise.
13794 (asin_test): Likewise.
13795 (asin_test_tonearest): Likewise.
13796 (asin_test_towardzero): Likewise.
13797 (asin_test_downward): Likewise.
13798 (asin_test_upward): Likewise.
13799 (asinh_test): Likewise.
13800 (atan_test): Likewise.
13801 (atanh_test): Likewise.
13802 (atan2_test): Likewise.
13803 (cabs_test): Likewise.
13804 (cacos_test): Likewise.
13805 (cacosh_test): Likewise.
13806 (carg_test): Likewise.
13807 (casin_test): Likewise.
13808 (casinh_test): Likewise.
13809 (catan_test): Likewise.
13810 (catanh_test): Likewise.
13811 (cbrt_test): Likewise.
13812 (ccos_test): Likewise.
13813 (ccosh_test): Likewise.
13814 (ceil_test): Likewise.
13815 (cexp_test): Likewise.
13816 (cimag_test): Likewise.
13817 (clog_test): Likewise.
13818 (clog10_test): Likewise.
13819 (conj_test): Likewise.
13820 (copysign_test): Likewise.
13821 (cos_test): Likewise.
13822 (cos_test_tonearest): Likewise.
13823 (cos_test_towardzero): Likewise.
13824 (cos_test_downward): Likewise.
13825 (cos_test_upward): Likewise.
13826 (cosh_test): Likewise.
13827 (cosh_test_tonearest): Likewise.
13828 (cosh_test_towardzero): Likewise.
13829 (cosh_test_downward): Likewise.
13830 (cosh_test_upward): Likewise.
13831 (cpow_test): Likewise.
13832 (cproj_test): Likewise.
13833 (creal_test): Likewise.
13834 (csin_test): Likewise.
13835 (csinh_test): Likewise.
13836 (csqrt_test): Likewise.
13837 (ctan_test): Likewise.
13838 (ctan_test_tonearest): Likewise.
13839 (ctan_test_towardzero): Likewise.
13840 (ctan_test_downward): Likewise.
13841 (ctan_test_upward): Likewise.
13842 (ctanh_test): Likewise.
13843 (ctanh_test_tonearest): Likewise.
13844 (ctanh_test_towardzero): Likewise.
13845 (ctanh_test_downward): Likewise.
13846 (ctanh_test_upward): Likewise.
13847 (erf_test): Likewise.
13848 (erfc_test): Likewise.
13849 (exp_test): Likewise.
13850 (exp_test_tonearest): Likewise.
13851 (exp_test_towardzero): Likewise.
13852 (exp_test_downward): Likewise.
13853 (exp_test_upward): Likewise.
13854 (exp10_test): Likewise.
13855 (exp10_test_tonearest): Likewise.
13856 (exp10_test_towardzero): Likewise.
13857 (exp10_test_downward): Likewise.
13858 (exp10_test_upward): Likewise.
13859 (pow10_test): Likewise.
13860 (exp2_test): Likewise.
13861 (expm1_test): Likewise.
13862 (expm1_test_tonearest): Likewise.
13863 (expm1_test_towardzero): Likewise.
13864 (expm1_test_downward): Likewise.
13865 (expm1_test_upward): Likewise.
13866 (fabs_test): Likewise.
13867 (fdim_test): Likewise.
13868 (floor_test): Likewise.
13869 (fma_test): Likewise.
13870 (fma_test_towardzero): Likewise.
13871 (fma_test_downward): Likewise.
13872 (fma_test_upward): Likewise.
13873 (fmax_test): Likewise.
13874 (fmin_test): Likewise.
13875 (fmod_test): Likewise.
13876 (fpclassify_test): Likewise.
13877 (frexp_test): Likewise.
13878 (hypot_test): Likewise.
13879 (ilogb_test): Likewise.
13880 (isfinite_test): Likewise.
13881 (finite_test): Likewise.
13882 (isgreater_test): Likewise.
13883 (isgreaterequal_test): Likewise.
13884 (isinf_test): Likewise.
13885 (isless_test): Likewise.
13886 (islessequal_test): Likewise.
13887 (islessgreater_test): Likewise.
13888 (isnan_test): Likewise.
13889 (isnormal_test): Likewise.
13890 (issignaling_test): Likewise.
13891 (isunordered_test): Likewise.
13892 (j0_test): Likewise.
13893 (j1_test): Likewise.
13894 (jn_test): Likewise.
13895 (ldexp_test): Likewise.
13896 (lgamma_test): Likewise.
13897 (gamma_test): Likewise.
13898 (lrint_test): Likewise.
13899 (lrint_test_tonearest): Likewise.
13900 (lrint_test_towardzero): Likewise.
13901 (lrint_test_downward): Likewise.
13902 (lrint_test_upward): Likewise.
13903 (llrint_test): Likewise.
13904 (llrint_test_tonearest): Likewise.
13905 (llrint_test_towardzero): Likewise.
13906 (llrint_test_downward): Likewise.
13907 (llrint_test_upward): Likewise.
13908 (log_test): Likewise.
13909 (log10_test): Likewise.
13910 (log1p_test): Likewise.
13911 (log2_test): Likewise.
13912 (logb_test): Likewise.
13913 (logb_test_downward): Likewise.
13914 (lround_test): Likewise.
13915 (llround_test): Likewise.
13916 (modf_test): Likewise.
13917 (nearbyint_test): Likewise.
13918 (nextafter_test): Likewise.
13919 (nexttoward_test): Likewise.
13920 (pow_test): Likewise.
13921 (pow_test_tonearest): Likewise.
13922 (pow_test_towardzero): Likewise.
13923 (pow_test_downward): Likewise.
13924 (pow_test_upward): Likewise.
13925 (remainder_test): Likewise.
13926 (drem_test): Likewise.
13927 (remainder_test_tonearest): Likewise.
13928 (drem_test_tonearest): Likewise.
13929 (remainder_test_towardzero): Likewise.
13930 (drem_test_towardzero): Likewise.
13931 (remainder_test_downward): Likewise.
13932 (drem_test_downward): Likewise.
13933 (remainder_test_upward): Likewise.
13934 (drem_test_upward): Likewise.
13935 (remquo_test): Likewise.
13936 (rint_test): Likewise.
13937 (rint_test_tonearest): Likewise.
13938 (rint_test_towardzero): Likewise.
13939 (rint_test_downward): Likewise.
13940 (rint_test_upward): Likewise.
13941 (round_test): Likewise.
13942 (scalb_test): Likewise.
13943 (scalbn_test): Likewise.
13944 (scalbln_test): Likewise.
13945 (signbit_test): Likewise.
13946 (sin_test): Likewise.
13947 (sin_test_tonearest): Likewise.
13948 (sin_test_towardzero): Likewise.
13949 (sin_test_downward): Likewise.
13950 (sin_test_upward): Likewise.
13951 (sincos_test): Likewise.
13952 (sinh_test): Likewise.
13953 (sinh_test_tonearest): Likewise.
13954 (sinh_test_towardzero): Likewise.
13955 (sinh_test_downward): Likewise.
13956 (sinh_test_upward): Likewise.
13957 (sqrt_test): Likewise.
13958 (sqrt_test_tonearest): Likewise.
13959 (sqrt_test_towardzero): Likewise.
13960 (sqrt_test_downward): Likewise.
13961 (sqrt_test_upward): Likewise.
13962 (tan_test): Likewise.
13963 (tan_test_tonearest): Likewise.
13964 (tan_test_towardzero): Likewise.
13965 (tan_test_downward): Likewise.
13966 (tan_test_upward): Likewise.
13967 (tanh_test): Likewise.
13968 (tgamma_test): Likewise.
13969 (trunc_test): Likewise.
13970 (y0_test): Likewise.
13971 (y1_test): Likewise.
13972 (yn_test): Likewise.
13973 (significand_test): Likewise.
13975 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13976 individual tests in comment.
13977 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13978 (prev_max_error): New variable.
13979 (prev_real_max_error): Likewise.
13980 (prev_imag_max_error): Likewise.
13981 (compare_ulp_data): Don't refer to test names in comment.
13982 (find_test_ulps): Remove function.
13983 (find_function_ulps): Likewise.
13984 (find_complex_function_ulps): Likewise.
13985 (init_max_error): Take function name as argument. Look up ulps
13987 (print_ulps): Remove function.
13988 (print_max_error): Use prev_max_error instead of calling
13989 find_function_ulps.
13990 (print_complex_max_error): Use prev_real_max_error and
13991 prev_imag_max_error instead of calling find_complex_function_ulps.
13992 (check_float_internal): Take max_ulp parameter instead of calling
13993 find_test_ulps. Don't call print_ulps.
13994 (check_float): Update call to check_float_internal.
13995 (check_complex): Update calls to check_float_internal.
13996 (START): Pass argument to init_max_error.
13997 * math/gen-libm-test.pl (%results): Don't include "kind"
13999 (parse_ulps): Don't handle ulps of individual tests.
14000 (print_ulps_file): Likewise.
14001 (output_ulps): Likewise.
14002 * math/README.libm-test: Update.
14003 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14005 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14006 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14007 * sysdeps/arm/libm-test-ulps: Likewise.
14008 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14009 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14010 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14011 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14012 * sysdeps/microblaze/libm-test-ulps: Likewise.
14013 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14014 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14016 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14017 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14018 * sysdeps/sh/libm-test-ulps: Likewise.
14019 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14020 * sysdeps/tile/libm-test-ulps: Likewise.
14021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14023 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14025 * math/libm-test.inc (print_complex_max_error): Check separately
14026 whether real and imaginary errors are within allowed range and
14027 pass 0 to print_complex_function_ulps instead of value within
14030 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14032 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14034 (get_handles_fopen): Likewise.
14035 (do_write_test): Likewise.
14037 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14039 * libio/fileops.c (do_ftell): Use cached offset when
14041 * libio/iofwide.c (do_ftell_wide): Likewise.
14042 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14044 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14047 * libio/libioP.h (get_file_offset): New function.
14048 * libio/fileops.c (get_file_offset): Likewise.
14049 (do_ftell): Likewise.
14050 (_IO_new_file_seekoff): Split out ftell logic.
14051 * libio/wfileops.c (do_ftell_wide): Likewise.
14052 (_IO_wfile_seekoff): Split out ftell logic.
14053 * libio/tst-ftell-active-handler.c: New test case.
14054 * libio/Makefile (tests): Add it.
14056 2014-03-03 Roland McGrath <roland@hack.frob.com>
14058 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14059 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14061 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14064 * nscd/connections.c (nscd_init): Call do_exit.
14065 (start_threads): Call do_exit and notify_parent.
14066 (begin_drop_privileges): Call do_exit.
14067 (finish_drop_privileges): Likewise.
14068 * nscd/selinux.c (preserve_capabilities): Likewise.
14069 (install_real_capabilities): Likewise.
14070 (nscd_selinux_enabled): Likewise.
14071 (avc_create_thread): Likewise.
14072 (avc_alloc_lock): Likewise.
14073 (nscd_avc_init): Likewise.
14074 * nscd/nscd.c (parent_fd): New static variable.
14075 (main): Create a pipe between parent and child processes.
14076 Skip closing parent_fd.
14077 (monitor_child): New function.
14078 (do_exit): Likewise.
14079 (notify_parent): Likewise.
14080 * nscd/nscd.h (notify_parent): Likewise.
14081 (do_exit): Likewise.
14083 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14085 * malloc/malloc.c (__libc_calloc): Revert last change.
14087 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14091 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14093 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14097 (__libc_ifunc_impl_list): Likewise.
14098 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14099 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14100 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14101 * string/strrchr.c: Define STRRCHR.
14103 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14105 * benchtest/bench-strtok.c (simple_strtok): Delete.
14106 (strtok_string): Use as benchmark.
14107 * string/strtok (STRTOK): New macro.
14109 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14111 * manual/threads.texi: Add header and standard comments to all
14114 * elf/dl-lookup.c (check_match): New function.
14115 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14116 (do_lookup_x): Remove nested function check_match. Use non-nested
14117 function check_match.
14119 2014-02-28 Roland McGrath <roland@hack.frob.com>
14121 * csu/Makefile (generated, before-compile): Use += rather than =.
14122 * catgets/Makefile (generated, generated-dirs): Likewise.
14123 * debug/Makefile (generated): Likewise.
14124 * dlfcn/Makefile (generated): Likewise.
14125 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14126 * iconvdata/Makefile (before-compile, generated): Likewise.
14127 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14128 * libio/Makefile (generated): Likewise.
14129 * malloc/Makefile (generated): Likewise.
14130 * manual/Makefile (generated, generated-dirs): Likewise.
14131 * misc/Makefile (generated): Likewise.
14132 * posix/Makefile (generated): Likewise.
14133 * resolv/Makefile (generated): Likewise.
14134 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14135 * timezone/Makefile (generated, generated-dirs): Likewise.
14137 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14139 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14142 power8 implementation.
14143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14144 file: POWER8 llround ifunc implementation.
14145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14146 (__lllround): Add POWER8 implementation.
14147 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14148 POWER8 llround implementation.
14150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14151 power8 implementation.
14152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14153 file: POWER8 llrint ifunc implementation.
14154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14155 Add POWER8 implementation.
14156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14157 POWER8 llrint implementation.
14159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14160 power8 implementation.
14161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14162 file: POWER8 finite ifunc implementation.
14163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14164 Add POWER8 implementation.
14165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14167 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14168 POWER8 finite implementation.
14169 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14172 power8 implementation.
14173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14174 file: POWER8 isinf ifunc implementation.
14175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14176 POWER8 implementation.
14177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14179 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14180 isinf implementation.
14181 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14183 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14184 (INIT_ARCH): Add hwcap2 initialization.
14185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14186 power8 implementation.
14187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14188 file: POWER8 isnan ifunc implementation.
14189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14190 POWER8 implementation.
14191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14193 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14194 isnan implementation.
14195 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14197 2014-02-27 Joey Ye <joey.ye@arm.com>
14199 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14200 (_FP_NANFRAC_Q): Set to zero.
14202 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14205 * math/auto-libm-test-in: New test inputs.
14206 * math/auto-libm-test-out: Regenerate.
14207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14210 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14212 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14214 * scripts/evaluate-test.sh: Take new argument indicating whether
14215 failure is expected.
14216 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14217 indicating whether failure is expected.
14218 * conform/Makefile (test-xfail-run-conformtest): New variable.
14219 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14221 * posix/Makefile (test-xfail-annexc): New variable.
14222 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14224 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14226 * argp/Makefile: Include Makeconfig immediately after defining
14228 * assert/Makefile: Likewise.
14229 * benchtests/Makefile: Likewise.
14230 * catgets/Makefile: Likewise.
14231 * conform/Makefile: Likewise.
14232 * crypt/Makefile: Likewise.
14233 * csu/Makefile: Likewise.
14234 (all): Remove target.
14235 * ctype/Makefile: Include Makeconfig immediately after defining
14237 * debug/Makefile: Likewise.
14238 * dirent/Makefile: Likewise.
14239 * dlfcn/Makefile: Likewise.
14240 * gmon/Makefile: Likewise.
14241 * gnulib/Makefile: Likewise.
14242 * grp/Makefile: Likewise.
14243 * gshadow/Makefile: Likewise.
14244 * hesiod/Makefile: Likewise.
14245 * hurd/Makefile: Likewise.
14246 (all): Remove target.
14247 * iconvdata/Makefile: Include Makeconfig immediately after
14249 * inet/Makefile: Likewise.
14250 * intl/Makefile: Likewise.
14251 * io/Makefile: Likewise.
14252 * libio/Makefile: Likewise.
14253 (all): Remove target.
14254 * locale/Makefile: Include Makeconfig immediately after defining
14256 * login/Makefile: Likewise.
14257 * mach/Makefile: Likewise.
14258 (all): Remove target.
14259 * malloc/Makefile: Include Makeconfig immediately after defining
14261 (all): Remove target.
14262 * manual/Makefile: Include Makeconfig immediately after defining
14264 * math/Makefile: Likewise.
14265 * misc/Makefile: Likewise.
14266 * nis/Makefile: Likewise.
14267 * nss/Makefile: Likewise.
14268 * po/Makefile: Likewise.
14269 (all): Remove target.
14270 * posix/Makefile: Include Makeconfig immediately after defining
14272 * pwd/Makefile: Likewise.
14273 * resolv/Makefile: Likewise.
14274 * resource/Makefile: Likewise.
14275 * rt/Makefile: Likewise.
14276 * setjmp/Makefile: Likewise.
14277 * shadow/Makefile: Likewise.
14278 * signal/Makefile: Likewise.
14279 * socket/Makefile: Likewise.
14280 * soft-fp/Makefile: Likewise.
14281 * stdio-common/Makefile: Likewise.
14282 * stdlib/Makefile: Likewise.
14283 * streams/Makefile: Likewise.
14284 * string/Makefile: Likewise.
14285 * sunrpc/Makefile: Likewise.
14286 (all): Remove target.
14287 * sysvipc/Makefile: Include Makeconfig immediately after defining
14289 * termios/Makefile: Likewise.
14290 * time/Makefile: Likewise.
14291 * timezone/Makefile: Likewise.
14292 (all): Remove target.
14293 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14295 * wctype/Makefile: Likewise.
14297 2014-02-26 Steve Ellcey <sellcey@mips.com>
14299 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14300 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14301 (libc_feholdexcept_setround_mips): Ditto.
14302 (libc_feholdsetround): New.
14303 (libc_feholdsetroundf): New.
14304 (libc_feholdsetroundl): New.
14305 (libc_feupdateenv_test_mips): New.
14306 (libc_feupdateenv_test): New.
14307 (libc_feupdateenv_testf): New.
14308 (libc_feupdateenv_testl): New.
14309 (libc_feresetround): New.
14310 (libc_feresetroundf): New.
14311 (libc_feresetroundl): New.
14312 (libc_fetestexcept_mips): New.
14313 (libc_fetestexcept): New.
14314 (libc_fetestexceptf): New.
14315 (libc_fetestexceptl): New.
14316 (HAVE_RM_CTX): New.
14317 (libc_feholdexcept_setround_mips_ctx): New.
14318 (libc_feholdexcept_setround_ctx): New.
14319 (libc_feholdexcept_setroundf_ctx): New.
14320 (libc_feholdexcept_setroundl_ctx): New.
14321 (libc_fesetenv_mips_ctx): New.
14322 (libc_fesetenv_ctx): New.
14323 (libc_fesetenv_ctxf): New.
14324 (libc_fesetenv_ctxl): New.
14325 (libc_feupdateenv_mips_ctx): New.
14326 (libc_feupdateenv_ctx): New.
14327 (libc_feupdateenvf_ctx): New.
14328 (libc_feupdateenvl_ctx): New.
14329 (libc_feholdsetround_mips_ctx): New.
14330 (libc_feholdsetround_ctx): New.
14331 (libc_feholdsetroundf_ctx): New.
14332 (libc_feholdsetroundl_ctx): New.
14333 (libc_feresetround_mips_ctx): New.
14334 (libc_feresetround_ctx): New.
14335 (libc_feresetroundf_ctx): New.
14336 (libc_feresetroundl_ctx): New.
14338 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14340 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14342 * manual/ipc.texi: New file.
14343 * manual/Makefile (chapters): Add ipc.
14344 * manual/job.texi: Add "Inter-Process Communication" to next.
14345 * manual/process.texi: Add "Inter-Process Communication" to prev.
14347 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14351 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14353 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14355 * manual/arith.texi: Fix spaces after sentences.
14356 * manual/charset.texi: Likewise.
14357 * manual/errno.texi: Likewise.
14358 * manual/install.texi: Likewise.
14359 * manual/llio.texi: Likewise.
14360 * manual/locale.texi: Likewise.
14361 * manual/maint.texi: Likewise.
14362 * manual/math.texi: Likewise.
14363 * manual/memory.texi: Likewise.
14364 * manual/message.texi: Likewise.
14365 * manual/probes.texi: Likewise.
14366 * manual/resource.texi: Likewise.
14367 * manual/signal.texi: Likewise.
14368 * manual/socket.texi: Likewise.
14369 * manual/stdio.texi: Likewise.
14370 * manual/string.texi: Likewise.
14371 * manual/time.texi: Likewise.
14372 * manual/users.texi: Likewise.
14374 2014-02-25 Carlos O'Donell <carlos@redhat.com>
14377 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14378 _DEFAULT_SOURCE is defined.
14380 2014-02-25 Ulrich Drepper <drepper@gmail.com>
14381 Carlos O'Donell <carlos@redhat.com>
14384 * elf/dl-tls.c (_dl_count_modids): New function.
14385 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14386 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14387 audit library and increment generation counter.
14388 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14389 * elf/tst-audit9.c: New file.
14390 * elf/tst-auditmod9a.c: New file.
14391 * elf/tst-auditmod9b.c: New file.
14392 * elf/Makefile: Add rules to build and run tst-audit9.
14394 2014-02-25 Florian Weimer <fweimer@redhat.com>
14397 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14399 2014-02-25 Will Newton <will.newton@linaro.org>
14401 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14402 (__longjmp): Restore sp and lr before restoring callee
14403 saved registers. Add longjmp and longjmp_target
14404 SystemTap probe point.
14405 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14406 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14407 Define to zero to match jmpbuf layout.
14408 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14409 (__sigsetjmp): Save sp and lr before saving callee
14410 saved registers. Add setjmp SystemTap probe point.
14412 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14414 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14416 2014-02-24 Andreas Schwab <schwab@suse.de>
14419 * elf/pldd.c (wait_for_ptrace_stop): New function.
14420 (main): Call it after attaching.
14422 2014-02-22 Roland McGrath <roland@hack.frob.com>
14424 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14425 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14426 Versions files is now verboten.
14427 * hurd/Versions (libc: GLIBC_2.0):
14428 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14429 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14430 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14431 * mach/Versions: Likewise.
14433 * csu/Versions: Remove unused %include.
14434 * resolv/Versions: Likewise.
14436 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14438 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14439 ($(objpfx)check-local-headers.out): Likewise.
14440 ($(objpfx)begin-end-check.out): Likewise.
14441 * Makerules (check-abi-%.out): Likewise.
14442 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14443 ($(objpfx)test2.cat): Likewise.
14444 ($(objpfx)de/libc.cat): Likewise.
14445 ($(objpfx)test-gencat.out): Likewise.
14446 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14447 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14448 ($(objpfx)noload-mem): Likewise.
14449 ($(objpfx)tst-pathopt.out): Likewise.
14450 ($(objpfx)tst-rtld-load-self.out): Likewise.
14451 ($(objpfx)tst-array1-cmp.out): Likewise.
14452 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14453 ($(objpfx)tst-array2-cmp.out): Likewise.
14454 ($(objpfx)tst-array3-cmp.out): Likewise.
14455 ($(objpfx)tst-array4-cmp.out): Likewise.
14456 ($(objpfx)tst-array5-cmp.out): Likewise.
14457 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14458 ($(objpfx)check-textrel.out): Likewise.
14459 ($(objpfx)check-execstack.out): Likewise.
14460 ($(objpfx)check-localplt.out): Likewise.
14461 ($(objpfx)order2-cmp.out): Likewise.
14462 ($(objpfx)tst-leaks1-mem): Likewise.
14463 ($(objpfx)tst-leaks1-static-mem): Likewise.
14464 ($(objpfx)tst-initorder-cmp.out): Likewise.
14465 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14466 ($(objpfx)tst-unused-dep.out): Likewise.
14467 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14468 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14469 * iconv/Makefile (test-iconvconfig): Likewise.
14470 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14471 ($(objpfx)iconv-test.out): Likewise.
14472 ($(objpfx)tst-tables.out): Likewise.
14473 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14474 ($(objpfx)tst-gettext.out): Likewise.
14475 ($(objpfx)tst-translit.out): Likewise.
14476 ($(objpfx)tst-gettext2.out): Likewise.
14477 ($(objpfx)tst-gettext4.out): Likewise.
14478 ($(objpfx)tst-gettext6.out): Likewise.
14479 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14480 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14481 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14482 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14483 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14484 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14485 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14486 ($(objpfx)wordexp-tst.out): Likewise.
14487 ($(objpfx)annexc.out): Likewise.
14488 ($(objpfx)tst-fnmatch-mem): Likewise.
14489 ($(objpfx)bug-regex2-mem): Likewise.
14490 ($(objpfx)bug-regex14-mem): Likewise.
14491 ($(objpfx)bug-regex21-mem): Likewise.
14492 ($(objpfx)bug-regex31-mem): Likewise.
14493 ($(objpfx)tst-vfork3-mem): Likewise.
14494 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14495 ($(objpfx)tst-pcre-mem): Likewise.
14496 ($(objpfx)tst-boost-mem): Likewise.
14497 ($(objpfx)tst-getconf.out): Likewise.
14498 ($(objpfx)bug-ga2-mem): Likewise.
14499 ($(objpfx)bug-glob2-mem): Likewise.
14500 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14501 ($(objpfx)mtrace-tst-leaks2): Likewise.
14502 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14503 ($(objpfx)tst-printf.out): Likewise.
14504 ($(objpfx)tst-setvbuf1.out): Likewise.
14505 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14506 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14507 ($(objpfx)tst-fmtmsg.out): Likewise.
14508 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14509 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14511 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14512 * bits/sigaction.h [__USE_MISC]: Likewise.
14513 * bits/waitstatus.h: Update #endif comments.
14514 * ctype/ctype.h: Likewise.
14515 * dirent/dirent.h: Likewise.
14516 [__USE_MISC]: Remove redundant conditionals.
14517 * grp/grp.h: Update #endif comments.
14518 [__USE_GNU]: Remove redundant conditionals.
14519 [__USE_MISC]: Likewise.
14520 * inet/netinet/in.h [__USE_GNU]: Likewise.
14521 * io/sys/stat.h [__USE_MISC]: Likewise.
14522 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14523 * libio/bits/stdio.h: Update #endif comments.
14524 [__USE_MISC]: Remove redundant conditionals.
14525 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14526 * libio/stdio.h: Update #endif comments.
14527 [__USE_MISC]: Remove redundant conditionals.
14528 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14529 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14530 * math/math.h: Update #else and #endif comments.
14531 [__USE_MISC]: Remove redundant conditionals.
14532 * misc/sys/uio.h: Update #endif comments.
14533 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14534 * posix/glob.h [__USE_MISC]: Likewise.
14535 * posix/sys/types.h: Update #endif comments.
14536 [__USE_MISC]: Remove redundant conditionals.
14537 * posix/sys/wait.h: Update #endif comments.
14538 [__USE_MISC]: Remove redundant conditionals.
14539 * posix/unistd.h: Update #endif comments.
14540 [__USE_MISC]: Remove redundant conditionals.
14541 * pwd/pwd.h [__USE_GNU]: Likewise.
14542 [__USE_MISC]: Likewise.
14543 * resolv/netdb.h [__USE_GNU]: Likewise.
14544 * signal/signal.h: Update #endif comments.
14545 [__USE_MISC]: Remove redundant conditionals.
14546 * stdlib/stdlib.h: Update #else and #endif comments.
14547 [__USE_MISC]: Remove redundant conditionals.
14548 [__USE_GNU]: Likewise.
14549 * string/bits/string2.h [__USE_MISC]: Likewise.
14550 * string/string.h: Update #endif comments.
14551 [__USE_MISC]: Remove redundant conditionals.
14552 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14554 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14555 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14556 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14558 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14560 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14562 [__USE_MISC]: Remove redundant conditionals.
14563 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14564 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14565 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14566 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14567 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14569 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14570 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14572 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14573 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14575 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14577 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14578 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14580 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14582 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14583 * sysdeps/x86/bits/string.h: Update #endif comments.
14584 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14586 * time/sys/time.h: Update #endif comments.
14587 * time/time.h: Likewise.
14588 [__USE_MISC]: Remove redundant conditionals.
14590 2014-02-21 Yury Gribov <y.gribov@samsung.com>
14593 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14595 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14597 * Versions.def (librt): Add GLIBC_2.17.
14599 2014-02-21 Adam Conrad <adconrad@0c3.net>
14601 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14602 synonym for _SYS_AUXV_H to allow direct inclusion.
14603 * sysdeps/sparc/bits/hwcap.h: Likewise.
14604 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14605 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14606 * sysdeps/sparc/sysdep.h: Likewise.
14608 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14610 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14612 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14614 * benchtests/bench-strrchr.c: Print length instead of position.
14616 2014-02-20 Joseph Myers <joseph@codesourcery.com>
14619 * sysdeps/unix/sysv/linux/kernel-features.h
14620 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14621 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14622 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14623 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14625 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14626 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14627 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14628 (__ASSUME_SENDMMSG): Define instead of using previous
14629 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14630 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14631 (__ASSUME_SENDMMSG_SYSCALL): Define.
14632 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14633 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14635 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14636 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14638 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14639 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14641 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14642 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14643 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14644 [__ASSUME_SENDMMSG]: Change conditionals to
14645 [__ASSUME_SENDMMSG_SOCKETCALL].
14646 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14647 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14649 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14650 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14652 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14653 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14654 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14655 [!__ASSUME_SENDMMSG]: Change conditional to
14656 [!__ASSUME_SENDMMSG_SOCKETCALL].
14657 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14658 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14662 * sysdeps/unix/sysv/linux/kernel-features.h
14663 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14664 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14665 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14666 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14667 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14668 [__i386__ || __sparc__]
14669 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14670 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14671 (__ASSUME_RECVMMSG): Define instead of using previous
14672 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14673 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14674 (__ASSUME_RECVMMSG_SYSCALL): Define.
14675 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14676 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14678 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14679 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14681 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14682 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14684 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14685 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14686 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14687 [__ASSUME_RECVMMSG]: Change condition to
14688 [__ASSUME_RECVMMSG_SOCKETCALL].
14689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14690 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14692 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14693 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14694 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14696 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14697 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14698 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14699 [!__ASSUME_RECVMMSG]: Change condition to
14700 [!__ASSUME_RECVMMSG_SOCKETCALL].
14701 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14702 (__ASSUME_RECVMMSG_SYSCALL): Define.
14705 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14706 __powerpc__ || __s390__ || __sh__ || __sparc__]
14707 (__ASSUME_SOCKETCALL): Define.
14708 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14709 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14710 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14711 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14712 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14713 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14714 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14715 (__ASSUME_ACCEPT4): Define instead of using previous
14716 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14717 __powerpc__ || __sparc__ || __s390__)] condition.
14718 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14719 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14720 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14721 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14722 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14723 [!__ASSUME_ACCEPT4]: Change condition to
14724 [!__ASSUME_ACCEPT4_SOCKETCALL].
14725 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14726 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14727 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14728 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14729 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14730 __ASSUME_ACCEPT4_SYSCALL.
14731 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14732 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14733 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14734 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14735 __ASSUME_ACCEPT4_SYSCALL.
14736 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14737 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14738 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14739 [__ASSUME_ACCEPT4]: Change condition to
14740 [__ASSUME_ACCEPT4_SOCKETCALL].
14741 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14742 (__ASSUME_SOCKETCALL): Define.
14743 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14745 (__ASSUME_SOCKETCALL): Define.
14746 (__ASSUME_ACCEPT4): Remove.
14747 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14749 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14750 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14752 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14753 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14755 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14757 (HWCAP_ARM_LPAE): Likewise.
14758 (HWCAP_ARM_EVTSTRM): Likewise.
14759 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14760 Add vpfd32, lpae and evtstrm.
14761 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14764 2014-02-19 Joseph Myers <joseph@codesourcery.com>
14766 * math/auto-libm-test-in: Add tests of clog10.
14767 * math/auto-libm-test-out: Regenerated.
14768 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14769 * sysdeps/i386/fpu/libm-test-ulps: Update.
14770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14772 2014-02-18 Andreas Schwab <schwab@suse.de>
14775 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14776 Store non-zero if the second buffer was newly allocated.
14777 (send_dg): Likewise.
14778 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14779 to send_vc and send_dg.
14780 (res_nsend): Pass NULL for ansp2_malloced.
14781 * resolv/res_query.c (__libc_res_nquery): Add parameter
14782 answerp2_malloced and pass it down to __libc_res_nsend.
14783 (res_nquery): Pass additional NULL to __libc_res_nquery.
14784 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14785 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14786 second answer buffer if answerp2_malloced was set.
14787 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14788 (__libc_res_nquerydomain): Add parameter
14789 answerp2_malloced and pass it down to __libc_res_nquery.
14790 (res_nquerydomain): Pass additional NULL to
14791 __libc_res_nquerydomain.
14792 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14793 additional NULL to __libc_res_nsend and __libc_res_nquery.
14794 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14795 additional NULL to __libc_res_nsearch.
14796 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14797 parameter of __libc_res_nsearch to check for separately allocated
14799 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14801 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14802 additional NULL to __libc_res_nquery.
14803 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14804 __libc_res_nsearch.
14805 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14806 * include/resolv.h: Update prototypes of __libc_res_nquery,
14807 __libc_res_nsearch, __libc_res_nsend.
14809 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14811 * math/auto-libm-test-in: Add tests of fma.
14812 * math/auto-libm-test-out: Regenerated.
14813 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14814 (fma_towardzero_test_data): Likewise.
14815 (fma_downward_test_data): Likewise.
14816 (fma_upward_test_data): Likewise.
14817 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14819 (rounding_modes): Add values for new field.
14820 (func_calc_method): Add value mpfr_fff_f.
14821 (func_calc_desc): Add mpfr_fff_f union field.
14822 (test_function): Add field exact_args.
14823 (FUNC): Add macro argument EXACT_ARGS.
14824 (FUNC_mpfr_f_f): Update call to FUNC.
14825 (FUNC_mpfr_f_f): Likewise.
14826 (FUNC_mpfr_ff_f): Likewise.
14827 (FUNC_mpfr_if_f): Likewise.
14828 (FUNC_mpc_c_f): Likewise.
14829 (FUNC_mpc_c_c): Likewise.
14830 (test_functions): Add fma. Update calls to FUNC.
14831 (handle_input_arg): Add argument exact_args.
14832 (add_test): Update call to handle_input_arg.
14833 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14834 (output_for_one_input_case): Update call to calc_generic_results.
14835 Recalculate exact zero results in each rounding mode.
14837 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14838 non-negative before setting low bit.
14839 * math/auto-libm-test-in: Mark one asin test possibly having
14840 spurious underflow.
14841 * math/auto-libm-test-out: Regenerated.
14842 * sysdeps/i386/fpu/libm-test-ulps: Update.
14843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14845 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14847 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14848 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14849 ports/sysdeps/unix/sysv/linux/microblaze.
14850 * README: Add missing listing for microblaze*-*-linux-gnu.
14852 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14854 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14857 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14859 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14860 * sysdeps/unix/sysv/linux/ia64: Move directory from
14861 ports/sysdeps/unix/sysv/linux/ia64.
14862 * README: Update listing for ia64-*-linux-gnu.
14864 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14865 Joseph Myers <joseph@codesourcery.com>
14867 * Makeconfig (test-name): New variable.
14868 (evaluate-test): Likewise.
14869 * Makerules (do-test-clean): Remove .test-result files.
14870 (common-mostlyclean): Likewise.
14871 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14872 * scripts/evaluate-test.sh: New file.
14874 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14876 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14877 separate $(objpfx)tst-fopenloc-cmp.out and
14878 $(objpfx)tst-fopenloc-mem.out targets.
14879 (tests): Update dependencies.
14880 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14881 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14882 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14883 (tst-rxspencer-no-utf8-ARGS): New variable.
14884 (tst-rxspencer-no-utf8-ENV): Likewise.
14885 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14886 instead of $(objpfx)tst-rxspencer-mem.
14887 ($(objpfx)tst-rxspencer-mem): Change target to
14888 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14889 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14890 * posix/tst-rxspencer-no-utf8.c: New file.
14892 * elf/Makefile ($(objpfx)order.out): Remove rule.
14893 [$(run-built-tests) = yes] (tests): Depend on
14894 $(objpfx)order-cmp.out.
14895 ($(objpfx)order-cmp.out): New rule.
14896 [$(run-built-tests) = yes] (tests): Depend on
14897 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14898 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14899 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14900 $(objpfx)tst-array5-static-cmp.out.
14901 ($(objpfx)tst-array1.out): Remove rule.
14902 ($(objpfx)tst-array1-cmp.out): New rule.
14903 ($(objpfx)tst-array1-static.out): Remove rule.
14904 ($(objpfx)tst-array1-static-cmp.out): New rule.
14905 ($(objpfx)tst-array2.out): Remove rule.
14906 ($(objpfx)tst-array2-cmp.out): New rule.
14907 ($(objpfx)tst-array3.out): Remove rule.
14908 ($(objpfx)tst-array3-cmp.out): New rule.
14909 ($(objpfx)tst-array4.out): Remove rule.
14910 ($(objpfx)tst-array4-cmp.out): New rule.
14911 ($(objpfx)tst-array5.out): Remove rule.
14912 ($(objpfx)tst-array5-cmp.out): New rule.
14913 ($(objpfx)tst-array5-static.out): Remove rule.
14914 ($(objpfx)tst-array5-static-cmp.out): New rule.
14915 [$(run-built-tests) = yes] (tests): Depend on
14916 $(objpfx)order2-cmp.out.
14917 ($(objpfx)order2.out): Remove rule.
14918 ($(objpfx)order2-cmp.out): New rule.
14919 ($(objpfx)tst-initorder.out): Remove rule.
14920 [$(run-built-tests) = yes] (tests): Depend on
14921 $(objpfx)tst-initorder-cmp.out.
14922 ($(objpfx)tst-initorder-cmp.out): New rule.
14923 ($(objpfx)tst-initorder2.out): Remove rule.
14924 [$(run-built-tests) = yes] (tests): Depend on
14925 $(objpfx)tst-initorder2-cmp.out.
14926 ($(objpfx)tst-initorder2-cmp.out): New rule.
14927 [$(run-built-tests) = yes] (tests): Depend on
14928 $(objpfx)tst-unused-dep-cmp.out.
14929 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14930 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14931 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14932 on $(objpfx)tst-setvbuf1-cmp.out.
14933 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14934 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14935 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14936 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14937 ($(objpfx)tst-svc.out): Remove rule.
14938 ($(objpfx)tst-svc-cmp.out): New rule.
14940 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14942 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14943 * ctype/ctype.h [__USE_MISC]: Likewise.
14944 * dirent/dirent.h [__USE_MISC]: Likewise.
14945 * grp/grp.h [__USE_MISC]: Likewise.
14946 * io/fcntl.h [__USE_MISC]: Likewise.
14947 * io/sys/stat.h [__USE_MISC]: Likewise.
14948 * libio/stdio.h [__USE_MISC]: Likewise.
14949 * posix/unistd.h [__USE_MISC]: Likewise.
14950 * pwd/pwd.h [__USE_MISC]: Likewise.
14951 * stdlib.h [__USE_MISC]: Likewise.
14952 * string/bits/string2.h [__USE_MISC]: Likewise.
14953 * string/string.h [__USE_MISC]: Likewise.
14954 * time/time.h [__USE_MISC]: Likewise.
14956 2014-02-13 Andreas Schwab <schwab@suse.de>
14959 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14960 second answer buffer if it was separately allocated.
14962 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14964 * sysdeps/mips/math-tests.h: Include <features.h>.
14965 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14966 (ROUNDING_TESTS_long_double): Do not define.
14967 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14968 (EXCEPTION_TESTS_long_double): Likewise.
14969 * sysdeps/mips/mips64/libm-test-ulps: Update.
14971 * include/features.h (__USE_BSD): Remove macro definitions.
14972 (__USE_SVID): Likewise.
14973 (_BSD_SOURCE): Likewise.
14974 (_SVID_SOURCE): Likewise.
14975 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14976 from definition of _DEFAULT_SOURCE.
14977 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14979 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14980 * bits/mman.h [__USE_BSD]: Likewise.
14981 * bits/termios.h [__USE_BSD]: Likewise.
14982 * bits/waitstatus.h [__USE_BSD]: Likewise.
14983 * ctype/ctype.h [__USE_SVID]: Likewise.
14984 * dirent/dirent.h [__USE_BSD]: Likewise.
14985 * grp/grp.h [__USE_SVID]: Likewise.
14986 [__USE_BSD]: Likewise.
14987 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14988 * io/fcntl.h [__USE_BSD]: Likewise.
14989 * io/ftw.h [__USE_BSD]: Likewise.
14990 * io/sys/stat.h [__USE_BSD]: Likewise.
14991 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14992 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14993 * libio/stdio.h [__USE_SVID]: Likewise.
14994 [__USE_BSD]: Likewise.
14995 * math/math.h [__USE_SVID]: Likewise.
14996 [__USE_BSD]: Likewise.
14997 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14998 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14999 * misc/search.h [__USE_SVID]: Likewise.
15000 * misc/sys/mman.h [__USE_BSD]: Likewise.
15001 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15002 * misc/sys/uio.h [__USE_BSD]: Likewise.
15003 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15004 * posix/glob.h [__USE_BSD]: Likewise.
15005 * posix/regex.h [__USE_BSD]: Likewise.
15006 * posix/sys/types.h [__USE_BSD]: Likewise.
15007 [__USE_SVID]: Likewise.
15008 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15009 * posix/sys/wait.h [__USE_BSD]: Likewise.
15010 [__USE_SVID]: Likewise.
15011 * posix/unistd.h [__USE_BSD]: Likewise.
15012 [__USE_SVID]: Likewise.
15013 * pwd/pwd.h [__USE_SVID]: Likewise.
15014 * resolv/netdb.h [__USE_BSD]: Likewise.
15015 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15016 * signal/signal.h [__USE_BSD]: Likewise.
15017 [__USE_SVID]: Likewise.
15018 * socket/sys/socket.h [__USE_BSD]: Likewise.
15019 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15020 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15021 [__USE_SVID]: Likewise.
15022 * string/bits/string2.h [__USE_BSD]: Likewise.
15023 [__USE_SVID]: Likewise.
15024 * string/bits/string3.h [__USE_BSD]: Likewise.
15025 * string/endian.h [__USE_BSD]: Likewise.
15026 * string/string.h [__USE_SVID]: Likewise.
15027 [__USE_BSD]: Likewise.
15028 * string/strings.h [__USE_BSD]: Likewise.
15029 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15030 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15031 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15032 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15033 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15034 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15036 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15038 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15039 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15041 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15042 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15044 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15046 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15047 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15050 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15052 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15053 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15054 * termios/termios.h [__USE_BSD]: Likewise.
15055 * time/sys/time.h [__USE_BSD]: Likewise.
15056 * time/time.h [__USE_BSD]: Likewise.
15057 [__USE_SVID]: Likewise.
15059 * Makefile (subdir_targets): Remove subdir_lint.out.
15061 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15062 (do-tst-printf): Likewise.
15063 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15064 $(objpfx)tst-printf.out.
15066 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15068 * Makerules (check-abi-%): Change target to
15069 $(objpfx)check-abi-%.out.
15070 (check-abi target): Update dependencies.
15071 (check-abi-pattern variable): Redirect output of diff to $@.
15072 (check-abi variable): Likewise.
15073 * elf/Makefile (check-abi): Update dependencies.
15075 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15077 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15078 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15080 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15081 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15082 value has largest subnormal exponent.
15083 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15084 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15085 * sysdeps/aarch64/soft-fp/sfp-machine.h
15086 (_FP_TININESS_AFTER_ROUNDING): New macro.
15087 * sysdeps/alpha/soft-fp/sfp-machine.h
15088 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15089 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15091 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15092 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15093 * sysdeps/mips/soft-fp/sfp-machine.h
15094 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15095 * sysdeps/powerpc/soft-fp/sfp-machine.h
15096 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15097 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15099 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15100 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15101 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15102 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15103 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15106 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15109 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15112 2014-02-12 Richard Henderson <rth@redhat.com>
15114 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15115 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15116 * sysdeps/unix/sysv/linux/alpha: Move directory from
15117 ports/sysdeps/unix/sysv/linux/alpha.
15118 * README: Update listing for alpha-*-linux-gnu.
15120 2014-02-11 Joseph Myers <joseph@codesourcery.com>
15122 * include/features.h: Update comment documenting feature test
15124 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15126 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15127 (_SVID_SOURCE): Likewise.
15128 (_DEFAULT_SOURCE): Update description of default features.
15129 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15131 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15132 (S_ISVTX): Likewise.
15133 * manual/math.texi (Mathematical Constants): Likewise.
15134 * manual/signal.texi (Interrupted Primitives): Likewise.
15135 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15136 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15137 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15138 Don't refer to _SVID_SOURCE in warning text.
15140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15142 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15144 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15145 * sysdeps/mips/dl-lookup.c: Remove.
15146 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15148 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15151 * math/auto-libm-test-in: Add testcase for expl.
15152 * math/auto-libm-test-out: Regenerate.
15153 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15154 calculation of unsafe.
15155 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15157 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15159 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15160 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15161 ports/sysdeps/unix/sysv/linux/aarch64.
15162 * README: Update listing for aarch64*-*-linux-gnu.
15164 2014-02-11 Will Newton <will.newton@linaro.org>
15166 * manual/probes.texi (Mathematical Function Probes): Use
15167 "triggered" instead of "hit".
15169 * manual/probes.texi (Internal Probes): Add documentation
15170 of setjmp, longjmp and longjmp_target probes.
15172 * include/stap-probe.h: Add comment about probe argument
15175 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15176 definition. (tr_where, tr_freehook, tr_mallochook,
15177 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15179 2014-02-11 David S. Miller <davem@davemloft.net>
15181 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15182 processing int_tests.
15184 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15186 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15187 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15188 * sysdeps/unix/sysv/linux/mips: Move directory from
15189 ports/sysdeps/unix/sysv/linux/mips.
15190 * README: Update listing for mips-*-linux-gnu and
15191 mips64-*-linux-gnu.
15193 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15195 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15196 * sysdeps/unix/sysv/linux/m68k: Move directory from
15197 ports/sysdeps/unix/sysv/linux/m68k.
15198 * README: Update listing for m68k-*-linux-gnu.
15200 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15202 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15203 * sysdeps/unix/sysv/linux/generic: Move directory from
15204 ports/sysdeps/unix/sysv/linux/generic.
15205 * sysdeps/unix/sysv/linux/tile: Move directory from
15206 ports/sysdeps/unix/sysv/linux/tile.
15207 * README: Update listing for tile*-*-linux-gnu.
15209 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15211 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15213 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15214 * catgets/open_catalog.c (__open_catalog): Likewise.
15215 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15216 * debug/confstr_chk.c: Likewise.
15217 * debug/fread_chk.c (__fread_chk): Likewise.
15218 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15219 * debug/getgroups_chk.c: Likewise.
15220 * debug/mbsnrtowcs_chk.c: Likewise.
15221 * debug/mbsrtowcs_chk.c: Likewise.
15222 * debug/mbstowcs_chk.c: Likewise.
15223 * debug/memcpy_chk.c: Likewise.
15224 * debug/memmove_chk.c: Likewise.
15225 * debug/mempcpy_chk.c: Likewise.
15226 * debug/memset_chk.c: Likewise.
15227 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15228 * debug/strcat_chk.c (__strcat_chk): Likewise.
15229 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15230 * debug/strncat_chk.c (__strncat_chk): Likewise.
15231 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15232 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15233 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15234 * debug/wcpncpy_chk.c: Likewise.
15235 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15236 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15237 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15238 * debug/wcsncpy_chk.c: Likewise.
15239 * debug/wcsnrtombs_chk.c: Likewise.
15240 * debug/wcsrtombs_chk.c: Likewise.
15241 * debug/wcstombs_chk.c: Likewise.
15242 * debug/wmemcpy_chk.c: Likewise.
15243 * debug/wmemmove_chk.c: Likewise.
15244 * debug/wmempcpy_chk.c: Likewise.
15245 * debug/wmemset_chk.c: Likewise.
15246 * dirent/scandirat.c (SCANDIRAT): Likewise.
15247 * dlfcn/dladdr1.c (dladdr1): Likewise.
15248 * dlfcn/dladdr.c (dladdr): Likewise.
15249 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15250 * dlfcn/dlerror.c (__dlerror): Likewise.
15251 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15252 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15253 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15254 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15255 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15256 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15257 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15258 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15260 * elf/dl-conflict.c: Likewise.
15261 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15262 * elf/dl-dst.h: Likewise.
15263 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15264 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15265 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15266 * elf/dl-init.c (call_init, _dl_init): Likewise.
15267 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15268 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15269 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15271 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15273 * elf/dl-minimal.c (__libc_memalign): Likewise.
15274 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15275 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15276 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15277 * elf/dl-sym.c (do_sym): Likewise.
15278 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15279 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15280 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15281 * elf/dl-writev.h (_dl_writev): Likewise.
15282 * elf/ldconfig.c (search_dir): Likewise.
15283 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15284 (dl_main): Likewise.
15285 * elf/setup-vdso.h (setup_vdso): Likewise.
15286 * grp/compat-initgroups.c (compat_call): Likewise.
15287 * grp/fgetgrent.c (fgetgrent): Likewise.
15288 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15289 * grp/putgrent.c (putgrent): Likewise.
15290 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15292 * hurd/hurdinit.c: Likewise.
15293 * iconvdata/8bit-gap.c (struct): Likewise.
15294 * iconvdata/ansi_x3.110.c : Likewise.
15295 * iconvdata/big5.c : Likewise.
15296 * iconvdata/big5hkscs.c : Likewise.
15297 * iconvdata/cp1255.c: Likewise.
15298 * iconvdata/cp1258.c : Likewise.
15299 * iconvdata/cp932.c : Likewise.
15300 * iconvdata/euc-cn.c: Likewise.
15301 * iconvdata/euc-jisx0213.c : Likewise.
15302 * iconvdata/euc-jp.c: Likewise.
15303 * iconvdata/euc-jp-ms.c : Likewise.
15304 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15305 * iconvdata/gb18030.c : Likewise.
15306 * iconvdata/gbbig5.c (const): Likewise.
15307 * iconvdata/gbgbk.c: Likewise.
15308 * iconvdata/gbk.c : Likewise.
15309 * iconvdata/ibm1364.c : Likewise.
15310 * iconvdata/ibm930.c : Likewise.
15311 * iconvdata/ibm932.c: Likewise.
15312 * iconvdata/ibm933.c : Likewise.
15313 * iconvdata/ibm935.c : Likewise.
15314 * iconvdata/ibm937.c : Likewise.
15315 * iconvdata/ibm939.c : Likewise.
15316 * iconvdata/ibm943.c: Likewise.
15317 * iconvdata/iso_11548-1.c: Likewise.
15318 * iconvdata/iso-2022-cn.c : Likewise.
15319 * iconvdata/iso-2022-cn-ext.c : Likewise.
15320 * iconvdata/iso-2022-jp-3.c: Likewise.
15321 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15322 * iconvdata/iso-2022-kr.c : Likewise.
15323 * iconvdata/iso646.c (gconv_end): Likewise.
15324 * iconvdata/iso_6937-2.c : Likewise.
15325 * iconvdata/iso_6937.c : Likewise.
15326 * iconvdata/iso8859-1.c: Likewise.
15327 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15328 * iconvdata/shift_jisx0213.c : Likewise.
15329 * iconvdata/sjis.c : Likewise.
15330 * iconvdata/t.61.c : Likewise.
15331 * iconvdata/tcvn5712-1.c : Likewise.
15332 * iconvdata/tscii.c: Likewise.
15333 * iconvdata/uhc.c : Likewise.
15334 * iconvdata/unicode.c (gconv_end): Likewise.
15335 * iconvdata/utf-16.c (gconv_end): Likewise.
15336 * iconvdata/utf-32.c (gconv_end): Likewise.
15337 * iconvdata/utf-7.c (base64): Likewise.
15338 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15339 * iconv/gconv_close.c (__gconv_close): Likewise.
15340 * iconv/gconv_open.c (__gconv_open): Likewise.
15341 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15342 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15343 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15344 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15345 (ucs4le_internal_loop_single): Likewise.
15346 * iconv/iconv.c (iconv): Likewise.
15347 * iconv/iconv_close.c: Likewise.
15348 * iconv/loop.c (SINGLE): Likewise.
15349 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15350 * include/atomic.h: Likewise.
15351 * inet/inet6_option.c (option_alloc): Likewise.
15352 * intl/bindtextdom.c (set_binding_values): Likewise.
15353 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15354 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15355 * intl/localealias.c (read_alias_file): Likewise.
15356 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15357 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15358 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15359 * libio/fmemopen.c (fmemopen): Likewise.
15360 * libio/iofgets.c (_IO_fgets): Likewise.
15361 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15362 * libio/iofgetws.c (fgetws): Likewise.
15363 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15364 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15365 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15366 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15367 * locale/findlocale.c (_nl_find_locale): Likewise.
15368 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15369 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15371 * locale/setlocale.c (setlocale): Likewise.
15372 * login/programs/pt_chown.c (main): Likewise.
15373 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15374 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15375 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15376 (mmap, mmap64, mremap, munmap): Likewise.
15377 * math/e_exp2l.c: Likewise.
15378 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15379 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15380 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15381 * math/s_catan.c (__catan): Likewise.
15382 * math/s_catanf.c (__catanf): Likewise.
15383 * math/s_catanh.c (__catanh): Likewise.
15384 * math/s_catanhf.c (__catanhf): Likewise.
15385 * math/s_catanhl.c (__catanhl): Likewise.
15386 * math/s_catanl.c (__catanl): Likewise.
15387 * math/s_ccosh.c (__ccosh): Likewise.
15388 * math/s_ccoshf.c (__ccoshf): Likewise.
15389 * math/s_ccoshl.c (__ccoshl): Likewise.
15390 * math/s_cexp.c (__cexp): Likewise.
15391 * math/s_cexpf.c (__cexpf): Likewise.
15392 * math/s_cexpl.c (__cexpl): Likewise.
15393 * math/s_clog10.c (__clog10): Likewise.
15394 * math/s_clog10f.c (__clog10f): Likewise.
15395 * math/s_clog10l.c (__clog10l): Likewise.
15396 * math/s_clog.c (__clog): Likewise.
15397 * math/s_clogf.c (__clogf): Likewise.
15398 * math/s_clogl.c (__clogl): Likewise.
15399 * math/s_csin.c (__csin): Likewise.
15400 * math/s_csinf.c (__csinf): Likewise.
15401 * math/s_csinh.c (__csinh): Likewise.
15402 * math/s_csinhf.c (__csinhf): Likewise.
15403 * math/s_csinhl.c (__csinhl): Likewise.
15404 * math/s_csinl.c (__csinl): Likewise.
15405 * math/s_csqrt.c (__csqrt): Likewise.
15406 * math/s_csqrtf.c (__csqrtf): Likewise.
15407 * math/s_csqrtl.c (__csqrtl): Likewise.
15408 * math/s_ctan.c (__ctan): Likewise.
15409 * math/s_ctanf.c (__ctanf): Likewise.
15410 * math/s_ctanh.c (__ctanh): Likewise.
15411 * math/s_ctanhf.c (__ctanhf): Likewise.
15412 * math/s_ctanhl.c (__ctanhl): Likewise.
15413 * math/s_ctanl.c (__ctanl): Likewise.
15414 * math/w_pow.c: Likewise.
15415 * math/w_powf.c: Likewise.
15416 * math/w_powl.c: Likewise.
15417 * math/w_scalb.c (sysv_scalb): Likewise.
15418 * math/w_scalbf.c (sysv_scalbf): Likewise.
15419 * math/w_scalbl.c (sysv_scalbl): Likewise.
15420 * misc/error.c (error_tail): Likewise.
15421 * misc/pselect.c (__pselect): Likewise.
15422 * nis/nis_callback.c (__nis_create_callback): Likewise.
15423 * nis/nis_call.c (__nisfind_server): Likewise.
15424 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15425 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15426 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15427 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15428 * nis/nis_lookup.c (nis_lookup): Likewise.
15429 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15430 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15431 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15432 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15433 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15434 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15435 * nis/nss_compat/compat-initgroups.c (add_group)
15436 (internal_getgrent_r): Likewise.
15437 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15438 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15439 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15440 (internal_getspnam_r): Likewise.
15441 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15442 (_nss_nis_getaliasbyname_r): Likewise.
15443 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15444 (_nss_nis_getntohost_r): Likewise.
15445 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15446 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15447 (_nss_nis_getgrgid_r): Likewise.
15448 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15449 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15450 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15451 (_nss_nis_gethostbyname4_r): Likewise.
15452 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15453 (initgroups_netid): Likewise.
15454 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15455 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15456 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15457 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15458 (_nss_nis_getprotobynumber_r): Likewise.
15459 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15460 (_nss_nis_getsecretkey): Likewise.
15461 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15462 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15463 (_nss_nis_getpwuid_r): Likewise.
15464 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15465 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15466 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15467 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15468 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15469 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15470 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15472 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15473 (_nss_nisplus_getntohost_r): Likewise.
15474 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15475 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15476 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15477 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15479 * nis/nss_nisplus/nisplus-initgroups.c
15480 (_nss_nisplus_initgroups_dyn): Likewise.
15481 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15482 (_nss_nisplus_getnetbyaddr_r): Likewise.
15483 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15484 (_nss_nisplus_getprotobynumber_r): Likewise.
15485 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15486 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15487 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15489 * nis/nss_nisplus/nisplus-service.c
15490 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15491 (_nss_nisplus_getservbyport_r): Likewise.
15492 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15493 (_nss_nisplus_getspnam_r): Likewise.
15494 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15496 * nscd/aicache.c (addhstaiX): Likewise.
15497 * nscd/cache.c (cache_search, prune_cache): Likewise.
15498 * nscd/connections.c (register_traced_file, send_ro_fd)
15499 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15500 (main_loop_epoll): Likewise.
15501 * nscd/grpcache.c (addgrbyX): Likewise.
15502 * nscd/hstcache.c (addhstbyX): Likewise.
15503 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15504 * nscd/mem.c (gc, mempool_alloc): Likewise.
15505 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15506 (addinnetgrX): Likewise.
15507 * nscd/nscd-client.h (__nscd_acquire_maplock)
15508 (__nscd_drop_map_ref): Likewise.
15509 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15510 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15511 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15513 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15514 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15515 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15516 (__nscd_get_map_ref): Likewise.
15517 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15518 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15520 * nscd/pwdcache.c (addpwbyX): Likewise.
15521 * nscd/selinux.c (preserve_capabilities): Likewise.
15522 * nscd/servicescache.c (addservbyX): Likewise.
15523 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15524 * posix/fnmatch.c (fnmatch): Likewise.
15525 * posix/getopt.c (_getopt_internal_r): Likewise.
15526 * posix/glob.c (glob, glob_in_dir): Likewise.
15527 * posix/wordexp.c (exec_comm_child): Likewise.
15528 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15529 (getanswer_r, gaih_getanswer_slice): Likewise.
15530 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15531 * resolv/res_init.c: Likewise.
15532 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15533 * resolv/res_query.c (__libc_res_nquery): Likewise.
15534 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15536 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15537 * stdio-common/perror.c (perror): Likewise.
15538 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15539 * stdio-common/tmpnam.c (tmpnam): Likewise.
15540 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15541 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15542 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15544 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15545 * stdlib/putenv.c (putenv): Likewise.
15546 * stdlib/setenv.c (__add_to_environ): Likewise.
15547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15548 * stdlib/strtol_l.c (INTERNAL): Likewise.
15549 * string/memmem.c (memmem): Likewise.
15550 * string/strerror.c (strerror): Likewise.
15551 * string/strnlen.c (__strnlen): Likewise.
15552 * string/test-memmem.c (simple_memmem): Likewise.
15553 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15554 * sunrpc/pm_getport.c (__get_socket): Likewise.
15555 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15556 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15557 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15558 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15560 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15561 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15562 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15563 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15564 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15565 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15567 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15569 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15570 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15571 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15572 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15573 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15575 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15576 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15577 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15578 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15579 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15582 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15584 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15588 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15589 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15590 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15591 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15592 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15601 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15603 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15605 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15607 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15609 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15611 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15613 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15614 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15615 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15616 * sysdeps/posix/sleep.c: Likewise.
15617 * sysdeps/posix/tempname.c: Likewise.
15618 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15619 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15621 * sysdeps/powerpc/powerpc32/dl-machine.h
15622 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15623 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15625 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15626 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15628 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15629 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15630 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15631 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15632 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15633 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15634 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15635 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15636 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15637 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15639 (elf_machine_lazy_rel): Likewise.
15640 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15641 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15642 (elf_machine_lazy_rel): Likewise.
15643 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15644 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15645 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15646 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15647 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15648 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15649 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15652 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15653 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15654 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15655 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15656 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15657 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15658 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15659 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15660 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15661 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15662 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15664 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15665 (__posix_fallocate64_l64): Likewise.
15666 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15667 (posix_fallocate): Likewise.
15668 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15671 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15672 (getifaddrs_internal): Likewise.
15673 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15674 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15675 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15676 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15677 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15678 (__posix_fallocate64_l64): Likewise.
15679 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15681 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15682 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15683 (__get_clockfreq): Likewise.
15684 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15685 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15686 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15687 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15689 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15690 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15691 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15693 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15694 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15695 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15696 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15697 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15698 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15699 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15701 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15702 (posix_fallocate): Likewise.
15703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15704 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15705 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15706 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15707 (elf_machine_rela, elf_machine_rela_relative)
15708 (elf_machine_lazy_rel): Likewise.
15709 * time/asctime.c (asctime_internal): Likewise.
15710 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15711 * time/tzset.c (__tzset_parse_tz): Likewise.
15712 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15713 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15714 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15715 * wcsmbs/wcsmbsload.h: Likewise.
15718 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15720 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15721 (arena_get2): Remove THREAD_STATS conditionals.
15722 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15723 (__malloc_stats, int): Likewise.
15725 2014-02-08 Mike Frysinger <vapier@gentoo.org>
15727 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15728 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15730 * manual/setjmp.texi: Fix typos/grammar errors.
15732 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15733 Only return early when n is <= 0. Delete unused return statement.
15735 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15736 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15737 * debug/tst-longjmp_chk3.c: New file.
15739 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15740 (test_main): Replace code with set_fortify_handler call.
15741 * debug/test-strcpy_chk.c: Likewise.
15742 * debug/tst-chk1.c: Likewise.
15743 * debug/tst-longjmp_chk.c: Likewise.
15744 * test-skeleton.c: Include fcntl.h & paths.h
15745 (set_fortify_handler): Define.
15747 * debug/tst-longjmp_chk.c: Add header comment and include
15748 ../test-skeleton.c.
15749 (do_test): Mark static.
15750 (TEST_FUNCTION): Define.
15752 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15753 (IP_PMTUDISC_INTERFACE): Likewise.
15754 (IP_MULTICAST_IF): Likewise.
15755 (IP_MULTICAST_TTL): Likewise.
15756 (IP_MULTICAST_LOOP): Likewise.
15757 (IP_ADD_MEMBERSHIP): Likewise.
15758 (IP_DROP_MEMBERSHIP): Likewise.
15759 (IP_UNBLOCK_SOURCE): Likewise.
15760 (IP_BLOCK_SOURCE): Likewise.
15761 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15762 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15763 (IP_MSFILTER): Likewise.
15764 (MCAST_JOIN_GROUP): Likewise.
15765 (MCAST_BLOCK_SOURCE): Likewise.
15766 (MCAST_UNBLOCK_SOURCE): Likewise.
15767 (MCAST_LEAVE_GROUP): Likewise.
15768 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15769 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15770 (MCAST_MSFILTER): Likewise.
15771 (IP_MULTICAST_ALL): Likewise.
15772 (IP_UNICAST_IF): Likewise.
15774 * timezone/Makefile: Delete $(have-ksh) check.
15775 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15776 * timezone/tzselect.ksh: Add +x mode bits.
15778 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15779 (ANON_INODE_FS_MAGIC): Likewise.
15780 (BDEVFS_MAGIC): Likewise.
15781 (BINFMTFS_MAGIC): Likewise.
15782 (BTRFS_TEST_MAGIC): Likewise.
15783 (CRAMFS_MAGIC_WEND): Likewise.
15784 (DEBUGFS_MAGIC): Likewise.
15785 (ECRYPTFS_SUPER_MAGIC): Likewise.
15786 (EXT3_SUPER_MAGIC): Likewise.
15787 (EXT4_SUPER_MAGIC): Likewise.
15788 (FUTEXFS_SUPER_MAGIC): Likewise.
15789 (HOSTFS_SUPER_MAGIC): Likewise.
15790 (HUGETLBFS_MAGIC): Likewise.
15791 (MINIX3_SUPER_MAGIC): Likewise.
15792 (MTD_INODE_FS_MAGIC): Likewise.
15793 (NILFS_SUPER_MAGIC): Likewise.
15794 (OPENPROM_SUPER_MAGIC): Likewise.
15795 (PIPEFS_MAGIC): Likewise.
15796 (PSTOREFS_MAGIC): Likewise.
15797 (QNX6_SUPER_MAGIC): Likewise.
15798 (RAMFS_MAGIC): Likewise.
15799 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15800 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15801 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15802 (SECURITYFS_MAGIC): Likewise.
15803 (SELINUX_MAGIC): Likewise.
15804 (SMACK_MAGIC): Likewise.
15805 (SOCKFS_MAGIC): Likewise.
15806 (SQUASHFS_MAGIC): Likewise.
15807 (STACK_END_MAGIC): Likewise.
15808 (TMPFS_MAGIC): Likewise.
15809 (USBDEVICE_SUPER_MAGIC): Likewise.
15810 (V9FS_MAGIC): Likewise.
15811 (XENFS_SUPER_MAGIC): Likewise.
15812 (CRAMFS_MAGIC): Fix typo in comment.
15813 (EXT2_SUPER_MAGIC): Update comment.
15814 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15816 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15818 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15819 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15820 * sysdeps/unix/sysv/linux/arm: Move directory from
15821 ports/sysdeps/unix/sysv/linux/arm.
15822 * README: Update listing for arm-*-linux-gnueabi.
15824 * README: Remove mention of am33.
15826 2014-02-07 Roland McGrath <roland@hack.frob.com>
15828 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15829 than the comma operator, to avoid "rhs of comma has no effect"
15831 (__sigfillset, __sigandset, __sigorset): Likewise.
15832 * include/signal.h (__sigemptyset): Likewise.
15833 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15835 2014-02-07 Allan McRae <allan@archlinux.org>
15837 * version.h (RELEASE): Set to "development".
15838 (VERSION): Set to "2.19.90"
15839 * NEWS: Add 2.20 section.
15841 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15844 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15846 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15848 * manual/contrib.texi: Update entry for Carlos O'Donell,
15849 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15851 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15853 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15855 * sysdeps/unix/sysv/linux/kernel-features.h
15856 [__LINUX_KERNEL_VERSION >= 0x020621]
15857 (__ASSUME_PROC_PID_TASK_COMM): Define.
15859 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15862 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15863 conversion when destination buffer does not have enough space.
15864 * libio/tst-ftell-partial-wide.c: New test case.
15865 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15867 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15868 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15869 Leonard and Allan McRae.
15871 2014-02-04 David S. Miller <davem@davemloft.net>
15873 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15876 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15905 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15908 * shlib-versions: Likewise.
15910 2014-02-04 Roland McGrath <roland@hack.frob.com>
15911 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15913 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15914 (abilist-pattern): New variable, set to %-le.abilist.
15916 * Makerules (abilist-pattern): New variable.
15917 (vpath): Use $(abilist-pattern) in place of %.abilist.
15918 (check-abi-% pattern rule): Likewise.
15919 (check-abi, update-abi): Likewise.
15921 2014-02-04 Eric Wong <normalperson@yhbt.net>
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15925 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15927 * manual/startup.texi: Add next, previous, and top entries for
15928 the `Program Arguments' and `Environment Variables' nodes.
15930 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15932 * manual/macros.texi: Add comments before MTASC-safety macros.
15934 * manual/users.texi: Document MTASC-safety properties.
15936 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15937 (pthread_getspecific, pthread_setspecific): Format with
15938 @deftypefun, and add @safety note.
15939 * manual/signal.texi: Move comments that analyze the above
15940 functions to their home place.
15942 2014-02-03 Allan McRae <allan@archlinux.org>
15944 * po/sl.po: Update Slovenian translation from translation project.
15946 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15948 * manual/time.texi (timegm): Add missing blank after @c.
15949 Reported by Joseph Myers <joseph@codesourcery.com>.
15951 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15953 * manual/check-safety.sh: New.
15954 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15956 * manual/terminal.texi: Document MTASC-safety properties.
15958 * manual/filesys.texi: Document MTASC-safety properties.
15960 * manual/errno.texi: Document MTASC-safety properties.
15962 * manual/intro.texi: Document safety identifiers and
15965 * manual/string.texi (wcstok): Fix prototype.
15966 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15968 * manual/time.texi: Document MTASC-safety properties.
15970 * manual/string.texi: Document MTASC-safety properties.
15972 * manual/threads.texi: Document MTASC-safety properties.
15974 * manual/stdio.texi: Document MTASC-safety properties.
15976 * manual/syslog.texi: Document MTASC-safety properties.
15978 * manual/sysinfo.texi: Document MTASC-safety properties.
15980 * manual/startup.texi: Document MTASC-safety properties.
15982 * manual/socket.texi: Document MTASC-safety properties.
15984 * manual/signal.texi: Document MTASC-safety properties.
15986 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15988 * manual/setjmp.texi: Document MTASC-safety properties.
15990 * manual/search.texi: Document MTASC-safety properties.
15992 * manual/resource.texi: Document MTASC-safety properties.
15994 * manual/process.texi: Document MTASC-safety properties.
15996 * manual/platform.texi: Document MTASC-safety properties.
15998 * manual/pipe.texi: Document MTASC-safety properties.
16000 * manual/pattern.texi: Document MTASC-safety properties.
16002 * manual/message.texi: Document MTASC-safety properties.
16005 * manual/memory.texi: Document MTASC-safety properties.
16007 * manual/math.texi: Document MTASC-safety properties.
16009 * manual/locale.texi: Document MTASC-safety properties.
16011 * manual/llio.texi: Document MTASC-safety properties.
16013 * manual/libdl.texi: New.
16015 * manual/lang.texi: Document MTASC-safety properties.
16017 * manual/job.texi: Document MTASC-safety properties.
16019 * manual/getopt.texi: Document MTASC-safety properties.
16021 * manual/ctype.texi: Document MTASC-safety properties.
16023 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16026 * csu/libc-tls.c (static_map): Remove variable.
16027 (__libc_setup_tls): Use main executable's link map for TLS data.
16028 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16029 casing for LM_ID_BASE and GL(dl_nns).
16030 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16031 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16032 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16033 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16034 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16036 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16039 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16041 * manual/debug.texi: Document MTASC-safety properties.
16043 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16046 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16047 of __x86_64__ when disabling x87 inline functions.
16049 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16051 * manual/charset.texi: Document MTASC-safety properties.
16053 * manual/crypt.texi: Document MTASC-safety properties.
16055 * manual/conf.texi: Document MTASC-safety properties.
16057 * manual/arith.texi: Document MTASC-safety properties.
16059 * manual/argp.texi: Document MTASC-safety properties.
16061 * manual/macros.texi: Introduce macros to document multi
16062 thread, asynchronous signal and asynchronous cancellation
16064 * manual/intro.texi: Introduce the properties themselves.
16066 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16068 * sysdeps/sh/sh4/Makefile: New file.
16070 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16072 * math/gen-libm-test.pl ($srcdir): New variable.
16073 ($auto_input): Use it.
16075 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16078 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16079 access beyond array bounds when parsing netgroups file.
16081 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16082 the old buffer before realloc.
16084 2014-01-27 Allan McRae <allan@archlinux.org>
16086 * po/fr.po: Update French translation from translation project.
16088 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16090 * sysdeps/sh/libm-test-ulps: Regenerate.
16092 2014-01-24 David S. Miller <davem@davemloft.net>
16094 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16096 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16098 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16099 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16101 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16104 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16105 string pointers after reallocation.
16107 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16109 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16110 __SH4A__ instead of __SH_FPU_ANY__.
16112 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16114 * sysdeps/sh/fpu_control.h: New file.
16115 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16116 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16117 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16118 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16119 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16120 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16121 * sysdeps/sh/sys/ucontext.h: Remove.
16122 * sysdeps/sh/sys: Remove directory.
16124 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16126 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16127 s390/sys/ucontext.h.
16128 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16129 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16131 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16134 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16136 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16139 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16140 Adjust the vDSO correctly for internal calls.
16141 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16143 2014-01-20 Allan McRae <allan@archlinux.org>
16145 * po/ca.po: Update Catalan translation from translation project.
16147 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16149 * sysdeps/s390/sotruss-lib.c: New file.
16151 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16154 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16155 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16156 local calls issues by not having a PLT stub required for IFUNC calls.
16157 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16159 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16161 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16162 * math/test-fpucw-static.c: Likewise.
16164 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16167 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16169 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16171 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16172 implementation for powerpc.
16174 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16177 * sysdeps/posix/system.c (__libc_system): Do not enable
16178 asynchronous cancellation.
16180 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16183 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16184 handling only for numbers special also in the IEEE case.
16186 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16188 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16190 2014-01-11 Allan McRae <allan@archlinux.org>
16192 * po/bg.po: Update Bulgarian translation from translation project.
16194 * po/de.po: Update German translation from translation project.
16196 2014-01-10 Roland McGrath <roland@hack.frob.com>
16198 * sysdeps/generic/gcc-compat.h: New file.
16200 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16202 * benchtests/asin-inputs: Correct slow inputs.
16203 * benchtests/acos-inputs: Likewise.
16205 2014-01-10 Allan McRae <allan@archlinux.org>
16207 * po:sv.po: Update Swedish translation from translation project.
16209 * po/vi.po: Update Vietnamese translation from translation project.
16211 * po/eo.po: Update Esperanto translation from translation project.
16213 * po/cs.po: Update Czech translation from translation project.
16215 * po/nl.po: Update Dutch translation from translation project.
16217 * po/pl.po: Update Polish translation from translation project.
16219 * po/ru.po: Update Russian translation from translation project.
16221 * po/uk.po: Update Ukrainian translation from translation project.
16223 2014-01-08 Brooks Moses <bmoses@google.com>
16225 * elf/dl-load.c: Fix comment typo.
16227 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16229 * po/header.pot: Rename to...
16230 * po/pot.header: ... this.
16231 * po/Makefile: Use pot.header.
16233 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16234 Maxim Kuvyrkov <maxim@kugelworks.com>
16237 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16238 SRC and DEST against LEN.
16240 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16243 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16245 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16247 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16251 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16254 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16255 for large positive arguments.
16257 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16259 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16261 * math/auto-libm-test-in: Mark various tests with
16262 xfail-rounding:ldbl-128ibm.
16263 * math/auto-libm-test-out: Regenerated.
16266 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16267 Increase overflow threshold.
16269 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16272 * stdio-common/vfprintf.c: Check for integer overflow.
16274 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16276 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16277 the first argument and return value of __tls_get_addr_internal.
16279 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16281 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16282 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16284 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16286 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16287 * sysdeps/s390/rtld-global-offsets.sym: New file.
16288 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16290 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16292 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16294 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16295 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16301 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16302 halfs of GPRs for high_gprs contexts.
16303 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16304 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16306 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16308 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16310 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16311 for high GPRs (uc_high_gprs) and for future extensions
16313 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16314 for future extensions (__reserved).
16315 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16317 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16318 SC_HIGHGPRS offset definition.
16319 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16320 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16322 * Versions.def: Add GLIBC_2.19 for libpthread.
16323 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16324 siglongjmp for libpthread with GLIBC_2.19 symver.
16325 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16326 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16327 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16328 * sysdeps/s390/__longjmp.c: New file.
16329 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16330 * sysdeps/s390/longjmp.c: New file.
16331 * sysdeps/s390/setjmp.S: New file.
16332 * sysdeps/s390/sigjmp.S: New file.
16333 * sysdeps/s390/v1-longjmp.c: New file.
16334 * sysdeps/s390/v1-setjmp.h: New file.
16335 * sysdeps/s390/v1-sigjmp.c: New file.
16336 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16337 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16338 GLIBC_2.19 version.
16339 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16340 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16341 versioned symbols for ____longjmp_chk.
16342 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16352 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16353 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16354 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16355 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16356 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16357 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16358 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16359 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16360 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16361 * sysdeps/s390/rtld-__longjmp.c: New file.
16362 * sysdeps/s390/rtld-setjmp.S: New file.
16364 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16367 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16368 Return -__logl (x) for small positive arguments without evaluating
16371 2014-01-06 Mike Frysinger <vapier@gentoo.org>
16373 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16375 (__ptrace_peeksiginfo_args): ... this.
16376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16377 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16378 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16380 2014-01-06 Allan McRae <allan@archlinux.org>
16382 * inet/netinet/in.h: Fix typo in comment.
16384 2014-01-05 Andreas Jaeger <aj@suse.de>
16386 * sysdeps/i386/fpu/libm-test-ulps: Update.
16388 2014-01-05 Allan McRae <allan@archlinux.org>
16390 * po/libc.pot: Regenerated.
16392 * malloc/memusagestat.c: Fix gettext call formatting.
16394 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16396 * nscd/nscd.c: Improve usage() output.
16398 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16400 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16401 * sysdeps/unix/sysv/linux/configure: Regenerated.
16402 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16403 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16405 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16408 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16409 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16411 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16413 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16414 extra tokens at end of #undef directive.
16415 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16416 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16417 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16419 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16421 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16423 * math/auto-libm-test-in: Mark various tests with
16424 xfail-rounding:ldbl-128ibm.
16425 * math/auto-libm-test-out: Regenerated.
16427 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16430 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16431 numbers with subnormal high part when calculating exponent.
16434 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16438 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16440 (__ieee754_acoshl): Use __log1pl not __log1p.
16442 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16444 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16445 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16446 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16447 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16448 (reused_arena, arena_get2): Convert to GNU style.
16449 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16450 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16451 (memalign_check, __malloc_set_state): Likewise.
16452 * malloc/mallocbug.c (main): Likewise.
16453 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16454 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16455 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16456 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16457 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16458 (__posix_memalign, malloc_info): Likewise.
16459 * malloc/malloc.h: Likewise.
16460 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16461 (mallochook, memalignhook, reallochook, mabort): Likewise.
16462 * malloc/mcheck.h: Likewise.
16463 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16464 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16465 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16466 * malloc/morecore.c (__default_morecore): Likewise.
16467 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16468 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16469 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16470 (print_and_abort): Likewise.
16471 * malloc/obstack.h: Likewise.
16472 * malloc/set-freeres.c (__libc_freeres): Likewise.
16473 * malloc/tst-mallocstate.c (main): Likewise.
16474 * malloc/tst-mtrace.c (main): Likewise.
16475 * malloc/tst-realloc.c (do_test): Likewise.
16477 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16480 * nscd/netgroupcache.c (do_notfound): New function.
16481 (addgetnetgrentX): Use it.
16484 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16485 NSS_STATUS_NOTFOUND.
16487 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16489 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16492 2014-01-01 Allan McRae <allan@archlinux.org>
16494 * scripts/update-copyrights: Update configure input file suffix.
16496 * NEWS: Update copyright year.
16497 * catgets/gencat.c: Likewise.
16498 * csu/version.c: Likewise.
16499 * debug/catchsegv.sh: Likewise.
16500 * debug/pcprofiledump.c: Likewise.
16501 * debug/xtrace.sh: Likewise.
16502 * elf/ldconfig.c: Likewise.
16503 * elf/ldd.bash.in: Likewise.
16504 * elf/pldd.c: Likewise.
16505 * elf/sotruss.ksh: Likewise.
16506 * elf/sprof.c: Likewise.
16507 * iconv/iconv_prog.c: Likewise.
16508 * iconv/iconvconfig.c: Likewise.
16509 * locale/programs/locale.c: Likewise.
16510 * locale/programs/localedef.c: Likewise.
16511 * login/programs/pt_chown.c: Likewise.
16512 * malloc/memusage.sh: Likewise.
16513 * malloc/memusagestat.c: Likewise.
16514 * malloc/mtrace.pl: Likewise.
16515 * manual/libc.texinfo: Likewise.
16516 * nscd/nscd.c: Likewise.
16517 * nss/getent.c: Likewise.
16518 * nss/makedb.c: Likewise.
16519 * posix/getconf.c: Likewise.
16520 * scripts/test-installation.pl: Likewise.
16522 * All files with FSF copyright notices: Update copyright dates
16523 using scripts/update-copyrights.
16524 * intl/plural.c: Regenerated.
16525 * locale/programs/charmap-kw.h: Likewise.
16526 * locale/programs/locfile-kw.h: Likewise.
16528 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16530 * sysdeps/unix/sysv/linux/configure: Regenerated.
16531 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16532 the linux/fanotify.h header.
16533 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16534 HAVE_LINUX_FANOTIFY_H is defined.
16536 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16538 * benchtests/cos-inputs: New inputs.
16539 * benchtests/sin-inputs: Likewise.
16541 * benchtests/atan-inputs: New inputs. Fix name of multiple
16542 precision fallback inputs.
16544 * benchtests/atanh-inputs: New inputs.
16545 * benchtests/tanh-inputs: Likewise.
16547 * benchtests/acosh-inputs: New inputs.
16548 * benchtests/asinh-inputs: Likewise.
16550 * benchtests/cosh-inputs: New inputs.
16551 * benchtests/sinh-inputs: Likewise.
16553 * benchtests/acos-inputs: Add more inputs.
16554 * benchtests/asin-inputs: Likewise.
16556 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
16559 * manual/arith.texi: Fix spelling.
16560 * manual/charset.texi: Likewise.
16561 * manual/errno.texi: Likewise.
16562 * manual/filesys.texi: Likewise.
16563 * manual/lang.texi: Likewise.
16564 * manual/llio.texi: Likewise.
16565 * manual/locale.texi: Likewise.
16566 * manual/message.texi: Likewise.
16567 * manual/resource.texi: Likewise.
16568 * manual/search.texi: Likewise.
16569 * manual/setjmp.texi: Likewise.
16570 * manual/stdio.texi: Likewise.
16571 * manual/string.texi: Likewise.
16572 * manual/sysinfo.texi: Likewise.
16573 * manual/time.texi: Likewise.
16575 2013-12-27 Carlos O'Donell <carlos@redhat.com>
16577 * po/sl.po: New file.
16579 2013-12-27 Mike Frysinger <vapier@gentoo.org>
16581 * .gitignore: Add core/.gdbinit/.gdb_history.
16583 2013-12-27 Allan McRae <allan@archlinux.org>
16586 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16587 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16589 2013-12-24 Brooks Moses <bmoses@google.com>
16591 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16592 all compilers that claim C++98 compliance, not just GCC.
16593 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16596 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16598 * NEWS: Restore accidentally deleted bug-fix entries.
16600 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16601 Ondřej Bílka <neleai@seznam.cz>
16604 * malloc/malloc.c (_int_free): Perform sanity check only if we
16607 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
16610 * manual/stdio.texi (String Input Conversions): Clarify that character
16611 classes are not supported.
16613 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16617 2013-12-22 Joseph Myers <joseph@codesourcery.com>
16620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16621 Calculate results for small negative arguments directly rather
16622 than using reflection formula with special underflow handling.
16624 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16625 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16626 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16627 (fchflags): Likewise.
16628 (revoke): Likewise.
16629 (setlogin): Likewise.
16630 (sigaltstack): Likewise.
16632 (sigblock): Remove.
16633 (sigsetmask): Likewise.
16635 (waitpid): Likewise.
16636 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16637 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16639 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16640 * sysdeps/unix/bsd/Makefile: ... here.
16641 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16642 * sysdeps/unix/bsd/Versions: ... here.
16643 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16644 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16645 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16646 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16647 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16648 * sysdeps/unix/bsd/sigblock.c: ... here.
16649 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16650 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16651 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16652 * sysdeps/unix/bsd/sigvec.c: ... here.
16653 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16654 * sysdeps/unix/bsd/tcdrain.c: ... here.
16655 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16656 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16657 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16658 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16659 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16660 * sysdeps/unix/bsd/wait.c: ... here.
16661 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16662 * sysdeps/unix/bsd/wait3.c: ... here.
16663 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16664 * sysdeps/unix/bsd/waitpid.c: ... here.
16666 2013-12-21 Joseph Myers <joseph@codesourcery.com>
16669 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16670 round-to-nearest for [!USE_AS_EXPM1L].
16671 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16672 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16673 more tests of exp and exp10. Expect some exp10 tests to miss
16674 exceptions or fail in directed rounding modes.
16675 * math/auto-libm-test-out: Regenerated.
16676 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16677 (exp10_test_tonearest): New function.
16678 (exp10_towardzero_test_data): New array.
16679 (exp10_test_towardzero): New function.
16680 (exp10_downward_test_data): New array.
16681 (exp10_test_downward): New function.
16682 (exp10_upward_test_data): New array.
16683 (exp10_test_upward): New function.
16684 (main): Call the new functions.
16685 * sysdeps/i386/fpu/libm-test-ulps: Update.
16686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16688 2013-12-20 Joseph Myers <joseph@codesourcery.com>
16690 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16691 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16692 * math/auto-libm-test-out: Regenerated.
16693 * math/libm-test.inc (acosh_test_data): Add more tests.
16694 (atanh_test_data): Likewise.
16695 (ceil_test_data): Likewise.
16696 (copysign_test_data): Likewise.
16697 * sysdeps/i386/fpu/libm-test-ulps: Update.
16698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16700 * timezone/checktab.awk: Update from tzcode 2013i.
16701 * timezone/private.h: Likewise.
16702 * timezone/scheck.c: Likewise.
16703 * timezone/tzfile.h: Likewise.
16704 * timezone/tzselect.ksh: Likewise.
16705 * timezone/zdump.c: Likewise.
16706 * timezone/zic.c: Likewise.
16708 * math/auto-libm-test-in: Add tests of cpow.
16709 * math/auto-libm-test-out: Regenerated.
16710 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16711 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16713 (func_calc_desc): Add mpc_cc_c union field.
16714 (test_functions): Add cpow.
16715 (special_fill_2pi): New function.
16716 (special_real_inputs): Add 2pi.
16717 (calc_generic_results): Handle mpc_cc_c.
16718 * sysdeps/i386/fpu/libm-test-ulps: Update.
16719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16721 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16722 csqrt, ctan and ctanh.
16723 * math/auto-libm-test-out: Regenerated.
16724 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16725 (TEST_COND_x86): Likewise.
16726 (ccos_test_data): Use AUTO_TESTS_c_c.
16727 (ccosh_test_data): Likewise.
16728 (cexp_test_data): Likewise.
16729 (clog_test_data): Likewise.
16730 (csqrt_test_data): Likewise.
16731 (ctan_test_data): Likewise.
16732 (ctan_tonearest_test_data): Likewise.
16733 (ctan_towardzero_test_data): Likewise.
16734 (ctan_downward_test_data): Likewise.
16735 (ctan_upward_test_data): Likewise.
16736 (ctanh_test_data): Likewise.
16737 (ctanh_tonearest_test_data): Likewise.
16738 (ctanh_towardzero_test_data): Likewise.
16739 (ctanh_downward_test_data): Likewise.
16740 (ctanh_upward_test_data): Likewise.
16741 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16743 (func_calc_desc): Add mpc_c_c union field.
16744 (FUNC_mpc_c_c): New macro.
16745 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16746 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16748 (special_fill_min_subnorm_p120): New function.
16749 (special_real_inputs): Add min_subnorm_p120.
16750 (calc_generic_results): Handle mpc_c_c.
16751 * sysdeps/i386/fpu/libm-test-ulps: Update.
16752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16754 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16756 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16757 (do_sin_slow): New functions.
16758 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16759 (cslow2, csloww1, csloww2): Use the new functions.
16761 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16762 Use M to change sign of result instead of X. Assume X is
16764 (csloww1): Likewise.
16768 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16769 arguments A and DA.
16773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16775 (sloww1): Don't adjust sign of DX.
16776 (csloww1): Likewise.
16777 (sloww2): Use X directly and don't adjust sign of DX.
16778 (csloww2): Likewise.
16780 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16782 * math/auto-libm-test-in: Add tests of cabs and carg.
16783 * math/auto-libm-test-out: Regenerated.
16784 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16785 (carg_test_data): Likewise.
16786 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16788 (func_calc_desc): Add mpc_c_f union field.
16789 (test_functions): Add cabs and carg.
16790 (calc_generic_results): Handle mpc_c_f.
16792 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16793 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16794 as a macro and a compat symbol.
16795 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16796 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16797 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16798 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16799 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16800 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16802 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16804 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16806 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16808 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16810 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16812 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16813 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16816 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16820 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16822 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16823 trailing whitespace removed.
16824 * scripts/config.guess: Update to version 2013-11-29.
16825 * scripts/config.sub: Update to version 2013-10-01.
16827 * math/auto-libm-test-in: Add tests of sincos.
16828 * math/auto-libm-test-out: Regenerated.
16829 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16832 (func_calc_desc): Add mpfr_f_11 union field.
16833 (test_functions): Add sincos.
16834 (calc_generic_results): Handle mpfr_f_11.
16835 * sysdeps/i386/fpu/libm-test-ulps: Update.
16836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16838 2013-12-19 Andreas Schwab <schwab@suse.de>
16840 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16842 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16843 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16844 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16846 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16848 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16849 * sysdeps/i386/fpu/libm-test-ulps: Update.
16850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16853 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16854 round-to-nearest mode when using frndint.
16855 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16856 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16857 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16859 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16861 * math/auto-libm-test-out: Regenerated.
16862 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16863 (TEST_COND_x86): Likewise.
16864 (expm1_tonearest_test_data): New array.
16865 (expm1_test_tonearest): New function.
16866 (expm1_towardzero_test_data): New array.
16867 (expm1_test_towardzero): New function.
16868 (expm1_downward_test_data): New array.
16869 (expm1_test_downward): New function.
16870 (expm1_upward_test_data): New array.
16871 (expm1_test_upward): New function.
16872 (main): Run the new test functions.
16873 * sysdeps/i386/fpu/libm-test-ulps: Update.
16874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16876 * include/features.h: Update comment documenting feature test
16877 macros. Mention _DEFAULT_SOURCE in comment.
16878 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16879 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16880 _BSD_SOURCE and _SVID_SOURCE.
16881 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16882 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16883 !_SVID_SOURCE]: Likewise.
16884 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16885 (__USE_POSIX_IMPLICITLY): Define.
16886 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16887 (_POSIX_SOURCE): Undefine and redefine.
16888 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16889 (_POSIX_C_SOURCE): Likewise.
16890 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16891 (Feature Test Macros): Update documentation of default features.
16893 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16895 * benchtests/Makefile: Add bench-strtok.
16896 * benchtests/bench-strtok.c: New file: strtok benchtest.
16898 2013-12-19 Allan McRae <allan@archlinux.org>
16900 * manual/install.texi: Suppress menu for plain text output.
16901 * INSTALL: Regenerated.
16903 2013-12-18 Brooks Moses <bmoses@google.com>
16906 * misc/getauxval.c: Include errno.h.
16907 (__getauxval): Set errno to ENOENT if the requested type is not
16909 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16910 don't declare with __attribute_const__.
16911 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16912 * manual/startup.texi: Document that getauxval sets errno.
16914 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16916 * math/auto-libm-test-in: Add tests of jn and yn.
16917 * math/auto-libm-test-out: Regenerated.
16918 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16919 (yn_test_data): Likewise.
16920 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16922 (func_calc_desc): Add mpfr_if_f union field.
16923 (FUNC_mpfr_if_f): New macro.
16924 (test_functions): Add jn and yn.
16925 (calc_generic_results): Assert type of second input for
16926 mpfr_ff_f. Handle mpfr_if_f.
16927 (output_for_one_input_case): Disable all checking for arguments
16928 fitting floating-point types in case of an integer argument.
16929 * sysdeps/i386/fpu/libm-test-ulps: Update.
16930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16933 Don't expect fegetround reference in libm.so.
16935 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16937 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16938 $(config-cflags-nofma).
16940 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16942 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16943 * math/auto-libm-test-out: Regenerated.
16946 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16947 to determine exponent and adjust argument to have exponent of -1.
16948 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16950 * math/auto-libm-test-out: Regenerated.
16951 * sysdeps/i386/fpu/libm-test-ulps: Update.
16952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16954 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16956 * manual/probes.texi: Remove cases when per-thread arenas are
16959 2013-12-18 Andreas Schwab <schwab@suse.de>
16961 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16962 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16963 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16964 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16965 * sysdeps/i386/i686/multiarch/Makefile: Update.
16966 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16968 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16970 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16971 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16973 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16976 Support TZ transition times < 00:00:00.
16977 This is needed for version-3 tz-format files; it supports time
16978 stamps past 2037 for America/Godthab (the only entry in the tz
16979 database for which this change is relevant).
16980 * manual/time.texi (TZ Variable): Document transition times
16981 from -167:59:59 through -00:00:01.
16982 * time/tzset.c (tz_rule): Time of day is now signed.
16983 (__tzset_parse_tz): Parse negative time of day.
16985 Document TZ transition times >= 25:00:00.
16986 * manual/time.texi (TZ Variable): Document transition times from
16987 25:00:00 through 167:59:59. These are already supported, and this
16988 support will help with version-3 tz-format files.
16990 * manual/time.texi (TZ Variable): Modernize North America example
16991 to reflect current (i.e., 2007-and-later) daylight saving rules.
16993 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16995 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16997 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16998 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17001 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17002 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17003 * sysdeps/unix/bsd/clock.c: Likewise.
17004 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17005 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17006 * sysdeps/unix/bsd/init-posix.c: Likewise.
17007 * sysdeps/unix/bsd/poll.c: Likewise.
17008 * sysdeps/unix/bsd/ptsname.c: Likewise.
17009 * sysdeps/unix/bsd/seekdir.c: Likewise.
17010 * sysdeps/unix/bsd/setegid.c: Likewise.
17011 * sysdeps/unix/bsd/seteuid.c: Likewise.
17012 * sysdeps/unix/bsd/setgid.c: Likewise.
17013 * sysdeps/unix/bsd/setrgid.c: Likewise.
17014 * sysdeps/unix/bsd/setruid.c: Likewise.
17015 * sysdeps/unix/bsd/setsid.c: Likewise.
17016 * sysdeps/unix/bsd/setuid.c: Likewise.
17017 * sysdeps/unix/bsd/sigaction.c: Likewise.
17018 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17019 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17020 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17021 * sysdeps/unix/bsd/telldir.c: Likewise.
17022 * sysdeps/unix/bsd/times.c: Likewise.
17023 * sysdeps/unix/bsd/usleep.c: Likewise.
17025 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17026 ($(objpfx)libbsd-compat.a): Remove rule.
17028 * include/features.h (__FAVOR_BSD): Do not define.
17029 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17030 features conflicting with POSIX.
17031 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17032 (_BSD_SOURCE): Remove description of not being a subset of other
17033 feature test macros.
17034 * manual/job.texi (getpgrp): Do not document BSD version.
17035 (getpgid): Do not document by reference to BSD getpgrp.
17036 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17037 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17038 * signal/signal.h [__FAVOR_BSD]: Likewise.
17039 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17040 instead of making contents conditional on [__FAVOR_BSD].
17041 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17043 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17047 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17050 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17051 values below 2**-450, not 2**-500.
17052 * math/auto-libm-test-in: Don't allow spurious underflow from
17054 * math/auto-libm-test-out: Regenerated.
17058 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17059 values of ha and hb and sort them after adjusting subnormal
17061 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17063 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17064 values of ea and eb and sort them after adjusting subnormal
17066 * math/auto-libm-test-in: Do not expect some hypot tests of
17067 subnormals to fail. Add more hypot tests.
17068 * math/auto-libm-test-out: Regenerated.
17070 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17073 * sysdeps/sh/s_fma.c: New file.
17074 * sysdeps/sh/s_fmaf.c: New file.
17075 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17077 * sysdeps/sh/Implies: Add sh/soft-fp.
17079 2013-12-16 Roland McGrath <roland@hack.frob.com>
17081 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17082 level of indirection to members `objname', `errstring', `malloced'.
17083 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17084 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17085 it as the __longjmp argument (just pass 1 instead).
17086 (_dl_catch_error): Initialize C with argument pointers and address of
17087 volatile local ERRCODE rather than copying values out of C at return.
17089 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17091 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17092 * math/auto-libm-test-out: Regenerated.
17093 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17094 (hypot_test_data): Likewise.
17095 (pow_test_data): Likewise.
17096 (pow_tonearest_test_data): Likewise.
17097 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17099 (func_calc_desc): Add mpfr_ff_f union field.
17100 (FUNC_mpfr_ff_f): New macro.
17101 (test_functions): Add atan2, hypot and pow.
17102 (special_fill_min): New function.
17103 (special_fill_minus_min): Likewise.
17104 (special_fill_min_subnorm): Likewise.
17105 (special_fill_minus_min_subnorm): Likewise.
17106 (special_real_inputs): Add min, -min, min_subnorm and
17108 (calc_generic_results): Handle mpfr_ff_f.
17109 * sysdeps/i386/fpu/libm-test-ulps: Update.
17110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17112 2013-12-16 Will Newton <will.newton@linaro.org>
17114 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17115 (Aligned Memory Blocks): Add documentation for aligned_alloc
17116 and suggest it as an alternative to posix_memalign.
17117 (Hooks for Malloc): Document __memalign_hook is also called
17118 for aligned_alloc. (Summary of Malloc): Add summary for
17119 aligned alloc. Document __memalign_hook is also called
17122 2013-12-16 Will Newton <will.newton@linaro.org>
17124 * manual/memory.texi (Malloc Examples): Clarify default
17125 alignment documentation. Suggest posix_memalign rather
17126 than memalign or valloc.
17127 (Aligned Memory Blocks): Remove suggestion to use memalign
17128 or valloc. Remove obsolete comment about BSD.
17129 Document memalign errno values and mark the function obsolete.
17130 Document posix_memalign returned error codes. Mark valloc
17131 as obsolete. (Hooks for Malloc): __memalign_hook is also
17132 called for posix_memalign and valloc.
17133 (Summary of Malloc): Add posix_memalign to function summary.
17134 __memalign_hook is also called for posix_memalign and valloc.
17136 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17138 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17142 (sloww): Use mynumber union. Expand ternary operator into
17143 if-else statements.
17144 (cslow): use mynumber union.
17146 2013-12-16 Allan McRae <allan@archlinux.org>
17148 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17149 * configure: Regenerated.
17151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17154 * configure.ac: Added --enable-maintainer-mode. Check for
17155 autoconf when enabled.
17156 * configure: Regenerated.
17158 * nscd/nscd.service: New file.
17159 * nscd/nscd.tmpfiles: New file.
17161 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17164 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17165 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17166 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17167 (strstr): Add __strstr_sse2_unaligned ifunc.
17168 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17169 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17170 (strcasestr): Remove __strcasestr_sse42 ifunc.
17171 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17175 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17177 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17178 * sysdeps/sh/bits/fenv.h: ... here.
17179 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17181 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17183 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17186 hypotf multiarch implementations.
17187 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17188 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17189 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17190 multiarch hypot for PPC64.
17191 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17193 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17194 multiarch hypotf for PPC64.
17196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17197 modff multiarch implementations.
17198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17201 multiarch modf for PPC64.
17202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17205 multiarch modff for PPC64.
17207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17208 and logl multiarch implementations.
17209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17212 multiarch logb for PPC64.
17213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17216 multiarch logb for PPC64.
17217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17220 multiarch logb for PPC64.
17222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17223 isinff multiarch implementation.
17224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17228 multiarch isinf for PPC64.
17229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17232 multiarch isinff for PPC64.
17234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17235 finitef multiarch implementation.
17236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17240 multiarch finite for PPC64.
17241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17244 multiarch finitef for PPC64.
17246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17247 lrint multiarch implementation.
17248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17252 multiarch llrint for PPC64.
17253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17254 multiarch lrint for PPC64.
17256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17257 copysignf multiarch implementation.
17258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17263 multiarch copysign for PPC64.
17264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17265 multiarch copysignf for PPC64.
17267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17268 multiarch implementation.
17269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17277 multiarch llround for PPC64.
17278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17279 multiarch trunc for PPC64.
17280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17281 multiarch truncf for PPC64.
17283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17284 multiarch implementation.
17285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17293 multiarch llround for PPC64.
17294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17295 multiarch round for PPC64.
17296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17297 multiarch roundf for PPC64.
17299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17300 multiarch implementation.
17301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17309 multiarch llround for PPC64.
17310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17311 multiarch floor for PPC64.
17312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17313 multiarch floorf for PPC64.
17315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17316 multiarch implementation.
17317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17325 multiarch llround for PPC64.
17326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17327 multiarch ceil for PPC64.
17328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17329 multiarch ceilf for PPC64.
17331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17332 multiarch implementation.
17333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17340 multiarch llround for PPC64.
17341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17342 multiarch lround for PPC64.
17344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17345 multiarch implementation.
17346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17353 multiarch isnan for PPC64.
17354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17355 multiarch isnanf for PPC64.
17357 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17358 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17359 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17360 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17361 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17364 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17365 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17370 multiarch implementations.
17371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17372 (__libc_ifunc_impl_list): Likewise.
17373 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17374 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17375 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17376 multiarch stpcpy for PPC64.
17378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17379 multiarch implementations.
17380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17381 (__libc_ifunc_impl_list): Likewise.
17382 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17383 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17384 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17385 multiarch strcpy for PPC64.
17387 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17388 redefine function name.
17389 (_wordcopy_fwd_dest_aligned): Likewise.
17390 (_wordcopy_bwd_aligned): Likewise.
17391 (_wordcopy_bwd_dest_aligned): Likewise.
17392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17393 multiarch implementations.
17394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17395 (__libc_ifunc_impl_list): Likewise.
17396 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17397 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17398 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17399 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17400 multiarch wcscpy for PPC64.
17402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17403 multiarch implementations.
17404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17405 (__libc_ifunc_impl_list): Likewise.
17406 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17407 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17408 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17409 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17410 multiarch wcscpy for PPC64.
17412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17413 multiarch implementations.
17414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17415 (__libc_ifunc_impl_list): Likewise.
17416 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17417 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17418 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17419 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17420 multiarch wcsrchr for PPC64.
17422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17423 multiarch implementations.
17424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17425 (__libc_ifunc_impl_list): Likewise.
17426 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17427 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17428 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17429 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17430 multiarch wcschr for PPC64.
17432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17433 multiarch implementations.
17434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17435 (__libc_ifunc_impl_list): Likewise.
17436 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17437 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17438 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17439 multiarch strchrnul for PPC64.
17441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17444 (__libc_ifunc_impl_list): Likewise.
17445 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17446 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17447 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17448 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17454 (__libc_ifunc_impl_list): Likewise.
17455 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17456 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17458 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17462 multiarch implementations.
17463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17464 (__libc_ifunc_impl_list): Likewise.
17465 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17466 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17467 strncasecmp for PPC64.
17468 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17469 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17470 multiarch strncasecmp_l for PPC64.
17472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17473 multiarch implementations.
17474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17475 (__libc_ifunc_impl_list): Likewise.
17476 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17478 multiarch strcasecmp for PPC64.
17479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17481 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17482 multiarch strcasecmp_l for PPC64.
17484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17487 (__libc_ifunc_impl_list): Likewise.
17488 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17489 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17490 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17496 (__libc_ifunc_impl_list): Likewise.
17497 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17498 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17499 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17505 (__libc_ifunc_impl_list): Likewise.
17506 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17507 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17508 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17509 rawmemrchr for PPC64.
17511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17514 (__libc_ifunc_impl_list): Likewise.
17515 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17516 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17517 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17523 (__libc_ifunc_impl_list): Likewise.
17524 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17525 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17526 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17532 (__libc_ifunc_impl_list): Likewise.
17533 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17534 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17535 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17538 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17539 avoid cretion of __bzero symbol.
17540 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17542 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17544 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17547 multiarch implementations.
17548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17549 (__libc_ifunc_impl_list): Likewise.
17550 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17551 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17552 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17553 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17555 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17556 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17557 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17558 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17559 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17561 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17563 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17567 (__libc_ifunc_impl_list): Likewise.
17568 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17569 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17570 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17571 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17575 multiarch for POWER/PPC64.
17576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17577 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17578 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17579 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17580 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17581 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17582 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17583 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17584 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17587 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17588 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17589 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17590 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17591 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17592 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17593 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17594 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17595 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17596 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17597 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17598 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17599 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17600 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17601 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17610 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17612 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17614 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17616 * benchtests/Makefile (bench): Add exp2 and log2.
17617 (LDLIBS-bench-exp2): Add -lm.
17618 (LDLIBS-bench-log2): Likewise.
17619 * benchtests/exp2-inputs: New inputs file.
17620 * benchtests/log2-inputs: New inputs file.
17621 * benchtests/log-inputs: Add new inputs.
17622 * benchtests/tan-inputs: Likewise.
17624 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17626 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17628 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17629 (csloww2): ... from here.
17631 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17632 instead of structures.
17633 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17634 (POLYNOMIAL): Likewise.
17635 (TAYLOR_SLOW): Likewise.
17641 (sloww1); Likewise.
17642 (sloww2): Likewise.
17643 (bsloww1): Likewise.
17644 (bsloww2): Likewise.
17645 (cslow2): Likewise.
17646 (csloww): Likewise.
17647 (csloww1): Likewise.
17648 (csloww2): Likewise.
17650 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
17652 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17653 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17654 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17655 * malloc/hooks.c (realloc_check): Likewise.
17657 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17658 * malloc/arena.c: Remove PER_THREAD conditional.
17659 [!PER_THREAD]: Remove code.
17660 (ptmalloc_unlock_all2): Likewise.
17661 (ptmalloc_init): Likewise.
17662 (_int_new_arena): Likewise.
17663 (arena_get2): Likewise.
17664 * malloc/hooks.c (__malloc_get_state): Likewise.
17665 (__malloc_set_state): Likewise.
17666 * malloc/malloc.c: Likewise.
17667 (struct malloc_state): Likewise.
17668 (struct malloc_par): Likewise.
17669 (__libc_realloc): Likewise.
17670 (__libc_mallopt): Likewise.
17672 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17674 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17676 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
17678 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17679 macro to a function. Check for zero perturb_byte.
17680 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17682 * malloc/malloc.c: (force_reg): Remove.
17683 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17684 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17685 force_reg by atomic_forced_read.
17686 * malloc/arena.c (ptmalloc_init): Likewise.
17687 * malloc/hooks.c (top_check): Likewise.
17689 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17693 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17697 2013-12-08 Joseph Myers <joseph@codesourcery.com>
17699 * math/auto-libm-test-in: Add tests of lgamma.
17700 * math/auto-libm-test-out: Regenerated.
17701 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17702 (M_LOG_2_SQRT_PIl): Likewise.
17703 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17704 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17706 (func_calc_desc): Add mpfr_f_f1 union field.
17707 (ARGS1): New macro.
17715 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17716 (test_functions): Add lgamma.
17717 (calc_generic_results): Handle mpfr_f_f1.
17718 * sysdeps/i386/fpu/libm-test-ulps: Update.
17719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17721 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17723 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17724 __mpn_add_n for PowerPC64/POWER7.
17725 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17726 __mpn_sub_n for PowerPC64/POWER7.
17728 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17729 __mpn_addmul_1 for PowerPC64.
17730 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17731 __mpn_submul_1 for PowerPC64.
17732 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17734 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17737 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17740 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17742 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17744 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17746 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17747 add multiarch folders.
17748 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17749 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17750 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17751 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17752 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17753 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17754 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17755 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17756 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17757 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17758 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17767 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17773 multiarch __ieee754_hypot for PowerPC32.
17774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17779 multiarch __ieee754_hypotf for PowerPC32.
17781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17782 long_double_symbol only if __logbl is defined.
17783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17784 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17786 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17788 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17789 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17790 path for implementation.
17791 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17792 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17794 logb, and logbl multiarch implementations for PowerPC32.
17795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17800 multiarch logb for PowerPC32.
17801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17806 multiarch logbf for PowerPC32.
17807 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17811 multiarch logbl implementation for PowerPC32.
17813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17814 and modff multiarch implementations.
17815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17820 multiarch modf for PowerPC32.
17821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17826 multiarch modff for PowerPC32.
17828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17829 and lrintf multiarch implementations.
17830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17835 multiarch lrint for PowerPC32.
17836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17837 file: multiarch lrintf for PowerPC32.
17839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17840 and lroundf multiarch implementations.
17841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17848 multiarch lround for PowerPC32.
17849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17850 file: multiarch lroundf for PowerPC32.
17852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17853 copysign and copysignf multiarch implementations.
17854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17859 file: multiarch copysign for PowerPC32.
17860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17861 file: multiarch copysignf for PowerPC32.
17863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17864 and truncf multiarch implementations.
17865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17870 multiarch trunc for PowerPC32.
17871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17876 multiarch truncf for PowerPC32.
17878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17879 and roundf multiarch implementations.
17880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17885 multiarch round for PowerPC32.
17886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17891 multiarch roundf for PowerPC32.
17893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17894 and floorf multiarch implementations.
17895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17900 multiarch floor for PowerPC32.
17901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17906 multiarch floorf for PowerPC32.
17908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17909 and ceilf multiarch implementations.
17910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17915 multiarch ceil for PowerPC32.
17916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17921 multiarch ceilf for PowerPC32.
17923 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17925 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17926 FINITEF is defined.
17927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17928 and finitef multiarch implementations.
17929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17934 multiarch finite for PowerPC32.
17935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17938 file: multiarch finitef for PowerPC32.
17940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17941 and isinff multiarch implementations.
17942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17947 multiarch isinf for PowerPC32.
17948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17951 multiarch isinff for PowerPC32.
17953 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17954 alias when __isnan is defined.
17955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17956 and isnanf multiarch implementations.
17957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17966 multiarch isnan for PowerPC32.
17967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17972 multiarch isnanf for PowerPC32.
17974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17975 and sqrtf multiarch implementations.
17976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17981 multiarch sqrt for PowerPC32.
17982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17987 multiarch sqrtf for PowerPC32.
17989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17990 and llroundf multiarch implementations.
17991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17998 file: multiarch llround for PowerPC32.
17999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18000 file: multiarch llroundf for PowerPC32.
18002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18003 multiarch PowerPC32 fpu implementations.
18004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18009 multiarch llrint for PowerPC32.
18010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18019 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18021 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18023 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18025 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18026 multiarch wordcopy for PPC32.
18027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18030 (__libc_ifunc_impl_list): Likewise.
18031 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18032 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18033 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18034 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18035 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18036 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18038 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18046 multiarch wcscpy for PPC32.
18047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18050 (__libc_ifunc_impl_list): Likewise.
18051 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18052 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18053 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18054 sysdeps/powerpc/power6/wcscpy.c.
18056 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18064 multiarch wcsrchr for PPC32.
18065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18068 (__libc_ifunc_impl_list): Likewise.
18069 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18070 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18071 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18072 sysdeps/powerpc/power6/wcsrchr.c.
18074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18080 multiarch wcschr for PPc32.
18081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18084 (__libc_ifunc_impl_list): Likewise.
18085 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18086 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18087 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18088 sysdeps/powerpc/power6/wcschr.c.
18090 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18091 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18093 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18094 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18095 file: multiarch strchr for PPC32.
18096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18099 (__libc_ifunc_impl_list): Likewise.
18101 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18103 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18105 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18107 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18108 multiarch strchrnul for PPC32.
18109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18112 (__libc_ifunc_impl_list): Likewise.
18114 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18116 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18117 multiarch strncasecmp for PPC32.
18118 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18120 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18121 multiarch strncasecmp_l for PPC32.
18122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18123 strncasecmp multiarch objects.
18124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18125 (__libc_ifunc_impl_list): Likewise.
18127 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18129 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18130 multiarch strncasecmp for PPC32.
18131 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18133 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18134 multiarch strcasecmp_l for PPC32.
18135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18138 (__libc_ifunc_impl_list): Likewise.
18140 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18142 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18144 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18145 multiarch strncmp for PPC32.
18146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18149 (__libc_ifunc_impl_list): Likewise.
18151 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18152 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18154 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18155 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18159 (__libc_ifunc_impl_list): Likewise.
18161 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18163 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18165 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18169 (__libc_ifunc_impl_list): Likewise.
18171 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18173 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18175 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18176 multiarch rawmemchr for PPC32.
18177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18180 (__libc_ifunc_impl_list): Likewise.
18182 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18184 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18186 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18187 file: memrchr multiarch for PPC32.
18188 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18190 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18191 (__libc_ifunc_impl_list): Likewise.
18193 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18194 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18196 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18197 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18198 multiarch memchr for PPC32.
18199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18202 (__libc_ifunc_impl_list): Likewise.
18204 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18205 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18207 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18209 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18210 file: multiarch mempcpy for PPC32.
18211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18214 (__libc_ifunc_impl_list): Likewise.
18216 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18217 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18218 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18219 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18220 multiarch bzero for PPC32.
18221 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18223 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18225 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18226 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18227 file: multiarch memset for PPC32.
18228 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18230 memset multiarch objects.
18231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18232 (__libc_ifunc_impl_list): Likewise.
18234 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18236 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18239 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18243 (__libc_ifunc_impl_list): Likewise.
18245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18251 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18254 multiarch memcpy for PPC32.
18255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18258 (__libc_ifunc_impl_list): Likewise.
18260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18261 support multiarch for POWER/PPC32.
18262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18264 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18266 Implies file to make multiarch folder appers before the fpu and
18267 default folder for power4 configuration.
18269 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18271 * scripts/bench.pl: Append volatile keyword to type.
18273 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18275 * sysdeps/sh/sotruss-lib.c: New file.
18276 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18278 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18282 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18285 * math/w_tgamma.c: Include <errno.h>.
18286 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18287 * math/w_tgammaf.c: Include <errno.h>.
18288 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18289 * math/w_tgammal.c: Include <errno.h>.
18290 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18291 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18292 underflow. Add more tgamma tests.
18293 * math/auto-libm-test-out: Regenerated.
18294 * sysdeps/i386/fpu/libm-test-ulps: Update.
18295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18297 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18298 sin, sinh, tan, tanh, tgamma, y0 and y1.
18299 * math/auto-libm-test-out: Regenerated.
18300 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18301 (TEST_COND_x86): Likewise.
18302 (M_E2l): Remove macro.
18304 (M_2_SQRT_PIl): Likewise.
18305 (M_SQRT_PIl): Likewise.
18306 (M_1_DIV_El): Likewise.
18307 (log_test_data): Use AUTO_TESTS_f_f.
18308 (log10_test_data): Likewise.
18309 (log1p_test_data): Likewise.
18310 (log2_test_data): Likewise.
18311 (sin_test_data): Likewise.
18312 (sin_tonearest_test_data): Likewise.
18313 (sin_towardzero_test_data): Likewise.
18314 (sin_downward_test_data): Likewise.
18315 (sin_upward_test_data): Likewise.
18316 (sinh_test_data): Likewise.
18317 (sinh_tonearest_test_data): Likewise.
18318 (sinh_towardzero_test_data): Likewise.
18319 (sinh_downward_test_data): Likewise.
18320 (sinh_upward_test_data): Likewise.
18321 (tan_test_data): Likewise.
18322 (tan_tonearest_test_data): Likewise.
18323 (tan_towardzero_test_data): Likewise.
18324 (tan_downward_test_data): Likewise.
18325 (tan_upward_test_data): Likewise.
18326 (tanh_test_data): Likewise.
18327 (tgamma_test_data): Likewise.
18328 (y0_test_data): Likewise.
18329 (y1_test_data): Likewise.
18330 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18331 (special_real_inputs): Add pi/4.
18332 * sysdeps/i386/fpu/libm-test-ulps: Update.
18333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18335 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18337 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18338 "longjmp_target" static probes.
18339 (__longjmp): Rename to __longjmp_symbol.
18340 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18341 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18342 on which longjmp to generate.
18343 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18344 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18346 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18347 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18348 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18349 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18350 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18351 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18353 __longjmp_symbol based on which __longjmp to generate.
18354 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18356 (setjmp): Rename to setjmp_symbol.
18357 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18358 (_setjmp): Rename to _setjmp_symbol.
18359 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18360 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18361 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18362 which setjmp to generate.
18363 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18364 "longjmp_target" static probes.
18366 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18368 * benchtests/README: Add note about output arguments.
18369 * benchtests/bench-sincos.c: Remove file.
18370 * benchtests/sincos-inputs: New file.
18371 * scripts/bench.pl: Identify output arguments and define
18372 static variables for them.
18374 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18377 * Makefile (INSTALL): Add install-plain.texi as the primary
18379 * manual/install-plain.texi: New file.
18380 * manual/install.texi: Include node directive only for
18381 non-plaintext output.
18383 2013-12-04 Joseph Myers <joseph@codesourcery.com>
18385 * stdlib/longlong.h: Update from GCC.
18389 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18390 * math/w_j0f.c (y0f): Likewise.
18391 * math/w_j0l.c (__y0l): Likewise.
18392 * math/w_j1.c (y1): Likewise.
18393 * math/w_j1f.c (y1f): Likewise.
18394 * math/w_j1l.c (__y1l): Likewise
18395 * math/w_jn.c (yn): Likewise.
18396 * math/w_jnf.c (ynf): Likewise.
18397 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18398 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18399 value for Bessel function domain errors outside _SVID_ mode.
18400 Adjust sign of return value for yn (negative integer, 0).
18401 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18402 by zero in return for negative x and set sign appropriately for
18404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18405 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18406 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18407 expectations in error cases.
18408 (y1_test_data): Likewise.
18409 (yn_test_data): Likewise.
18410 * sysdeps/i386/fpu/libm-test-ulps: Update.
18411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18413 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18415 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18416 "64" to "64-v1". Add "64-v2".
18417 (abi-64-options): Rename to ...
18418 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18419 (abi-64-condition): Rename to ...
18420 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18421 (abi-64-ld-soname): Rename to ...
18422 (abi-64-v1-ld-soname): ... this.
18423 (abi-64-v2-options): Define.
18424 (abi-64-v2-condition): Likewise.
18425 (abi-64-v2-ld-soname): Likewise.
18426 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18427 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18432 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18433 Alan Modra <amodra@gmail.com>
18435 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18436 New versions for use with the ELFv2 ABI.
18437 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18438 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18440 (struct La_ppc64v2_retval): Likewise.
18441 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18442 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18443 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18444 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18445 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18446 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18447 Do not save or restore CR.
18448 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18449 (_dl_profile_resolve): Do no save or restore CR. Support extended
18450 return values for ELFv2 ABI. Fix location of FPR return registers.
18451 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18452 updated values for _CALL_ELF == 2.
18453 (La_regs, La_retval, int_retval): Likewise.
18455 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18457 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18458 (FRAME_MIN_SIZE_PARM): Likewise.
18459 (FRAME_BACKCHAIN): Likewise.
18460 (FRAME_CR_SAVE): Likewise.
18461 (FRAME_LR_SAVE): Likewise.
18462 (FRAME_TOC_SAVE): Likewise.
18463 (FRAME_PARM_SAVE): Likewise.
18464 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18465 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18466 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18467 (call_mcount_parm_offset): New macro.
18468 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18469 (PROF): Use symbolic stack frame offsets.
18470 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18471 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18472 Redefine in terms of FRAME_MIN_SIZE.
18473 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18474 (_dl_profile_resolve): Likewise. Update comment.
18475 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18476 symbols stack frame offsets.
18477 (__sigsetjmp): Likewise.
18478 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18479 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18480 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18481 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18484 (FRAME_BACKCHAIN): Remove.
18485 (FRAME_CR_SAVE): Likewise.
18486 (FRAME_LR_SAVE): Likewise.
18487 (FRAME_COMPILER_DW): Likewise.
18488 (FRAME_LINKER_DW): Likewise.
18489 (FRAME_TOC_SAVE): Likewise.
18490 (FRAME_PARM_SAVE): Likewise.
18491 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18492 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18493 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18495 (CHECK_SP): Use symbolic stack frame offsets.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18497 zone" instead of caller's parameter save area for temp storage.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18499 Likewise. Also, use symbolic stack frame offsets.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18501 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18502 our own stack frame instead of the caller's.
18503 (__socket): Use symbolic stack frame offsets.
18505 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18506 Alan Modra <amodra@gmail.com>
18508 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18510 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18511 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18512 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18514 (elf_machine_fixup_plt): Call it.
18515 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18517 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18518 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18519 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18520 r2 before calling target.
18522 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18523 Alan Modra <amodra@gmail.com>
18525 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18526 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18527 versions of macros to support ELFv2 ABI.
18528 (LOCALENTRY): New macro.
18529 (ENTRY, EALIGN): Use it.
18530 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18531 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18532 fall through into ENTRY entry point.
18533 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18534 Only define if _CALL_ELF != 2.
18536 (elf_machine_matches_host): Verify ABI version matches.
18537 (RTLD_START): Use LOCALENTRY.
18538 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18539 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18540 (PLT_ENTRY_WORDS): New macro.
18541 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18542 (elf_machine_runtime_setup): Support ELFv2 ABI.
18543 (elf_machine_fixup_plt): Likewise.
18544 (elf_machine_plt_conflict): Likewise.
18545 (resolve_ifunc): Likewise.
18546 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18547 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18550 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18552 (makecontext): Support ELFv2 ABI.
18553 * elf/elf.h (EF_PPC64_ABI): Define.
18555 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18557 * sysdeps/powerpc/powerpc64/sysdep.h
18558 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18559 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18560 (ENTRY) [ASSEMBLER]: ... but instead here ...
18561 (EALIGN) [ASSEMBLER]: ... and here.
18562 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18563 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18564 (ENTRY_2) [!ASSEMBLER]: Use it.
18565 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18566 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18567 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18568 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18569 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18571 Use PPC64_LOAD_FUNCPTR.
18573 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18575 2013-12-04 Alan Modra <amodra@gmail.com>
18577 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18578 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18579 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18580 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18583 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18584 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18585 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18586 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18587 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18589 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18592 (__makecontext): Fix incorrect CFI when backtracing out of
18593 context created via makecontext.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18595 (__setcontext): Fix incorrect CFI during switch to new context.
18596 (__novec_setcontext): Likewise.
18598 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18601 * time/strptime_l.c (__strptime_internal): Allow modifiers
18603 * time/tst-strptime.c (day_tests): Add testcase.
18605 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18607 * scripts/bench.pl: Skip over blank lines.
18609 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18612 * manual/time.texi (Calendar Time): Clarify what timezone functions
18615 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18619 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18621 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18623 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18624 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18625 * debug/memset_chk.c (__memset_chk): Likewise.
18626 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18627 * debug/strncpy_chk.c: Likewise.
18629 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18633 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18634 (__ieee754_exp): For possibly underflowing results, check size of
18635 result and force underflow exception if required.
18636 * math/auto-libm-test-in: Add more tests of exp.
18637 * math/auto-libm-test-out: Regenerated.
18638 * sysdeps/i386/fpu/libm-test-ulps: Update.
18639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18643 * math/w_exp2f.c (__exp2f): Likewise.
18644 * math/w_exp2l.c (__exp2l): Likewise.
18645 * math/auto-libm-test-in: Do not allow missing errno on exp2
18647 * math/auto-libm-test-out: Regenerated.
18649 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
18652 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18653 handle filename validation.
18654 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18657 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18660 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18661 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18662 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18664 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18665 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18666 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18668 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18669 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18670 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18671 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18672 Add more erfc tests.
18673 * math/auto-libm-test-out: Regenerated.
18674 * sysdeps/i386/fpu/libm-test-ulps: Update.
18675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18677 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18678 exp2, expm1, j0 and j1.
18679 * math/auto-libm-test-out: Regenerated.
18680 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18681 (erfc_test_data): Likewise.
18682 (exp_test_data): Likewise.
18683 (exp_tonearest_test_data): Likewise.
18684 (exp_towardzero_test_data): Likewise.
18685 (exp_downward_test_data): Likewise.
18686 (exp_upward_test_data): Likewise.
18687 (exp10_test_data): Likewise.
18688 (exp2_test_data): Likewise.
18689 (expm1_test_data): Likewise.
18690 (j0_test_data): Likewise.
18691 (j1_test_data): Likewise.
18692 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18693 (input_flag_type): Add flag_xfail_rounding.
18694 (input_flags): Add xfail-rounding.
18695 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18696 (output_for_one_input_case): Handle flag_xfail_rounding.
18697 * sysdeps/i386/fpu/libm-test-ulps: Update.
18698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18700 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18703 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18706 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18709 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18710 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18711 (STAP_PROBE0): New macro.
18712 (STAP_PROBE1): Likewise.
18713 (STAP_PROBE2): Likewise.
18714 (STAP_PROBE3): Likewise.
18715 (STAP_PROBE4): Likewise.
18717 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
18719 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18721 2013-12-02 Steve Ellcey <sellcey@mips.com>
18723 * benchtests/Makefile (bench): Add sqrt.
18724 (LDLIBS-bench-sqrt): New.
18725 * benchtests/sqrt-input: New.
18727 2013-12-02 Pavel Simerda <psimerda@redhat.com>
18729 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18730 (GAIH_EAI): Likewise.
18731 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18732 (gaih_inet): Likewise.
18733 (getaddrinfo): Don't use GAIH_EAI.
18735 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18736 (struct gaih): Remove definition.
18738 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18740 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18741 Use HERRNOP directly.
18743 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18747 2013-11-30 Joseph Myers <joseph@codesourcery.com>
18749 * math/gen-auto-libm-tests.c (test_functions): Add more
18750 single-argument functions.
18751 (special_fill_pi_2): New function.
18752 (special_fill_minus_pi_2): Likewise.
18753 (special_fill_pi_6): Likewise.
18754 (special_fill_minus_pi_6): Likewise.
18755 (special_fill_pi_3): Likewise.
18756 (special_fill_2pi_3): Likewise.
18757 (special_fill_e): Likewise.
18758 (special_fill_1_e): Likewise.
18759 (special_fill_e_minus_1): Likewise.
18760 (special_real_inputs): Add more special inputs.
18761 (output_for_one_input_case): Do not require ERANGE on underflow to
18762 zero if round-to-nearest result does not underflow to zero, unless
18763 exact results required.
18764 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18765 atan, atanh, cbrt, cos and cosh.
18766 * math/auto-libm-test-out: Regenerated.
18767 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18768 (acos_tonearest_test_data): Likewise.
18769 (acos_towardzero_test_data): Likewise.
18770 (acos_downward_test_data): Likewise.
18771 (acos_upward_test_data): Likewise.
18772 (acosh_test_data): Likewise.
18773 (asin_test_data): Likewise.
18774 (asin_tonearest_test_data): Likewise.
18775 (asin_towardzero_test_data): Likewise.
18776 (asin_upward_test_data): Likewise.
18777 (asinh_test_data): Likewise.
18778 (atan_test_data): Likewise.
18779 (atanh_test_data): Likewise.
18780 (cbrt_test_data): Likewise.
18781 (cos_test_data): Likewise.
18782 (cos_tonearest_test_data): Likewise.
18783 (cos_towardzero_test_data): Likewise.
18784 (cos_downward_test_data): Likewise.
18785 (cos_upward_test_data): Likewise.
18786 (cosh_test_data): Likewise.
18787 (cosh_tonearest_test_data): Likewise.
18788 (cosh_towardzero_test_data): Likewise.
18789 (cosh_downward_test_data): Likewise.
18790 (cosh_upward_test_data): Likewise.
18791 * sysdeps/i386/fpu/libm-test-ulps: Update.
18792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18794 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18797 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18798 * math/w_exp10f.c (__exp10f): Likewise.
18799 * math/w_exp10l.c (__exp10l): Likewise.
18800 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18801 errno settings in existing tests.
18804 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18805 precision control set to double precision.
18806 * sysdeps/i386/fpu/w_sqrt.c: New file.
18807 * math/auto-libm-test-in: Add more tests.
18808 * math/auto-libm-test-out: Update.
18810 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18811 (sqrt_test_tonearest): New function.
18812 (sqrt_towardzero_test_data): New variable.
18813 (sqrt_test_towardzero): New function.
18814 (sqrt_downward_test_data): New variable.
18815 (sqrt_test_downward): New function.
18816 (sqrt_upward_test_data): New variable.
18817 (sqrt_test_upward): New function.
18818 (main): Call the new functions.
18820 * math/gen-auto-libm-tests.c: New file.
18821 * math/auto-libm-test-in: Likewise.
18822 * math/auto-libm-test-out: New generated file.
18823 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18825 (%beautify): Add generated representations of zero.
18826 (top level): Set $auto_input and call parse_auto_input.
18827 (beautify): Remove trailing "f" from hex float constants.
18828 (parse_args): Handle XFAIL_TEST.
18829 (convert_condition): New function.
18830 (or_value): Likewise.
18831 (or_cond_value): Likewise.
18832 (generate_testfile): Handle AUTO_TESTS_* lines.
18833 (parse_auto_input): New function.
18834 * math/libm-test.inc (XFAIL_TEST): New macro.
18835 (ERRNO_UNCHANGED): Update value.
18836 (ERRNO_EDOM): Likewise.
18837 (ERRNO_ERANGE): Likewise.
18838 (IGNORE_RESULT): Likewise.
18839 (TEST_COND_flt_32): New macro.
18840 (TEST_COND_dbl_64): Likewise.
18841 (TEST_COND_ldbl_96_intel): Likewise.
18842 (TEST_COND_ldbl_96_m68k): Likewise.
18843 (TEST_COND_ldbl_128): Likewise.
18844 (TEST_COND_ldbl_128ibm): Likewise.
18845 (TEST_COND_long32): Likewise.
18846 (TEST_COND_long64): Likewise.
18847 (TEST_COND_before_rounding): Likewise.
18848 (TEST_COND_after_rounding): Likewise.
18849 (enable_test): Handle XFAIL_TEST flag.
18850 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18851 with finite results.
18852 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18853 auto-libm-test-out.
18855 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18856 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18859 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18860 __tls_get_addr_internal instead of __tls_get_offset in order to
18861 avoid GOT pointer dependency. Make rtld export
18862 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18863 __tls_get_addr since we are a __tls_get_offset platform.
18864 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18865 GOT pointer being set up before.
18866 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18868 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18870 * manual/math.texi (Errors in Math Functions): Document accuracy
18874 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18875 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18876 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18878 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18880 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18885 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18891 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18892 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18893 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18894 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18895 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18897 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18899 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18901 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18902 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18903 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18904 atomic-feupdateenv and flt-rounds.
18905 * sysdeps/powerpc/nofpu/Versions (libc): Add
18906 __atomic_feholdexcept, __atomic_feclearexcept,
18907 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18908 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18909 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18910 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18911 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18916 * manual/arith.texi (FP Exceptions): Document that exceptions may
18917 not be raised when matherr is used.
18918 (Math Error Reporting): Document overflow in directed rounding
18919 modes. Document that errno may not be set when finite values are
18920 returned on overflow. Document intent to set errno on underflow
18921 only for underflow to zero.
18924 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18925 round-to-nearest then adjust result for other rounding modes.
18926 * include/fenv.h (fegetround): Use libm_hidden_proto.
18927 * math/fegetround.c (fegetround): Use libm_hidden_def.
18928 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18929 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18930 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18931 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18933 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18934 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18935 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18936 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18938 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18941 * nss/Versions (libnss_files): Add
18942 _nss_files_gethostbyname3_r.
18943 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18945 (HOST_DB_LOOKUP): Remove macro.
18946 (_nss_files_gethostbyname_r): Implement function without the
18947 HOST_DB_LOOKUP macro.
18948 (_nss_files_gethostbyname2_r): Likewise.
18950 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18952 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18954 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18956 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18957 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18960 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18962 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18963 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18964 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18965 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18966 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18967 __fe_nomask_env_priv and attribute_hidden.
18968 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18969 (libc_feupdateenv_test_ppc): Likewise.
18970 (libc_feresetround_ppc): Likewise.
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18972 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18973 compat_symbol macro.
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18975 (__fe_nomask_env): Likewise.
18976 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18978 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18980 * string/Makefile: Remove ifunc tests.
18981 * string/test-string.h: Define TEST_IFUNC.
18982 * string/test-bcopy-ifunc.c: Remove.
18983 * string/test-bzero-ifunc.c: Likewise.
18984 * string/test-memccpy-ifunc.c: Likewise.
18985 * string/test-memchr-ifunc.c: Likewise.
18986 * string/test-memcmp-ifunc.c: Likewise.
18987 * string/test-memcpy-ifunc.c: Likewise.
18988 * string/test-memmem-ifunc.c: Likewise.
18989 * string/test-memmove-ifunc.c: Likewise.
18990 * string/test-mempcpy-ifunc.c: Likewise.
18991 * string/test-memrchr-ifunc.c: Likewise.
18992 * string/test-memset-ifunc.c: Likewise.
18993 * string/test-rawmemchr-ifunc.c: Likewise.
18994 * string/test-stpcpy-ifunc.c: Likewise.
18995 * string/test-stpncpy-ifunc.c: Likewise.
18996 * string/test-strcasecmp-ifunc.c: Likewise.
18997 * string/test-strcasestr-ifunc.c: Likewise.
18998 * string/test-strcat-ifunc.c: Likewise.
18999 * string/test-strchr-ifunc.c: Likewise.
19000 * string/test-strchrnul-ifunc.c: Likewise.
19001 * string/test-strcmp-ifunc.c: Likewise.
19002 * string/test-strcpy-ifunc.c: Likewise.
19003 * string/test-strcspn-ifunc.c: Likewise.
19004 * string/test-strlen-ifunc.c: Likewise.
19005 * string/test-strncasecmp-ifunc.c: Likewise.
19006 * string/test-strncat-ifunc.c: Likewise.
19007 * string/test-strncmp-ifunc.c: Likewise.
19008 * string/test-strncpy-ifunc.c: Likewise.
19009 * string/test-strnlen-ifunc.c: Likewise.
19010 * string/test-strpbrk-ifunc.c: Likewise.
19011 * string/test-strrchr-ifunc.c: Likewise.
19012 * string/test-strspn-ifunc.c: Likewise.
19013 * string/test-strstr-ifunc.c: Likewise.
19015 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19017 * benchtests/Makefile: Remove ifunc tests.
19018 * benchtests/bench-string.h: Define TEST_IFUNC.
19019 * benchtests/bench-bcopy-ifunc.c: Remove.
19020 * benchtests/bench-bzero-ifunc.c: Likewise.
19021 * benchtests/bench-memccpy-ifunc.c: Likewise.
19022 * benchtests/bench-memchr-ifunc.c: Likewise.
19023 * benchtests/bench-memcmp-ifunc.c: Likewise.
19024 * benchtests/bench-memcpy-ifunc.c: Likewise.
19025 * benchtests/bench-memmem-ifunc.c: Likewise.
19026 * benchtests/bench-memmove-ifunc.c: Likewise.
19027 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19028 * benchtests/bench-memrchr-ifunc.c: Likewise.
19029 * benchtests/bench-memset-ifunc.c: Likewise.
19030 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19031 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19032 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19033 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19034 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19035 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19036 * benchtests/bench-strcat-ifunc.c: Likewise.
19037 * benchtests/bench-strchr-ifunc.c: Likewise.
19038 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19039 * benchtests/bench-strcmp-ifunc.c: Likewise.
19040 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19041 * benchtests/bench-strcpy-ifunc.c: Likewise.
19042 * benchtests/bench-strcspn-ifunc.c: Likewise.
19043 * benchtests/bench-strlen-ifunc.c: Likewise.
19044 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19045 * benchtests/bench-strncat-ifunc.c: Likewise.
19046 * benchtests/bench-strncmp-ifunc.c: Likewise.
19047 * benchtests/bench-strncpy-ifunc.c: Likewise.
19048 * benchtests/bench-strnlen-ifunc.c: Likewise.
19049 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19050 * benchtests/bench-strrchr-ifunc.c: Likewise.
19051 * benchtests/bench-strsep-ifunc.c: Likewise.
19052 * benchtests/bench-strspn-ifunc.c: Likewise.
19053 * benchtests/bench-strstr-ifunc.c: Likewise.
19055 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19057 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19059 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19061 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19062 * rt/aio.h: Likewise.
19063 * sysdeps/gnu/bits/utmp.h: Likewise.
19064 * sysdeps/gnu/bits/utmpx.h: Likewise.
19065 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19066 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19067 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19068 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19069 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19070 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19071 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19072 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19073 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19074 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19075 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19076 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19077 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19079 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19080 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19081 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19082 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19083 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19084 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19085 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19086 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19087 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19088 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19089 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19091 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19092 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19093 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19094 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19096 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19097 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19098 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19099 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19100 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19101 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19102 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19103 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19104 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19105 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19106 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19108 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19111 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19112 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19114 2013-11-25 Joseph Myers <joseph@codesourcery.com>
19116 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19117 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19120 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19123 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19124 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19125 (__fesetround): Remove define.
19126 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19127 rounding and exceptions handling.
19128 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19129 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19130 (__fe_nomask_env): Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19132 __fegetround instead of fegetround.
19133 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19136 2013-11-21 Roland McGrath <roland@hack.frob.com>
19138 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19141 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19143 2013-11-21 Meador Inge <meadori@codesourcery.com>
19146 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19147 (encrypt_r): Likewise.
19148 * malloc/obstack.h (obstack_free): Likewise.
19149 * posix/unistd.h (encrypt): Likewise.
19151 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19153 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19154 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19155 DL_CALL_DT_FINI() that call the functions directly.
19156 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19157 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19158 * elf/dl-fini.c: Likewise.
19160 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19162 * malloc/hooks.c (memalign_check): Add alignment rounding.
19163 * malloc/malloc.c (_mid_memalign): New function.
19164 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19165 Implement by calling _mid_memalign.
19166 * manual/probes.texi (Memory Allocation Probes): Remove
19167 memory_valloc_retry and memory_pvalloc_retry.
19169 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19171 * locale/programs/locarchive.c (open_archive): Add const
19172 qualifier to ARCHIVEFNAME and copy default fname to
19176 * libio/tst-widetext.input: Rename Oriya to Odia.
19177 * locale/iso-639.def: Likewise.
19179 * manual/probes.texi (Mathematical Function Probes): Add
19180 documentation for sin, cos, asin and acos probes.
19181 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19182 (__sin32): Add slowasin probe.
19183 (__cos32): Add slowacos probe.
19184 (__mpsin): Add slowsin probe.
19185 (__mpcos): Add slowcos probe.
19187 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19190 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19191 thread-local __sim_exceptions_thread and global
19192 __sim_exceptions_global.
19193 (__sim_disabled_exceptions): Change to thread-local
19194 __sim_disabled_exceptions_thread and global
19195 __sim_disabled_exceptions_global.
19196 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19197 and global __sim_round_mode_global.
19198 (__simulate_exceptions): Use thread-local floating-point state and
19199 set global state from it as needed.
19200 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19201 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19202 __sim_round_mode_thread.
19203 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19204 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19205 and global __sim_exceptions_global.
19206 (__sim_disabled_exceptions): Change to thread-local
19207 __sim_disabled_exceptions_thread and global
19208 __sim_disabled_exceptions_global.
19209 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19210 and global __sim_round_mode_global.
19211 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19212 (SIM_SET_GLOBAL): Likewise.
19213 * sysdeps/powerpc/soft-fp/sfp-machine.h
19214 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19215 __sim_round_mode_thread.
19216 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19217 __sim_disabled_exceptions_thread.
19218 (__sim_exceptions): Change to __sim_exceptions_thread.
19219 (__sim_disabled_exceptions): Change to
19220 __sim_disabled_exceptions_thread.
19221 (__sim_round_mode): Change to __sim_round_mode_thread.
19222 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19223 thread-local floating-point state and set global state from it as
19225 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19226 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19227 (__sim_disabled_exceptions): Remove extern declaration.
19228 (feenableexcept): Use thread-local floating-point state and set
19229 global state from it as needed.
19230 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19231 extern declaration.
19232 (__sim_disabled_exceptions): Likewise.
19233 (__sim_round_mode): Likewise.
19234 (__fegetenv): Use thread-local floating-point state.
19235 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19236 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19237 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19238 floating-point state and set global state from it as needed.
19239 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19240 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19241 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19243 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19244 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19246 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19247 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19248 Use __sim_round_mode_thread.
19249 * math/test-fenv-tls.c: New file.
19250 * math/Makefile (tests): Add test-fenv-tls.
19251 ($(objpfx)test-fenv-tls): Depend on
19252 $(common-objpfx)nptl/libpthread.so.
19254 2013-11-19 Andreas Schwab <schwab@suse.de>
19256 * locale/programs/locale.c (show_info): Decode wordarray elements.
19257 * locale/categories.def (LC_MONETARY): Add element for
19258 _NL_MONETARY_CRNCYSTR.
19259 * locale/C-monetary.c (conversion_rate): New variable.
19260 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19263 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19265 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19266 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19268 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19270 * elf/Makefile (tst-auxv): New test.
19271 * elf/tst-auxv.c: New
19272 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19274 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19276 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19277 (hidden_proto): Caller changed.
19278 (hidden_tls_proto): New macro.
19279 (libc_hidden_tls_proto): Likewise.
19280 (rtld_hidden_tls_proto): Likewise.
19281 (libm_hidden_tls_proto): Likewise.
19282 (libresolv_hidden_tls_proto): Likewise.
19283 (librt_hidden_tls_proto): Likewise.
19284 (libdl_hidden_tls_proto): Likewise.
19285 (libnss_files_hidden_tls_proto): Likewise.
19286 (libnsl_hidden_tls_proto): Likewise.
19287 (libnss_nisplus_hidden_tls_proto): Likewise.
19288 (libutil_hidden_tls_proto): Likewise.
19290 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19293 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19294 (decompose_rpath): Defer expansion to fillin_rpath.
19295 (_dl_init_paths): Pass linkmap to fillin_rpath.
19297 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19299 * benchtests/Makefile: Add strsep.
19300 * benchtests/bench-strsep.c: New file: strsep benchtest.
19301 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19303 2013-11-18 Andreas Schwab <schwab@suse.de>
19305 * locale/programs/locale.c (show_info) [case byte]: Check for
19306 '\377' instead of '\177'.
19307 * locale/C-monetary.c (not_available): Always use "\377".
19308 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19309 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19310 detect unavailable sign_posn locale elements.
19311 * locale/localeconv.c (__localeconv): For grouping and
19312 mon_grouping handle "\177" and "\377" like no grouping.
19313 (INT_ELEM): New macro. Use it to set all numeric members.
19314 * locale/programs/ld-monetary.c (monetary_read)
19315 <tok_mon_grouping>: Normalize single -1 to the empty string.
19316 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19319 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19323 when we match (nil).
19324 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19326 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19328 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19329 (NO_TEST_INLINE): Update value.
19330 (ERRNO_UNCHANGED): Likewise.
19331 (ERRNO_EDOM): Likewise.
19332 (ERRNO_ERANGE): Likewise.
19333 (IGNORE_RESULT): Likewise.
19334 (check_float_internal): Check signs of NaN results if
19335 TEST_NAN_SIGN used.
19336 (check_complex): Pass TEST_NAN_SIGN flag through to second
19337 check_float_internal call.
19338 (copysign_test_data): Add tests with quiet NaNs as second
19339 argument. Use TEST_NAN_SIGN.
19340 (fabs_test_data): Add test of negative quiet NaN argument. Use
19342 (signbit_test_data): Add tests of quiet NaN argument.
19343 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19345 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19347 (parse_args): Handle function results specified as IGNORE.
19348 * math/libm-test.inc (IGNORE_RESULT): New macro.
19349 (check_float_internal): Do not check numerical result if flag
19351 (check_complex): Pass through IGNORE_RESULT to second
19352 check_float_internal call.
19353 (check_int): Do not check numerical result if flag IGNORE_RESULT
19355 (check_long): Likewise.
19356 (check_bool): Likewise.
19357 (check_longlong): Likewise.
19358 (lrint_test_data): Add tests of infinite and NaN arguments.
19359 (lrint_tonearest_test_data): Likewise.
19360 (lrint_towardzero_test_data): Likewise.
19361 (lrint_downward_test_data): Likewise.
19362 (lrint_upward_test_data): Likewise.
19363 (llrint_test_data): Likewise.
19364 (llrint_tonearest_test_data): Likewise.
19365 (llrint_towardzero_test_data): Likewise.
19366 (llrint_downward_test_data): Likewise.
19367 (llrint_upward_test_data): Likewise.
19368 (lround_test_data): Likewise.
19369 (llround_test_data): Likewise.
19371 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19372 (ERRNO_UNCHANGED): Update value.
19373 (ERRNO_EDOM): Likewise.
19374 (ERRNO_ERANGE): Likewise.
19375 (NO_TEST_INLINE_FLOAT): New macro.
19376 (NO_TEST_INLINE_DOUBLE): Likewise.
19377 (enable_test): New function.
19378 (RUN_TEST_f_f): Check enable_test before running test.
19379 (RUN_TEST_2_f): Likewise.
19380 (RUN_TEST_fff_f): Likewise.
19381 (RUN_TEST_c_f): Likewise.
19382 (RUN_TEST_f_f1): Likewise.
19383 (RUN_TEST_fF_f1): Likewise.
19384 (RUN_TEST_fI_f1): Likewise.
19385 (RUN_TEST_ffI_f1): Likewise.
19386 (RUN_TEST_c_c): Likewise.
19387 (RUN_TEST_cc_c): Likewise.
19388 (RUN_TEST_f_i): Likewise.
19389 (RUN_TEST_f_i_tg): Likewise.
19390 (RUN_TEST_ff_i_tg): Likewise.
19391 (RUN_TEST_f_b): Likewise.
19392 (RUN_TEST_f_b_tg): Likewise.
19393 (RUN_TEST_f_l): Likewise.
19394 (RUN_TEST_f_L): Likewise.
19395 (RUN_TEST_fFF_11): Likewise.
19396 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19398 (cosh_test_data): Likewise.
19399 (exp_test_data): Likewise.
19400 (expm1_test_data): Likewise.
19401 (hypot_test_data): Likewise.
19402 (pow_test_data): Likewise.
19403 (sinh_test_data): Likewise.
19404 (tanh_test_data): Likewise.
19405 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19408 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19409 tests with quiet NaN input and output.
19410 (acosh_test_data): Likewise.
19411 (asin_test_data): Likewise.
19412 (asinh_test_data): Likewise.
19413 (atan_test_data): Likewise.
19414 (atanh_test_data): Likewise.
19415 (atan2_test_data): Likewise.
19416 (cbrt_test_data): Likewise.
19417 (cos_test_data): Likewise.
19418 (cosh_test_data): Likewise.
19419 (erf_test_data): Likewise.
19420 (erfc_test_data): Likewise.
19421 (exp_test_data): Likewise.
19422 (exp10_test_data): Likewise.
19423 (exp2_test_data): Likewise.
19424 (expm1_test_data): Likewise.
19425 (hypot_test_data): Likewise.
19426 (j0_test_data): Likewise.
19427 (j1_test_data): Likewise.
19428 (jn_test_data): Likewise.
19429 (lgamma_test_data): Likewise.
19430 (log_test_data): Likewise.
19431 (log10_test_data): Likewise.
19432 (log1p_test_data): Likewise.
19433 (log2_test_data): Likewise.
19434 (pow_test_data): Likewise.
19435 (scalb_test_data): Likewise.
19436 (sin_test_data): Likewise.
19437 (sincos_test_data): Likewise.
19438 (sinh_test_data): Likewise.
19439 (tan_test_data): Likewise.
19440 (tanh_test_data): Likewise.
19441 (tgamma_test_data): Likewise.
19442 (y0_test_data): Likewise.
19443 (y1_test_data): Likewise.
19444 (yn_test_data): Likewise.
19447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19448 argument being NaN and avoid computations with second argument in
19450 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19451 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19452 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19454 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19456 * locale/iso-639.def: Add Chitwani Tharu (the).
19458 2013-11-14 Andreas Schwab <schwab@suse.de>
19460 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19461 word instead of empty string.
19463 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19466 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19468 (__fe_nomask_env): Likewise.
19470 2013-11-13 Steve Ellcey <sellcey@mips.com>
19472 * benchtests/bench-timing.h: Include time.h.
19474 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19477 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19479 * sysdeps/unix/sysv/linux/configure: Regenerated.
19481 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19484 * stdlib/strtod_l.c (round_and_return): Do not consider
19485 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19486 exponent one less than half the least subnormal exponent.
19487 * stdlib/test-strtod-round-data: Add more tests.
19488 * stdlib/tst-strtod-round.c (tests): Regenerated.
19490 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19493 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19494 (__fe_mask_env): Likewise.
19495 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19496 libm_hidden_proto and add function prototype.
19497 (__fe_mask_env): Add function prototype.
19498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19499 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19501 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19503 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19505 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19507 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19508 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19510 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19512 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19513 of htab_find_slot().
19515 2013-11-11 David S. Miller <davem@davemloft.net>
19518 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19519 symbol in the non-vis3 case in static builds.
19520 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19521 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19522 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19523 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19525 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19528 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19531 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19533 * benchtests/Makefile: Add bench-strtod.
19534 * benchtests/bench-strtod.c: New file: strtod benchtest
19536 2013-11-11 Andreas Schwab <schwab@suse.de>
19539 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19540 terminating NUL in key length.
19542 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19544 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19545 Add artificial ODP entry for vDSO symbol for PPC64.
19546 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19547 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19549 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19552 * nss/getent.c (services_keys): Recognize services starting with digit.
19554 2013-11-06 David S. Miller <davem@davemloft.net>
19557 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19558 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19560 2013-11-06 Will Newton <will.newton@linaro.org>
19562 * manual/memory.texi (Malloc Examples): Remove register
19563 keyword from examples.
19565 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
19567 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19569 2013-11-04 Joseph Myers <joseph@codesourcery.com>
19572 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19573 depending on [__GCC_IEC_559 > 0].
19574 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19575 depending on [__GCC_IEC_559_COMPLEX > 0].
19577 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
19579 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19582 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
19584 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19586 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
19589 * malloc/malloc (malloc_info): Do not handle first bin as
19592 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
19594 * locale/iso-639.def: Add Central Nahuatl (nhn).
19596 2013-11-01 Bruno Haible <bruno@clisp.org>
19599 * manual/math.texi (BSD Random): Specify range upper bound as
19602 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
19604 * locale/iso-639.def: Add Meadow Mari (mhr).
19606 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
19608 [BZ #14752], [BZ #15763]
19609 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19611 * rt/tst_shm.c: Add test for escaping directory.
19613 2013-10-31 Andreas Schwab <schwab@suse.de>
19616 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19617 followed by 'x' as part of digit sequence.
19618 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19620 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19623 * configure.ac: allow GNU Make 4.0 and greater.
19624 * configure: Regenerated.
19626 2013-10-30 Will Newton <will.newton@linaro.org>
19629 * malloc/hooks.c (memalign_check): Limit alignment to the
19630 maximum representable power of two.
19631 * malloc/malloc.c (__libc_memalign): Likewise.
19632 * malloc/tst-memalign.c (do_test): Add test for very
19633 large alignment values.
19634 * malloc/tst-posix_memalign.c (do_test): Likewise.
19636 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19639 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19640 (munmap_chunk): Likewise.
19641 (mremap_chunk): Likewise.
19643 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19646 * stdlib/div.c (div): Remove obsolete code.
19647 * stdlib/ldiv.c (ldiv): Likewise.
19648 * stdlib/lldiv.c (lldiv): Likewise.
19650 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19653 * nss/nss_files/files-XXX.c (get_contents_ret): New
19655 (get_contents): New function.
19656 (internal_getent): Use it. Expand size of LINEBUFLEN.
19658 2013-10-30 Mike Frysinger <vapier@gentoo.org>
19660 * configure.in: Moved to ...
19661 * configure.ac: ... here. Change reference to configure.in
19663 * sysdeps/arm/preconfigure.ac: ... here.
19664 configure.in to configure.ac.
19665 * sysdeps/gnu/configure.in: Moved to ...
19666 * sysdeps/gnu/configure.ac: ... here.
19667 * sysdeps/i386/configure.in: Moved to ...
19668 * sysdeps/i386/configure.ac: ... here.
19669 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19670 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19671 * sysdeps/mach/configure.in: Moved to ...
19672 * sysdeps/mach/configure.ac: ... here.
19673 * sysdeps/mach/hurd/configure.in: Moved to ...
19674 * sysdeps/mach/hurd/configure.ac: ... here.
19675 * sysdeps/powerpc/configure.in: Moved to ...
19676 * sysdeps/powerpc/configure.ac: ... here.
19677 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19678 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19679 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19680 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19681 * sysdeps/s390/s390-32/configure.in: Moved to ...
19682 * sysdeps/s390/s390-32/configure.ac: ... here.
19683 * sysdeps/s390/s390-64/configure.in: Moved to ...
19684 * sysdeps/s390/s390-64/configure.ac: ... here.
19685 * sysdeps/sh/configure.in: Moved to ...
19686 * sysdeps/sh/configure.ac: ... here.
19687 * sysdeps/sparc/configure.in: Moved to ...
19688 * sysdeps/sparc/configure.ac: ... here.
19689 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19690 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19691 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19692 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19693 * sysdeps/x86_64/configure.in: Moved to ...
19694 * sysdeps/x86_64/configure.ac: ... here.
19695 * sysdeps/x86_64/preconfigure.in: Moved to ...
19696 * sysdeps/x86_64/preconfigure.ac: ... here.
19697 * aclocal.m4: Change reference to configure.in to configure.ac.
19698 * config.h.in: Likewise.
19699 * manual/install.texi: Likewise.
19700 * manual/maint.texi: Likewise.
19701 * Makefile: Likewise.
19702 * malloc/Makefile: Likewise.
19703 * nscd/Makefile: Likewise.
19704 * Makeconfig: Change reference to configure.in and
19705 preconfigure.in to configure.ac and preconfigure.ac
19707 * INSTALL: Regenerated.
19708 * configure: Likewise.
19709 * sysdeps/gnu/configure: Likewise.
19710 * sysdeps/i386/configure: Likewise.
19711 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19712 * sysdeps/mach/configure: Likewise.
19713 * sysdeps/mach/hurd/configure: Likewise.
19714 * sysdeps/powerpc/configure: Likewise.
19715 * sysdeps/powerpc/powerpc32/configure: Likewise.
19716 * sysdeps/powerpc/powerpc64/configure: Likewise.
19717 * sysdeps/s390/s390-32/configure: Likewise.
19718 * sysdeps/s390/s390-64/configure: Likewise.
19719 * sysdeps/sh/configure: Likewise.
19720 * sysdeps/sparc/configure: Likewise.
19721 * sysdeps/unix/sysv/linux/configure: Likewise.
19722 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19723 * sysdeps/x86_64/configure: Likewise.
19724 * sysdeps/x86_64/preconfigure: Likewise.
19726 2013-10-29 Andreas Schwab <schwab@suse.de>
19728 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19730 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19732 * benchtests/pow-inputs: Add new inputs.
19734 * benchtests/exp-inputs: Add new inputs.
19736 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19737 conditional check for return value.
19738 (__cos32): Likewise.
19740 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19742 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19743 to provide a boost for large inputs with word alignment.
19744 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19745 implementation based on optimized PPC64 strcpy.
19746 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19747 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19748 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19749 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19751 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19754 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19756 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19759 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19760 * time/tst-strptime.c (day_tests): Add testcase.
19762 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19765 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19767 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19770 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19771 MAP_FAILED on error.
19773 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19776 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19777 heap for large requests.
19779 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19782 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19783 result if the result has no associated interface.
19784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19785 interface for all 127.X.Y.Z addresses.
19787 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19789 * locale/iso-639.def: Add Ligurian (lij)
19791 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19794 * sunrpc/rpc_main.c: Document rpcgen -5.
19796 2013-10-19 Michael Stahl <mstahl@redhat.com>
19798 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19800 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19803 * posix/glob.c: Match only directories when trailing slash is present.
19804 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19805 (main): Add testcase.
19807 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19810 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19812 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19814 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19815 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19816 AUTH_DES and cindex for FIPS 140-2.
19817 (DES Encryption): Add cindex FIPS 46-3.
19819 * locale/locarchive.h (struct locarhandle): Add fname.
19820 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19821 if an optional argument was specified to --list-archive,
19823 * locale/programs/locarchive.c (show_archive_content): Take new
19824 argument fname and pass it via ah.fname to open_archive.
19825 * locale/programs/localedef.h: Update decl.
19826 (open_archive): If AH->fname is non-null, open that file
19827 rather than the default file name, and don't ignore ENOENT.
19828 (create_archive): Set AH.fname to NULL.
19829 (delete_locales_from_archive): Likewise.
19830 (add_locales_to_archive): Likewise.
19831 * locale/programs/locfile.c (write_all_categories): Likewise.
19833 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19834 Aldy Hernandez <aldyh@redhat.com>
19836 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19837 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19838 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19839 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19840 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19841 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19842 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19843 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19844 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19845 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19846 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19847 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19848 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19849 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19850 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19852 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19854 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19856 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19858 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19859 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19861 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19862 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19863 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19864 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19866 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19867 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19868 * sysdeps/powerpc/preconfigure: Likewise.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19871 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19872 Replace contents of file by #include of <fenv_libc.h>.
19873 * sysdeps/powerpc/soft-fp/sfp-machine.h
19874 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19876 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19877 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19879 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19881 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19883 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19884 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19885 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19889 Allow copysignl PLT reference to be missing.
19891 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19892 Joseph Myers <joseph@codesourcery.com
19895 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19897 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19899 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19901 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19902 * elf/tst-tls1.c: Likewise.
19903 * elf/tst-tls10.h: Likewise.
19904 * elf/tst-tls14.c: Likewise.
19905 * elf/tst-tls2.c: Likewise.
19906 * elf/tst-tls3.c: Likewise.
19907 * elf/tst-tls4.c: Likewise.
19908 * elf/tst-tls5.c: Likewise.
19909 * elf/tst-tls6.c: Likewise.
19910 * elf/tst-tls7.c: Likewise.
19911 * elf/tst-tls8.c: Likewise.
19912 * elf/tst-tls9.c: Likewise.
19913 * elf/tst-tlsmod1.c: Likewise.
19914 * elf/tst-tlsmod13.c: Likewise.
19915 * elf/tst-tlsmod13a.c: Likewise.
19916 * elf/tst-tlsmod14a.c: Likewise.
19917 * elf/tst-tlsmod16a.c: Likewise.
19918 * elf/tst-tlsmod16b.c: Likewise.
19919 * elf/tst-tlsmod2.c: Likewise.
19920 * elf/tst-tlsmod3.c: Likewise.
19921 * elf/tst-tlsmod4.c: Likewise.
19922 * elf/tst-tlsmod5.c: Likewise.
19923 * elf/tst-tlsmod6.c: Likewise.
19925 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19928 * malloc/malloc.c: remove checks for statistics.
19930 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19933 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19934 * inet/tst-network.c: Add testcase.
19936 2013-10-17 Andreas Schwab <schwab@suse.de>
19939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19940 to determine canonical name.
19942 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19944 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19945 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19968 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19969 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19970 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19971 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19972 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19973 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19976 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19984 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19985 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19986 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19991 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19992 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19993 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19994 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19996 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19997 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19998 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20001 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20003 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20006 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20007 make result into a quiet NaN.
20009 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20011 * soft-fp/adddf3.c: Fix horizontal whitespace.
20012 * soft-fp/addsf3.c: Likewise.
20013 * soft-fp/addtf3.c: Likewise.
20014 * soft-fp/divdf3.c: Likewise.
20015 * soft-fp/divsf3.c: Likewise.
20016 * soft-fp/divtf3.c: Likewise.
20017 * soft-fp/double.h: Likewise.
20018 * soft-fp/eqdf2.c: Likewise.
20019 * soft-fp/eqsf2.c: Likewise.
20020 * soft-fp/eqtf2.c: Likewise.
20021 * soft-fp/extenddftf2.c: Likewise.
20022 * soft-fp/extended.h: Likewise.
20023 * soft-fp/extendsfdf2.c: Likewise.
20024 * soft-fp/extendsftf2.c: Likewise.
20025 * soft-fp/extendxftf2.c: Likewise.
20026 * soft-fp/fixdfdi.c: Likewise.
20027 * soft-fp/fixdfsi.c: Likewise.
20028 * soft-fp/fixdfti.c: Likewise.
20029 * soft-fp/fixsfdi.c: Likewise.
20030 * soft-fp/fixsfsi.c: Likewise.
20031 * soft-fp/fixsfti.c: Likewise.
20032 * soft-fp/fixtfdi.c: Likewise.
20033 * soft-fp/fixtfsi.c: Likewise.
20034 * soft-fp/fixtfti.c: Likewise.
20035 * soft-fp/fixunsdfdi.c: Likewise.
20036 * soft-fp/fixunsdfsi.c: Likewise.
20037 * soft-fp/fixunsdfti.c: Likewise.
20038 * soft-fp/fixunssfdi.c: Likewise.
20039 * soft-fp/fixunssfsi.c: Likewise.
20040 * soft-fp/fixunssfti.c: Likewise.
20041 * soft-fp/fixunstfdi.c: Likewise.
20042 * soft-fp/fixunstfsi.c: Likewise.
20043 * soft-fp/fixunstfti.c: Likewise.
20044 * soft-fp/floatdidf.c: Likewise.
20045 * soft-fp/floatdisf.c: Likewise.
20046 * soft-fp/floatditf.c: Likewise.
20047 * soft-fp/floatsidf.c: Likewise.
20048 * soft-fp/floatsisf.c: Likewise.
20049 * soft-fp/floatsitf.c: Likewise.
20050 * soft-fp/floattidf.c: Likewise.
20051 * soft-fp/floattisf.c: Likewise.
20052 * soft-fp/floattitf.c: Likewise.
20053 * soft-fp/floatundidf.c: Likewise.
20054 * soft-fp/floatundisf.c: Likewise.
20055 * soft-fp/floatunditf.c: Likewise.
20056 * soft-fp/floatunsidf.c: Likewise.
20057 * soft-fp/floatunsisf.c: Likewise.
20058 * soft-fp/floatunsitf.c: Likewise.
20059 * soft-fp/floatuntidf.c: Likewise.
20060 * soft-fp/floatuntisf.c: Likewise.
20061 * soft-fp/floatuntitf.c: Likewise.
20062 * soft-fp/fmadf4.c: Likewise.
20063 * soft-fp/fmasf4.c: Likewise.
20064 * soft-fp/fmatf4.c: Likewise.
20065 * soft-fp/gedf2.c: Likewise.
20066 * soft-fp/gesf2.c: Likewise.
20067 * soft-fp/getf2.c: Likewise.
20068 * soft-fp/ledf2.c: Likewise.
20069 * soft-fp/lesf2.c: Likewise.
20070 * soft-fp/letf2.c: Likewise.
20071 * soft-fp/muldf3.c: Likewise.
20072 * soft-fp/mulsf3.c: Likewise.
20073 * soft-fp/multf3.c: Likewise.
20074 * soft-fp/negdf2.c: Likewise.
20075 * soft-fp/negsf2.c: Likewise.
20076 * soft-fp/negtf2.c: Likewise.
20077 * soft-fp/op-1.h: Likewise.
20078 * soft-fp/op-2.h: Likewise.
20079 * soft-fp/op-4.h: Likewise.
20080 * soft-fp/op-8.h: Likewise.
20081 * soft-fp/op-common.h: Likewise.
20082 * soft-fp/quad.h: Likewise.
20083 * soft-fp/single.h: Likewise.
20084 * soft-fp/soft-fp.h: Likewise.
20085 * soft-fp/sqrtdf2.c: Likewise.
20086 * soft-fp/sqrtsf2.c: Likewise.
20087 * soft-fp/sqrttf2.c: Likewise.
20088 * soft-fp/subdf3.c: Likewise.
20089 * soft-fp/subsf3.c: Likewise.
20090 * soft-fp/subtf3.c: Likewise.
20091 * soft-fp/truncdfsf2.c: Likewise.
20092 * soft-fp/trunctfdf2.c: Likewise.
20093 * soft-fp/trunctfsf2.c: Likewise.
20094 * soft-fp/trunctfxf2.c: Likewise.
20095 * soft-fp/unorddf2.c: Likewise.
20096 * soft-fp/unordsf2.c: Likewise.
20097 * soft-fp/unordtf2.c: Likewise.
20099 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20101 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20102 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20104 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20106 * elf/dl-libc.c: Clear initfini list after freeing.
20108 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20110 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20111 * soft-fp/addsf3.c: Likewise.
20112 * soft-fp/addtf3.c: Likewise.
20113 * soft-fp/divdf3.c: Likewise.
20114 * soft-fp/divsf3.c: Likewise.
20115 * soft-fp/divtf3.c: Likewise.
20116 * soft-fp/double.h: Likewise.
20117 * soft-fp/eqdf2.c: Likewise.
20118 * soft-fp/eqsf2.c: Likewise.
20119 * soft-fp/eqtf2.c: Likewise.
20120 * soft-fp/extenddftf2.c: Likewise.
20121 * soft-fp/extended.h: Likewise.
20122 * soft-fp/extendsfdf2.c: Likewise.
20123 * soft-fp/extendsftf2.c: Likewise.
20124 * soft-fp/extendxftf2.c: Likewise.
20125 * soft-fp/fixdfdi.c: Likewise.
20126 * soft-fp/fixdfsi.c: Likewise.
20127 * soft-fp/fixdfti.c: Likewise.
20128 * soft-fp/fixsfdi.c: Likewise.
20129 * soft-fp/fixsfsi.c: Likewise.
20130 * soft-fp/fixsfti.c: Likewise.
20131 * soft-fp/fixtfdi.c: Likewise.
20132 * soft-fp/fixtfsi.c: Likewise.
20133 * soft-fp/fixtfti.c: Likewise.
20134 * soft-fp/fixunsdfdi.c: Likewise.
20135 * soft-fp/fixunsdfsi.c: Likewise.
20136 * soft-fp/fixunsdfti.c: Likewise.
20137 * soft-fp/fixunssfdi.c: Likewise.
20138 * soft-fp/fixunssfsi.c: Likewise.
20139 * soft-fp/fixunssfti.c: Likewise.
20140 * soft-fp/fixunstfdi.c: Likewise.
20141 * soft-fp/fixunstfsi.c: Likewise.
20142 * soft-fp/fixunstfti.c: Likewise.
20143 * soft-fp/floatdidf.c: Likewise.
20144 * soft-fp/floatdisf.c: Likewise.
20145 * soft-fp/floatditf.c: Likewise.
20146 * soft-fp/floatsidf.c: Likewise.
20147 * soft-fp/floatsisf.c: Likewise.
20148 * soft-fp/floatsitf.c: Likewise.
20149 * soft-fp/floattidf.c: Likewise.
20150 * soft-fp/floattisf.c: Likewise.
20151 * soft-fp/floattitf.c: Likewise.
20152 * soft-fp/floatundidf.c: Likewise.
20153 * soft-fp/floatundisf.c: Likewise.
20154 * soft-fp/floatunsidf.c: Likewise.
20155 * soft-fp/floatunsisf.c: Likewise.
20156 * soft-fp/floatuntidf.c: Likewise.
20157 * soft-fp/floatuntisf.c: Likewise.
20158 * soft-fp/floatuntitf.c: Likewise.
20159 * soft-fp/fmadf4.c: Likewise.
20160 * soft-fp/fmasf4.c: Likewise.
20161 * soft-fp/fmatf4.c: Likewise.
20162 * soft-fp/gedf2.c: Likewise.
20163 * soft-fp/gesf2.c: Likewise.
20164 * soft-fp/getf2.c: Likewise.
20165 * soft-fp/ledf2.c: Likewise.
20166 * soft-fp/lesf2.c: Likewise.
20167 * soft-fp/letf2.c: Likewise.
20168 * soft-fp/muldf3.c: Likewise.
20169 * soft-fp/mulsf3.c: Likewise.
20170 * soft-fp/multf3.c: Likewise.
20171 * soft-fp/negdf2.c: Likewise.
20172 * soft-fp/negsf2.c: Likewise.
20173 * soft-fp/negtf2.c: Likewise.
20174 * soft-fp/op-1.h: Likewise.
20175 * soft-fp/op-2.h: Likewise.
20176 * soft-fp/op-4.h: Likewise.
20177 * soft-fp/op-8.h: Likewise.
20178 * soft-fp/op-common.h: Likewise.
20179 * soft-fp/quad.h: Likewise.
20180 * soft-fp/single.h: Likewise.
20181 * soft-fp/soft-fp.h: Likewise.
20182 * soft-fp/sqrtdf2.c: Likewise.
20183 * soft-fp/sqrtsf2.c: Likewise.
20184 * soft-fp/sqrttf2.c: Likewise.
20185 * soft-fp/subdf3.c: Likewise.
20186 * soft-fp/subsf3.c: Likewise.
20187 * soft-fp/subtf3.c: Likewise.
20188 * soft-fp/truncdfsf2.c: Likewise.
20189 * soft-fp/trunctfdf2.c: Likewise.
20190 * soft-fp/trunctfsf2.c: Likewise.
20191 * soft-fp/trunctfxf2.c: Likewise.
20192 * soft-fp/unorddf2.c: Likewise.
20193 * soft-fp/unordsf2.c: Likewise.
20194 * soft-fp/unordtf2.c: Likewise.
20196 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20199 * misc/error.c (error_tail): Fix possible buffer overflow.
20201 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20204 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20207 2013-10-14 P. J. McDermott <pj@pehjota.net>
20210 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20211 testing pipefail option.
20213 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20215 * soft-fp/double.h: Indent preprocessor directives inside #if.
20216 * soft-fp/extended.h: Likewise.
20217 * soft-fp/op-2.h: Likewise.
20218 * soft-fp/op-4.h: Likewise.
20219 * soft-fp/op-common.h: Likewise.
20220 * soft-fp/quad.h: Likewise.
20221 * soft-fp/single.h: Likewise.
20222 * soft-fp/soft-fp.h: Likewise.
20224 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20226 * iconv/iconv_prog.c: Fix typos.
20227 * stdio-common/psiginfo-data.h: Likewise.
20229 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20232 * locale/setlocale.c: Fix typo.
20234 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20237 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20238 signaling NaN arguments.
20239 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20240 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20243 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20244 unordered operands.
20245 * soft-fp/gesf2.c (__gesf2): Likewise.
20246 * soft-fp/getf2.c (__getf2): Likewise.
20247 * soft-fp/ledf2.c (__ledf2): Likewise.
20248 * soft-fp/lesf2.c (__lesf2): Likewise.
20249 * soft-fp/letf2.c (__letf2): Likewise.
20251 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20252 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20253 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20254 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20255 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20256 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20257 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20258 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20259 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20260 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20261 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20262 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20263 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20264 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20265 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20266 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20267 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20268 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20269 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20270 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20271 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20272 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20273 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20274 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20275 * soft-fp/floattidf.c (__floattidf): Likewise.
20276 * soft-fp/floattisf.c (__floattisf): Likewise.
20277 * soft-fp/floattitf.c (__floattitf): Likewise.
20278 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20279 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20280 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20281 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20282 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20283 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20284 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20285 * soft-fp/gesf2.c (__gesf2): Likewise.
20286 * soft-fp/getf2.c (__getf2): Likewise.
20287 * soft-fp/ledf2.c (__ledf2): Likewise.
20288 * soft-fp/lesf2.c (__lesf2): Likewise.
20289 * soft-fp/letf2.c (__letf2): Likewise.
20291 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20292 Undefine and redefine.
20293 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20294 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20295 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20296 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20297 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20298 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20299 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20300 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20301 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20302 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20303 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20304 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20305 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20306 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20307 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20310 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20311 without decrementing exponent if mantissa >= that for the
20312 denominator, not >.
20313 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20314 denominator, not >. Decrement exponent in < case instead of
20315 incrementing in >= case.
20316 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20317 without decrementing exponent if mantissa >= that for the
20318 denominator, not >.
20320 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20321 computing saturated result for unsigned overflow.
20323 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20324 Jeff Law <law@redhat.com>
20326 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20327 (atan2Mp): Add systemtap probe marker.
20328 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20329 (__ieee754_log): Add systemtap probe marker.
20330 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20331 (atanMp): Add systemtap probe marker.
20332 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20333 (tanMp): Add systemtap probe marker.
20334 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20335 (__slowexp): Add systemtap probe marker.
20336 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20337 (__slowpow): Add systemtap probe marker.
20338 * manual/probes.texi: Document probes.
20340 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20343 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20345 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20347 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20348 written to buffer but not flushed.
20349 * libio/iofwrite_u.c: Likewise.
20350 * libio/iopadn.c: Return bytes returned even if EOF was
20352 * libio/iowpadn.c: Likewise.
20353 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20354 if _IO_padn does not write the whole buffer.
20355 [!COMPILE_WPRINTF] (PAD): Likewise.
20357 2013-10-10 David S. Miller <davem@davemloft.net>
20359 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20362 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20364 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20365 instead of FSF address.
20366 * soft-fp/fixdfti.c: Likewise.
20367 * soft-fp/fixsfti.c: Likewise.
20368 * soft-fp/fixtfti.c: Likewise.
20369 * soft-fp/fixunsdfti.c: Likewise.
20370 * soft-fp/fixunssfti.c: Likewise.
20371 * soft-fp/fixunstfti.c: Likewise.
20372 * soft-fp/floattidf.c: Likewise.
20373 * soft-fp/floattisf.c: Likewise.
20374 * soft-fp/floattitf.c: Likewise.
20375 * soft-fp/floatuntidf.c: Likewise.
20376 * soft-fp/floatuntisf.c: Likewise.
20377 * soft-fp/floatuntitf.c: Likewise.
20378 * soft-fp/trunctfxf2.c: Likewise.
20380 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20381 * soft-fp/fixdfti.c: Likewise.
20382 * soft-fp/fixsfti.c: Likewise.
20383 * soft-fp/fixtfti.c: Likewise.
20384 * soft-fp/fixunsdfti.c: Likewise.
20385 * soft-fp/fixunssfti.c: Likewise.
20386 * soft-fp/fixunstfti.c: Likewise.
20387 * soft-fp/floattidf.c: Likewise.
20388 * soft-fp/floattisf.c: Likewise.
20389 * soft-fp/floattitf.c: Likewise.
20390 * soft-fp/floatuntidf.c: Likewise.
20391 * soft-fp/floatuntisf.c: Likewise.
20392 * soft-fp/floatuntitf.c: Likewise.
20393 * soft-fp/trunctfxf2.c: Likewise.
20395 2013-10-10 David S. Miller <davem@davemloft.net>
20397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20399 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20401 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20402 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20403 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20404 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20410 for NaNs before doing comparisons on argument.
20411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20414 2013-10-10 Will Newton <will.newton@linaro.org>
20416 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20417 passed to _int_memalign does not overflow.
20419 2013-10-10 Torvald Riegel <triegel@redhat.com>
20421 * scripts/bench.pl: Add include-sources directive.
20422 * benchtests/README: Update documentation.
20424 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20426 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20427 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20428 instead of FP_INIT_ROUNDMODE.
20429 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20430 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20433 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20434 copy class of input value.
20435 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20436 not handle exceptions.
20437 * soft-fp/negsf2.c (__negsf2): Likewise.
20438 * soft-fp/negtf2.c (__negtf2): Likewise.
20439 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20441 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20443 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20444 semicolon. From Linux kernel.
20446 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20448 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20450 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20453 * manual/socket.texi: Added statement about buffer
20454 for gethostbyname2_r.
20456 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20458 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20459 Use .p2align directive instead, throughout.
20460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20461 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20462 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20463 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20464 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20465 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20466 * sysdeps/x86_64/strchr.S: Likewise.
20467 * sysdeps/x86_64/strrchr.S: Likewise.
20469 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20471 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20473 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20475 * sysdeps/generic/math_private.h (__mpsin1): Remove
20477 (__mpcos1): Likewise.
20478 (__mpsin): New argument __range_reduce.
20479 (__mpcos): Likewise.
20480 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20481 (slow): Use __mpsin and __mpcos.
20485 (sloww1): Likewise.
20486 (sloww2): Likewise.
20487 (bsloww): Likewise.
20488 (bsloww1): Likewise.
20489 (bsloww2): Likewise.
20490 (cslow2): Likewise.
20491 (csloww): Likewise.
20492 (csloww1): Likewise.
20493 (csloww2): Likewise.
20494 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20495 range_reduce. Merge in __mpsin1.
20496 (__mpcos): Likewise.
20497 (__mpsin1): Remove.
20498 (__mpcos1): Likewise.
20500 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20502 * locale/loadlocale.c (_nl_intern_locale_data): Use
20504 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20505 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20506 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20507 obstack data is appropriately aligned.
20508 (obstack_int32_grow_fast): Likewise.
20509 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20510 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20511 (add_locale_uint32_array): Likewise.
20513 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20515 * benchtests/Makefile: Remove ARGLIST and RET variables.
20516 ($(objpfx)bench-%.c): Pass only function name to the script.
20517 * benchtests/README: Update documentation.
20518 * benchtests/acos-inputs: Add new directives.
20519 * benchtests/acosh-inputs: Likewise.
20520 * benchtests/asin-inputs: Likewise.
20521 * benchtests/asinh-inputs: Likewise.
20522 * benchtests/atan-inputs: Likewise.
20523 * benchtests/atanh-inputs: Likewise.
20524 * benchtests/cos-inputs: Likewise.
20525 * benchtests/cosh-inputs: Likewise.
20526 * benchtests/exp-inputs: Likewise.
20527 * benchtests/log-inputs: Likewise.
20528 * benchtests/pow-inputs: Likewise.
20529 * benchtests/rint-inputs: Likewise.
20530 * benchtests/sin-inputs: Likewise.
20531 * benchtests/sinh-inputs: Likewise.
20532 * benchtests/tan-inputs: Likewise.
20533 * benchtests/tanh-inputs: Likewise.
20534 * scripts/bench.pl: Add support for new directives.
20536 2013-10-07 Alan Modra <amodra@gmail.com>
20538 * README: Fix careless merge.
20540 2013-10-05 Alan Modra <amodra@gmail.com>
20542 * NEWS: Mention powerpc64le support and bugs fixed.
20543 * README: Both big-endian and little-endian powerpc64 supported.
20545 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20547 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20548 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20549 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20550 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20552 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20554 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20557 2013-10-04 Joseph Myers <joseph@codesourcery.com>
20559 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20560 Move -mhard-float appending from
20561 ports/sysdeps/powerpc/powerpc32/Makefile.
20562 [$(with-fp) = yes] (ASFLAGS): Likewise.
20563 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20564 * sysdeps/powerpc/nofpu: Move directory from
20565 ports/sysdeps/powerpc/nofpu.
20566 * sysdeps/powerpc/soft-fp: Move directory from
20567 ports/sysdeps/powerpc/soft-fp.
20568 * sysdeps/powerpc/powerpc32/405: Move directory from
20569 ports/sysdeps/powerpc/powerpc32/405.
20570 * sysdeps/powerpc/powerpc32/440: Move directory from
20571 ports/sysdeps/powerpc/powerpc32/440.
20572 * sysdeps/powerpc/powerpc32/464: Move directory from
20573 ports/sysdeps/powerpc/powerpc32/464.
20574 * sysdeps/powerpc/powerpc32/476: Move directory from
20575 ports/sysdeps/powerpc/powerpc32/476.
20576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20577 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20579 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20581 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20583 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20585 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20586 * README: Update for powerpc-*-linux-gnu software floating point
20589 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20590 case to powerpc/powerpc32*.
20591 * sysdeps/unix/sysv/linux/configure: Regenerated.
20593 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20594 (_FPU_MASK_OM): Define as 0x04.
20595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20603 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20606 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20609 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20610 and setcontext_e500.
20612 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20614 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20616 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20618 * manual/threads.texi (Default Thread Attributes): Fix typo.
20620 2013-10-04 Will Newton <will.newton@linaro.org>
20622 * malloc/Makefile: Add tst-memalign.
20623 * malloc/tst-memalign.c: New file.
20625 * malloc/tst-posix_memalign.c: Add comments.
20626 (do_test): Add comments and call free on all potentially
20627 allocated pointers. Add space after cast.
20629 * malloc/tst-pvalloc.c: Add comments.
20630 (do_test): Add comments and call free on all potentially
20631 allocated pointers. Remove duplicate check for NULL pointer.
20632 Add space after cast.
20634 * malloc/tst-valloc.c: Add comments.
20635 (do_test): Add comments and call free on all potentially
20636 allocated pointers. Remove duplicate check for NULL pointer.
20637 Add space after cast.
20639 2013-10-04 Alan Modra <amodra@gmail.com>
20641 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20642 Use stdint types in rather than __attribute__((mode())).
20643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20645 2013-10-04 Alan Modra <amodra@gmail.com>
20647 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20648 Correct handling of unaligned relocs for little-endian.
20649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20651 2013-10-04 Alan Modra <amodra@gmail.com>
20653 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20654 * configure: Regenerate.
20655 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20656 * shlib-versions: Likewise.
20658 2013-10-04 Alan Modra <amodra@gmail.com>
20660 * string/tester.c (test_memrchr): Increment reported test cycle.
20662 2013-10-04 Alan Modra <amodra@gmail.com>
20664 * string/test-memcpy.c (do_one_test): When reporting errors, print
20665 string address and don't overrun end of string.
20667 2013-10-04 Alan Modra <amodra@gmail.com>
20669 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20670 insrdi. Make better use of reg selection to speed exit slightly.
20671 Schedule entry path a little better. Remove useless "are we done"
20672 checks on entry to main loop. Handle wrapping around zero address.
20673 Correct main loop count. Handle single left-over word from main
20674 loop inline rather than by using loop_small. Remove extra word
20675 case in loop_small caused by wrong loop count. Add little-endian
20677 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20680 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20681 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20682 support. Avoid rlwimi.
20683 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20685 2013-10-04 Alan Modra <amodra@gmail.com>
20687 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20688 insrdi. Formatting.
20689 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20690 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20691 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20692 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20693 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20694 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20696 2013-10-04 Alan Modra <amodra@gmail.com>
20698 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20700 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20701 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20702 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20703 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20704 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20705 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20706 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20707 use of regs. Use power7 mtocrf. Tidy function tails.
20709 2013-10-04 Alan Modra <amodra@gmail.com>
20711 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20712 Formatting. Consistently use rXXX register defines or rN defines.
20713 Use early exit labels that avoid restoring unused non-volatile regs.
20714 Make cr field use more consistent with rWORDn compares. Rename
20715 regs used as shift registers for unaligned loop, using rN defines
20716 for short lifetime/multiple use regs.
20717 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20718 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20719 addi 1,1,64 to pop stack frame. Simplify return value code.
20720 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20722 2013-10-04 Alan Modra <amodra@gmail.com>
20724 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20725 support. Correct typos, formatting. Optimize tail. Use insrdi
20726 rather than rlwimi.
20727 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20728 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20729 little-endian support. Correct typos.
20730 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20731 rather than rlwimi.
20732 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20733 in loop and entry code to keep "and." results.
20734 (strchr): Add little-endian support. Comment. Move cntlzd
20736 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20738 2013-10-04 Alan Modra <amodra@gmail.com>
20740 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20741 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20742 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20743 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20745 2013-10-04 Alan Modra <amodra@gmail.com>
20747 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20748 (rTMP): Define as r11.
20749 (strcmp): Add little-endian support. Optimise tail.
20750 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20752 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20753 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20754 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20755 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20758 2013-10-04 Alan Modra <amodra@gmail.com>
20760 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20761 little-endian support. Remove unnecessary "are we done" tests.
20762 Handle "s" wrapping around zero and extremely large "size".
20763 Correct main loop count. Handle single left-over word from main
20764 loop inline rather than by using small_loop. Correct comments.
20765 Delete "zero" tail, use "end_max" instead.
20766 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20768 2013-10-04 Alan Modra <amodra@gmail.com>
20770 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20771 support. Don't branch over align.
20772 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20773 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20774 support. Rearrange tmp reg use to suit. Comment.
20775 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20777 2013-10-04 Alan Modra <amodra@gmail.com>
20779 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20781 2013-10-04 Alan Modra <amodra@gmail.com>
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20784 conditional form of branch and link when obtaining pc.
20785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20787 2013-10-04 Alan Modra <amodra@gmail.com>
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20794 2013-10-04 Alan Modra <amodra@gmail.com>
20796 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20797 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20798 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20799 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20801 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20802 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20803 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20804 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20805 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20807 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20808 Alistair Popple <alistair@ozlabs.au.ibm.com>
20809 Alan Modra <amodra@gmail.com>
20812 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20813 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20814 _dl_hwcap access for little-endian.
20815 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20816 destroy vmx regs when saving unaligned.
20817 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20818 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20819 destroy vmx regs when saving unaligned.
20821 2013-10-04 Alan Modra <amodra@gmail.com>
20823 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20824 Don't use a union to pack hi/low value.
20826 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20828 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20830 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20831 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20832 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20833 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20834 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20836 2013-10-04 Alan Modra <amodra@gmail.com>
20838 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20839 constants to usual value for .cst8 section, and remove redundant
20841 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20842 constant for 0x1p52. Load little-endian words of double from
20843 correct stack offsets.
20845 2013-10-04 Alan Modra <amodra@gmail.com>
20847 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20848 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20849 words of double from correct stack offsets.
20850 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20851 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20852 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20853 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20856 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20857 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20858 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20859 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20860 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20861 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20862 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20863 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20864 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20865 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20866 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20868 2013-10-04 Alan Modra <amodra@gmail.com>
20870 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20871 64-bit int/double union.
20872 (_FPU_SETCW): Likewise.
20873 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20874 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20876 2013-10-04 Alan Modra <amodra@gmail.com>
20878 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20879 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20881 2013-10-04 Alan Modra <amodra@gmail.com>
20883 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20884 use vector int constants.
20885 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20887 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20889 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20890 array with long long.
20891 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20892 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20893 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20894 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20895 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20896 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20897 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20898 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20899 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20900 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20901 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20902 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20903 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20905 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20907 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20908 (__signbit): Likewise. Correct for little-endian.
20909 (__signbitl): Call __signbit.
20910 (lrint): Correct for little-endian.
20911 (lrintf): Call lrint.
20913 2013-10-04 Alan Modra <amodra@gmail.com>
20915 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20916 union 32-bit int array member with 64-bit int array.
20917 (t515, tm256): Double rather than long double.
20918 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20920 2013-10-04 Alan Modra <amodra@gmail.com>
20922 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20924 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20926 version of math_ldbl.h.
20928 2013-10-04 Alan Modra <amodra@gmail.com>
20930 [BZ #15734], [BZ #15735]
20931 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20932 all uses of ieee875 long double macros and unions. Simplify test
20933 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20934 ldbl_extract_mantissa value for ix,iy exponents. Properly
20935 normalize after ldbl_extract_mantissa, and don't add hidden bit
20936 already handled. Don't treat low word of ieee854 mantissa like
20937 low word of IBM long double and mask off bit when testing for
20939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20940 all uses of ieee875 long double macros and unions. Simplify tests
20941 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20942 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20943 two1022, instead use their values. Recognise that tests for large
20944 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20945 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20946 Rewrite all uses of ieee875 long double macros and unions. Simplify
20947 test for 0.0L and nan. Correct negation.
20948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20949 ieee875 long double macros and unions. Correct output for large
20950 magnitude x. Correct absolute value calculation.
20951 (__erfcl): Likewise.
20952 * math/libm-test.inc: Add tests for errors discovered in IBM long
20953 double versions of fmodl, remainderl, erfl and erfcl.
20955 2013-10-04 Alan Modra <amodra@gmail.com>
20957 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20958 all uses of ieee854 long double macros and unions. Simplify tests
20959 for long doubles that are fully specified by the high double.
20960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20962 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20963 Remove dead code too.
20964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20965 (__ieee754_ynl): Likewise.
20966 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20967 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20969 Remove dead code too.
20970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20972 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20973 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20975 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20977 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20978 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20979 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20980 Comment on variable precision.
20981 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20982 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20984 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20985 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20986 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20987 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20988 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20990 2013-10-04 Alan Modra <amodra@gmail.com>
20992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20993 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20994 all uses of ieee854 long double macros and unions.
20995 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21002 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21008 Simplify sign and nan test too.
21009 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21014 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21024 2013-10-04 Alan Modra <amodra@gmail.com>
21026 * stdio-common/printf_size.c (__printf_size): Don't use
21027 union ieee854_long_double in fpnum union.
21028 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21029 signbit macro to retrieve sign from long double.
21030 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21031 retrieve sign from long double.
21032 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21033 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21035 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21036 * math/test-misc.c (main): Don't use union ieee854_long_double.
21038 2013-10-04 Alan Modra <amodra@gmail.com>
21041 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21042 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21043 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21044 calculation. Remove unnecessary test for denormal exponent.
21045 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21046 Correct handling of denormals. Avoid undefined shift behaviour.
21047 Correct normalisation of low mantissa when low double is denormal.
21048 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21049 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21050 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21051 Correct normalisation of low mantissa. Test for overflow of high
21052 mantissa and normalise.
21053 (ldbl_nearbyint): Use more readable constant for two52.
21054 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21055 (__mpn_construct_long_double): Fix test for overflow of high
21056 mantissa and correct normalisation. Avoid undefined shift.
21058 2013-10-04 Alan Modra <amodra@gmail.com>
21060 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21061 (union ibm_extended_long_double): Define as an array of ieee754_double.
21062 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21063 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21064 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21065 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21066 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21069 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21072 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21074 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21076 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21077 page size instead of calling getpagesize.
21079 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21080 (LOCFILE_ALIGN_MASK): Likewise.
21081 (LOCFILE_ALIGN_UP): Likewise.
21082 (LOCFILE_ALIGNED_P): Likewise.
21083 * locale/programs/ld-collate.c (collate_output): Use the new
21084 macros instead of __alignof__ (int32_t).
21085 * locale/weight.h (findidx): Likewise.
21087 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21090 * manual/string.texi: Fix strncat and wcsncat.
21092 2013-10-03 Brooks Moses <bmoses@google.com>
21095 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21096 * Makerules: ...here, and adjust associated comments.
21098 2013-10-02 Will Newton <will.newton@linaro.org>
21100 * malloc/Makefile: Add tst-pvalloc.
21101 * malloc/tst-pvalloc.c: New file.
21103 2013-10-02 Will Newton <will.newton@linaro.org>
21105 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21106 improve test coverage.
21108 2013-10-02 Will Newton <will.newton@linaro.org>
21110 * malloc/Makefile: Add tst-posix_memalign.
21111 * malloc/tst-posix_memalign.c: New file.
21113 2013-10-01 Eric Blake <eblake@redhat.com>
21115 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21116 Use __THROWNL rather than __THROW on static functions.
21118 2013-09-30 Petr Machata <pmachata@redhat.com>
21120 * elf/elf.h (R_AARCH64_ABS16): New macro.
21121 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21122 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21123 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21124 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21125 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21126 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21127 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21128 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21129 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21130 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21131 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21132 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21133 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21134 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21135 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21136 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21137 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21138 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21139 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21140 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21141 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21142 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21143 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21144 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21145 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21146 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21147 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21148 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21149 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21150 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21151 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21152 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21153 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21154 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21155 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21156 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21157 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21158 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21159 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21160 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21161 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21162 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21163 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21164 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21165 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21166 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21167 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21168 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21169 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21170 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21171 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21172 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21173 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21174 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21175 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21176 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21177 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21178 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21179 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21180 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21181 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21182 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21183 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21184 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21185 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21186 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21187 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21188 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21189 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21190 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21191 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21192 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21193 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21194 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21195 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21196 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21197 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21198 (R_AARCH64_TLSDESC_LDR): Likewise.
21199 (R_AARCH64_TLSDESC_ADD): Likewise.
21200 (R_AARCH64_TLSDESC_CALL): Likewise.
21202 2013-09-30 Andreas Schwab <schwab@suse.de>
21205 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21206 the nss database lookup.
21207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21210 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21212 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21214 2013-09-28 P. J. McDermott <pj@pehjota.net>
21216 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21217 ${Bash-specific parameter/pattern/string} parameter expansion.
21218 * sysdeps/unix/make-syscalls.sh: Likewise.
21220 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21222 * sysdeps/sh/stackguard-macros.h: New file.
21224 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21228 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21229 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21230 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21231 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21233 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21235 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21236 Fix thread ID register.
21238 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21240 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21241 [POSIX || UNIX98]: Require rather than permitting all symbols from
21243 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21244 element of struct sched_param.
21245 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21246 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21247 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21248 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21251 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21253 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21254 argument calculation.
21256 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21258 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21260 [POSIX] (pthread_attr_t): Do not require type.
21261 [POSIX] (pthread_cond_t): Likewise.
21262 [POSIX] (pthread_condattr_t): Likewise.
21263 [POSIX] (pthread_key_t): Likewise.
21264 [POSIX] (pthread_mutex_t): Likewise.
21265 [POSIX] (pthread_mutexattr_t): Likewise.
21266 [POSIX] (pthread_once_t): Likewise.
21267 [POSIX] (pthread_t): Likewise.
21268 [POSIX-based standards] (pthread_atfork): Expect function.
21270 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21271 Richard Sandiford <richard@codesourcery.com>
21273 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21274 (swap_endianness_p): New extern variable.
21275 (set_big_endian): New inline function.
21276 (maybe_swap_uint32): Likewise.
21277 (maybe_swap_uint32_array): Likewise.
21278 (maybe_swap_uint32_obstack): Likewise.
21279 * locale/programs/locfile.c: Include <stdbool.h>.
21280 (swap_endianness_p): New variable.
21281 (add_locale_uint32): Call maybe_swap_uint32.
21282 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21283 (write_locale_data): Call maybe_swap_uint32_array.
21284 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21286 (obstack_int32_grow_fast): Likewise.
21287 (output_weightwc): Call maybe_swap_uint32_obstack.
21288 (collate_output): Likewise.
21289 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21290 (OPT_LITTLE_ENDIAN): Likewise.
21291 (options): Add --little-endian and --big-endian options.
21292 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21293 * locale/programs/locarchive.c: Include "locfile.h".
21297 (create_archive): Use the new macros to access fields of
21298 structures directly mapped from or written to locale archives.
21299 (oldlocrecentcmp): Likewise.
21300 (enlarge_archive): Likewise.
21301 (insert_name): Likewise.
21302 (add_alias): Likewise.
21303 (add_locale): Likewise.
21304 (delete_locales_from_archive): Likewise.
21305 (show_archive_content): Likewise.
21306 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21309 2013-09-24 Roland McGrath <roland@hack.frob.com>
21311 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21312 http://www.gnu.org/doc/freemanuals.texi.
21313 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21315 2013-09-24 Will Newton <will.newton@linaro.org>
21317 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21320 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21322 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21325 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21327 * manual/threads.texi (POSIX Threads): Fix a typo.
21329 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21332 * string/tst-strcoll-overflow.c: New test case.
21333 * string/Makefile (xtests): Add tst-strcoll-overflow.
21334 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21335 cache if string sizes may cause integer overflow.
21338 * string/strcoll_l.c (coll_seq): New members rule, idx,
21339 save_idx and back_us.
21340 (get_next_seq_nocache): New function.
21341 (do_compare_nocache): New function.
21342 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21345 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21348 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21349 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21350 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21353 * elf/Makefile (tests): Add tst-ptrguard1.
21354 (tests-static): Add tst-ptrguard1-static.
21355 (tst-ptrguard1-ARGS): Define.
21356 (tst-ptrguard1-static-ARGS): Define.
21357 * elf/tst-ptrguard1.c: New file.
21358 * elf/tst-ptrguard1-static.c: New file.
21359 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21360 * sysdeps/i386/stackguard-macros.h: Likewise.
21361 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21362 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21363 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21364 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21365 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21366 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21368 2013-09-23 Hector Marco <hecmargi@upv.es>
21369 Ismael Ripoll <iripoll@disca.upv.es>
21370 Carlos O'Donell <carlos@redhat.com>
21373 * sysdeps/generic/stackguard-macros.h: Define
21374 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21375 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21376 Define __pointer_chk_guard_local.
21377 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21378 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21380 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21383 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21385 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21387 * include/string.h (__ffs): Declare as hidden.
21388 * string/ffs.c (__ffs): Define as hidden.
21389 * sysdeps/i386/ffs.c (__ffs): Likewise.
21390 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21391 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21392 * sysdeps/s390/ffs.c (__ffs): Likewise.
21393 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21395 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21397 * NEWS: Mention malloc probes.
21399 * malloc/arena.c (new_heap): New memory_heap_new probe.
21400 (grow_heap): New memory_heap_more probe.
21401 (shrink_heap): New memory_heap_less probe.
21402 (heap_trim): New memory_heap_free probe.
21403 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21404 (systrim): New memory_sbrk_less probe.
21405 * manual/probes.texi: Document them.
21407 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21408 * manual/probes.texi: Document it.
21410 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21411 (__libc_realloc): Add memory_realloc_retry probe.
21412 (__libc_memalign): Add memory_memalign_retry probe.
21413 (__libc_valloc): Add memory_valloc_retry probe.
21414 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21415 (__libc_calloc): Add memory_calloc_retry probe.
21416 * manual/probes.texi: Document them.
21418 * malloc/arena.c (get_free_list): Add probe
21419 memory_arena_reuse_free_list.
21420 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21421 and memory_arena_reuse.
21422 (arena_get2) [!PER_THREAD]: Likewise.
21423 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21424 memory_arena_reuse_realloc.
21425 * manual/probes.texi: Document them.
21427 * malloc/malloc.c (__libc_free): Add
21428 memory_mallopt_free_dyn_thresholds probe.
21429 (__libc_mallopt): Add multiple memory_mallopt probes.
21430 * manual/probes.texi: Document them.
21432 * malloc/malloc.c: Include stap-probe.h.
21433 (__libc_mallopt): Add memory_mallopt probe.
21434 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21435 * manual/probes.texi: New.
21436 * manual/Makefile (chapters): Add probes.
21437 * manual/threads.texi: Set next node.
21439 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21441 [BZ #15963, #13985]
21442 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21443 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21444 Add `Chinese' to `nan' entry name.
21446 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21448 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21449 (POLYNOMIAL): Likewise.
21450 (TAYLOR_SINCOS): Likewise.
21451 (TAYLOR_SLOW): Likewise.
21452 (__sin): Use TAYLOR_SINCOS.
21454 (slow): Use TAYLOR_SLOW.
21456 (bsloww): Likewise.
21457 (csloww): Likewise.
21459 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21461 * stdlib/strtod_l.c: Fix buffer overrun.
21463 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21465 * benchtests/Makefile (bench): Add sincos.
21466 * benchtests/bench-sincos.c: New file.
21468 * math/libm-test.inc (cos_test_data): New test inputs.
21469 (sin_test_data): Likewise.
21471 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21477 (sloww1): Likewise.
21478 (sloww2): Likewise.
21479 (bsloww1): Likewise.
21480 (bsloww2): Likewise.
21481 (cslow2): Likewise.
21482 (csloww1): Likewise.
21483 (csloww2): Likewise.
21485 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21494 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21496 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21497 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21498 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21499 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21500 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21501 * elf/cache.c (print_entry): Handle the new cache flags.
21503 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21504 Aldy Hernandez <aldyh@redhat.com>
21506 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21507 Change condition to [_SOFT_FLOAT].
21508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21520 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21523 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21526 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21528 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21529 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21530 (__longjmp): Use LOAD_GP to load saved GPRs.
21531 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21532 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21533 (__sigsetjmp): Use SAVE_GP to save GPRs.
21535 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21536 Do not append -msoft-float.
21537 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21539 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21541 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21543 2013-09-17 Joseph Myers <joseph@codesourcery.com>
21546 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21547 (_FPU_GETCW): Use initial "__" on variable and field names but not
21548 on macro parameter name.
21549 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21550 parentheses around reference to macro parameter.
21552 2013-09-13 Richard Sandiford <richard@codesourcery.com>
21554 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21556 (ctype_startup): Use uint32_t in cast and sizeof for
21559 2013-09-11 Jia Liu <proljc@gmail.com>
21561 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21563 [__FreeBSD__]: Likewise.
21565 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
21567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21568 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21569 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21570 (strchr): Remove __strchr_sse42 ifunc selection.
21571 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21572 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21574 2013-09-11 Will Newton <will.newton@linaro.org>
21576 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21577 parameter to RES. Remove hardcoded 1000 value.
21578 * benchtests/bench-skeleton.c (main): Pass RES parameter
21579 to TIMING_INIT and multiply result by 1000.
21581 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21585 2013-09-11 Andreas Schwab <schwab@suse.de>
21587 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21589 (O_TMPFILE) [__USE_GNU]: Define.
21590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21593 2013-09-11 Will Newton <will.newton@linaro.org>
21596 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21599 2013-09-11 Will Newton <will.newton@linaro.org>
21602 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21605 2013-09-11 Will Newton <will.newton@linaro.org>
21608 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21611 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
21613 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21614 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21619 2013-09-10 Allan McRae <allan@archlinux.org>
21622 * manual/arith.texi (Parsing of Floats): Clarify
21626 * manual/install.texi (Running make install): Mention
21628 * INSTALL: Regenerated.
21630 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21632 * csu/init-first.c (_init): Remove the !SHARED condition around
21633 FPU control word initialization.
21634 * elf/dl-support.c (_dl_fpu_control): New variable.
21635 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21636 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21637 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21638 * math/test-fpucw-static.c: New file.
21639 * math/test-fpucw-ieee.c: New file.
21640 * math/test-fpucw-ieee-static.c: New file.
21641 * math/Makefile (tests): Add `test-fpucw-ieee' and
21643 (tests-static): New variable.
21644 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21646 [($(build-shared),yes)]
21647 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21649 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21652 2013-09-09 Allan McRae <allan@archlinux.org>
21655 * manual/string.texi (Collation Functions): Fix typo in
21657 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21660 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21663 * libio/memstream.c (open_memstream): Fix memory leak.
21664 * libio/wmemstream.c (open_wmemstream): Likewise.
21667 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21669 2013-09-09 Will Newton <will.newton@linaro.org>
21671 * malloc/Makefile: Add tst-realloc to tests.
21672 * malloc/tst-realloc.c: New file.
21674 2013-09-09 Allan McRae <allan@archlinux.org>
21677 * COPYING: Update from GNU website to fix FSF address.
21678 * COPYING.LIB: Likewise.
21680 2013-09-06 David S. Miller <davem@davemloft.net>
21682 * po/zh_TW.po: Update Chinese (traditional) translation from
21683 translation project.
21685 2013-09-06 Richard Sandiford <richard@codesourcery.com>
21686 Joseph Myers <joseph@codesourcery.com>
21688 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21690 (obstack_chunk_alloc): New macro.
21691 (obstack_chunk_free): Likewise.
21692 (record_offset): New function.
21693 (init_locale_data): Likewise.
21694 (align_locale_data): Likewise.
21695 (add_locale_empty): Likewise.
21696 (add_locale_raw_data): Likewise.
21697 (add_locale_raw_obstack): Likewise.
21698 (add_locale_string): Likewise.
21699 (add_locale_wstring): Likewise.
21700 (add_locale_uint32): Likewise.
21701 (add_locale_uint32_array): Likewise.
21702 (add_locale_char): Likewise.
21703 (start_locale_structure): Likewise.
21704 (end_locale_structure): Likewise.
21705 (start_locale_prelude): Likewise.
21706 (end_locale_prelude): Likewise.
21707 (write_locale_data): Take locale_file structure rather than an
21709 * locale/programs/locfile.h: Include "obstack.h".
21710 (struct locale_file): Change to store locale file contents instead
21712 (init_locale_data): New prototype.
21713 (align_locale_data): Likewise.
21714 (add_locale_empty): Likewise.
21715 (add_locale_raw_data): Likewise.
21716 (add_locale_raw_obstack): Likewise.
21717 (add_locale_string): Likewise.
21718 (add_locale_wstring): Likewise.
21719 (add_locale_uint32): Likewise.
21720 (add_locale_uint32_array): Likewise.
21721 (add_locale_char): Likewise.
21722 (start_locale_structure): Likewise.
21723 (end_locale_structure): Likewise.
21724 (start_locale_prelude): Likewise.
21725 (end_locale_prelude): Likewise.
21726 (write_locale_data): Update prototype.
21727 * locale/programs/3level.h (struct TABLE): Remove result field.
21728 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21729 Use new locale_file interface.
21730 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21731 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21732 * locale/programs/ld-address.c (address_output): Use new
21733 locale_file interface.
21734 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21736 (collate_finish): Don't call collseq_table_finalize.
21737 (collate_output): Use new locale_file interface.
21738 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21740 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21741 (TABLE): Move defines earlier in file.
21742 (ELEMENT): Likewise.
21743 (DEFAULT): Likewise.
21744 (wctrans_table_add): Move macro and inline function earlier in
21746 (struct wctype_table): Move type earlier in file.
21747 (add_locale_wctype_table): New static prototype.
21748 (struct locale_ctype_t): Use logical types instead of struct iovec
21749 pointers for members.
21750 (ctype_output): Use new locale_file interface.
21751 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21752 new locale_file interface.
21753 (allocate_arrays): Update for use of new locale_file interface.
21754 * locale/programs/ld-identification.c (identification_output): Use
21755 new locale_file interface.
21756 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21757 * locale/programs/ld-messages.c (messages_output): Likewise.
21758 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21759 * locale/programs/ld-name.c (name_output): Likewise.
21760 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21761 * locale/programs/ld-paper.c (paper_output): Likewise.
21762 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21763 * locale/programs/ld-time.c (time_output): Likewise.
21765 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21767 * benchtests/Makefile: Add memrchr benchmark.
21768 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21769 benchmark as memrchr.
21770 * benchtests/bench-memrchr-ifunc.c: New file.
21771 * benchtests/bench-memrchr.c: New file.
21773 2013-09-06 Will Newton <will.newton@linaro.org>
21775 * benchtests/Makefile (string-bench): Add memcpy.
21777 2013-09-05 Carlos O'Donell <carlos@redhat.com>
21778 Cong Wang <amwang@redhat.com>
21781 * sysdeps/unix/sysv/linux/bits/in.h
21782 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21783 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21784 before __USE_KERNEL_IPV6_DEFS uses.
21785 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21787 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21788 sockaddr_in6, or ipv6_mreq.
21790 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21792 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21793 memory access for final bytes in some large inputs.
21794 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21796 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21798 * string/test-memrchr.c: New file.
21799 * string/test-memrchr-ifunc.c: New file.
21800 * string/Makefile: Add new memrchr testcase.
21802 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21804 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21805 fanotify_init returns EPERM.
21807 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21809 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21811 (top level): Treat second token from macro or constant entries for
21812 allowed headers as allowed.
21813 * include/complex.h: Condition internal declarations on
21815 * include/fenv.h: Condition include of <stdbool.h> and internal
21816 declarations on [!_ISOMAC].
21818 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21821 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21823 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21825 * configure.in (--enable-versioning): Remove configure option.
21826 (libc_cv_asm_symver_directive): Remove configure test.
21827 (libc_cv_ld_version_script_option): Likewise.
21828 (VERSIONING): Remove variable and AC_SUBST.
21829 (DO_VERSIONING): Remove AC_DEFINE.
21830 * configure: Regenerated.
21831 * config.h.in (DO_VERSIONING): Remove macro.
21832 * Makerules [$(versioning) = yes]: Change conditionals to
21833 [$(build-shared) = yes].
21834 * config.make.in (versioning): Remove variable.
21835 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21836 [$(build-shared) = yes].
21837 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21838 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21839 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21840 [$(build-shared) = yes].
21841 * extra-lib.mk [$(versioning) = yes]: Likewise.
21842 * hurd/Makefile [$(versioning) = yes]: Likewise.
21843 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21845 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21847 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21848 [SHARED && !NO_HIDDEN].
21849 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21851 [SHARED && DO_VERSIONING]: Likewise..
21852 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21853 [$(build-shared) = yes].
21854 * manual/install.texi (--disable-versioning): Remove
21856 * INSTALL: Regenerated.
21857 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21859 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21860 [$(build-shared) = yes].
21861 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21862 * sysdeps/i386/i686/multiarch/strstr-c.c
21863 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21864 [SHARED && !NO_HIDDEN].
21865 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21866 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21867 * sysdeps/powerpc/powerpc32/dl-machine.c
21868 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21869 * sysdeps/powerpc/powerpc32/sysdep.h
21870 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21871 to [SHARED && PIC && !NO_HIDDEN].
21872 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21873 conditional to [SHARED].
21875 2013-09-04 Will Newton <will.newton@linaro.org>
21877 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21878 * benchtests/bench-string.h: Include bench-timing.h instead
21879 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21880 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21881 call to HP_TIMING_DIFF_INIT.
21882 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21883 instead of hp-timing.h macros.
21884 * benchtests/bench-memchr.c: Likewise.
21885 * benchtests/bench-memcmp.c: Likewise.
21886 * benchtests/bench-memcpy.c: Likewise.
21887 * benchtests/bench-memmem.c: Likewise.
21888 * benchtests/bench-memmove.c: Likewise.
21889 * benchtests/bench-memset.c: Likewise.
21890 * benchtests/bench-rawmemchr.c: Likewise.
21891 * benchtests/bench-strcasecmp.c: Likewise.
21892 * benchtests/bench-strcasestr.c: Likewise.
21893 * benchtests/bench-strcat.c: Likewise.
21894 * benchtests/bench-strchr.c: Likewise.
21895 * benchtests/bench-strcmp.c: Likewise.
21896 * benchtests/bench-strcpy.c: Likewise.
21897 * benchtests/bench-strcpy_chk.c: Likewise.
21898 * benchtests/bench-strlen.c: Likewise.
21899 * benchtests/bench-strncasecmp.c: Likewise.
21900 * benchtests/bench-strncat.c: Likewise.
21901 * benchtests/bench-strncmp.c: Likewise.
21902 * benchtests/bench-strncpy.c: Likewise.
21903 * benchtests/bench-strnlen.c: Likewise.
21904 * benchtests/bench-strpbrk.c: Likewise.
21905 * benchtests/bench-strrchr.c: Likewise.
21906 * benchtests/bench-strspn.c: Likewise.
21907 * benchtests/bench-strstr.c: Likewise.
21909 2013-09-04 Will Newton <will.newton@linaro.org>
21911 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21913 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21916 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21917 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21918 * math/libm-test.inc (lgamma_test_data): Add more tests.
21919 * sysdeps/i386/fpu/libm-test-ulps: Update.
21920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21922 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21924 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21928 Add strcmp-sse2-unaligned
21929 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21931 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21933 * Versions.def (libc): Add GLIBC_2.19.
21935 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21937 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21938 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21940 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21943 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21944 intermediate calculations in recurrence.
21945 (__ieee754_ynf): Likewise.
21946 * math/libm-test.inc (jn_test_data): Do not allow spurious
21947 underflow exception. Add more tests.
21948 (yn_test_data): Add more tests.
21949 * sysdeps/i386/fpu/libm-test-ulps: Update.
21950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21952 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21956 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21958 * csu/init-first.c: Fix then/than typos.
21959 * locale/programs/ld-collate.c: Likewise.
21960 * locale/programs/linereader.h: Likewise.
21961 * manual/charset.texi: Likewise.
21962 * manual/filesys.texi: Likewise.
21963 * manual/stdio.texi: Likewise.
21964 * manual/string.texi: Likewise.
21965 * stdlib/fmtmsg.c: Likewise.
21966 * sysdeps/i386/stpncpy.S: Likewise.
21967 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21968 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21970 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21972 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21974 * elf/dl-open.c: Fix typos.
21975 * iconvdata/gbbig5.c: Likewise.
21976 * iconvdata/iso-2022-jp.c: Likewise.
21977 * iconv/gconv_int.h: Likewise.
21978 * iconv/loop.c: Likewise.
21979 * nis/rpcsvc/nis.h: Likewise.
21980 * resolv/ns_name.c: Likewise.
21981 * stdio-common/vfscanf.c: Likewise.
21982 * streams/stropts.h: Likewise.
21983 * sunrpc/rpc_thread.c: Likewise.
21984 * sysdeps/i386/strpbrk.S: Likewise.
21985 * sysdeps/ieee754/k_standard.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21988 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21989 * sysdeps/mach/hurd/profil.c: Likewise.
21990 * sysdeps/s390/dl-procinfo.h: Likewise.
21991 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21992 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21993 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21994 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21995 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21997 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21999 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22002 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22004 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22005 aix specific files.
22006 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22007 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22008 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22009 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22010 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22011 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22012 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22013 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22015 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22016 Roland McGrath <roland@hack.frob.com>
22018 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22019 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22021 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22023 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22024 __executable_start symbol instead of _start.
22026 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22028 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22029 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22031 * sysdeps/gnu/ldsodefs.h: ... this new file.
22033 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22034 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22035 instead of ELFOSABI_LINUX.
22037 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22038 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22039 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22040 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22042 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22043 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22044 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22046 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22047 (ibm_extended_long_double): Add ieee_nan member.
22048 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22049 (do_test): New function.
22051 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22053 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22054 functions, renamed from truncdfsf_test, trunctfsf_test,
22056 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22058 (do_test): Run all these.
22060 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22062 * argp/argp-help.c: Fix typos.
22063 * argp/argp-parse.c: Likewise.
22064 * debug/backtracesyms.c: Likewise.
22065 * elf/elf.h: Likewise.
22066 * malloc/malloc.c: Likewise.
22067 * nis/nis_print.c: Likewise.
22068 * resolv/res_comp.c: Likewise.
22069 * stdlib/stdlib.h: Likewise.
22070 * sunrpc/clnt_tcp.c: Likewise.
22071 * sunrpc/clnt_udp.c: Likewise.
22072 * sunrpc/clnt_unix.c: Likewise.
22073 * sysdeps/unix/bsd/ptsname.c: Likewise.
22074 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22075 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22082 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22084 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22086 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22089 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22092 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22093 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22094 ($(objpfx)bug-dl-leaf): New rule.
22095 ($(objpfx)bug-dl-leaf.so): Likewise.
22096 ($(objpfx)bug-dl-leaf.out): Likewise.
22097 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22098 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22099 * dlfcn/bug-dl-leaf.c: New test.
22100 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22101 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22102 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22103 (dlclose): Likewise.
22104 (dlmopen): Likewise.
22106 2013-08-27 Roland McGrath <roland@hack.frob.com>
22108 * include/netdb.h [!_ISOMAC]:
22109 Don't include <tls.h>.
22110 (h_errno, __libc_h_errno): Move declaration and macros out of
22113 * include/resolv.h [_RESOLV_H_]:
22114 Don't include <tls.h>.
22115 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22116 * resolv/res_libc.c: Don't include <tls.h>.
22117 (_res): Use __attribute__ ((nocommon)) in place of
22118 __attribute__ ((section (".bss"))).
22120 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22121 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22123 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22125 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22126 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22128 * resolv/res_mkquery.c: Include <sys/time.h>.
22130 * inet/ifreq.c: Moved to ...
22131 * sysdeps/unix/ifreq.c: ... here.
22132 * inet/ifreq.c: New file, true stub version.
22134 * socket/sa_len.c: New file.
22135 * socket/Makefile (aux): Add it.
22136 * sysdeps/unix/sysv/linux/Makefile
22137 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22138 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22139 and #include <socket/sa_len.c>.
22140 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22141 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22143 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22144 * bits/socket.h: ... here.
22146 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22147 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22148 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22150 2013-08-27 Andreas Schwab <schwab@suse.de>
22153 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22154 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22155 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22156 * string/test-strcasecmp.c (test_main): Run tests in several
22158 * string/test-strncasecmp.c (test_main): Likewise.
22160 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22161 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22162 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22164 (__strncasecmp_ssse3) [PIC]: Likewise.
22166 2013-08-26 Roland McGrath <roland@hack.frob.com>
22168 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22170 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22171 instead of explicitly declaring xdecrypt.
22172 * nis/nss_nis/nis-publickey.c: Likewise.
22174 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22177 * nscd/aicache.c: Include res_hconf.h.
22178 (addhstaiX): Initialize res_hconf.
22180 2013-08-26 Andreas Schwab <schwab@suse.de>
22182 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22183 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22185 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22187 * nscd/aicache.c (addhstaiX): Fix indentation.
22189 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22191 * configure.ac: Quote $build_pt_chown test.
22192 * configure: Regenerated.
22194 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22197 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22198 * math/s_cexpf.c (__cexpf): Likewise.
22199 * math/s_cexpl.c (__cexpl): Likewise.
22200 * math/libm-test.inc (cexp_test_data): Correct expected return
22201 value for NaN + i0. Add another test.
22203 2013-08-22 David S. Miller <davem@davemloft.net>
22205 * po/ca.po: Update Catalan translation from translation project.
22206 * po/uk.po: Add Ukrainian translations from translation project.
22208 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22211 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22212 is infinite, not alongside NaN test.
22213 * math/s_fdimf.c (__fdimf): Likewise.
22214 * math/s_fdiml.c (__fdiml): Likewise.
22215 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22216 errno is unchanged.
22218 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22220 * argp/argp-help.c: Fix typos.
22221 * crypt/speeds.c: Likewise.
22222 * csu/check_fds.c: Likewise.
22223 * elf/dl-load.c: Likewise.
22224 * elf/dl-open.c: Likewise.
22225 * elf/reldep3.c: Likewise.
22226 * elf/reldep.c: Likewise.
22227 * elf/sprof.c: Likewise.
22228 * iconv/iconv_charmap.c: Likewise.
22229 * iconv/skeleton.c: Likewise.
22230 * iconv/strtab.c: Likewise.
22231 * io/lockf64.c: Likewise.
22232 * libio/libioP.h: Likewise.
22233 * resolv/gai_notify.c: Likewise.
22234 * resolv/ns_name.c: Likewise.
22235 * resolv/ns_samedomain.c: Likewise.
22236 * resolv/res_send.c: Likewise.
22237 * stdlib/random.c: Likewise.
22238 * sunrpc/rpc/xdr.h: Likewise.
22239 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22240 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22241 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22242 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22243 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22244 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22246 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22247 * sysdeps/mach/hurd/check_fds.c: Likewise.
22248 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22249 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22250 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22251 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22252 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22253 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22254 * sysdeps/pthread/aio_notify.c: Likewise.
22255 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22256 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22257 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22258 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22259 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22261 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22263 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22264 version if bit_Slow_SSE4_2 is set.
22265 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22266 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22268 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22271 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22272 trampoline stack frame information.
22273 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22274 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22275 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22276 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22277 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22278 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22279 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22280 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22282 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22283 interrupting a syscall and set with option SA_SIGINFO.
22285 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22288 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22289 argument is infinite.
22290 * math/s_cprojf.c (__cprojf): Likewise.
22291 * math/s_cprojl.c (__cprojl): Likewise.
22292 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22293 * math/libm-test.inc (cproj_test_data): Add more tests.
22295 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22297 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22298 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22299 size. Use __ffs to determine corresponding shift.
22301 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22302 Roland McGrath <roland@hack.frob.com>
22304 * Makefile (INSTALL): Remove trailing blank lines from output of
22307 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22309 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22310 Align 32 bit compat elf_greg to 8 bytes.
22312 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22314 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22316 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22318 * string/strcoll_l.c (coll_seq): New structure.
22319 (get_next_seq_cached): New function.
22320 (get_next_seq): New function.
22321 (do_compare): New function.
22322 (STRCOLL): Use GNU style definition. Simplify implementation
22323 by using get_next_seq, get_next_seq_cached and do_compare.
22325 2013-08-16 Florian Weimer <fweimer@redhat.com>
22329 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22331 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22333 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22334 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22335 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22337 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22338 GETDENTS_64BIT_ALIGNED.
22339 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22340 * manual/filesys.texi (Reading/Closing Directory): Document
22341 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22343 * manual/conf.texi (Limits for Files): Add portability note to
22344 NAME_MAX, PATH_MAX.
22345 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22347 2013-08-13 Andreas Schwab <schwab@suse.de>
22350 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22352 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22353 LDBL_MAX_EXP >= 16384]: Add tests for it.
22355 2013-08-12 David S. Miller <davem@davemloft.net>
22357 * version.h (RELEASE): Set to "development".
22358 (VERSION): Set to "2.18.90".
22359 * NEWS: Add 2.19 section.
22361 2013-08-03 David S. Miller <davem@davemloft.net>
22363 * po/ko.po: Update Korean translation from translation project.
22365 2013-08-01 David S. Miller <davem@davemloft.net>
22367 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22368 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22371 2013-07-30 David S. Miller <davem@davemloft.net>
22373 * po/fr.po: Update French translation from translation project.
22375 2013-07-28 David S. Miller <davem@davemloft.net>
22377 * po/cs.po: Update Czech translation from translation project.
22379 * po/sv.po: Update Swedish translation from translation project.
22381 2013-07-27 David S. Miller <davem@davemloft.net>
22383 * po/eo.po: Update Esperanto translation from translation project.
22385 * po/vi.po: Update Vietnamese translation from translation project.
22387 * po/de.po: Update German translation from translation project.
22389 2013-07-26 David S. Miller <davem@davemloft.net>
22391 * po/bg.po: Update Bulgarian translation from translation project.
22393 * po/nl.po: Update Dutch translation from translation project.
22394 * po/pl.po: Update Polish translation from translation project.
22395 * po/ru.po: Update Russian translation from translation project.
22397 2013-07-24 David S. Miller <davem@davemloft.net>
22399 * po/libc.pot: Update.
22401 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22403 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22404 variable page size.
22405 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22406 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22407 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22409 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22411 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22413 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22414 Andreas Schwab <schwab@suse.de>
22415 Roland McGrath <roland@hack.frob.com>
22416 Joseph Myers <joseph@codesourcery.com>
22417 Carlos O'Donell <carlos@redhat.com>
22420 * config.h.in: Define HAVE_PT_CHOWN.
22421 * config.make.in (build-pt-chown): New variable.
22422 * configure.in (--enable-pt_chown): New configure option.
22423 * configure: Regenerate.
22424 * login/Makefile: Include Makeconfig. Build pt_chown only if
22425 build-pt-chown is enabled.
22426 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22427 pt_chown to fix pty ownership.
22428 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22430 * manual/install.texi (Configuring and compiling): Mention
22431 --enable-pt_chown. Add @findex for grantpt.
22432 * INSTALL: Regenerate.
22434 2013-07-20 David S. Miller <davem@davemloft.net>
22436 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22437 difference between 32-bit and 64-bit.
22439 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22442 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22443 Avoid system header dependency with -ffreestanding.
22444 ($(objpfx)bits/syscall%d): Likewise.
22446 2013-07-13 David S. Miller <davem@davemloft.net>
22448 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22449 underflows from atanl/atan2l due to bug 15319.
22450 (casinh_test_data): Likewise.
22452 2013-07-07 David S. Miller <davem@davemloft.net>
22454 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22456 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22458 * sysdeps/i386/fpu/libm-test-ulps: Update.
22459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22461 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22463 * configure.in (--enable-lock-elision): Fix message text.
22464 * INSTALL: Regenerate.
22465 * configure: Regenerate.
22467 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22471 2013-07-03 Andreas Jaeger <aj@suse.de>
22473 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22475 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22476 (ptrace_peeksiginfo_args): Add.
22477 (__ptrace_peeksiginfo_flags): Add.
22478 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22479 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22480 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22482 2013-07-03 Allan McRae <allan@archlinux.org>
22484 * sysdeps/i386/fpu/libm-test-ulps: Update.
22486 2013-07-02 David S. Miller <davem@davemloft.net>
22488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22490 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22494 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22496 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22499 2013-07-02 Andi Kleen <ak@linux.intel.com>
22501 * config.h.in (ENABLE_LOCK_ELISION): Add.
22502 * configure.in (--enable-lock-elision): Add option.
22503 * manual/install.texi: Document --enable lock elision.
22504 * configure: Regenerate
22505 * INSTALL: Regenerate.
22507 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22509 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22510 SSE4.2 strcasecmp for libc.a.
22511 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22513 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22516 * soft-fp/op-common.h (_FP_FMA): New macro.
22517 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22518 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22519 (_FP_MUL_MEAT_1_imm): ... here.
22520 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22521 (_FP_MUL_MEAT_1_wide): ... here.
22522 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22523 (_FP_MUL_MEAT_1_hard): ... here.
22524 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22525 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22526 (_FP_MUL_MEAT_2_wide): ... here.
22527 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22528 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22529 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22530 (_FP_MUL_MEAT_2_gmp): ... here.
22531 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22532 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22533 (_FP_MUL_MEAT_4_wide): ... here.
22534 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22535 (_FP_MUL_MEAT_4_gmp): ... here.
22536 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22537 (_FP_WFRACBITS_DW_S): Likewise.
22538 (_FP_WFRACXBITS_DW_S): Likewise.
22539 (_FP_HIGHBIT_DW_S): Likewise.
22540 (FP_FMA_S): Likewise.
22541 (_FP_FRAC_HIGH_DW_S): Likewise.
22542 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22543 (_FP_WFRACBITS_DW_D): Likewise.
22544 (_FP_WFRACXBITS_DW_D): Likewise.
22545 (_FP_HIGHBIT_DW_D): Likewise.
22546 (FP_FMA_D): Likewise.
22547 (_FP_FRAC_HIGH_DW_D): Likewise.
22548 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22549 (_FP_WFRACBITS_DW_E): Likewise.
22550 (_FP_WFRACXBITS_DW_E): Likewise.
22551 (_FP_HIGHBIT_DW_E): Likewise.
22552 (FP_FMA_E): Likewise.
22553 (_FP_FRAC_HIGH_DW_E): Likewise.
22554 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22555 (_FP_WFRACBITS_DW_Q): Likewise.
22556 (_FP_WFRACXBITS_DW_Q): Likewise.
22557 (_FP_HIGHBIT_DW_Q): Likewise.
22558 (FP_FMA_Q): Likewise.
22559 (_FP_FRAC_HIGH_DW_Q): Likewise.
22560 * soft-fp/fmasf4.c: New file.
22561 * soft-fp/fmadf4.c: Likewise.
22562 * soft-fp/fmatf4.c: Likewise.
22564 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22567 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22571 (index_Slow_SSE4_2): Likewise.
22572 (index_Prefer_PMINUB_for_stringop): Likewise.
22573 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22574 bit_Slow_SSE4_2 is set.
22575 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22576 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22578 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22580 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22581 rtld_global._dl_hwcap2.
22582 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22584 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22585 POWER8 feature descriptions defined in _dl_hwcap2.
22586 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22587 string handling for POWER8 feature bits.
22588 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22589 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22590 _dl_powerpc_cap_flags.
22591 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22592 * sysdeps/powerpc/rtld-global-offsets.sym
22593 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22594 _dl_hwcap2 in the rtld_global_ro structure.
22596 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22598 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22599 hardware capabilities in support of AT_HWCAP2.
22600 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22601 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22603 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22604 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22605 explicitly the unknown a_type display mechanism is used.
22606 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22607 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22609 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22610 to macro prototype for AT_HWCAP2 support.
22611 * sysdeps/i386/dl-procinfo.h: Likewise.
22612 * sysdeps/s390/dl-procinfo.h: Likewise.
22613 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22614 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22615 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22616 return -1 for unknown a_type display fallback.
22617 * sysdeps/sparc/dl-procinfo.h: Likewise.
22618 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22619 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22621 2013-06-28 Joseph Myers <joseph@codesourcery.com>
22623 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22624 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22626 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22629 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22630 mprotect making __stack_prot writable.
22632 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22633 Joseph Myers <joseph@codesourcery.com>
22635 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22636 as being properly aligned.
22638 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22640 * dlfcn/modstatic5.c: New file.
22641 * dlfcn/tststatic5.c: New file.
22642 * dlfcn/Makefile (tests): Add tststatic5.
22643 (tests-static): Likewise.
22644 (modules-names): Add modstatic5.
22645 (tststatic5-ENV): New variable.
22646 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22649 * elf/dl-support.c (_dl_main_map): New variable.
22650 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22651 (_dl_nns, _dl_load_adds): Set to 1.
22652 (_dl_initial_searchlist): Refer to _dl_main_map.
22653 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22654 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22655 call to _dl_get_origin.
22656 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22658 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22659 * dlfcn/modstatic3.c: New file.
22660 * dlfcn/tststatic3.c: New file.
22661 * dlfcn/tststatic4.c: New file.
22662 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22663 (tests-static): Likewise.
22664 (modules-names): Add modstatic3.
22665 (tststatic3-ENV, tststatic4-ENV): New variables.
22666 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22667 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22669 2013-06-26 Joseph Myers <joseph@codesourcery.com>
22671 * configure.in (CC): Require GCC version 4.4 or later.
22672 * configure: Regenerated.
22673 * manual/install.texi (Tools for Compilation): Update GCC version
22675 * INSTALL: Regenerated.
22677 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22680 * string/test-memcmp.c (check2): New.
22681 (main): Call check2.
22683 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22685 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22688 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22690 (dl_open_worker) [!SHARED]: ... here.
22692 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22694 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22696 2013-06-25 Richard Henderson <rth@redhat.com>
22698 * locale/programs/locarchive.c: Include <libc-internal.h>
22700 2013-06-25 Joseph Myers <joseph@codesourcery.com>
22702 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22703 trailing whitespace removed.
22705 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22708 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22709 * locale/programs/locarchive.c: Include libc-mmap.h.
22710 (prepare_address_space): Take two new outputs (the mmap base and len).
22711 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22713 (create_archive): Declare new mmap base and len values for
22714 prepare_address_space, and store the result in ah.
22715 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22716 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22717 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22718 Declare new mmap base and len values for
22719 prepare_address_space, and store the result in new_ah.
22720 (open_archive): Declare new mmap base and len values for
22721 prepare_address_space, and store the result in ah.
22722 (close_archive): If ah->mmap_base is not NULL, use that and
22723 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22724 * sysdeps/generic/libc-mmap.h: New file.
22726 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22728 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22729 (ALIGN_UP): Likewise.
22730 (PTR_ALIGN_DOWN): Likewise.
22731 (PTR_ALIGN_UP): Likewise.
22733 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22735 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22736 entry mapped to PPC_PLATFORM_POWER8.
22737 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22739 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22740 (_dl_string_platform): Add case for exporting platform position for
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22743 search path to sysdeps/powerpc/powerpc32/power8 directory.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22745 search path to sysdeps/powerpc/powerpc64/power8 directory.
22746 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22747 power7 directories.
22748 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22749 power7 directories.
22751 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22753 * INSTALL: Regenerate.
22755 * nscd/connections.c (nscd_init): Fix comment.
22757 2013-06-22 Joseph Myers <joseph@codesourcery.com>
22759 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22762 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22763 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22765 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22767 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22769 (DL_DST_REQ_STATIC): Remove macro.
22771 2013-06-21 Joseph Myers <joseph@codesourcery.com>
22774 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22775 with a shift of 0 bits.
22777 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22779 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22782 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22785 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22787 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22789 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22790 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22791 accepts -fno-tree-loop-distribute-patterns.
22792 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22793 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22795 * string/memset.c (memset): Likewise.
22796 * string/test-memmove.c (simple_memmove): Disable loop transformation
22798 * string/test-memset.c (simple_memset): Likewise.
22799 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22800 * benchtests/bench-memset.c (simple_memset): Likewise.
22801 * configure: Regenerated.
22803 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22805 * math/test-misc.c (main): Ignore fesetround failure when failures
22806 of subsequent rounding tests would be ignored.
22809 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22810 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22811 * math/fegetenv.c (__fegetenv): Return 0.
22812 * math/fegetexcept.c (fegetexcept): Return 0.
22813 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22815 * math/feholdexcpt.c (feholdexcept): Return 0.
22816 * math/fesetenv.c (__fesetenv): Return 0.
22817 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22818 argument FE_TONEAREST.
22819 * math/feupdateenv.c (__feupdateenv): Return 0.
22820 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22822 2013-06-18 Roland McGrath <roland@hack.frob.com>
22824 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22825 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22826 ($(objpfx)rtld-%.os rules): Use them.
22828 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22830 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22833 2013-06-17 Roland McGrath <roland@hack.frob.com>
22835 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22836 length of target pattern, then descending length of dependency pattern.
22837 * configure.in (AWK): Require gawk 3.1.2 or newer.
22838 * manual/install.texi (Tools for Compilation): Say that we do.
22839 * configure: Regenerated.
22841 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22842 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22843 * scripts/sysd-rules.awk: ... this new script.
22844 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22845 than a glob-style pattern.
22847 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22849 * math/test-misc.c (main): Do not treat incorrectly rounded
22850 conversions as failure unless ROUNDING_TESTS passes.
22852 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22855 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22856 restore exception state around main square root computation, then
22857 check for inexactness explicitly.
22859 * math/libm-test.inc (fma_test_data): Add another test.
22861 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22863 * manual/threads.texi (Non-POSIX Extensions): New document
22864 node. Document pthread_getattr_default_np and
22865 pthread_setattr_default_np.
22867 * Versions.def (libpthread): Add GLIBC_2.18.
22868 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22877 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22888 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22891 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22893 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22894 H.J. Lu <hjl.tools@gmail.com>
22897 * sysdeps/x86_64/rtld-memset.c: Remove file.
22898 * sysdeps/x86_64/rtld-memset.S: New file.
22900 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22902 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22903 (test_in_one_mode): Take arguments for whether the rounding mode
22904 is supported for each floating-point type.
22905 (do_test): Pass new arguments to test_in_one_mode using
22908 2013-06-13 Roland McGrath <roland@hack.frob.com>
22910 * posix/tst-waitid.c (do_test): Distinguish different instances of
22911 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22912 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22913 before entering the kernel for waitpid.
22915 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22917 * NEWS: Fix note on clock function precision. Text by Roland
22920 2013-06-13 Roland McGrath <roland@hack.frob.com>
22922 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22923 it into place only when and if the sanity check passes.
22925 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22927 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22928 output for whether conversion result is exact. Take argument
22929 indicating whether type is IBM long double.
22930 (round_for_all): Change need_exact field to ibm_ld.
22931 * stdlib/tst-strtod-round.c (struct exactness): New type.
22932 (struct test): Change bool ld_ok field to struct exactness exact.
22933 (TEST): Update all definitions for change to field.
22934 (tests): Regenerate array contents.
22935 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22936 field value. Check for IBM long double here.
22937 (do_test): Update calls to test_in_one_mode.
22939 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22942 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22943 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22945 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22948 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22949 generated by the compiler on loop optimizations.
22950 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22951 general definitions.
22953 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22955 * math/bug-nextafter.c: Include <math-tests.h>.
22956 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22958 * math/bug-nexttoward.c: Include <math-tests.h>.
22959 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22961 * math/test-misc.c: Include <math-tests.h>.
22962 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22965 2013-06-12 Andreas Jaeger <aj@suse.de>
22967 * po/ia.po: Update Interlingua translation from translation
22970 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22972 * include/fenv.h: Include stdbool.h.
22973 (struct rm_ctx): New structure.
22974 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22976 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22977 (SET_RESTORE_ROUNDF): Likewise.
22978 (SET_RESTORE_ROUNDL): Likewise.
22979 (SET_RESTORE_ROUND_NOEX): Likewise.
22980 (SET_RESTORE_ROUND_NOEXF): Likewise.
22981 (SET_RESTORE_ROUND_NOEXL): Likewise.
22982 (SET_RESTORE_ROUND_53BIT): Likewise.
22983 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22984 (libc_feresetround_noexf_ctx): Likewise.
22985 (libc_feresetround_noexl_ctx): Likewise.
22986 (libc_feholdsetround_53bit_ctx): Likewise.
22987 (libc_feresetround_53bit_ctx): Likewise.
22988 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22989 (libc_feholdexcept_setround_sse_ctx): New function.
22990 (libc_fesetenv_sse_ctx): Likewise.
22991 (libc_feupdateenv_sse_ctx): Likewise.
22992 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22993 (libc_feholdexcept_setround_387_ctx): Likewise.
22994 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22995 (libc_feholdsetround_387_prec_ctx): Likewise.
22996 (libc_feholdsetround_387_ctx): Likewise.
22997 (libc_feholdsetround_387_53bit_ctx): Likewise.
22998 (libc_feholdsetround_sse_ctx): Likewise.
22999 (libc_feresetround_sse_ctx): Likewise.
23000 (libc_feresetround_387_ctx): Likewise.
23001 (libc_feupdateenv_387_ctx): Likewise.
23002 (libc_feholdexcept_setroundf_ctx): Define macro.
23003 (libc_fesetenvf_ctx): Likewise.
23004 (libc_feupdateenvf_ctx): Likewise.
23005 (libc_feholdsetroundf_ctx): Likewise.
23006 (libc_feresetroundf_ctx): Likewise.
23007 (libc_feholdexcept_setround_ctx): Likewise.
23008 (libc_fesetenv_ctx): Likewise.
23009 (libc_feupdateenv_ctx): Likewise.
23010 (libc_feholdsetround_ctx): Likewise.
23011 (libc_feresetround_ctx): Likewise.
23012 (libc_feholdexcept_setroundl_ctx): Likewise.
23013 (libc_feupdateenvl_ctx): Likewise.
23014 (libc_feholdsetroundl_ctx): Likewise.
23015 (libc_feresetroundl_ctx): Likewise.
23016 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23017 (libc_feresetround_53bit_ctx): Likewise.
23019 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23021 * locale/iso-639.def: Convert to UTF-8.
23023 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23025 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23026 (EXCEPTION_TESTS_double): Likewise.
23027 (EXCEPTION_TESTS_long_double): Likewise.
23028 (EXCEPTION_TESTS): Likewise.
23029 * math/libm-test.inc (test_exceptions): Only test exceptions if
23030 EXCEPTION_TESTS (FLOAT).
23032 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23034 * benchtests/Makefile (string-bench): Add strcpy_chk and
23036 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23037 * benchtests/bench-stpcpy_chk.c: New file.
23038 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23039 * benchtests/bench-strcpy_chk.c: New file.
23040 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23042 (do_test): Likewise.
23044 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23046 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23047 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23048 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23049 with tabs where appropriate.
23050 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23052 [PPC_PLATFORM_PPC440]: Likewise.
23053 [PPC_PLATFORM_PPC464]: Likewise.
23054 [PPC_PLATFORM_PPC476]: Likewise.
23055 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23056 ppc464, and ppc476 platform strings merging from ports/
23059 2013-06-11 Andreas Schwab <schwab@suse.de>
23062 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23063 (from_ucs4_idx): Regenerate.
23064 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23065 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23066 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23067 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23068 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23069 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23070 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23071 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23072 from FROM_LOOP and TO_LOOP specific macros.
23073 (BODY): Handle combining characters.
23074 * iconvdata/BIG5HKSCS.irreversible: Update.
23075 * iconvdata/BIG5HKSCS.precomposed: New file.
23076 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23078 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23080 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23082 * include/sys/time.h: Fix indentation and add copyright header.
23084 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23085 (do_test): Likewise.
23086 * string/test-memchr.c (do_one_test): Likewise.
23087 (do_test): Likewise.
23088 * string/test-memcmp.c (do_one_test): Likewise.
23089 (do_test): Likewise.
23090 * string/test-memcpy.c (do_one_test): Likewise.
23091 (do_test): Likewise.
23092 * string/test-memmem.c (do_one_test): Likewise.
23093 (do_test): Likewise.
23094 (do_random_tests): Likewise.
23095 * string/test-memmove.c (do_one_test): Likewise.
23096 (do_test): Likewise.
23097 * string/test-memset.c (do_one_test): Likewise.
23098 (do_test): Likewise.
23099 * string/test-rawmemchr.c (do_one_test): Likewise.
23100 (do_test): Likewise.
23101 * string/test-strcasecmp.c (do_one_test): Likewise.
23102 (do_test): Likewise.
23103 * string/test-strcasestr.c (do_one_test): Likewise.
23104 (do_test): Likewise.
23105 * string/test-strcat.c (do_one_test): Likewise.
23106 (do_test): Likewise.
23107 * string/test-strchr.c (do_one_test): Likewise.
23108 (do_test): Likewise.
23109 * string/test-strcmp.c (do_one_test): Likewise.
23110 (do_test): Likewise.
23111 * string/test-strcpy.c (do_one_test): Likewise.
23112 (do_test): Likewise.
23113 * string/test-string.h: Likewise.
23114 (test_init): Likewise.
23115 * string/test-strlen.c (do_one_test): Likewise.
23116 (do_test): Likewise.
23117 * string/test-strncasecmp.c (do_one_test): Likewise.
23118 (do_test): Likewise.
23119 * string/test-strncat.c (do_one_test): Likewise.
23120 (do_test): Likewise.
23121 * string/test-strncmp.c (do_one_test): Likewise.
23122 (do_test_limit): Likewise.
23123 (do_test): Likewise.
23124 * string/test-strncpy.c (do_one_test): Likewise.
23125 (do_test): Likewise.
23126 * string/test-strnlen.c (do_one_test): Likewise.
23127 (do_test): Likewise.
23128 * string/test-strpbrk.c (do_one_test): Likewise.
23129 (do_test): Likewise.
23130 * string/test-strrchr.c (do_one_test): Likewise.
23131 (do_test): Likewise.
23132 * string/test-strspn.c (do_one_test): Likewise.
23133 (do_test): Likewise.
23134 * string/test-strstr.c (do_one_test): Likewise.
23135 (do_test): Likewise.
23137 * benchtests/Makefile (string-bench): Add string benchmarks.
23138 * benchtests/bench-bcopy-ifunc.c: New file.
23139 * benchtests/bench-bcopy.c: New file.
23140 * benchtests/bench-bzero-ifunc.c: New file.
23141 * benchtests/bench-bzero.c: New file.
23142 * benchtests/bench-memccpy-ifunc.c: New file.
23143 * benchtests/bench-memccpy.c: New file.
23144 * benchtests/bench-memchr-ifunc.c: New file.
23145 * benchtests/bench-memchr.c: New file.
23146 * benchtests/bench-memcmp-ifunc.c: New file.
23147 * benchtests/bench-memcmp.c: New file.
23148 * benchtests/bench-memmem-ifunc.c: New file.
23149 * benchtests/bench-memmem.c: New file.
23150 * benchtests/bench-memmove-ifunc.c: New file.
23151 * benchtests/bench-memmove.c: New file.
23152 * benchtests/bench-mempcpy-ifunc.c: New file.
23153 * benchtests/bench-mempcpy.c: New file.
23154 * benchtests/bench-memset-ifunc.c: New file.
23155 * benchtests/bench-memset.c: New file.
23156 * benchtests/bench-rawmemchr-ifunc.c: New file.
23157 * benchtests/bench-rawmemchr.c: New file.
23158 * benchtests/bench-stpcpy-ifunc.c: New file.
23159 * benchtests/bench-stpcpy.c: New file.
23160 * benchtests/bench-stpncpy-ifunc.c: New file.
23161 * benchtests/bench-stpncpy.c: New file.
23162 * benchtests/bench-strcasecmp-ifunc.c: New file.
23163 * benchtests/bench-strcasecmp.c: New file.
23164 * benchtests/bench-strcasestr-ifunc.c: New file.
23165 * benchtests/bench-strcasestr.c: New file.
23166 * benchtests/bench-strcat-ifunc.c: New file.
23167 * benchtests/bench-strcat.c: New file.
23168 * benchtests/bench-strchr-ifunc.c: New file.
23169 * benchtests/bench-strchr.c: New file.
23170 * benchtests/bench-strchrnul-ifunc.c: New file.
23171 * benchtests/bench-strchrnul.c: New file.
23172 * benchtests/bench-strcmp-ifunc.c: New file.
23173 * benchtests/bench-strcmp.c: New file.
23174 * benchtests/bench-strcpy-ifunc.c: New file.
23175 * benchtests/bench-strcpy.c: New file.
23176 * benchtests/bench-strcspn-ifunc.c: New file.
23177 * benchtests/bench-strcspn.c: New file.
23178 * benchtests/bench-strlen-ifunc.c: New file.
23179 * benchtests/bench-strlen.c: New file.
23180 * benchtests/bench-strncasecmp-ifunc.c: New file.
23181 * benchtests/bench-strncasecmp.c: New file.
23182 * benchtests/bench-strncat-ifunc.c: New file.
23183 * benchtests/bench-strncat.c: New file.
23184 * benchtests/bench-strncmp-ifunc.c: New file.
23185 * benchtests/bench-strncmp.c: New file.
23186 * benchtests/bench-strncpy-ifunc.c: New file.
23187 * benchtests/bench-strncpy.c: New file.
23188 * benchtests/bench-strnlen-ifunc.c: New file.
23189 * benchtests/bench-strnlen.c: New file.
23190 * benchtests/bench-strpbrk-ifunc.c: New file.
23191 * benchtests/bench-strpbrk.c: New file.
23192 * benchtests/bench-strrchr-ifunc.c: New file.
23193 * benchtests/bench-strrchr.c: New file.
23194 * benchtests/bench-strspn-ifunc.c: New file.
23195 * benchtests/bench-strspn.c: New file.
23196 * benchtests/bench-strstr-ifunc.c: New file.
23197 * benchtests/bench-strstr.c: New file.
23199 * benchtests/Makefile: Disable parallel execution of targets.
23200 (string-bench): Add memcpy.
23201 (benchset): New variable to store a list of benchmark sets.
23202 (bench-func): Renamed from bench.
23203 (bench-set): New target.
23204 (bench): Depend on bench-func and bench-set.
23205 * benchtests/README: Add section on benchmark sets.
23206 * benchtests/bench-memcpy-ifunc.c: New file.
23207 * benchtests/bench-memcpy.c: New file.
23208 * benchtests/bench-string.h: New file.
23210 2013-06-11 Andreas Schwab <schwab@suse.de>
23213 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23214 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23215 values in the triple.
23216 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23217 terminator in the group key.
23219 2013-06-11 Andreas Jaeger <aj@suse.de>
23221 * po/zh_TW.po: Update Chinese (traditional) translation from
23222 translation project.
23224 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23226 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23227 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23228 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23229 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23230 (clock_getcpuclockid): Likewise.
23231 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23232 Add weak_alias and libc_hidden_def.
23233 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23234 * rt/clock_gettime.c (clock_gettime): Rename to
23235 __clock_gettime. Add weak_alias and libc_hidden_def.
23236 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23237 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23238 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23239 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23240 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23242 * rt/clock_settime.c (clock_settime): Rename to
23243 __clock_settime. Add weak_alias and libc_hidden_def.
23244 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23246 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23248 * mach/err_boot.sub: Remove trailing whitespace.
23249 * mach/err_ipc.sub: Likewise.
23250 * mach/err_mach.sub: Likewise.
23252 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23253 (ROUNDING_TESTS_double): Likewise.
23254 (ROUNDING_TESTS_long_double): Likewise.
23255 (ROUNDING_TESTS): Likewise.
23256 * math/libm-test.inc: Include <math-tests.h>.
23257 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23258 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23259 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23260 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23262 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23264 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23267 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23269 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23270 otherwise empty TRANS lines.
23271 * sysdeps/gnu/errlist.c: Regenerated.
23273 * catgets/gencat.c (error_print): Use (void) in function
23275 * crypt/crypt_util.c (__init_des): Likewise.
23276 * crypt/speeds.c (Stop): Likewise.
23278 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23279 * inet/ruserpass.c (token): Likewise.
23280 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23281 * intl/localealias.c (extend_alias_table): Likewise.
23282 * intl/plural-exp.c (init_germanic_plural): Likewise.
23283 * libio/fcloseall.c (__fcloseall): Likewise.
23284 * libio/genops.c (_IO_flush_all): Likewise.
23285 (_IO_flush_all_linebuffered): Likewise.
23286 (_IO_cleanup): Likewise.
23287 (_IO_iter_begin): Likewise.
23288 (_IO_iter_end): Likewise.
23289 (_IO_list_lock): Likewise.
23290 (_IO_list_unlock): Likewise.
23291 (_IO_list_resetlock): Likewise.
23292 * libio/getchar.c (getchar): Likewise.
23293 * libio/getchar_u.c (getchar_unlocked): Likewise.
23294 * libio/getwchar.c (getwchar): Likewise.
23295 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23296 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23297 * login/getpt.c (__getpt): Likewise.
23298 * login/tst-utmp.c (main): Likewise.
23299 * malloc/hooks.c (__malloc_check_init): Likewise.
23300 * malloc/malloc.c (__malloc_stats): Likewise.
23301 * malloc/mtrace.c (tr_break): Likewise.
23302 (mtrace): Likewise.
23303 (muntrace): Likewise.
23304 * misc/fstab.c (endfsent): Likewise.
23305 * misc/getclktck.c (__getclktck): Likewise.
23306 * misc/getdtsz.c (__getdtablesize): Likewise.
23307 * misc/gethostid.c (gethostid): Likewise.
23308 * misc/getpagesize.c (__getpagesize): Likewise.
23309 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23310 (__get_nprocs): Likewise.
23311 (__get_phys_pages): Likewise.
23312 (__get_avphys_pages): Likewise.
23313 * misc/getttyent.c (getttyent): Likewise.
23314 (setttyent): Likewise.
23315 (endttyent): Likewise.
23316 * misc/getusershell.c (getusershell): Likewise.
23317 (endusershell): Likewise.
23318 (setusershell): Likewise.
23319 (initshells): Likewise.
23320 * misc/hsearch.c (__hdestroy): Likewise.
23321 * misc/sync.c (sync): Likewise.
23322 * misc/syslog.c (closelog_internal): Likewise.
23323 (closelog): Likewise.
23324 * misc/ttyslot.c (ttyslot): Likewise.
23325 * misc/vhangup.c (vhangup): Likewise.
23326 * posix/fork.c (__fork): Likewise.
23327 * posix/getegid.c (__getegid): Likewise.
23328 * posix/geteuid.c (__geteuid): Likewise.
23329 * posix/getgid.c (__getgid): Likewise.
23330 * posix/getpid.c (__getpid): Likewise.
23331 * posix/getppid.c (__getppid): Likewise.
23332 * posix/getuid.c (__getuid): Likewise.
23333 * posix/pause.c (pause): Likewise.
23334 * posix/setpgrp.c (setpgrp): Likewise.
23335 * posix/setsid.c (__setsid): Likewise.
23336 * posix/test-vfork.c (noop): Likewise.
23337 * resolv/gethnamaddr.c (_endhtent): Likewise.
23338 (_gethtent): Likewise.
23339 (ht_endhostent): Likewise.
23340 (gethostent): Likewise.
23341 (dns_service): Likewise.
23342 * stdlib/drand48.c (drand48): Likewise.
23343 * stdlib/lrand48.c (lrand48): Likewise.
23344 * stdlib/mrand48.c (mrand48): Likewise.
23345 * stdlib/rand.c (rand): Likewise.
23346 * stdlib/random.c (__random): Likewise.
23347 * stdlib/setenv.c (clearenv): Likewise.
23348 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23349 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23350 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23351 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23352 (__get_nprocs): Likewise.
23353 (__get_phys_pages): Likewise.
23354 (__get_avphys_pages): Likewise.
23355 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23356 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23357 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23358 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23359 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23360 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23361 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23362 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23363 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23364 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23365 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23366 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23367 * sysdeps/posix/clock.c (clock): Likewise.
23368 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23369 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23370 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23371 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23372 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23373 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23374 (__get_nprocs_conf): Likewise.
23375 (__get_phys_pages): Likewise.
23376 (__get_avphys_pages): Likewise.
23377 * time/clock.c (clock): Likewise.
23378 * time/tzset.c (__tzname_max): Likewise.
23380 2013-06-07 Joseph Myers <joseph@codesourcery.com>
23382 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23383 (__bswap_32): Do not use "register".
23384 * crypt/crypt.c (_ufc_doit_r): Likewise.
23385 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23386 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23387 * gmon/gmon.c (__monstartup): Likewise.
23388 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23389 * hurd/hurdmalloc.c (more_memory): Likewise.
23390 (malloc): Likewise.
23392 (realloc): Likewise.
23393 (malloc_fork_prepare): Likewise.
23394 (malloc_fork_parent): Likewise.
23395 (malloc_fork_child): Likewise.
23396 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23397 (_svcauth_des): Likewise.
23398 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23399 * inet/inet_net.c (inet_network): Likewise.
23400 * inet/inet_netof.c (inet_netof): Likewise.
23401 * inet/rcmd.c (__validuser2_sa): Likewise.
23402 * io/fts.c (fts_open): Likewise.
23403 (fts_load): Likewise.
23404 (fts_close): Likewise.
23405 (fts_read): Likewise.
23406 (fts_children): Likewise.
23407 (fts_build): Likewise.
23408 (fts_stat): Likewise.
23409 (fts_sort): Likewise.
23410 (fts_alloc): Likewise.
23411 (fts_lfree): Likewise.
23412 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23413 (_IO_file_xsgetn): Likewise.
23414 (_IO_file_xsgetn_mmap): Likewise.
23415 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23416 (_IO_cookie_write): Likewise.
23417 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23418 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23419 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23420 * malloc/obstack.c (_obstack_begin): Likewise.
23421 (_obstack_begin_1): Likewise.
23422 (_obstack_newchunk): Likewise.
23423 (_obstack_allocated_p): Likewise.
23424 (obstack_free): Likewise.
23425 (_obstack_memory_used): Likewise.
23426 * misc/getttyent.c (getttynam): Likewise.
23427 (getttyent): Likewise.
23430 * misc/getusershell.c (initshells): Likewise.
23431 * misc/syslog.c (__vsyslog_chk): Likewise.
23432 * misc/ttyslot.c (ttyslot): Likewise.
23433 * nis/nis_hash.c (__nis_hash): Likewise.
23434 * posix/fnmatch_loop.c (FCT): Likewise.
23435 * posix/getconf.c (print_all): Likewise.
23437 * posix/getopt.c (exchange): Likewise.
23438 * posix/glob.c (globfree): Likewise.
23439 (prefix_array): Likewise.
23440 (__glob_pattern_type): Likewise.
23441 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23442 (NS_GET32): Likewise.
23443 (NS_PUT16): Likewise.
23444 (NS_PUT32): Likewise.
23445 * resolv/gethnamaddr.c (getanswer): Likewise.
23446 (gethostbyname2): Likewise.
23447 (gethostbyaddr): Likewise.
23448 (_gethtent): Likewise.
23449 (_gethtbyname2): Likewise.
23450 (_gethtbyaddr): Likewise.
23451 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23452 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23453 * resolv/res_init.c (__res_vinit): Likewise.
23454 (net_mask): Likewise.
23455 * resolv/res_mkquery.c (outchar): Likewise.
23457 * stdio-common/printf_fp.c (outchar): Likewise.
23459 * stdio-common/printf_fphex.c (outchar): Likewise.
23461 * stdio-common/printf_size.c (outchar): Likewise.
23463 * stdio-common/test_rdwr.c (main): Likewise.
23464 * stdio-common/tfformat.c (matches): Likewise.
23465 * stdio-common/vfprintf.c (outchar): Likewise.
23466 (printf_unknown): Likewise.
23467 (buffered_vfprintf): Likewise.
23468 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23469 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23470 (ReadFile): Likewise.
23471 * stdlib/qsort.c (SWAP): Likewise.
23472 (_quicksort): Likewise.
23473 * stdlib/setenv.c (__add_to_environ): Likewise.
23474 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23475 * stdlib/strtol_l.c (__strtol_l): Likewise.
23476 * stdlib/tst-strtod.c (main): Likewise.
23477 * stdlib/tst-strtol.c (main): Likewise.
23478 * stdlib/tst-strtoll.c (main): Likewise.
23479 * string/bits/string2.h (__strcmp_cc): Likewise.
23480 (__strcmp_cg): Likewise.
23481 (__strcspn_c1): Likewise.
23482 (__strcspn_c2): Likewise.
23483 (__strcspn_c3): Likewise.
23484 (__strspn_c1): Likewise.
23485 (__strspn_c2): Likewise.
23486 (__strspn_c3): Likewise.
23487 (__strsep_1c): Likewise.
23488 (__strsep_2c): Likewise.
23489 (__strsep_3c): Likewise.
23490 * string/memccpy.c (__memccpy): Likewise.
23491 * string/stpcpy.c (__stpcpy): Likewise.
23492 * string/strcmp.c (strcmp): Likewise.
23493 * string/strrchr.c (strrchr): Likewise.
23494 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23496 * sysdeps/mach/hurd/getcwd.c
23497 (_hurd_canonicalize_directory_name_internal): Likewise.
23498 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23499 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23500 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23501 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23502 Likewise, in both definitions.
23503 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23505 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23506 64] (__bswap_64): Likewise.
23507 * time/test_time.c (main): Likewise.
23508 * time/tzfile.c (__tzfile_read): Likewise.
23509 (__tzfile_compute): Likewise.
23510 * time/tzset.c (__tzset_parse_tz): Likewise.
23511 (tzset_internal): Likewise.
23512 (compute_change): Likewise.
23513 * wcsmbs/wcscat.c (__wcscat): Likewise.
23514 * wcsmbs/wcschr.c (wcschr): Likewise.
23515 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23516 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23517 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23518 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23519 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23520 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23521 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23522 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23523 * wcsmbs/wmemset.c (wmemset): Likewise.
23525 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23527 * scripts/config.guess: Update to version 2013-05-16.
23528 * scripts/config.sub: Update to version 2013-04-24.
23529 * scripts/install-sh: Update to version 2011-11-20.07.
23530 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23531 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23533 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
23535 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23536 * elf/sln.c: Likewise.
23537 * hurd/hurd/ioctl.h: Likewise.
23538 * hurd/hurdmalloc.c: Likewise.
23539 * hurd/xattr.c: Likewise.
23540 * include/shlib-compat.h: Likewise.
23541 * inet/ruserpass.c: Likewise.
23542 * libio/iofgets_u.c: Likewise.
23543 * libio/iofgetws_u.c: Likewise.
23544 * locale/programs/ld-identification.c: Likewise.
23545 * locale/programs/ld-time.c: Likewise.
23546 * mach/msg-destroy.c: Likewise.
23547 * nss/nss_files/files-netgrp.c: Likewise.
23548 * resolv/res_data.c: Likewise.
23549 * soft-fp/op-1.h: Likewise.
23550 * soft-fp/op-2.h: Likewise.
23551 * soft-fp/op-4.h: Likewise.
23552 * soft-fp/op-common.h: Likewise.
23553 * stdio-common/printf_fphex.c: Likewise.
23554 * stdlib/strtod_l.c: Likewise.
23555 * sunrpc/rpc/clnt.h: Likewise.
23556 * sysdeps/generic/framestate.c: Likewise.
23557 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23558 * sysdeps/i386/bsd-setjmp.S: Likewise.
23559 * sysdeps/i386/__longjmp.S: Likewise.
23560 * sysdeps/i386/setjmp.S: Likewise.
23561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23562 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23579 * sysdeps/ieee754/support.c: Likewise.
23580 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23581 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23582 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23583 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23584 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23585 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23586 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23587 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23588 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23589 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23590 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23591 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23592 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23593 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23594 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23595 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23596 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23599 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
23601 * posix/transbug.c: Remove executable mode.
23603 2013-06-05 Joseph Myers <joseph@codesourcery.com>
23605 * crypt/speeds.c: Remove trailing whitespace.
23606 * dlfcn/default.c: Likewise.
23607 * elf/ifuncdep2.c: Likewise.
23608 * elf/ifuncmain1.c: Likewise.
23609 * elf/ifuncmain1vis.c: Likewise.
23610 * elf/testobj.h: Likewise.
23611 * elf/tst-stackguard1.c: Likewise.
23612 * gmon/sys/gmon.h: Likewise.
23613 * hurd/hurdmsg.c: Likewise.
23614 * hurd/new-fd.c: Likewise.
23615 * hurd/ports-get.c: Likewise.
23616 * iconvdata/ibm1008_420.c: Likewise.
23617 * inet/tst-getni1.c: Likewise.
23618 * inet/tst-getni2.c: Likewise.
23619 * libio/ioungetc.c: Likewise.
23620 * libio/wfiledoalloc.c: Likewise.
23621 * manual/libm-err-tab.pl: Likewise.
23622 * math/w_dremf.c: Likewise.
23623 * misc/ftruncate.c: Likewise.
23624 * posix/bug-glob2.c: Likewise.
23625 * posix/tst-pcre.c: Likewise.
23626 * posix/wait4.c: Likewise.
23627 * resolv/README: Likewise.
23628 * resolv/res_debug.h: Likewise.
23629 * resolv/tst-inet_ntop.c: Likewise.
23630 * setjmp/bug269-setjmp.c: Likewise.
23631 * soft-fp/extended.h: Likewise.
23632 * soft-fp/op-1.h: Likewise.
23633 * soft-fp/op-2.h: Likewise.
23634 * soft-fp/op-4.h: Likewise.
23635 * soft-fp/op-8.h: Likewise.
23636 * soft-fp/testit.c: Likewise.
23637 * stdio-common/bug16.c: Likewise.
23638 * stdlib/random.c: Likewise.
23639 * sunrpc/rpcsvc/rquota.x: Likewise.
23640 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23641 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23643 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23644 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23645 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23646 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23647 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23648 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23649 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23650 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23669 * sysdeps/ieee754/s_lib_version.c: Likewise.
23670 * sysdeps/mach/hurd/check_fds.c: Likewise.
23671 * sysdeps/mach/hurd/getsockname.c: Likewise.
23672 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23673 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23674 * sysdeps/powerpc/bits/link.h: Likewise.
23675 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23676 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23677 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23678 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23679 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23680 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23681 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23682 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23683 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23684 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23685 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23686 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23687 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23688 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23689 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23690 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23691 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23692 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23693 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23694 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23695 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23696 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23697 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23698 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23699 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23700 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23701 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23702 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23703 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23704 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23705 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23706 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23707 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23708 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23709 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23710 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23711 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23712 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23713 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23714 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23715 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23716 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23717 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23718 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23719 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23720 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23721 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23722 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23723 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23724 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23729 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23730 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23731 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23733 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23734 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23735 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23736 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23737 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23738 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23739 * sysdeps/powerpc/sysdep.h: Likewise.
23740 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23741 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23742 * sysdeps/sh/dl-trampoline.S: Likewise.
23743 * sysdeps/sh/memset.S: Likewise.
23744 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23745 * sysdeps/sh/strlen.S: Likewise.
23746 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23747 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23748 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23749 * sysdeps/sparc/sparc32/rem.S: Likewise.
23750 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23751 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23752 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23753 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23754 * sysdeps/sparc/sparc32/urem.S: Likewise.
23755 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23756 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23757 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23758 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23760 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23761 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23762 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23763 * sysdeps/unix/bsd/times.c: Likewise.
23764 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23765 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23769 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23770 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23771 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23773 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23774 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23775 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23776 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23777 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23778 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23779 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23780 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23781 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23782 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23783 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23784 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23785 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23786 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23787 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23788 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23789 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23790 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23791 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23792 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23793 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23794 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23795 * sysdeps/x86_64/strcspn.S: Likewise.
23797 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23799 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23800 generated file. Regenerate properly from gen-translit.pl.
23801 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23802 locale/C-translit.h.
23804 2013-06-05 Andreas Schwab <schwab@suse.de>
23807 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23808 week as 6 instead of -1.
23809 * time/tst-strptime.c (day_tests): Add test case.
23811 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23813 * sysdeps/generic/math_private.h
23814 (libc_feholdexcept_setround_53bit): Replace with
23815 libc_feholdsetround_53bit.
23816 (libc_feupdateenv_53bit): Replace with
23817 libc_feresetround_53bit.
23818 (SET_RESTORE_ROUND_53BIT): Adjust.
23820 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23822 * string/test-strchrnul.c: Add copyright header.
23824 * posix/tst-getaddrinfo4.c: Increase test timeout.
23826 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23829 * math/libm-test.inc (MAX_EXP): Remove
23831 (ulp): Use MIN_EXP - MANT_DIG.
23832 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23834 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23836 * po/be.po: Revert last change.
23837 * po/zh_CN.po: Likewise.
23838 * po/header.pot: Likewise.
23840 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23842 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23843 link-libc-deps to empty as target-specific variable.
23844 * Makerules (link-libc-args): New variable.
23845 (libc-for-link): Likewise.
23846 (link-libc-deps): Likewise.
23847 (lib%.so): Depend on $(link-libc-deps). Link with
23849 (build-module): Link with $(link-libc-args).
23850 (build-module-asneeded): Likewise.
23851 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23853 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23854 target-specific variable.
23855 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23856 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23857 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23859 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23861 ($(objpfx)libpcprofile.so): Likewise.
23862 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23864 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23865 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23866 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23868 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23869 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23870 * login/Makefile ($(objpfx)libutil.so): Likewise.
23871 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23872 * math/Makefile ($(objpfx)libm.so): Likewise.
23873 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23874 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23875 variable instead of depending directly on libc.
23876 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23877 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23879 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23881 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23882 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23883 ($(objpfx)libanl.so): Likewise.
23884 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23886 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23888 * sysdeps/i386/fpu/Makefile: Remove file.
23889 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23890 ($(objpfx)libm.so): Remove dependency on ld.so.
23892 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23895 * nis/yp_xdr.c (XDRMAXNAME): Define.
23896 (XDRMAXRECORD): Define.
23897 (xdr_domainname): Use XDRMAXNAME.
23898 (xdr_mapname): Likewise.
23899 (xdr_peername): Likewise.
23900 (xdr_keydat): Use XDRMAXRECORD.
23901 (xdr_valdat): Likewise.
23903 2013-05-30 Jeff Law <law@redhat.com>
23906 * manual/errno.texi (ESTALE): Update to account for more than
23907 just NFS file systems.
23908 * sysdeps/gnu/errlist.c: Regenerated.
23910 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23913 * elf/Makefile (tests): Add tst-null-argv.
23914 (modules-names): Add tst-null-argv-lib.
23915 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23916 (tst-null-argv-ENV): Set environment for tst-null-argv.
23917 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23918 (RTLD_PROGNAME): New macro.
23919 * elf/tst-null-argv.c: New test case.
23920 * elf/tst-null-argv-lib.c: Library for test case.
23921 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23922 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23923 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23924 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23925 * elf/dl-init.c (call_init): Likewise.
23926 (_dl_init): Likewise.
23927 * elf/dl-load.c (print_search_path): Likewise.
23928 (_dl_map_object): Likewise.
23929 * elf/dl-lookup.c (do_lookup_x): Likewise.
23930 (add_dependency): Likewise.
23931 (_dl_lookup_symbol_x): Likewise.
23932 (_dl_debug_bindings): Likewise.
23933 * elf/dl-open.c (_dl_show_scope): Likewise.
23934 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23935 * elf/dl-version.c (match_symbol): Likewise.
23936 (_dl_check_map_versions): Likewise.
23937 * elf/rtld.c (dl_main): Likewise.
23938 (print_unresolved): Use RTLD_PROGNAME.
23939 (print_missing_version): Likewise.
23940 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23941 (elf_machine_rela): Likewise.
23942 * sysdeps/powerpc/powerpc32/dl-machine.c
23943 (__process_machine_rela): Likewise.
23944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23946 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23948 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23950 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23957 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23959 * po/be.po: Add descriptive title.
23960 * po/zh_CN.po: Likewise.
23961 * po/header.pot: Likewise.
23963 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23965 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23967 (enlarge_archive): Likewise.
23969 2013-05-28 Ben North <ben@redfrontdoor.org>
23971 * manual/arith.texi (frexp): It is the magnitude of the return
23972 value which lies in [0.5, 1), not the return value itself.
23974 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23978 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23980 * stdio-common/bug26.c (main): Correct fscanf template.
23982 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23983 declare _dl_skip_args.
23985 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23988 * manual/platform.texi: Add missing @end deftypefun.
23990 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23993 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23994 bit of mantissa of 2^16382.
23995 * math/libm-test.inc (hypot_test_data): Add more tests.
23997 * math/libm-test.inc: Add drem and pow10 to list of tested
23999 (pow10_test): New function.
24000 (drem_test): Likewise.
24001 (drem_test_tonearest): Likewise.
24002 (drem_test_towardzero): Likewise.
24003 (drem_test_downward): Likewise.
24004 (drem_test_upward): Likewise.
24005 (main): Call the new functions.
24007 * math/libm-test.inc (finite_test_data): Remove.
24008 (finite_test): Run tests from isfinite_test_data.
24009 (gamma_test_data): Remove.
24010 (gamma_test): Run tests from lgamma_test_data.
24011 * sysdeps/i386/fpu/libm-test-ulps: Update.
24012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24014 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24016 * manual/platform.texi: Add PowerPC PPR function set documentation.
24017 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24020 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24022 * math/libm-test.inc (MAX_EXP): Define.
24024 (ulp): New function.
24025 (check_float_internal): Use ULPDIFF.
24026 (cpow_test): Disable failing test.
24027 (check_ulp): Test ulp() implemetnation.
24028 (main): Call check_ulp before starting tests.
24030 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24032 * math/gen-libm-test.pl (generate_testfile): Do not handle
24033 START_DATA and END_DATA.
24034 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24036 (acos_tonearest_test_data): Likewise.
24037 (acos_towardzero_test_data): Likewise.
24038 (acos_downward_test_data): Likewise.
24039 (acos_upward_test_data): Likewise.
24040 (acosh_test_data): Likewise.
24041 (asin_test_data): Likewise.
24042 (asin_tonearest_test_data): Likewise.
24043 (asin_towardzero_test_data): Likewise.
24044 (asin_downward_test_data): Likewise.
24045 (asin_upward_test_data): Likewise.
24046 (asinh_test_data): Likewise.
24047 (atan_test_data): Likewise.
24048 (atanh_test_data): Likewise.
24049 (atan2_test_data): Likewise.
24050 (cabs_test_data): Likewise.
24051 (cacos_test_data): Likewise.
24052 (cacosh_test_data): Likewise.
24053 (carg_test_data): Likewise.
24054 (casin_test_data): Likewise.
24055 (casinh_test_data): Likewise.
24056 (catan_test_data): Likewise.
24057 (catanh_test_data): Likewise.
24058 (cbrt_test_data): Likewise.
24059 (ccos_test_data): Likewise.
24060 (ccosh_test_data): Likewise.
24061 (ceil_test_data): Likewise.
24062 (cexp_test_data): Likewise.
24063 (cimag_test_data): Likewise.
24064 (clog_test_data): Likewise.
24065 (clog10_test_data): Likewise.
24066 (conj_test_data): Likewise.
24067 (copysign_test_data): Likewise.
24068 (cos_test_data): Likewise.
24069 (cos_tonearest_test_data): Likewise.
24070 (cos_towardzero_test_data): Likewise.
24071 (cos_downward_test_data): Likewise.
24072 (cos_upward_test_data): Likewise.
24073 (cosh_test_data): Likewise.
24074 (cosh_tonearest_test_data): Likewise.
24075 (cosh_towardzero_test_data): Likewise.
24076 (cosh_downward_test_data): Likewise.
24077 (cosh_upward_test_data): Likewise.
24078 (cpow_test_data): Likewise.
24079 (cproj_test_data): Likewise.
24080 (creal_test_data): Likewise.
24081 (csin_test_data): Likewise.
24082 (csinh_test_data): Likewise.
24083 (csqrt_test_data): Likewise.
24084 (ctan_test_data): Likewise.
24085 (ctan_tonearest_test_data): Likewise.
24086 (ctan_towardzero_test_data): Likewise.
24087 (ctan_downward_test_data): Likewise.
24088 (ctan_upward_test_data): Likewise.
24089 (ctanh_test_data): Likewise.
24090 (ctanh_tonearest_test_data): Likewise.
24091 (ctanh_towardzero_test_data): Likewise.
24092 (ctanh_downward_test_data): Likewise.
24093 (ctanh_upward_test_data): Likewise.
24094 (erf_test_data): Likewise.
24095 (erfc_test_data): Likewise.
24096 (exp_test_data): Likewise.
24097 (exp_tonearest_test_data): Likewise.
24098 (exp_towardzero_test_data): Likewise.
24099 (exp_downward_test_data): Likewise.
24100 (exp_upward_test_data): Likewise.
24101 (exp10_test_data): Likewise.
24102 (exp2_test_data): Likewise.
24103 (expm1_test_data): Likewise.
24104 (fabs_test_data): Likewise.
24105 (fdim_test_data): Likewise.
24106 (finite_test_data): Likewise.
24107 (floor_test_data): Likewise.
24108 (fma_test_data): Likewise.
24109 (fma_towardzero_test_data): Likewise.
24110 (fma_downward_test_data): Likewise.
24111 (fma_upward_test_data): Likewise.
24112 (fmax_test_data): Likewise.
24113 (fmin_test_data): Likewise.
24114 (fmod_test_data): Likewise.
24115 (fpclassify_test_data): Likewise.
24116 (frexp_test_data): Likewise.
24117 (gamma_test_data): Likewise.
24118 (hypot_test_data): Likewise.
24119 (ilogb_test_data): Likewise.
24120 (isfinite_test_data): Likewise.
24121 (isgreater_test_data): Likewise.
24122 (isgreaterequal_test_data): Likewise.
24123 (isinf_test_data): Likewise.
24124 (isless_test_data): Likewise.
24125 (islessequal_test_data): Likewise.
24126 (islessgreater_test_data): Likewise.
24127 (isnan_test_data): Likewise.
24128 (isnormal_test_data): Likewise.
24129 (issignaling_test_data): Likewise.
24130 (isunordered_test_data): Likewise.
24131 (j0_test_data): Likewise.
24132 (j1_test_data): Likewise.
24133 (jn_test_data): Likewise.
24134 (ldexp_test_data): Likewise.
24135 (lgamma_test_data): Likewise.
24136 (lrint_test_data): Likewise.
24137 (lrint_tonearest_test_data): Likewise.
24138 (lrint_towardzero_test_data): Likewise.
24139 (lrint_downward_test_data): Likewise.
24140 (lrint_upward_test_data): Likewise.
24141 (llrint_test_data): Likewise.
24142 (llrint_tonearest_test_data): Likewise.
24143 (llrint_towardzero_test_data): Likewise.
24144 (llrint_downward_test_data): Likewise.
24145 (llrint_upward_test_data): Likewise.
24146 (log_test_data): Likewise.
24147 (log10_test_data): Likewise.
24148 (log1p_test_data): Likewise.
24149 (log2_test_data): Likewise.
24150 (logb_test_data): Likewise.
24151 (logb_downward_test_data): Likewise.
24152 (lround_test_data): Likewise.
24153 (llround_test_data): Likewise.
24154 (modf_test_data): Likewise.
24155 (nearbyint_test_data): Likewise.
24156 (nextafter_test_data): Likewise.
24157 (nexttoward_test_data): Likewise.
24158 (pow_test_data): Likewise.
24159 (pow_tonearest_test_data): Likewise.
24160 (pow_towardzero_test_data): Likewise.
24161 (pow_downward_test_data): Likewise.
24162 (pow_upward_test_data): Likewise.
24163 (remainder_test_data): Likewise.
24164 (remainder_tonearest_test_data): Likewise.
24165 (remainder_towardzero_test_data): Likewise.
24166 (remainder_downward_test_data): Likewise.
24167 (remainder_upward_test_data): Likewise.
24168 (remquo_test_data): Likewise.
24169 (rint_test_data): Likewise.
24170 (rint_tonearest_test_data): Likewise.
24171 (rint_towardzero_test_data): Likewise.
24172 (rint_downward_test_data): Likewise.
24173 (rint_upward_test_data): Likewise.
24174 (round_test_data): Likewise.
24175 (scalb_test_data): Likewise.
24176 (scalbn_test_data): Likewise.
24177 (scalbln_test_data): Likewise.
24178 (signbit_test_data): Likewise.
24179 (sin_test_data): Likewise.
24180 (sin_tonearest_test_data): Likewise.
24181 (sin_towardzero_test_data): Likewise.
24182 (sin_downward_test_data): Likewise.
24183 (sin_upward_test_data): Likewise.
24184 (sincos_test_data): Likewise.
24185 (sinh_test_data): Likewise.
24186 (sinh_tonearest_test_data): Likewise.
24187 (sinh_towardzero_test_data): Likewise.
24188 (sinh_downward_test_data): Likewise.
24189 (sinh_upward_test_data): Likewise.
24190 (sqrt_test_data): Likewise.
24191 (tan_test_data): Likewise.
24192 (tan_tonearest_test_data): Likewise.
24193 (tan_towardzero_test_data): Likewise.
24194 (tan_downward_test_data): Likewise.
24195 (tan_upward_test_data): Likewise.
24196 (tanh_test_data): Likewise.
24197 (tgamma_test_data): Likewise.
24198 (trunc_test_data): Likewise.
24199 (y0_test_data): Likewise.
24200 (y1_test_data): Likewise.
24201 (yn_test_data): Likewise.
24202 (significand_test_data): Likewise.
24204 * math/gen-libm-test.pl (@functions): Remove variable.
24205 (generate_testfile): Don't handle START and END lines.
24206 * math/libm-test.inc (START): New macro.
24208 (END_COMPLEX): Likewise.
24209 (acos_test): Use END macro without arguments.
24210 (acos_test_tonearest): Likewise.
24211 (acos_test_towardzero): Likewise.
24212 (acos_test_downward): Likewise.
24213 (acos_test_upward): Likewise.
24214 (acosh_test): Likewise.
24215 (asin_test): Likewise.
24216 (asin_test_tonearest): Likewise.
24217 (asin_test_towardzero): Likewise.
24218 (asin_test_downward): Likewise.
24219 (asin_test_upward): Likewise.
24220 (asinh_test): Likewise.
24221 (atan_test): Likewise.
24222 (atanh_test): Likewise.
24223 (atan2_test): Likewise.
24224 (cabs_test): Likewise.
24225 (cacos_test): Use END_COMPLEX macro without arguments.
24226 (cacosh_test): Likewise.
24227 (carg_test): Use END macro without arguments.
24228 (casin_test): Use END_COMPLEX macro without arguments.
24229 (casinh_test): Likewise.
24230 (catan_test): Likewise.
24231 (catanh_test): Likewise.
24232 (cbrt_test): Use END macro without arguments.
24233 (ccos_test): Use END_COMPLEX macro without arguments.
24234 (ccosh_test): Likewise.
24235 (ceil_test): Use END macro without arguments.
24236 (cexp_test): Use END_COMPLEX macro without arguments.
24237 (cimag_test): Use END macro without arguments.
24238 (clog_test): Use END_COMPLEX macro without arguments.
24239 (clog10_test): Likewise.
24240 (conj_test): Likewise.
24241 (copysign_test): Use END macro without arguments.
24242 (cos_test): Likewise.
24243 (cos_test_tonearest): Likewise.
24244 (cos_test_towardzero): Likewise.
24245 (cos_test_downward): Likewise.
24246 (cos_test_upward): Likewise.
24247 (cosh_test): Likewise.
24248 (cosh_test_tonearest): Likewise.
24249 (cosh_test_towardzero): Likewise.
24250 (cosh_test_downward): Likewise.
24251 (cosh_test_upward): Likewise.
24252 (cpow_test): Use END_COMPLEX macro without arguments.
24253 (cproj_test): Likewise.
24254 (creal_test): Use END macro without arguments.
24255 (csin_test): Use END_COMPLEX macro without arguments.
24256 (csinh_test): Likewise.
24257 (csqrt_test): Likewise.
24258 (ctan_test): Likewise.
24259 (ctan_test_tonearest): Likewise.
24260 (ctan_test_towardzero): Likewise.
24261 (ctan_test_downward): Likewise.
24262 (ctan_test_upward): Likewise.
24263 (ctanh_test): Likewise.
24264 (ctanh_test_tonearest): Likewise.
24265 (ctanh_test_towardzero): Likewise.
24266 (ctanh_test_downward): Likewise.
24267 (ctanh_test_upward): Likewise.
24268 (erf_test): Use END macro without arguments.
24269 (erfc_test): Likewise.
24270 (exp_test): Likewise.
24271 (exp_test_tonearest): Likewise.
24272 (exp_test_towardzero): Likewise.
24273 (exp_test_downward): Likewise.
24274 (exp_test_upward): Likewise.
24275 (exp10_test): Likewise.
24276 (exp2_test): Likewise.
24277 (expm1_test): Likewise.
24278 (fabs_test): Likewise.
24279 (fdim_test): Likewise.
24280 (finite_test): Likewise.
24281 (floor_test): Likewise.
24282 (fma_test): Likewise.
24283 (fma_test_towardzero): Likewise.
24284 (fma_test_downward): Likewise.
24285 (fma_test_upward): Likewise.
24286 (fmax_test): Likewise.
24287 (fmin_test): Likewise.
24288 (fmod_test): Likewise.
24289 (fpclassify_test): Likewise.
24290 (frexp_test): Likewise.
24291 (gamma_test): Likewise.
24292 (hypot_test): Likewise.
24293 (ilogb_test): Likewise.
24294 (isfinite_test): Likewise.
24295 (isgreater_test): Likewise.
24296 (isgreaterequal_test): Likewise.
24297 (isinf_test): Likewise.
24298 (isless_test): Likewise.
24299 (islessequal_test): Likewise.
24300 (islessgreater_test): Likewise.
24301 (isnan_test): Likewise.
24302 (isnormal_test): Likewise.
24303 (issignaling_test): Likewise.
24304 (isunordered_test): Likewise.
24305 (j0_test): Likewise.
24306 (j1_test): Likewise.
24307 (jn_test): Likewise.
24308 (ldexp_test): Likewise.
24309 (lgamma_test): Likewise.
24310 (lrint_test): Likewise.
24311 (lrint_test_tonearest): Likewise.
24312 (lrint_test_towardzero): Likewise.
24313 (lrint_test_downward): Likewise.
24314 (lrint_test_upward): Likewise.
24315 (llrint_test): Likewise.
24316 (llrint_test_tonearest): Likewise.
24317 (llrint_test_towardzero): Likewise.
24318 (llrint_test_downward): Likewise.
24319 (llrint_test_upward): Likewise.
24320 (log_test): Likewise.
24321 (log10_test): Likewise.
24322 (log1p_test): Likewise.
24323 (log2_test): Likewise.
24324 (logb_test): Likewise.
24325 (logb_test_downward): Likewise.
24326 (lround_test): Likewise.
24327 (llround_test): Likewise.
24328 (modf_test): Likewise.
24329 (nearbyint_test): Likewise.
24330 (nextafter_test): Likewise.
24331 (nexttoward_test): Likewise.
24332 (pow_test): Likewise.
24333 (pow_test_tonearest): Likewise.
24334 (pow_test_towardzero): Likewise.
24335 (pow_test_downward): Likewise.
24336 (pow_test_upward): Likewise.
24337 (remainder_test): Likewise.
24338 (remainder_test_tonearest): Likewise.
24339 (remainder_test_towardzero): Likewise.
24340 (remainder_test_downward): Likewise.
24341 (remainder_test_upward): Likewise.
24342 (remquo_test): Likewise.
24343 (rint_test): Likewise.
24344 (rint_test_tonearest): Likewise.
24345 (rint_test_towardzero): Likewise.
24346 (rint_test_downward): Likewise.
24347 (rint_test_upward): Likewise.
24348 (round_test): Likewise.
24349 (scalb_test): Likewise.
24350 (scalbn_test): Likewise.
24351 (scalbln_test): Likewise.
24352 (signbit_test): Likewise.
24353 (sin_test): Likewise.
24354 (sin_test_tonearest): Likewise.
24355 (sin_test_towardzero): Likewise.
24356 (sin_test_downward): Likewise.
24357 (sin_test_upward): Likewise.
24358 (sincos_test): Likewise.
24359 (sinh_test): Likewise.
24360 (sinh_test_tonearest): Likewise.
24361 (sinh_test_towardzero): Likewise.
24362 (sinh_test_downward): Likewise.
24363 (sinh_test_upward): Likewise.
24364 (sqrt_test): Likewise.
24365 (tan_test): Likewise.
24366 (tan_test_tonearest): Likewise.
24367 (tan_test_towardzero): Likewise.
24368 (tan_test_downward): Likewise.
24369 (tan_test_upward): Likewise.
24370 (tanh_test): Likewise.
24371 (tgamma_test): Likewise.
24372 (trunc_test): Likewise.
24373 (y0_test): Likewise.
24374 (y1_test): Likewise.
24375 (yn_test): Likewise.
24376 (significand_test): Likewise.
24378 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
24381 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24383 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24386 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24387 __ppc_mdoio and __ppc_mdoom.
24388 * manual/platform.texi: Document new functions __ppc_yield,
24389 __ppc_mdoio and __ppc_mdoom.
24391 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24393 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24394 (main): Mention "tls" pseudo-hwcap is legacy.
24395 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24397 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24399 * math/gen-libm-test.pl (parse_args): Output only string of
24400 arguments as text for test name, not full call or descriptions of
24401 tests for extra outputs.
24402 (generate_testfile): Do not pass function name to parse_args.
24403 Generate this_func variable from START.
24404 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24406 (struct test_ff_f_data): Likewise.
24407 (test_ff_f_data_nexttoward): Likewise.
24408 (struct test_fi_f_data): Likewise.
24409 (struct test_fl_f_data): Likewise.
24410 (struct test_if_f_data): Likewise.
24411 (struct test_fff_f_data): Likewise.
24412 (struct test_c_f_data): Likewise.
24413 (struct test_f_f1_data): Likewise. Remove field extra_name.
24414 (struct test_fF_f1_data): Likewise.
24415 (struct test_ffI_f1_data): Likewise.
24416 (struct test_c_c_data): Rename test_name field to arg_str.
24417 (struct test_cc_c_data): Likewise.
24418 (struct test_f_i_data): Likewise.
24419 (struct test_ff_i_data): Likewise.
24420 (struct test_f_l_data): Likewise.
24421 (struct test_f_L_data): Likewise.
24422 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24424 (COMMON_TEST_SETUP): New macro.
24425 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24426 (COMMON_TEST_CLEANUP): Likewise.
24427 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24428 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24430 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24431 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24433 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24434 (RUN_TEST_fff_f): Take argument string. Call new setup and
24436 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24437 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24439 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24440 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24442 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24443 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24445 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24446 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24448 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24449 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24451 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24452 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24454 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24455 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24457 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24458 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24460 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24461 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24463 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24464 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24466 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24467 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24469 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24470 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24472 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24473 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24475 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24476 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24478 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24479 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24481 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24483 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24485 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24486 to _sifields.sigfault.
24487 (si_addr_lsb): Define new macro.
24488 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24492 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24495 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24497 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24499 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24500 loading the domain.
24502 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24504 * math/gen-libm-test.pl (parse_args): Do not include expected
24505 result in test name.
24506 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24508 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24509 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24510 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24513 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24515 * benchtests/Makefile: Sort function entries.
24517 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24518 tanh, asinh, acosh, atanh.
24519 * benchtests/acos-inputs: New file.
24520 * benchtests/acosh-inputs: New file.
24521 * benchtests/asin-inputs: New file.
24522 * benchtests/asinh-inputs: New file.
24523 * benchtests/atanh-inputs: New file.
24524 * benchtests/cosh-inputs: New file.
24525 * benchtests/log-inputs: New file.
24526 * benchtests/sinh-inputs: New file.
24527 * benchtests/tanh-inputs: New file.
24529 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24532 * posix/tst-getaddrinfo4.c: New test.
24533 * posix/Makefile (tests): Add it.
24535 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24538 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24539 when no services were used.
24540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24541 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24543 2013-05-21 Andreas Schwab <schwab@suse.de>
24546 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24547 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24549 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24550 redundant variable declarations and reallocation of buffer when
24551 parsing as IPv6 address. Always set NSS status when called from
24552 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24553 buffer too small. Correct computation of needed size.
24554 * nss/Makefile (tests): Add test-digits-dots.
24555 * nss/test-digits-dots.c: New test.
24557 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24559 * benchtests/Makefile: Remove instructions for adding
24561 * benchtests/README: New file to explain how to execute and
24562 enhance the benchmark tests.
24564 2013-05-21 Andreas Schwab <schwab@suse.de>
24567 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24568 * setjmp/tst-sigsetjmp.c: New test.
24570 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24572 * sysdeps/x86_64/memset.S (memset): New implementation.
24573 (__bzero): Likewise.
24574 (__memset_tail): New function.
24576 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24578 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24579 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24580 __memcpy_sse2_unaligned ifunc selection.
24581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24582 Add memcpy-sse2-unaligned.S.
24583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24584 Add: __memcpy_sse2_unaligned.
24586 2013-05-19 Joseph Myers <joseph@codesourcery.com>
24589 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24590 math_force_eval before restoring floating-point envrionment.
24591 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24594 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24596 (__nearbyintl): Use math_force_eval before restoring
24597 floating-point environment.
24598 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24600 * math/gen-libm-test.pl (special_functions): Remove.
24601 (parse_args): Don't handle TEST_extra. Handle functions with no
24603 * math/libm-test.inc (struct test_sincos_data): Replace with
24604 struct test_fFF_11_data.
24605 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24606 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24607 (sincos_test_data): Change element type to struct
24608 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24609 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24610 RUN_TEST_LOOP_sincos.
24611 * math/README.libm-test: Don't mention special handling of
24612 individual functions.
24613 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24615 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24616 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24617 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24620 * math/gen-libm-test.pl (get_variable): Remove function.
24621 (parse_args): Don't show pointer parameters to call in test
24622 names. Use "extra output N" in test names for extra outputs
24623 rather than naming variables.
24625 2013-05-18 Joseph Myers <joseph@codesourcery.com>
24628 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24629 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24630 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24632 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24634 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24637 * math/gen-libm-test.pl (@tests): Remove variable.
24638 ($count): Likewise.
24639 (new_test): Remove function.
24640 (show_exceptions): New function.
24641 (special_functions): Use show_exceptions instead of new_test.
24642 (parse_args): Likewise.
24643 (generate_testfile): Pass only function name in generated call to
24644 print_max_error or print_complex_max_error.
24645 (get_ulps): Do not handle complex tests specially.
24646 (output_test): Rename to ...
24647 (get_all_ulps_for_test): ... this. Return a string rather than
24648 printing to a file. Require ulps to be present.
24649 (output_ulps): Generate arrays rather than #defines.
24650 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24651 (struct ulp_data): New type.
24652 (BUILD_COMPLEX_ULP): Remove macro.
24653 (compare_ulp_data): New function.
24654 (find_ulps): Likewise.
24655 (find_test_ulps): Likewise.
24656 (find_function_ulps): Likewise.
24657 (find_complex_function_ulps): Likewise.
24658 (print_max_error): Determine allowed ulps using
24659 find_function_ulps.
24660 (print_complex_max_error): Determine allowed ulps using
24661 find_complex_function_ulps.
24662 (check_float_internal): Determine max ulps using find_test_ulps.
24663 (check_float): Do not take max_ulp parameter. Update call to
24664 check_float_internal.
24665 (check_complex): Likewise.
24666 (check_int): Do not take max_ulp parameter.
24667 (check_long): Likewise.
24668 (check_bool): Likewise.
24669 (check_longlong): Likewise.
24670 (struct test_f_f_data): Remove max_ulp field.
24671 (struct test_ff_f_data): Likewise.
24672 (struct test_ff_f_data_nexttoward): Likewise.
24673 (struct test_fi_f_data): Likewise.
24674 (struct test_fl_f_data): Likewise.
24675 (struct test_if_f_data): Likewise.
24676 (struct test_fff_f_data): Likewise.
24677 (struct test_c_f_data): Likewise.
24678 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24679 (struct test_fF_f1_data): Likewise.
24680 (struct test_ffI_f1_data): Likewise.
24681 (struct test_c_c_data): Remove max_ulp field.
24682 (struct test_cc_c_data): Likewise.
24683 (struct test_f_i_data): Likewise.
24684 (struct test_ff_i_data): Likewise.
24685 (struct test_f_l_data): Likewise.
24686 (struct test_f_L_data): Likewise.
24687 (struct test_sincos_data): Likewise.
24688 (RUN_TEST_f_f): Do not handle ulps.
24689 (RUN_TEST_LOOP_f_f): Likewise.
24690 (RUN_TEST_2_f): Likewise.
24691 (RUN_TEST_LOOP_2_f): Likewise.
24692 (RUN_TEST_fff_f): Likewise.
24693 (RUN_TEST_LOOP_fff_f): Likewise.
24694 (RUN_TEST_c_f): Likewise.
24695 (RUN_TEST_LOOP_c_f): Likewise.
24696 (RUN_TEST_f_f1): Likewise.
24697 (RUN_TEST_LOOP_f_f1): Likewise.
24698 (RUN_TEST_fF_f1): Likewise.
24699 (RUN_TEST_LOOP_fF_f1): Likewise.
24700 (RUN_TEST_fI_f1): Likewise.
24701 (RUN_TEST_LOOP_fI_f1): Likewise.
24702 (RUN_TEST_ffI_f1): Likewise.
24703 (RUN_TEST_LOOP_ffI_f1): Likewise.
24704 (RUN_TEST_c_c): Likewise.
24705 (RUN_TEST_LOOP_c_c): Likewise.
24706 (RUN_TEST_cc_c): Likewise.
24707 (RUN_TEST_LOOP_cc_c): Likewise.
24708 (RUN_TEST_f_i): Likewise.
24709 (RUN_TEST_LOOP_f_i): Likewise.
24710 (RUN_TEST_f_i_tg): Likewise.
24711 (RUN_TEST_LOOP_f_i_tg): Likewise.
24712 (RUN_TEST_ff_i_tg): Likewise.
24713 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24714 (RUN_TEST_f_b): Likewise.
24715 (RUN_TEST_LOOP_f_b): Likewise.
24716 (RUN_TEST_f_b_tg): Likewise.
24717 (RUN_TEST_LOOP_f_b_tg): Likewise.
24718 (RUN_TEST_f_l): Likewise.
24719 (RUN_TEST_LOOP_f_l): Likewise.
24720 (RUN_TEST_f_L): Likewise.
24721 (RUN_TEST_LOOP_f_L): Likewise.
24722 (RUN_TEST_sincos): Likewise.
24723 (RUN_TEST_LOOP_sincos): Likewise.
24725 2013-05-17 Joseph Myers <joseph@codesourcery.com>
24729 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24730 main case of finite arguments, set rounding mode to FE_TONEAREST
24731 and discard exceptions.
24732 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24734 (remainder_tonearest_test_data): New variable.
24735 (remainder_test_tonearest): New function.
24736 (remainder_towardzero_test_data): New variable.
24737 (remainder_test_towardzero): New function.
24738 (remainder_downward_test_data): New variable.
24739 (remainder_test_downward): New function.
24740 (remainder_upward_test_data): New variable.
24741 (remainder_test_upward): New function.
24742 (main): Call the new test functions.
24744 * math/libm-test.inc (struct test_f_f1_data): Remove field
24746 (struct test_fF_f1_data): Likewise.
24747 (struct test_ffI_f1_data): Likewise.
24748 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24749 based on value of EXTRA_EXPECTED.
24750 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24751 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24752 EXTRA_VAR based on value of EXTRA_EXPECTED.
24753 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24754 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24755 EXTRA_VAR based on value of EXTRA_EXPECTED.
24756 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24757 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24758 EXTRA_VAR based on value of EXTRA_EXPECTED.
24759 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24760 * math/gen-libm-test.pl (parse_args): Don't output initializers
24761 for extra output values.
24763 * math/libm-test.inc (check_int): Expect result to be exactly
24764 equal to expected value and do not handle ulps.
24765 (check_long): Likewise.
24766 (check_longlong): Likewise.
24768 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24770 (cimag_test_data): Likewise.
24771 (conj_test_data): Likewise.
24772 (copysign_test_data): Likewise.
24773 (cproj_test_data): Likewise.
24774 (creal_test_data): Likewise.
24775 (fabs_test_data): Likewise.
24776 (fdim_test_data): Likewise.
24777 (finite_test_data): Likewise.
24778 (floor_test_data): Likewise.
24779 (fmax_test_data): Likewise.
24780 (fmin_test_data): Likewise.
24781 (fmod_test_data): Likewise.
24782 (fpclassify_test_data): Likewise.
24783 (frexp_test_data): Likewise.
24784 (ilogb_test_data): Likewise.
24785 (isfinite_test_data): Likewise.
24786 (isgreater_test_data): Likewise.
24787 (isgreaterequal_test_data): Likewise.
24788 (isinf_test_data): Likewise.
24789 (isless_test_data): Likewise.
24790 (islessequal_test_data): Likewise.
24791 (islessgreater_test_data): Likewise.
24792 (isnan_test_data): Likewise.
24793 (isnormal_test_data): Likewise.
24794 (issignaling_test_data): Likewise.
24795 (isunordered_test_data): Likewise.
24796 (ldexp_test_data): Likewise.
24797 (lrint_test_data): Likewise.
24798 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24799 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24800 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24801 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24802 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24803 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24805 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24806 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24807 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24808 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24810 (lrint_downward_test_data): Test for "inexact" exceptions.
24811 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24812 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24813 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24815 (lrint_upward_test_data): Test for "inexact" exceptions.
24816 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24818 (llrint_test_data): Test for "inexact" exceptions.
24819 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24820 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24821 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24822 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24823 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24824 (llrint_downward_test_data): Test for "inexact" exceptions.
24825 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24826 (llrint_upward_test_data): Test for "inexact" exceptions.
24827 (logb_test_data): Likewise.
24828 (logb_downward_test_data): Likewise.
24829 (nextafter_test_data): Likewise.
24830 (nexttoward_test_data): Likewise.
24831 (remainder_test_data): Likewise.
24832 (remquo_test_data): Likewise.
24833 (scalbn_test_data): Likewise.
24834 (scalbln_test_data): Likewise.
24835 (signbit_test_data): Likewise.
24836 (sqrt_test_data): Likewise.
24837 (significand_test_data): Likewise.
24839 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24842 * benchtests/bench-modf.c (struct args): Mark arg0 as
24844 * scripts/bench.pl: Mark members of struct args as volatile.
24846 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24849 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24850 negative infinity on POWER6 or lower.
24851 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24853 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24856 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24857 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24858 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24859 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24860 (_FP_SETQNAN): New macro.
24861 (_FP_SETQNAN_SEMIRAW): Likewise.
24862 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24863 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24864 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24865 (FP_EXTEND): Use _FP_FRAC_SNANP.
24866 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24867 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24869 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24871 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24874 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24876 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24877 with DIVIDE_BY_ZERO_EXCEPTION.
24878 (gamma_test_data): Likewise.
24879 (lgamma_test_data): Likewise.
24880 (log_test_data): Likewise.
24881 (log10_test_data): Likewise.
24882 (log2_test_data): Likewise.
24883 (tgamma_test_data): Likewise.
24885 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24886 (acos_test_tonearest): Likewise.
24887 (acos_test_towardzero): Likewise.
24888 (acos_test_downward): Likewise.
24889 (acos_test_upward): Likewise.
24890 (acosh_test): Likewise.
24891 (asin_test): Likewise.
24892 (asin_test_tonearest): Likewise.
24893 (asin_test_towardzero): Likewise.
24894 (asin_test_downward): Likewise.
24895 (asin_test_upward): Likewise.
24896 (asinh_test): Likewise.
24897 (atan_test): Likewise.
24898 (atanh_test): Likewise.
24899 (atan2_test): Likewise.
24900 (cabs_test): Likewise.
24901 (cacos_test): Likewise.
24902 (cacosh_test): Likewise.
24903 (casin_test): Likewise.
24904 (casinh_test): Likewise.
24905 (catan_test): Likewise.
24906 (catanh_test): Likewise.
24907 (cbrt_test): Likewise.
24908 (ccos_test): Likewise.
24909 (ccosh_test): Likewise.
24910 (cexp_test): Likewise.
24911 (clog_test): Likewise.
24912 (clog10_test): Likewise.
24913 (cos_test): Likewise.
24914 (cos_test_tonearest): Likewise.
24915 (cos_test_towardzero): Likewise.
24916 (cos_test_downward): Likewise.
24917 (cos_test_upward): Likewise.
24918 (cosh_test): Likewise.
24919 (cosh_test_tonearest): Likewise.
24920 (cosh_test_towardzero): Likewise.
24921 (cosh_test_downward): Likewise.
24922 (cosh_test_upward): Likewise.
24923 (cpow_test): Likewise.
24924 (csin_test): Likewise.
24925 (csinh_test): Likewise.
24926 (csqrt_test): Likewise.
24927 (ctan_test): Likewise.
24928 (ctan_test_tonearest): Likewise.
24929 (ctan_test_towardzero): Likewise.
24930 (ctan_test_downward): Likewise.
24931 (ctan_test_upward): Likewise.
24932 (ctanh_test): Likewise.
24933 (ctanh_test_tonearest): Likewise.
24934 (ctanh_test_towardzero): Likewise.
24935 (ctanh_test_downward): Likewise.
24936 (ctanh_test_upward): Likewise.
24937 (erf_test): Likewise.
24938 (erfc_test): Likewise.
24939 (exp_test): Likewise.
24940 (exp_test_tonearest): Likewise.
24941 (exp_test_towardzero): Likewise.
24942 (exp_test_downward): Likewise.
24943 (exp_test_upward): Likewise.
24944 (exp10_test): Likewise.
24945 (exp2_test): Likewise.
24946 (expm1_test): Likewise.
24947 (fmod_test): Likewise.
24948 (gamma_test): Likewise.
24949 (hypot_test): Likewise.
24950 (j0_test): Likewise.
24951 (j1_test): Likewise.
24952 (jn_test): Likewise.
24953 (lgamma_test): Likewise.
24954 (log_test): Likewise.
24955 (log10_test): Likewise.
24956 (log1p_test): Likewise.
24957 (log2_test): Likewise.
24958 (logb_test_downward): Likewise.
24959 (pow_test): Likewise.
24960 (pow_test_tonearest): Likewise.
24961 (pow_test_towardzero): Likewise.
24962 (pow_test_downward): Likewise.
24963 (pow_test_upward): Likewise.
24964 (remainder_test): Likewise.
24965 (remquo_test): Likewise.
24966 (sin_test): Likewise.
24967 (sin_test_tonearest): Likewise.
24968 (sin_test_towardzero): Likewise.
24969 (sin_test_downward): Likewise.
24970 (sin_test_upward): Likewise.
24971 (sincos_test): Likewise.
24972 (sinh_test): Likewise.
24973 (sinh_test_tonearest): Likewise.
24974 (sinh_test_towardzero): Likewise.
24975 (sinh_test_downward): Likewise.
24976 (sinh_test_upward): Likewise.
24977 (sqrt_test): Likewise.
24978 (tan_test): Likewise.
24979 (tan_test_tonearest): Likewise.
24980 (tan_test_towardzero): Likewise.
24981 (tan_test_downward): Likewise.
24982 (tan_test_upward): Likewise.
24983 (tanh_test): Likewise.
24984 (tgamma_test): Likewise.
24985 (y0_test): Likewise.
24986 (y1_test): Likewise.
24987 (yn_test): Likewise.
24989 * math/gen-libm-test.pl (adjust_arg): Remove function.
24990 (special_function): Remove argument $in_func. Only handle
24991 generating output for tables of tests, not inside functions.
24992 (parse_args): Likewise.
24993 (generate_testfile): Remove variable $in_func. Update call to
24995 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24996 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24997 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24998 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24999 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25000 (MAX_VALUE_INIT): Rename macro to max_value.
25001 (MIN_VALUE_INIT): Rename macro to min_value.
25002 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25003 (plus_zero): Remove variable.
25004 (minus_zero): Likewise.
25005 (plus_infty): Likewise.
25006 (minus_infty): Likewise.
25007 (qnan_value): Likewise.
25008 (max_value): Likewise.
25009 (min_value): Likewise.
25010 (min_subnorm_value): Likewise.
25012 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25014 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25015 uint64_t or uint32_t usage.
25016 * crypt/sha256-block.c: Likewise.
25017 * crypt/sha256-crypt.c: Likewise.
25018 * crypt/sha256.c: Likewise.
25019 * crypt/sha512-block.c: Likewise.
25020 * crypt/sha512-crypt.c: Likewise.
25021 * crypt/sha512.c: Likewise.
25022 * debug/backtrace-tst.c: Likewise.
25023 * debug/pcprofiledump.c: Likewise.
25024 * elf/cache.c: Likewise.
25025 * elf/dl-cache.c: Likewise.
25026 * elf/dl-misc.c: Likewise.
25027 * elf/dl-profile.c: Likewise.
25028 * elf/dl-support.c: Likewise.
25029 * elf/ldconfig.c: Likewise.
25030 * elf/sprof.c: Likewise.
25031 * iconv/dummy-repertoire.c: Likewise.
25032 * iconv/iconv_charmap.c: Likewise.
25033 * iconv/skeleton.c: Likewise.
25034 * iconvdata/8bit-generic.c: Likewise.
25035 * iconvdata/cp737.h: Likewise.
25036 * iconvdata/cp775.h: Likewise.
25037 * iconvdata/ibm1008.h: Likewise.
25038 * iconvdata/ibm1025.h: Likewise.
25039 * iconvdata/ibm1046.h: Likewise.
25040 * iconvdata/ibm1097.h: Likewise.
25041 * iconvdata/ibm1112.h: Likewise.
25042 * iconvdata/ibm1122.h: Likewise.
25043 * iconvdata/ibm1123.h: Likewise.
25044 * iconvdata/ibm1124.h: Likewise.
25045 * iconvdata/ibm1129.h: Likewise.
25046 * iconvdata/ibm1130.h: Likewise.
25047 * iconvdata/ibm1132.h: Likewise.
25048 * iconvdata/ibm1133.h: Likewise.
25049 * iconvdata/ibm1137.h: Likewise.
25050 * iconvdata/ibm1140.h: Likewise.
25051 * iconvdata/ibm1141.h: Likewise.
25052 * iconvdata/ibm1142.h: Likewise.
25053 * iconvdata/ibm1143.h: Likewise.
25054 * iconvdata/ibm1144.h: Likewise.
25055 * iconvdata/ibm1145.h: Likewise.
25056 * iconvdata/ibm1146.h: Likewise.
25057 * iconvdata/ibm1147.h: Likewise.
25058 * iconvdata/ibm1148.h: Likewise.
25059 * iconvdata/ibm1149.h: Likewise.
25060 * iconvdata/ibm1153.h: Likewise.
25061 * iconvdata/ibm1154.h: Likewise.
25062 * iconvdata/ibm1155.h: Likewise.
25063 * iconvdata/ibm1156.h: Likewise.
25064 * iconvdata/ibm1157.h: Likewise.
25065 * iconvdata/ibm1158.h: Likewise.
25066 * iconvdata/ibm1160.h: Likewise.
25067 * iconvdata/ibm1161.h: Likewise.
25068 * iconvdata/ibm1162.h: Likewise.
25069 * iconvdata/ibm1163.h: Likewise.
25070 * iconvdata/ibm1164.h: Likewise.
25071 * iconvdata/ibm1166.h: Likewise.
25072 * iconvdata/ibm1167.h: Likewise.
25073 * iconvdata/ibm12712.h: Likewise.
25074 * iconvdata/ibm1390.h: Likewise.
25075 * iconvdata/ibm1399.h: Likewise.
25076 * iconvdata/ibm16804.h: Likewise.
25077 * iconvdata/ibm4517.h: Likewise.
25078 * iconvdata/ibm4899.h: Likewise.
25079 * iconvdata/ibm4909.h: Likewise.
25080 * iconvdata/ibm4971.h: Likewise.
25081 * iconvdata/ibm5347.h: Likewise.
25082 * iconvdata/ibm803.h: Likewise.
25083 * iconvdata/ibm856.h: Likewise.
25084 * iconvdata/ibm901.h: Likewise.
25085 * iconvdata/ibm902.h: Likewise.
25086 * iconvdata/ibm9030.h: Likewise.
25087 * iconvdata/ibm9066.h: Likewise.
25088 * iconvdata/ibm921.h: Likewise.
25089 * iconvdata/ibm922.h: Likewise.
25090 * iconvdata/ibm9448.h: Likewise.
25091 * iconvdata/isiri-3342.h: Likewise.
25092 * iconvdata/jis0201.h: Likewise.
25093 * include/link.h: Likewise.
25094 * include/netdb.h: Likewise.
25095 * inet/check_native.c: Likewise.
25096 * inet/check_pf.c: Likewise.
25097 * inet/getipv4sourcefilter.c: Likewise.
25098 * inet/getnameinfo.c: Likewise.
25099 * inet/getsourcefilter.c: Likewise.
25100 * inet/htonl.c: Likewise.
25101 * inet/setipv4sourcefilter.c: Likewise.
25102 * inet/setsourcefilter.c: Likewise.
25103 * inet/test-inet6_opt.c: Likewise.
25104 * inet/tst-network.c: Likewise.
25105 * locale/C-collate.c: Likewise.
25106 * locale/C-ctype.c: Likewise.
25107 * locale/C-time.c: Likewise.
25108 * locale/C-translit.h: Likewise.
25109 * locale/loadarchive.c: Likewise.
25110 * locale/programs/3level.h: Likewise.
25111 * locale/programs/charmap.c: Likewise.
25112 * locale/programs/charmap.h: Likewise.
25113 * locale/programs/ld-address.c: Likewise.
25114 * locale/programs/ld-collate.c: Likewise.
25115 * locale/programs/ld-ctype.c: Likewise.
25116 * locale/programs/ld-identification.c: Likewise.
25117 * locale/programs/ld-measurement.c: Likewise.
25118 * locale/programs/ld-messages.c: Likewise.
25119 * locale/programs/ld-monetary.c: Likewise.
25120 * locale/programs/ld-name.c: Likewise.
25121 * locale/programs/ld-numeric.c: Likewise.
25122 * locale/programs/ld-paper.c: Likewise.
25123 * locale/programs/ld-telephone.c: Likewise.
25124 * locale/programs/ld-time.c: Likewise.
25125 * locale/programs/linereader.c: Likewise.
25126 * locale/programs/locale.c: Likewise.
25127 * locale/programs/locarchive.c: Likewise.
25128 * locale/programs/locfile.h: Likewise.
25129 * locale/programs/repertoire.c: Likewise.
25130 * locale/programs/simple-hash.c: Likewise.
25131 * locale/programs/simple-hash.h: Likewise.
25132 * malloc/memusage.c: Likewise.
25133 * malloc/memusagestat.c: Likewise.
25134 * nis/nis_defaults.c: Likewise.
25135 * nis/nis_hash.c: Likewise.
25136 * nis/nis_print.c: Likewise.
25137 * nis/nis_xdr.c: Likewise.
25138 * nscd/connections.c: Likewise.
25139 * nscd/hstcache.c: Likewise.
25140 * nscd/nscd_gethst_r.c: Likewise.
25141 * nscd/nscd_getserv_r.c: Likewise.
25142 * nscd/nscd_helper.c: Likewise.
25143 * nscd/servicescache.c: Likewise.
25144 * nss/makedb.c: Likewise.
25145 * nss/nss_db/db-XXX.c: Likewise.
25146 * nss/nss_db/db-initgroups.c: Likewise.
25147 * nss/nss_db/db-netgrp.c: Likewise.
25148 * nss/nss_files/files-network.c: Likewise.
25149 * nss/nss_files/files-parse.c: Likewise.
25150 * posix/bug-regex5.c: Likewise.
25151 * posix/fnmatch_loop.c: Likewise.
25152 * posix/regcomp.c: Likewise.
25153 * posix/regexec.c: Likewise.
25154 * posix/tst-rfc3484-2.c: Likewise.
25155 * posix/tst-rfc3484-3.c: Likewise.
25156 * posix/tst-rfc3484.c: Likewise.
25157 * resolv/nss_dns/dns-canon.c: Likewise.
25158 * resolv/nss_dns/dns-network.c: Likewise.
25159 * resolv/res_init.c: Likewise.
25160 * resolv/res_mkquery.c: Likewise.
25161 * resolv/tst-aton.c: Likewise.
25162 * stdlib/cxa_atexit.c: Likewise.
25163 * stdlib/cxa_finalize.c: Likewise.
25164 * stdlib/gen-fpioconst.c: Likewise.
25165 * stdlib/strtol_l.c: Likewise.
25166 * string/tst-endian.c: Likewise.
25167 * sunrpc/auth_des.c: Likewise.
25168 * sunrpc/clnt_udp.c: Likewise.
25169 * sunrpc/rtime.c: Likewise.
25170 * sunrpc/svcauth_des.c: Likewise.
25171 * sunrpc/xdr.c: Likewise.
25172 * sunrpc/xdr_intXX_t.c: Likewise.
25173 * sunrpc/xdr_rec.c: Likewise.
25174 * sysdeps/generic/ldconfig.h: Likewise.
25175 * sysdeps/generic/ldsodefs.h: Likewise.
25176 * sysdeps/generic/memusage.h: Likewise.
25177 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25178 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25179 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25180 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25181 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25184 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25187 * sysdeps/posix/getaddrinfo.c: Likewise.
25188 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25190 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25191 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25192 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25193 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25194 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25195 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25196 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25197 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25198 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25199 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25200 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25201 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25202 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25203 * sysdeps/x86_64/dl-tls.h: Likewise.
25204 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25205 * time/alt_digit.c: Likewise.
25206 * time/era.c: Likewise.
25207 * wcsmbs/tst-c16c32-1.c: Likewise.
25209 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25211 * math/libm-test.inc (struct test_sincos_data): New type.
25212 (RUN_TEST_LOOP_sincos): New macro.
25213 (sincos_test_data): New variable.
25214 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25216 2013-05-16 Richard Henderson <rth@redhat.com>
25218 * math/atest-exp2.c (LIMB64): New macro.
25219 (CONSTSZ): New macro.
25220 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25222 (print_mpn_fp): ... to function scope.
25223 (read_mpn_hex): Remove.
25224 (get_log2): Remove.
25225 (exp2_mpn): Use mp_log2.
25226 (main): Use mp_exp1.
25228 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25230 * math/libm-test.inc: Remove comment about not testing "inexact"
25232 (INEXACT_EXCEPTION): New macro.
25233 (NO_INEXACT_EXCEPTION): Likewise.
25234 (INVALID_EXCEPTION_OK): Update value.
25235 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25236 (OVERFLOW_EXCEPTION_OK): Likewise.
25237 (UNDERFLOW_EXCEPTION_OK): Likewise.
25238 (IGNORE_ZERO_INF_SIGN): Likewise.
25239 (ERRNO_UNCHANGED): Likewise.
25240 (ERRNO_EDOM): Likewise.
25241 (ERRNO_ERANGE): Likewise.
25242 (test_exceptions): Handle testing "inexact" exceptions.
25243 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25244 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25245 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25246 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25248 (rint_towardzero_test_data): Likewise.
25249 (rint_downward_test_data): Likewise.
25250 (rint_upward_test_data): Likewise.
25252 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25253 with OVERFLOW_EXCEPTION.
25254 (exp10_test_data): Likewise.
25255 (exp2_test_data): Likewise.
25256 (expm1_test_data): Likewise.
25257 (lgamma_test_data): Likewise.
25258 (pow_test_data): Likewise.
25259 (tgamma_test_data): Likewise.
25260 (yn_test_data): Remove duplicate test of overflow.
25262 * math/libm-test.inc (struct test_cc_c_data): New type.
25263 (RUN_TEST_LOOP_cc_c): New macro.
25264 (cpow_test_data): New variable.
25265 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25267 * math/libm-test.inc (struct test_f_L_data): New type.
25268 (RUN_TEST_LOOP_f_L): New macro.
25269 (llrint_test_data): New variable.
25270 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25271 (llrint_tonearest_test_data): New variable.
25272 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25273 (llrint_towardzero_test_data): New variable.
25274 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25275 (llrint_downward_test_data): New variable.
25276 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25277 (llrint_upward_test_data): New variable.
25278 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25279 (llround_test_data): New variable.
25280 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25282 2013-05-13 Peter Collingbourne <pcc@google.com>
25284 * math/atest-exp2.c (get_log2): Remove const attribute.
25286 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25288 * math/libm-test.inc (struct test_f_l_data): New type.
25289 (RUN_TEST_LOOP_f_l): New macro.
25290 (lrint_test_data): New variable.
25291 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25292 (lrint_tonearest_test_data): New variable.
25293 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25294 (lrint_towardzero_test_data): New variable.
25295 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25296 (lrint_downward_test_data): New variable.
25297 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25298 (lrint_upward_test_data): New variable.
25299 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25300 (lround_test_data): New variable.
25301 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25303 2013-05-15 Peter Collingbourne <pcc@google.com>
25305 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25306 (EXTRACT_WORDS64) Use where appropriate.
25307 (INSERT_WORDS64) Likewise.
25309 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25310 constraints with x constraints.
25311 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25313 * malloc/obstack.c (_obstack_compat): Add initializer.
25315 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25317 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25318 si_trapno and add si_addr_lsb to _sifields.sigfault.
25319 (si_trapno): Remove macro.
25320 (si_addr_lsb): Define new macro.
25321 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25323 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25325 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25326 instead of TEST_f_l.
25327 (llrint_test_tonearest): Likewise.
25328 (llrint_test_towardzero): Likewise.
25329 (llrint_test_downward): Likewise.
25330 (llrint_test_upward): Likewise.
25331 (llround_test): Likewise.
25333 * math/libm-test.inc (struct test_f_i_data): Add comment.
25334 (RUN_TEST_LOOP_f_b): New macro.
25335 (RUN_TEST_LOOP_f_b_tg): Likewise.
25336 (finite_test_data): New variable.
25337 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25338 (isfinite_test_data): New variable.
25339 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25340 (isinf_test_data): New variable.
25341 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25342 (isnan_test_data): New variable.
25343 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25344 (isnormal_test_data): New variable.
25345 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25346 (issignaling_test_data): New variable.
25347 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25348 (signbit_test_data): New variable.
25349 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25351 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25352 with INVALID_EXCEPTION.
25353 (acosh_test_data): Likewise.
25354 (asin_test_data): Likewise.
25355 (atanh_test_data): Likewise.
25356 (fmod_test_data): Likewise.
25357 (log_test_data): Likewise.
25358 (log10_test_data): Likewise.
25359 (log2_test_data): Likewise.
25360 (pow_test_data): Likewise.
25361 (sqrt_test_data): Likewise.
25362 (y0_test_data): Likewise.
25363 (y1_test_data): Likewise.
25364 (yn_test_data): Likewise.
25366 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25369 * math/libm-test.inc (struct test_ff_i_data): New type.
25370 (RUN_TEST_LOOP_ff_i_tg): New macro.
25371 (isgreater_test_data): New variable.
25372 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25373 (isgreaterequal_test_data): New variable.
25374 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25375 (isless_test_data): New variable.
25376 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25377 (islessequal_test_data): New variable.
25378 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25379 (islessgreater_test_data): New variable.
25380 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25381 (isunordered_test_data): New variable.
25382 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25384 2013-05-14 David S. Miller <davem@davemloft.net>
25386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25388 2013-05-14 Joseph Myers <joseph@codesourcery.com>
25390 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25392 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25394 (struct test_f_i_data): Change type of max_ulp to int.
25396 * math/libm-test.inc (test_ffI_f1_data): New type.
25397 (RUN_TEST_LOOP_ffI_f1): New macro.
25398 (remquo_test_data): New variable.
25399 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25401 * setjmp/tst-setjmp-fp.c: New file.
25402 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25403 (link-libm): New variable.
25404 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25406 * math/libm-test.inc (struct test_f_i_data): New type.
25407 (RUN_TEST_LOOP_f_i): New macro.
25408 (RUN_TEST_LOOP_f_i_tg): Likewise.
25409 (fpclassify_test_data): New variable.
25410 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25411 (ilogb_test_data): New variable.
25412 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25414 * math/libm-test.inc (scalbln_test): Correct function name in END
25417 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25418 (RUN_TEST_LOOP_fI_f1): New macro.
25419 (frexp_test_data): New variable.
25420 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25422 * math/libm-test.inc (struct test_fF_f1_data): New type.
25423 (RUN_TEST_LOOP_fF_f1): New macro.
25424 (modf_test_data): New variable.
25425 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25427 * math/libm-test.inc (struct test_f_f1_data): New type.
25428 (RUN_TEST_LOOP_f_f1): New macro.
25429 (gamma_test_data): New variable.
25430 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25431 (lgamma_test_data): New variable.
25432 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25434 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25436 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25437 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25438 (main): Comment "tls" pseudo-hwcap.
25440 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25442 * math/libm-test.inc (struct test_fl_f_data): New type.
25443 (RUN_TEST_LOOP_fl_f): New variable.
25444 (scalbln_test_data): New variable.
25445 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25447 * math/libm-test.inc (struct test_fi_f_data): New type.
25448 (RUN_TEST_LOOP_fi_f): New macro.
25449 (ldexp_test_data): New variable.
25450 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25451 (scalbn_test_data): New variable.
25452 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25454 * math/libm-test.inc (struct test_c_f_data): New type.
25455 (RUN_TEST_LOOP_c_f): New macro.
25456 (cabs_test_data): New variable.
25457 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25458 (carg_test_data): New variable.
25459 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25460 (cimag_test_data): New variable.
25461 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25462 (creal_test_data): New variable.
25463 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25465 * math/libm-test.inc (struct test_if_f_data): New type.
25466 (RUN_TEST_LOOP_if_f): New macro.
25467 (jn_test_data): New variable.
25468 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25469 (yn_test_data): New variable.
25470 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25472 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25474 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25476 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25477 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25479 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25481 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25482 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25483 (bench-deps): Add bench-timing.h.
25484 * benchtests-bench-skeleton.c: Include bench-timing.h.
25485 (main): Use TIMING_* macros instead of clock_gettime.
25486 * benchtests/bench-timing.h: New file.
25489 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25490 Renamed from _LIB_VERSION.
25491 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25493 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25495 * math/libm-test.inc (struct test_fff_f_data): New type.
25496 (RUN_TEST_LOOP_fff_f): New macro.
25497 (fma_test_data): New variable.
25498 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25499 (fma_towardzero_test_data): New variable.
25500 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25501 (fma_downward_test_data): New variable.
25502 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25503 (fma_upward_test_data): New variable.
25504 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25506 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25507 (struct test_c_c_data): New type.
25508 (RUN_TEST_LOOP_c_c): New macro.
25509 (cacos_test_data): New variable.
25510 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25511 (cacosh_test_data): New variable.
25512 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25513 (casin_test_data): New variable.
25514 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25515 (casinh_test_data): New variable.
25516 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25517 (catan_test_data): New variable.
25518 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25519 (catanh_test_data): New variable.
25520 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25521 (ccos_test_data): New variable.
25522 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25523 (ccosh_test_data): New variable.
25524 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25525 (cexp_test_data): New variable.
25526 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25527 (clog_test_data): New variable.
25528 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25529 (clog10_test_data): New variable.
25530 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25531 (conj_test_data): New variable.
25532 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25533 (cproj_test_data): New variable.
25534 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25535 (csin_test_data): New variable.
25536 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25537 (csinh_test_data): New variable.
25538 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25539 (csqrt_test_data): New variable.
25540 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25541 (ctan_test_data): New variable.
25542 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25543 (ctan_tonearest_test_data): New variable.
25544 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25545 (ctan_towardzero_test_data): New variable.
25546 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25547 (ctan_downward_test_data): New variable.
25548 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25549 (ctan_upward_test_data): New variable.
25550 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25551 (ctanh_test_data): New variable.
25552 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25553 (ctanh_tonearest_test_data): New variable.
25554 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25555 (ctanh_towardzero_test_data): New variable.
25556 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25557 (ctanh_downward_test_data): New variable.
25558 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25559 (ctanh_upward_test_data): New variable.
25560 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25561 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25564 * math/libm-test.inc (struct test_ff_f_data): New type.
25565 (struct test_ff_f_data_nexttoward): Likewise.
25566 (RUN_TEST_LOOP_2_f): New macro.
25567 (RUN_TEST_LOOP_ff_f): Likewise.
25568 (atan2_test_data): New variable.
25569 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25570 (copysign_test_data): New variable.
25571 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25572 (fdim_test_data): New variable.
25573 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25574 (fmax_test_data): New variable.
25575 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25576 (fmin_test_data): New variable.
25577 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25578 (fmod_test_data): New variable.
25579 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25580 (hypot_test_data): New variable.
25581 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25582 (nextafter_test_data): New variable.
25583 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25584 (nexttoward_test_data): New variable.
25585 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25586 (pow_test_data): New variable.
25587 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25588 (pow_tonearest_test_data): New variable.
25589 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25590 (pow_towardzero_test_data): New variable.
25591 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25592 (pow_downward_test_data): New variable.
25593 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25594 (pow_upward_test_data): New variable.
25595 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25596 (remainder_test_data): New variable.
25597 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25598 (scalb_test_data): New variable.
25599 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25600 * sysdeps/i386/fpu/libm-test-ulps: Update.
25602 2013-05-11 Joseph Myers <joseph@codesourcery.com>
25604 * math/libm-test.inc (fma_test): Use max_value instead of local
25606 (nextafter_test): Likewise.
25608 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25609 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25610 (acos_downward_test_data): New variable.
25611 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25612 (acos_upward_test_data): New variable.
25613 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25614 (acosh_test_data): New variable.
25615 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25616 (asin_test_data): New variable.
25617 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25618 (asin_tonearest_test_data): New variable.
25619 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25620 (asin_towardzero_test_data): New variable.
25621 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25622 (asin_downward_test_data): New variable.
25623 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25624 (asin_upward_test_data): New variable.
25625 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25626 (asinh_test_data): New variable.
25627 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25628 (atan_test_data): New variable.
25629 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25630 (atanh_test_data): New variable.
25631 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25632 (cbrt_test_data): New variable.
25633 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25634 (ceil_test_data): New variable.
25635 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25636 (cos_test_data): New variable.
25637 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25638 (cos_tonearest_test_data): New variable.
25639 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25640 (cos_towardzero_test_data): New variable.
25641 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25642 (cos_downward_test_data): New variable.
25643 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25644 (cos_upward_test_data): New variable.
25645 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25646 (cosh_test_data): New variable.
25647 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25648 (cosh_tonearest_test_data): New variable.
25649 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25650 (cosh_towardzero_test_data): New variable.
25651 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25652 (cosh_downward_test_data): New variable.
25653 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25654 (cosh_upward_test_data): New variable.
25655 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25656 (erf_test_data): New variable.
25657 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25658 (erfc_test_data): New variable.
25659 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25660 (exp_test_data): New variable.
25661 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25662 (exp_tonearest_test_data): New variable.
25663 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25664 (exp_towardzero_test_data): New variable.
25665 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25666 (exp_downward_test_data): New variable.
25667 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25668 (exp_upward_test_data): New variable.
25669 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25670 (exp10_test_data): New variable.
25671 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25672 (exp2_test_data): New variable.
25673 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25674 (expm1_test_data): New variable.
25675 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25676 (fabs_test_data): New variable.
25677 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25678 (floor_test_data): New variable.
25679 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25680 (j0_test_data): New variable.
25681 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25682 (j1_test_data): New variable.
25683 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25684 (log_test_data): New variable.
25685 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25686 (log10_test_data): New variable.
25687 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25688 (log1p_test_data): New variable.
25689 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25690 (log2_test_data): New variable.
25691 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25692 (logb_test_data): New variable.
25693 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25694 (logb_downward_test_data): New variable.
25695 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25696 (nearbyint_test_data): New variable.
25697 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25698 (rint_test_data): New variable.
25699 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25700 (rint_tonearest_test_data): New variable.
25701 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25702 (rint_towardzero_test_data): New variable.
25703 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25704 (rint_downward_test_data): New variable.
25705 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25706 (rint_upward_test_data): New variable.
25707 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25708 (round_test_data): New variable.
25709 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25710 (sin_test_data): New variable.
25711 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25712 (sin_tonearest_test_data): New variable.
25713 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25714 (sin_towardzero_test_data): New variable.
25715 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25716 (sin_downward_test_data): New variable.
25717 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25718 (sin_upward_test_data): New variable.
25719 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25720 (sinh_test_data): New variable.
25721 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25722 (sinh_tonearest_test_data): New variable.
25723 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25724 (sinh_towardzero_test_data): New variable.
25725 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25726 (sinh_downward_test_data): New variable.
25727 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25728 (sinh_upward_test_data): New variable.
25729 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25730 (sqrt_test_data): New variable.
25731 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25732 (tan_test_data): New variable.
25733 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25734 (tan_tonearest_test_data): New variable.
25735 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25736 (tan_towardzero_test_data): New variable.
25737 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25738 (tan_downward_test_data): New variable.
25739 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25740 (tan_upward_test_data): New variable.
25741 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25742 (tanh_test_data): New variable.
25743 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25744 (tgamma_test_data): New variable.
25745 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25746 (trunc_test_data): New variable.
25747 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25748 (y0_test_data): New variable.
25749 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25750 (y1_test_data): New variable.
25751 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25752 (significand_test_data): New variable.
25753 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25755 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25758 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25760 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25762 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25764 2013-05-10 Andreas Jaeger <aj@suse.de>
25767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25768 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25770 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25772 * math/gen-libm-test.pl (adjust_arg): New function.
25773 (special_functions): Handle generating output in both functions
25775 (parse_args): Likewise.
25776 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25777 $in_func argument to parse_args.
25778 * math/libm-test.inc (struct test_f_f_data): New type.
25779 (IF_ROUND_INIT_): New macro.
25780 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25781 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25782 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25783 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25784 (ROUND_RESTORE_): Likewise.
25785 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25786 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25787 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25788 (ROUND_RESTORE_FE_UPWARD): Likewise.
25789 (RUN_TEST_LOOP_f_f): New macro.
25790 (acos_test_data): New variable.
25791 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25792 (acos_tonearest_test_data): New variable.
25793 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25795 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25797 * benchtests/bench-skeleton.c (startup): Fix coding style.
25799 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25802 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25803 negative infinity argument.
25804 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25805 negative infinity argument.
25806 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25807 negative infinity argument.
25808 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25811 2013-05-10 Florian Weimer <fweimer@redhat.com>
25813 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25814 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25815 * iconv/iconv_prog.c (main): Likewise.
25816 * locale/programs/charmap-dir.c (charmap_readdir)
25817 (fopen_uncompressed): Likewise.
25818 * locale/programs/locfile.c (siblings_uncached)
25819 (write_locale_data): Use lstat64 instead of lstat.
25820 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25823 2013-05-10 Andreas Jaeger <aj@suse.de>
25826 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25828 Include <locale.h>.
25830 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25832 * elf/dl-close.c (_dl_close_worker): Add comments.
25834 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25837 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25839 (__ieee754_rem_pio2l): Update comments.
25842 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25844 (__ieee754_rem_pio2l): Update comments.
25846 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25847 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25849 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25852 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25853 (M_PI_34_LOG10El): Likewise.
25854 (M_PI2_LOG10El): Likewise.
25855 (M_PI4_LOG10El): Likewise.
25856 (M_PI_LOG10El): Likewise.
25858 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25862 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25864 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25865 (MINUS_ZERO_INIT): Likewise.
25866 (PLUS_INFTY_INIT): Likewise.
25867 (MINUS_INFTY_INIT): Likewise.
25868 (QNAN_VALUE_INIT): Likewise.
25869 (MAX_VALUE_INIT): Likewise.
25870 (MIN_VALUE_INIT): Likewise.
25871 (MIN_SUBNORM_VALUE_INIT): Likewise.
25872 (plus_zero): Initialize with PLUS_ZERO_INIT.
25873 (minus_zero): Initialize with MINUS_ZERO_INIT.
25874 (plus_infty): Initialize with PLUS_INFTY_INIT.
25875 (minus_infty): Initialize with MINUS_INFTY_INIT.
25876 (qnan_value): Initialize with QNAN_VALUE_INIT.
25877 (max_value): Initialize with MAX_VALUE_INIT.
25878 (min_value): Initialize with MIN_VALUE_INIT.
25879 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25881 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25882 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25883 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25884 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25886 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25887 (RUN_TEST_2_f): Likewise.
25888 (RUN_TEST_ff_f): Likewise.
25889 (RUN_TEST_fi_f): Likewise.
25890 (RUN_TEST_fl_f): Likewise.
25891 (RUN_TEST_fff_f): Likewise.
25892 (RUN_TEST_c_f): Likewise.
25893 (RUN_TEST_f_f1): Likewise.
25894 (RUN_TEST_fF_f1): Likewise.
25895 (RUN_TEST_fI_f1): Likewise.
25896 (RUN_TEST_ffI_f1): Likewise.
25897 (RUN_TEST_c_c): Likewise.
25898 (RUN_TEST_cc_c): Likewise.
25899 (RUN_TEST_f_i): Likewise.
25900 (RUN_TEST_f_i_tg): Likewise.
25901 (RUN_TEST_ff_i_tg): Likewise.
25902 (RUN_TEST_f_b): Likewise.
25903 (RUN_TEST_f_b_tg): Likewise.
25904 (RUN_TEST_f_l): Likewise.
25905 (RUN_TEST_f_L): Likewise.
25906 (RUN_TEST_sincos): Likewise.
25907 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25908 whether to show exceptions. Do not include ");\n" in return
25910 (special_functions): Output call to RUN_TEST_sincos instead of
25911 check_float calls. Update calls to new_test.
25912 (parse_args): Output call to single RUN_TEST_* macro instead of
25913 check_* calls and other assignments. Update calls to new_test.
25919 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25920 input to result for tgamma overflow.
25921 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25922 (gamma_coeff): New variable.
25923 (NCOEFF): New macro.
25924 (gamma_positive): New function.
25925 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25926 underflow here. Use gamma_positive instead of exp (lgamma) for
25928 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25929 (gamma_coeff): New variable.
25930 (NCOEFF): New macro.
25931 (gammaf_positive): New function.
25932 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25933 underflow here. Use gamma_positive instead of exp (lgamma) for
25935 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25936 (gamma_coeff): New variable.
25937 (NCOEFF): New macro.
25938 (gammal_positive): New function.
25939 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25940 underflow here. Use gamma_positive instead of exp (lgamma) for
25942 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25943 (gamma_coeff): New variable.
25944 (NCOEFF): New macro.
25945 (gammal_positive): New function.
25946 (__ieee754_gammal_r): Handle positive infinity, overflow and
25947 underflow here. Handle NaN the same as positive infinity. Remove
25948 check x < 0xffffffff for negative integers. Use gamma_positive
25949 instead of exp (lgamma) for other arguments.
25950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25951 (gamma_coeff): New variable.
25952 (NCOEFF): New macro.
25953 (gammal_positive): New function.
25954 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25955 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25956 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25957 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25958 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25959 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25960 * sysdeps/generic/math_private.h (__gamma_productf): New
25962 (__gamma_product): Likewise.
25963 (__gamma_productl): Likewise.
25964 * math/Makefile (libm-calls): Add gamma_product.
25965 * math/libm-test.inc (tgamma_test): Add more tests.
25966 * sysdeps/i386/fpu/libm-test-ulps: Update.
25967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25969 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25971 * benchtests/bench-skeleton.c (main): Preheat CPU.
25973 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25975 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25977 2013-05-07 Roland McGrath <roland@hack.frob.com>
25979 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25980 and _dl_skip_args_internal.
25982 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25984 * manual/message.texi (Message Translation): Talk about users.
25985 Message to key mapping impacts design.
25987 2013-05-06 Roland McGrath <roland@hack.frob.com>
25989 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25991 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25993 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25994 * sysdeps/wordsize-64/glob64.c: ... here.
25996 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25997 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26000 * debug/getlogin_r_chk.c: Moved to ...
26001 * login/getlogin_r_chk.c: ... here.
26002 * debug/Makefile (routines): Move getlogin_r_chk to ...
26003 * login/Makefile (routines): ... here.
26004 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26005 * login/Versions (libc: GLIBC_2.4): ... here.
26007 * io/poll.c (__poll): Renamed from poll.
26008 Add libc_hidden_def.
26009 (poll): Define as weak alias.
26011 * debug/ptsname_r_chk.c: Moved to ...
26012 * login/ptsname_r_chk.c: ... here.
26013 * debug/Makefile (routines): Move ptsname_r_chk to ...
26014 * login/Makefile (routines): ... here.
26015 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26016 * login/Versions (libc: GLIBC_2.4): ... here.
26018 * posix/getlogin.c: Moved to ...
26019 * login/getlogin.c: ... here.
26020 * posix/getlogin_r.c: Moved to ...
26021 * login/getlogin_r.c: ... here.
26022 * posix/getlogin_r.c: Moved to ...
26023 * login/getlogin_r.c: ... here.
26024 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26025 * login/Makefile (routines): ... here.
26026 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26027 * login/Versions (libc: GLIBC_2.0): ... here.
26029 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26030 (setrlimit): Define as weak alias.
26032 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26033 Call __ names for open, ftruncate, and close.
26034 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26035 (truncate): Define as weak alias.
26037 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26039 * math/gen-libm-test.pl (parse_args): Initialize x before each
26040 test of frexp, modf and remquo.
26042 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26043 test signgam value.
26045 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26049 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26051 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26053 2013-05-06 Roland McGrath <roland@hack.frob.com>
26055 * elf/dl-writev.h: New file.
26056 * elf/dl-misc.c: Include it.
26057 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26058 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26060 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26062 * math/libm-test.inc (noXFails): Remove variable.
26063 (noXPasses): Likewise.
26064 (BUILD_COMPLEX_INT): Remove macro.
26065 (print_screen): Remove xfail argument.
26066 (print_screen_max_error): Likewise.
26067 (update_stats): Likewise.
26068 (print_max_error): Likewise. Update calls to other affected
26070 (print_complex_max_error): Likewise.
26071 (test_single_exception): Update calls to print_screen.
26072 (test_single_errno): Likewise.
26073 (check_float_internal): Remove xfail argument. Update calls to
26074 other affected functions.
26075 (check_float): Likewise.
26076 (check_complex): Likewise.
26077 (check_int): Likewise.
26078 (check_long): Likewise.
26079 (check_bool): Likewise.
26080 (check_longlong): Likewise.
26081 (main): Don't print noXFails and noXPasses.
26082 * math/gen-libm-test.pl (top level): Don't mention expected
26083 failure handling in comment.
26084 (new_test): Don't handle expected failures.
26085 (parse_args): Don't mention expected failure handling in comment.
26086 (generate_testfile): Don't handle expected failures.
26087 (parse_ulps): Likewise.
26088 (print_ulps_file): Likewise.
26089 (get_failure): Remove function.
26090 (output_test): Don't handle expected failures.
26091 * make/README.libm-test: Don't mention expected failure handling.
26093 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26094 (minus_zero): Likewise.
26095 (plus_infty): Likewise.
26096 (minus_infty): Likewise.
26097 (qnan_value): Likewise.
26098 (max_value): Likewise.
26099 (min_value): Likewise.
26100 (min_subnorm_value): Likewise.
26101 (initialize): Do not initialize those variables dynamically.
26103 2013-05-03 Roland McGrath <roland@hack.frob.com>
26105 * io/open.c (__open_2): Moved to ...
26106 * io/open_2.c: ... this new file.
26107 * io/open64.c (__open64_2): Moved to ...
26108 * io/open64_2.c: ... this new file.
26109 * io/openat.c (__openat_2): Moved to ...
26110 * io/openat_2.c: ... this new file.
26111 * io/openat64.c (__openat64_2): Moved to ...
26112 * io/openat64_2.c: ... this new file.
26113 * io/Makefile (routines): Add them.
26114 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26115 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26116 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26117 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26118 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26119 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26120 (__openat64): Add hidden_ver.
26121 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26122 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26124 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26125 Separately conditionalize setting of GLRO(dl_sysinfo) so
26126 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26127 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26129 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26131 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26132 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26134 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26135 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26136 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26137 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26138 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26140 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26142 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26143 test signgam value.
26145 * math/libm-test.inc (hypot_test): Do not use
26146 IGNORE_ZERO_INF_SIGN.
26148 2013-05-03 Andreas Jaeger <aj@suse.de>
26150 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26152 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26153 (PF_MAX): Adjust for VSOCK change.
26155 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26159 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26162 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26163 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26164 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26166 2013-05-02 David S. Miller <davem@davemloft.net>
26168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26170 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26172 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26174 2013-05-01 Roland McGrath <roland@hack.frob.com>
26176 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26178 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26181 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26182 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26183 Use __attribute__ ((__gnu_inline__)).
26184 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26185 Don't use __attribute__ ((__gnu_inline__)).
26187 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26190 * math/s_catan.c (__catan): Handle small real or imaginary part of
26191 input specially to avoid spurious underflow.
26192 * math/s_catanf.c (__catanf): Likewise.
26193 * math/s_catanh.c (__catanh): Likewise.
26194 * math/s_catanhf.c (__catanhf): Likewise.
26195 * math/s_catanhl.c (__catanhl): Likewise.
26196 * math/s_catanl.c (__catanl): Likewise.
26197 * math/libm-test.inc (catan_test): Add more tests.
26198 (catanh_test): Likewise.
26199 * sysdeps/i386/fpu/libm-test-ulps: Update.
26200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26202 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26206 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26209 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26210 accurately for denominator in atan2.
26211 * math/s_catanf.c (__catanf): Likewise.
26212 * math/s_catanh.c (__catanh): Likewise.
26213 * math/s_catanhf.c (__catanhf): Likewise.
26214 * math/s_catanhl.c (__catanhl): Likewise.
26215 * math/s_catanl.c (__catanl): Likewise.
26216 * math/libm-test.inc (catan_test): Add more tests.
26217 (catanh_test): Likewise.
26218 * sysdeps/i386/fpu/libm-test-ulps: Update.
26219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26221 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26223 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26225 * benchtests/Makefile (bench): Remove slow benchmarks.
26226 * benchtests/atan-inputs: Add slow benchmark inputs.
26227 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26228 (BENCH_FUNC): Accept variant offset.
26230 * benchtests/bench-skeleton.c (main): Run benchmark for each
26232 * benchtests/cos-inputs: Add slow benchmark inputs.
26233 * benchtests/exp-inputs: Likewise.
26234 * benchtests/pow-inputs: Likewise.
26235 * benchtests/sin-inputs: Likewise.
26236 * benchtests/slowatan-inputs: Remove.
26237 * benchtests/slowatan.c: Remove.
26238 * benchtests/slowcos-inputs: Remove.
26239 * benchtests/slowcos.c: Remove.
26240 * benchtests/slowexp-inputs: Remove.
26241 * benchtests/slowexp.c: Remove.
26242 * benchtests/slowpow-inputs: Remove.
26243 * benchtests/slowpow.c: Remove.
26244 * benchtests/slowsin-inputs: Remove.
26245 * benchtests/slowsin.c: Remove.
26246 * benchtests/slowtan-inputs: Remove.
26247 * benchtests/slowtan.c: Remove.
26248 * benchtests/tan-inputs: Add slow benchmark inputs.
26249 * scripts/bench.pl: Parse comments and directives.
26251 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26253 ($(objpfx)bench-%.c): Remove *-ITER.
26254 * benchtests/bench-modf.c: Remove definition of ITER.
26255 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26256 (main): Loop for DURATION seconds instead of fixed number of
26258 * scripts/bench.pl: Don't expect iterations in parameters.
26260 2013-04-29 Roland McGrath <roland@hack.frob.com>
26262 * io/fchdir.c (__fchdir): Renamed from fchdir.
26263 (fchdir): Define as weak alias.
26265 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26267 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26268 (ERRNO_EDOM): Likewise.
26269 (ERRNO_ERANGE): Likewise.
26270 (noErrnoTests): New variable.
26271 (init_max_error): Set errno to 0.
26272 (test_single_errno): New function.
26273 (test_errno): Likewise.
26274 (check_float_internal): Call test_errno. Set errno to 0.
26275 (check_complex): Refer to errno tests in comment.
26276 (check_int): Call test_errno. Set errno to 0.
26277 (check_long): Likewise.
26278 (check_bool): Likewise.
26279 (check_longlong): Likewise.
26280 (cos_test): Use ERRNO_* flags for errno tests instead of
26282 (expm1_test): Likewise.
26283 (fmod_test): Likewise.
26284 (ilogb_test): Likewise.
26285 (lgamma_test): Likewise.
26286 (pow_test): Likewise.
26287 (remainder_test): Likewise.
26288 (sin_test): Likewise.
26289 (tan_test): Likewise.
26290 (yn_test): Likewise.
26291 (initialize): Set errno to 0.
26292 (main): Print number of errno tests.
26293 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26295 2013-04-29 Andreas Jaeger <aj@suse.de>
26298 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26302 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26303 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26307 * stdlib/random.c (__initstate): Return NULL if
26311 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26312 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26315 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26319 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26321 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26322 of individual tests.
26323 (casin_test): Likewise.
26324 (casinh_test): Likewise.
26326 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26329 * math/s_catan.c (__catan): Handle arguments with large real or
26330 imaginary part separately without squaring.
26331 * math/s_catanf.c (__catanf): Likewise.
26332 * math/s_catanh.c (__catanh): Likewise.
26333 * math/s_catanhf.c (__catanhf): Likewise.
26334 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26336 (__catanhl): Handle arguments with large real or imaginary part
26337 separately without squaring.
26338 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26340 (__catanl): Handle arguments with large real or imaginary part
26341 separately without squaring.
26342 * math/libm-test.inc (catan_test): Add more tests.
26343 (catanh_test): Likewise.
26344 * sysdeps/i386/fpu/libm-test-ulps: Update.
26345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26347 2013-04-27 Andreas Jaeger <aj@suse.de>
26350 * stdlib/stdlib.h: Update guards for qecvt.
26351 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26354 2013-04-27 Allan McRae <allan@archlinux.org>
26356 * sysdeps/i386/fpu/libm-test-ulps: Update.
26358 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26361 * math/s_catan.c: Include <float.h>.
26362 (__catan): Ensure underflow exception occurs for underflowed
26364 * math/s_catanf.c: Include <float.h>.
26365 (__catanf): Ensure underflow exception occurs for underflowed
26367 * math/s_catanh.c: Include <float.h>.
26368 (__catanh): Ensure underflow exception occurs for underflowed
26370 * math/s_catanhf.c: Include <float.h>.
26371 (__catanhf): Ensure underflow exception occurs for underflowed
26373 * math/s_catanhl.c: Include <float.h>.
26374 (__catanhl): Ensure underflow exception occurs for underflowed
26376 * math/s_catanl.c: Include <float.h>.
26377 (__catanl): Ensure underflow exception occurs for underflowed
26379 * math/libm-test.inc (catan_test): Add more tests.
26380 (catanh_test): Likewise.
26383 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26384 underflowed result.
26385 * math/s_ccoshf.c (__ccoshf): Likewise.
26386 * math/s_ccoshl.c (__ccoshl): Likewise.
26387 * math/s_csin.c (__csin): Likewise.
26388 * math/s_csinf.c (__csinf): Likewise.
26389 * math/s_csinh.c (__csinh): Likewise.
26390 * math/s_csinhf.c (__csinhf): Likewise.
26391 * math/s_csinhl.c (__csinhl): Likewise.
26392 * math/s_csinl.c (__csinl): Likewise.
26393 * math/libm-test.inc (ccos_test): Add more tests.
26394 (ccosh_test): Likewise.
26395 (csin_test): Likewise.
26396 (csinh_test): Likewise.
26398 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26400 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26401 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26402 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26403 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26404 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26405 powerpc/power5+/fpu folders.
26406 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26409 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26413 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26415 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26416 additions to variable.
26417 [$(config-machine) = x86_64] (modules-names): Likewise.
26418 ($(objpfx)tst-audit3): Remove dependency.
26419 ($(objpfx)tst-audit3.out): Likewise.
26420 ($(objpfx)tst-audit4): Likewise.
26421 ($(objpfx)tst-audit4.out): Likewise.
26422 ($(objpfx)tst-audit5): Likewise.
26423 ($(objpfx)tst-audit5.out): Likewise.
26424 ($(objpfx)tst-audit6): Likewise.
26425 ($(objpfx)tst-audit6.out): Likewise.
26426 ($(objpfx)tst-audit7): Likewise.
26427 ($(objpfx)tst-audit7.out): Likewise.
26428 (tst-audit3-ENV): Remove variable.
26429 (tst-audit4-ENV): Likewise.
26430 (tst-audit5-ENV): Likewise.
26431 (tst-audit6-ENV): Likewise.
26432 (tst-audit7-ENV): Likewise.
26433 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26434 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26435 addition to variable.
26436 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26437 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26438 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26439 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26440 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26441 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26442 tst-audit3, tst-audit4 and tst-audit5.
26443 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26444 tst-audit6 and tst-audit7.
26445 [$(subdir) = elf] (modules-names): Add audit modules for those
26447 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26448 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26449 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26450 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26451 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26452 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26453 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26454 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26455 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26456 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26457 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26458 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26459 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26460 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26461 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26462 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26464 [$(subdir) = elf && $(config-cflags-avx) = yes]
26465 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26466 [$(subdir) = elf && $(config-cflags-avx) = yes]
26467 (CFLAGS-tst-auditmod4a.c): Likewise.
26468 [$(subdir) = elf && $(config-cflags-avx) = yes]
26469 (CFLAGS-tst-auditmod4b.c): Likewise.
26470 [$(subdir) = elf && $(config-cflags-avx) = yes]
26471 (CFLAGS-tst-auditmod6b.c): Likewise.
26472 [$(subdir) = elf && $(config-cflags-avx) = yes]
26473 (CFLAGS-tst-auditmod6c.c): Likewise.
26474 [$(subdir) = elf && $(config-cflags-avx) = yes]
26475 (CFLAGS-tst-auditmod7b.c): Likewise.
26476 * elf/tst-audit3.c: Move to ...
26477 * sysdeps/x86_64/tst-audit3.c: ... here.
26478 * elf/tst-audit4.c: Move to ...
26479 * sysdeps/x86_64/tst-audit4.c: ... here.
26480 * elf/tst-audit5.c: Move to ...
26481 * sysdeps/x86_64/tst-audit5.c: ... here.
26482 * elf/tst-audit6.c: Move to ...
26483 * sysdeps/x86_64/tst-audit6.c: ... here.
26484 * elf/tst-audit7.c: Move to ...
26485 * sysdeps/x86_64/tst-audit7.c: ... here.
26486 * elf/tst-auditmod3a.c: Move to ...
26487 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26488 * elf/tst-auditmod3b.c: Move to ...
26489 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26490 * elf/tst-auditmod4a.c: Move to ...
26491 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26492 * elf/tst-auditmod4b.c: Move to ...
26493 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26494 * elf/tst-auditmod5a.c: Move to ...
26495 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26496 * elf/tst-auditmod5b.c: Move to ...
26497 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26498 * elf/tst-auditmod6a.c: Move to ...
26499 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26500 * elf/tst-auditmod6b.c: Move to ...
26501 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26502 * elf/tst-auditmod6c.c: Move to ...
26503 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26504 * elf/tst-auditmod7a.c: Move to ...
26505 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26506 * elf/tst-auditmod7b.c: Move to ...
26507 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26509 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26512 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26513 define unconditionally.
26514 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26515 define unconditionally.
26516 (INT8_C, INT16_C, etc.): Likewise.
26518 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26520 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26521 __ehdr_start with hidden visibility.
26523 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26525 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26527 * math/libm-test.inc (cos_test): Use accurate hex constants.
26528 (sincost_test): Likewise.
26530 2013-04-24 Joseph Myers <joseph@codesourcery.com>
26532 * math/libm-test.inc (catan_test): Add more tests.
26533 (catanh_test): Likewise.
26535 * math/s_catanf.c (__catanf): Use suffixed floating-point
26537 * math/s_catanhf.c (__catanhf): Likewise.
26538 * math/s_catanhl.c (__catanhl): Likewise.
26539 * math/s_catanl.c (__catanl): Likewise.
26542 * math/s_catan.c (__catan): Calculate imaginary part of result
26543 with log1p not log unless computing log of number close to 0.
26544 * math/s_catanf.c (__catanf): Likewise.
26545 * math/s_catanl.c (__catanl): Likewise.
26546 * math/s_catanh.c (__catanh): Calculate real part of result with
26547 log1p not log unless computing log of number close to 0.
26548 * math/s_catanhf.c (__catanhf): Likewise.
26549 * math/s_catanhl.c (__catanhl): Likewise.
26550 * math/libm-test.inc (catan_test): Add more tests.
26551 (catanh_test): Likewise.
26552 * sysdeps/i386/fpu/libm-test-ulps: Update.
26553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26555 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26557 * benchtests/Makefile: Mention files in which fast and slow
26558 paths of math functions are implemented.
26560 2013-04-23 Roland McGrath <roland@hack.frob.com>
26562 * sysdeps/posix/timespec_get.c: New file.
26564 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26566 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26568 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26570 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26571 powerpc/power5/fpu folders.
26572 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26573 * benchtests/Makefile: Add modf testcase.
26574 * benchtests/bench-modf.c: New file: Benchmark test for mo
26576 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26579 * time/Makefile (tests): Add tst-strptime-whitespace.
26580 * time/strptime_l.c (get_number): Use ISSPACE.
26581 (__strptime_internal): Likewise.
26582 * time/tst-strptime-whitespace.c: New test case.
26584 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26586 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26588 (_nss_files_init): Set it here.
26590 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26592 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26593 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26596 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26598 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26600 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26605 2013-04-21 David S. Miller <davem@davemloft.net>
26607 * po/ru.po: Update Russion translation from translation project.
26609 2013-04-17 Adam Conrad <adconrad@0c3.net>
26611 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26614 2013-04-17 Carlos O'Donell <carlos@redhat.com>
26616 * configure.in: Remove i386 configure warning. Remove i386 case.
26617 * configure: Regenerate.
26618 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26619 Add example to error message.
26620 * sysdeps/i386/configure: Regenerate.
26622 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26624 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26626 * benchtests/cos-inputs: New file.
26627 * benchtests/slowcos-inputs: New file.
26628 * benchtests/slowcos.c: New file.
26629 * benchtests/slowtan-inputs: New file.
26630 * benchtests/slowtan.c: New file.
26631 * benchtests/tan-inputs: New file.
26633 2013-04-16 Roland McGrath <roland@hack.frob.com>
26635 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26638 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26640 * benchtests/Makefile: Include cppflags-iterator.mk to add
26641 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26643 * Makefile.in (bench-clean): New target.
26644 * benchtests/Makefile (bench-clean): Likewise.
26646 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26648 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26650 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26652 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26654 2013-04-15 Andreas Schwab <schwab@suse.de>
26656 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26657 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26658 * nscd/pwdcache.c (cache_addpw): Likewise.
26659 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26662 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26664 * benchtests/Makefile (bench): Write all output to
26665 bench-out.tmp together.
26667 2013-04-15 Andreas Schwab <schwab@suse.de>
26669 * nscd/nscd.c (main): Don't fork again after closing files.
26671 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26673 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26675 * benchtests/Rules (bench-deps): Collect dependencies into a
26676 single variable. Add Makefile to dependencies.
26677 ($(objpfx)bench-%.c): Depend on bench-deps.
26679 2013-04-12 Roland McGrath <roland@hack.frob.com>
26680 Xavier Roche <roche+kml2@exalead.com>
26683 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26684 just that it's a file descriptor.
26685 * manual/llio.texi (Synchronizing AIO Operations): Update description
26686 for EBADF error from aio_fsync.
26688 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26690 * Rules (bench): Move target definition...
26691 * benchtests/Makefile: ... here.
26693 2013-04-11 Carlos O'Donell <carlos@redhat.com>
26695 * math/libm-test.inc (cos_test): Fix PI/2 test.
26696 (sincos_test): Likewise.
26697 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26698 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26700 2013-04-11 Andreas Schwab <schwab@suse.de>
26703 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26704 accept exponent character only when digits were seen.
26705 * stdio-common/Makefile (tests): Add bug26.
26706 * stdio-common/bug26.c: New file.
26709 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26712 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26714 * Makeconfig (rtld-prefix): Define built linker prefix.
26715 * Rules (run-bench): Use it.
26716 * math/Makefile (run-regen-ulps): Likewise.
26718 * Rules (bench): Remove eval.
26720 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26721 Roland McGrath <roland@hack.frob.com>
26722 Ondrej Bilka <neleai@seznam.cz>
26725 * time/getdate.c: Include ctype.h and alloca.h.
26726 (__getdate_r): Trim leading and trailing spaces of input.
26727 * time/tst-getdate.c (tests): Add tests with leading and
26730 2013-04-08 Roland McGrath <roland@hack.frob.com>
26733 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26734 when computing value.
26736 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26738 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26739 Use testrun.sh to run libm tests.
26742 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26744 2013-04-06 Marko Myllynen <myllynen@redhat.com>
26747 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26749 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26751 * Makefile.in (regen-ulps): New target.
26752 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26753 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26754 [ifneq (no,$(PERL)] (regen-ulps): New target.
26755 [ifeq (no,$(PERL)] (regen-ulps): New target.
26756 * math/libm-test.inc (ulps_file_name): Define.
26757 (output_dir): New variable.
26758 (options): Add "output-dir" option.
26759 (parse_opt): Handle 'o' case.
26760 (main): If output_dir is non-NULL use it as a prefix
26762 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26764 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26766 [BZ #10060, #10062]
26767 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26768 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26769 fail configure if __sync_val_compare_and_swap is not inlined.
26770 * sysdeps/i386/configure: Regenerate.
26771 * configure.in: Build for i686 when configured for i386.
26772 * configure: Regenerate.
26773 * README: Remove i386 reference.
26775 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26777 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26778 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26780 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26782 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26783 (lmsnanval): New variables.
26784 (F): Add conversion tests.
26785 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26786 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26788 * stdio-common/tstdiomisc.c (F): Properly collect individual
26791 [BZ #14686, #15336]
26792 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26793 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26794 Instead, use input NaN values or generate a qNaN by arithmetic
26795 operation. Also fix bugs to comply with the standard.
26796 * math/libm-test.inc (remainder_test): Add more tests.
26798 [BZ #15335, #15342]
26799 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26801 input NaN values or generate a qNaN by arithmetic operation.
26803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26806 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26809 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26812 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26813 underflowed result.
26814 * math/s_cexpf.c (__cexpf): Likewise.
26815 * math/s_cexpl.c (__cexpl): Likewise.
26816 * math/libm-test.inc (cexp_test): Add more tests.
26818 2013-04-03 Andreas Schwab <schwab@suse.de>
26821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26822 order arrays from heap if bigger than alloca cutoff.
26824 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26826 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26827 (SNAN_TESTS_double): Refer to GCC PR56831.
26828 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26831 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26833 * Rules (bench): Move bench.out after the run is complete.
26835 * Rules (bench): Echo currently running benchmark.
26837 * benchtests/Makefile (bench): Add atan and slowatan.
26838 * benchtests/atan-inputs: New file.
26839 * benchtests/slowatan-inputs: New file.
26840 * benchtests/slowatan.c: New file.
26842 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26847 * sysdeps/unix/sysv/linux/kernel-features.h
26848 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26849 __ASSUME_XFS_RESTRICTED_CHOWN.
26850 * sysdeps/unix/sysv/linux/pathconf.c
26851 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26852 Save and restore errno.
26854 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26857 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26858 arguments using __kernel_casinh.
26859 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26860 arguments using __kernel_casinhf.
26861 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26862 arguments using __kernel_casinhl.
26863 * math/libm-test.inc (cacosh_test): Add more tests.
26864 * sysdeps/i386/fpu/libm-test-ulps: Update.
26865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26867 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26869 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26872 * bench/Makefile (bench): Add sin and slowsin.
26873 * benchtests/sin-inputs: New file.
26874 * benchtests/slowsin-inputs: New file.
26875 * benchtests/slowsin.c: New file.
26877 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26878 (bench): Add slowexp and slowpow.
26879 (exp-ITER): Increase iterations.
26880 (pow-ITER): Likewise.
26881 * benchtests/exp-inputs: Change input.
26882 * benchtests/pow-inputs: Likewise.
26883 * benchtests/slowexp-inputs: New file.
26884 * benchtests/slowexp.c: New file.
26885 * benchtests/slowpow-inputs: New file.
26886 * benchtests/slowpow.c: New file.
26888 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26890 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26892 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26893 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26894 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26895 * benchtests/Makefile: Add rint benchtest.
26896 * benchtests/rint-inputs: Input for rint benchtest.
26898 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26900 * Versions.def (libm): Add GLIBC_2.18.
26901 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26902 hidden libm prototypes.
26903 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26904 * math/Makefile (libm-calls): Add s_issignaling.
26905 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26906 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26907 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26909 * math/math.h [__USE_GNU] (issignaling): New macro.
26910 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26911 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26912 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26913 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26916 * manual/arith.texi (issignaling): New section.
26917 * manual/libm-err-tab.pl (@all_functions): Update comment.
26918 * math/gen-libm-test.pl (parse_args): Apply special handling for
26920 * math/libm-test.inc (print_float, issignaling_test): New
26922 (check_float_internal): Add issignaling checks.
26923 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26924 default definition.
26925 * sysdeps/powerpc/math-tests.h: New file.
26926 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26928 * math/test-snan.c (TEST_FUNC): Likewise.
26930 2013-03-30 David S. Miller <davem@davemloft.net>
26932 * po/de.po: Update from translation team.
26934 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26937 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26938 imaginary part less than 1.0 and real part less than 0.5
26940 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26941 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26942 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26943 (cacos_test): Add more tests.
26944 (casin_test): Likewise.
26945 (casinh_test): Likewise.
26946 * sysdeps/i386/fpu/libm-test-ulps: Update.
26947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26949 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26951 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26952 ONE with its value.
26954 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26955 (__pow_mp): Replace ONE and MONE with their values.
26956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26957 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26958 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26959 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26960 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26961 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26963 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26965 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26966 (__pow_mp): Replace ZERO and MZERO with their values.
26967 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26968 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26969 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26971 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26972 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26975 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26977 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26979 2013-03-28 Roland McGrath <roland@hack.frob.com>
26981 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26982 Declare with __attribute__ ((weak)).
26983 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26984 Call __call_tls_dtors only if it's not NULL.
26986 2013-03-28 Roland McGrath <roland@hack.frob.com>
26988 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26989 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26990 magic __ehdr_start linker symbol if it's defined.
26991 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26992 them up here if it was already done.
26994 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26995 (_dl_aux_init): Use const in cast when setting it.
26996 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26997 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26998 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27000 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27002 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27003 * csu/libc-tls.c: Nor here.
27004 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27006 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27007 (__libc_message): Never call vsyslog.
27009 2013-03-28 Alan Modra <amodra@gmail.com>
27011 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27013 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27016 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27023 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27026 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27027 Don't add gid passed as argument.
27029 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27031 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27034 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27035 imaginary part between 1.0 and 1.5 and real part less than 0.5
27037 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27038 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27039 * math/libm-test.inc (cacos_test): Add more tests.
27040 (casin_test): Likewise.
27041 (casinh_test): Likewise.
27042 * sysdeps/i386/fpu/libm-test-ulps: Update.
27043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27045 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27047 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27050 (denorm): Likewise.
27051 (__dbl_mp): Likewise.
27052 (add_magnitudes): Likewise.
27053 (sub_magnitudes): Likewise.
27061 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27063 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27064 (__dubcos): Likewise.
27065 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27066 (__ieee754_acos): Likewise.
27067 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27068 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27069 (__exp1): Likewise.
27070 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27073 (my_log2): Likewise.
27074 (checkint): Likewise.
27075 * sysdeps/ieee754/dbl-64/e_remainder.c
27076 (__ieee754_remainder): Likewise.
27077 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27079 (bsloww): Likewise.
27080 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27082 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27083 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27084 MANTISSA_STORE_T to store computations on mantissa. Use
27085 macros for rounding and division.
27086 (denorm): Likewise.
27087 (__dbl_mp): Likewise.
27088 (add_magnitudes): Likewise.
27089 (sub_magnitudes): Likewise.
27092 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27093 powers of two in terms of TWOPOW macro.
27094 (mp_no): Make type of mantissa as MANTISSA_T.
27095 [!RADIXI]: Define RADIXI.
27096 [!TWO52]: Define TWO52.
27097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27099 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27101 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27102 llroundl symbol when building for PPC32.
27104 2013-03-24 Mark H Weaver <mhw@netris.org>
27106 * manual/arith.texi (Normalization Functions): Fix prototypes for
27107 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27109 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27113 high value to check if expl overflow.
27114 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27115 to check for underflow and overflow.
27116 * math/libm-test.inc: Add exp test.
27118 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27121 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27124 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27126 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27129 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27131 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27132 wrap blocks consisting of several statements.
27134 * sysdeps/generic/math-tests.h: New file.
27135 * sysdeps/i386/fpu/math-tests.h: Likewise.
27136 * math/test-snan.c: Include it.
27137 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27139 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27142 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27143 (__ieee754_j0l): Do not improve calculations using cos of twice
27144 input for inputs above LDBL_MAX / 2.0L.
27145 (__ieee754_y0l): Likewise.
27146 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27147 (__ieee754_j1l): Do not improve calculations using cos of twice
27148 input for inputs above LDBL_MAX / 2.0L.
27149 (__ieee754_y1l): Likewise.
27150 * math/libm-test.inc (j0_test): Add another test.
27151 (j1_test): Likewise.
27152 (y0_test): Likewise.
27153 (y1_test): Likewise.
27154 * sysdeps/i386/fpu/libm-test-ulps: Update.
27156 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27158 * Rules ($(objpfx)bench-%.c): Include code from a C source
27161 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27164 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27165 imaginary part 1.0 and real part less than 0.5 specially.
27166 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27167 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27168 * math/libm-test.inc (cacos_test): Add more tests.
27169 (casin_test): Likewise.
27170 (casinh_test): Likewise.
27171 * sysdeps/i386/fpu/libm-test-ulps: Update.
27172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27174 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27176 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27177 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27179 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27181 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27182 * config.make.in (config-cflags-sse4): Remove variable.
27183 (config-cflags-avx): Likewise.
27184 (config-cflags-sse2avx): Likewise.
27185 (config-cflags-novzeroupper): Likewise.
27186 (config-asflags-i686): Likewise.
27187 (have-mfma4): Likewise.
27188 (have-as-vis3): Likewise.
27190 * configure.in (MIG): Do not AC_SUBST.
27191 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27192 (libc_cv_cc_sse4): Do not AC_SUBST.
27193 (libc_cv_cc_avx): Likewise.
27194 (libc_cv_cc_sse2avx): Likewise.
27195 (libc_cv_cc_novzeroupper): Likewise.
27196 (libc_cv_cc_fma4): Likewise.
27197 (libc_cv_as_i686): Likewise.
27198 (libc_cv_sparc_as_vis3): Likewise.
27199 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27201 (config-asflags-i686): Likewise.
27202 (config-cflags-avx): Likewise.
27203 (config-cflags-sse2avx): Likewise.
27204 (have-mfma4): Likewise.
27205 (config-cflags-novzeroupper): Likewise.
27206 * sysdeps/mach/configure.in (MIG): Likewise.
27207 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27208 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27210 (config-cflags-avx): Likewise.
27211 (config-cflags-sse2avx): Likewise.
27212 (have-mfma4): Likewise.
27213 (config-cflags-novzeroupper): Likewise.
27214 * configure: Regenerated.
27215 * sysdeps/i386/configure: Likewise.
27216 * sysdeps/mach/configure: Likewise.
27217 * sysdeps/sparc/configure: Likewise.
27218 * sysdeps/x86_64/configure: Likewise.
27220 2013-03-20 Roland McGrath <roland@hack.frob.com>
27223 * locale/programs/localedef.c (options): Put N_ translation marker
27224 on argument names, not just descriptions.
27226 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27228 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27230 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27233 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27235 2013-03-19 Roland McGrath <roland@hack.frob.com>
27237 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27238 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27239 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27240 [!BEFORE_ABORT] (before_abort): New function.
27241 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27242 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27243 (writev_for_fatal): New function.
27244 (WRITEV_FOR_FATAL): New macro; call that.
27245 (backtrace_and_maps): New function.
27246 (BEFORE_ABORT): New macro; call that.
27247 (struct str_list): Type removed.
27248 (__libc_message, __libc_fatal): Functions removed.
27249 Include <sysdeps/posix/libc_fatal.c> instead.
27251 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27253 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27255 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27258 2013-03-19 Andreas Schwab <schwab@suse.de>
27260 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27261 * sysdeps/gnu/configure: Regenerate.
27263 * configure.in: Substitute libc_cv_rtlddir.
27264 * configure: Regenerate.
27265 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27266 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27267 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27268 * elf/Makefile (install-others, CFLAGS-interp.c)
27269 (ldso_install, common-ldd-rewrite): Likewise.
27270 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27271 $(inst_slibdir)/$(rtld-installed-name).
27272 * scripts/rellns-sh: Add -p option.
27273 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27276 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27278 * manual/nptl.texi: Renamed to ...
27279 * manual/threads.texi: ... this.
27280 * manual/Makefile (chapters): Update.
27282 2013-03-18 Roland McGrath <roland@hack.frob.com>
27285 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27286 on argument names, not just descriptions.
27287 * malloc/memusagestat.c (options): Likewise.
27288 * nss/getent.c (options): Likewise.
27290 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27293 * iconv/iconv_prog.c (options): Put N_ translation marker
27294 on argument names, not just descriptions.
27295 * iconv/iconvconfig.c (options): Likewise.
27297 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27299 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27300 implementation which is faster on all x86_64 architectures.
27301 Tested on AMD, Intel Nehalem, SNB, IVB.
27302 * sysdeps/x86_64/strnlen.S: Likewise.
27304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27305 Remove all multiarch strlen and strnlen versions.
27306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27307 Remove strlen and strnlen related parts.
27309 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27310 Inline strlen part.
27311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27313 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27314 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27315 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27316 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27317 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27318 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27320 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27322 * manual/memory.texi (Malloc Tunable Parameters):
27323 Sort parameters alphabetically. Add comments for missing entries.
27325 2013-03-17 David S. Miller <davem@davemloft.net>
27327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27329 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27332 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27333 for arguments at most half maximum finite value.
27334 * math/libm-test.inc (j0_test): Add more tests.
27335 (j1_test): Likewise.
27336 (y0_test): Likewise.
27337 (y1_test): Likewise.
27338 * sysdeps/i386/fpu/libm-test-ulps: Update.
27339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27342 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27343 1 / x and functions P and Q for arguments above 0x1p256L.
27344 (__ieee754_y0l): Likewise.
27345 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27346 (__ieee754_y1l): Likewise.
27347 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27348 (j1_test): Likewise.
27349 (y0_test): Likewise.
27350 (y1_test): Likewise.
27352 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27354 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27357 2013-03-15 Roland McGrath <roland@hack.frob.com>
27359 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27360 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27361 zero since it's initialized to EXEC_PAGESIZE.
27363 * sysdeps/unix/sysv/linux/ldsodefs.h
27364 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27365 * sysdeps/generic/ldsodefs.h: ... here.
27367 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27369 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27371 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27373 * math/test-snan.c: Renamed from
27374 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27375 * math/Makefile (tests): Add test-snan.
27376 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27379 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27380 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27382 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27383 __builtin_nan family of functions.
27384 * math/libm-test.inc (initialize): Initialize qnan_value with
27385 __builtin_nan family of functions.
27386 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27388 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27390 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27391 storage class. Initialize qNaN_var and sNaN_var with
27392 __builtin_nan and __builtin_nans families of functions,
27395 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27396 (sqrt_test): Remove duplicate test with qNaN input.
27397 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27398 (round_test, signbit_test, significand_test): Note missing +/-Inf
27399 as well as qNaN tests.
27401 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27402 qNaN_var. Fix a few strings, too.
27403 * math/libm-test.inc (nan_value): Rename to qnan_value.
27404 * math/gen-libm-test.pl (%beautify): Adjust to that.
27405 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27406 * math/test-misc.c (main): Likewise.
27407 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27408 to __qnan_bytes, and __qnan_union, respectively.
27409 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27411 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27412 and lqnanval, respectively.
27413 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27414 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27415 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27416 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27418 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27419 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27422 * math/test-misc.c (main): Fix copy'n'pastos.
27423 * misc/tst-efgcvt.c (special): Likewise.
27425 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27426 Remove declarations.
27428 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27430 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27431 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27432 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27433 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27435 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27438 macro to return vdso values correctly in IFUNC implementations.
27439 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27440 Optimization by using IFUNC.
27442 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27443 Richard Henderson <rth@redhat.com>
27444 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27446 * Makefile.in (bench): New target.
27447 * NEWS: Mention the benchmark framework.
27448 * Rules (bench): Likewise.
27449 (binaries-bench): Generate binaries for functions to
27451 * benchtests/Makefile: New makefile for benchmark tests.
27452 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27454 * benchtests/exp-inputs: New input file for EXP function.
27455 * benchtests/pow-inputs: New input file for POW function.
27456 * scripts/bench.pl: New script to generate source files for
27457 benchmark programs.
27459 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27461 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27462 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27463 computations on mantissa. Use macros for rounding and
27465 (denorm): Likewise.
27466 (__dbl_mp): Likewise.
27467 (add_magnitudes): Likewise.
27468 (sub_magnitudes): Likewise.
27471 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27472 powers of two in terms of TWOPOW macro.
27473 (mp_no): Make type of mantissa as MANTISSA_T.
27474 [!RADIXI]: Define RADIXI.
27475 [!TWO52]: Define TWO52.
27476 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27478 * manual/nptl.texi (cindex): Modify threads to pthreads.
27480 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27482 * sysdeps/x86_64/preconfigure: Regenerated.
27484 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27487 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27489 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27490 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27492 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27493 * math/libm-test.inc (j0_test): Do not allow one spurious
27494 underflow exception.
27495 (y1_test): Likewise.
27497 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27499 * manual/Makefile (chapters): Add nptl.
27500 * manual/debug.texi (Debugging Support): Add link to Threads
27502 * manual/nptl.texi: New file.
27504 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27506 2013-03-14 Petr Baudis <pasky@ucw.cz>
27508 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27509 for non-NULL pointer before the memory validity test. Pointed
27510 out by Holger Brunck <holger.brunck@keymile.com>.
27512 2013-03-13 Andreas Schwab <schwab@suse.de>
27514 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27517 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27519 * timezone/zic.c: Update from tzcode 2013b.
27521 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27523 * manual/install.texi (Configuring and compiling):
27524 Mention i686 and i586.
27525 * INSTALL: Regenerate.
27527 2013-03-12 Roland McGrath <roland@hack.frob.com>
27529 * sysdeps/init_array/elf-init.c: New file.
27531 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27532 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27534 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27535 __gmon_start__ as global, but as static with a .preinit_array pointer.
27536 * sysdeps/init_array/gmon-start.c: New file. Use that.
27537 * sysdeps/init_array/crti.S: New file, empty except for comments.
27538 * sysdeps/init_array/crtn.S: Likewise.
27540 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
27542 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27545 Remove Prefer_SSE_for_memop.
27546 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27547 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27548 HAS_PREFER_SSE_FOR_MEMOP.
27549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27552 Remove bzero, memset ifunc support.
27553 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27554 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27555 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27556 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27558 2013-03-11 Andreas Schwab <schwab@suse.de>
27561 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27564 (GLIBC_2.16): Remove pthread_atfork.
27566 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27568 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27569 (ptestcases.h): Likewise.
27571 2013-03-08 Roland McGrath <roland@hack.frob.com>
27573 * Makeconfig ($(common-objpfx)config.status): Depend on
27574 sysdeps/*/preconfigure{,.in} too.
27576 2013-03-08 Joseph Myers <joseph@codesourcery.com>
27578 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27579 (__free_hook): Use void * instead of __malloc_ptr_t.
27580 (__malloc_hook): Likewise.
27581 (__realloc_hook): Likewise.
27582 (__memalign_hook): Likewise.
27583 (__after_morecore_hook): Likewise.
27584 * malloc/arena.c (save_malloc_hook): Likewise.
27585 (save_free_hook): Likewise.
27586 * malloc/hooks.c (malloc_hook_ini): Likewise.
27587 (realloc_hook_ini): Likewise.
27588 (memalign_hook_ini): Likewise.
27589 * malloc/malloc.c (malloc_hook_ini): Likewise.
27590 (realloc_hook_ini): Likewise.
27591 (memalign_hook_ini): Likewise.
27592 (__free_hook): Likewise.
27593 (__malloc_hook): Likewise.
27594 (__realloc_hook): Likewise.
27595 (__memalign_hook): Likewise.
27596 (__libc_malloc): Likewise.
27597 (__libc_free): Likewise.
27598 (__libc_realloc): Likewise.
27599 (__libc_memalign): Likewise.
27600 (__libc_valloc): Likewise.
27601 (__libc_pvalloc): Likewise.
27602 (__libc_calloc): Likewise.
27603 (__posix_memalign): Likewise.
27604 * malloc/morecore.c (__sbrk): Likewise.
27605 (__default_morecore): Likewise.
27607 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27609 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27610 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27611 __malloc_ptrdiff_t.
27613 * malloc/malloc.h (__malloc_size_t): Remove macro.
27614 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27616 (old_memalign_hook): Likewise.
27617 (old_realloc_hook): Likewise.
27618 (struct hdr): Likewise.
27620 (mallochook): Likewise.
27621 (memalignhook): Likewise.
27622 (reallochook): Likewise.
27623 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27624 (tr_old_realloc_hook): Likewise.
27625 (tr_old_memalign_hook): Likewise.
27626 (tr_mallochook): Likewise.
27627 (tr_reallochook): Likewise.
27628 (tr_memalignhook): Likewise.
27630 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27632 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27633 default_ldbl_pack and using as default implementation.
27634 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27636 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27637 redundant definition.
27638 (ldbl_insert_mantissa): Likewise.
27639 (ldbl_canonicalize): Likewise.
27640 (ldbl_nearbyint): Likewise.
27641 (ldbl_pack): Rename to ldbl_pack_ppc.
27642 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27643 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27644 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27646 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27649 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27650 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27651 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27653 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27654 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27655 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27657 2013-03-07 Andreas Jaeger <aj@suse.de>
27659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27662 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27664 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27665 Include mpa.h and declare __MPEXP.
27666 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27667 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27668 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27669 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27670 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27671 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27672 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27674 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27675 (__slowpow): Use long double EXPL and LOGL functions to
27677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27678 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27679 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27680 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27681 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27682 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27685 intermediate variable to calculate exponent.
27687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27691 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27692 [!NO__SQR]: Define __sqr.
27693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27694 and NO__SQR. Remove all code except __mul and __sqr. Include
27695 sysdeps/ieee754/dbl-64/mpa.c.
27696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27699 * posix/Makefile (tests): Add tst-pathconf.
27700 * posix/tst-pathconf.c: New test case.
27701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27703 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27705 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
27707 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27709 2013-03-06 Andreas Jaeger <aj@suse.de>
27711 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27712 definition via __MAP_ANONYMOUS.
27714 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27715 it's not part of Linux headers.
27717 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27718 (MAP_HUGE_MASK): Define.
27720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27722 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27723 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27725 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27726 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27728 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27729 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27731 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27733 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27734 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27735 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27736 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27737 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27738 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27740 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27744 Handle f2fs and efivarfs.
27746 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27749 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27750 (EFIVARFS_MAGIC): Add.
27751 (F2FS_LINK_MAX): Add.
27753 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27755 * stdio-common/vfprintf.c: Replace __builtin_expect with
27758 2013-03-06 Joseph Myers <joseph@codesourcery.com>
27761 * sysdeps/generic/bp-sym.h: Remove file.
27762 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27763 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27764 <bp-sym.h> and <bp-asm.h>.
27765 (__longjmp): Don't use BP_SYM.
27766 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27768 (memcpy): Don't use BP_SYM.
27769 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27770 <bp-sym.h> and <bp-asm.h>.
27771 (memcpy): Don't use BP_SYM.
27772 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27774 (memcpy): Don't use BP_SYM.
27775 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27777 (memset): Don't use BP_SYM.
27778 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27779 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27780 (__bzero): Don't use BP_SYM.
27781 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27782 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27783 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27784 <bp-sym.h> and <bp-asm.h>.
27785 (memcmp): Don't use BP_SYM. Remove comment about bounded
27787 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27788 <bp-sym.h> and <bp-asm.h>.
27789 (memcpy): Don't use BP_SYM.
27790 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27791 <bp-sym.h> and <bp-asm.h>.
27792 (memset): Don't use BP_SYM.
27793 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27794 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27795 (__bzero): Don't use BP_SYM.
27796 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27797 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27798 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27799 <bp-sym.h> and <bp-asm.h>.
27800 (strncmp): Don't use BP_SYM. Remove comment about bounded
27802 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27803 <bp-sym.h> and <bp-asm.h>.
27804 (memcpy): Don't use BP_SYM.
27805 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27806 <bp-sym.h> and <bp-asm.h>.
27807 (memset): Don't use BP_SYM.
27808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27810 (__bzero): Don't use BP_SYM.
27811 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27812 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27813 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27814 <bp-sym.h> and <bp-asm.h>.
27815 (__memchr): Don't use BP_SYM.
27816 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27817 <bp-sym.h> and <bp-asm.h>.
27818 (memcmp): Don't use BP_SYM. Remove comment about bounded
27820 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27821 <bp-sym.h> and <bp-asm.h>.
27822 (memcpy): Don't use BP_SYM.
27823 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27824 <bp-sym.h> and <bp-asm.h>.
27825 (__mempcpy): Don't use BP_SYM.
27826 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27827 <bp-sym.h> and <bp-asm.h>.
27828 (__memrchr): Don't use BP_SYM.
27829 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27830 <bp-sym.h> and <bp-asm.h>.
27831 (memset): Don't use BP_SYM.
27832 (__bzero): Likewise.
27833 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27834 <bp-sym.h> and <bp-asm.h>.
27835 (__rawmemchr): Don't use BP_SYM.
27836 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27837 <bp-sym.h> and <bp-asm.h>.
27838 (__STRCMP): Don't use BP_SYM.
27839 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27840 <bp-sym.h> and <bp-asm.h>.
27841 (strchr): Don't use BP_SYM.
27842 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27843 <bp-sym.h> and <bp-asm.h>.
27844 (__strchrnul): Don't use BP_SYM.
27845 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27846 <bp-sym.h> and <bp-asm.h>.
27847 (strlen): Don't use BP_SYM.
27848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27849 <bp-sym.h> and <bp-asm.h>.
27850 (strncmp): Don't use BP_SYM. Remove comment about bounded
27852 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27853 <bp-sym.h> and <bp-asm.h>.
27854 (__strnlen): Don't use BP_SYM.
27855 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27856 <bp-sym.h> and <bp-asm.h>.
27857 (__GI__setjmp): Don't use BP_SYM.
27858 (_setjmp): Likewise.
27859 (__sigsetjmp): Likewise.
27860 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27861 (L(start_addresses)): Don't use BP_SYM.
27862 (_start): Likewise.
27863 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27865 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27866 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27867 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27868 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27869 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27871 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27872 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27873 about bounded pointers.
27874 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27875 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27876 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27878 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27879 about bounded pointers. Remove GKM FIXME comments.
27880 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27881 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27883 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27884 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27885 Remove GKM FIXME comments.
27886 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27887 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27888 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27890 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27891 about bounded pointers. Remove GKM FIXME comment.
27892 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27894 (strncmp): Don't use BP_SYM. Remove comment about bounded
27896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27897 <bp-sym.h> and <bp-asm.h>.
27898 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27900 <bp-sym.h> and <bp-asm.h>.
27901 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27904 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27906 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27909 2013-03-05 David S. Miller <davem@davemloft.net>
27911 * po/es.po: Update from translation team.
27913 2013-03-05 Andreas Jaeger <aj@suse.de>
27915 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27916 <bits/mman-linux.h>.
27917 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27919 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27920 <bits/mman-linux.h> to end of file.
27921 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27923 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27924 <bits/mman-linux.h> to end of file.
27925 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27927 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27928 <bits/mman-linux.h> to end of file.
27930 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27931 (MCL_CURRENT, MCL_FUTURE): Define here.
27933 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27936 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27938 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27940 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27942 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27943 fourth parameter needed for rt_sigprocmask syscall.
27944 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27945 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27946 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27947 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27948 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27949 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27951 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27954 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27955 comment about bounded pointers.
27956 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27957 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27959 2013-03-04 Andreas Jaeger <aj@suse.de>
27961 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27962 common definitions.
27964 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27965 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27966 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27967 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27969 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27971 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27974 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27975 __ieee754_sqrl instead of __sqrl.
27977 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27979 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27980 * sysdeps/powerpc/fpu_control.h: ... here.
27981 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27982 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27983 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27984 * sysdeps/powerpc/bits/mathinline.h: ... here.
27986 2013-03-01 Roland McGrath <roland@hack.frob.com>
27988 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27989 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27990 to just [NEED_DL_SYSINFO_DSO].
27991 * elf/dl-support.c: Likewise.
27992 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27993 * elf/rtld.c (dl_main): Likewise.
27994 * elf/setup-vdso.h (setup_vdso): Likewise.
27995 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27996 * sysdeps/unix/sysv/linux/dl-sysdep.c
27997 (_dl_discover_osversion): Likewise.
27999 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28001 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28002 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28004 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28006 * NEWS: Mention libm performance improvements and non-x86 PI
28009 * csu/libc-start.c (__pthread_initialize_minimal): Change
28010 function arguments.
28011 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28013 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28016 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28017 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28018 <bp-sym.h> and <bp-asm.h>.
28019 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28020 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28022 (memcpy): Don't use BP_SYM.
28023 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28025 (__mpn_add_n): Don't use BP_SYM.
28026 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28027 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28029 (__mpn_addmul_1): Don't use BP_SYM.
28030 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28031 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28033 (_setjmp): Don't use BP_SYM.
28034 (__novmx_setjmp): Likewise.
28035 (__GI__setjmp): Likewise.
28036 (__vmx_setjmp): Likewise.
28037 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28039 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28040 (__bzero): Don't use BP_SYM.
28041 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28042 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28043 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28044 <bp-sym.h> and <bp-asm.h>.
28045 (memcpy): Don't use BP_SYM.
28046 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28047 <bp-sym.h> and <bp-asm.h>.
28048 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28049 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28050 <bp-sym.h> and <bp-asm.h>.
28051 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28052 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28054 (__mpn_lshift): Don't use BP_SYM.
28055 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28056 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28058 (memset): Don't use BP_SYM.
28059 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28060 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28061 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28063 (__mpn_mul_1): Don't use BP_SYM.
28064 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28066 <bp-sym.h> and <bp-asm.h>.
28067 (memcmp): Don't use BP_SYM.
28068 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28069 <bp-sym.h> and <bp-asm.h>.
28070 (memcpy): Don't use BP_SYM.
28071 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28072 <bp-sym.h> and <bp-asm.h>.
28073 (memset): Don't use BP_SYM.
28074 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28075 <bp-sym.h> and <bp-asm.h>.
28076 (strncmp): Don't use BP_SYM.
28077 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28078 <bp-sym.h> and <bp-asm.h>.
28079 (memcpy): Don't use BP_SYM.
28080 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28081 <bp-sym.h> and <bp-asm.h>.
28082 (memset): Don't use BP_SYM.
28083 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28084 <bp-sym.h> and <bp-asm.h>.
28085 (__memchr): Don't use BP_SYM.
28086 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28087 <bp-sym.h> and <bp-asm.h>.
28088 (memcmp): Don't use BP_SYM.
28089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28090 <bp-sym.h> and <bp-asm.h>.
28091 (memcpy): Don't use BP_SYM.
28092 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28093 <bp-sym.h> and <bp-asm.h>.
28094 (__mempcpy): Don't use BP_SYM.
28095 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28096 <bp-sym.h> and <bp-asm.h>.
28097 (__memrchr): Don't use BP_SYM.
28098 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28099 <bp-sym.h> and <bp-asm.h>.
28100 (memset): Don't use BP_SYM.
28101 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28102 <bp-sym.h> and <bp-asm.h>.
28103 (__rawmemchr): Don't use BP_SYM.
28104 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28105 <bp-sym.h> and <bp-asm.h>.
28106 (__STRCMP): Don't use BP_SYM.
28107 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28108 <bp-sym.h> and <bp-asm.h>.
28109 (strchr): Don't use BP_SYM.
28110 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28111 <bp-sym.h> and <bp-asm.h>.
28112 (__strchrnul): Don't use BP_SYM.
28113 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28114 <bp-sym.h> and <bp-asm.h>.
28115 (strlen): Don't use BP_SYM.
28116 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28117 <bp-sym.h> and <bp-asm.h>.
28118 (strncmp): Don't use BP_SYM.
28119 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28120 <bp-sym.h> and <bp-asm.h>.
28121 (__strnlen): Don't use BP_SYM.
28122 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28124 (__mpn_rshift): Don't use BP_SYM.
28125 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28126 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28127 <bp-sym.h> and <bp-asm.h>.
28128 (__sigsetjmp): Don't use BP_SYM.
28129 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28130 (L(start_addresses)): Don't use BP_SYM.
28131 (_start): Likewise.
28132 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28134 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28135 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28136 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28137 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28139 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28140 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28141 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28142 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28144 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28146 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28147 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28149 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28151 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28152 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28153 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28155 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28157 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28159 (strncmp): Don't use BP_SYM,
28160 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28162 (__mpn_sub_n): Don't use BP_SYM.
28163 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28164 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28166 (__mpn_submul_1): Don't use BP_SYM.
28167 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28169 <bp-sym.h> and <bp-asm.h>.
28170 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28172 <bp-sym.h> and <bp-asm.h>.
28173 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28176 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28179 Use ZK to minimize writes to Z.
28180 (sub_magnitudes): Simplify code a bit.
28181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28182 Use ZK to minimize writes to Z.
28183 (sub_magnitudes): Simplify code a bit.
28185 2013-02-27 Roland McGrath <roland@hack.frob.com>
28187 * csu/gmon-start.c: Add special exception to license text.
28189 2013-02-27 Richard Henderson <rth@redhat.com>
28191 * scripts/config.guess: Update from config.git.
28192 * scripts/config.sub: Likewise.
28194 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28196 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28198 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28200 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28202 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28204 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28206 2013-02-26 Roland McGrath <roland@hack.frob.com>
28208 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28209 [$(build-shared = yes].
28211 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28213 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28214 (__mul): Reduce iterations for calculating mantissa.
28216 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28218 (__mpranred): Likewise.
28221 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28222 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28224 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28226 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28227 Define __attribute__.
28229 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28231 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28233 * posix/regex_internal.h (__attribute): Remove.
28234 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28235 (re_string_context_at): Likewise.
28236 (bitset_not): Use __attribute__ and mark function as possibly
28238 (bitset_merge): Likewise.
28239 (bitset_mask): Likewise.
28240 (re_string_char_size_at): Likewise.
28241 (re_string_wchar_at): Likewise.
28242 (re_string_elem_size_at): Likewise.
28244 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28246 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28250 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28254 (denorm): Likewise.
28255 (__dbl_mp): Likewise.
28256 (add_magnitudes): Likewise.
28257 (sub_magnitudes): Likewise.
28261 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28264 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28267 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28271 up changes with default code.
28272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28275 2013-02-24 Allan McRae <allan@archlinux.org>
28277 * manual/socket.texi (The Internet Namespace): Order menu items
28278 to match that in the file.
28280 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28281 node listing of the info page menu.
28283 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28286 * sysdeps/i386/bp-asm.h: Remove file.
28287 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28288 (PARMS): Do not use macros from bp-asm.h.
28292 (__mpn_add_n): Do not use BP_SYM
28293 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28295 (PARMS): Do not use macros from bp-asm.h.
28298 (__mpn_addmul_1): Do not use BP_SYM
28299 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28301 (PARMS): Do not use macros from bp-asm.h.
28302 (SIGMSK): Likewise.
28303 (_setjmp): Likewise. Do not use BP_SYM.
28304 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28306 (PARMS): Do not use macros from bp-asm.h.
28307 (SIGMSK): Likewise.
28308 (setjmp): Likewise. Do not use BP_SYM.
28309 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28311 (PARMS): Do not use macros from bp-asm.h.
28312 (__frexp): Do not use BP_SYM.
28314 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28316 (PARMS): Do not use macros from bp-asm.h.
28317 (__frexpf): Do not use BP_SYM.
28318 (frexpf): Likewise.
28319 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28321 (PARMS): Do not use macros from bp-asm.h.
28322 (__frexpl): Do not use BP_SYM.
28323 (frexpl): Likewise.
28324 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28326 (PARMS): Do not use macros from bp-asm.h.
28327 (__remquo): Do not use BP_SYM.
28328 (remquo): Likewise.
28329 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28331 (PARMS): Do not use macros from bp-asm.h.
28332 (__remquof): Do not use BP_SYM.
28333 (remquof): Likewise.
28334 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28336 (PARMS): Do not use macros from bp-asm.h.
28337 (__remquol): Do not use BP_SYM.
28338 (remquol): Likewise.
28339 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28341 (PARMS): Do not use macros from bp-asm.h.
28344 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28345 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28347 (PARMS): Do not use macros from bp-asm.h.
28348 (strlen): Do not use BP_SYM.
28349 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28351 (PARMS): Do not use macros from bp-asm.h.
28355 (__mpn_add_n): Do not use BP_SYM.
28356 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28358 (PARMS): Do not use macros from bp-asm.h.
28361 (__mpn_addmul_1): Do not use BP_SYM.
28362 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28365 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28367 (PARMS): Do not use macros from bp-asm.h.
28370 (__mpn_lshift): Do not use BP_SYM.
28371 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28373 (PARMS): Do not use macros from bp-asm.h.
28377 (memcpy): Likewise. Do not use BP_SYM.
28378 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28379 libc_hidden_def and weak_alias.
28380 (mempcpy): Do not use BP_SYM in weak_alias.
28381 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28383 (PARMS): Do not use macros from bp-asm.h.
28386 [!BZERO_P] (CHR): Likewise.
28387 (memset): Likewise. Do not use BP_SYM.
28388 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28390 (PARMS): Do not use macros from bp-asm.h.
28393 (__mpn_mul_1): Do not use BP_SYM.
28394 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28396 (PARMS): Do not use macros from bp-asm.h.
28399 (__mpn_rshift): Do not use BP_SYM.
28400 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28402 (PARMS): Do not use macros from bp-asm.h.
28405 (strchr): Likewise. Do not use BP_SYM.
28406 (index): Do not use BP_SYM in weak_alias.
28407 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28409 (PARMS): Do not use macros from bp-asm.h.
28412 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28413 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28415 (PARMS): Do not use macros from bp-asm.h.
28416 (strlen): Do not use BP_SYM.
28417 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28419 (PARMS): Do not use macros from bp-asm.h.
28423 (__mpn_sub_n): Do not use BP_SYM.
28424 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28426 (PARMS): Do not use macros from bp-asm.h.
28429 (__mpn_submul_1): Do not use BP_SYM.
28430 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28432 (PARMS): Do not use macros from bp-asm.h.
28436 (__mpn_add_n): Do not use BP_SYM.
28437 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28440 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28442 (PARMS): Do not use macros from bp-asm.h.
28445 (memcmp): Do not use BP_SYM.
28446 (bcmp): Do not use BP_SYM in weak_alias.
28447 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28449 (PARMS): Do not use macros from bp-asm.h.
28453 (memcpy): Likewise. Do not use BP_SYM.
28454 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28456 (PARMS): Do not use macros from bp-asm.h.
28460 (memmove): Likewise. Do not use BP_SYM.
28461 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28463 (PARMS): Do not use macros from bp-asm.h.
28467 (__mempcpy): Likewise. Do not use BP_SYM.
28468 (mempcpy): Do not use BP_SYM in weak_alias.
28469 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28471 (PARMS): Do not use macros from bp-asm.h.
28474 [!BZERO_P] (CHR): Likewise.
28475 (memset): Likewise. Do not use BP_SYM.
28476 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28478 (PARMS): Do not use macros from bp-asm.h.
28480 (strcmp): Do not use BP_SYM.
28481 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28483 (PARMS): Do not use macros from bp-asm.h.
28486 [USE_AS_STRTOK_R] (SAVE): Likewise.
28487 (FUNCTION): Likewise. Do not use BP_SYM.
28488 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28490 (strtok_r): Likewise.
28491 (__GI___strtok_r): Likewise.
28492 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28493 (PARMS): Do not use macros from bp-asm.h.
28496 (__mpn_lshift): Do not use BP_SYM.
28497 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28498 (PARMS): Do not use macros from bp-asm.h.
28501 (__memchr): Do not use BP_SYM.
28502 (memchr): Do not use BP_SYM in weak_alias.
28503 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28504 (PARMS): Do not use macros from bp-asm.h.
28507 (memcmp): Do not use BP_SYM.
28508 (bcmp): Do not use BP_SYM in weak_alias.
28509 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28510 (PARMS): Do not use macros from bp-asm.h.
28513 (__mpn_mul_1): Do not use BP_SYM.
28514 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28516 (PARMS): Do not use macros from bp-asm.h.
28519 (__rawmemchr): Do not use BP_SYM.
28520 (rawmemchr): Do not use BP_SYM in weak_alias.
28521 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28522 (PARMS): Do not use macros from bp-asm.h.
28525 (__mpn_rshift): Do not use BP_SYM.
28526 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28527 (PARMS): Do not use macros from bp-asm.h.
28528 (SIGMSK): Likewise.
28529 (__sigsetjmp): Likewise. Do not use BP_SYM.
28530 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28531 (_start): Do not use BP_SYM.
28532 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28533 (PARMS): Do not use macros from bp-asm.h.
28536 (__stpcpy): Likewise. Do not use BP_SYM.
28537 (stpcpy): Do not use BP_SYM in weak_alias.
28538 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28540 (PARMS): Do not use macros from bp-asm.h.
28544 (__stpncpy): Likewise. Do not use BP_SYM.
28545 (stpncpy): Do not use BP_SYM in weak_alias.
28546 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28547 (PARMS): Do not use macros from bp-asm.h.
28550 (strchr): Likewise. Do not use BP_SYM.
28551 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28553 (PARMS): Do not use macros from bp-asm.h.
28556 (__strchrnul): Likewise. Do not use BP_SYM.
28557 (strchrnul): Do not use BP_SYM in weak_alias.
28558 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28560 (PARMS): Do not use macros from bp-asm.h.
28562 (strcspn): Do not use BP_SYM.
28563 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28565 (PARMS): Do not use macros from bp-asm.h.
28568 (strpbrk): Likewise. Do not use BP_SYM.
28569 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28571 (PARMS): Do not use macros from bp-asm.h.
28574 (strrchr): Likewise. Do not use BP_SYM.
28575 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28576 (PARMS): Do not use macros from bp-asm.h.
28578 (strspn): Do not use BP_SYM.
28579 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28580 (PARMS): Do not use macros from bp-asm.h.
28584 (FUNCTION): Likewise. Do not use BP_SYM.
28585 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28587 (strtok_r): Likewise.
28588 (__GI___strtok_r): Likewise.
28589 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28590 (PARMS): Do not use macros from bp-asm.h.
28594 (__mpn_sub_n): Do not use BP_SYM.
28595 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28597 (PARMS): Do not use macros from bp-asm.h.
28600 (__mpn_submul_1): Do not use BP_SYM.
28601 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28603 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28605 (PARMS): Do not use macros from bp-asm.h.
28610 (__clone): Do not use BP_SYM.
28611 (clone): Do not use BP_SYM in weak_alias.
28612 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28614 (PARMS): Do not use macros from bp-asm.h.
28616 (__mmap64): Do not use BP_SYM.
28617 (mmap64): Do not use BP_SYM in weak_alias.
28618 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28619 <bp-sym.h> and <bp-asm.h>.
28620 (PARMS): Do not use macros from bp-asm.h.
28621 (__posix_fadvise64_l64): Do not use BP_SYM.
28622 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28623 (PARMS): Do not use macros from bp-asm.h.
28625 (semtimedop): Do not use BP_SYM.
28626 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28629 2013-02-21 Allan McRae <allan@archlinux.org>
28631 * manual/message.texi (Charset conversion in gettext):
28632 Move @end statement to beginning of line.
28634 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28641 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28642 (denorm): Likewise.
28643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28646 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28648 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28649 tail-call to the resolved function if pltexit isn't needed.
28651 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28654 or Y being zero as being unlikely.
28655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28658 2013-02-20 Carlos O'Donell <carlos@redhat.com>
28660 * manual/nss.texi (System Databases and Name Service Switch):
28661 Remove frobnicate @pxref.
28663 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28665 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28666 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28668 2013-02-20 Petr Machata <pmachata@redhat.com>
28670 * elf/elf.h (R_ARM_TARGET1): New macro.
28671 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28672 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28673 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28674 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28675 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28676 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28677 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28678 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28679 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28680 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28681 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28682 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28683 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28684 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28685 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28686 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28687 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28688 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28689 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28690 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28691 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28692 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28693 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28694 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28695 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28696 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28697 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28698 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28699 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28700 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28701 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28702 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28703 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28704 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28705 (R_ARM_THM_GOT_BREL12): Likewise.
28706 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28707 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28708 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28709 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28710 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28711 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28712 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28713 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28714 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28716 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28718 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28719 __attribute_used__ to __attribute__ ((unused)).
28721 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28723 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28726 comment formatting.
28727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28729 2013-02-19 Joseph Myers <joseph@codesourcery.com>
28732 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28734 (ENTER): Remove both macro definitions.
28736 (CHECK_BOUNDS_LOW): Likewise.
28737 (CHECK_BOUNDS_HIGH): Likewise.
28738 (CHECK_BOUNDS_BOTH): Likewise.
28739 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28740 (RETURN_BOUNDED_POINTER): Likewise.
28741 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28742 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28743 (POP_ERRNO_LOCATION_RETURN): Likewise.
28744 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28745 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28746 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28748 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28749 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28750 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28751 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28752 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28753 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28754 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28755 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28756 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28757 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28758 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28759 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28760 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28761 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28764 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28766 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28767 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28768 * sysdeps/i386/i586/memset.S (memset): Likewise.
28769 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28770 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28771 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28773 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28774 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28775 Change uses of L(2) to L(out).
28776 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28777 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28778 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28779 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28780 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28782 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28783 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28785 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28786 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28787 (RETURN): Do not use macro LEAVE.
28788 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28789 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28790 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28791 * sysdeps/i386/i686/memset.S (memset): Likewise.
28792 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28793 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28794 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28795 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28797 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28798 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28799 L(1_2) and L(1_3) into L(1).
28800 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28801 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28802 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28803 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28804 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28805 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28806 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28807 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28808 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28810 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28811 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28812 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28813 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28814 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28815 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28816 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28817 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28818 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28819 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28820 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28821 * sysdeps/i386/strspn.S (strspn): Likewise.
28822 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28824 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28825 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28826 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28827 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28828 L(1_3) into L(1_1).
28829 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28830 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28831 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28833 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28835 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28837 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28840 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28842 * math/atest-exp.c (exp_mpn): Remove ROUND.
28843 * math/atest-exp2.c (exp_mpn): Likewise.
28844 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28846 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28847 * stdlib/tst-tls-atexit-lib.c: Likewise.
28848 * stdlib/tst-tls-atexit.c: Likewise.
28850 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28852 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28853 and __attribute_alloc_size__.
28855 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28857 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28858 __attribute_alloc_size__.
28859 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28860 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28862 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28864 * include/programs/xmalloc.h: New file.
28865 * catgets/gencat.c: Include it.
28866 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28867 * elf/pldd.c: Likewise.
28868 * iconv/iconv_charmap.c: Likewise.
28869 * iconv/iconvconfig.c: Likewise.
28870 * iconv/strtab.c: Likewise.
28871 * locale/programs/locale.c: Likewise.
28872 * locale/programs/localedef.h: Likewise.
28873 * locale/programs/simple-hash.c: Likewise.
28874 * nscd/nscd.h: Likewise.
28875 * nss/makedb.c: Likewise.
28876 * sysdeps/generic/ldconfig.h: Likewise.
28878 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28880 * Versions.def: Add GLIBC_2.18.
28881 * include/link.h (struct link_map): New member l_tls_dtor_count.
28882 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28883 (__call_tls_dtors): Likewise.
28884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28885 __cxa_thread_atexit_impl.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28902 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28903 (tests): Add test case tst-tls-atexit.
28904 (modules-names): Add shared library for tst-tls-atexit.
28905 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28906 (GLIBC_PRIVATE): Add __call_tls_dtors.
28907 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28909 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28910 * stdlib/tst-tls-atexit.c: New test case.
28911 * stdlib/tst-tls-atexit-lib.c: New test case.
28913 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28915 * elf/Versions (ld): Add _dl_find_dso_for_object.
28916 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28917 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28918 (dl_open_worker): Use _dl_find_dso_for_object.
28919 * elf/dl-sym.c (do_sym): Likewise.
28920 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28922 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28924 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28925 Syntactic changes only.
28926 (_dl_runtime_profile): Do a tail-call to the resolved function.
28928 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28931 * sysdeps/x86_64/bp-asm.h: Remove file.
28932 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28933 <bp-sym.h> and <bp-asm.h>.
28934 (__clone): Do not use BP_SYM.
28935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28936 <bp-sym.h> and <bp-asm.h>.
28937 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28938 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28940 (_setjmp): Do not use BP_SYM.
28941 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28943 (setjmp): Do not use BP_SYM.
28944 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28946 (mempcpy): Do not use BP_SYM in weak_alias.
28947 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28949 (strchr): Do not use BP_SYM.
28950 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28952 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28953 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28954 (_start): Do not use BP_SYM.
28955 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28957 (strcat): Do not use BP_SYM.
28958 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28960 (STRCMP): Do not use BP_SYM.
28961 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28963 (STRCPY): Do not use BP_SYM.
28964 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28966 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28968 (FUNCTION): Do not use BP_SYM.
28969 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28971 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28973 2013-02-17 Andreas Jaeger <aj@suse.de>
28975 * time/Versions: Sort entries.
28976 * string/Versions: Likewise.
28977 * resolv/Versions: Likewise.
28978 * posix/Versions: Likewise.
28979 * iconv/Versions: Likewise.
28980 * elf/Versions: Likewise.
28981 * wcsmbs/Versions: Likewise.
28983 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28985 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28986 loop termination condition.
28988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28989 variable to calculate EZ.
28992 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28993 the lower precision input.
28995 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28998 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28999 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29000 (run-via-rtld-prefix): Do not handle %-bp tests.
29001 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29002 (all-object-suffixes): Remove .ob.
29003 (bppfx): Remove variable.
29004 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29005 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29006 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29007 [$(build-bounded) = yes] (libtype.ob): Likewise.
29008 * Makerules (elide-routines.ob): Remove variable.
29009 (do-tests-clean): Do not handle *-bp.out.
29010 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29011 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29012 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29013 (tests): Do not include $(tests-bp.out).
29014 (xtests): Do not include $(xtests-bp.out).
29015 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29016 [$(build-bounded) = yes] ($(addprefix
29017 $(objpfx),$(binaries-bounded))): Remove rule.
29018 ($(objpfx)%-bp.out): Remove rule.
29019 * config.make.in (build-bounded): Remove variable.
29020 * crypt/Makefile [$(build-bounded) = yes]
29021 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29022 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29023 append to variable.
29024 [$(build-bounded) = yes] (install-lib): Likewise.
29025 [$(build-bounded) = yes] (generated): Likewise.
29026 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29028 * intl/Makefile [$(build-bounded) = yes]
29029 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29030 * math/Makefile [$(build-bounded) = yes]
29031 ($(tests:%=$(objpfx)%-bp): Likewise.
29032 * misc/Makefile [$(build-bounded) = yes]
29033 ($(objpfx)tst-tsearch-bp): Likewise.
29034 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29035 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29037 * string/Makefile (o-objects.ob): Remove variable.
29038 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29039 (CFLAGS-.ob): Remove variable.
29040 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29041 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29042 both definitions of variable.
29043 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29044 (ASFLAGS-.ob): Remove variable.
29046 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29049 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29050 Remove __BOUNDED_POINTERS__ from condition.
29051 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29052 * string/bits/string2.h [!__NO_STRING_INLINES &&
29053 !__BOUNDED_POINTERS__]: Likewise.
29054 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29056 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29057 Remove conditional code.
29058 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29059 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29060 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29064 * csu/libc-start.c: Do not include <bp-sym.h>.
29065 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29066 * elf/dl-open.c: Do not include <bp-sym.h>.
29067 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29068 * math/fegetenv.c: Do not include <bp-sym.h>.
29069 (fegetenv): Do not use BP_SYM in versioned symbols.
29070 * nptl/sysdeps/pthread/bits/libc-lockP.h
29071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29074 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29076 (__pthread_mutex_destroy): Likewise.
29077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29078 (__pthread_mutex_lock): Likewise.
29079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29080 (__pthread_mutex_trylock): Likewise.
29081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29082 (__pthread_mutex_unlock): Likewise.
29083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29084 (__pthread_mutexattr_init): Likewise.
29085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29086 (__pthread_mutexattr_destroy): Likewise.
29087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29088 (__pthread_mutexattr_settype): Likewise.
29089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29090 (__pthread_rwlock_init): Likewise.
29091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29092 (__pthread_rwlock_destroy): Likewise.
29093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29094 (__pthread_rwlock_rdlock): Likewise.
29095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29096 (__pthread_rwlock_tryrdlock): Likewise.
29097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29098 (__pthread_rwlock_wrlock): Likewise.
29099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29100 (__pthread_rwlock_trywrlock): Likewise.
29101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29102 (__pthread_rwlock_unlock): Likewise.
29103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29104 (__pthread_key_create): Likewise.
29105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29106 (__pthread_setspecific): Likewise.
29107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29108 (__pthread_getspecific): Likewise.
29109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29112 (_pthread_cleanup_push_defer): Likewise.
29113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29114 (_pthread_cleanup_pop_restore): Likewise.
29115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29116 (pthread_setcancelstate): Likewise.
29117 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29119 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29120 (memchr): Do not use BP_SYM in weak_alias.
29121 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29122 (fegetenv): Do not use BP_SYM in versioned symbols.
29123 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29124 (fesetenv): Do not use BP_SYM in versioned symbols.
29125 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29126 (feupdateenv): Do not use BP_SYM in versioned symbols.
29127 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29128 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29129 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29130 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29131 (open64): Do not use BP_SYM in weak_alias.
29132 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29133 (fegetenv): Do not use BP_SYM in versioned symbols.
29134 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29135 (fesetenv): Do not use BP_SYM in versioned symbols.
29136 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29137 (feupdateenv): Do not use BP_SYM in versioned symbols.
29138 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29139 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29140 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29141 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29142 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29143 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29144 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29146 (__libc_start_main): Do not use BP_SYM.
29148 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29151 redundant return line.
29153 (denorm): Likewise.
29154 (dbl_mp): Likewise.
29155 (sub_magnitudes): Likewise.
29161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29163 (denorm): Likewise.
29164 (dbl_mp): Likewise.
29165 (sub_magnitudes): Likewise.
29172 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29174 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29175 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29178 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29179 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29181 of __mul for squares.
29182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29186 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29189 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29192 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29194 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29195 prototype or function definition. Rename ubp_* variables and
29196 parameters. Remove argv definitions conditional on
29197 [__BOUNDED_POINTERS__].
29198 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29199 * elf/dl-runtime.c (_dl_fixup): Likewise.
29200 * include/set-hooks.h (RUN_HOOK): Likewise.
29201 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29203 * string/strcpy.c (strcpy): Do not use __unbounded.
29204 * sysdeps/generic/frame.h (struct layout): Likewise.
29205 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29206 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29207 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29208 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29209 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29210 (__backtrace): Likewise.
29211 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29213 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29214 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29215 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29217 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29218 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29219 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29220 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29221 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29222 Do not use __unbounded.
29223 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29224 Rename __unboundedrlimits parameter to rlimits in prototype.
29225 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29226 Do not use __unbounded.
29227 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29228 not use __ptrvalue.
29229 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29230 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29231 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29232 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29233 __ptrvalue or __unbounded.
29234 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29235 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29237 (__new_msgctl): Do not use __ptrvalue.
29238 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29240 (__libc_msgrcv): Do not use __ptrvalue.
29241 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29242 startup_info): Do not use __unbounded.
29243 (__libc_start_main): Likewise. Rename ubp_* variables and
29244 parameters. Remove argv definitions conditional on
29245 [__BOUNDED_POINTERS__].
29246 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29248 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29250 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29252 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29254 (__new_shmctl): Do not use __ptrvalue.
29255 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29256 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29258 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29259 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29260 (__libc_sigaction): Likewise.
29261 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29262 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29264 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29266 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29268 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29270 * string/mempcpy.c: Implement by calling memcpy.
29272 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29280 values in the mantissa.
29282 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29283 minimize writes to Z.
29284 (sub_magnitudes): Simplify code a bit.
29286 2013-02-12 Roland McGrath <roland@hack.frob.com>
29288 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29289 from the message. The linker prefixes all warnings with that already.
29291 2013-02-12 Andreas Schwab <schwab@suse.de>
29294 * posix/regexec.c (extend_buffers): Add parameter min_len.
29295 (check_matching): Pass minimum needed length.
29296 (clean_state_log_if_needed): Likewise.
29297 (get_subexp): Likewise.
29298 * posix/Makefile (tests): Add bug-regex34.
29299 (bug-regex34-ENV): Define.
29300 * posix/bug-regex34.c: New file.
29303 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29304 elements compare against the byte sequence of it, not its name.
29305 * posix/Makefile (tests): Add bug-regex35.
29306 (bug-regex35-ENV): Define.
29307 * posix/bug-regex35.c: New file.
29309 2013-02-11 Tom de Vries <tom@codesourcery.com>
29311 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29313 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29314 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29315 (CHECK_EOL): Add undef.
29317 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29319 * bits/stdlib-bsearch.h: New file.
29320 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29321 * stdlib/stdlib.h: Likewise.
29323 2013-02-11 Roland McGrath <roland@hack.frob.com>
29325 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29326 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29328 * manual/search.texi (Array Search Function): Add missing const in
29330 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29331 declaration to use rlim_t.
29332 (Basic Scheduling Functions): Remove erroneous const from
29333 sched_getparam prototype. Remove erroneous * from
29334 sched_get_priority_max and sched_get_priority_min prototypes.
29335 (Resource Usage): Fix summary @comment on vtimes to refer to
29336 sys/vtimes.h rather than vtimes.h.
29337 Add missing *s in vtimes prototype.
29338 (Limits on Resources): Fix ulimit prototype to return long int.
29339 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29340 prototypes to use long int rather than double.
29341 (BSD Random): Fix initstate and setstate to use char *, not void *.
29342 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29343 prototype to make second argument 'struct aiocb64 *const[]'.
29344 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29345 (Status of AIO Operations): Remove erroneous const in aio_return and
29346 aio_return64 prototypes.
29347 (Synchronizing I/O): Fix sync prototype to return void.
29348 * manual/startup.texi (Suboptions): Remove an erroneous const in
29349 getsubopt prototype.
29350 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29351 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29352 use size_t rather than int.
29353 (Scanning All Users): Likewise for getpwent_r.
29354 (Setting Groups): Add missing const to setgroups prototype.
29355 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29356 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29357 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29358 'const void *' rather than 'const char *'.
29359 (Host Address Functions): Likewise for inet_ntop.
29360 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29361 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29362 ssize_t for return value.
29363 (Sending Data): Likewise for send, sendto, sendmsg.
29364 (Socket Option Functions): Add a missing const in setsockopt prototype.
29365 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29366 use wchar_t for the argument.
29367 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29368 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29370 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29371 double/float/long double for second argument.
29372 Fix return types of significand, significandf, significandl.
29373 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29374 argument in fchmod prototype.
29375 (File Owner): Use uid_t and gid_t in fchown prototype.
29376 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29377 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29378 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29379 use 'const struct dirent **' as argument types to CMP function pointer
29381 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29382 (File Times): Fix summary magic @comment for struct utimbuf and utime
29383 to refer to utime.h, not time.h.
29384 * manual/string.texi (Argz Functions): Add missing const in
29385 argz_extract and argz_next prototypes.
29386 (Finding Tokens in a String): Likewise for basename.
29387 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29388 (Copying and Concatenation): Fix typo in wmemmove prototype.
29389 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29390 (Signal Stack): Remove erroneous const in sigstack prototype.
29391 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29393 (Simple Calendar Time): Likewise for stime.
29394 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29396 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29397 say sys/sysctl.h instead.
29398 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29399 and vsyslog prototypes.
29401 2013-02-11 Tom de Vries <tom@codesourcery.com>
29403 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29406 2013-02-11 Roland McGrath <roland@hack.frob.com>
29408 * misc/sys/mman.h: Fix typo in mremap comment.
29410 2013-02-08 Roland McGrath <roland@hack.frob.com>
29412 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29413 the '\0' terminator.
29415 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29418 * debug/segfault.c: Don't include <bp-checks.h>.
29419 * sysdeps/generic/bp-checks.h: Remove file.
29420 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29421 (__GETDENTS): Don't use CHECK_N.
29422 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29423 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29424 (__getgroups): Don't use CHECK_N.
29425 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29426 (setgroups): Don't use CHECK_N.
29427 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29428 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29429 (__libc_msgrcv): Don't use CHECK_N.
29430 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29431 (__libc_msgsnd): Don't use CHECK_N.
29432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29434 (__libc_pread): Don't use CHECK_N.
29435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29436 include <bp-checks.h>.
29437 (__libc_pread64): Don't use CHECK_N.
29438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29439 include <bp-checks.h>.
29440 (__libc_pwrite): Don't use CHECK_N.
29441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29442 include <bp-checks.h>.
29443 (__libc_pwrite64): Don't use CHECK_N.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29446 (__libc_pread): Don't use CHECK_N.
29447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29448 include <bp-checks.h>.
29449 (__libc_pread64): Don't use CHECK_N.
29450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29451 include <bp-checks.h>.
29452 (__libc_pwrite): Don't use CHECK_N.
29453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29454 include <bp-checks.h>.
29455 (__libc_pwrite64): Don't use CHECK_N.
29456 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29457 (do_pread): Don't use CHECK_N.
29458 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29459 (do_pread64): Don't use CHECK_N.
29460 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29461 (do_pwrite): Don't use CHECK_N.
29462 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29463 (do_pwrite64): Don't use CHECK_N.
29464 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29465 (__libc_readv): Don't use CHECK_N.
29466 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29467 (semop): Don't use CHECK_N.
29468 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29470 (semtimedop): Don't use CHECK_N.
29471 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29472 (__libc_pread): Don't use CHECK_N.
29473 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29475 (__libc_pread64): Don't use CHECK_N.
29476 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29478 (__libc_pwrite): Don't use CHECK_N.
29479 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29481 (__libc_pwrite64): Don't use CHECK_N.
29482 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29484 (__libc_msgrcv): Don't use CHECK_N.
29485 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29486 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29487 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29488 (__libc_writev): Don't use CHECK_N.
29490 2013-02-08 Roland McGrath <roland@hack.frob.com>
29492 * string/strcpy.c: Removed unused variable.
29494 * Makeconfig (+sysdep-includes): Define with := rather than =.
29495 Use an existing include/ subdir of each sysdeps dir before it.
29497 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29499 * nscd/connection.c (register_traced_file): Comment function.
29500 [HAVE_INOTIFY] (union __inev): Define.
29501 [HAVE_INOTIFY] (inotify_check_files): New function.
29502 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29503 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29505 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29507 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29509 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29510 loaded if not already and that a failure is permanent.
29512 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29515 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29516 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29518 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29521 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29522 (CHECK_1_NULL_OK): Likewise.
29523 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29524 (__fxstat): Do not use CHECK_1.
29525 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29527 (___fxstat64): Do not use CHECK_1.
29528 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29530 (__fxstatat): Do not use CHECK_1.
29531 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29533 (__fxstatat64): Do not use CHECK_1.
29534 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29536 (__fxstat): Do not use CHECK_1.
29537 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29539 (__fxstatat): Do not use CHECK_1.
29540 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29542 (__getresgid): Do not use CHECK_1.
29543 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29545 (__getresuid): Do not use CHECK_1.
29546 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29548 (__lxstat): Do not use CHECK_1.
29549 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29551 (__old_msgctl): Do not use CHECK_1.
29552 (__new_msgctl): Likewise.
29553 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29555 (__new_setrlimit): Do not use CHECK_1.
29556 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29558 (__old_shmctl): Do not use CHECK_1.
29559 (__new_shmctl): Likewise.
29560 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29562 (__xstat): Do not use CHECK_1.
29563 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29564 (__lxstat): Do not use CHECK_1.
29565 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29567 (___lxstat64): Do not use CHECK_1.
29568 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29569 (__old_msgctl): Do not use CHECK_1.
29570 (__new_msgctl): Likewise.
29571 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29573 (__gettimeofday): Do not use CHECK_1.
29574 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29575 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29576 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29578 (__gettimeofday): Do not use CHECK_1.
29579 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29580 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29581 (__new_shmctl): Do not use CHECK_1.
29582 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29584 (do_sigtimedwait): Do not use CHECK_1.
29585 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29587 (do_sigwaitinfo): Do not use CHECK_1.
29588 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29590 (msgctl): Do not use CHECK_1.
29591 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29593 (shmctl): Do not use CHECK_1.
29594 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29595 (ustat): Do not use CHECK_1.
29596 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29598 (__fxstat): Do not use CHECK_1.
29599 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29601 (__fxstatat): Do not use CHECK_1.
29602 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29604 (__lxstat): Do not use CHECK_1.
29605 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29607 (__xstat): Do not use CHECK_1.
29608 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29609 (__xstat): Do not use CHECK_1.
29610 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29611 (___xstat64): Do not use CHECK_1.
29614 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29616 (CHECK_BOUNDS_HIGH): Likewise.
29617 * string/strcpy.c: Do not include <bp-checks.h>.
29618 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29620 2013-02-07 Roland McGrath <roland@hack.frob.com>
29622 * nscd/nscd-client.h (__nscd_drop_map_ref):
29623 Add __attribute__ ((unused)).
29624 * nis/nss-nisplus.h (niserr2nss): Likewise.
29626 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29627 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29629 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29630 Remove inline keyword.
29631 * include/rounding-mode.h (round_away): Likewise.
29632 * libio/wfileops.c (adjust_wide_data): Likewise.
29633 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29634 (__m128i_strloadu_tolower): Likewise.
29635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29636 (__m128i_strloadu_tolower): Likewise.
29637 * time/mktime.c (ydhms_diff): Likewise.
29638 * locale/elem-hash.h (elem_hash): Likewise.
29639 * locale/setlocale.c (setdata): Likewise.
29640 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29641 (re_string_wchar_at): Likewise.
29642 (bitset_not, bitset_merge, bitset_mask): Likewise.
29643 [!(__GNUC__ > 3)] (inline): Remove macro.
29644 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29645 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29646 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29647 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29648 * string/memcmp.c (memcmp_bytes): Likewise.
29649 * locale/programs/locarchive.c (compute_hashval): Likewise.
29650 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29651 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29652 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29653 * nss/getent.c (print_rpc, print_protocols): Likewise.
29654 (print_passwd, print_group, print_aliases): Likewise.
29655 * nis/nss-nisplus.h (niserr2nss): Likewise.
29656 * nscd/connections.c (restart_p): Likewise.
29657 Change return type to bool.
29659 2013-02-05 Roland McGrath <roland@hack.frob.com>
29661 * Makeconfig (all-Depend-files): Add existing
29662 $(sorted-subdirs:=/Depend) files.
29663 (all-subdirs): Remove nss.
29664 * sysdeps/unix/inet/Subdirs: Add it here instead.
29665 * hesiod/Depend: New file.
29667 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29668 instead of calling alloca.
29670 * io/lseek.c (__lseek): Rename to __libc_lseek.
29671 Define __lseek as an alias.
29673 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29675 2013-02-04 Carlos O'Donell <carlos@redhat.com>
29677 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29678 else clause and remove check for non-standard endianness.
29680 2013-02-04 David S. Miller <davem@davemloft.net>
29682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29684 2013-02-04 Joseph Myers <joseph@codesourcery.com>
29687 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29688 (__ubp_memchr): Remove prototype.
29689 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29690 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29691 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29692 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29693 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29695 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29696 (__ubp_memchr): Likewise.
29697 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29698 (__ubp_memchr): Likewise.
29699 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29700 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29701 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29702 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29704 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29705 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29706 (__getcwd): Do not use CHECK_STRING.
29707 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29709 (__real_chown): Do not use CHECK_STRING.
29710 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29712 (fchownat): Do not use CHECK_STRING.
29713 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29715 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29717 (__lchown): Do not use CHECK_STRING.
29718 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29719 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29720 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29721 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29723 include <bp-checks.h>.
29724 (truncate64): Do not use CHECK_STRING.
29725 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29727 (__real_chown): Do not use CHECK_STRING.
29728 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29730 (__lchown): Do not use CHECK_STRING.
29731 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29733 (__chown): Do not use CHECK_STRING.
29734 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29736 (truncate64): Do not use CHECK_STRING.
29737 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29739 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29740 (__xmknod): Do not use CHECK_STRING.
29741 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29743 (__xmknodat): Do not use CHECK_STRING.
29744 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29745 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29747 2013-02-04 Andreas Schwab <schwab@suse.de>
29750 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29751 * include/netdb.h: Likewise for h_errno.
29752 * elf/tst-stackguard1.c: Include <tls.h>.
29754 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29756 * elf/link.h (struct link_map): Extend the l_addr comment.
29757 * include/link.h (struct link_map): Likewise.
29759 2013-02-01 Joseph Myers <joseph@codesourcery.com>
29762 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29763 (BOUNDED_1): Remove macro.
29764 * debug/backtrace.c: Don't include <bp-checks.h>.
29765 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29766 (__backtrace): Likewise.
29767 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29769 (__backtrace): Don't use BOUNDED_1.
29770 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29772 (__backtrace): Don't use BOUNDED_1.
29773 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29774 (__backtrace): Don't use BOUNDED_1.
29775 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29776 (shmat): Don't use BOUNDED_N.
29778 2013-01-31 Joseph Myers <joseph@codesourcery.com>
29781 * sysdeps/generic/bp-start.h: Remove file.
29782 * csu/libc-start.c: Don't include <bp-start.h>.
29783 (LIBC_START_MAIN): Set up __environ directly instead of using
29784 INIT_ARGV_and_ENVIRON.
29785 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29789 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29791 (CHECK_FCNTL): Likewise.
29792 (CHECK_N_PAGES): Likewise.
29795 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29797 (CHECK_SIGSET_NULL_OK): Likewise.
29798 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29800 (sigpending): Don't use CHECK_SIGSET.
29801 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29803 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29804 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29806 (do_sigsuspend): Don't use CHECK_SIGSET.
29807 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29809 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29810 (do_sigwait): Don't use CHECK_SIGSET.
29811 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29814 include <bp-checks.h>.
29815 (sigpending): Don't use CHECK_SIGSET.
29816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29817 include <bp-checks.h>.
29818 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29819 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29821 (sigpending): Don't use CHECK_SIGSET.
29822 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29824 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29827 * sysdeps/generic/bp-semctl.h: Remove file.
29828 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29829 <bp-checks.h> and <bp-semctl.h>.
29830 (__old_semctl): Don't use CHECK_SEMCTL.
29831 (__new_semctl): Likewise.
29832 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29834 (__old_semctl): Don't use CHECK_SEMCTL.
29835 (__new_semctl): Likewise.
29836 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29837 <bp-checks.h> and <bp-semctl.h>.
29838 (__old_semctl): Don't use CHECK_SEMCTL.
29839 (__new_semctl): Likewise.
29840 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29841 <bp-checks.h> and <bp-semctl.h>.
29842 (semctl): Don't use CHECK_SEMCTL.
29845 * Makerules (elide-bp-thunks): Remove variable.
29846 (elide-routines.oS): Don't use $(elide-bp-thunks).
29847 (elide-routines.os): Likewise.
29848 (elide-routines.o): Likewise.
29849 (elide-routines.op): Likewise.
29850 (elide-routines.og): Likewise.
29851 (objects): Don't use $(bp-thunks).
29852 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29854 (common-generated): Do not add s-proto-bp.d.
29855 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29858 Do not generate makefile rules for bounded-pointer thunks.
29859 * sysdeps/generic/bp-thunks.h: Remove file.
29860 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29861 * sysdeps/unix/s-proto-bp.S: Likewise.
29864 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29865 parts of result separately when argument is not close to line from
29866 -i to i and one part of argument is small.
29867 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29868 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29869 * math/libm-test.inc (cacos_test): Add more tests.
29870 (casin_test): Likewise.
29871 (casinh_test): Likewise.
29872 * sysdeps/i386/fpu/libm-test-ulps: Update.
29873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29875 2013-01-31 David S. Miller <davem@davemloft.net>
29877 * po/de.po: Update from translation team.
29879 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29881 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29883 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29885 * configure.in (_AC_PROG_CC_C89): New definition.
29886 * configure: Regenerate.
29888 * configure.in (AC_PROG_CPP): New definition.
29889 * configure: Regenerate.
29891 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29893 * debug/tst-backtrace.h: New file.
29894 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29895 (ret): Remove variable.
29897 (FAIL): Remove macro.
29898 (NO_INLINE): Likewise.
29899 (fn1): Use match function instead of strstr.
29900 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29901 (ret): Remove variable.
29903 (FAIL): Remove macro.
29904 (NO_INLINE): Likewise.
29905 (fn): Use match function instead of strstr.
29906 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29907 (ret): Remove variable.
29909 (FAIL): Remove macro.
29910 (NO_INLINE): Likewise.
29911 (handle_signal): Use match function instead of strstr.
29912 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29913 (ret): Remove variable.
29915 (FAIL): Remove macro.
29916 (NO_INLINE): Likewise.
29917 (handle_signal): Use match function instead of strstr.
29919 2013-01-23 Roland McGrath <roland@hack.frob.com>
29921 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29923 2013-01-23 David S. Miller <davem@davemloft.net>
29925 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29926 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29927 argument of CAS if possible.
29928 * sysdeps/sparc/sparc64/bits/atomic.h
29929 (__arch_compare_and_exchange_val_32_acq): Likewise.
29930 (__arch_compare_and_exchange_val_64_acq): Likewise.
29932 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29934 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29935 * sysdeps/posix/ulimit.c: ... this.
29936 Include <limits.h>.
29937 * sysdeps/unix/bsd/ulimit.c: Remove file.
29939 2013-01-23 Adam Conrad <adconrad@0c3.net>
29941 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29942 (LDFLAGS-tst-array5): Likewise.
29944 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29947 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29948 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29949 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29950 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29952 2013-01-21 David S. Miller <davem@davemloft.net>
29954 * sysdeps/sparc/backtrace.c: New file.
29955 * sysdeps/sparc/sparc32/backtrace.h: New file.
29956 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29957 * sysdeps/sparc/sparc64/backtrace.h: New file.
29958 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29959 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29962 2013-01-21 Andreas Schwab <schwab@suse.de>
29965 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29968 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29974 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29975 Mark Mitchell <mark@codesourcery.com>
29976 Tom de Vries <tom@codesourcery.com>
29977 Paul Pluzhnikov <ppluzhnikov@google.com>
29979 * debug/tst-backtrace2.c: New file.
29980 * debug/tst-backtrace3.c: Likewise.
29981 * debug/tst-backtrace4.c: Likewise.
29982 * debug/tst-backtrace5.c: Likewise.
29983 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29984 (CFLAGS-tst-backtrace3.c): Likewise.
29985 (CFLAGS-tst-backtrace4.c): Likewise.
29986 (CFLAGS-tst-backtrace5.c): Likewise.
29987 (LDFLAGS-tst-backtrace2): Likewise.
29988 (LDFLAGS-tst-backtrace3): Likewise.
29989 (LDFLAGS-tst-backtrace4): Likewise.
29990 (LDFLAGS-tst-backtrace5): Likewise.
29991 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29992 tst-backtrace4 and tst-backtrace5.
29994 2013-01-18 Anton Blanchard <anton@samba.org>
29995 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29997 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29998 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29999 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30000 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30002 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30003 "+r" and remove output regs list as redundant. Add explicit inline
30004 asm to specify register of return val to work around compiler codegen
30005 bug. Remove (int) cast on return value. Add return type parameter to
30006 use in macro so that this macro does not truncate return value for
30008 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30009 pass to INTERNAL_VSYSCALL_NCS.
30010 (INLINE_VSYSCALL): Add 'long int' as return type to
30011 INTERNAL_VSYSCALL_NCS macro invocation.
30012 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30013 INTERNAL_VSYSCALL_NCS macro invocation.
30014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30016 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30019 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30020 Fix application of SIMD FP exception mask.
30022 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30023 mp_no from a power of two.
30024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30025 __mpexp_twomm1. Use __pow_mp.
30027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30030 2013-01-17 David S. Miller <davem@davemloft.net>
30032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30034 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30037 * include/complex.h: Condition contents on [!_COMPLEX_H].
30038 (__kernel_casinhf): New prototype.
30039 (__kernel_casinh): Likewise.
30040 (__kernel_casinhl): Likewise.
30041 * math/Makefile (libm_calls): Add k_casinh.
30042 * math/k_casinh.c: New file.
30043 * math/k_casinhf.c: Likewise.
30044 * math/k_casinhl.c: Likewise.
30045 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30046 finite nonzero arguments.
30047 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30048 finite nonzero arguments.
30049 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30050 finite nonzero arguments.
30051 * math/s_casinh.c: Do not include <float.h>.
30052 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30053 * math/s_casinhf.c: Do not include <float.h>.
30054 (__casinhf): Move code for finite nonzero arguments to
30056 * math/s_casinhl.c: Do not include <float.h>.
30057 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30059 (__casinhl): Move code for finite nonzero arguments to
30061 * math/libm-test.inc (cacos_test): Add more tests.
30062 * sysdeps/i386/fpu/libm-test-ulps: Update.
30063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30065 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30067 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30068 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30069 [!HAVE_MREMAP]: Remove [defined linux] case.
30070 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30072 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30074 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30076 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30078 * elf/elf.h (R_386_SIZE32): New relocation.
30079 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30081 (elf_machine_rela): Likewise.
30082 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30083 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30085 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30087 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30088 (FP_FAST_FMA): Do not define.
30089 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30090 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30091 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30092 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30093 !_SOFT_FLOAT]: Likewise.
30094 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30095 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30097 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30098 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30099 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30100 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30101 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30102 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30105 2013-01-16 Andreas Schwab <schwab@suse.de>
30108 * include/stdlib.h (__mktemp): Add declaration.
30109 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30110 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30112 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30114 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30116 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30117 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30118 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30120 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30121 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30123 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30125 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30126 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30127 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30129 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30130 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30132 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30134 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30136 2013-01-15 David S. Miller <davem@davemloft.net>
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30139 trunc{,f} to libm-sysdep_routes.
30140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30150 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30151 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30152 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30153 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30154 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30155 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30158 nearbyint{,f} to libm-sysdep_routes.
30159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30170 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30172 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30173 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30176 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30177 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30179 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30180 libc_feholdexcept and libc_fesetenv.
30182 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30184 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30186 2013-01-14 David S. Miller <davem@davemloft.net>
30188 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30189 (SPARC_ASM_VIS2_IFUNC): Likewise.
30190 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30192 use of 'siam' instruction.
30193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30226 routines to libm-sysdep_routines.
30227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30230 fdim/fdimf to libm-sysdep_routines.
30231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30239 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30240 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30241 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30242 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30244 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30246 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30247 to optimize copies.
30249 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30254 local variable MPTWO.
30255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30258 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30260 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30263 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30265 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30267 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30269 * manual/pattern.texi (glob_t): Document gl_flags.
30270 (glob64_t): Likewise.
30272 2013-01-11 David S. Miller <davem@davemloft.net>
30274 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30275 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30276 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30277 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30278 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30279 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30280 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30281 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30282 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30283 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30284 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30285 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30286 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30288 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30289 sparc V9 rather than using V8 code.
30290 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30291 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30293 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30295 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30298 2013-01-11 Roland McGrath <roland@hack.frob.com>
30300 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30301 not in the main loop.
30302 * configure: Regenerated.
30304 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30306 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30307 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30309 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30310 [!__GLIBC_HAVE_LONG_LONG] case.
30311 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30312 condition to just #else.
30313 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30314 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30315 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30316 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30318 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30319 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30320 #elif condition to just #else.
30321 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30322 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30323 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30324 #elif condition to just #else.
30326 2013-01-11 Steve Ellcey <sellcey@mips.com>
30328 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30329 (EF_MIPS_ARCH_64): Fix value.
30330 (EF_MIPS_ARCH_32R2): New.
30331 (EF_MIPS_ARCH_64R2): New.
30333 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30335 * Makeconfig (+link-pie-before-libc): New.
30336 (+link-pie-after-libc): Likewise.
30337 (+link-pie-tests): Likewise.
30338 (+link-pie): Rewritten.
30339 (link-before-libc): Remove $(config-LDFLAGS).
30340 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30341 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30342 (config-LDFLAGS): Renamed to ...
30343 (rtld-LDFLAGS): This.
30344 (rtld-tests-LDFLAGS): New macro.
30345 (link-libc-rpath-link): Likewise.
30346 (link-libc-tests-rpath-link): Likewise.
30347 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30348 (link-libc): Prepand $(link-libc-rpath-link).
30349 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30350 (test-program-prefix): New macro.
30351 (test-via-rtld-prefix): Likewise.
30352 (test-program-cmd): Likewise.
30353 (host-test-program-cmd): Likewise.
30354 * Makefile ($(common-objpfx)testrun.sh): Replace
30355 $(run-program-prefix) with $(test-program-prefix).
30356 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30358 ($(common-objpfx)shlib.lds): Likewise.
30359 (build-module-helper): Likewise.
30360 ($(common-objpfx)format.lds): Likewise.
30361 * Rules (binaries-pie-tests): New.
30362 (binaries-pie-notests): Likewise.
30363 (binaries-pie): Rewritten.
30364 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30365 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30366 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30367 (make-test-out): Replace $(host-built-program-cmd) with
30368 $(host-test-program-cmd).
30369 * config.make.in (build-hardcoded-path-in-tests): New variable.
30370 * configure.in (--enable-hardcoded-path-in-tests): New configure
30372 (hardcoded_path_in_tests): New AC_SUBST.
30373 * configure: Regenerated.
30374 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30375 $(built-program-cmd) with $(test-program-cmd).
30376 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30377 (test_program_cmd): This.
30378 * elf/Makefile ($(objpfx)order.out): Run test with
30379 $(test-program-prefix).
30380 ($(objpfx)order2.out): Likewise.
30381 ($(objpfx)tst-initorder.out): Likewise.
30382 ($(objpfx)tst-initorder2.out): Likewise.
30383 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30384 $(test-program-cmd).
30385 ($(objpfx)tst-array1-static.out): Likewise.
30386 ($(objpfx)tst-array2.out): Likewise.
30387 ($(objpfx)tst-array3.out): Likewise.
30388 ($(objpfx)tst-array4.out): Likewise.
30389 ($(objpfx)tst-array5.out): Likewise.
30390 ($(objpfx)tst-array5-static.out): Likewise.
30391 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30392 $(test-program-cmd).
30393 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30394 $(run-program-prefix) with $(test-program-prefix).
30395 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30396 (test_program_prefix): This.
30397 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30398 $(run-program-prefix) with $(test-program-prefix).
30399 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30400 (test_program_prefix): This.
30401 * iconvdata/tst-tables.sh: Likewise.
30402 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30403 $(run-program-prefix) with $(test-program-prefix).
30404 ($(objpfx)tst-translit.out): Likewise.
30405 ($(objpfx)tst-gettext2.out): Likewise.
30406 ($(objpfx)tst-gettext4.out): Likewise.
30407 ($(objpfx)tst-gettext6.out): Likewise.
30408 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30409 (test_program_prefix): This.
30410 * intl/tst-gettext2.sh: Likewise.
30411 * intl/tst-gettext4.sh Likewise.
30412 * intl/tst-gettext6.sh: Likewise.
30413 * intl/tst-translit.sh: Likewise.
30414 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30415 with $(test-program-cmd).
30416 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30417 $(run-program-prefix) with $(test-program-prefix).
30418 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30419 (test_program_prefix): This.
30420 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30421 $(run-program-prefix) with $(test-program-prefix).
30422 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30423 (test_program_prefix): This.
30424 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30425 * posix/Makefile ($(objpfx)globtest.out): Replace
30426 $(run-via-rtld-prefix) and $(test-wrapper) with
30427 $(test-program-prefix) and $(test-via-rtld-prefix).
30428 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30429 $(test-program-prefix).
30430 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30431 $(host-test-program-cmd).
30432 (tst-spawn-ARGS): Likewise.
30433 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30434 $(test-program-prefix).
30435 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30436 (test_via_rtld_prefix): This.
30437 (test_wrapper): Renamed to ...
30438 (test_program_prefix): This.
30439 (run_program_prefix): Replaced by test_program_prefix.
30440 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30441 (test_program_prefix): This.
30442 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30443 with $(host-test-program-cmd).
30444 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30445 $(run-program-prefix) with $(test-program-prefix).
30446 ($(objpfx)tst-printf.out): Likewise.
30447 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30448 $(test-program-cmd).
30449 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30450 (test_program_prefix): This.
30451 * stdio-common/tst-unbputc.sh: Likewise.
30452 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30453 $(run-program-prefix) with $(test-program-prefix).
30454 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30455 (test_program_prefix): This.
30456 * string/Makefile ($(objpfx)tst-svc.out): Replace
30457 $(built-program-cmd) with $(test-program-cmd).
30459 2013-01-11 Andreas Jaeger <aj@suse.de>
30462 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30463 value. Sync with Linux 3.7.
30465 2013-01-10 David S. Miller <davem@davemloft.net>
30467 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30468 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30469 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30471 2013-01-10 Roland McGrath <roland@hack.frob.com>
30473 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30475 * configure: Regenerated.
30477 2013-01-10 David S. Miller <davem@davemloft.net>
30479 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30480 sparc V9 rather than using V8 code.
30481 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30482 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30484 2013-01-10 Roland McGrath <roland@hack.frob.com>
30486 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30487 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30488 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30489 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30490 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30491 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30492 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30493 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30494 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30495 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30496 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30497 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30498 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30499 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30500 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30501 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30502 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30503 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30504 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30505 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30506 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30507 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30508 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30509 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30510 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30511 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30512 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30514 2013-01-10 David S. Miller <davem@davemloft.net>
30516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30518 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30520 * posix/Makefile (tests-static): New variable.
30521 (tests): Add $(tests-static).
30522 (tst-exec-static-ARGS): New variable.
30523 (tst-spawn-static-ARGS): Likewise.
30524 * posix/tst-exec-static.c: New file.
30525 * posix/tst-spawn-static.c: Likewise.
30526 * posix/tst-exec.c: Support run directly.
30527 * posix/tst-spawn.c: Likewise.
30529 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30531 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30533 * math/bits/mathcalls.h (llrint): Likewise.
30534 (llround): Likewise.
30535 * stdlib/stdlib.h (struct drand48_data): Likewise.
30536 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30537 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30538 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30540 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30542 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30543 (elf_greg_t): Likewise.
30544 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30545 (__jmp_buf): Likewise.
30546 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30548 (llrint): Likewise, for all definitions.
30549 (llrintl): Likewise.
30551 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30552 Remove [__GNUC__] condition.
30553 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30554 condition to just [__USE_ISOC99].
30555 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30557 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30560 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30561 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30563 (_POSIX_V6_ILP32_OFF32): Likewise.
30564 (_XBS5_ILP32_OFF32): Likewise.
30565 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30566 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30568 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30570 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30573 doubles __mpexp_twomm1. Adjust usage.
30574 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30577 2013-01-10 Andreas Schwab <schwab@suse.de>
30580 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30581 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30583 2013-01-09 David S. Miller <davem@davemloft.net>
30586 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30587 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30588 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30589 (TCP_FASTOPEN): Define.
30590 (tcp_repair_opt): New structure.
30591 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30593 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30594 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30595 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30596 (tcp_cookie_transactions): New structure.
30598 2013-01-09 Anton Blanchard <anton@samba.org>
30600 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30601 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30602 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30603 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30605 2013-01-09 Joseph Myers <joseph@codesourcery.com>
30607 * include/features.h (__USE_ANSI): Remove.
30609 2013-01-09 Roland McGrath <roland@hack.frob.com>
30611 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30613 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30615 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30617 * sysdeps/s390/fpu/libm-test-ulps: Update.
30619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30621 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30625 (denorm): Likewise.
30626 (__mp_dbl): Likewise.
30627 (__dbl_mp): Likewise.
30628 (add_magnitudes): Likewise.
30629 (sub_magnitudes): Likewise.
30635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30639 (denorm): Likewise.
30640 (__mp_dbl): Likewise.
30641 (__dbl_mp): Likewise.
30642 (add_magnitudes): Likewise.
30643 (sub_magnitudes): Likewise.
30649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30653 (denorm): Likewise.
30654 (__mp_dbl): Likewise.
30655 (__dbl_mp): Likewise.
30656 (add_magnitudes): Likewise.
30657 (sub_magnitudes): Likewise.
30664 2013-01-08 Joseph Myers <joseph@codesourcery.com>
30666 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30667 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30668 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30669 2 && __USE_EXTERN_INLINES]: Likewise.
30671 2013-01-08 Andreas Jaeger <aj@suse.de>
30674 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30676 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30677 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30679 2013-01-07 Anton Blanchard <anton@samba.org>
30681 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30682 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30683 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30684 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30685 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30686 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30687 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30688 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30690 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30691 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30692 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30694 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30695 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30696 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30697 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30699 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30700 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30701 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30702 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30703 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30704 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30705 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30706 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30707 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30708 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30709 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30710 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30711 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30713 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30714 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30715 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30716 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30717 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30718 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30719 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30720 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30721 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30722 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30723 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30725 2013-01-07 Joseph Myers <joseph@codesourcery.com>
30727 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30728 (__MALLOC_PMT): Likewise.
30729 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30730 [__GNUC__], only on [_LIBC].
30731 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30732 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30733 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30734 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30735 forward declaration.
30736 (realloc_hook_ini): Likewise.
30737 (memalign_hook_ini): Likewise.
30738 (__libc_memalign): Do not use __MALLOC_PMT in variable
30740 (__libc_valloc): Likewise.
30741 (__libc_pvalloc): Likewise.
30742 (__libc_calloc): Likewise.
30743 (__posix_memalign): Likewise.
30746 * math/s_casinh.c: Include <float.h>.
30747 (__casinh): Do not do computation with squaring and square root
30748 for large arguments.
30749 * math/s_casinhf.c: Include <float.h>.
30750 (__casinhf): Do not do computation with squaring and square root
30751 for large arguments.
30752 * math/s_casinhl.c: Include <float.h>.
30753 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30754 (__casinhl): Do not do computation with squaring and square root
30755 for large arguments.
30756 * math/libm-test.inc (casin_test): Add more tests.
30757 (casinh_test): Likewise.
30758 * sysdeps/i386/fpu/libm-test-ulps: Update.
30759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30761 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30763 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30764 (__x86_64_raw_data_cache_size): Likewise.
30765 (__x86_64_data_cache_size_half): Likewise.
30766 (__x86_64_raw_data_cache_size_half): Likewise.
30767 (__x86_64_shared_cache_size): Likewise.
30768 (__x86_64_raw_shared_cache_size): Likewise.
30769 (__x86_64_shared_cache_size_half): Likewise.
30770 (__x86_64_raw_shared_cache_size_half): Likewise.
30771 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30773 (__x86_data_cache_size): This.
30774 (__x86_64_raw_data_cache_size): Renamed to ...
30775 (__x86_raw_data_cache_size): This.
30776 (__x86_64_data_cache_size_half): Renamed to ...
30777 (__x86_data_cache_size_half): This.
30778 (__x86_64_raw_data_cache_size_half): Renamed to ...
30779 (__x86_raw_data_cache_size_half): This.
30780 (__x86_64_shared_cache_size): Renamed to ...
30781 (__x86_shared_cache_size): This.
30782 (__x86_64_raw_shared_cache_size): Renamed to ...
30783 (__x86_raw_shared_cache_size): This.
30784 (__x86_64_shared_cache_size_half): Renamed to ...
30785 (__x86_shared_cache_size_half): This.
30786 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30787 (__x86_raw_shared_cache_size_half): This.
30788 * sysdeps/x86_64/memcpy.S: Updated.
30789 * sysdeps/x86_64/memset.S: Likewise.
30790 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30791 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30792 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30794 2013-01-04 David S. Miller <davem@davemloft.net>
30796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30798 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30800 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30801 1 to avoid redefinition warning.
30802 (__USE_GNU): Don't define.
30803 (init_signaling_nan): Protoize.
30805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30807 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30809 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30811 (__cpymn): Likewise.
30812 (norm): Remove commented code.
30813 (denorm): Likewise.
30814 (__mp_dbl): Likewise.
30816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30817 (__cpymn): Likewise.
30818 (norm): Remove commented code.
30819 (denorm): Likewise.
30820 (__mp_dbl): Likewise.
30823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30824 mp_no value for 1.0 and 2.0.
30825 (norm): Use RADIXI instead of radixi.d.
30826 (denorm): Likewise.
30827 (__mul): Use 0.0 instead of zero.d.
30828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30829 mp_no value for 1.0 and 2.0.
30830 (norm): Use RADIXI instead of radixi.d.
30831 (denorm): Likewise.
30832 (__mul): Use 0.0 instead of zero.d.
30834 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30837 * math/s_casinh.c (__casinh): Reduce finite argument to first
30838 quadrant then set signs of results at the end.
30839 * math/s_casinhf.c (__casinhf): Likewise.
30840 * math/s_casinhl.c (__casinhl): Likewise.
30841 * math/libm-test.inc (casin_test): Add more tests.
30842 (casinh_test): Likewise.
30843 * sysdeps/i386/fpu/libm-test-ulps: Update.
30844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30846 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30848 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30850 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30852 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30854 (denorm): Likewise.
30855 (__mp_dbl): Likewise.
30858 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30859 and adjust the header comment.
30861 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30862 variable name from declaration.
30864 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30867 Initialize COMMON_CPUID_INDEX_7 element.
30868 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30869 (CPUID_RTM): Likewise.
30870 (HAS_RTM): Likewise.
30871 (COMMON_CPUID_INDEX_7): New enum.
30873 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30876 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30877 size is zero, record memory as freed.
30879 2013-01-03 Andreas Jaeger <aj@suse.de>
30881 * po/ia.po: Add new Interlingua translation.
30883 2012-01-03 Allan McRae <allan@archlinux.org>
30885 * locale/programs/localedef.c: Fix description of '--posix' flag.
30887 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30889 * NEWS: Update dates in second copyright notice.
30890 * README: Update copyright dates in example.
30891 * manual/libc.texinfo: Update copyright dates.
30892 * scripts/test-installation.pl: Update copyright date in --version
30895 * hurd/ctty-input.c: Fix copyright notice formatting.
30896 * hurd/ctty-output.c: Likewise.
30897 * hurd/dtable.c: Likewise.
30898 * hurd/hurd-raise.c: Likewise.
30899 * hurd/hurdprio.c: Likewise.
30900 * hurd/msgportdemux.c: Likewise.
30901 * misc/sys/file.h: Likewise.
30902 * misc/sys/ioctl.h: Likewise.
30903 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30904 * sysdeps/mach/hurd/chdir.c: Likewise.
30905 * sysdeps/mach/hurd/fchdir.c: Likewise.
30906 * sysdeps/mach/hurd/rename.c: Likewise.
30907 * sysdeps/mach/hurd/rmdir.c: Likewise.
30908 * sysdeps/mach/hurd/seekdir.c: Likewise.
30909 * sysdeps/mach/hurd/setsid.c: Likewise.
30910 * sysdeps/posix/wait3.c: Likewise.
30912 * All files with FSF copyright notices: Update copyright dates
30913 using scripts/update-copyrights.
30914 * intl/plural.c: Regenerated.
30915 * locale/programs/charmap-kw.h: Likewise.
30916 * locale/programs/locfile-kw.h: Likewise.
30918 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30920 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30923 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30924 calculation loop and add branch prediction.
30926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30927 check access beyond bounds of m1np.
30929 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30931 (__inv): Remove local variable MPTWO to use the global
30933 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30934 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30936 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30937 MP3HALFS static const.
30939 2013-01-01 David S. Miller <davem@davemloft.net>
30941 * po/ca.po: Update from translation team.
30943 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30945 * scripts/update-copyrights: New file.
30946 * Makeconfig: Reformat copyright notice.
30947 * ctype/ctype.h: Likewise.
30948 * debug/swprintf_chk.c: Likewise.
30949 * elf/dl-cache.c: Likewise.
30950 * elf/dl-debug.c: Likewise.
30951 * elf/dl-object.c: Likewise.
30952 * grp/initgroups.c: Likewise.
30953 * hurd/Makefile: Likewise.
30954 * hurd/hurd/signal.h: Likewise.
30955 * hurd/hurdfault.c: Likewise.
30956 * hurd/hurdioctl.c: Likewise.
30957 * hurd/hurdlookup.c: Likewise.
30958 * hurd/intr-msg.c: Likewise.
30959 * iconv/gconv_open.c: Likewise.
30960 * libio/swprintf.c: Likewise.
30961 * locale/lc-ctype.c: Likewise.
30962 * locale/nl_langinfo.c: Likewise.
30963 * mach/Machrules: Likewise.
30964 * mach/Makefile: Likewise.
30965 * malloc/obstack.h: Likewise.
30966 * manual/Makefile: Likewise.
30967 * manual/tsort.awk: Likewise.
30968 * misc/bits/stab.def: Likewise.
30969 * nis/nis_print_group_entry.c: Likewise.
30970 * nis/nis_table.c: Likewise.
30971 * nis/nss_compat/compat-pwd.c: Likewise.
30972 * nis/nss_compat/compat-spwd.c: Likewise.
30973 * po/Makefile: Likewise.
30974 * posix/fnmatch.c: Likewise.
30975 * posix/regex.h: Likewise.
30976 * resolv/Makefile: Likewise.
30977 * resolv/nss_dns/dns-network.c: Likewise.
30978 * resolv/res_hconf.c: Likewise.
30979 * scripts/gen-sorted.awk: Likewise.
30980 * soft-fp/soft-fp.h: Likewise.
30981 * stdio-common/printf.h: Likewise.
30982 * stdlib/monetary.h: Likewise.
30983 * stdlib/random.c: Likewise.
30984 * stdlib/random_r.c: Likewise.
30985 * sysdeps/generic/Makefile: Likewise.
30986 * sysdeps/gnu/Makefile: Likewise.
30987 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30989 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30994 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31005 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31007 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31008 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31009 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31015 * sysdeps/mach/hurd/errnos.awk: Likewise.
31016 * sysdeps/mach/hurd/fork.c: Likewise.
31017 * sysdeps/mach/hurd/getcwd.c: Likewise.
31018 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31019 * sysdeps/mach/hurd/mmap.c: Likewise.
31020 * sysdeps/mach/hurd/utimes.c: Likewise.
31021 * sysdeps/mach/hurd/xmknod.c: Likewise.
31022 * sysdeps/posix/profil.c: Likewise.
31023 * sysdeps/posix/readdir_r.c: Likewise.
31024 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31025 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31026 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31027 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31029 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31030 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31031 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31033 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31035 * sysdeps/pthread/lio_listio.c: Likewise.
31036 * sysdeps/sparc/dl-procinfo.h: Likewise.
31037 * sysdeps/unix/i386/sysdep.S: Likewise.
31038 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31039 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31040 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31041 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31043 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31044 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31045 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31046 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31047 * sysdeps/wordsize-32/divdi3.c: Likewise.
31048 * time/sys/time.h: Likewise.
31049 * wcsmbs/Makefile: Likewise.
31051 2013-01-01 David S. Miller <davem@davemloft.net>
31053 * po/fr.po: Update from translation team.
31055 * catgets/gencat.c: Update copyright year.
31056 * csu/version.c: Likewise.
31057 * debug/catchsegv.sh: Likewise.
31058 * debug/pcprofiledump.c: Likewise.
31059 * debug/xtrace.sh: Likewise.
31060 * elf/ldconfig.c: Likewise.
31061 * elf/ldd.bash.in: Likewise.
31062 * elf/pldd.c: Likewise.
31063 * elf/sotruss.ksh: Likewise.
31064 * elf/sprof.c: Likewise.
31065 * iconv/iconv_prog.c: Likewise.
31066 * iconv/iconvconfig.c: Likewise.
31067 * locale/programs/locale.c: Likewise.
31068 * locale/programs/localedef.c: Likewise.
31069 * login/programs/pt_chown.c: Likewise.
31070 * malloc/memusage.sh: Likewise.
31071 * malloc/memusagestat.c: Likewise.
31072 * malloc/mtrace.pl: Likewise.
31073 * nscd/nscd.c: Likewise.
31074 * nss/getent.c: Likewise.
31075 * nss/makedb.c: Likewise.
31076 * posix/getconf.c: Likewise.
31078 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31080 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31083 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31085 * math/bits/mathcalls.h (modf): Use __nonnull.
31087 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31089 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31090 (split): Use macro CN instead of the bare value.
31091 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31094 instead of the bare value.
31095 (power1): Likewise.
31097 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31099 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31101 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31103 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31105 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31106 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31107 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31108 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31110 2012-12-28 Andreas Jaeger <aj@suse.de>
31112 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31113 values are from Linux 3.7.
31115 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31116 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31118 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31120 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31123 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31125 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31126 variables with preprocessor constants.
31127 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31128 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31129 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31131 2012-12-27 Bruno Haible <bruno@clisp.org>
31134 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31137 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31140 and use variable directly.
31141 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31143 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31145 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31148 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31150 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31151 include directive. Remove local variable MPONE.
31152 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31153 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31154 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31156 2012-12-25 David S. Miller <davem@davemloft.net>
31158 * version.h (RELEASE): Set to "development".
31159 (VERSION): Set to "2.17.90".
31160 * NEWS: Add 2.18 section.
31162 2012-12-21 David S. Miller <davem@davemloft.net>
31164 * po/hr.po: Update from translation team.
31166 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31168 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31170 2012-12-19 Steve Ellcey <sellcey@mips.com>
31172 * NEWS: Mention new memcpy for MIPS.
31174 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31176 * manual/contrib.texi (Contributors): Spelling correction.
31178 2012-12-15 David S. Miller <davem@davemloft.net>
31180 * po/ru.po: Update from translation team.
31182 2012-12-13 David S. Miller <davem@davemloft.net>
31184 * NEWS: Mention IFUNC testsuite enhancements.
31186 * po/pl.po: Update from translation team.
31187 * po/bg.po: Likewise.
31189 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31190 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31192 2012-12-11 David S. Miller <davem@davemloft.net>
31194 * po/sv.po: Update from translation team.
31196 * po/vi.po: Update from translation team.
31198 * po/cs.po: Update from translation team.
31200 * po/de.po: Update from translation team.
31201 * po/eo.po: Likewise.
31202 * po/nl.po: Likewise.
31204 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31207 * manual/argp.texi (Argp Helper Functions): Move node to follow
31208 Argp Parsing State.
31211 * manual/conf.texi (Limits on File System Capacity): Mention if
31212 terminating null is included in the max size.
31214 2012-12-10 Andreas Jaeger <aj@suse.de>
31216 * po/cs.po: Update from translation team.
31218 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31220 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31221 void pointer and cast to uintptr_t.
31222 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31224 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31225 * sysdeps/s390/s390-64/memset.S: Likewise.
31227 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31230 * menual/message.texi (Message Translation): Fix typos.
31231 (Helper programs for gettext): Likewise.
31233 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31236 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31239 2012-12-07 David S. Miller <davem@davemloft.net>
31241 * po/libc.pot: Update.
31243 2012-12-07 Richard Henderson <rth@redhat.com>
31246 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31247 normal/normal case to before the switch.
31248 (_FP_DIV): Likewise.
31250 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31251 Mike Frysinger <vapier@gentoo.org>
31253 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31254 check for __NR_fadvise64_64.
31256 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31258 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31259 0, not just to plain "0" as a statement.
31260 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31263 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31265 * NEWS: Use sourceware.org in Bugzilla URL.
31267 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31270 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31272 * stdio-common/tst-put-error.c (do_test): Add newline to the
31273 padded test to ensure flush.
31275 2012-12-05 Jeff Law <law@redhat.com>
31277 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31279 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31281 * README: Don't refer to ports add-on as distributed separately.
31282 Mention AArch64 in list of systems supported in the ports add-on.
31284 * LICENSES: Add more non-FSF copyright and license notices.
31286 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31289 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31291 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31292 10000 as width of padded output.
31294 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31296 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31298 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31299 variable LX with __attribute__ ((unused)).
31300 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31302 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31303 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31304 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31305 with __attribute__ ((unused)).
31307 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31309 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31311 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31313 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31314 (CFLAGS-nldbl-acos.c): New variable.
31315 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31316 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31317 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31318 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31319 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31320 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31321 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31322 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31323 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31324 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31325 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31326 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31327 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31328 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31329 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31330 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31331 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31332 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31333 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31334 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31335 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31336 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31337 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31338 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31339 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31340 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31341 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31342 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31343 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31344 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31345 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31346 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31347 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31348 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31349 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31350 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31351 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31352 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31353 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31354 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31355 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31356 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31357 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31358 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31359 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31360 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31361 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31362 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31363 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31364 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31365 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31366 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31367 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31368 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31369 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31370 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31371 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31372 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31373 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31374 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31375 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31376 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31377 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31378 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31379 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31380 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31381 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31382 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31383 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31384 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31385 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31386 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31387 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31388 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31389 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31390 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31391 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31392 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31393 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31394 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31395 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31396 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31397 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31398 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31399 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31400 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31401 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31402 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31403 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31404 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31405 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31406 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31407 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31408 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31409 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31410 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31411 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31414 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31417 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31418 whole low double instead of just low 47 bits when splitting values
31421 2012-12-03 Allan McRae <allan@archlinux.org>
31423 * manual/stdio.texi (Predefined Printf Handlers): Remove
31424 @hsep and @vsep usage.
31426 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31428 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31429 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31431 2012-12-03 Jeff Law <law@redhat.com>
31433 * time/sys/time.h (settimeofday): Do not mark TV argument
31436 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31438 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31439 when currently writing and seek to current position when not.
31440 * libio/Makefile (tests): Remove bug-fclose1.
31441 * libio/bug-fclose1.c: Delete.
31443 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31445 * manual/arith.texi (feenableexcept): Fix typo.
31446 (fedisableexcept): Likewise.
31448 2012-11-30 Roland McGrath <roland@hack.frob.com>
31450 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31451 second, differently-typed declaration, rather than a cast.
31453 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31455 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31456 * include/rpc/svc.h: ... here.
31458 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31461 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31462 depending n and resplen2 to catch cases where answer
31465 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31467 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31468 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31470 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31472 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31474 2012-11-29 Roland McGrath <roland@hack.frob.com>
31476 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31478 2012-11-28 Jeff Law <law@redhat.com>
31481 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31482 dataset_temporary. Track alloca usage into alloca_used.
31483 If dataset is large allocate and release it via malloc/free.
31485 2012-06-04 Florian Weimer <fweimer@redhat.com>
31488 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31490 2012-11-28 David S. Miller <davem@davemloft.net>
31492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31494 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31497 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31498 of pi/2 rounded to nearest to 64 bits.
31499 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31500 nearest to 64 bits.
31501 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31504 2012-11-28 Jeff Law <law@redhat.com>
31505 Martin Osvald <mosvald@redhat.com>
31508 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31509 * sunrpc/svc.c: Include time.h.
31510 (__svc_accept_failed): New function.
31511 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31512 any reason other than EINTR, call __svc_accept_failed.
31513 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31514 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31516 2012-11-28 Andreas Schwab <schwab@suse.de>
31518 * scripts/abilist.awk: Also handle indirect functions in .opd
31521 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31524 * sysdeps/x86/fpu/powl_helper.c: New file.
31525 * sysdeps/x86/fpu/Makefile: Likewise.
31526 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31528 (__ieee754_powl): Use __powl_helper for finite arguments except
31529 integer exponents below 8.
31530 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31532 (__ieee754_powl): Use __powl_helper for finite arguments except
31533 integer exponents below 8.
31534 * math/libm-test.inc (pow_test): Add more tests and enable some
31535 previously disabled tests.
31536 * sysdeps/i386/fpu/libm-test-ulps: Update.
31537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31539 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31540 Carlos O'Donell <carlos_odonell@mentor.com>
31542 * nss/makedb.c (is_prime): Assert that input is odd and greater
31543 than 4. Note that fact in a comment too.
31544 (next_prime): Add 4 to input.
31546 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31549 * libio/Makefile (tests): Add test case tst-fwrite-error.
31550 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31551 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31552 * libio/tst-fwrite-error.c: New test case.
31554 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31556 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31557 before casting to void *.
31558 * include/libc-internal.h (__pointer_type): New macro.
31559 (__integer_if_pointer_type_sub): Likewise.
31560 (__integer_if_pointer_type): Likewise.
31561 (cast_to_integer): Likewise.
31562 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31563 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31564 before casting to atomic64_t.
31565 (atomic_exchange_acq): Likewise.
31566 (__arch_exchange_and_add_body): Likewise.
31567 (__arch_add_body): Likewise.
31568 (atomic_add_negative): Likewise.
31569 (atomic_add_zero): Likewise.
31571 2012-11-26 Joseph Myers <joseph@codesourcery.com>
31573 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31574 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31575 (add_fdes): Likewise.
31576 (linear_search_fdes): Likewise.
31577 (binary_search_unencoded_fdes): Likewise.
31579 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31581 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31583 2012-11-24 Adam Conrad <adconrad@0c3.net>
31585 * configure.in: Autodetect C++ header directories.
31586 * configure: Regenerated.
31588 2012-11-23 Mike Frysinger <vapier@gentoo.org>
31590 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31592 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31596 2012-11-22 Joseph Myers <joseph@codesourcery.com>
31598 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31599 LDBL_MANT_DIG == 106]: Disable some tests.
31600 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31602 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31606 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31607 input for small inputs. Return +/- pi/2 for large inputs.
31608 * math/libm-test.inc (atan_test): Add more tests.
31610 * sysdeps/generic/unwind-dw2-fde-glibc.c
31611 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31612 __attribute__ ((unused)).
31615 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31616 x * y if x and y are nonzero and z is zero.
31619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31620 nonzero exponents with absolute value below 0x1p-117 to +/-
31624 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31625 up arguments below 2**-450, not just those below 2**-500.
31626 * math/libm-test.inc (hypot_test): Add another test.
31629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31630 Return a+b for ratio over 2**120, not 2**60.
31631 * math/libm-test.inc (hypot_test): Add another test.
31633 * math/libm-test.inc (clog_test): Use
31634 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31635 (clog10_test): Likewise.
31638 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31640 2012-11-22 Andreas Schwab <schwab@suse.de>
31642 * sysdeps/i386/fpu/libm-test-ulps: Update.
31644 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31646 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31647 printf output with newline.
31649 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31652 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31653 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31654 -z nodlopen, -z initfirst and -z execstack support.
31655 * configure: Regenerated.
31657 * elf/elf.h (DF_1_NODIRECT): New macro.
31658 (DF_1_IGNMULDEF): Likewise.
31659 (DF_1_NOKSYMS): Likewise.
31660 (DF_1_NOHDR): Likewise.
31661 (DF_1_EDITED): Likewise.
31662 (DF_1_NORELOC): Likewise.
31663 (DF_1_SYMINTPOSE): Likewise.
31664 (DF_1_GLOBAUDIT): Likewise.
31665 (DF_1_SINGLETON): Likewise.
31666 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31667 DT_1_SUPPORTED_MASK bits.
31668 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31670 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31672 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31674 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31676 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31679 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31680 (sendmmsg): Move declarations...
31681 * socket/sys/socket.h: ... here.
31682 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31683 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31685 * socket/recvmmsg.c: ... this new file.
31686 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31687 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31688 definition of __sendmmsg hidden.
31689 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31690 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31691 Move ENOSYS stub into and include it from...
31692 * socket/sendmmsg.c: ... this new file.
31693 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31694 (sysdep_routines): Move recvmmsg and sendmmsg...
31695 * socket/Makefile (routines): ... here.
31696 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31697 (GLIBC_PRIVATE): Add __sendmmsg.
31698 * include/sys/socket.h (__sendmmsg): Add declarations.
31699 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31702 2012-11-20 Joseph Myers <joseph@codesourcery.com>
31704 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31705 variable I1 with __attribute__ ((unused)).
31706 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31708 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31710 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31711 DUMMY variables with __attribute__ ((unused)).
31713 * bits/byteswap.h: Include <bits/types.h>.
31714 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31716 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31718 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31719 string_t. Do not manually set errno.
31720 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31721 length with __strnlen. Make sure to both set errno and return it on
31724 2012-11-19 David S. Miller <davem@davemloft.net>
31726 With help from Joseph Myers.
31727 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31728 very large arguments properly.
31729 * math/libm-test.inc (atan_test): New tests.
31730 (atan2_test): New tests.
31731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31734 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31737 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31740 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31741 [POSIX] (EADDRNOTAVAIL): Likewise.
31742 [POSIX] (EAFNOSUPPORT): Likewise.
31743 [POSIX] (EALREADY): Likewise.
31744 [POSIX] (ECONNABORTED): Likewise.
31745 [POSIX] (ECONNREFUSED): Likewise.
31746 [POSIX] (ECONNRESET): Likewise.
31747 [POSIX] (EDESTADDRREQ): Likewise.
31748 [POSIX] (EDQUOT): Likewise.
31749 [POSIX] (EHOSTUNREACH): Likewise.
31750 [POSIX] (EIDRM): Likewise.
31751 [POSIX] (EISCONN): Likewise.
31752 [POSIX] (ELOOP): Likewise.
31753 [POSIX] (EMULTIHOP): Likewise.
31754 [POSIX] (ENETDOWN): Likewise.
31755 [POSIX] (ENETUNREACH): Likewise.
31756 [POSIX] (ENOBUFS): Likewise.
31757 [POSIX] (ENODATA): Likewise.
31758 [POSIX] (ENOLINK): Likewise.
31759 [POSIX] (ENOMSG): Likewise.
31760 [POSIX] (ENOPROTOOPT): Likewise.
31761 [POSIX] (ENOSR): Likewise.
31762 [POSIX] (ENOSTR): Likewise.
31763 [POSIX] (ENOTCONN): Likewise.
31764 [POSIX] (ENOTSOCK): Likewise.
31765 [POSIX] (EOPNOTSUPP): Likewise.
31766 [POSIX] (EOVERFLOW): Likewise.
31767 [POSIX] (EPROTO): Likewise.
31768 [POSIX] (EPROTONOSUPPORT): Likewise.
31769 [POSIX] (EPROTOTYPE): Likewise.
31770 [POSIX] (ESTALE): Likewise.
31771 [POSIX] (ETIME): Likewise.
31772 [POSIX] (ETXTBSY): Likewise.
31773 [POSIX] (EWOULDBLOCK): Likewise.
31774 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31775 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31776 [POSIX] (SEEK_CUR): Likewise.
31777 [POSIX] (SEEK_END): Likewise.
31778 [POSIX || UNIX98] (mode_t): Do not require.
31779 [POSIX] (off_t): Likewise.
31780 [POSIX] (pid_t): Likewise.
31781 [POSIX] (sys/stat.h): Do not allow header.
31782 [POSIX] (unistd.h): Likewise.
31783 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31784 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31785 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31786 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31788 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31789 sigevent): Specify elements.
31790 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31792 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31793 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31795 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31796 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31797 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31798 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31799 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31800 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31801 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31802 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31803 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31804 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31805 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31806 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31807 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31808 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31810 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31812 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31814 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31816 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31817 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31818 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31819 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31820 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31821 Specify lower bound on value.
31822 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31823 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31824 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31825 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31826 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31827 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31828 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31829 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31831 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31833 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31839 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31846 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31847 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31848 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31850 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31852 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31853 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31854 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31855 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31856 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31857 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31859 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31860 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31861 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31862 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31863 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31864 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31865 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31867 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31868 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31869 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31870 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31871 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31872 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31873 specify as optional.
31874 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31875 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31876 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31877 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31878 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31879 [XPG3] (NL_LANGMAX): Likewise.
31880 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31881 [POSIX || XPG3] (NL_NMAX): Likewise.
31882 [POSIX || XPG3] (NL_SETMAX): Likewise.
31883 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31884 [XPG3] (NZERO): Likewise.
31885 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31886 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31887 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31888 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31889 (REG_ERANGE): Expect.
31890 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31892 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31893 Use (void) in prototype.
31894 [POSIX] (*_t): Allow.
31895 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31896 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31897 (WRDE_BADVAL): Expect.
31899 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31901 [XPG3 || XPG4] (O_RSYNC): Likewise.
31902 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31904 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31905 [XPG3 || XPG4] (sigqueue): Likewise.
31906 [XPG3 || XPG4] (sigtimedwait): Likewise.
31907 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31908 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31909 [XPG3 || XPG4] (vsnprintf): Likewise.
31910 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31912 [XPG3 || XPG4] (blksize_t): Likewise.
31913 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31915 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31916 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31917 [XPG3 || XPG4] (struct itimerspec): Likewise.
31918 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31919 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31920 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31921 [XPG3 || XPG4] (clockid_t): Likewise.
31922 [XPG3 || XPG4] (timer_t): Likewise.
31923 [XPG3 || XPG4] (clock_getres): Likewise.
31924 [XPG3 || XPG4] (clock_gettime): Likewise.
31925 [XPG3 || XPG4] (clock_settime): Likewise.
31926 [XPG3 || XPG4] (nanosleep): Likewise.
31927 [XPG3 || XPG4] (timer_create): Likewise.
31928 [XPG3 || XPG4] (timer_delete): Likewise.
31929 [XPG3 || XPG4] (timer_gettime): Likewise.
31930 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31931 [XPG3 || XPG4] (timer_settime): Likewise.
31932 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31933 [XPG3 || XPG4] (getlogin_r): Likewise.
31934 [XPG3 || XPG4] (pread): Likewise.
31935 [XPG3 || XPG4] (pthread_atfork): Likewise.
31936 [XPG3 || XPG4] (pwrite): Likewise.
31939 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31942 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31944 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31945 finalizing MALLSTREAM.
31947 * sysdeps/mach/hurd/syncfs.c: New file.
31949 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31952 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31953 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31954 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31955 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31956 (_nss_dns_gethostbyname4_r): Likewise.
31957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31958 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31960 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31963 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31965 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31967 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31968 * elf/cache.c (print_entry): Print ",AArch64" for
31971 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31972 * elf/cache.c (print_entry): Print ",hard-float" for
31975 2012-11-18 David S. Miller <davem@davemloft.net>
31977 With help from Joseph Myers.
31978 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31980 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31982 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31983 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31985 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31986 * math/libm-test.inc (y0_test): New tests.
31987 (y1_test): New tests.
31988 * sysdeps/i386/fpu/libm-test-ulps: Update.
31989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31992 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31994 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31996 * configure: Regenerated.
31998 2012-11-17 David S. Miller <davem@davemloft.net>
32001 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32002 nonzero exponents with absolute value below 0x1p-128 to +/-
32005 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32007 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32009 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32011 * posix/getconf-speclist.c: New file.
32012 * posix/posix-envs.def: Likewise.
32013 * posix/confstr.c (START_ENV_GROUP): New macro.
32014 (END_ENV_GROUP): Likewise.
32015 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32016 (KNOWN_PRESENT_ENV_STRING): Likewise.
32017 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32018 (UNKNOWN_ENVIRONMENT): Likewise.
32019 (confstr): Include posix-envs.def instead of handling
32020 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32021 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32022 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32023 (END_ENV_GROUP): Likewise.
32024 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32025 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32026 (UNKNOWN_ENVIRONMENT): Likewise.
32027 (__sysconf): Include posix-envs.def instead of handling associated
32028 cases directly here.
32029 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32030 preprocessing getconf-speclist.c rather than running getconf or
32031 generating empty file.
32033 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32035 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32037 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32040 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32042 2012-11-16 David S. Miller <davem@davemloft.net>
32044 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32045 smaller than LDBL_EPSILON/2.0L, just return xm1.
32047 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32049 * elf/tst-array1.c (init): Set constructor priority to 1000.
32050 (fini): Set destructor priority to 1000.
32051 * elf/tst-array2dep.c: Likewise.
32053 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32056 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32057 (_IO_new_file_xsputn): Also return EOF if none of the input
32058 data was written when overflow failed.
32059 * libio/iopadn.c (_IO_padn): Likewise.
32060 * libio/iowpadn.c (_IO_wpadn): Likewise.
32061 * stdio-common/tst-put-error.c: Add copyright notice.
32062 (do_test): Add case for printing padded string.
32063 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32064 _IO_padn returned error.
32065 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32066 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32069 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32071 * libio/libioP.h: Add comment note that the references to C++
32072 bits are now obsolete.
32074 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32076 * math/libm-test.inc (check_complex): Use asprintf.
32078 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32080 * debug/pcprofiledump.c (print_version): Update copyright year.
32081 * malloc/memusagestat.c (print_version): Likewise.
32083 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32086 * elf/Makefile (tests): Add tst-audit8.
32087 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32088 ($(objpfx)tst-audit8.out): New target.
32089 (tst-audit8-ENV): New variable.
32090 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32091 audit if l_reloc_result is NULL.
32092 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32093 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32094 * elf/tst-audit8.c: New file.
32096 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32098 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32099 * misc/Makefile (CFLAGS-select.c): Define.
32100 * posix/Makefile (CFLAGS-pause.c): Define.
32102 2012-11-13 David S. Miller <davem@davemloft.net>
32104 * crypt/Makefile: Move test targets after toplevel Rules
32105 inclusion. Grab any necessary sysdep routines when linking.
32106 * crypt/md5.c (md5_process_block): Remove define, we will always
32107 name it __md5_process_block.
32108 (md5_finish_ctx): Update md5_process_block call.
32109 (md5_stream): Likewise.
32110 (md5_process_bytes): Likewise.
32111 (md5_process_block): Rename to __md5_process_block and move to ...
32112 * crypt/md5-block.c: ... here.
32113 * crypt/sha256.c (sha256_process_block): Move to ...
32114 * crypt/sha256-block.c: ... here.
32115 * crypt/sha512.c (sha512_process_block): Move to ...
32116 * crypt/sha512-block.c: ... here.
32117 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32119 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32120 * sysdeps/sparc/sparc64/multiarch/Makefile
32121 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32123 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32124 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32126 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32127 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32128 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32129 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32130 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32131 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32132 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32133 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32134 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32136 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32137 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32139 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32141 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32143 * timezone/tzselect.ksh: Update from tzcode git revision
32144 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32145 * timezone/zdump.c: Likewise.
32146 * timezone/zic.c: Likewise.
32147 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32148 in TZVERSION setting, not $(PKGVERSION).
32149 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32150 REPORT_BUGS_TO settings.
32153 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32156 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32158 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32159 detection to immediately after _FP_ROUND().
32160 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32163 2012-11-11 David S. Miller <davem@davemloft.net>
32165 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32167 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32168 __close rather than their public counterparts.
32170 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32172 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32174 [UNIX98] (sem_timedwait): Do not expect.
32175 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32176 [XPG4 || UNIX98] (sockatmark): Do not expect.
32177 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32178 (clock_getcpuclockid): Do not expect.
32179 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32180 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32182 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32183 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32184 [UNIX98] (vwscanf): Likewise.
32185 [UNIX98] (vswscanf): Likewise.
32187 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32189 * timezone/version.h: Remove file.
32190 * timezone/README: Do not refer to version.h.
32191 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32192 $(objpfx)version.h.
32193 ($(objpfx)zdump.o): Likewise.
32194 ($(objpfx)version.h): New target.
32196 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32198 * timezone/README: Don't mention modification to tzselect.ksh.
32199 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32200 work on unmodified tzselect.ksh. Substitute version numbers in
32203 * Makefile (format-me): Remove.
32204 (INSTALL): Adjust indentation. Use commands directly instead of
32205 using $(format-me).
32207 * aclocal.m4 (ACX_PKGVERSION): New macro.
32208 (ACX_BUGURL): Likewise.
32209 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32210 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32211 (REPORT_BUGS_TO): Likewise.
32212 * configure: Regenerated.
32213 * config.h.in (PKGVERSION): New macro.
32214 (REPORT_BUGS_TO): Likewise.
32215 * config.make.in (PKGVERSION): New variable.
32216 (PKGVERSION_TEXI): Likewise.
32217 (REPORT_BUGS_TO): Likewise.
32218 (REPORT_BUGS_TEXI): Likewise.
32219 * Makefile (format-me): Use -I$(common-objpfx)manual.
32220 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32221 ($(common-objpfx)manual/%): New target.
32222 (manual/%): Remove target.
32223 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32224 (print_version): Use PKGVERSION.
32225 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32226 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32227 and REPORT_BUGS_TO.
32228 ($(objpfx)xtrace): Likewise.
32229 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32230 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32231 (print_version): Use PKGVERSION.
32232 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32233 (do_version): Use PKGVERSION.
32234 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32236 (common-ldd-rewrite): Likewise.
32237 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32238 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32239 (print_version): Use PKGVERSION.
32240 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32241 * elf/pldd.c (argp_program_bug_address): Remove variable.
32242 (more_help): New function.
32243 (argp): Use more_help.
32244 (print_version): Use PKGVERSION.
32245 * elf/sln.c (main): Use PKGVERSION.
32246 (usage): Use REPORT_BUGS_TO.
32247 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32248 (top level): Use PKGVERSION.
32249 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32250 (print_version): Use PKGVERSION.
32251 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32252 (print_version): Use PKGVERSION.
32253 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32254 (print_version): Use PKGVERSION.
32255 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32256 (print_version): Use PKGVERSION.
32257 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32258 (print_version): Use PKGVERSION.
32259 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32260 (print_version): Use PKGVERSION.
32261 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32263 ($(objpfx)memusage): Likewise.
32264 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32265 (do_version): Use PKGVERSION.
32266 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32267 (print_version): Use PKGVERSION.
32268 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32269 ($PKGVERSION): New variable.
32270 ($REPORT_BUGS_TO): Likewise.
32271 (usage): Use $REPORT_BUGS_TO.
32272 (top level): Use $PKGVERSION.
32273 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32274 ($(objpfx)pkgvers.texi): New rule.
32275 ($(objpfx)stamp-pkgvers): Likewise.
32276 * manual/install.texi: Include pkgvers.texi.
32277 (--with-pkgversion): Document new configure option.
32278 (--with-bugurl): Likewise.
32279 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32280 than necessarily for this particular distribution. Use
32281 REPORT_BUGS_TO for where to report bugs.
32282 * INSTALL: Regenerated.
32283 * manual/libc.texinfo: Include pkgvers.texi.
32284 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32285 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32286 (print_version): Use PKGVERSION.
32287 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32288 (print_version): Use PKGVERSION.
32289 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32290 (print_version): Use PKGVERSION.
32291 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32292 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32294 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32295 (print_version): Use PKGVERSION.
32296 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32297 (print_version): Use PKGVERSION.
32298 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32301 * timezone/checktab.awk: Update from tzcode 2012i.
32302 * timezone/ialloc.c: Likewise.
32303 * timezone/private.h: Likewise.
32304 * timezone/scheck.c: Likewise.
32305 * timezone/tzfile.h: Likewise.
32306 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32307 (TZVERSION): Hardcode tzcode version number.
32308 * timezone/zdump.c: Update from tzcode 2012i.
32309 * timezone/zic.c: Likewise.
32310 * timezone/version.h: New file.
32311 * timezone/README: Describe version.h. Update upstream location.
32314 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32315 (mktemp): Enable declaration.
32316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32333 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32334 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32335 for copies of such integer values.
32336 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32337 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32339 2012-11-09 Andreas Jaeger <aj@suse.de>
32341 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32342 definitions and declarations that are provided by
32343 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32345 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32347 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32348 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32349 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32352 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32354 * elf/elf.h: Update comment before AArch64 relocations.
32356 2012-11-07 David S. Miller <davem@davemloft.net>
32358 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32359 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32360 (__start_context): Declare.
32361 (__makecontext_ret): Delete.
32362 (__makecontext): Hook up __start_context instead of
32364 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32365 (sysdep_routines): Add __start_context when in stdlib.
32367 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32369 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32370 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32371 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32373 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32374 (READELF): New variable. Use it instead of hardcoded "readelf".
32376 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32378 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32379 * sysdeps/x86/Makefile: Here.
32380 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32381 * sysdeps/x86/tst-xmmymm.sh: This.
32383 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32385 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32387 [UNIX98] (pthread_barrier_t): Do not expect.
32388 [UNIX98] (pthread_barrierattr_t): Likewise.
32389 [UNIX98] (pthread_spinlock_t): Likewise.
32390 [UNIX98] (pthread_barrier_destroy): Likewise.
32391 [UNIX98] (pthread_barrier_init): Likewise.
32392 [UNIX98] (pthread_barrier_wait): Likewise.
32393 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32394 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32395 [UNIX98] (pthread_barrierattr_init): Likewise.
32396 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32397 [UNIX98] (pthread_getcpuclockid): Likewise.
32398 [UNIX98] (pthread_mutex_timedlock): Likewise.
32399 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32400 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32401 [UNIX98] (pthread_sigmask): Likewise.
32402 [UNIX98] (pthread_spin_destroy): Likewise.
32403 [UNIX98] (pthread_spin_init): Likewise.
32404 [UNIX98] (pthread_spin_lock): Likewise.
32405 [UNIX98] (pthread_spin_trylock): Likewise.
32406 [UNIX98] (pthread_spin_unlock): Likewise.
32407 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32409 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32411 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32412 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32413 [XPG3 || XPG4] (pthread_key_t): Likewise.
32414 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32415 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32416 [XPG3 || XPG4] (pthread_once_t): Likewise.
32417 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32418 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32419 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32420 [XPG3 || XPG4] (pthread_t): Likewise.
32422 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32424 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32426 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32427 Change function return type to int.
32429 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32430 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32431 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32432 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32433 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32434 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32435 [!POSIX] (posix_madvise): Likewise.
32436 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32438 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32439 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32440 (mode_t): Likewise.
32441 (posix_mem_offset): Likewise.
32442 (posix_typed_mem_get_info): Likewise.
32443 (posix_typed_mem_open): Likewise.
32445 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32446 Change condition to [XOPEN2K8].
32448 * conform/conformtest.pl: Preprocess allow-header data with -x c
32449 instead of from stdin.
32450 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32451 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32452 [C99-based standards] (cerfc): Likewise.
32453 [C99-based standards] (cexp2): Likewise.
32454 [C99-based standards] (cexpm1): Likewise.
32455 [C99-based standards] (clog10): Likewise.
32456 [C99-based standards] (clog1p): Likewise.
32457 [C99-based standards] (clog2): Likewise.
32458 [C99-based standards] (clgamma): Likewise.
32459 [C99-based standards] (ctgamma): Likewise.
32460 [C99-based standards] (cerff): Likewise.
32461 [C99-based standards] (cerfcf): Likewise.
32462 [C99-based standards] (cexp2f): Likewise.
32463 [C99-based standards] (cexpm1f): Likewise.
32464 [C99-based standards] (clog10f): Likewise.
32465 [C99-based standards] (clog1pf): Likewise.
32466 [C99-based standards] (clog2f): Likewise.
32467 [C99-based standards] (clgammaf): Likewise.
32468 [C99-based standards] (ctgammaf): Likewise.
32469 [C99-based standards] (cerfl): Likewise.
32470 [C99-based standards] (cerfcl): Likewise.
32471 [C99-based standards] (cexp2l): Likewise.
32472 [C99-based standards] (cexpm1l): Likewise.
32473 [C99-based standards] (clog10l): Likewise.
32474 [C99-based standards] (clog1pl): Likewise.
32475 [C99-based standards] (clog2l): Likewise.
32476 [C99-based standards] (clgammal): Likewise.
32477 [C99-based standards] (ctgammal): Likewise.
32478 * conform/data/inttypes.h-data [C99-based standards]: Include
32479 stdint.h-data. Remove all expectations for stdint.h contents.
32480 [C99-based standards] (PRI*): Do not allow.
32481 [C99-based standards] (SCN*): Likewise.
32482 [C99-based standards] (*_t): Likewise.
32483 [C99-based-standards] (PRId8): Expect macro.
32484 [C99-based-standards] (PRIi8): Likewise.
32485 [C99-based-standards] (PRIo8): Likewise.
32486 [C99-based-standards] (PRIu8): Likewise.
32487 [C99-based-standards] (PRIx8): Likewise.
32488 [C99-based-standards] (PRIX8): Likewise.
32489 [C99-based-standards] (SCNd8): Likewise.
32490 [C99-based-standards] (SCNi8): Likewise.
32491 [C99-based-standards] (SCNo8): Likewise.
32492 [C99-based-standards] (SCNu8): Likewise.
32493 [C99-based-standards] (SCNx8): Likewise.
32494 [C99-based-standards] (PRIdLEAST8): Likewise.
32495 [C99-based-standards] (PRIiLEAST8): Likewise.
32496 [C99-based-standards] (PRIoLEAST8): Likewise.
32497 [C99-based-standards] (PRIuLEAST8): Likewise.
32498 [C99-based-standards] (PRIxLEAST8): Likewise.
32499 [C99-based-standards] (PRIXLEAST8): Likewise.
32500 [C99-based-standards] (SCNdLEAST8): Likewise.
32501 [C99-based-standards] (SCNiLEAST8): Likewise.
32502 [C99-based-standards] (SCNoLEAST8): Likewise.
32503 [C99-based-standards] (SCNuLEAST8): Likewise.
32504 [C99-based-standards] (SCNxLEAST8): Likewise.
32505 [C99-based-standards] (PRIdFAST8): Likewise.
32506 [C99-based-standards] (PRIiFAST8): Likewise.
32507 [C99-based-standards] (PRIoFAST8): Likewise.
32508 [C99-based-standards] (PRIuFAST8): Likewise.
32509 [C99-based-standards] (PRIxFAST8): Likewise.
32510 [C99-based-standards] (PRIXFAST8): Likewise.
32511 [C99-based-standards] (SCNdFAST8): Likewise.
32512 [C99-based-standards] (SCNiFAST8): Likewise.
32513 [C99-based-standards] (SCNoFAST8): Likewise.
32514 [C99-based-standards] (SCNuFAST8): Likewise.
32515 [C99-based-standards] (SCNxFAST8): Likewise.
32516 [C99-based-standards] (PRId16): Likewise.
32517 [C99-based-standards] (PRIi16): Likewise.
32518 [C99-based-standards] (PRIo16): Likewise.
32519 [C99-based-standards] (PRIu16): Likewise.
32520 [C99-based-standards] (PRIx16): Likewise.
32521 [C99-based-standards] (PRIX16): Likewise.
32522 [C99-based-standards] (SCNd16): Likewise.
32523 [C99-based-standards] (SCNi16): Likewise.
32524 [C99-based-standards] (SCNo16): Likewise.
32525 [C99-based-standards] (SCNu16): Likewise.
32526 [C99-based-standards] (SCNx16): Likewise.
32527 [C99-based-standards] (PRIdLEAST16): Likewise.
32528 [C99-based-standards] (PRIiLEAST16): Likewise.
32529 [C99-based-standards] (PRIoLEAST16): Likewise.
32530 [C99-based-standards] (PRIuLEAST16): Likewise.
32531 [C99-based-standards] (PRIxLEAST16): Likewise.
32532 [C99-based-standards] (PRIXLEAST16): Likewise.
32533 [C99-based-standards] (SCNdLEAST16): Likewise.
32534 [C99-based-standards] (SCNiLEAST16): Likewise.
32535 [C99-based-standards] (SCNoLEAST16): Likewise.
32536 [C99-based-standards] (SCNuLEAST16): Likewise.
32537 [C99-based-standards] (SCNxLEAST16): Likewise.
32538 [C99-based-standards] (PRIdFAST16): Likewise.
32539 [C99-based-standards] (PRIiFAST16): Likewise.
32540 [C99-based-standards] (PRIoFAST16): Likewise.
32541 [C99-based-standards] (PRIuFAST16): Likewise.
32542 [C99-based-standards] (PRIxFAST16): Likewise.
32543 [C99-based-standards] (PRIXFAST16): Likewise.
32544 [C99-based-standards] (SCNdFAST16): Likewise.
32545 [C99-based-standards] (SCNiFAST16): Likewise.
32546 [C99-based-standards] (SCNoFAST16): Likewise.
32547 [C99-based-standards] (SCNuFAST16): Likewise.
32548 [C99-based-standards] (SCNxFAST16): Likewise.
32549 [C99-based-standards] (PRId32): Likewise.
32550 [C99-based-standards] (PRIi32): Likewise.
32551 [C99-based-standards] (PRIo32): Likewise.
32552 [C99-based-standards] (PRIu32): Likewise.
32553 [C99-based-standards] (PRIx32): Likewise.
32554 [C99-based-standards] (PRIX32): Likewise.
32555 [C99-based-standards] (SCNd32): Likewise.
32556 [C99-based-standards] (SCNi32): Likewise.
32557 [C99-based-standards] (SCNo32): Likewise.
32558 [C99-based-standards] (SCNu32): Likewise.
32559 [C99-based-standards] (SCNx32): Likewise.
32560 [C99-based-standards] (PRIdLEAST32): Likewise.
32561 [C99-based-standards] (PRIiLEAST32): Likewise.
32562 [C99-based-standards] (PRIoLEAST32): Likewise.
32563 [C99-based-standards] (PRIuLEAST32): Likewise.
32564 [C99-based-standards] (PRIxLEAST32): Likewise.
32565 [C99-based-standards] (PRIXLEAST32): Likewise.
32566 [C99-based-standards] (SCNdLEAST32): Likewise.
32567 [C99-based-standards] (SCNiLEAST32): Likewise.
32568 [C99-based-standards] (SCNoLEAST32): Likewise.
32569 [C99-based-standards] (SCNuLEAST32): Likewise.
32570 [C99-based-standards] (SCNxLEAST32): Likewise.
32571 [C99-based-standards] (PRIdFAST32): Likewise.
32572 [C99-based-standards] (PRIiFAST32): Likewise.
32573 [C99-based-standards] (PRIoFAST32): Likewise.
32574 [C99-based-standards] (PRIuFAST32): Likewise.
32575 [C99-based-standards] (PRIxFAST32): Likewise.
32576 [C99-based-standards] (PRIXFAST32): Likewise.
32577 [C99-based-standards] (SCNdFAST32): Likewise.
32578 [C99-based-standards] (SCNiFAST32): Likewise.
32579 [C99-based-standards] (SCNoFAST32): Likewise.
32580 [C99-based-standards] (SCNuFAST32): Likewise.
32581 [C99-based-standards] (SCNxFAST32): Likewise.
32582 [C99-based-standards] (PRId64): Likewise.
32583 [C99-based-standards] (PRIi64): Likewise.
32584 [C99-based-standards] (PRIo64): Likewise.
32585 [C99-based-standards] (PRIu64): Likewise.
32586 [C99-based-standards] (PRIx64): Likewise.
32587 [C99-based-standards] (PRIX64): Likewise.
32588 [C99-based-standards] (SCNd64): Likewise.
32589 [C99-based-standards] (SCNi64): Likewise.
32590 [C99-based-standards] (SCNo64): Likewise.
32591 [C99-based-standards] (SCNu64): Likewise.
32592 [C99-based-standards] (SCNx64): Likewise.
32593 [C99-based-standards] (PRIdLEAST64): Likewise.
32594 [C99-based-standards] (PRIiLEAST64): Likewise.
32595 [C99-based-standards] (PRIoLEAST64): Likewise.
32596 [C99-based-standards] (PRIuLEAST64): Likewise.
32597 [C99-based-standards] (PRIxLEAST64): Likewise.
32598 [C99-based-standards] (PRIXLEAST64): Likewise.
32599 [C99-based-standards] (SCNdLEAST64): Likewise.
32600 [C99-based-standards] (SCNiLEAST64): Likewise.
32601 [C99-based-standards] (SCNoLEAST64): Likewise.
32602 [C99-based-standards] (SCNuLEAST64): Likewise.
32603 [C99-based-standards] (SCNxLEAST64): Likewise.
32604 [C99-based-standards] (PRIdFAST64): Likewise.
32605 [C99-based-standards] (PRIiFAST64): Likewise.
32606 [C99-based-standards] (PRIoFAST64): Likewise.
32607 [C99-based-standards] (PRIuFAST64): Likewise.
32608 [C99-based-standards] (PRIxFAST64): Likewise.
32609 [C99-based-standards] (PRIXFAST64): Likewise.
32610 [C99-based-standards] (SCNdFAST64): Likewise.
32611 [C99-based-standards] (SCNiFAST64): Likewise.
32612 [C99-based-standards] (SCNoFAST64): Likewise.
32613 [C99-based-standards] (SCNuFAST64): Likewise.
32614 [C99-based-standards] (SCNxFAST64): Likewise.
32615 [C99-based-standards] (PRIdMAX): Likewise.
32616 [C99-based-standards] (PRIiMAX): Likewise.
32617 [C99-based-standards] (PRIoMAX): Likewise.
32618 [C99-based-standards] (PRIuMAX): Likewise.
32619 [C99-based-standards] (PRIxMAX): Likewise.
32620 [C99-based-standards] (PRIXMAX): Likewise.
32621 [C99-based-standards] (SCNdMAX): Likewise.
32622 [C99-based-standards] (SCNiMAX): Likewise.
32623 [C99-based-standards] (SCNoMAX): Likewise.
32624 [C99-based-standards] (SCNuMAX): Likewise.
32625 [C99-based-standards] (SCNxMAX): Likewise.
32626 [C99-based-standards] (PRIdPTR): Likewise.
32627 [C99-based-standards] (PRIiPTR): Likewise.
32628 [C99-based-standards] (PRIoPTR): Likewise.
32629 [C99-based-standards] (PRIuPTR): Likewise.
32630 [C99-based-standards] (PRIxPTR): Likewise.
32631 [C99-based-standards] (PRIXPTR): Likewise.
32632 [C99-based-standards] (SCNdPTR): Likewise.
32633 [C99-based-standards] (SCNiPTR): Likewise.
32634 [C99-based-standards] (SCNoPTR): Likewise.
32635 [C99-based-standards] (SCNuPTR): Likewise.
32636 [C99-based-standards] (SCNxPTR): Likewise.
32637 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32639 * conform/data/stdint.h-data: Update comments to clarify
32641 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32643 [C99-based standards] (INT8_MAX): Likewise.
32644 [C99-based standards] (INT16_MIN): Likewise.
32645 [C99-based standards] (INT16_MAX): Likewise.
32646 [C99-based standards] (INT32_MIN): Likewise.
32647 [C99-based standards] (INT32_MAX): Likewise.
32648 [C99-based standards] (INT64_MIN): Likewise.
32649 [C99-based standards] (INT64_MAX): Likewise.
32650 [C99-based standards] (UINT8_MAX): Likewise.
32651 [C99-based standards] (UINT16_MAX): Likewise.
32652 [C99-based standards] (UINT32_MAX): Likewise.
32653 [C99-based standards] (UINT64_MAX): Likewise.
32654 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32655 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32656 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32657 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32658 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32659 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32660 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32661 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32662 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32663 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32664 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32665 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32666 [C99-based standards] (INT_FAST8_MIN): Likewise.
32667 [C99-based standards] (INT_FAST8_MAX): Likewise.
32668 [C99-based standards] (INT_FAST16_MIN): Likewise.
32669 [C99-based standards] (INT_FAST16_MAX): Likewise.
32670 [C99-based standards] (INT_FAST32_MIN): Likewise.
32671 [C99-based standards] (INT_FAST32_MAX): Likewise.
32672 [C99-based standards] (INT_FAST64_MIN): Likewise.
32673 [C99-based standards] (INT_FAST64_MAX): Likewise.
32674 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32675 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32676 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32677 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32678 [C99-based standards] (INTPTR_MIN): Likewise.
32679 [C99-based standards] (INTPTR_MAX): Likewise.
32680 [C99-based standards] (UINTPTR_MAX): Likewise.
32681 [C99-based standards] (INTMAX_MIN): Likewise.
32682 [C99-based standards] (INTMAX_MAX): Likewise.
32683 [C99-based standards] (UINTMAX_MAX): Likewise.
32684 [C99-based standards] (PTRDIFF_MIN): Likewise.
32685 [C99-based standards] (PTRDIFF_MAX): Likewise.
32686 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32687 [C99-based standards] (SIZE_MAX): Likewise.
32688 [C99-based standards] (WCHAR_MAX): Likewise.
32689 [C99-based standards] (WINT_MAX): Likewise.
32690 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32691 constraint on value.
32692 [C99-based standards] (WCHAR_MIN): Likewise.
32693 [C99-based standards] (WINT_MIN): Likewise.
32694 [C99-based standards] (*_t): Allow.
32695 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32696 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32697 Include math.h-data and complex.h-data. Remove all expectations
32698 of math.h and complex.h contents.
32699 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32701 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32702 (struct tm): Expect tag.
32703 [C99-based-standards] (wcstof): Expect function.
32704 [C99-based-standards] (wcstold): Likewise.
32705 [C99-based-standards] (wcstoll): Likewise.
32706 [C99-based-standards] (wcstoull): Likewise.
32707 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32708 macro-int-constant. Specify type.
32709 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32710 constraint on value.
32711 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32713 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32715 [ISO C standards]: Do not allow headers.
32716 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32717 wcs[abcdefghijklmnopqrstuvwxyz]*.
32718 [ISO C standards] (*_t): Do not allow.
32719 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32721 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32722 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32724 [ISO C standards]: Do not allow headers.
32725 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32726 is[abcdefghijklmnopqrstuvwxyz]*.
32727 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32728 to[abcdefghijklmnopqrstuvwxyz]*.
32729 [ISO C standards] (*_t): Do not allow.
32730 * conform/data/stdalign.h-data: New file.
32731 * conform/data/stdbool.h-data: Likewise.
32732 * conform/data/stdnoreturn.h-data: Likewise.
32734 2012-11-07 Roland McGrath <roland@hack.frob.com>
32737 * manual/filesys.texi (Directory Entries): Typo fix.
32738 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32740 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32742 * elf/elf.h (EM_AARCH64): New macro.
32743 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32744 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32745 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32746 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32747 (R_AARCH64_TLSDESC): Likewise.
32748 (NT_ARM_TLS): Likewise.
32749 (NT_ARM_HW_BREAK): Likewise.
32750 (NT_ARM_HW_WATCH): Likewise.
32752 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32755 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32756 (__ieee754_powl): Saturate nonzero exponents with absolute value
32757 below 0x1p-79 to +/- 0x1p-79.
32758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32759 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32760 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32761 nonzero exponents with absolute value below 0x1p-32 to +/-
32763 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32764 (__ieee754_powl): Saturate nonzero exponents with absolute value
32765 below 0x1p-79 to +/- 0x1p-79.
32766 * math/libm-test.inc (pow_test): Add more tests.
32768 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32770 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32771 _dl_s390_cap_flags with kernel. Increase string length.
32772 (_dl_s390_platforms): Add z196 and zEC12.
32774 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32776 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32777 Change XOPEN21K to XOPEN2K.
32779 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32781 * string/memmove.c: Use memcpy when possible.
32783 2012-11-06 Andreas Jaeger <aj@suse.de>
32785 * po/eo.po: Update from translation team.
32787 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32791 exponent and small x and y exponents, scale x or y up. Increase
32792 by 2 the exponent used in scaling up.
32793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32795 * math/libm-test.inc (fma_test): Add more tests.
32796 (fma_test_towardzero): Likewise.
32797 (fma_test_downward): Likewise.
32798 (fma_test_upward): Likewise.
32800 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32803 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32807 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32808 namespace for names of struct fields.
32809 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32811 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32812 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32814 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32817 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32819 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32821 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32825 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32828 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32832 definitely overflow as x * y not x * y + z.
32833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32835 * math/libm-test.inc (fma_test): Add more tests.
32836 (fma_test_towardzero): Likewise.
32837 (fma_test_downward): Likewise.
32838 (fma_test_upward): Likewise.
32840 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32844 * include/stub-tag.h: Remove file.
32845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32847 * manual/maint.texi (Porting): Don't reference it.
32848 * Makerules ($(objpfx)stubs): Likewise.
32849 * dirent/closedir.c: Don't include <stub-tag.h>.
32850 * dirent/dirfd.c: Likewise.
32851 * dirent/fdopendir.c: Likewise.
32852 * dirent/getdents.c: Likewise.
32853 * dirent/getdents64.c: Likewise.
32854 * dirent/opendir.c: Likewise.
32855 * dirent/readdir.c: Likewise.
32856 * dirent/readdir64.c: Likewise.
32857 * dirent/readdir64_r.c: Likewise.
32858 * dirent/readdir_r.c: Likewise.
32859 * dirent/rewinddir.c: Likewise.
32860 * dirent/seekdir.c: Likewise.
32861 * dirent/telldir.c: Likewise.
32862 * gmon/profil.c: Likewise.
32863 * grp/setgroups.c: Likewise.
32864 * inet/if_index.c: Likewise.
32865 * io/access.c: Likewise.
32866 * io/chdir.c: Likewise.
32867 * io/chmod.c: Likewise.
32868 * io/chown.c: Likewise.
32869 * io/close.c: Likewise.
32870 * io/dup.c: Likewise.
32871 * io/dup2.c: Likewise.
32872 * io/dup3.c: Likewise.
32873 * io/euidaccess.c: Likewise.
32874 * io/faccessat.c: Likewise.
32875 * io/fchdir.c: Likewise.
32876 * io/fchmod.c: Likewise.
32877 * io/fchmodat.c: Likewise.
32878 * io/fchown.c: Likewise.
32879 * io/fchownat.c: Likewise.
32880 * io/fcntl.c: Likewise.
32881 * io/flock.c: Likewise.
32882 * io/fstatfs.c: Likewise.
32883 * io/fstatfs64.c: Likewise.
32884 * io/fstatvfs.c: Likewise.
32885 * io/fstatvfs64.c: Likewise.
32886 * io/futimens.c: Likewise.
32887 * io/fxstat.c: Likewise.
32888 * io/fxstat64.c: Likewise.
32889 * io/fxstatat.c: Likewise.
32890 * io/fxstatat64.c: Likewise.
32891 * io/getcwd.c: Likewise.
32892 * io/isatty.c: Likewise.
32893 * io/lchmod.c: Likewise.
32894 * io/lchown.c: Likewise.
32895 * io/link.c: Likewise.
32896 * io/linkat.c: Likewise.
32897 * io/lseek.c: Likewise.
32898 * io/lseek64.c: Likewise.
32899 * io/lxstat64.c: Likewise.
32900 * io/mkdir.c: Likewise.
32901 * io/mkdirat.c: Likewise.
32902 * io/mkfifo.c: Likewise.
32903 * io/mkfifoat.c: Likewise.
32904 * io/open.c: Likewise.
32905 * io/open64.c: Likewise.
32906 * io/openat.c: Likewise.
32907 * io/openat64.c: Likewise.
32908 * io/pipe.c: Likewise.
32909 * io/pipe2.c: Likewise.
32910 * io/poll.c: Likewise.
32911 * io/posix_fadvise.c: Likewise.
32912 * io/posix_fadvise64.c: Likewise.
32913 * io/posix_fallocate.c: Likewise.
32914 * io/posix_fallocate64.c: Likewise.
32915 * io/read.c: Likewise.
32916 * io/readlink.c: Likewise.
32917 * io/readlinkat.c: Likewise.
32918 * io/rmdir.c: Likewise.
32919 * io/sendfile.c: Likewise.
32920 * io/sendfile64.c: Likewise.
32921 * io/statfs.c: Likewise.
32922 * io/statfs64.c: Likewise.
32923 * io/statvfs.c: Likewise.
32924 * io/statvfs64.c: Likewise.
32925 * io/symlink.c: Likewise.
32926 * io/symlinkat.c: Likewise.
32927 * io/ttyname.c: Likewise.
32928 * io/ttyname_r.c: Likewise.
32929 * io/umask.c: Likewise.
32930 * io/unlink.c: Likewise.
32931 * io/unlinkat.c: Likewise.
32932 * io/utime.c: Likewise.
32933 * io/utimensat.c: Likewise.
32934 * io/write.c: Likewise.
32935 * io/xmknod.c: Likewise.
32936 * io/xmknodat.c: Likewise.
32937 * io/xstat.c: Likewise.
32938 * io/xstat64.c: Likewise.
32939 * login/getpt.c: Likewise.
32940 * login/grantpt.c: Likewise.
32941 * login/unlockpt.c: Likewise.
32942 * math/e_acoshl.c: Likewise.
32943 * math/e_acosl.c: Likewise.
32944 * math/e_asinl.c: Likewise.
32945 * math/e_atan2l.c: Likewise.
32946 * math/e_atanhl.c: Likewise.
32947 * math/e_coshl.c: Likewise.
32948 * math/e_expl.c: Likewise.
32949 * math/e_fmodl.c: Likewise.
32950 * math/e_gammal_r.c: Likewise.
32951 * math/e_hypotl.c: Likewise.
32952 * math/e_j0l.c: Likewise.
32953 * math/e_j1l.c: Likewise.
32954 * math/e_jnl.c: Likewise.
32955 * math/e_lgammal_r.c: Likewise.
32956 * math/e_log10l.c: Likewise.
32957 * math/e_log2l.c: Likewise.
32958 * math/e_logl.c: Likewise.
32959 * math/e_powl.c: Likewise.
32960 * math/e_rem_pio2l.c: Likewise.
32961 * math/e_sinhl.c: Likewise.
32962 * math/e_sqrtl.c: Likewise.
32963 * math/fclrexcpt.c: Likewise.
32964 * math/fedisblxcpt.c: Likewise.
32965 * math/feenablxcpt.c: Likewise.
32966 * math/fegetenv.c: Likewise.
32967 * math/fegetexcept.c: Likewise.
32968 * math/fegetround.c: Likewise.
32969 * math/feholdexcpt.c: Likewise.
32970 * math/fesetenv.c: Likewise.
32971 * math/fesetround.c: Likewise.
32972 * math/feupdateenv.c: Likewise.
32973 * math/fgetexcptflg.c: Likewise.
32974 * math/fraiseexcpt.c: Likewise.
32975 * math/fsetexcptflg.c: Likewise.
32976 * math/ftestexcept.c: Likewise.
32977 * math/k_cosl.c: Likewise.
32978 * math/k_rem_pio2l.c: Likewise.
32979 * math/k_sinl.c: Likewise.
32980 * math/k_tanl.c: Likewise.
32981 * math/s_asinhl.c: Likewise.
32982 * math/s_atanl.c: Likewise.
32983 * math/s_cbrtl.c: Likewise.
32984 * math/s_erfl.c: Likewise.
32985 * math/s_expm1l.c: Likewise.
32986 * math/s_log1pl.c: Likewise.
32987 * math/s_tanhl.c: Likewise.
32988 * misc/acct.c: Likewise.
32989 * misc/brk.c: Likewise.
32990 * misc/chflags.c: Likewise.
32991 * misc/chroot.c: Likewise.
32992 * misc/fchflags.c: Likewise.
32993 * misc/fgetxattr.c: Likewise.
32994 * misc/flistxattr.c: Likewise.
32995 * misc/fremovexattr.c: Likewise.
32996 * misc/fsetxattr.c: Likewise.
32997 * misc/fsync.c: Likewise.
32998 * misc/ftruncate.c: Likewise.
32999 * misc/futimes.c: Likewise.
33000 * misc/futimesat.c: Likewise.
33001 * misc/getdomain.c: Likewise.
33002 * misc/getdtsz.c: Likewise.
33003 * misc/gethostid.c: Likewise.
33004 * misc/gethostname.c: Likewise.
33005 * misc/getloadavg.c: Likewise.
33006 * misc/getpagesize.c: Likewise.
33007 * misc/getsysstats.c: Likewise.
33008 * misc/getxattr.c: Likewise.
33009 * misc/gtty.c: Likewise.
33010 * misc/ioctl.c: Likewise.
33011 * misc/lgetxattr.c: Likewise.
33012 * misc/listxattr.c: Likewise.
33013 * misc/llistxattr.c: Likewise.
33014 * misc/lremovexattr.c: Likewise.
33015 * misc/lsetxattr.c: Likewise.
33016 * misc/lutimes.c: Likewise.
33017 * misc/madvise.c: Likewise.
33018 * misc/mincore.c: Likewise.
33019 * misc/mlock.c: Likewise.
33020 * misc/mlockall.c: Likewise.
33021 * misc/mmap.c: Likewise.
33022 * misc/mprotect.c: Likewise.
33023 * misc/msync.c: Likewise.
33024 * misc/munlock.c: Likewise.
33025 * misc/munlockall.c: Likewise.
33026 * misc/munmap.c: Likewise.
33027 * misc/preadv.c: Likewise.
33028 * misc/preadv64.c: Likewise.
33029 * misc/ptrace.c: Likewise.
33030 * misc/pwritev.c: Likewise.
33031 * misc/pwritev64.c: Likewise.
33032 * misc/readv.c: Likewise.
33033 * misc/reboot.c: Likewise.
33034 * misc/remap_file_pages.c: Likewise.
33035 * misc/removexattr.c: Likewise.
33036 * misc/revoke.c: Likewise.
33037 * misc/select.c: Likewise.
33038 * misc/setdomain.c: Likewise.
33039 * misc/setegid.c: Likewise.
33040 * misc/seteuid.c: Likewise.
33041 * misc/sethostid.c: Likewise.
33042 * misc/sethostname.c: Likewise.
33043 * misc/setregid.c: Likewise.
33044 * misc/setreuid.c: Likewise.
33045 * misc/setxattr.c: Likewise.
33046 * misc/sstk.c: Likewise.
33047 * misc/stty.c: Likewise.
33048 * misc/swapoff.c: Likewise.
33049 * misc/swapon.c: Likewise.
33050 * misc/sync.c: Likewise.
33051 * misc/syncfs.c: Likewise.
33052 * misc/syscall.c: Likewise.
33053 * misc/truncate.c: Likewise.
33054 * misc/ualarm.c: Likewise.
33055 * misc/usleep.c: Likewise.
33056 * misc/ustat.c: Likewise.
33057 * misc/utimes.c: Likewise.
33058 * misc/vhangup.c: Likewise.
33059 * misc/writev.c: Likewise.
33060 * posix/_exit.c: Likewise.
33061 * posix/alarm.c: Likewise.
33062 * posix/execve.c: Likewise.
33063 * posix/fexecve.c: Likewise.
33064 * posix/fork.c: Likewise.
33065 * posix/fpathconf.c: Likewise.
33066 * posix/getaddrinfo.c: Likewise.
33067 * posix/getegid.c: Likewise.
33068 * posix/geteuid.c: Likewise.
33069 * posix/getgid.c: Likewise.
33070 * posix/getgroups.c: Likewise.
33071 * posix/getlogin.c: Likewise.
33072 * posix/getlogin_r.c: Likewise.
33073 * posix/getpgid.c: Likewise.
33074 * posix/getpid.c: Likewise.
33075 * posix/getppid.c: Likewise.
33076 * posix/getresgid.c: Likewise.
33077 * posix/getresuid.c: Likewise.
33078 * posix/getsid.c: Likewise.
33079 * posix/getuid.c: Likewise.
33080 * posix/glob64.c: Likewise.
33081 * posix/nanosleep.c: Likewise.
33082 * posix/pathconf.c: Likewise.
33083 * posix/pause.c: Likewise.
33084 * posix/posix_madvise.c: Likewise.
33085 * posix/pread.c: Likewise.
33086 * posix/pread64.c: Likewise.
33087 * posix/pwrite.c: Likewise.
33088 * posix/pwrite64.c: Likewise.
33089 * posix/sched_getaffinity.c: Likewise.
33090 * posix/sched_getp.c: Likewise.
33091 * posix/sched_gets.c: Likewise.
33092 * posix/sched_primax.c: Likewise.
33093 * posix/sched_primin.c: Likewise.
33094 * posix/sched_rr_gi.c: Likewise.
33095 * posix/sched_setaffinity.c: Likewise.
33096 * posix/sched_setp.c: Likewise.
33097 * posix/sched_sets.c: Likewise.
33098 * posix/sched_yield.c: Likewise.
33099 * posix/setgid.c: Likewise.
33100 * posix/setlogin.c: Likewise.
33101 * posix/setpgid.c: Likewise.
33102 * posix/setresgid.c: Likewise.
33103 * posix/setresuid.c: Likewise.
33104 * posix/setsid.c: Likewise.
33105 * posix/setuid.c: Likewise.
33106 * posix/sleep.c: Likewise.
33107 * posix/spawni.c: Likewise.
33108 * posix/sysconf.c: Likewise.
33109 * posix/times.c: Likewise.
33110 * posix/wait.c: Likewise.
33111 * posix/wait3.c: Likewise.
33112 * posix/wait4.c: Likewise.
33113 * posix/waitpid.c: Likewise.
33114 * resolv/gai_sigqueue.c: Likewise.
33115 * resource/getpriority.c: Likewise.
33116 * resource/getrlimit.c: Likewise.
33117 * resource/getrusage.c: Likewise.
33118 * resource/nice.c: Likewise.
33119 * resource/setpriority.c: Likewise.
33120 * resource/setrlimit.c: Likewise.
33121 * resource/ulimit.c: Likewise.
33122 * rt/aio_cancel.c: Likewise.
33123 * rt/aio_fsync.c: Likewise.
33124 * rt/aio_read.c: Likewise.
33125 * rt/aio_sigqueue.c: Likewise.
33126 * rt/aio_suspend.c: Likewise.
33127 * rt/aio_write.c: Likewise.
33128 * rt/clock_getres.c: Likewise.
33129 * rt/clock_gettime.c: Likewise.
33130 * rt/clock_nanosleep.c: Likewise.
33131 * rt/clock_settime.c: Likewise.
33132 * rt/lio_listio.c: Likewise.
33133 * rt/mq_close.c: Likewise.
33134 * rt/mq_getattr.c: Likewise.
33135 * rt/mq_notify.c: Likewise.
33136 * rt/mq_open.c: Likewise.
33137 * rt/mq_receive.c: Likewise.
33138 * rt/mq_send.c: Likewise.
33139 * rt/mq_setattr.c: Likewise.
33140 * rt/mq_timedreceive.c: Likewise.
33141 * rt/mq_timedsend.c: Likewise.
33142 * rt/mq_unlink.c: Likewise.
33143 * rt/shm_open.c: Likewise.
33144 * rt/shm_unlink.c: Likewise.
33145 * rt/timer_create.c: Likewise.
33146 * rt/timer_delete.c: Likewise.
33147 * rt/timer_getoverr.c: Likewise.
33148 * rt/timer_gettime.c: Likewise.
33149 * rt/timer_settime.c: Likewise.
33150 * setjmp/__longjmp.c: Likewise.
33151 * setjmp/setjmp.c: Likewise.
33152 * signal/kill.c: Likewise.
33153 * signal/killpg.c: Likewise.
33154 * signal/raise.c: Likewise.
33155 * signal/sigaction.c: Likewise.
33156 * signal/sigaltstack.c: Likewise.
33157 * signal/sigblock.c: Likewise.
33158 * signal/sigignore.c: Likewise.
33159 * signal/sigintr.c: Likewise.
33160 * signal/signal.c: Likewise.
33161 * signal/sigpause.c: Likewise.
33162 * signal/sigpending.c: Likewise.
33163 * signal/sigqueue.c: Likewise.
33164 * signal/sigreturn.c: Likewise.
33165 * signal/sigset.c: Likewise.
33166 * signal/sigsetmask.c: Likewise.
33167 * signal/sigstack.c: Likewise.
33168 * signal/sigsuspend.c: Likewise.
33169 * signal/sigtimedwait.c: Likewise.
33170 * signal/sigvec.c: Likewise.
33171 * signal/sigwait.c: Likewise.
33172 * signal/sigwaitinfo.c: Likewise.
33173 * signal/sysv_signal.c: Likewise.
33174 * socket/accept.c: Likewise.
33175 * socket/accept4.c: Likewise.
33176 * socket/bind.c: Likewise.
33177 * socket/connect.c: Likewise.
33178 * socket/getpeername.c: Likewise.
33179 * socket/getsockname.c: Likewise.
33180 * socket/getsockopt.c: Likewise.
33181 * socket/isfdtype.c: Likewise.
33182 * socket/listen.c: Likewise.
33183 * socket/recv.c: Likewise.
33184 * socket/recvfrom.c: Likewise.
33185 * socket/recvmsg.c: Likewise.
33186 * socket/send.c: Likewise.
33187 * socket/sendmsg.c: Likewise.
33188 * socket/sendto.c: Likewise.
33189 * socket/setsockopt.c: Likewise.
33190 * socket/shutdown.c: Likewise.
33191 * socket/sockatmark.c: Likewise.
33192 * socket/socket.c: Likewise.
33193 * socket/socketpair.c: Likewise.
33194 * stdio-common/ctermid.c: Likewise.
33195 * stdio-common/cuserid.c: Likewise.
33196 * stdio-common/remove.c: Likewise.
33197 * stdio-common/rename.c: Likewise.
33198 * stdio-common/renameat.c: Likewise.
33199 * stdio-common/tempname.c: Likewise.
33200 * stdlib/getcontext.c: Likewise.
33201 * stdlib/makecontext.c: Likewise.
33202 * stdlib/setcontext.c: Likewise.
33203 * stdlib/swapcontext.c: Likewise.
33204 * stdlib/system.c: Likewise.
33205 * streams/fattach.c: Likewise.
33206 * streams/fdetach.c: Likewise.
33207 * streams/getmsg.c: Likewise.
33208 * streams/getpmsg.c: Likewise.
33209 * streams/putmsg.c: Likewise.
33210 * streams/putpmsg.c: Likewise.
33211 * sysdeps/unix/bsd/getpt.c: Likewise.
33212 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33213 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33214 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33217 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33218 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33219 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33220 * sysvipc/msgctl.c: Likewise.
33221 * sysvipc/msgget.c: Likewise.
33222 * sysvipc/msgrcv.c: Likewise.
33223 * sysvipc/msgsnd.c: Likewise.
33224 * sysvipc/semctl.c: Likewise.
33225 * sysvipc/semget.c: Likewise.
33226 * sysvipc/semop.c: Likewise.
33227 * sysvipc/semtimedop.c: Likewise.
33228 * sysvipc/shmat.c: Likewise.
33229 * sysvipc/shmctl.c: Likewise.
33230 * sysvipc/shmdt.c: Likewise.
33231 * sysvipc/shmget.c: Likewise.
33232 * termios/tcdrain.c: Likewise.
33233 * termios/tcflow.c: Likewise.
33234 * termios/tcflush.c: Likewise.
33235 * termios/tcgetattr.c: Likewise.
33236 * termios/tcgetpgrp.c: Likewise.
33237 * termios/tcsendbrk.c: Likewise.
33238 * termios/tcsetattr.c: Likewise.
33239 * termios/tcsetpgrp.c: Likewise.
33240 * time/adjtime.c: Likewise.
33241 * time/clock.c: Likewise.
33242 * time/getitimer.c: Likewise.
33243 * time/gettimeofday.c: Likewise.
33244 * time/setitimer.c: Likewise.
33245 * time/settimeofday.c: Likewise.
33246 * time/stime.c: Likewise.
33247 * time/time.c: Likewise.
33249 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33251 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33254 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33256 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33258 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33262 FE_TONEAREST before applying Dekker multiplication and Knuth
33263 addition. Clear inexact exceptions and check for exact zero
33264 results afterwards.
33265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33266 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33268 * math/libm-test.inc (fma_test): Add more tests.
33269 (fma_test_towardzero): Likewise.
33270 (fma_test_downward): Likewise.
33271 (fma_test_upward): Likewise.
33272 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33274 (libc_fesetround): New macro.
33275 (libc_fesetroundf): Likewise.
33276 (libc_fesetroundl): Likewise.
33277 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33279 (libc_fesetround_387): Likewise.
33280 (libc_fesetroundf): New macro.
33281 (libc_fesetround): Likewise.
33282 (libc_fesetroundl): Likewise.
33283 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33285 (libc_fesetroundf): New macro.
33286 (libc_fesetround): Likewise.
33287 (libc_fesetroundl): Likewise.
33288 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33289 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33290 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33292 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33293 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33295 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33296 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33298 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33302 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33303 integer constant usable in #if and use that to give value to enum
33305 (FE_DIVBYZERO): Likewise.
33306 (FE_UNDERFLOW): Likewise.
33307 (FE_OVERFLOW): Likewise.
33308 (FE_INVALID): Likewise.
33309 (FE_INVALID_SNAN): Likewise.
33310 (FE_INVALID_ISI): Likewise.
33311 (FE_INVALID_IDI): Likewise.
33312 (FE_INVALID_ZDZ): Likewise.
33313 (FE_INVALID_IMZ): Likewise.
33314 (FE_INVALID_COMPARE): Likewise.
33315 (FE_INVALID_SOFTWARE): Likewise.
33316 (FE_INVALID_SQRT): Likewise.
33317 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33318 (FE_TONEAREST): Likewise.
33319 (FE_TOWARDZERO): Likewise.
33320 (FE_UPWARD): Likewise.
33321 (FE_DOWNWARD): Likewise.
33322 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33323 (FE_DIVBYZERO): Likewise.
33324 (FE_OVERFLOW): Likewise.
33325 (FE_UNDERFLOW): Likewise.
33326 (FE_INEXACT): Likewise.
33327 (FE_TONEAREST): Likewise.
33328 (FE_DOWNWARD): Likewise.
33329 (FE_UPWARD): Likewise.
33330 (FE_TOWARDZERO): Likewise.
33331 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33332 (FE_UNDERFLOW): Likewise.
33333 (FE_OVERFLOW): Likewise.
33334 (FE_DIVBYZERO): Likewise.
33335 (FE_INVALID): Likewise.
33336 (FE_TONEAREST): Likewise.
33337 (FE_TOWARDZERO): Likewise.
33338 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33339 (FE_OVERFLOW): Likewise.
33340 (FE_UNDERFLOW): Likewise.
33341 (FE_DIVBYZERO): Likewise.
33342 (FE_INEXACT): Likewise.
33343 (FE_TONEAREST): Likewise.
33344 (FE_TOWARDZERO): Likewise.
33345 (FE_UPWARD): Likewise.
33346 (FE_DOWNWARD): Likewise.
33347 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33348 (FE_DIVBYZERO): Likewise.
33349 (FE_OVERFLOW): Likewise.
33350 (FE_UNDERFLOW): Likewise.
33351 (FE_INEXACT): Likewise.
33352 (FE_TONEAREST): Likewise.
33353 (FE_DOWNWARD): Likewise.
33354 (FE_UPWARD): Likewise.
33355 (FE_TOWARDZERO): Likewise.
33357 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33359 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33361 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33363 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33364 commands. Quote $PWD.
33365 (blacklist_exports): Don't use remove_newlines. Replace "declare
33367 (remove_newlines): Remove.
33369 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33371 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33372 * stdlib/stdlib.h (atof): Moved to ...
33373 * include/bits/stdlib-float.h: Here. New file.
33374 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33375 * stdlib/bits/stdlib-float.h: New file.
33376 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33378 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33381 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33383 * conform/conformtest.pl (@headers): Add fenv.h.
33384 * conform/data/fenv.h-data: New file.
33385 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33386 include of <math/fenv.h>.
33388 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33389 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33390 && !UNIX98]. Enables tests for XOPEN2K8.
33391 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33392 POSIX2008]: Likewise.
33394 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33395 (struct rusage): Do not expect type or its members.
33398 * math/math.h (FP_NAN): Define macro to integer constant usable in
33399 #if and use that to give value to enum constant.
33400 (FP_INFINITE): Likewise.
33401 (FP_ZERO): Likewise.
33402 (FP_SUBNORMAL): Likewise.
33403 (FP_NORMAL): Likewise.
33405 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33407 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33408 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33411 2012-11-02 Roland McGrath <roland@hack.frob.com>
33413 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33414 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33415 autoconf-time if not.
33416 * configure.in: Remove AC_PREREQ.
33418 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33420 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33421 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33422 of the internal implementation.
33424 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33426 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33427 except include of <misc/sys/syslog.h>.
33429 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33432 function returns with a NULL context exit with zero.
33434 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33436 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33438 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33440 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33441 (run_program_cmd): This.
33442 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33443 (tst_langinfo): New variable. Use it.
33445 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33447 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33448 floating point opcodes.
33450 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33452 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33455 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33457 * sysdeps/mach/hurd/powerpc: Remove directory.
33458 * sysdeps/mach/powerpc: Likewise.
33460 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33462 * scripts/check-local-headers.sh: Ignore c++ headers.
33464 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33466 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33467 __libc_cleanup_region_start argument.
33469 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33474 x * y using scaling, not as x * y + z.
33475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33477 * math/libm-test.inc (fma_test): Add more tests.
33478 (fma_test_towardzero): Likewise.
33479 (fma_test_downward): Likewise.
33480 (fma_test_upward): Likewise.
33482 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33484 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33486 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33488 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33491 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33493 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33495 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33502 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33505 Fix the order of the list for glibc 2.17.
33506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33509 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33513 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33516 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33517 for low part of x being zero before using __atanl (y).
33518 * math/libm-test.inc (atan2_test): Add another test.
33520 * manual/install.texi (Configuring and compiling): Document
33521 general use of test-wrapper and test-wrapper-env.
33522 * INSTALL: Regenerated.
33524 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33525 (__fma): Do not extract and scale down low bits on after-rounding
33526 systems when result rounded to normal precision would have normal
33528 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33529 (__fmal): Do not extract and scale down low bits on after-rounding
33530 systems when result rounded to normal precision would have normal
33532 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33533 (__fmal): Do not extract and scale down low bits on after-rounding
33534 systems when result rounded to normal precision would have normal
33536 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33538 (fma_test): Add more tests.
33539 (fma_test_towardzero): Likewise.
33540 (fma_test_downward): Likewise.
33541 (fma_test_upward): Likewise.
33543 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33545 * sysdeps/i386/tininess.h: Renamed to ...
33546 * sysdeps/x86/tininess.h: This.
33547 * sysdeps/x86_64/tininess.h: Removed.
33549 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33551 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33552 input. Use $(build-program-cmd).
33553 ($(objpfx)tst-array1-static.out): Likewise.
33554 ($(objpfx)tst-array2.out): Likewise.
33555 ($(objpfx)tst-array3.out): Likewise.
33556 ($(objpfx)tst-array4.out): Likewise.
33557 ($(objpfx)tst-array5.out): Likewise.
33558 ($(objpfx)tst-array5-static.out): Likewise.
33560 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33562 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33565 * nss/nsswitch.h (nss_interface_function): Provide new
33566 macro for use with NSS functions.
33567 * grp/initgroups.c: Use new macro.
33568 * nss/getXXbyYY.c: Likewise.
33569 * nss/getXXbyYY_r.c: Likewise.
33570 * nss/getXXent.c: Likewise.
33571 * nss/getXXent_r.c: Likewise.
33572 * sysdeps/posix/getaddrinfo.c: Likewise.
33574 2012-10-30 Andreas Jaeger <aj@suse.de>
33576 * po/ru.po: Update Russion translation from translation project.
33578 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33583 result and shift together with sticky bit instead of replicating
33584 round-to-nearest rounding.
33585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33587 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33588 missing underflow exceptions.
33589 (fma_test_towardzero): Add more tests.
33590 (fma_test_downward): Likewise.
33591 (fma_test_upward): Likewise.
33594 * sysdeps/generic/tininess.h: New file.
33595 * sysdeps/i386/tininess.h: Likewise.
33596 * sysdeps/sh/tininess.h: Likewise.
33597 * sysdeps/x86_64/tininess.h: Likewise.
33598 * stdlib/tst-strtod-underflow.c: Likewise.
33599 * stdlib/tst-tininess.c: Likewise.
33600 * stdlib/strtod_l.c: Include <tininess.h>.
33601 (round_and_return): Do not set errno for exact underflow cases.
33602 Force an underflow exception when setting errno for underflow.
33603 Determine underflow based on rounding to normal precision if
33604 TININESS_AFTER_ROUNDING.
33605 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33606 ERANGE for exact underflow cases.
33607 * stdlib/Makefile (tests): Add tst-tininess and
33608 tst-strtod-underflow.
33609 ($(objpfx)tst-tininess): Use $(link-libm).
33610 ($(objpfx)tst-strtod-underflow): Likewise.
33612 2012-10-30 Andreas Jaeger <aj@suse.de>
33615 * elf/Makefile (tests): Remove conditional for have-initfini-array
33616 since this is now always required and the variable does not exist
33618 (tests-static): Likewise.
33619 (modules-names): Likewise.
33621 * po/eo.po: Add Esperanto translation from translation project.
33623 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33624 merged with constructor/destructor.
33625 (init_array): Likewise.
33626 * elf/tst-array2dep.c (fini_array): Likewise.
33627 (init_array): Likewise.
33629 2012-10-29 Mike Frysinger <vapier@gentoo.org>
33631 * manual/message.texi: Delete @cartouche tags.
33633 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33635 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33637 * sysdeps/mach/hurd/fsync.c: Likewise.
33639 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33640 [_POSIX_REALTIME_SIGNALS]: Change condition to
33641 [_POSIX_REALTIME_SIGNALS > 0].
33643 2012-10-27 Andreas Jaeger <aj@suse.de>
33645 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33646 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33648 [__WORDSIZE != 64]: Likewise.
33650 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33652 * iconvdata/tst-table.sh: Remove ${SHELL}.
33653 * iconvdata/tst-tables.sh: Likewise.
33655 2012-10-25 David S. Miller <davem@davemloft.net>
33657 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33658 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33663 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33664 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33665 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33668 2012-10-25 Roland McGrath <roland@hack.frob.com>
33670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33671 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33674 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33675 Jim Blandy <jimb@codesourcery.com>
33677 * scripts/cross-test-ssh.sh: New file.
33678 * manual/install.texi (Configuring and compiling): Document use of
33680 * INSTALL: Regenerated.
33682 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33684 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33687 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33689 * Makeconfig (run-program-prefix): Fix comment.
33691 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33692 Jim Blandy <jimb@codesourcery.com>
33694 * Makeconfig (test-wrapper): New variable,
33695 (test-wrapper-env): Likewise.
33696 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33697 (run-built-tests): Define to yes.
33698 (run-program-prefix): Use $(test-wrapper).
33699 (built-program-cmd): Likewise.
33700 * Rules (make-test-out): Use $(test-wrapper-env) and
33701 $(host-built-program-cmd).
33702 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33703 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33705 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33706 $(test-wrapper-env) to tst-rtld-load-self.sh.
33707 ($(objpfx)order2.out): Use $(test-wrapper).
33708 ($(objpfx)tst-initorder.out): Likewise.
33709 ($(objpfx)tst-initorder2.out): Likewise.
33710 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33711 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33712 (test_wrapper_env): New variable. Use it to run ld.so.
33713 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33714 Use it to run ld.so.
33715 (test_wrapper_env): Likewise.
33716 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33717 $(test-wrapper) to run-iconv-test.sh.
33718 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33719 (ICONV): Use $test_wrapper.
33720 * posix/Makefile ($(objpfx)globtest.out): Pass
33721 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33722 globtest.sh, not $(run-program-prefix).
33723 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33724 (test_wrapper): Likewise.
33725 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33726 set together with run_via_rtld_prefix.
33727 (run_program_prefix): Define in terms of test_wrapper and
33728 run_via_rtld_prefix.
33730 2012-10-24 Roland McGrath <roland@hack.frob.com>
33732 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33733 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33737 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33738 Declare __clock_getres, __clock_gettime, __clock_settime,
33739 __clock_nanosleep, and __clock_getcpuclockid.
33740 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33741 Remove librt_hidden_def (clock_gettime).
33742 * sysdeps/unix/clock_gettime.c: Likewise.
33743 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33744 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33745 * rt/clock_getres.c: Define __clock_getres as an alias.
33746 * sysdeps/posix/clock_getres.c: Likewise.
33747 * rt/clock_settime.c: Define __clock_settime as an alias.
33748 * sysdeps/unix/clock_settime.c: Likewise.
33749 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33750 * sysdeps/unix/clock_nanosleep.c: Likewise.
33751 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33752 * rt/clock-compat.c: New file.
33753 * rt/Makefile (librt-routines): Add clock-compat and move
33754 $(clock-routines) to ...
33755 (routines): ... here, new variable.
33756 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33757 Don't add get_clockfreq here.
33758 * rt/Versions (libc: GLIBC_2.17): New version set.
33759 Add clock_* symbols here.
33760 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33761 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33762 (GLIBC_2.17): Add clock_* symbols.
33763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33774 * NEWS: Mention the move.
33776 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33777 Use __open, __read, __close rather than their public counterparts.
33778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33779 (__get_clockfreq_via_cpuinfo): Likewise.
33780 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33781 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33783 * config.h.in (HAVE_IFUNC): New #undef.
33784 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33786 * configure: Regenerated.
33788 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33790 * configure.in: Move READELF check to start of file.
33791 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33792 libc_cv_asm_gnu_indirect_function in the process.
33793 * configure: Regenerated.
33795 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33797 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33798 send the output to /dev/null.
33799 (libc_cv_cc_with_libunwind): Likewise.
33800 (libc_cv_as_noexecstack): Likewise.
33801 * configure: Regenerate.
33803 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33805 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33807 * posix/globtest.sh (TMPDIR): Do not set.
33808 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33809 (testout): Likewise.
33811 2012-10-24 Andreas Jaeger <aj@suse.de>
33813 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33814 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33815 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33816 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33817 posix_fadvise64, posix_fallocate64.
33819 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33820 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33821 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33823 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33825 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33828 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33829 <bits/fcntl-linux.h>.
33830 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33833 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33834 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33835 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33836 [__WORDSIZE != 64]: Likewise.
33838 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33840 * Makeconfig (run-built-tests): New variable.
33841 * Rules [$(cross-compiling) = yes]: Change condition to
33842 [$(run-built-tests) = no].
33843 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33844 to [$(run-built-tests) = yes].
33845 * elf/Makefile [$(cross-compiling) = no]: Likewise
33846 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33847 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33848 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33849 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33850 * io/Makefile [$(cross-compiling) = no]: Likewise.
33851 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33852 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33853 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33854 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33855 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33856 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33857 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33858 * string/Makefile [$(cross-compiling) = no]: Likewise.
33860 * posix/Makefile ($(objpfx)globtest.out): Pass
33861 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33862 $(rtld-installed-name).
33863 * posix/globtest.sh (elf_objpfx): Remove variable.
33864 (rtld_installed_name): Likewise.
33865 (library_path): Likewise.
33866 (run_program_prefix): New variable. Use for running globtest
33869 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33870 Joseph Myers <joseph@codesourcery.com>
33872 * Makeconfig (host-built-program-cmd): New variable.
33873 * elf/Makefile (tst-stackguard1-ARGS): Use
33874 $(host-built-program-cmd).
33875 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33876 (tst-spawn-ARGS): Likewise.
33877 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33879 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33880 Jim Blandy <jimb@codesourcery.com>
33882 * Makeconfig (run-via-rtld-prefix): New variable.
33883 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33884 (built-program-cmd): Likewise.
33886 2012-10-22 Andreas Jaeger <aj@suse.de>
33888 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33889 __O_RSYNC if it exists, otherwise to O_SYNC.
33891 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33892 Joseph Myers <joseph@codesourcery.com>
33894 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33896 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33898 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33901 2012-10-22 Andreas Jaeger <aj@suse.de>
33903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33908 bits/fcntl-linux.h.
33910 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33911 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33918 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33919 Joseph Myers <joseph@codesourcery.com>
33921 * config.make.in (NM): New variable.
33923 2012-10-21 Andreas Jaeger <aj@suse.de>
33925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33926 definitions and declarations that are provided by
33927 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33929 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33932 * elf/Makefile (tests-static): Add tst-leaks1-static.
33933 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33934 ($(objpfx)tst-leaks1-static): New rule.
33935 ($(objpfx)tst-leaks1-static-mem): Likewise.
33936 (tst-leaks1-static-ENV): New macro.
33937 * elf/dl-open.c (dl_open_worker): Check the main application
33938 only if SHARED is defined.
33939 * elf/tst-leaks1-static.c: New file.
33941 2012-10-20 Andreas Jaeger <aj@suse.de>
33943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33944 generic values for Linux.
33945 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33946 and declarations that are provided by <bits/fcntl-linux.h> and
33947 include <bits/fcntl-linux.h>.
33948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33951 2012-10-20 Roland McGrath <roland@hack.frob.com>
33953 * io/fcntl.h: Move include of <bits/types.h> to the top and
33954 include it unconditionally.
33956 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33958 * wcsmbs/Makefile (tests-ifunc): New variable.
33959 (tests): Add $(tests-ifunc).
33960 * wcsmbs/test-wcschr-ifunc.c: New file.
33961 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33962 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33963 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33964 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33965 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33967 * string/Makefile (tests-ifunc): New variable.
33968 (tests): Add $(tests-ifunc).
33969 * string/test-memccpy.c (TEST_NAME): New macro.
33970 * string/test-memchr.c (TEST_NAME): Likewise.
33971 * string/test-memcmp.c (TEST_NAME): Likewise.
33972 * string/test-memcpy.c (TEST_NAME): Likewise.
33973 * string/test-memmem.c (TEST_NAME): Likewise.
33974 * string/test-memmove.c (TEST_NAME): Likewise.
33975 * string/test-memset.c (TEST_NAME): Likewise.
33976 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33977 * string/test-stpcpy.c (TEST_NAME): Likewise.
33978 * string/test-stpncpy.c (TEST_NAME): Likewise.
33979 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33980 * string/test-strcasestr.c (TEST_NAME): Likewise.
33981 * string/test-strcat.c (TEST_NAME): Likewise.
33982 * string/test-strchr.c (TEST_NAME): Likewise.
33983 * string/test-strcmp.c(TEST_NAME): Likewise.
33984 * string/test-strcpy.c (TEST_NAME): Likewise.
33985 * string/test-strcspn.c (TEST_NAME): Likewise.
33986 * string/test-strlen.c (TEST_NAME): Likewise.
33987 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33988 * string/test-strncmp.c (TEST_NAME): Likewise.
33989 * string/test-strncpy.c (TEST_NAME): Likewise.
33990 * string/test-strnlen.c (TEST_NAME): Likewise.
33991 * string/test-strpbrk.c (TEST_NAME): Likewise.
33992 * string/test-strrchr.c (TEST_NAME): Likewise.
33993 * string/test-strspn.c (TEST_NAME): Likewise.
33994 * string/test-strstr.c (TEST_NAME): Likewise.
33995 * string/test-bcopy-ifunc.c: New file.
33996 * string/test-bzero-ifunc.c: Likewise.
33997 * string/test-memccpy-ifunc.c: Likewise.
33998 * string/test-memchr-ifunc.c: Likewise.
33999 * string/test-memcmp-ifunc.c: Likewise.
34000 * string/test-memcpy-ifunc.c: Likewise.
34001 * string/test-memmem-ifunc.c: Likewise.
34002 * string/test-memmove-ifunc.c: Likewise.
34003 * string/test-mempcpy-ifunc.c: Likewise.
34004 * string/test-memset-ifunc.c: Likewise.
34005 * string/test-rawmemchr-ifunc.c: Likewise.
34006 * string/test-stpcpy-ifunc.c: Likewise.
34007 * string/test-stpncpy-ifunc.c: Likewise.
34008 * string/test-strcasecmp-ifunc.c: Likewise.
34009 * string/test-strcasestr-ifunc.c: Likewise.
34010 * string/test-strcat-ifunc.c: Likewise.
34011 * string/test-strchr-ifunc.c: Likewise.
34012 * string/test-strchrnul-ifunc.c: Likewise.
34013 * string/test-strcmp-ifunc.c: Likewise.
34014 * string/test-strcpy-ifunc.c: Likewise.
34015 * string/test-strcspn-ifunc.c: Likewise.
34016 * string/test-strlen-ifunc.c: Likewise.
34017 * string/test-strncasecmp-ifunc.c: Likewise.
34018 * string/test-strncat-ifunc.c: Likewise.
34019 * string/test-strncmp-ifunc.c: Likewise.
34020 * string/test-strncpy-ifunc.c: Likewise.
34021 * string/test-strnlen-ifunc.c: Likewise.
34022 * string/test-strpbrk-ifunc.c: Likewise.
34023 * string/test-strrchr-ifunc.c: Likewise.
34024 * string/test-strspn-ifunc.c: Likewise.
34025 * string/test-strstr-ifunc.c: Likewise.
34027 * debug/Makefile (tests-ifunc): New variable.
34028 (tests): Add $(tests-ifunc).
34029 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34030 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34031 * debug/test-stpcpy_chk-ifunc.c: New file.
34032 * debug/test-strcpy_chk-ifunc.c: Likewise.
34034 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34037 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34038 header is not read in.
34040 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34042 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34043 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34044 directly. Pass built executable to script as
34045 $(built-program-cmd).
34046 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34047 $testprogram without using LD_LIBRARY_PATH and $ldso.
34049 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34050 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34051 $(rtld-installed-name).
34052 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34053 (rtld_installed_name): Likewise.
34054 (library_path): Likewise.
34055 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34056 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34057 $(run-program-prefix) to tst-tables.sh.
34058 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34059 it to run tst-table-from and tst-table-to.
34060 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34061 Pass it to tst-table.sh.
34062 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34063 $(run-program-prefix) to tst-gettext.sh.
34064 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34066 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34068 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34069 to run tst-gettext.
34070 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34071 to run tst-gettext2.
34072 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34073 to run tst-translit.
34074 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34075 $(run-program-prefix) to tst-mtrace.sh.
34076 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34078 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34079 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34080 $(rtld-installed-name).
34081 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34082 (rtld_installed_name): Likewise.
34083 (run_program_prefix): New variable. Use it to run wordexp-test.
34085 * Makeconfig (ARCH): Remove all definitions.
34086 (machine): Likewise.
34087 [ARCH]: Remove conditional code.
34088 [!objdir]: Give error.
34089 [!objdir] (objpfx): Remove.
34090 [!objdir] (common-objpfx): Likewise.
34091 [!objdir] (common-objdir): Likewise.
34092 * configure.in (config_makefile): Remove. Hardcode Makefile in
34093 AC_CONFIG_FILES call.
34094 * configure: Regenerated.
34097 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34099 (testout): Likewise.
34101 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34102 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34103 $(rtld-installed-name).
34104 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34105 (rtld_installed_name): Likwise.
34106 (runit): Remove function.
34107 (run_getconf): New variable, Use it for running getconf binary.
34109 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34112 * string/test-memmem.c (check_result): New function.
34113 (do_one_test): Use it.
34114 (check1): New function.
34115 (test_main): Use it.
34117 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34119 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34121 2012-10-18 Joseph Myers <joseph@codesourcery.com>
34123 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34124 (_G_LSEEK64): Likewise.
34125 (_G_MMAP64): Likewise.
34126 (_G_FSTAT64): Likewise.
34127 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34128 (_G_LSEEK64): Likewise.
34129 (_G_MMAP64): Likewise.
34130 (_G_FSTAT64): Likewise.
34131 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34132 unconditional. Call __mmap64 directly.
34133 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34134 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34135 __lseek64 directly.
34136 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34137 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34139 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34140 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34141 __lseek64 directly.
34142 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34143 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34144 __lseek64 directly.
34145 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34146 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34147 __lseek64 directly.
34148 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34149 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34150 __fxstat64 directly.
34151 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34152 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34154 (freopen64) [!_G_OPEN64]: Remove conditional code.
34155 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34157 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34158 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34160 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34161 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34163 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34164 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34166 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34167 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34169 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34170 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34172 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34173 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34175 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34177 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34180 * manual/memory.texi (Malloc Tunable Parameters): Add note
34181 about free list pointers overwriting some perturb bytes.
34182 Wording suggested by Roland McGrath.
34184 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34186 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34187 (lgamma_test): Likewise.
34188 (tgamma_test): Likewise.
34190 2012-10-16 Florian Weimer <fweimer@redhat.com>
34193 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34194 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34196 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34198 * NEWS: Mention BZ #14716.
34199 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34200 when removing AVAILABLE1_USES_J macro.
34202 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34204 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34205 (__bswap_64): __uint64_t for unsigned 64-bit int.
34207 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34209 * include/string.h (memmem): Declare libc hidden alias.
34210 * string/memmem.c (memmem): Define libc hidden alias.
34211 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34212 __read, __close instead of open, read, close.
34214 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34217 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34219 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34220 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34221 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34223 (__rawmemchr_sse2): Likewise.
34224 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34225 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34226 (__strchr_sse2): Likewise.
34227 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34228 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34229 (__strcasecmp_sse2): Likewise.
34230 (__strncasecmp_sse2): Likewise.
34231 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34232 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34233 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34234 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34235 (__strrchr_sse2): Likewise.
34236 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34238 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34239 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34240 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34241 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34242 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34243 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34244 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34245 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34246 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34247 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34248 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34249 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34250 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34251 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34252 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34253 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34254 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34255 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34256 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34257 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34258 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34259 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34260 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34261 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34262 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34263 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34264 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34265 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34266 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34267 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34269 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34271 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34272 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34273 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34274 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34276 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34278 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34279 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34280 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34281 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34283 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34284 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34285 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34286 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34287 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34288 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34289 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34290 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34291 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34292 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34293 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34294 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34295 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34296 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34297 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34298 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34299 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34300 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34301 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34302 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34303 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34304 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34305 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34306 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34307 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34308 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34309 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34310 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34311 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34312 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34313 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34314 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34315 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34316 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34317 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34318 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34319 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34320 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34321 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34322 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34323 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34325 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34326 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34327 * include/ifunc-impl-list.h: New file.
34328 * misc/ifunc-impl-list.c: Likewise.
34329 * misc/Makefile (routines): Add ifunc-impl-list.
34330 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34331 * string/test-string.h: Include <ifunc-impl-list.h>.
34332 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34333 TEST_NAME]: New variables.
34334 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34336 (test_init): Call __libc_ifunc_impl_list to initialize
34337 func_list if TEST_IFUNC and TEST_NAME are defined.
34339 * string/Makefile (strop-tests): Add bcopy and bzero.
34340 * string/test-bcopy.c: New file.
34341 * string/test-bzero.c: Likewise.
34342 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34344 * string/test-memset.c: Support bzero test if TEST_BZERO is
34346 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34348 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34350 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34353 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34355 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34356 * configure: Regenerated.
34358 * Makeconfig (+link-static-before-libc): Don't include
34359 $(link-static-libc).
34361 * libio/libio.h (_IO_pos_t): Remove.
34363 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34365 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34368 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34370 * crypt/crypt-entry.c: Include fips-private.h.
34371 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34372 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34373 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34374 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34376 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34378 * crypt/crypt-private.h: Include stdbool.h.
34379 (_ufc_setup_salt_r): Return bool.
34380 * crypt/crypt-entry.c: Include errno.h.
34381 (__crypt_r): Return NULL with EINVAL for bad salt.
34382 * crypt/crypt_util.c (bad_for_salt): New.
34383 (_ufc_setup_salt_r): Check that salt is long enough and within
34384 the specified alphabet.
34385 * crypt/badsalttest.c: New file.
34386 * crypt/Makefile (tests): Add it.
34387 ($(objpfx)badsalttest): New.
34389 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34391 * NEWS: Add entry for BZ #14602.
34393 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34395 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34397 * math/libm-test.inc: Update comment listing what functions and
34399 (isgreater_test): New function.
34400 (isgreaterequal_test): Likewise.
34401 (isless_test): Likewise.
34402 (islessequal_test): Likewise.
34403 (islessgreater_test): Likewise.
34404 (isunordered_test): Likewise.
34405 (main): Call the new functions.
34407 2012-10-09 Roland McGrath <roland@hack.frob.com>
34409 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34410 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34411 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34412 * sysdeps/i386/configure: Regenerated.
34413 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34414 * sysdeps/mach/configure: Regenerated.
34415 * sysdeps/mach/hurd/configure: Regenerated.
34416 * sysdeps/powerpc/configure: Regenerated.
34417 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34418 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34419 * sysdeps/s390/s390-32/configure: Regenerated.
34420 * sysdeps/s390/s390-64/configure: Regenerated.
34421 * sysdeps/sh/configure: Regenerated.
34422 * sysdeps/sparc/configure: Regenerated.
34423 * sysdeps/unix/sysv/linux/configure: Regenerated.
34424 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34425 * sysdeps/x86_64/configure: Regenerated.
34427 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34428 defined. Don't check if MAP is NULL.
34430 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34432 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34433 (_G_stat64): Likewise.
34434 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34435 (_G_stat64): Likewise.
34436 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34437 instead of struct _G_stat64.
34438 * libio/fileops.c (mmap_remap_check): Likewise.
34439 (decide_maybe_mmap): Likewise.
34440 (_IO_new_file_seekoff): Likewise.
34441 (_IO_file_stat): Likewise.
34442 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34444 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34445 instead of struct _G_stat64.
34446 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34448 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34451 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34453 (CHECK_EOL): New macro.
34454 (two_way_short_needle): Check beginning of haystack for EOL. Use
34456 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34457 Replace with CHECK_EOL.
34458 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34459 Replace with CHECK_EOL.
34461 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34463 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34465 * math/libm-test.inc: Update comment listing what functions and
34467 (finite_test): New function.
34468 (isinf_test): Likewise.
34469 (isnan_test): Likewise.
34470 (fpclassify_test): Test subnormal input.
34471 (isfinite_test): Likewise.
34472 (isnormal_test): Likewise.
34473 (main): Call the new functions.
34475 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34478 * Makerules (%.dynsym): Force C locale when running
34479 $(OBJDUMP) --dynamic-syms.
34481 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34483 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34486 2012-10-06 David S. Miller <davem@davemloft.net>
34488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34489 upper 32-bits of the length value in %o2 since we use branch-on-register
34490 tests which consider the entire 64-bit register.
34492 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34494 * string/test-strstr.c (check2): Add a test for page boundary.
34496 2012-10-05 David S. Miller <davem@davemloft.net>
34498 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34499 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34501 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34503 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34504 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34505 and bzero when HWCAP_SPARC_CRYPTO is present.
34507 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34510 * string/test-strstr.c (check2): New function.
34511 (test_main): Call check2.
34513 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34515 * string/bug-strcasestr1.c (do_test): Moved to ...
34516 * string/test-strcasestr.c (check1): Here. New function.
34517 (do_one_test): Break out result checking code into ...
34518 (check_result): This. New function.
34519 (do_one_test): Call check_result.
34520 (test_main): Call check1.
34521 * string/bug-strchr1.c (do_test): Moved to ...
34522 * string/test-strchr.c (check1): Here. New function.
34523 (do_one_test): Break out result checking code into ...
34524 (check_result): This. New function.
34525 (do_one_test): Call check_result.
34526 (test_main): Call check1.
34527 * string/bug-strstr1.c (main): Moved to ...
34528 * string/test-strstr.c (check1): Here. New function.
34529 (do_one_test): Break out result checking code into ...
34530 (check_result): This. New function.
34531 (do_one_test): Call check_result.
34532 (test_main): Call check1.
34533 * string/bug-strcasestr1.c: Removed.
34534 * string/bug-strchr1.c: Likewise.
34535 * string/bug-strstr1.c: Likewise.
34537 * elf/Makefile (dl-routines): Add hwcaps.
34538 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34539 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34540 (_dl_important_hwcaps): Moved to ...
34541 * elf/dl-hwcaps.c: Here. New file.
34542 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34545 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34546 if IS_IN_rtld isn't defined.
34548 * elf/dl-support.c (_dl_sysinfo_map): New.
34549 Include "get-dynamic-info.h" and "setup-vdso.h".
34550 (_dl_non_dynamic_init): Call setup_vdso.
34551 * elf/dynamic-link.h: Don't include <assert.h>.
34552 (elf_get_dynamic_info): Moved to ...
34553 * elf/get-dynamic-info.h: Here. New file.
34554 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34555 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34556 * elf/setup-vdso.h: Here. New file.
34557 * elf/rtld.c: Include "setup-vdso.h".
34558 (dl_main): Call setup_vdso.
34560 2012-10-05 Joseph Myers <joseph@codesourcery.com>
34562 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34563 creal in comment listing functions tested. List finite, isinf,
34564 isnan, isless, islessequal, isgreater, isgreaterequal,
34565 islessgreater, isunordered, lgamma_r and pow10 as functions and
34566 macros not tested. Mention which functions not tested are aliases
34567 for other functions. Fix typo. Note that signs of NaNs are not
34570 * scripts/config.guess: Update from config.git.
34571 * scripts/config.sub: Likewise.
34573 2012-10-04 Roland McGrath <roland@hack.frob.com>
34575 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34576 * misc/madvise.c (madvise): Renamed to __madvise.
34577 Make madvise a weak alias.
34578 * include/sys/mman.h: Declare __madvise.
34579 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34580 * sysdeps/unix/syscalls.list
34581 (madvise): Make __madvise the strong name, and madvise a weak alias.
34582 * sysdeps/unix/sysv/linux/syscalls.list
34583 (madvise, mmap): Remove redundant entries.
34584 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34585 * malloc/malloc.c (mtrim): Likewise.
34586 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34588 2012-10-03 Roland McGrath <roland@hack.frob.com>
34590 * sysdeps/mach/hurd/dl-cache.c: File removed.
34591 * config.h.in (USE_LDCONFIG): New #undef.
34592 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34593 * configure: Regenerated.
34594 * elf/Makefile (dl-routines): Add dl-cache only under
34595 [$(use-ldconfig) = yes].
34596 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34597 cache on [USE_LDCONFIG].
34598 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34600 * elf/rtld.c (dl_main): Likewise.
34602 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34604 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34605 _SC_LEVEL4_CACHE_LINESIZE.
34607 2012-10-03 Roland McGrath <roland@hack.frob.com>
34609 * sysdeps/unix/bsd/confstr.h: File removed.
34611 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
34613 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34616 2012-10-02 Roland McGrath <roland@hack.frob.com>
34618 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34619 Make 'mapoff' field ElfW(Off) rather than off_t.
34621 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34623 * nscd/Makefile: Remove nscd-cflags and all its users.
34624 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34625 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34628 * malloc.c (malloc_printerr): Clarify error message.
34630 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34634 Set bit_FMA_Usable if FMA is supported.
34635 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34637 (bit_FMA4_Usable): Updated.
34638 (index_FMA_Usable): New macro.
34639 (CPUID_FMA): Likewise
34640 (HAS_FMA): Defined with bit_FMA_Usable.
34642 2012-10-01 Roland McGrath <roland@hack.frob.com>
34644 * bits/types.h (__swblk_t): Type removed.
34645 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34646 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34648 (__SWBLK_T_TYPE): Likewise.
34649 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34650 (__SWBLK_T_TYPE): Likewise.
34651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34652 (__SWBLK_T_TYPE): Likewise.
34653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34654 (__SWBLK_T_TYPE): Likewise.
34656 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
34657 Honza Horak <hhorak@redhat.com>
34659 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34660 (xdr_mapname): Use YPMAXMAP as maxsize.
34661 (xdr_peername): Use YPMAXPEER as maxsize.
34662 (xdr_keydat): Use YPAXRECORD as maxsize.
34663 (xdr_valdat): Use YPMAXRECORD as maxsize.
34665 2012-10-01 Roland McGrath <roland@hack.frob.com>
34667 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34669 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34670 * csu/init-first.c: ... here.
34671 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34672 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34673 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34674 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34675 * sysdeps/i386/init-first.c: File removed.
34676 * sysdeps/sh/init-first.c: File removed.
34678 2012-10-01 Joseph Myers <joseph@codesourcery.com>
34681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34682 if x * y might underflow to zero and z is zero.
34683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34685 * math/libm-test.inc (min_subnorm_value): New variable.
34686 (fma_test): Add more tests.
34687 (fma_test_towardzero): Likewise.
34688 (fma_test_downward): Likewise
34689 (fma_test_upward): Likewise.
34690 (initialize): Set min_subnorm_value.
34692 2012-09-29 Joseph Myers <joseph@codesourcery.com>
34695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34698 mode for addition resulting in exact zero.
34699 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34702 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34704 * math/libm-test.inc (fma_test): Add more tests.
34705 (fma_test_towardzero): New function.
34706 (fma_test_downward): Likewise.
34707 (fma_test_upward): Likewise.
34708 (main): Call the new functions.
34710 2012-09-28 David S. Miller <davem@davemloft.net>
34712 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34714 2012-09-28 Roland McGrath <roland@hack.frob.com>
34716 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34717 instead of SIGALRM.
34719 * sysdeps/gnu/_G_config.h: Moved to ...
34720 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34721 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34722 * sysdeps/generic/_G_config.h: ... here.
34724 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34726 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34728 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34729 Conditionalize target on [libnss_test1.so-version].
34731 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34733 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34734 (elfobjdir): Move out of conditionals.
34736 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34737 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34738 (__nss_lookup_function): Conditionalize label remove_from_tree on
34739 [!DO_STATIC_NSS || SHARED], matching its only use.
34741 2012-09-28 David S. Miller <davem@davemloft.net>
34743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34744 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34746 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34748 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34750 when HWCAP_SPARC_CRYPTO is present.
34752 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34754 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34756 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34759 * stdio-common/vfprintf.c (process_string_arg): Revert
34762 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34764 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34766 * stdio-common/tst-sprintf.c: Include <locale.h>
34767 (main): Test sprintf's handling of incomplete multibyte
34770 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34772 * elf/dl-runtime.c (VERSYMIDX): Removed.
34773 * elf/dl-version.c (VERSYMIDX): Likewise.
34774 * elf/do-rel.h (VERSYMIDX): Likewise.
34775 (VALIDX): Likewise.
34776 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34777 * elf/rtld.c (VALIDX): Likewise.
34778 (ADDRIDX): Likewise.
34779 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34780 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34781 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34782 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34783 (VALIDX): Likewise.
34784 (ADDRIDX): Likewise.
34786 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34788 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34790 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34793 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34795 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34796 addresses are in the same scope as 192.0.2/24.
34797 * posix/gai.conf: Document new scope table defaults.
34799 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34802 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34803 for ftell. Compute offsets from write pointers instead.
34804 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34806 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34809 * libio/Makefile (tests): New test case tst-fseek.
34810 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34811 combination works in wide mode.
34812 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34813 state when the external buffer state changes.
34815 2012-09-27 David S. Miller <davem@davemloft.net>
34818 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34819 pass reloc->r_addend in as the 'high' argument to
34820 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34824 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34826 * rt/tst-aio2.c: Include <pthread.h>.
34827 * rt/tst-aio3.c: Likewise.
34829 2012-09-27 Steve Ellcey <sellcey@mips.com>
34831 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34833 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34835 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34836 contents on [SHARED].
34838 2012-09-26 Marek Polacek <polacek@redhat.com>
34842 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34843 for C++ and GCC <4.3 as well as for non GCC compilers.
34845 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34849 2012-09-25 Roland McGrath <roland@hack.frob.com>
34851 * Makefile.in (all, install): Declare with .PHONY.
34852 Reported by Michael Hope <michael.hope@linaro.org>.
34854 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34856 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34857 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34859 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34861 (sydep_routines): Add the new and the internal functions.
34862 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34863 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34865 (GLIBC_2.17): Add the new function.
34866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34867 (GLIBC_2.17): Likewise.
34868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34869 (GLIBC_2.17): Likewise.
34870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34871 (GLIBC_2.17): Likewise.
34872 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34874 2012-09-25 Alan Modra <amodra@gmail.com>
34876 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34877 Add release barrier before setting once_control to say
34878 initialisation is done. Add hints on lwarx. Use macro in
34880 (clear_once_control): Add release barrier.
34882 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34885 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34887 * math/s_clog10.c (__clog10): Likewise.
34888 * math/s_clog10f.c (__clog10f): Likewise.
34889 * math/s_clog10l.c (__clog10l): Likewise.
34890 * math/s_clogf.c (__clogf): Likewise.
34891 * math/s_clogl.c (__clogl): Likewise.
34892 * math/Makefile (libm-calls): Add x2y2m1.
34893 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34894 (__x2y2m1): Likewise.
34895 (__x2y2m1l): Likewise.
34896 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34897 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34898 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34899 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34900 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34901 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34902 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34903 * sysdeps/i386/fpu/libm-test-ulps: Update.
34904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34907 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34908 int as type of variable DEPTH.
34909 (glob): Use size_t instead of int as type of variables NEWCOUNT
34912 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34914 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34915 Add s_sincosf-sse2.
34916 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34917 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34918 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34919 macros for using routine as __sincosf_ia32.
34920 Use macro for function declaration and weak_alias.
34921 * sysdeps/i386/fpu/libm-test-ulps: Update.
34923 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34926 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34927 subnormal argument.
34928 * math/s_cexpf.c (__cexpf): Likewise.
34929 * math/s_csinf.c (__csinf): Likewise.
34930 * math/s_csinhf.c (__csinhf): Likewise.
34931 * math/s_ctanf.c (__ctanf): Likewise.
34932 * math/s_ctanhf.c (__ctanhf): Likewise.
34933 * math/s_ccosh.c (__ccoshf): Likewise.
34934 * math/s_cexp.c (__cexpl): Likewise.
34935 * math/s_csin.c (__csin): Likewise.
34936 * math/s_csinh.c (__csinh): Likewise.
34937 * math/s_ctan.c (__ctan): Likewise.
34938 * math/s_ctanh.c (ctanh): Likewise.
34939 * math/s_ccoshl.c (__ccoshl): Likewise.
34940 * math/s_cexpl.c (__cexpl): Likewise.
34941 * math/s_csinl.c (__csinl): Likewise.
34942 * math/s_csinhl.c (__csinhl): Likewise.
34943 * math/s_ctanl.c (__ctanl): Likewise.
34944 * math/s_ctanhl.c (__ctanhl): Likewise.
34946 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34948 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34949 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34950 (_IO_off_t): Define to __off_t, not _G_off_t.
34951 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34952 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34953 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34954 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34955 type of __dummy and __dummy2 fields.
34956 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34957 (_G_ssize_t): Likewise.
34958 (_G_off_t): Likewise.
34959 (_G_pid_t): Likewise.
34960 (_G_uid_t): Likewise.
34961 (_G_wchar_t): Likewise.
34962 (_G_wint_t): Likewise.
34963 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34964 (_G_ssize_t): Likewise.
34965 (_G_off_t): Likewise.
34966 (_G_pid_t): Likewise.
34967 (_G_uid_t): Likewise.
34968 (_G_wchar_t): Likewise.
34969 (_G_wint_t): Likewise.
34970 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34971 (_G_ssize_t): Likewise.
34972 (_G_off_t): Likewise.
34973 (_G_pid_t): Likewise.
34974 (_G_uid_t): Likewise.
34975 (_G_wchar_t): Likewise.
34976 (_G_wint_t): Likewise.
34978 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34980 * malloc/arena.c: Include malloc-sysdep.h.
34981 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34982 is sufficient to shrink the heap or an unmap is needed.
34983 * sysdeps/generic/malloc-sysdep.h: New file. Define
34984 new function check_may_shrink_heap.
34985 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34986 new function check_may_shrink_heap.
34988 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34990 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34993 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34995 * catgets/test-gencat.sh: Add "set -e".
34996 * elf/tst-pathopt.sh: Likewise.
34997 * grp/tst_fgetgrent.sh: Likewise.
34998 * iconvdata/run-iconv-test.sh: Likewise.
34999 * intl/tst-gettext.sh: Likewise.
35000 * intl/tst-gettext2.sh: Likewise.
35001 * intl/tst-gettext4.sh: Likewise.
35002 * intl/tst-gettext6.sh: Likewise.
35003 * intl/tst-translit.sh: Likewise.
35004 * io/ftwtest-sh: Likewise.
35005 * libio/test-freopen.sh: Likewise.
35006 * malloc/tst-mtrace.sh: Likewise.
35007 * posix/globtest.sh: Likewise.
35008 * posix/tst-getconf.sh: Likewise.
35009 * posix/wordexp-tst.sh: Likewise.
35010 * stdio-common/tst-printf.sh: Likewise.
35011 * stdio-common/tst-unbputc.sh: Likewise.
35012 * stdlib/tst-fmtmsg.sh: Likewise.
35013 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35014 * catgets/Makefile: Do not specify -e option when running
35015 testsuite shell scripts.
35016 * elf/Makefile: Likewise.
35017 * grp/Makefile: Likewise.
35018 * iconvdata/Makefile: Likewise.
35019 * intl/Makefile: Likewise.
35020 * io/Makefile: Likewise.
35021 * libio/Makefile: Likewise.
35022 * malloc/Makefile: Likewise.
35023 * posix/Makefile: Likewise.
35024 * stdio-common/Makefile: Likewise.
35025 * stdlib/Makefile: Likewise.
35026 * sysdeps/x86_64/Makefile: Likewise.
35028 * io/ftwtest-sh: Add copyright header.
35029 * posix/globtest.sh: Likewise.
35030 * posix/tst-getconf.sh: Likewise.
35031 * posix/wordexp-tst.sh: Likewise.
35032 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35034 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35037 * Makeconfig (+link): Defined as $(+link-static) if
35038 $(build-shared) isn't yes.
35039 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35041 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35043 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35046 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35047 new chunk size with MALLOC_ALIGN_MASK.
35049 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35052 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35054 (__printf_fphex): Determine rounding using get_rounding_mode and
35056 * stdio-common/tst-printf-round.c (struct hex_test): New
35058 (hex_tests): New variable.
35059 (test_hex_in_one_mode): New function.
35060 (do_test): Also run tests for hex float output.
35062 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35064 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35065 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35066 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35067 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35068 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35069 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35070 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35071 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35073 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35075 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35076 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35077 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35078 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35080 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35083 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35085 * elf/tst-rtld-load-self.sh: New test.
35086 * elf/Makefile: Run it.
35088 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35090 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35091 (tst-writev-ENV): Remove.
35092 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35094 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35096 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35098 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35100 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35102 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35104 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35105 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35106 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35109 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35112 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35113 * config.make.in (have-cpp-asm-debuginfo): Removed.
35114 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35115 * configure: Regenerated.
35117 2012-09-14 Joseph Myers <joseph@codesourcery.com>
35120 * stdio-common/printf_fp.c: Include <stdbool.h> and
35122 (___printf_fp): Determine rounding using get_rounding_mode and
35124 * stdio-common/tst-printf-round.c: New file.
35125 * stdio-common/Makefile (tests): Add tst-printf-round.
35126 (link-libm): New variable.
35127 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35129 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35132 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35133 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35135 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35138 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35140 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35141 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35142 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35143 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35145 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35148 * include/rounding-mode.h: New file.
35149 * sysdeps/generic/get-rounding-mode.h: Likewise.
35150 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35151 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35152 (MAX_VALUE): New macro.
35153 (MIN_VALUE): Likewise.
35154 (overflow_value): New function.
35155 (underflow_value): Likewise.
35156 (round_and_return): Use overflow_value and underflow_value to
35157 determine return values in overflow and underflow cases. Use
35158 round_away to determine rounding depending on rounding mode.
35159 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35160 determine return values in overflow and underflow cases.
35161 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35162 (struct test_results): New structure.
35163 (struct test): Use struct test_results to store expected results
35164 for all rounding modes.
35165 (TEST): Include expected results for all rounding modes.
35166 (test_in_one_mode): New function.
35167 (do_test): Use test_in_one_mode to compute and check results.
35168 Check results for all rounding modes.
35169 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35172 2012-12-09 Allan McRae <allan@archlinux.org>
35174 * sysdeps/i386/fpu/libm-test-ulps: Update
35176 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35178 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35179 (_G_int32_t): Likewise.
35180 (_G_uint16_t): Likewise.
35181 (_G_uint32_t): Likewise.
35182 (_G_HAVE_BOOL): Likewise.
35183 (_G_HAVE_ATEXIT): Likewise.
35184 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35185 (_G_HAVE_IO_FILE_OPEN): Likewise.
35186 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35187 (_G_int32_t): Likewise.
35188 (_G_uint16_t): Likewise.
35189 (_G_uint32_t): Likewise.
35190 (_G_HAVE_BOOL): Likewise.
35191 (_G_HAVE_ATEXIT): Likewise.
35192 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35193 (_G_HAVE_IO_FILE_OPEN): Likewise.
35194 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35195 (_G_int32_t): Likewise.
35196 (_G_uint16_t): Likewise.
35197 (_G_uint32_t): Likewise.
35198 (_G_HAVE_BOOL): Likewise.
35199 (_G_HAVE_ATEXIT): Likewise.
35200 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35201 (_G_HAVE_IO_FILE_OPEN): Likewise.
35203 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35205 * csu/libc-tls.c: Update copyright years.
35207 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35209 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35210 [!_G_USING_THUNKS]: Remove conditional code.
35211 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35212 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35214 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35215 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35216 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35217 (_G_VTABLE_LABEL_PREFIX): Likewise.
35218 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35219 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35220 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35221 (_G_VTABLE_LABEL_PREFIX): Likewise.
35222 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35223 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35224 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35225 (_G_VTABLE_LABEL_PREFIX): Likewise.
35226 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35228 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35230 * libio/Makefile: Include ../Makeconfig before tests.
35231 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35232 only if $(build-shared) is yes.
35234 * iconv/gconv_db.c: Update copyright years.
35236 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35238 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35239 unwind info if defined PIC. Fix special cases description.
35240 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35242 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35244 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35246 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35248 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35250 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35253 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35254 (LDLIBS-tst-chk4): This.
35255 (LDFLAGS-tst-chk5): Renamed to ...
35256 (LDLIBS-tst-chk5): This.
35257 (LDFLAGS-tst-chk6): Renamed to ...
35258 (LDLIBS-tst-chk6): This.
35259 (LDFLAGS-tst-lfschk4): Renamed to ...
35260 (LDLIBS-tst-lfschk4): This.
35261 (LDFLAGS-tst-lfschk5): Renamed to ...
35262 (LDLIBS-tst-lfschk5): This.
35263 (LDFLAGS-tst-lfschk6): Renamed to ...
35264 (LDLIBS-tst-lfschk6): This.
35266 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35267 on $(common-objpfx)soversions.mk.
35269 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35272 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35275 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35277 * malloc/arena.c (arena_get_retry): New function that gets
35278 another arena for the caller to try its request on.
35279 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35280 current arena cannot fulfill the request.
35281 (__libc_memalign): Likewise.
35282 (__libc_memalign): Likewise.
35283 (__libc_pvalloc): Likewise.
35284 (__libc_calloc): Likewise.
35286 2012-09-05 John Tobey <john.tobey@gmail.com>
35289 * manual/arith.texi (Operations on Complex): Fix description
35290 of carg branch cut.
35292 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35295 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35299 * manual/memory.texi (Memory): Make order of menu items match
35302 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35304 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35305 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35306 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35308 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35310 * csu/libc-tls.c (static_dtv): Renamed to ...
35311 (_dl_static_dtv): This. Make it global.
35312 (_dl_initial_dtv): Removed.
35313 (__libc_setup_tls): Updated.
35314 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35315 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35318 2012-09-06 Petr Machata <pmachata@redhat.com>
35320 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35321 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35322 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35323 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35325 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35328 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35329 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35332 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35335 * Makeconfig (link-static-before-libc): Replace $(+prector)
35337 (link-static-after-libc): Replace $(+postctor) with
35339 (link-bounded): Replace $(+prector)/$(+postctor) with
35340 $(+prectorT)/$(+postctorT).
35341 (+prectorT): New macro.
35342 (+postctorT): Likewise.
35344 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35346 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35347 (round_str): Handle values above the maximum for IBM long double
35349 * stdlib/tst-strtod-round.c (tests): Regenerated.
35351 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35353 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35355 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35356 zarch_nohighgprs around the zarch optimized routines.
35357 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35358 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35359 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35362 2012-09-05 David S. Miller <davem@davemloft.net>
35364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35366 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35367 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35368 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35369 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35372 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35374 * malloc/arena.c: Fold copyright years.
35375 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35377 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35379 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35381 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35383 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35385 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35387 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35388 change internal state upon failure.
35390 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35392 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35393 * malloc/memusage.c (mmap): Likewise.
35394 (mmap64, mremap): Likewise. Adjust name in comment.
35396 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35398 * libio/fileops.c: Fix typos in comments.
35399 * libio/oldfileops.c: Likewise.
35400 * libio/wfileops.c: Likewise.
35402 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35405 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35406 (tst-malloc-usable-ENV): Set environment for test case.
35407 * malloc/hooks.c (malloc_check_get_size): New function to get
35409 * malloc/malloc.c (musable): Use malloc_check_get_size.
35410 * malloc/tst-malloc-usable.c: New test case.
35412 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35414 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35416 2012-09-05 Allan McRae <allan@archlinux.org>
35419 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35420 determine header location.
35421 * configure: Regenerated.
35423 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35425 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35427 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35428 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35430 (test): Regenerate.
35432 2012-09-04 David S. Miller <davem@davemloft.net>
35434 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35435 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35436 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35438 2012-09-04 Florian Weimer <fweimer@redhat.com>
35440 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35443 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35445 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35448 * libio/iogetdelim.c: Include <limits.h>.
35449 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35450 + len + 1 would overflow.
35452 2012-09-03 Andreas Jaeger <aj@suse.de>
35454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35455 * sysdeps/i386/fpu/libm-test-ulps: Update.
35457 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35459 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35460 Add s_sinf-sse2, s_conf-sse2.
35462 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35463 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35464 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35465 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35467 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35468 for using routine as __sinf_ia32.
35469 Use macro for function declaration and weak_alias.
35470 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35471 for using routine as __cosf_ia32.
35472 Use macro for function declaration and weak_alias.
35474 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35475 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35477 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35478 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35481 * math/libm-test.inc (cos_test): Add more test cases.
35482 (sin_test): Likewise.
35483 (sincos_test): Likewise.
35485 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35487 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35488 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35490 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35492 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35495 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35496 first element of the GOT.
35497 (elf_machine_load_address): Return the difference between
35498 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35500 2012-09-01 Allan McRae <allan@archlinux.org>
35503 * configure.in (AWK): Require gawk version 3.0 or later.
35504 * configure: Regenerated.
35506 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35508 * sysdeps/unix/sysv/linux/kernel-features.h
35509 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35510 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35511 [__NR_clock_getres]: Make code unconditional.
35512 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35513 (clock_getcpuclockid): Remove code left unreachable by removal of
35515 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35516 code unconditional.
35517 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35518 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35519 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35520 Make code unconditional.
35521 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35522 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35523 * sysdeps/unix/sysv/linux/clock_settime.c
35524 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35526 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35527 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35529 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35532 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35533 scripts/test-installation.pl.
35535 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35536 and $ld_so_version if it is set.
35538 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35541 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35542 failure if reading from procfs failed.
35543 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35545 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35547 * sysdeps/unix/sysv/linux/kernel-features.h
35548 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35549 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35550 Remove conditional code.
35551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35552 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35553 Remove conditional code.
35554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35555 * sysdeps/unix/sysv/linux/i386/fxstat.c
35556 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35558 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35559 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35561 * sysdeps/unix/sysv/linux/i386/lxstat.c
35562 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35564 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35565 Remove conditional code.
35566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35567 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35568 Remove conditional code.
35569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35570 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35571 <kernel-features.h>.
35572 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35574 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35575 Remove conditional code.
35576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35577 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35578 Remove conditional.
35580 2012-08-27 Mike Frysinger <vapier@gentoo.org>
35583 * NEWS: Add fixed bug number.
35585 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35588 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35589 underflowing exponent in case of negative sign.
35590 * stdlib/tst-strtod-round-data: Add more tests.
35591 * stdlib/tst-strtod-round.c (tests): Regenerated.
35594 * stdlib/strtod_l.c (NDIG): Remove.
35595 (HEXNDIG): Likewise.
35596 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35597 smallest representable value.
35598 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35599 lie within an exact representation of 1/2 ulp of the result.
35600 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35602 (TENS_P9_IDX): Define unconditionally.
35603 (TENS_P9_SIZE): Likewise.
35604 (TENS_P10_IDX): Likewise.
35605 (TENS_P10_SIZE): Likewise.
35606 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35607 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35608 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35609 entries for 10^2^13 and 10^2^14.
35610 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35611 (TENS_P13_IDX): Define.
35612 (TENS_P13_SIZE): Likewise.
35613 (TENS_P14_IDX): Likewise.
35614 (TENS_P14_SIZE): Likewise.
35615 (_fpioconst_pow10): Change array size to
35616 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35618 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35619 1024]: Add entries for 10^2^13 and 10^2^14.
35620 [LAST_POW10 > _LAST_POW10]: Remove #error.
35621 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35622 (_fpioconst_pow10): Change array size to
35623 FPIOCONST_POW10_ARRAY_SIZE.
35624 * stdlib/gen-fpioconst.c: New file.
35625 * stdlib/gen-tst-strtod-round.c: Likewise.
35626 * stdlib/tst-strtod-round-data: Likewise.
35627 * stdlib/tst-strtod-round.c: Likewise.
35628 * stdlib/Makefile (tests): Add tst-strtod-round.
35631 * stdlib/strtod_l.c: Include <stdint.h>.
35632 (NDEBUG): Do not define.
35633 (round_and_return): Change EXPONENT parameter to type intmax_t.
35634 Rearrange calculations to avoid internal overflow possibilities.
35635 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35636 Rearrange calculations to avoid internal overflow possibilities.
35637 Assert that number fits inside MPNSIZE limbs.
35638 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35639 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35640 calculations and add assertions to avoid internal overflow
35641 possibilities. Add casts to avoid signed/unsigned operations.
35642 * stdlib/tst-strtod-overflow.c: New file.
35643 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35645 2012-08-25 Marek Polacek <polacek@redhat.com>
35647 * time/time.h: Fix some typos in comments.
35649 2012-08-23 Roland McGrath <roland@hack.frob.com>
35651 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35652 * posix/tst-rfc3484-2.c: Likewise.
35653 * posix/tst-rfc3484-3.c: Likewise.
35655 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35657 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35658 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35660 2012-08-23 Joseph Myers <joseph@codesourcery.com>
35662 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35663 #include of fxstatat64.c.
35665 2012-08-22 Roland McGrath <roland@hack.frob.com>
35667 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35668 * shadow/getspent_r.c: Likewise.
35669 * shadow/getspnam.c: Likewise.
35670 * shadow/getspnam_r.c: Likewise.
35671 * gshadow/getsgent.c: Likewise.
35672 * gshadow/getsgent_r.c: Likewise.
35673 * gshadow/getsgnam.c: Likewise.
35674 * gshadow/getsgnam_r.c: Likewise.
35675 * inet/getnetbyad.c: Likewise.
35676 * inet/getnetbyad_r.c: Likewise.
35677 * inet/getnetbynm.c: Likewise.
35678 * inet/getnetbynm_r.c: Likewise.
35679 * inet/getnetent.c: Likewise.
35680 * inet/getnetent_r.c: Likewise.
35681 * inet/getproto.c: Likewise.
35682 * inet/getproto_r.c: Likewise.
35683 * inet/getprtent.c: Likewise.
35684 * inet/getprtent_r.c: Likewise.
35685 * inet/getprtname.c: Likewise.
35686 * inet/getprtname_r.c: Likewise.
35687 * inet/getrpcbyname.c: Likewise.
35688 * inet/getrpcbyname_r.c: Likewise.
35689 * inet/getrpcbynumber.c: Likewise.
35690 * inet/getrpcbynumber_r.c: Likewise.
35691 * inet/getrpcent.c: Likewise.
35692 * inet/getrpcent_r.c: Likewise.
35693 * inet/getaliasent.c: Likewise.
35694 * inet/getaliasent_r.c: Likewise.
35695 * inet/getaliasname.c: Likewise.
35696 * inet/getaliasname_r.c: Likewise.
35697 * nscd/getgrgid_r.c: Likewise.
35698 * nscd/getgrnam_r.c: Likewise.
35699 * nscd/gethstbyad_r.c: Likewise.
35700 * nscd/gethstbynm3_r.c: Likewise.
35701 * nscd/getpwnam_r.c: Likewise.
35702 * nscd/getpwuid_r.c: Likewise.
35703 * nscd/getsrvbynm_r.c: Likewise.
35704 * nscd/getsrvbypt_r.c: Likewise.
35705 * nscd/gai.c: Likewise.
35707 * configure.in (build_nscd): New substituted variable, set
35708 by --disable-build-nscd and defaults to $use_nscd.
35709 * configure: Regenerated.
35710 * config.make.in (build-nscd): New substituted variable.
35711 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35712 Change conditional to require [$(build-nscd) = yes] as well.
35713 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35716 * configure.in (use_nscd): New substituted variable, set by
35717 --disable-nscd. If enabled, define USE_NSCD.
35718 * configure: Regenerated.
35719 * config.h.in: Add USE_NSCD.
35720 * config.make.in (use-nscd): New substituted variable.
35721 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35722 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35723 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35724 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35725 (CFLAGS-getgrnam_r.c): Likewise.
35726 (CFLAGS-initgroups.c): Likewise.
35727 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35728 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35730 * inet/getnetgrent_r.c
35731 (nscd_setnetgrent): New function, broken out of ...
35732 (setnetgrent): ... here. Call it.
35733 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35734 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35735 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35736 * nscd/Makefile (routines, aux): Move definitions after include of
35737 Makeconfig. Conditionalize on [$(use-nscd) != no].
35738 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35739 Conditionalize on [USE_NSCD].
35740 (is_nscd, nscd_init_cb): Likewise.
35741 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35742 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35743 * nss/nss_db/db-init.c: Likewise.
35744 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35746 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35747 (make_request): Use it.
35748 (cache_valid_p): New function.
35749 (__check_pf): Use it.
35750 * NEWS: Add item for --disable-nscd.
35752 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35754 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35755 to support sed >= 4.2.1-20-ga9bf076.
35756 * configure: Regenerated.
35758 2012-08-22 Roland McGrath <roland@hack.frob.com>
35760 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35761 Conditionalize whole body on [IREL].
35763 2012-08-22 Jeff Law <law@redhat.com>
35766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35767 if the family is PF_UNSPEC.
35769 2012-08-22 Mike Frysinger <vapier@gentoo.org>
35771 * Makerules (lib-version): Rename from V.
35772 (install-lib-nosubdir): Change V to lib-version.
35774 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35777 * powerpc32/power6/wcschr.c: New file.
35778 * powerpc32/power6/wcscpy.c: New file.
35779 * powerpc32/power6/wcsrchr.c: New file.
35780 * powerpc64/power6/wcschr.c: New file.
35781 * powerpc64/power6/wcscpy.c: New file.
35782 * powerpc64/power6/wcsrchr.c: New file.
35784 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35786 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35787 (two_way_short_needle): Use it.
35788 * string/strstr.c (AVAILABLE1_USES_J): Define.
35789 * string/strcasestr.c: Likewise.
35791 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35793 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35796 * NEWS: Add an entry.
35797 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35798 define their defaults.
35799 (two_way_short_needle): Detect end-of-string on-the-fly.
35800 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35801 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35802 * string/bug-strcasestr1.c: New test.
35803 * string/Makefile: Run it.
35805 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35808 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35809 the first character.
35811 2012-08-21 Roland McGrath <roland@hack.frob.com>
35813 * csu/elf-init.c (__libc_csu_irel): Function removed.
35814 * csu/libc-start.c (apply_irel): New function.
35815 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35817 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35819 * sysdeps/unix/sysv/linux/kernel-features.h
35820 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35821 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35822 <kernel-features.h>.
35823 [__NR_fadvise64_64]: Make code unconditional.
35824 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35825 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35826 !__NR_fadvise64_64)]: Likewise.
35827 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35828 !__NR_fadvise64_64))]: Likewise.
35829 [__NR_fadvise64]: Make code unconditional.
35830 [!__NR_fadvise64]: Remove conditional code.
35831 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35832 <kernel-features.h>.
35833 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35835 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35838 not include <kernel-features.h>.
35839 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35841 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35843 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35844 include <kernel-features.h>.
35845 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35847 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35850 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35852 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35853 slight instruction rearrangements per scrollpipe analysis.
35854 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35856 2012-08-20 Roland McGrath <roland@hack.frob.com>
35858 * manual/syslog.texi (syslog; vsyslog, closelog):
35859 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35860 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35862 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35863 DSOCAPS to match condition on defining it.
35865 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35867 * sysdeps/unix/sysv/linux/kernel-features.h
35868 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35870 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35871 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35873 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35874 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35876 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35877 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35879 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35880 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35882 * sysdeps/unix/sysv/linux/kernel-features.h
35883 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35884 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35886 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35887 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35888 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35889 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35890 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35891 Make code unconditional.
35892 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35893 (__mmap64) [!__NR_mmap2]: Likewise.
35894 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35895 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35896 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35897 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35898 [__NR_mmap2]: Make code unconditional.
35899 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35900 (__mmap64) [!__NR_mmap2]: Likewise.
35902 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35904 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35906 2012-08-18 Andreas Jaeger <aj@suse.de>
35908 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35910 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35912 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35913 * include/unistd.h (__have_sock_cloexec): Likewise.
35914 (__have_pipe2): Likewise.
35915 (__have_dup3): Likewise.
35917 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35920 * include/unistd.h (__have_pipe2): Change define into an extern int.
35921 (__have_dup3): Likewise.
35922 * socket/have_sock_cloexec.c: Include fcntl.h.
35923 (__have_pipe2): New variable.
35924 (__have_dup3): Likewise.
35926 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35928 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35930 2012-08-17 Marek Polacek <polacek@redhat.com>
35932 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35933 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35935 2012-08-17 Roland McGrath <roland@hack.frob.com>
35937 * configure.in: Add AC_SUBST for sysheaders.
35938 * configure: Regenerated.
35939 * config.make.in (sysheaders): New substituted variable.
35941 * sysdeps/unix/mkfifo.c: Moved ...
35942 * sysdeps/posix/mkfifo.c: ... here.
35943 * sysdeps/unix/mkfifoat.c: Moved ...
35944 * sysdeps/posix/mkfifoat.c: ... here.
35946 * sysdeps/unix/utime.c: Moved ...
35947 * sysdeps/posix/utime.c: ... here.
35949 * sysdeps/unix/time.c: Moved ...
35950 * sysdeps/posix/time.c: ... here.
35951 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35952 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35954 * sysdeps/unix/nice.c: Moved ...
35955 * sysdeps/posix/nice.c: ... here.
35957 * sysdeps/unix/alarm.c: Moved ...
35958 * sysdeps/posix/alarm.c: ... here.
35960 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35962 2012-08-17 Jeff Law <law@redhat.com>
35964 * intl/Makefile (codeset_mo): New variable.
35965 ($(codeset_mo)): New target.
35966 (tst-codeset.out): Depend on that. Remove explicit rule.
35967 (tst-gettext3.out, tst-gettext5.out): Likewise.
35968 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35969 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35970 * intl/tst-codeset.sh: Remove.
35971 * intl/tst-gettext3.sh: Likewise.
35972 * intl/tst-gettext5.sh: Likewise.
35974 2012-08-17 Roland McGrath <roland@hack.frob.com>
35976 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35977 * sysdeps/unix/syscalls.list: ... here.
35979 * sysdeps/posix/getaddrinfo.c
35980 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35981 (gaiconf_init, gaiconf_reload): Use them.
35982 [!_STATBUF_ST_NSEC]
35983 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35984 Define using time_t rather than struct timespec.
35986 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35987 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35989 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35991 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35992 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35995 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35996 __libc_cleanup_push argument.
35998 * bits/param.h: New file.
35999 * misc/sys/param.h: New file.
36000 * include/sys/param.h: New file.
36001 * misc/Makefile (headers): Add bits/param.h.
36002 * sysdeps/generic/sys/param.h: File removed.
36003 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36004 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36005 * sysdeps/mach/hurd/bits/param.h: New file.
36006 * sysdeps/mach/hurd/sys/param.h: File removed.
36008 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36011 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36013 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36014 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36017 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36018 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36019 rather than -D_IO_MTSAFE_IO conditionally.
36020 * stdio-common/Makefile (CPPFLAGS): Likewise.
36021 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36022 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36023 Use $(libio-mtsafe).
36024 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36025 of -D_IO_MTSAFE_IO.
36026 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36027 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36028 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36029 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36030 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36031 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36032 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36033 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36034 (CFLAGS-fread_u_chk.c): Likewise.
36035 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36036 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36037 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36038 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36039 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36040 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36041 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36042 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36043 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36045 * libio/Makefile: Test [$(libc-reentrant) = yes]
36046 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36049 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36050 * sysdeps/pthread/configure: File removed.
36051 * sysdeps/pthread/Makeconfig: New file.
36052 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36053 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36055 2012-08-16 Gary Benson <gbenson@redhat.com>
36057 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36058 unmapping the first object in a namespace.
36060 2012-08-16 Roland McGrath <roland@hack.frob.com>
36062 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36063 (__internal_setnetgrent): ... this. Add internal_function to
36064 definition. Add libc_hidden_def.
36065 (setnetgrent): Update caller.
36066 (internal_endnetgrent): Renamed to ...
36067 (__internal_endnetgrent): ... this. Add internal_function to
36068 definition. Add libc_hidden_def.
36069 (endnetgrent): Update caller.
36070 (internal_getnetgrent_r): Renamed to ...
36071 (__internal_getnetgrent_r): ... this. Add internal_function to
36072 definition. Add libc_hidden_def.
36073 (__getnetgrent_r): Update caller.
36074 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36076 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36078 * stdlib/longlong.h: Update from GCC.
36080 2012-08-16 Roland McGrath <roland@hack.frob.com>
36082 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36083 on _QL, which is set by umul_ppmm but never used.
36084 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36085 variables, which are set by GMP macros but never used.
36086 * stdio-common/_itowa.c (_itowa): Likewise.
36087 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36088 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36090 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36092 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36093 struct La_sh_regs is not constant.
36094 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36095 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36096 and struct La_sparc64_regs are not constant.
36098 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36100 * sysdeps/unix/sysv/linux/kernel-features.h
36101 (__ASSUME_POSIX_TIMERS): Remove.
36102 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36103 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36104 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36105 Make code unconditional.
36106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36107 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36108 Make code unconditional.
36109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36110 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36111 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36113 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36114 Make code unconditional.
36115 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36116 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36117 (__libc_missing_posix_timers): Remove.
36119 2012-08-15 Roland McGrath <roland@hack.frob.com>
36121 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36122 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36124 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36126 * elf/dl-sym.c: Include <stdlib.h>.
36128 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36129 constants, which avoids warnings in 32-bit builds.
36131 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36132 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36134 * misc/lseek.c: File moved to ...
36135 * io/lseek.c: ... here.
36137 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36139 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36140 shifting LEN more than 31 bits at once.
36142 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36145 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36146 segmentation fault for a case of two empty input strings.
36147 * string/test-strncasecmp.c (check1): Renamed to...
36148 (bz12205): ...this.
36149 (bz14195): Add new testcase for two empty input strings and N > 0.
36150 (test_main): Call new testcase, adapt for renamed function.
36152 2012-08-15 Andreas Jaeger <aj@suse.de>
36155 * crypt/md5test2.c: New test, based on test supplied by Serge
36156 Belyshev <belyshev@depni.sinp.msu.ru>.
36157 * crypt/Makefile (xtests): Add md5test-giant..
36158 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36160 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36163 * crypt/md5.c (md5_process_block): Don't assume the buffer
36164 length is less than 2**32.
36165 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36166 length is less than 2**64.
36168 2012-08-15 Roland McGrath <roland@hack.frob.com>
36170 * string/str-two-way.h: Include <sys/param.h>.
36171 (MAX): Macro removed.
36173 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36174 Move #define and #undef of memmove to just before and after
36175 including <string.h>.
36177 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36178 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36179 and after including <string.h>. Move declarations of
36180 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36181 to before #include "string/memmove.c".
36183 * include/dirent.h: Declare __getdirentries.
36185 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36186 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36188 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36190 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36191 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36192 * sysdeps/i386/configure: Regenerated.
36193 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36194 STABS_CURRENT_FILE, and STABS_FUN.
36195 (END): Remove call to STABS_FUN_END.
36196 (STABS_CURRENT_FILE1): Delete.
36197 (STABS_CURRENT_FILE): Likewise.
36198 (STABS_FUN): Likewise.
36199 (STABS_FUN_END): Likewise.
36200 (STABS_FUN2): Likewise.
36201 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36202 * sysdeps/x86_64/configure: Regenerated.
36204 2012-08-14 Roland McGrath <roland@hack.frob.com>
36206 * elf/dl-open.c: Include <atomic.h>.
36207 * elf/dl-lookup.c: Likewise.
36209 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36211 * sysdeps/unix/sysv/linux/kernel-features.h
36212 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36213 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36215 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36217 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36218 condition on __ASSUME_CLONE_THREAD_FLAGS.
36220 2012-08-14 Andreas Jaeger <aj@suse.de>
36222 * sysdeps/i386/fpu/libm-test-ulps: Update.
36224 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36226 * include/atomic.h (atomic_exchange_and_add): Split into ...
36227 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36230 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36234 2012-08-13 Jeff Law <law@redhat.com>
36236 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36237 null byte in the output string.
36239 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36241 * sysdeps/unix/sysv/linux/kernel-features.h
36242 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36243 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36244 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36245 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36246 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36247 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36248 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36250 2012-08-09 Jeff Law <law@redhat.com>
36253 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36254 When avoid_arena is set, don't retry in the that arena. Pick the
36255 next one, whatever it might be.
36256 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36257 (arena_lock): Pass in new parameter to arena_get2.
36258 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36260 (__libc_malloc): Unify retrying after main arena failure with
36261 __libc_memalign version.
36262 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36264 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36267 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36268 to __redirect_strstr.
36269 (__strstr_sse42): Use typeof __redirect_strstr.
36270 (__strstr_ia32): Likewise.
36271 (__libc_strstr): New prototype.
36272 (strstr): Renamed to ...
36273 (__libc_strstr): This.
36274 (strstr): New strong alias of __libc_strstr.
36275 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36276 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36279 (__libc_time): New prototype.
36280 (time_ifunc): Replace time with __libc_time.
36281 (time): New strong alias and hidden definition of __libc_time.
36282 (__GI_time): Remove strong alias.
36283 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36284 Include <stddef.h>.
36285 (memmove): Redefined to __redirect_memmove.
36286 (__memmove_sse2): Use typeof __redirect_memmove.
36287 (__memmove_ssse3): Likewise.
36288 (__memmove_ssse3_back): Likewise.
36289 (__libc_memmove): New prototype.
36290 (memmove): Renamed to ...
36291 (__libc_memmove): This.
36292 (memmove): New strong alias of __libc_memmove.
36294 2012-08-08 Mark Salter <msalter@redhat.com>
36297 (R_MN10300_TLS_GD): Define.
36298 (R_MN10300_TLS_LD): Likewise.
36299 (R_MN10300_TLS_LDO): Likewise.
36300 (R_MN10300_TLS_GOTIE): Likewise.
36301 (R_MN10300_TLS_IE): Likewise.
36302 (R_MN10300_TLS_LE): Likewise.
36303 (R_MN10300_TLS_DTPMOD): Likewise.
36304 (R_MN10300_TLS_DTPOFF): Likewise.
36305 (R_MN10300_TLS_TPOFF): Likewise.
36306 (R_MN10300_SYM_DIFF): Likewise.
36307 (R_MN10300_ALIGN): Likewise.
36308 (R_MN10300_NUM): Update.
36310 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36315 2012-08-08 Roland McGrath <roland@hack.frob.com>
36317 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36319 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36320 sysdeps/unix -> sysdeps/posix move.
36321 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36323 2012-08-07 Allan McRae <allan@archlinux.org>
36326 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36327 (SUNOS_CPP): Likewise.
36328 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36330 (open_input): Call CPP using execvp.
36332 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36334 * sysdeps/unix/sysv/linux/kernel-features.h
36335 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36336 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36337 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36338 (__ASSUME_WAITID_SYSCALL): Likewise.
36339 * sysdeps/unix/sysv/linux/dl-execstack.c
36340 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36341 code unconditional.
36342 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36344 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36345 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36346 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36348 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36350 [__ASSUME_WAITID_SYSCALL]: Likewise.
36351 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36353 2012-08-07 Roland McGrath <roland@hack.frob.com>
36355 * sysdeps/unix/closedir.c: Renamed to ...
36356 * sysdeps/posix/closedir.c: ... here.
36357 * sysdeps/unix/dirfd.c: Renamed to ...
36358 * sysdeps/posix/dirfd.c: ... here.
36359 * sysdeps/unix/dirstream.h: Renamed to ...
36360 * sysdeps/posix/dirstream.h: ... here.
36361 * sysdeps/unix/fdopendir.c: Renamed to ...
36362 * sysdeps/posix/fdopendir.c: ... here.
36363 * sysdeps/unix/opendir.c: Renamed to ...
36364 * sysdeps/posix/opendir.c: ... here.
36365 * sysdeps/unix/readdir.c: Renamed to ...
36366 * sysdeps/posix/readdir.c: ... here.
36367 * sysdeps/unix/readdir_r.c: Renamed to ...
36368 * sysdeps/posix/readdir_r.c: ... here.
36369 * sysdeps/unix/rewinddir.c: Renamed to ...
36370 * sysdeps/posix/rewinddir.c: ... here.
36371 * sysdeps/unix/seekdir.c: Renamed to ...
36372 * sysdeps/posix/seekdir.c: ... here.
36373 * sysdeps/unix/telldir.c: Renamed to ...
36374 * sysdeps/posix/telldir.c: ... here.
36375 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36376 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36377 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36378 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36380 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36381 * bits/fcntl.h: ... here.
36383 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36385 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36386 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36387 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36388 (struct flock): Move l_start, l_len to the beginning.
36389 Use __pid_t for l_pid.
36390 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36391 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36392 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36393 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36394 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36395 [__USE_LARGEFILE64] (struct flock64): New type.
36396 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36398 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36399 * bits/dirent.h: ... here.
36401 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36402 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36404 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36406 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36407 Change from 2.6.0 to 2.6.16.
36408 * sysdeps/unix/sysv/linux/configure: Regenerated.
36409 * sysdeps/unix/sysv/linux/kernel-features.h
36410 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36411 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36413 (__ASSUME_UTIMES): Likewise.
36414 (__ASSUME_CLONE_STOPPED): Remove.
36415 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36416 architectures, not kernel version.
36417 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36418 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36419 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36420 (__ASSUME_WAITID_SYSCALL): Likewise.
36421 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36422 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36423 * README: State 2.6.16 as minimum Linux kernel version. Do not
36424 refer to older versions.
36426 2012-08-06 Roland McGrath <roland@hack.frob.com>
36428 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36429 Define alphasort64 as an alias.
36430 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36431 Define versionsort64 as an alias.
36432 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36433 Define scandir64 as an alias.
36434 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36435 Define scandirat64 as an alias.
36436 * dirent/alphasort64.c (alphasort64):
36437 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36438 * dirent/versionsort64.c: Likewise.
36439 * dirent/scandir64.c: Likewise.
36440 * dirent/scandirat64.c: Likewise.
36441 * sysdeps/wordsize-64/alphasort.c: File removed.
36442 * sysdeps/wordsize-64/alphasort64.c: File removed.
36443 * sysdeps/wordsize-64/scandir.c: File removed.
36444 * sysdeps/wordsize-64/scandir64.c: File removed.
36445 * sysdeps/wordsize-64/scandirat.c: File removed.
36446 * sysdeps/wordsize-64/scandirat64.c: File removed.
36447 * sysdeps/wordsize-64/versionsort.c: File removed.
36448 * sysdeps/wordsize-64/versionsort64.c: File removed.
36449 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36450 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36451 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36452 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36453 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36454 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36455 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36456 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36458 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36460 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36462 [defined __arch64__ || defined __sparcv9]
36463 (__INO_T_MATCHES_INO64_T): New macro.
36464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36465 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36466 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36467 * sysdeps/unix/sysv/linux/bits/dirent.h
36468 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36469 (_DIRENT_MATCHES_DIRENT64): New macro.
36471 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36472 Define lockf64 as an alias.
36473 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36474 Define fseeko64 as an alias.
36475 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36476 Define ftello64 as an alias.
36477 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36478 Define _IO_fgetpos64 and fgetpos64 as aliases.
36479 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36480 Define _IO_fsetpos64 and fsetpos64 as aliases.
36481 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36482 Conditionalize body on this.
36483 * libio/fseeko64.c: Likewise.
36484 * libio/ftello64.c: Likewise.
36485 * libio/iofgetpos64.c: Likewise.
36486 * libio/iofsetpos64.c: Likewise.
36487 * sysdeps/wordsize-64/lockf.c: File removed.
36488 * sysdeps/wordsize-64/lockf64.c: File removed.
36489 * sysdeps/wordsize-64/fseeko.c: File removed.
36490 * sysdeps/wordsize-64/fseeko64.c: File removed.
36491 * sysdeps/wordsize-64/ftello.c: File removed.
36492 * sysdeps/wordsize-64/ftello64.c: File removed.
36493 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36494 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36495 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36496 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36497 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36498 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36499 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36500 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36501 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36502 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36503 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36504 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36505 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36506 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36508 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36510 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36512 [defined __arch64__ || defined __sparcv9]
36513 (__OFF_T_MATCHES_OFF64_T): New macro.
36514 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36515 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36517 (__OFF_T_MATCHES_OFF64_T): New macro.
36519 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36521 * stdlib/secure-getenv.c (__secure_getenv): Replace
36522 GLIBC_2_16 with GLIBC_2_17.
36524 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36526 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36527 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36529 2012-08-03 David S. Miller <davem@davemloft.net>
36531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36533 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36535 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36537 (__ASSUME_CORRECT_SI_PID): Likewise.
36538 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36539 (__ASSUME_TMPFS_NAME): Likewise.
36540 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36541 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36542 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36543 (HAVE_AUX_SECURE): Make definition unconditional.
36544 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36545 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36547 2012-08-03 Roland McGrath <roland@hack.frob.com>
36549 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36550 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36551 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36552 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36553 __eloop_threshold instead of SYMLOOP_MAX.
36555 * sysdeps/generic/eloop-threshold.h: New file.
36556 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36558 * elf/chroot_canon.c (chroot_canon): Likewise.
36560 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36564 Change to 2.6.0 everywhere.
36565 * sysdeps/unix/sysv/linux/configure: Regenerated.
36566 * sysdeps/unix/sysv/linux/kernel-features.h
36567 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36568 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36570 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36571 (__ASSUME_FUTEX_REQUEUE): Remove.
36572 (__ASSUME_STATFS64): Define unconditionally.
36573 (__ASSUME_AT_SECURE): Likewise.
36574 (__ASSUME_CORRECT_SI_PID): Likewise.
36575 (__ASSUME_TGKILL): Define without depending on kernel version for
36577 (__ASSUME_UTIMES): Likewise.
36578 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36580 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36581 (__ASSUME_TMPFS_NAME): Likewise.
36582 * README: Update reference to Linux kernel versions.
36584 2012-08-02 Marek Polacek <polacek@redhat.com>
36587 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36588 libc_cv_asm_type_prefix with %.
36589 * configure: Regenerated.
36590 * include/libc-symbols.h: Remove comment about
36591 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36592 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36593 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36594 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36595 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36596 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36597 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36598 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36599 * elf/tst-unique2mod1.c: Likewise.
36600 * elf/tst-unique1mod2.c: Likewise.
36601 * elf/tst-unique1mod1.c: Likewise.
36602 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36603 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36604 Replace ASM_TYPE_DIRECTIVE with .type.
36605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36606 * sysdeps/i386/sysdep.h: Likewise.
36607 * sysdeps/x86_64/sysdep.h: Likewise.
36608 * sysdeps/sh/sysdep.h: Likewise.
36609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36610 Do not define ASM_TYPE_DIRECTIVE.
36611 * sysdeps/powerpc/sysdep.h: Likewise.
36612 * sysdeps/powerpc/powerpc32/sysdep.h:
36613 Replace ASM_TYPE_DIRECTIVE with .type.
36614 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36615 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36616 * sysdeps/i386/fpu/e_powf.S: Likewise.
36617 * sysdeps/i386/fpu/e_expl.S: Likewise.
36618 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36619 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36620 * sysdeps/i386/fpu/e_pow.S: Likewise.
36621 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36622 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36623 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36624 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36625 * sysdeps/i386/fpu/e_log2.S: Likewise.
36626 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36627 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36628 * sysdeps/i386/fpu/e_powl.S: Likewise.
36629 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36630 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36631 * sysdeps/i386/fpu/e_logl.S: Likewise.
36632 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36633 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36634 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36635 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36636 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36637 * sysdeps/i386/fpu/e_log.S: Likewise.
36638 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36639 * sysdeps/i386/fpu/e_logf.S: Likewise.
36640 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36641 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36642 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36643 * sysdeps/i386/fpu/e_log10.S: Likewise.
36644 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36645 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36646 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36647 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36648 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36649 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36650 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36651 * sysdeps/i386/i686/strtok.S: Likewise.
36652 * sysdeps/i386/i386-mcount.S: Likewise.
36653 * sysdeps/i386/strtok.S: Likewise.
36654 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36655 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36657 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36658 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36659 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36660 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36661 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36662 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36663 * sysdeps/x86_64/_mcount.S: Likewise.
36664 * sysdeps/x86_64/strtok.S: Likewise.
36665 * sysdeps/sh/_mcount.S: Likewise.
36667 2012-08-01 Roland McGrath <roland@hack.frob.com>
36669 * libio/iofopen.c: Include <fcntl.h>.
36670 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36671 (_IO_fopen64, fopen64): Define as aliases.
36672 * libio/iofopen64.c: Include <fcntl.h>.
36673 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36674 Conditionalize body on this.
36675 * sysdeps/wordsize-64/iofopen.c: File removed.
36676 * sysdeps/wordsize-64/iofopen64.c: File removed.
36678 2012-08-01 Marek Polacek <polacek@redhat.com>
36680 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36681 Use dlfcn directly instead of a variable.
36682 (binfmt-subdir): Do not define.
36685 2012-08-01 Joseph Myers <joseph@codesourcery.com>
36687 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36688 Remove all definitions.
36689 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36690 <kernel-features.h>.
36691 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36692 (miss_F_GETOWN_EX): Remove all definitions.
36693 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36695 [!__ASSUME_FCNTL64]: Remove conditional code.
36696 [__ASSUME_FCNTL64]: Make code unconditional.
36697 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36698 <kernel-features.h>.
36699 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36700 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36701 (lockf64) [__NR_fcntl64]: Make code unconditional.
36702 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36704 * sysdeps/unix/sysv/linux/kernel-features.h
36705 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36706 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36707 Make code unconditional.
36708 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36709 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36711 [__NR_vfork]: Make code unconditional.
36712 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36713 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36715 [__NR_vfork]: Make code unconditional.
36716 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36717 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36719 2012-08-01 Roland McGrath <roland@hack.frob.com>
36721 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36722 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36724 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36725 Define mkstemp64 as an alias.
36726 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36727 Define mkstemps64 as an alias.
36728 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36729 Define mkostemp64 as an alias.
36730 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36731 Define mkostemps64 as an alias.
36732 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36733 Conditionalize body on this.
36734 * misc/mkostemp64.c: Likewise.
36735 * misc/mkostemps64.c: Likewise.
36736 * misc/mkstemps64.c: Likewise.
36737 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36738 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36739 * sysdeps/wordsize-64/mkostemp.c: File removed.
36740 * sysdeps/wordsize-64/mkstemp.c: File removed.
36741 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36742 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36743 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36744 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36747 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36748 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36749 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36750 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36752 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36753 compat_symbol macros from <shlib-compat.h> rather than the underlying
36754 default_symbol_version and symbol_version macros, so that DEFAULT
36755 lines in shlib-versions are respected.
36756 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36758 2012-08-01 Florian Weimer <fweimer@redhat.com>
36760 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36761 Declare with warn_unused_result.
36762 (setgid, setregid, setegid, setresgid): Likewise.
36763 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36765 * WUR-REPORT: Remove set*id functions.
36767 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36769 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36771 2012-07-31 Roland McGrath <roland@hack.frob.com>
36774 * include/sys/socket.h (__libc_accept, __libc_accept4):
36775 Add attribute_hidden.
36776 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36778 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36780 * inet/getnetgrent_r.c (setup): Likewise.
36782 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36784 2012-07-31 David S. Miller <davem@davemloft.net>
36786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36788 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36791 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36792 value between 1.0 and 2.0 and smaller part has absolute value less
36794 * math/s_clog10.c (__clog10): Likewise.
36795 * math/s_clog10f.c (__clog10f): Likewise.
36796 * math/s_clog10l.c (__clog10l): Likewise.
36797 * math/s_clogf.c (__clogf): Likewise.
36798 * math/s_clogl.c (__clogl): Likewise.
36799 * math/libm-test.inc (clog_test): Add more tests.
36800 (clog10_test): Likewise.
36801 * sysdeps/i386/fpu/libm-test-ulps: Update.
36802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36804 2012-07-31 Florian Weimer <fweimer@redhat.com>
36806 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36807 Exit with zero in case no suitable GID is found, and write a
36808 message to standard error.
36810 2012-07-30 Roland McGrath <roland@hack.frob.com>
36812 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36814 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36815 (MAXPATHLEN): Removed.
36816 (NOGROUP, NODEV): New macros.
36817 (setbit, clrbit, isset, isclr): New macros.
36818 (howmany, roundup, powerof2): New macros.
36819 (DEV_BSIZE): New macro.
36821 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36822 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36824 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36825 definition on [!__NO_LONG_DOUBLE_MATH].
36827 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36828 PTR_MANGLE and PTR_DEMANGLE.
36830 * socket/accept4.c (accept4): Rename to __libc_accept4.
36831 Define accept4 as a weak alias.
36833 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36834 on [_DIRENT_HAVE_D_TYPE].
36835 * io/ftw.c (ftw_dir): Likewise.
36837 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36839 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36841 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36842 Use the BSD numbers rather than the arbitrary ones we had.
36843 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36844 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36845 (SIGXCPU, SIGXFSZ): New macros.
36848 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36849 initializer on [_LIBC_REENTRANT].
36851 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36852 definitions inside [_POSIX_MAPPED_FILES].
36854 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36856 * dirent/opendir.c: Include <fcntl.h>.
36858 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36859 (__libc_getspecific): Likewise.
36860 (__libc_key_create): Likewise.
36862 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36863 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36864 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36865 (tmpfile64): Define as alias.
36866 * sysdeps/wordsize-64/tmpfile.c: File removed.
36867 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36868 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36869 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36871 * stdio-common/vfscanf.c: Include <stdbool.h>.
36872 * nss/makedb.c: Likewise.
36873 * stdio-common/_i18n_number.h: Likewise.
36874 * argp/argp-help.c: Likewise.
36875 * posix/wordexp.c: Likewise.
36876 * sysdeps/posix/spawni.c: Likewise.
36877 * nss/nss_files/files-initgroups.c: Likewise.
36878 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36879 * nss/nss_files/files-initgroups.c: Likewise.
36880 * nss/nss_db/db-netgrp.c: Likewise.
36881 * nss/nss_db/db-initgroups.c: Likewise.
36882 * io/fchmodat.c: Include <sys/stat.h>.
36884 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36885 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36887 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36890 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36891 Add multiple inclusion protection.
36893 2012-07-27 David S. Miller <davem@davemloft.net>
36895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36897 2012-07-27 Gary Benson <gbenson@redhat.com>
36900 * elf/rtld.c: Include <stap-probe.h>.
36901 (dl_main): Added static probes "init_start" and "init_complete".
36902 * elf/dl-load.c: Include <stap-probe.h>.
36903 (lose): Take new parameter "nsid".
36904 Added static probe "map_failed".
36905 (_dl_map_object_from_fd): Pass namespace id to lose.
36906 Added static probe "map_start".
36907 (open_verify): Pass namespace id to lose.
36908 * elf/dl-open.c: Include <stap-probe.h>.
36909 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36910 and "reloc_complete".
36911 * elf/dl-close.c: Include <stap-probe.h>.
36912 (_dl_close_worker): Added static probes "unmap_start" and
36914 * elf/rtld-debugger-interface.txt: New file documenting the above.
36916 2012-07-26 Roland McGrath <roland@hack.frob.com>
36918 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36919 rather than a string variable.
36920 * sunrpc/rpc_main.c (h_output): Likewise.
36921 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36923 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36925 * inet/check_native.c: New file.
36927 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36930 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36931 if larger part has absolute value 1.0.
36932 * math/s_clog10.c (__clog10): Likewise.
36933 * math/s_clog10f.c (__clog10f): Likewise.
36934 * math/s_clog10l.c (__clog10l): Likewise.
36935 * math/s_clogf.c (__clogf): Likewise.
36936 * math/s_clogl.c (__clogl): Likewise.
36937 * math/libm-test.inc (clog_test): Add more tests.
36938 (clog10_test): Likewise.
36939 * sysdeps/i386/fpu/libm-test-ulps: Update.
36940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36942 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36943 (pltexit): Likewise.
36944 (La_regs): Likewise.
36945 (La_retval): Likewise.
36946 (int_retval): Likewise.
36947 Update #error for removed macros to refer only to definitions in
36949 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36951 (pltexit): Likewise.
36952 (La_regs): Likewise.
36953 (La_retval): Likewise.
36954 (int_retval): Likewise.
36955 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36957 (pltexit): Likewise.
36958 (La_regs): Likewise.
36959 (La_retval): Likewise.
36960 (int_retval): Likewise.
36961 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36963 (pltexit): Likewise.
36964 (La_regs): Likewise.
36965 (La_retval): Likewise.
36966 (int_retval): Likewise.
36967 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36969 (pltexit): Likewise.
36970 (La_regs): Likewise.
36971 (La_retval): Likewise.
36972 (int_retval): Likewise.
36973 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36975 (pltexit): Likewise.
36976 (La_regs): Likewise.
36977 (La_retval): Likewise.
36978 (int_retval): Likewise.
36979 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36981 (pltexit): Likewise.
36982 (La_regs): Likewise.
36983 (La_retval): Likewise.
36984 (int_retval): Likewise.
36985 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36986 macro definitions in tst-audit.h.
36987 * sysdeps/i386/tst-audit.h: New file.
36988 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36989 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36990 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36991 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36992 * sysdeps/sh/tst-audit.h: Likewise.
36993 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36994 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36995 * sysdeps/x86_64/tst-audit.h: Likewise.
36997 2012-07-26 Andreas Jaeger <aj@suse.de>
36999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37002 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37003 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37004 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37006 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37007 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37008 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37010 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37013 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37015 (si_call_addr, si_syscall, si_arch): Define new macro.
37016 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37018 (si_call_addr, si_syscall, si_arch): Define new marcro.
37019 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37021 (si_call_addr, si_syscall, si_arch): Define new macro.
37022 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37024 (si_call_addr, si_syscall, si_arch): Define new macro.
37026 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37029 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37030 Change to 2.4.21 where previously 2.4.1.
37031 * sysdeps/unix/sysv/linux/configure: Regenerated.
37032 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37033 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37034 Linux kernel version.
37035 (__ASSUME_STD_AUXV): Remove.
37036 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37038 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37039 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37040 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37041 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37042 (__ASSUME_NETLINK_SUPPORT): Likewise.
37043 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37044 (__no_netlink_support): Remove conditional definition.
37045 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37047 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37048 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37049 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37050 (if_nameindex_ioctl): Remove.
37051 (if_nameindex_netlink): Do not handle __no_netlink_support.
37052 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37054 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37055 Remove conditional code.
37056 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37058 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37060 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37061 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37062 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37064 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37065 [!__ASSUME_STD_AUXV]: Remove conditional code.
37066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37067 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37068 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37070 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37071 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37073 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37075 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37076 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37078 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37080 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37083 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37086 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37087 code unconditional.
37088 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37090 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37092 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37095 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37097 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37100 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37101 code unconditional.
37102 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37104 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37106 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37109 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37110 code unconditional.
37111 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37113 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37115 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37118 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37120 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37121 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37122 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37123 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37124 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37125 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37126 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37127 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37128 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37129 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37130 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37131 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37132 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37133 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37134 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37135 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37136 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37137 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37138 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37140 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37142 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37144 2012-07-25 Florian Weimer <fweimer@redhat.com>
37146 * Versions.def: Add GLIBC_2.17.
37147 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37148 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37149 Introduce __libc_secure_getenv.
37150 * stdlib/Versions (2.17): Add secure_getenv
37151 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37152 * stdlib/secure-getenv.c: Rename __secure_getenv to
37153 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37154 symbol __secure_getenv for GLIBC_2.0.
37155 * stdlib/tst-secure-getenv.c: New.
37156 * stdlib/Makefile (tests): Add testcase.
37157 * manual/startup.texi (Environment Access): Document
37159 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37160 __libc_secure_getenv.
37161 * inet/ruserpass.c (ruserpass): Likewise.
37162 * malloc/mtrace.c (mtrace): Likewise.
37163 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37164 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37165 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37166 * sysdeps/posix/tempname.c: Likewise. Evaluate
37167 HAVE_SECURE_GETENV.
37168 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37169 __secure_getenv to __libc_secure_getenv.
37170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37183 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37185 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37186 (struct La_i86_retval): Likewise.
37187 (struct La_x86_64_regs): Likewise.
37188 (struct La_x86_64_retval): Likewise.
37189 (struct La_x32_regs): Likewise.
37190 (struct La_x32_retval): Likewise.
37191 (struct La_ppc32_regs): Likewise.
37192 (struct La_ppc32_retval): Likewise.
37193 (struct La_ppc64_regs): Likewise.
37194 (struct La_ppc64_retval): Likewise.
37195 (struct La_sh_regs): Likewise.
37196 (struct La_sh_retval): Likewise.
37197 (struct La_s390_32_regs): Likewise.
37198 (struct La_s390_32_retval): Likewise.
37199 (struct La_s390_64_regs): Likewise.
37200 (struct La_s390_64_retval): Likewise.
37201 (struct La_sparc32_regs): Likewise.
37202 (struct La_sparc32_retval): Likewise.
37203 (struct La_sparc64_regs): Likewise.
37204 (struct La_sparc64_retval): Likewise.
37205 (struct audit_ifaces): Remove architecture-specific pltenter and
37207 * sysdeps/i386/ldsodefs.h: New file.
37208 * sysdeps/powerpc/ldsodefs.h: Likewise.
37209 * sysdeps/s390/ldsodefs.h: Likewise.
37210 * sysdeps/sh/ldsodefs.h: Likewise.
37211 * sysdeps/sparc/ldsodefs.h: Likewise.
37212 * sysdeps/x86_64/ldsodefs.h: Likewise.
37214 2012-07-25 Marek Polacek <polacek@redhat.com>
37217 * math/libm-test.inc (yn_test): Add another test.
37218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37219 to ERANGE when the result is +-Inf.
37220 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37221 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37222 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37223 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37225 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37227 * conform/data/time.h-data (NULL): Use macro-constant. Require
37229 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37231 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37233 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37235 * configure.in <sysdeps resolving>: Correct printing
37237 * configure: Regenerate.
37239 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37241 * math/w_ilogb.c: Include <limits.h>.
37242 * math/w_ilogbl.c: Likewise.
37244 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37246 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37247 va_copy. Document allowing for unavailable va_copy only as
37248 pre-C99 compatibility.
37249 * manual/string.texi (Copying and Concatenation): Use va_copy
37250 instead of __va_copy in concat example.
37252 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37254 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37255 (__sendto): Use create_address_port. Initialize APORT and deallocate
37258 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37259 with O_NOLINK passed to __file_name_lookup.
37261 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37262 with O_NOLINK passed to __file_name_lookup.
37264 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37265 negative N or less than NGIDS.
37267 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37268 type to string_t. Set ERANGE as errno and return it if NAME is not big
37269 enough. Use memcpy instead of strncpy.
37271 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37273 * elf/Makefile (check-data): Remove.
37274 (localplt.data): New vpath directive.
37275 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37276 instead of $(check-data).
37277 * scripts/data/localplt-generic.data: Move to ...
37278 * sysdeps/generic/localplt.data: ... here.
37279 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37280 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37281 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37284 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37287 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37290 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37293 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37296 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37300 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37302 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37303 PPC32 and PPC64 files.
37304 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37305 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37307 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37309 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37310 __makecontext_ret to ...
37311 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37312 ... here and call exit if uc_link is NULL. New file.
37313 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37314 __makecontext_ret.S.
37315 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37316 __makecontext_ret to ...
37317 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37318 ... here and call exit if uc_link is NULL. New file.
37319 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37320 __makecontext_ret.S.
37322 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37324 * elf/elf.h (R_390_IRELATIVE): New definition.
37325 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37326 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37327 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37328 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37329 (elf_machine_lazy_rel): Likewise.
37330 * sysdeps/s390/dl-irel.h: New file.
37331 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37332 * sysdeps/s390/s390-64/memset.S: New asm code.
37333 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37334 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37335 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37336 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37337 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37338 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37339 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37340 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37341 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37342 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37343 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37344 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37345 * sysdeps/s390/s390-32/memset.S: New asm code.
37346 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37348 2012-07-17 Marek Polacek <polacek@redhat.com>
37351 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37352 * sysdeps/s390/s390-64/configure.in: Likewise.
37353 * sysdeps/sparc/configure.in: Likewise.
37354 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37355 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37356 * sysdeps/i386/configure.in: Likewise.
37357 * sysdeps/x86_64/configure.in: Likewise.
37358 * sysdeps/sh/configure.in: Likewise.
37359 * sysdeps/s390/s390-32/configure: Regenerated.
37360 * sysdeps/s390/s390-64/configure: Likewise.
37361 * sysdeps/x86_64/configure: Likewise.
37362 * sysdeps/sh/configure: Likewise.
37363 * sysdeps/powerpc/powerpc64/configure: Likewise.
37364 * sysdeps/powerpc/powerpc32/configure: Likewise.
37365 * sysdeps/sparc/configure: Likwise.
37366 * sysdeps/i386/configure: Likewise.
37368 * elf/dl-open.c: Comment fixes.
37370 2012-07-17 Joseph Myers <joseph@codesourcery.com>
37372 * Makefile [CXX] (check-data): Remove.
37373 [CXX] (c++-types.data): New vpath directive.
37374 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37375 vpath. Do not allow for C++ type data being missing.
37376 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37377 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37378 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37379 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37380 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37381 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37382 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37385 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37388 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37391 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37394 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37397 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37400 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37403 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37406 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37407 definitions to architecture-specific files.
37408 (TLS_IE): Likewise.
37409 (TLS_LD): Likewise.
37410 (TLS_GD): Likewise.
37411 * sysdeps/i386/tls-macros.h: New file.
37412 * sysdeps/powerpc/tls-macros.h: Likewise.
37413 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37414 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37415 * sysdeps/sh/tls-macros.h: Likewise.
37416 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37417 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37418 * sysdeps/x86_64/tls-macros.h: Likewise.
37420 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37422 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37423 zero value for regular exit case.
37425 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37426 (__start_context): Preserve zero value for regular exit case.
37428 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37429 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37431 * manual/setjmp.texi (setcontext): Clarify normal process
37432 termination when uc_link is the null pointer.
37433 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37436 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37438 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37439 preprocessor. Test for each exception mask separately.
37441 2012-07-16 Andreas Jaeger <aj@suse.de>
37443 * po/ru.po: Update from translation team.
37445 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37447 * conform/data/string.h-data (NULL): Use macro-constant. Require
37449 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37450 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37451 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37452 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37455 2012-07-13 Andreas Jaeger <aj@suse.de>
37457 * po/fr.po: Update from translation team.
37459 2012-07-12 Marek Polacek <polacek@redhat.com>
37462 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37463 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37466 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37470 Change to 2.4.1 where previously 2.4.0.
37471 * sysdeps/unix/sysv/linux/configure: Regenerated.
37472 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37473 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37475 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37476 (__ASSUME_AT_CLKTCK): Remove.
37477 (__ASSUME_AT_PAGESIZE): Likewise.
37478 (__ASSUME_AT_XID): Likewise.
37479 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37480 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37481 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37483 (HAVE_AUX_PAGESIZE): Likewise.
37484 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37485 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37486 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37488 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37492 the temporary buffer used to invoke __gethostbyname2_r,
37493 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37494 host_data / struct gaih_addrtuple.
37495 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37496 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37497 header file nss/nsswitch.h.
37498 * nss/nsswitch.h (global scope): Add definition of implementation
37499 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37500 resolv/nss_dns/dns-host.c).
37502 2012-07-11 Andreas Jaeger <aj@suse.de>
37504 * po/fr.po: Update from translation team.
37506 * po/sv.po: Update from translation team
37507 * po/fr.po: Another update from translation team.
37509 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37512 for subnormals or multiply small sinh result by itself.
37513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37516 2012-07-11 David S. Miller <davem@davemloft.net>
37518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37520 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37523 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37524 (INTERNAL_MARK): Shift it here.
37526 2012-07-10 Marek Polacek <polacek@redhat.com>
37529 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37530 libc_cv_asm_global_directive with .globl.
37531 * configure: Regenerated.
37532 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37534 * sysdeps/i386/configure: Regenerated.
37535 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37537 * sysdeps/x86_64/configure: Regenerated.
37538 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37539 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37540 * elf/tst-unique2mod2.c: Likewise.
37541 * elf/tst-unique2mod1.c: Likewise.
37542 * elf/tst-unique1mod2.c: Likewise.
37543 * elf/tst-unique1mod1.c: Likewise.
37544 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37545 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37546 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37547 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37548 * sysdeps/mach/sysdep.h: Likewise.
37549 * sysdeps/i386/sysdep.h: Likewise.
37550 * sysdeps/i386/i386-mcount.S: Likewise.
37551 * sysdeps/x86_64/_mcount.S: Likewise.
37552 * sysdeps/x86_64/sysdep.h: Likewise.
37553 * sysdeps/sh/_mcount.S: Likewise.
37554 * sysdeps/sh/sysdep.h: Likewise.
37555 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37556 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37557 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37558 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37559 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37560 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37561 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37562 * locale/localeinfo.h: Likewise.
37563 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37564 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37566 2012-07-09 Roland McGrath <roland@hack.frob.com>
37569 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37571 * manual/message.texi (The Uniforum approach): Likewise.
37572 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37573 (glibc iconv Implementation): Likewise.
37575 2012-07-09 Joseph Myers <joseph@codesourcery.com>
37578 * math/s_clog.c (__clog): Avoid scaling a value down where that
37579 could result in underflow.
37580 * math/s_clog10.c (__clog10): Likewise.
37581 * math/s_clog10f.c (__clog10f): Likewise.
37582 * math/s_clog10l.c (__clog10l): Likewise.
37583 * math/s_clogf.c (__clogf): Likewise.
37584 * math/s_clogl.c (__clogl): Likewise.
37585 * math/libm-test.inc (clog_test): Add more tests.
37586 (clog10_test): Likewise.
37587 * sysdeps/i386/fpu/libm-test-ulps: Update.
37588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37590 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37593 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37594 by 7 not 8 to examine high bit of fractional part.
37597 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37598 for call to __mcount_internal.
37599 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37600 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37601 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37603 2012-07-06 Joseph Myers <joseph@codesourcery.com>
37606 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37607 approximation for values within 0x1p-13f of an odd multiple of
37609 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37610 exception. Add more tests.
37611 * sysdeps/i386/fpu/libm-test-ulps: Update.
37614 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37615 inputs and return -1 for them. Do not check for +Inf in case not
37616 reachable for +Inf.
37617 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37618 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37620 and return -1 for them. Do not check for +Inf in case not
37621 reachable for +Inf.
37622 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37624 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37625 and return -1 for them. Do not check for +Inf in case not
37626 reachable for +Inf.
37627 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37628 spurious underflow.
37629 * sysdeps/i386/fpu/libm-test-ulps: Update.
37630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37632 2012-07-06 Mike Frysinger <vapier@gentoo.org>
37634 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37636 2012-07-05 Joseph Myers <joseph@codesourcery.com>
37640 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37641 could result in spurious underflow. Scale down values above
37642 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37643 * math/s_csqrtf.c (__csqrtf): Likewise.
37644 * math/s_csqrtl.c (__csqrtl): Likewise.
37645 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37646 spurious underflow.
37647 * sysdeps/i386/fpu/libm-test-ulps: Update.
37648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37650 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37652 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37654 * catgets/xopen-msg.awk: New file.
37655 * catgets/xopen-msg.sed: Removed.
37657 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37659 * intl/po2test.awk: New file.
37660 * intl/po2test.sed: Removed.
37662 2012-07-04 Joseph Myers <joseph@codesourcery.com>
37665 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37666 or multiply small sinh result by itself.
37667 * math/s_ctanf.c (__ctanf): Likewise.
37668 * math/s_ctanh.c (__ctanh): Likewise.
37669 * math/s_ctanhf.c (__ctanhf): Likewise.
37670 * math/s_ctanhl.c (__ctanhl): Likewise.
37671 * math/s_ctanl.c (__ctanl): Likewise.
37672 * math/libm-test.inc (ctan_test_tonearest): New function.
37673 (ctan_test_towardzero): Likewise.
37674 (ctan_test_downward): Likewise.
37675 (ctan_test_upward): Likewise.
37676 (ctanh_test_tonearest): Likewise.
37677 (ctanh_test_towardzero): Likewise.
37678 (ctanh_test_downward): Likewise.
37679 (ctanh_test_upward): Likewise.
37680 (main): Call these new functions.
37681 * sysdeps/i386/fpu/libm-test-ulps: Update.
37682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37684 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37686 * .gitignore: Delete /ports entry.
37688 2012-07-03 Andreas Jaeger <aj@suse.de>
37690 * po/bg.po: Update from translation team.
37691 * po/cs.po: Likewise.
37692 * po/de.po: Likewise.
37693 * po/hr.po: Likewise.
37694 * po/nl.pl: Likewise.
37695 * po/pl.po: Likewise.
37696 * po/vi.po: Likewise.
37698 2012-07-03 Joseph Myers <joseph@codesourcery.com>
37700 * Makeconfig [!+link] (+link-before-libc): New variable.
37701 [!+link] (+link-after-libc): Likewise.
37702 [!+link] (+link-tests): Likewise.
37703 [!+link] (+link): Define in terms of $(+link-before-libc) and
37704 $(+link-after-libc).
37705 [!+link-static] (+link-static-before-libc): New variable.
37706 [!+link-static] (+link-static-after-libc): Likewise.
37707 [!+link-static] (+link-static-tests): Likewise.
37708 [!+link-static] (+link-static): Define in terms of
37709 $(+link-static-before-libc) and $(+link-static-after-libc).
37710 [build-shared] (link-libc-before-gnulib): New variable.
37711 [build-shared] (link-libc-tests): Likewise.
37712 [build-shared] (link-libc): Define in terms of
37713 $(link-libc-before-gnulib).
37714 [!build-shared] (link-libc-tests): New variable.
37715 (link-libc-static-tests): New variable.
37716 [!gnulib] (gnulib-arch): New variable.
37717 [!gnulib] (gnulib-tests): Likewise.
37718 [!gnulib] (static-gnulib-arch): Likewise.
37719 [!gnulib] (static-gnulib-tests): Likewise.
37720 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37721 Define with "=" instead of ":=".
37722 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37723 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37724 * Rules (binaries-all-notests): New variable.
37725 (binaries-all-tests): Likewise.
37726 (binaries-static-notests): Likewise.
37727 (binaries-static-tests): Likewise.
37728 (binaries-all): Define using $(binaries-all-notests) and
37729 $(binaries-all-tests).
37730 (binaries-static): Define using $(binaries-static-notests) and
37731 $(binaries-static-tests).
37732 (binaries-shared-tests): New variable.
37733 (binaries-shared-notests): Likewise.
37734 (binaries-shared): Remove variable.
37735 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37736 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37737 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37738 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37739 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37740 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37741 * elf/Makefile (sln-modules): New variable.
37742 (extra-objs): Add $(sln-modules:=.o).
37743 (ldconfig-modules): Add static-stubs.
37744 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37745 * elf/static-stubs.c: New file.
37748 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37749 by 7 not 8 to examine high bit of fractional part. Use volatile
37750 variables when splitting into final array of floats if
37751 __FLT_EVAL_METHOD__ != 0.
37752 * math/libm-test.inc (cos_test): Add another test.
37753 (sin_test): Likewise.
37754 * sysdeps/i386/fpu/libm-test-ulps: Update.
37757 * math/libm-test.inc (cosh_test): Add more tests.
37759 * version.h (RELEASE): Set to "development".
37760 (VERSION): Set to "2.16.90".
37762 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37764 * NEWS: Update copyright. Remove last-updated date.
37765 Mention math library bug fixes and timezone data changes.
37766 * README: Mention GNU/Hurd, x32, and HPPA support status.
37768 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37770 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37772 2012-06-27 Andreas Jaeger <aj@suse.de>
37774 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37776 2012-06-25 Andreas Jaeger <aj@suse.de>
37778 * sysdeps/s390/fpu/libm-test-ulps: Update.
37780 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37781 Thomas Schwinge <thomas@codesourcery.com>
37783 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37784 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37788 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37790 * sysdeps/mach/start.c: Remove file.
37791 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37792 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37793 * sysdeps/sh/init-first.c: Likewise.
37795 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37796 registers for frame unwinding purposes, add CFI directives.
37797 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37798 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37799 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37802 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37803 __fortify_fail returning.
37804 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37806 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37807 sysdeps/sh/____longjmp_chk.S.
37808 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37809 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37810 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37811 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37813 * sysdeps/sh/abort-instr.h: New file.
37814 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37815 process in case exit returns.
37817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37818 initialize the GOT register before use.
37820 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37821 calculation of ARGC > 4.
37823 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37824 meaningful names to some local labels.
37826 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37827 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37829 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37830 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37831 (__arch_compare_and_exchange_val_16_acq): Likewise.
37832 (__arch_compare_and_exchange_val_32_acq): Likewise.
37833 (atomic_exchange_and_add): Fix gUSA sequence.
37834 (atomic_add): Likewise.
37835 (atomic_add_negative): Likewise.
37836 (atomic_add_zero): Likewise.
37837 (atomic_bit_test_set): Likewise.
37839 2012-06-22 Andreas Schwab <schwab@redhat.com>
37842 * include/link.h (struct link_map): Add l_free_initfini.
37843 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37845 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37846 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37847 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37850 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37852 * configure.in: Use AC_LANG_SOURCE.
37853 * configure: Regenerate.
37855 2012-06-22 Roland McGrath <roland@hack.frob.com>
37857 * configure.in (libc_cv_localstatedir): New substituted variable.
37858 * configure: Regenerated.
37859 * config.make.in (localstatedir): New variable, substituted from
37860 libc_cv_localstatedir.
37861 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37862 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37863 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37864 * sysdeps/gnu/configure: Regenerated.
37866 2012-06-21 Jeff Law <law@redhat.com>
37869 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37870 free. Simplify list management for _LIBC case.
37872 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37875 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37876 Clear sign bit of 64-bit integer value before comparing against
37879 * sysdeps/mach/configure: Regenerated.
37881 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37884 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37886 2012-06-21 Jeff Law <law@redhat.com>
37889 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37890 uint16_t for elements in the "seen" array to avoid char overflows.
37891 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37892 * elf/dl-open.c (dl_open_worker): Likewise.
37894 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37896 * scripts/list-sources.sh: Scan PORTS for translations.
37897 * po/libc.pot: Regenerated.
37899 2012-06-21 Andreas Jaeger <aj@suse.de>
37902 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37904 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37905 * bits/byteswap-16.h (__bswap_16): Likewise.
37906 * bits/byteswap.h (__bswap_constant_16): Likewise.
37908 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37911 * sysdeps/i386/fpu_control.h: Removed.
37912 * sysdeps/x86_64/fpu_control.h: Moved to ...
37913 * sysdeps/x86/fpu_control.h: Here.
37915 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37916 (_FPU_SETCW): Likewise.
37918 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37921 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37922 * sysdeps/x86/fpu/bits/mathinline.h: This.
37923 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37927 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37928 functions if __x86_64__ is defined.
37930 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37932 * string/endian.h: Add !__ASSEMBLER__ condition for including
37933 conversion interfaces.
37935 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37939 of ABS(x) in calculating zero to negative powers other than odd
37941 * math/libm-test.inc (pow_test): Add more tests.
37943 2012-06-15 Andreas Jaeger <aj@suse.de>
37945 * manual/contrib.texi (Contributors): Update entry of Liubov
37946 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37949 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37951 * string/string.h: Add __wur to GNU version of strerror_r.
37953 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37956 * string/Makefile (tests): Add tst-strtok_r.
37957 * string/tst-strtok_r.c: New file.
37958 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37959 RAX_LP/RDX_LP on SAVE_PTR.
37961 2012-06-14 Roland McGrath <roland@hack.frob.com>
37963 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37965 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37967 * libm_test.inc (csqrt_test): Allow more spurious underflow
37969 (j0_test): Likewise.
37970 (j1_test): Likewise.
37971 (y0_test): Likewise.
37972 (y1_test): Likewise.
37974 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37976 * po/Makefile (libc.pot): Use UTF-8 charset.
37978 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37981 Suppress sign-conversion warning from FD_SET.
37982 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37983 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37984 not unsigned long int.
37985 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37987 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37991 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37992 __extern_always_inline instead of __extern_inline.
37993 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37994 (__signbit): Likewise.
37995 (__signbitl): Support C++ namespace.
37996 (lrintf): New inline function.
37998 (llrintf): Likewise.
37999 (llrint): Likewise.
38009 (floorf): Likewise.
38010 (nearbyint): Likewise.
38011 (nearbyintf): Likewise.
38013 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38015 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38016 non-default versions.
38018 2012-06-11 Roland McGrath <roland@hack.frob.com>
38021 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38023 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38025 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38026 (FE_UPWARD, FE_DOWNWARD): Don't define.
38027 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38028 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38030 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38032 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38033 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38035 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38037 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38039 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38040 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38042 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38045 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38046 * sysdeps/i386/fpu/Implies: New file.
38047 * sysdeps/x86_64/fpu/Implies: Likewise.
38048 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38049 * sysdeps/x86/fpu/bits/fenv.h: This.
38051 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38054 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38057 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38058 character 0xffff that matches the last element of the
38061 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38063 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38066 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38069 values higher than 25.6283.
38071 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38074 subnormal exponent extraction and add some __builtin_expect.
38075 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38076 Fix for subnormal mantissa calculation.
38078 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38080 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38081 cpu2 is -1 and errno is not ENOSYS.
38083 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38086 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38087 * sysdeps/x86/bits/string.h: This.
38088 * sysdeps/x86_64/bits/string.h: Removed.
38090 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38091 if not compiling for x86-64, but compiling for >= i486.
38093 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38094 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38096 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38097 New macro from Linux kernel 3.4.0.
38098 (FP_XSTATE_MAGIC2): Likewise.
38099 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38100 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38101 (struct _fpx_sw_bytes): New struct.
38102 (struct _xsave_hdr): Likewise.
38103 (struct _ymmh_state): Likewise.
38104 (struct _xstate): Likewise.
38106 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38107 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38109 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38110 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38111 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38113 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38114 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38115 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38116 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38117 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38118 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38120 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38123 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38124 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38125 (sysdep_headers): Include sys/platform/ppc.h.
38126 * sysdeps/powerpc/test-gettimebase.c: Test for
38127 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38128 * manual/Makefile (appendices): Include platform.texi.
38129 * manual/contrib.texi (Contributors): Update @node pointers.
38130 * manual/maint.texi (Maintenance): Likewise.
38131 (Platform): New node.
38132 * manual/platform.texi: New file. Document the new features.
38134 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38135 Jakub Jelinek <jakub@redhat.com>
38138 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38139 where __builtin_expect is unavailable.
38141 2012-06-03 David S. Miller <davem@davemloft.net>
38143 * stdlib/longlong.h: Updated from GCC.
38145 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38148 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38149 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38152 (GLIBC_2.16): Likewise.
38154 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38156 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38158 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38161 (default-abi): New variable.
38162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38163 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38165 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38167 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38169 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38172 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38173 definition. Document in comment.
38175 2012-06-01 David S. Miller <davem@davemloft.net>
38177 * stdlib/longlong.h: Updated from GCC.
38179 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38182 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38183 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38184 sys/debugreg.h sys/io.h here.
38185 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38186 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38188 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38189 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38190 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38191 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38192 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38193 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38195 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38196 Define only if __x86_64__ is defined.
38198 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38201 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38202 Use int64_t for variable i.
38203 * math/libm-test.inc (fmod_test): Add more tests.
38205 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38206 z computation is not scheduled after fetestexcept.
38207 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38208 Use math_force_eval instead of asm to ensure calculation scheduled
38209 before exception test.
38210 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38211 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38213 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38216 computation is not scheduled after fetestexcept.
38218 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38221 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38222 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38224 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38226 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38227 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38229 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38232 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38234 (__WCHAR_MIN): Support __WORDSIZE == 64.
38235 (__WCHAR_MAX): Likewise.
38237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38238 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38241 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38242 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38245 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38246 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38248 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38249 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38251 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38252 Defined to 1 if __x86_64__ isn't defined.
38253 (_STAT_VER_LINUX_OLD): New.
38254 (st_atime): Remove duplicate.
38255 (st_mtime): Likewise.
38256 (st_ctime): Likewise.
38258 2012-05-31 David S. Miller <davem@davemloft.net>
38260 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38263 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38265 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38269 * elf/dl-reloc.c: Include <_itoa.h>.
38270 (_dl_reloc_bad_type): Remove use of INTUSE.
38271 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38272 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38273 * stdio-common/psiginfo.c (psiginfo): Likewise.
38274 * stdio-common/psignal.c (psignal): Likewise.
38275 * string/strsignal.c (strsignal): Likewise.
38276 * include/signal.h (_sys_siglist): Declare hidden proto.
38277 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38278 INTVARDEF with libc_hidden_data_def.
38279 * stdio-common/itoa-udigits.c: Likewise.
38280 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38281 (_itoa_lower_digits_internal): Remove declaration.
38282 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38283 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38284 (_sys_sigabbrev_internal): Remove aliases.
38285 (_sys_siglist): Define hidden alias.
38287 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38292 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38295 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38296 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38298 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38299 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38300 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38301 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38303 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38305 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38306 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38307 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38309 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38317 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38318 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38319 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38321 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38322 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38323 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38324 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38325 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38326 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38328 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38329 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38331 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38332 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38336 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38338 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38339 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38341 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38343 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38344 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38345 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38347 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38349 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38351 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38353 * math/math.h (M_El): Use two more decimal places.
38354 (M_LOG2El): Likewise.
38355 (M_LOG10El): Likewise.
38356 (M_LN2l): Likewise.
38357 (M_LN10l): Likewise.
38359 (M_PI_2l): Likewise.
38360 (M_PI_4l): Likewise.
38361 (M_1_PIl): Likewise.
38362 (M_2_PIl): Likewise.
38363 (M_2_SQRTPIl): Likewise.
38364 (M_SQRT2l): Likewise.
38365 (M_SQRT1_2l): Likewise.
38367 2012-05-31 David S. Miller <davem@davemloft.net>
38369 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38370 values between float registers.
38371 * sysdeps/sparc/sparc64/memset.S: Likewise.
38372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38374 2012-05-31 Mike Frysinger <vapier@gentoo.org>
38376 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38377 -D_FORTIFY_SOURCE=1.
38378 (CPPFLAGS-tst-longjmp_chk.c): Define.
38379 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38380 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38381 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38382 CFLAGS-tst-wchar-h.c.
38384 2012-05-31 Marek Polacek <polacek@redhat.com>
38387 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38388 __endmntent_internal): Remove declaration.
38389 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38390 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38391 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38393 2012-05-30 David S. Miller <davem@davemloft.net>
38395 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38396 (___Q_simulate_exceptions): Use real FP ops rather than writing
38398 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38401 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38404 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38405 * sysdeps/x86/bits/xtitypes.h: This.
38407 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38408 * sysdeps/x86/bits/wordsize.h: This.
38410 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38411 * sysdeps/x86/bits/huge_vall.h: This.
38413 * sysdeps/i386/bits/select.h: Removed.
38414 * sysdeps/x86_64/bits/select.h: Renamed to ...
38415 * sysdeps/x86/bits/select.h: This.
38417 * sysdeps/i386/bits/setjmp.h: Removed.
38418 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38419 * sysdeps/x86/bits/setjmp.h: This.
38421 * sysdeps/i386/bits/mathdef.h: Removed.
38422 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38423 * sysdeps/x86/bits/mathdef.h: This.
38425 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38428 * include/sys/socket.h (__connect_internal)
38429 (__libc_sa_len_internal): Remove declaration.
38430 (__connect, __libc_sa_len): Declare hidden_proto.
38431 (SA_LEN): Remove use of INTUSE.
38432 * socket/connect.c: Add libc_hidden_def.
38433 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38434 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38435 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38437 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38438 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38439 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38440 of adding _internal alias.
38442 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38445 * sysdeps/i386/bits/link.h: Removed.
38446 * sysdeps/i386/bits/linkmap.h: Likewise.
38447 * sysdeps/x86_64/bits/link.h: Renamed to ...
38448 * sysdeps/x86/bits/link.h: This.
38449 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38450 * sysdeps/x86/bits/linkmap.h: This.
38452 * sysdeps/i386/bits/endian.h: Removed.
38453 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38454 * sysdeps/x86/bits/endian.h: This.
38456 * sysdeps/i386/bits/byteswap.h: Removed.
38457 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38458 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38459 * sysdeps/x86/bits/byteswap.h: This.
38460 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38461 * sysdeps/x86/bits/byteswap-16.h: This.
38462 * sysdeps/i386/Implies: Add x86.
38463 * sysdeps/x86_64/Implies: Likewise.
38465 2012-05-30 David S. Miller <davem@davemloft.net>
38467 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38468 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38469 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38470 (FP_TRAPPING_EXCEPTIONS): Define.
38471 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38472 (FP_TRAPPING_EXCEPTIONS): Define.
38473 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38474 subnormals only when inexact has been signalled or underflow
38475 exceptions are enabled.
38476 (_FP_PACK_CANONICAL): Likewise.
38478 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38482 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38484 2012-05-30 Richard Henderson <rth@twiddle.net>
38486 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38487 with #ifndef NOT_IN_libc.
38489 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38490 marked to avoid plt entry.
38492 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38495 * Makeconfig (default-abi): New macro.
38496 (abi-includes): Likewise.
38497 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38498 $(abi-$(default-abi)-lib-soname) for soname if defined.
38499 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38501 * Makefile (installed-stubs): Likewise.
38502 * include/stubs-biarch.h: Removed.
38503 * scripts/lib-names.awk: Only handle one library at a time.
38504 * scripts/soversions.awk: Remove WORDSIZE support.
38505 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38507 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38509 (syscall-list-default-condition): Likewise.
38510 (syscall-list-default-condition): Likewise.
38511 (syscall-list-includes): Likewise.
38512 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38513 syscall-list-* with abi-*. Handle undefined abi-variants.
38514 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38515 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38516 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38517 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38518 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38519 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38521 (syscall-list-32-options): Likewise.
38522 (syscall-list-32-condition): Likewise.
38523 (syscall-list-64-options): Likewise.
38524 (syscall-list-64-condition): Likewise.
38525 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38527 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38530 (abi-64-ld-soname): New macro.
38531 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38532 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38535 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38536 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38538 2012-05-30 Joseph Myers <joseph@codesourcery.com>
38540 * sysdeps/unix/sysv/linux/kernel-features.h
38541 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38542 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38543 include <kernel-features.h>.
38544 [!__NR_ftruncate64]: Remove conditional code.
38545 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38546 [__NR_ftruncate64]: Make code unconditional.
38547 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38548 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38549 include <kernel-features.h>.
38550 [!__NR_ftruncate64]: Remove conditional code.
38551 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38552 [__NR_ftruncate64]: Make code unconditional.
38553 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38555 include <kernel-features.h>.
38556 [!__NR_ftruncate64]: Remove conditional code.
38557 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38558 [__NR_ftruncate64]: Make code unconditional.
38559 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38561 include <kernel-features.h>.
38562 [!__NR_ftruncate64]: Remove conditional code.
38563 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38564 [__NR_ftruncate64]: Make code unconditional.
38565 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38567 * configure.in (libc_cv_fpie): Weaken to a compile test using
38568 LIBC_TRY_CC_OPTION.
38569 * configure: Regenerated.
38571 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38586 2012-05-27 David S. Miller <davem@davemloft.net>
38588 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38590 (__Q_simulate_exceptions): Return void. Change to simulate
38591 exceptions by writing into the %fsr.
38592 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38593 (__Qp_handle_exceptions): Likewise.
38595 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38596 __Qp_handle_exceptions.
38597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38598 __Qp_handle_exceptions.
38599 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38600 as unused and give dummy FP_RND_NEAREST initializer.
38601 (FP_INHIBIT_RESULTS): Define.
38602 (___Q_simulate_exceptions): Update declaration.
38603 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38605 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38606 as unused and give dummy FP_RND_NEAREST initializer.
38607 (__Qp_handle_exceptions): Update declaration.
38608 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38611 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38613 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38614 the temporary FPU control word.
38615 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38616 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38617 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38618 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38619 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38620 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38621 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38622 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38623 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38624 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38625 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38627 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38629 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38632 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38634 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38635 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38636 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38637 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38639 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38640 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38643 2012-05-27 Ulrich Drepper <drepper@gmail.com>
38645 * po/h.po: Update from translation team.
38647 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38649 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38651 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38652 handling of denormals.
38653 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38654 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38655 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38656 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38659 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38662 2012-05-26 Marek Polacek <polacek@redhat.com>
38665 * math/libm-test.inc (fma_test): Don't always expect underflow
38668 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38671 * elf/tst-execstack.c: Include stackinfo.h.
38672 (do_test): Adjust test case to ensure that pthread_getattr_np
38673 behaviour remains the same after marking stack executable.
38675 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38677 * sysdeps/unix/sysv/linux/kernel-features.h
38678 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38679 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38681 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38682 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38683 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38685 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38686 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38688 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38690 * configure.in: Define the default includes to being none.
38691 * configure: Regenerated.
38693 2012-05-25 Roland McGrath <roland@hack.frob.com>
38695 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38696 * sysdeps/x86_64/setjmp.S: Likewise.
38697 * sysdeps/i386/bsd-setjmp.S: Likewise.
38698 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38699 * sysdeps/i386/setjmp.S: Likewise.
38700 * sysdeps/i386/__longjmp.S: Likewise.
38701 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38702 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38704 * include/stap-probe.h: New file.
38705 * configure.in: Handle --enable-systemtap.
38706 * configure: Regenerated.
38707 * config.h.in (USE_STAP_PROBE): New #undef.
38708 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38709 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38710 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38712 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38715 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38716 to 2.4.0 where earlier.
38717 * sysdeps/unix/sysv/linux/configure: Regenerated.
38718 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38719 <kernel-features.h>.
38720 [__ASSUME_32BITUIDS]: Make code unconditional.
38721 [!__ASSUME_32BITUIDS]: Remove conditional code.
38722 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38723 <kernel-features.h>.
38724 [__ASSUME_32BITUIDS]: Make code unconditional.
38725 [!__ASSUME_32BITUIDS]: Remove conditional code.
38726 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38727 [__ASSUME_32BITUIDS]: Make code unconditional.
38728 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38729 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38730 <kernel-features.h>.
38731 [__ASSUME_32BITUIDS]: Make code unconditional.
38732 [!__ASSUME_32BITUIDS]: Remove conditional code.
38733 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38734 <kernel-features.h>.
38735 [__ASSUME_32BITUIDS]: Make code unconditional.
38736 [!__ASSUME_32BITUIDS]: Remove conditional code.
38737 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38738 <kernel-features.h>.
38739 [__ASSUME_32BITUIDS]: Make code unconditional.
38740 [!__ASSUME_32BITUIDS]: Remove conditional code.
38741 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38742 <kernel-features.h>.
38743 [__ASSUME_32BITUIDS]: Make code unconditional.
38744 [!__ASSUME_32BITUIDS]: Remove conditional code.
38745 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38746 <kernel-features.h>.
38747 [__ASSUME_32BITUIDS]: Make code unconditional.
38748 [!__ASSUME_32BITUIDS]: Remove conditional code.
38749 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38750 <kernel-features.h>.
38751 [__ASSUME_32BITUIDS]: Make code unconditional.
38752 [!__ASSUME_32BITUIDS]: Remove conditional code.
38753 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38754 <kernel-features.h>.
38755 [__ASSUME_32BITUIDS]: Make code unconditional.
38756 [!__ASSUME_32BITUIDS]: Remove conditional code.
38757 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38758 <kernel-features.h>.
38759 [__ASSUME_32BITUIDS]: Make code unconditional.
38760 [!__ASSUME_32BITUIDS]: Remove conditional code.
38761 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38762 <kernel-features.h>.
38763 [__ASSUME_32BITUIDS]: Make code unconditional.
38764 [!__ASSUME_32BITUIDS]: Remove conditional code.
38765 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38766 <kernel-features.h>.
38767 [__ASSUME_32BITUIDS]: Make code unconditional.
38768 [!__ASSUME_32BITUIDS]: Remove conditional code.
38769 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38770 <kernel-features.h>.
38771 [__NR_setresgid] (__setresgid): Do not declare.
38772 [__ASSUME_32BITUIDS]: Make code unconditional.
38773 [!__ASSUME_32BITUIDS]: Remove conditional code.
38774 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38775 <kernel-features.h>.
38776 [__NR_setresuid] (__setresuid): Do not declare.
38777 [__ASSUME_32BITUIDS]: Make code unconditional.
38778 [!__ASSUME_32BITUIDS]: Remove conditional code.
38779 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38780 <kernel-features.h>.
38781 [__ASSUME_32BITUIDS]: Make code unconditional.
38782 [!__ASSUME_32BITUIDS]: Remove conditional code.
38783 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38784 <kernel-features.h>.
38785 [__ASSUME_32BITUIDS]: Make code unconditional.
38786 [!__ASSUME_32BITUIDS]: Remove conditional code.
38787 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38788 <kernel-features.h>.
38789 [__ASSUME_32BITUIDS]: Make code unconditional.
38790 [!__ASSUME_32BITUIDS]: Remove conditional code.
38791 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38792 <kernel-features.h>.
38793 [__ASSUME_32BITUIDS]: Make code unconditional.
38794 [!__ASSUME_32BITUIDS]: Remove conditional code.
38795 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38796 <kernel-features.h>.
38797 [__ASSUME_32BITUIDS]: Make code unconditional.
38798 [!__ASSUME_32BITUIDS]: Remove conditional code.
38799 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38800 <kernel-features.h>.
38801 [__ASSUME_32BITUIDS]: Make code unconditional.
38802 [!__ASSUME_32BITUIDS]: Remove conditional code.
38803 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38804 <kernel-features.h>.
38805 [__ASSUME_32BITUIDS]: Make code unconditional.
38806 [!__ASSUME_32BITUIDS]: Remove conditional code.
38807 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38808 <kernel-features.h>.
38809 [__ASSUME_32BITUIDS]: Make code unconditional.
38810 [!__ASSUME_32BITUIDS]: Remove conditional code.
38811 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38812 <kernel-features.h>.
38813 [__ASSUME_32BITUIDS]: Make code unconditional.
38814 [!__ASSUME_32BITUIDS]: Remove conditional code.
38815 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38816 <kernel-features.h>.
38817 [__ASSUME_32BITUIDS]: Make code unconditional.
38818 [!__ASSUME_32BITUIDS]: Remove conditional code.
38819 * sysdeps/unix/sysv/linux/kernel-features.h
38820 (__ASSUME_SETRESUID_SYSCALL): Remove.
38821 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38822 (__ASSUME_32BITUIDS): Likewise.
38823 (__ASSUME_LDT_WORKS): Likewise.
38824 (__ASSUME_O_DIRECTORY): Likewise.
38825 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38826 architecture but not kernel version.
38827 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38828 (__ASSUME_MMAP2_SYSCALL): Likewise.
38829 (__ASSUME_STAT64_SYSCALL): Likewise.
38830 (__ASSUME_IPC64): Likewise.
38831 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38832 <kernel-features.h>.
38833 [__ASSUME_32BITUIDS]: Make code unconditional.
38834 [!__ASSUME_32BITUIDS]: Remove conditional code.
38835 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38836 <kernel-features.h>.
38837 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38838 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38839 132096]: Remove conditional code.
38840 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38841 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38842 <kernel-features.h>.
38843 [__ASSUME_32BITUIDS]: Make code unconditional.
38844 [!__ASSUME_32BITUIDS]: Remove conditional code.
38845 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38846 <kernel-features.h>.
38847 [__ASSUME_32BITUIDS]: Make code unconditional.
38848 [!__ASSUME_32BITUIDS]: Remove conditional code.
38849 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38850 <kernel-features.h>.
38851 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38853 (__setresgid): Do not declare.
38854 [__ASSUME_32BITUIDS]: Make code unconditional.
38855 [!__ASSUME_32BITUIDS]: Remove conditional code.
38856 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38857 <kernel-features.h>.
38858 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38860 (__setresuid): Do not declare.
38861 [__ASSUME_32BITUIDS]: Make code unconditional.
38862 [!__ASSUME_32BITUIDS]: Remove conditional code.
38863 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38864 <kernel-features.h>.
38865 [__ASSUME_32BITUIDS]: Make code unconditional.
38866 [!__ASSUME_32BITUIDS]: Remove conditional code.
38867 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38868 <kernel-features.h>.
38869 [__ASSUME_32BITUIDS]: Make code unconditional.
38870 [!__ASSUME_32BITUIDS]: Remove conditional code.
38872 2012-05-25 Richard Henderson <rth@twiddle.net>
38874 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38875 dl_hwcap to ifunc resolver.
38876 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38878 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38879 dl_hwcap to ifunc resolver.
38880 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38882 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38885 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38886 for |x| <= 2**-26, not 2**-57.
38887 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38890 2012-05-24 Jeff Law <law@redhat.com>
38892 * stdio-common/Makefile (tests): Add bug25.
38893 * stdio-common/bug25.c: New test.
38895 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38898 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38899 multiple of MALLOC_ALIGNMENT in size.
38900 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38902 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38904 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38906 (FILENAME_MAX): Use macro-int-constant.
38907 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38908 (_IOFBF): Use macro-int-constant.
38909 (_IOLBF): Likewise.
38910 (_IONBF): Likewise.
38911 (SEEK_CUR): Likewise.
38912 (SEEK_END): Likewise.
38913 (SEEK_SET): Likewise.
38914 (TMP_MAX): Likewise.
38915 (EOF): Use macro-int-constant. Require < 0.
38916 (NULL): Use macro-constant. Require == 0.
38917 (stdin): Require type to be FILE *.
38918 (stdout): Likewise.
38919 (stderr): Likewise.
38920 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38921 macro-int-constant.
38922 (EXIT_SUCCESS): Likewise.
38923 (NULL): Use macro-constant. Require == 0.
38924 (RAND_MAX): Use macro-int-constant.
38925 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38926 [C99-based standards] (strtof): Require function.
38927 [C99-based standards] (strtold): Likewise.
38928 [C99-based standards] (strtoll): Likewise.
38929 [C99-based standards] (strtoull): Likewise.
38930 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38931 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38932 [ISO || ISO99 || ISO11] (math.h): Likewise.
38933 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38934 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38935 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38937 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38940 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38941 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38942 * intl/dgettext.c (DCGETTEXT): Likewise.
38943 * intl/gettext.c (DCGETTEXT): Likewise.
38944 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38945 * posix/regex_internal.h (gettext): Likewise.
38946 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38947 Remove declaration.
38948 * include/argz.h (__argz_count_internal)
38949 (__argz_stringify_internal): Remove declaration.
38950 (__argz_count, __argz_stringify): Declare hidden proto.
38951 * intl/dcgettext.c: Remove use of INTDEF.
38952 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38953 * string/argz-stringify.c: Likewise.
38954 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38955 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38956 Declare hidden proto.
38957 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38958 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38959 Declare hidden proto.
38960 * include/stdio.h (__asprintf_internal): Don't declare.
38961 (__asprintf): Don't define as macro. Declare hidden proto.
38962 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38963 (__fsetlocking): Declare hidden proto.
38964 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38965 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38967 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38968 (_IO_setlinebuf): Remove use of INTUSE.
38969 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38970 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38971 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38972 Remove declaration.
38973 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38974 (_IO_do_flush): Remove use of INTUSE.
38975 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38976 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38977 (_IO_adjust_column, _IO_least_wmarker)
38978 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38979 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38980 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38981 (_IO_default_doallocate, _IO_wdefault_doallocate)
38982 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38983 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38984 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38985 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38986 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38987 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38988 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38989 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38990 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38991 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38992 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38993 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38994 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38996 (_IO_flush_all_internal, _IO_adjust_column_internal)
38997 (_IO_default_uflow_internal, _IO_default_finish_internal)
38998 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38999 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39000 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39001 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39002 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39003 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39004 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39005 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39006 (_IO_file_close_internal, _IO_file_close_it_internal)
39007 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39008 (_IO_file_init_internal, _IO_file_attach_internal)
39009 (_IO_file_fopen_internal, _IO_file_read_internal)
39010 (_IO_file_sync_internal, _IO_file_seek_internal)
39011 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39012 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39013 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39014 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39015 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39016 (_IO_list_all_internal, _IO_link_in_internal)
39017 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39018 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39019 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39020 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39021 (_IO_do_write_internal, _IO_padn_internal)
39022 (_IO_getline_info_internal, _IO_getline_internal)
39023 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39024 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39025 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39026 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39027 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39028 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39029 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39030 with libc_hidden_ver, remove use of INTUSE.
39031 * libio/genops.c: Likewise.
39032 * libio/freopen.c: Likewise.
39033 * libio/freopen64.c: Likewise.
39034 * libio/iofclose.c: Likewise.
39035 * libio/iofdopen.c: Likewise.
39036 * libio/iofflush.c: Likewise.
39037 * libio/iofflush_u.c: Likewise.
39038 * libio/iofgets.c: Likewise.
39039 * libio/iofgets_u.c: Likewise.
39040 * libio/iofopen.c: Likewise.
39041 * libio/iofopncook.c: Likewise.
39042 * libio/iofread.c: Likewise.
39043 * libio/iofread_u.c: Likewise.
39044 * libio/ioftell.c: Likewise.
39045 * libio/iofwrite.c: Likewise.
39046 * libio/iogetline.c: Likewise.
39047 * libio/iogets.c: Likewise.
39048 * libio/iogetwline.c: Likewise.
39049 * libio/iopadn.c: Likewise.
39050 * libio/iopopen.c: Likewise.
39051 * libio/ioseekoff.c: Likewise.
39052 * libio/ioseekpos.c: Likewise.
39053 * libio/iosetbuffer.c: Likewise.
39054 * libio/iosetvbuf.c: Likewise.
39055 * libio/ioungetc.c: Likewise.
39056 * libio/ioungetwc.c: Likewise.
39057 * libio/iovdprintf.c: Likewise.
39058 * libio/iovsprintf.c: Likewise.
39059 * libio/iovsscanf.c: Likewise.
39060 * libio/memstream.c: Likewise.
39061 * libio/obprintf.c: Likewise.
39062 * libio/oldfileops.c: Likewise.
39063 * libio/oldiofclose.c: Likewise.
39064 * libio/oldiofdopen.c: Likewise.
39065 * libio/oldiofopen.c: Likewise.
39066 * libio/oldiopopen.c: Likewise.
39067 * libio/oldstdfiles.c: Likewise.
39068 * libio/putc.c: Likewise.
39069 * libio/setbuf.c: Likewise.
39070 * libio/setlinebuf.c: Likewise.
39071 * libio/stdfiles.c: Likewise.
39072 * libio/strops.c: Likewise.
39073 * libio/vasprintf.c: Likewise.
39074 * libio/vscanf.c: Likewise.
39075 * libio/vsnprintf.c: Likewise.
39076 * libio/vswprintf.c: Likewise.
39077 * libio/wfiledoalloc.c: Likewise.
39078 * libio/wfileops.c: Likewise.
39079 * libio/wgenops.c: Likewise.
39080 * libio/wmemstream.c: Likewise.
39081 * libio/wstrops.c: Likewise.
39082 * libio/__fpurge.c: Likewise.
39083 * libio/__fsetlocking.c: Likewise.
39084 * assert/assert.c: Likewise.
39085 * debug/fgets_chk.c: Likewise.
39086 * debug/fgets_u_chk.c: Likewise.
39087 * debug/fread_chk.c: Likewise.
39088 * debug/fread_u_chk.c: Likewise.
39089 * debug/gets_chk.c: Likewise.
39090 * debug/obprintf_chk.c: Likewise.
39091 * debug/vasprintf_chk.c: Likewise.
39092 * debug/vdprintf_chk.c: Likewise.
39093 * debug/vsnprintf_chk.c: Likewise.
39094 * debug/vsprintf_chk.c: Likewise.
39095 * malloc/mtrace.c: Likewise.
39096 * misc/error.c: Likewise.
39097 * misc/syslog.c: Likewise.
39098 * stdio-common/asprintf.c: Likewise.
39099 * stdio-common/fxprintf.c: Likewise.
39100 * stdio-common/getw.c: Likewise.
39101 * stdio-common/isoc99_fscanf.c: Likewise.
39102 * stdio-common/isoc99_scanf.c: Likewise.
39103 * stdio-common/isoc99_vfscanf.c: Likewise.
39104 * stdio-common/isoc99_vscanf.c: Likewise.
39105 * stdio-common/isoc99_vsscanf.c: Likewise.
39106 * stdio-common/printf-prs.c: Likewise.
39107 * stdio-common/printf_fp.c: Likewise.
39108 * stdio-common/printf_fphex.c: Likewise.
39109 * stdio-common/printf_size.c: Likewise.
39110 * stdio-common/putw.c: Likewise.
39111 * stdio-common/scanf.c: Likewise.
39112 * stdio-common/sprintf.c: Likewise.
39113 * stdio-common/tmpfile.c: Likewise.
39114 * stdio-common/vfprintf.c: Likewise.
39115 * stdio-common/vfscanf.c: Likewise.
39116 * stdlib/strfmon_l.c: Likewise.
39117 * sunrpc/openchild.c: Likewise.
39118 * sunrpc/xdr_stdio.c: Likewise.
39119 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39120 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39122 2012-05-24 Roland McGrath <roland@hack.frob.com>
39124 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39126 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39127 in the third column, to generate for the shared library an IFUNC
39128 that uses _dl_vdso_vsym.
39129 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39130 * Makeconfig (object-suffixes-noshared): New variable.
39132 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39133 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39134 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39135 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39138 * include/sys/time.h (__gettimeofday): Remove macro.
39139 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39140 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39142 (__gettimeofday): Add libc_hidden_def.
39143 (gettimeofday): Add libc_hidden_weak.
39144 * sysdeps/mach/gettimeofday.c: Likewise.
39145 * sysdeps/posix/gettimeofday.c: Likewise.
39146 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39147 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39149 (__gettimeofday_internal): Remove strong_alias.
39150 (__gettimeofday): Add libc_hidden_def.
39151 (gettimeofday): Add libc_hidden_weak.
39152 * sysdeps/unix/syscalls.list (gettimeofday):
39153 Remove __gettimeofday_internal alias.
39155 2012-05-24 Daniel Jacobowitz <drow@false.org>
39156 H.J. Lu <hongjiu.lu@intel.com>
39159 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39160 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39161 (largebin_index_32_big): New.
39162 (largebin_index): Use it for 16-byte alignment.
39163 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39164 correction with front_misalign.
39166 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39194 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39195 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39197 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39201 * math/libm-test.inc (exp_test): Add test from bug 14036.
39202 (pow_test): Add test from bug 10846.
39204 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39206 (special_function): Do not include flags in test name.
39207 (parse_args): Likewise.
39208 * sysdeps/i386/fpu/libm-test-ulps: Update.
39209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39210 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39211 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39214 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39216 * math/libm-test.inc ("Philosophy"): Update comment about
39218 (UNDERFLOW_EXCEPTION): New macro.
39219 (UNDERFLOW_EXCEPTION_OK): Likewise.
39220 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39221 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39222 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39223 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39224 (INVALID_EXCEPTION_OK): Update value.
39225 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39226 (OVERFLOW_EXCEPTION_OK): Likewise.
39227 (IGNORE_ZERO_INF_SIGN): Likewise.
39228 (test_exceptions): Handle underflow exceptions.
39229 (acos_test): Update for underflow exception expectations.
39230 (cexp_test): Likewise.
39231 (clog_test): Likewise.
39232 (clog10_test): Likewise.
39233 (csqrt_test): Likewise.
39234 (ctan_test): Likewise.
39235 (ctanh_test): Likewise.
39236 (exp_test): Likewise.
39237 (exp10_test): Likewise.
39238 (exp2_test): Likewise.
39239 (expm1_test): Likewise.
39240 (fma_test): Likewise.
39241 (j0_test): Likewise.
39242 (jn_test): Likewise.
39243 (nexttoward_test): Likewise.
39244 (pow_test): Likewise.
39245 (scalbn_test): Likewise.
39246 (scalbln_test): Likewise.
39247 (tan_test): Likewise.
39248 (y1_test): Likewise.
39249 * sysdeps/i386/fpu/libm-test-ulps: Update.
39250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39252 2012-05-23 David S. Miller <davem@davemloft.net>
39254 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39255 (__libc_sigaction): Remove unused local variables.
39257 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39259 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39261 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39263 mktime: avoid signed integer overflow
39264 * time/mktime.c (__mktime_internal): Do not mishandle the case
39265 where diff == INT_MIN.
39267 mktime: simplify computation of average
39268 * time/mktime.c (ranged_convert): Use new time_t_avg function
39269 instead of rolling our own (probably-slower) code.
39271 mktime: do not assume signed right shift propagates sign bit
39272 * time/mktime.c (isdst_differ): New static function.
39273 (__mktime_internal): No need to normalize tm_isdst now.
39274 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39277 mktime: merge another wrapv change from gnulib
39278 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39279 from some compilers.
39281 mktime: remove incorrect attempt at unusual arithmetics
39282 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39283 The code didn't really work on such machines anyway.
39284 (TYPE_MINIMUM): Assume two's complement.
39285 (twos_complement_arithmetic): Verify that long_int and time_t
39286 are two's complement (or unsigned, in the latter case).
39288 mktime: check signed shifts on long_int and time_t, too
39289 * time/mktime.c (SHR): Check that shifts work as desired
39290 on the types long_int and time_t too, as SHR is used on
39293 mktime: do not assume 'long' is wide enough
39294 * time/mktime.c (verify): Move decl up.
39295 (long_int): New type.
39296 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39297 to remove assumption in the code that 'long' is wide enough to
39298 store year values. This assumption is not true on x32 and on
39299 some non-glibc platforms.
39301 mktime: merge wrapv change from gnulib
39302 * time/mktime.c (WRAPV): New macro.
39303 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39304 (guess_time_tm, __mktime_internal): Do not assume that signed
39305 integer overflow wraps around; modern compilers generate code
39306 where this assumption is no longer valid.
39308 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39310 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39311 Replace "jmp L(pseudo_end)" with "ret".
39312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39315 2012-05-23 Andreas Jaeger <aj@suse.de>
39317 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39318 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39320 2012-05-23 Andreas Jaeger <aj@suse.de>
39321 Maximilian Attems <max@stro.at>
39323 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39326 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39328 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39329 code so that pseudo_end is just ret and the stack pointer is
39330 correct also for static library in error case.
39332 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39334 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39335 move to syscalls.list.
39336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39341 * manual/install.texi (Running make install): Do not mention Linux
39342 kernel version for which pt_chown is not needed.
39343 (Linux): Do not mention problems with nscd with 2.0 kernels.
39344 * INSTALL: Regenerated.
39346 2012-05-23 Andreas Jaeger <aj@suse.de>
39348 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39349 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39351 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39352 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39353 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39354 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39355 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39356 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39357 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39358 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39359 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39360 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39361 * sysdeps/unix/sysv/linux/bits/in.h
39362 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39364 2012-05-22 Roland McGrath <roland@hack.frob.com>
39366 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39367 (PREPARE_VERSION): Just use assert instead, it will be elided
39368 under [NDEBUG] anyway.
39370 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39372 * sysdeps/unix/sysv/linux/Makefile: Include
39373 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39374 (sysdep_routines): Remove sysctl.
39375 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39376 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39378 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39379 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39381 2012-05-22 Andreas Jaeger <aj@suse.de>
39383 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39384 that pseudo_end is just ret and the stack pointer is correct also
39385 for static library in error case.
39387 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39390 * nss/nsswitch.c (defconfig_entries): New variable.
39391 (__nss_database_lookup): Don't leak defconfig entries.
39392 (nss_parse_service_list): Don't leak on error paths.
39393 (free_database_entries): New function.
39394 (free_defconfig): New function.
39395 (free_mem): Move common code to free_database_entries.
39397 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39399 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39401 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39403 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39404 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39407 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39408 (INTERNAL_SYSCALL_TYPES): Likewise.
39409 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39410 (LOAD_REGS_TYPES_[1-6]): Likewise.
39411 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39412 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39414 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39417 copysignl for GLIBC_2_0.
39418 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39419 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39421 logbl for GLIBC_2_0.
39422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39423 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39425 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39428 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39430 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39433 * time/mktime.c: Update copyright years.
39435 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39437 mktime: merge comment-quoting-style change from gnulib
39438 * time/mktime.c: Quote 'like this' in comments.
39439 The GNU coding standards suggest that we no longer quote `like this',
39440 as "`" and "'" are typically rendered asymmetrically nowadays.
39441 The typical gnulib style is to quote 'like this' when quoting
39442 code, and "like this" when quoting English.
39444 * time/mktime.c (compile-command): Add "-I.".
39446 mktime: merge mktime-internal.h change from gnulib
39447 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39449 mktime: merge time_r change from gnulib
39450 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39452 mktime: merge DEBUG change from gnulib
39453 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39454 case system <time.h> has a #define.
39456 mktime: merge <sys/types.h> change from gnulib
39457 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39458 since <time.t> is now guaranteed to define time_t.
39460 mktime: merge HAVE_CONFIG_H change from gnulib
39461 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39463 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39468 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39470 (struct rusage): Use anonymous union to pad each field to
39473 2012-05-21 David S. Miller <davem@davemloft.net>
39475 * Makefules (o-iterator): Remove .s cases.
39476 (compile-command.s): Delete.
39477 (COMPILE.s): Delete.
39478 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39480 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39482 * configure.in (libc_cv_predef_stack_protector): Only consider
39483 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39484 * configure: Regenerated.
39486 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39489 New macro. Use R*LP on int and pointer.
39490 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39491 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39492 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39493 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39495 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39496 [__WORDSIZE_TIME64_COMPAT32] instead of
39497 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39498 (struct utmp): Likewise.
39499 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39500 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39502 (__WORDSIZE_TIME64_COMPAT32): This.
39503 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39504 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39505 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39506 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39507 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39508 (__WORDSIZE_TIME64_COMPAT32): New macro.
39510 2012-05-21 Andreas Jaeger <aj@suse.de>
39512 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39513 only if [SHARED]. Add prototype for __wcschr_ia32.
39515 2012-05-21 Roland McGrath <roland@hack.frob.com>
39517 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39518 of %rbp unmolested in the jmp_buf while mangling the low bits.
39519 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39520 unmolested high bits of %rbp while demangling the low bits.
39521 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39523 2012-05-21 Andreas Jaeger <aj@suse.de>
39525 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39526 * sunrpc/svc_simple.c: Use it for registerrpc.
39527 * sunrpc/xcrypt.c: Use it for passwd2des.
39529 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39531 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39533 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39534 Don't define if [__SYSCALL_WORDSIZE != 32].
39535 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39538 2012-05-21 Bruno Haible <bruno@clisp.org>
39539 Andreas Jaeger <aj@suse.de>
39541 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39542 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39543 inptr and inend for must_buffer_ch.
39544 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39545 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39546 * stdio-common/Makefile (tests): Remove bug15.
39547 (bug15-ENV): Remove macro.
39548 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39551 2012-05-19 Andreas Jaeger <aj@suse.de>
39552 Roland McGrath <roland@hack.frob.com>
39554 * manual/contrib.texi: Completely rewritten. It contains now an
39555 alphabetical list of contributors and their contributions.
39557 2012-05-21 Richard Henderson <rth@twiddle.net>
39559 * misc/getauxval.c (__getauxval): Use unsigned long int.
39560 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39561 (getauxval): Use unsigned long int.
39563 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39565 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39567 2012-05-21 Roland McGrath <roland@hack.frob.com>
39569 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39570 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39571 __alignof__ (long double).
39573 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39577 2012-05-20 Richard Henderson <rth@twiddle.net>
39579 * misc/getauxval.c: New file.
39580 * misc/sys/auxv.h: New file.
39581 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39582 (routines): Add getauxval.
39583 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39584 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39585 * elf/dl-sysdep.c (_dl_auxv): Remove.
39586 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39587 * elf/dl-support.c (_dl_auxv): New variable.
39588 (_dl_aux_init): Initialize it.
39589 * manual/startup.texi (Auxiliary Vector): New node.
39590 * sysdeps/generic/bits/hwcap.h: New file.
39591 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39592 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39593 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39594 * sysdeps/sparc/sysdep.h: ... here. Include it.
39595 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39596 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39608 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39612 2012-05-19 David S. Miller <davem@davemloft.net>
39614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39616 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39619 * math/s_ccosh.c: Include <float.h>
39620 (__ccosh): Avoid internal overflow calculating sinh and cosh
39621 values before multiplying by sin and cos values.
39622 * math/s_ccoshf.c: Likewise.
39623 * math/s_ccoshl.c: Likewise.
39624 * math/s_csin.c: Likewise.
39625 * math/s_csinf.c: Likewise.
39626 * math/s_csinl.c: Likewise.
39627 * math/s_csinh.c: Likewise.
39628 * math/s_csinhf.c: Likewise.
39629 * math/s_csinhl.c: Likewise.
39630 * math/libm-test.inc (ccos_test): Add more tests.
39631 (ccosh_test): Likewise.
39632 (csin_test): Likewise.
39633 (csinh_test): Likewise.
39634 * sysdeps/i386/fpu/libm-test-ulps: Update.
39635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39637 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39639 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39640 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39642 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39644 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39646 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39647 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39648 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39649 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39650 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39651 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39652 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39653 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39654 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39655 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39656 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39657 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39658 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39659 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39660 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39661 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39662 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39663 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39664 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39665 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39666 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39667 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39668 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39669 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39670 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39671 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39672 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39673 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39674 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39675 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39676 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39678 2012-05-18 Andreas Jaeger <aj@suse.de>
39680 * csu/.gitignore: Delete.
39682 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39684 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39685 (timex): Use __syscall_slong_t.
39687 2012-05-18 Andreas Jaeger <aj@suse.de>
39688 Carlos O'Donell <carlos_odonell@mentor.com>
39690 * manual/install.texi (Configuring and compiling): Update
39691 description about files modified in the source directory.
39692 * INSTALL: Regenerated.
39694 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39696 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39697 value. Use "or" to set return value to -1.
39698 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39699 negate return value.
39701 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39703 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39704 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39705 failure if the compiler has Graphite support disabled.
39706 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39708 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39709 (CFLAGS-memmove.c): Likewise.
39710 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39713 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39715 * sysdeps/x86_64/x32/_itoa.h: New file.
39717 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39718 getdents system call only if kernel and user dirents have the
39719 same d_ino and d_off.
39721 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39722 LLONG_MAX != LONG_MAX.
39723 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39724 (_fitoa_word): Likewise.
39726 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39728 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39729 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39730 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39732 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39733 include <bits/wordsize.h>. Check __x86_64__ instead of
39735 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39736 if __x86_64__ is defined. Use anonymous union on fpstate.
39738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39741 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39743 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39744 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39745 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39746 Refer to _rtld_local_ro instead of _rtld_global_ro.
39747 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39749 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39751 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39753 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39754 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39755 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39757 * sysdeps/powerpc/powerpc32/dl-machine.c
39758 (__elf_machine_runtime_setup) [PROF]: Don't reference
39761 2012-05-18 Andreas Jaeger <aj@suse.de>
39763 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39764 function only available for GCCs before 3.4 since GCC 3.4
39765 introduced a builtin.
39767 (llrintf): Likewise.
39768 (llrint): Likewise.
39775 (nearbyint): Likewise.
39776 (nearbyintf): Likewise.
39780 (floorf): Likewise.
39782 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39784 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39785 on both fields and cast pointer to __syscall_ulong_t.
39787 * bits/types.h (__fsword_t): New type.
39788 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39789 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39791 (__FSWORD_T_TYPE): Likewise.
39792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39793 (__FSWORD_T_TYPE): Likewise.
39794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39795 (__FSWORD_T_TYPE): Likewise.
39796 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39797 (__FSWORD_T_TYPE): Likewise.
39798 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39799 __SWORD_TYPE with __fsword_t.
39800 (statfs64): Likewise.
39802 2012-05-17 David S. Miller <davem@davemloft.net>
39804 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39806 2012-05-17 Andreas Jaeger <aj@suse.de>
39808 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39811 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39813 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39815 2012-05-17 Andreas Jaeger <aj@suse.de>
39817 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39820 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39822 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39824 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39826 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39827 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39829 2012-05-17 Andreas Jaeger <aj@suse.de>
39830 Carlos O'Donell <carlos_odonell@mentor.com>
39833 * sysdeps/x86_64/multiarch/init-arch.h
39834 (bit_YMM_Usable): Rename to...
39835 (bit_AVX_Usable): ... this.
39836 (bit_FMA4_Usable): New macro.
39837 (bit_XMM_state): New macro.
39838 (bit_YMM_state): New macro.
39839 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39840 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39841 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39842 (CPUID_OSXSAVE): New macro.
39843 (CPUID_AVX): New macro.
39844 (CPUID_FMA4): New macro.
39845 (index_YMM_Usable): Rename to...
39846 (index_AVX_Usable): ... this.
39847 (HAS_AVX): Use HAS_ARCH_FEATURE.
39848 (HAS_FMA4): Likewise.
39849 (HAS_YMM_USABLE): Remove.
39850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39851 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39853 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39854 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39855 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39856 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39857 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39859 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39861 * math/libm-test.c: Support platforms without multiple rounding modes.
39862 * math/bug-nextafter.c: Support platforms without FP exceptions.
39863 * math/bug-nexttoward.c: Likewise.
39864 * math/test-fenv.c: Likewise.
39865 * math/test-misc.c: Likewise.
39866 * stdlib/bug-getcontext.c: Likewise.
39868 2012-05-17 Andreas Jaeger <aj@suse.de>
39870 * manual/examples/search.c (critter_cmp): Change signature to
39872 * manual/string.texi (Collation Functions): Likewise.
39874 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39876 * bits/types.h: Fold copyright years.
39877 * bits/typesizes.h: Likewise.
39878 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39882 * time/time.h: Likewise.
39884 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39887 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39888 in instead of returning them. Return void.
39889 (__libc_mallinfo): Accumulate over all arenas.
39890 (__malloc_stats): Adjust for change in int_mallinfo interface.
39892 2012-05-16 Roland McGrath <roland@hack.frob.com>
39895 * configure.in (NM): Add AC_CHECK_TOOL for it.
39896 (libc_extra_cflags): New substituted variable.
39897 Check for -fstack-protector being used implicitly.
39898 * configure: Regenerated.
39899 * config.make.in (config-extra-cflags): New variable,
39900 gets @libc_extra_cflags@.
39901 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39904 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39905 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39906 * configure: Regenerated.
39907 * config.make.in (CPPUNDEFS): New substituted variable.
39908 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39909 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39910 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39914 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39915 (mq_attr): Use __syscall_slong_t.
39917 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39919 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39920 Check __x86_64__ instead of __WORDSIZE.
39921 (_STAT_VER_LINUX): Likewise.
39922 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39923 __syscall_ulong_t and __syscall_slong_t.
39924 (stat64): Likewise.
39926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39928 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39930 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39932 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39934 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39936 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39939 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39940 include <bits/wordsize.h>. Check __x86_64__ instead of
39942 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39944 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39947 include <bits/wordsize.h>. Check __x86_64__ instead of
39949 (user_regs_struct): Use "__extension__ unsigned long long"
39950 instead of "unsigned long" if __x86_64__ is defined.
39951 (user): Likewise. Pad after pointer field if __ILP32__ is
39954 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39956 * configure.in (makeinfo): Require version 4.5 or later. Allow
39958 * configure: Regenerated.
39959 * manual/install.texi (texinfo): Increase version requirement to
39961 * INSTALL: Regenerated.
39963 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39965 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39967 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39969 * sysdeps/x86_64/x32/ffs.c: New file.
39971 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39973 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39974 defined. Use __syscall_ulong_t.
39975 (shminfo): Use __syscall_ulong_t.
39976 (shm_info): Likewise.
39978 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39981 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39983 (msgqnum_t): Use __syscall_ulong_t.
39984 (msglen_t): Likewise.
39985 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39988 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39989 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39991 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39993 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39994 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39996 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39999 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40000 include <bits/wordsize.h>. Check __x86_64__ instead of
40003 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40004 "unsigned long long int" if __x86_64__ is defined.
40005 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40007 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40008 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40009 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40011 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40013 (GET_PC): Cast to uintptr_t first.
40014 (GET_FRAME): Likewise.
40015 (GET_STACK): Likewise.
40017 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40018 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40019 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40020 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40021 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40022 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40023 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40024 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40025 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40026 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40027 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40028 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40029 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40030 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40031 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40032 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40033 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40034 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40035 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40036 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40037 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40038 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40039 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40040 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40041 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40042 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40043 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40044 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40045 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40047 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40049 * Makerules (+depfiles): Also collect depfiles from .oS in
40051 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40052 .oS, $(libnldbl-routines)).
40054 * Makerules (native-compile-mkdep-flags): Define.
40055 * sunrpc/Makefile (extra-objs): Add $(addprefix
40056 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40057 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40058 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40059 calling $(make-target-directory).
40061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40063 * bits/types.h (__snseconds_t): Removed.
40064 * time/time.h (struct timespec): Replace __snseconds_t with
40066 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40067 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40070 (__SNSECONDS_T_TYPE): Likewise.
40071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40072 (__SNSECONDS_T_TYPE): Likewise.
40073 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40074 (__SNSECONDS_T_TYPE): Likewise.
40076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40078 * sysdeps/mach/hurd/bits/typesizes.h
40079 (__SYSCALL_SLONG_TYPE): New macro.
40080 (__SYSCALL_ULONG_TYPE): Likewise.
40082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40084 * bits/types.h (__syscall_slong_t): New type.
40085 (__syscall_ulong_t): Likewise.
40087 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40088 (__SYSCALL_ULONG_TYPE): Likewise.
40089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40090 (__SYSCALL_SLONG_TYPE): Likewise.
40091 (__SYSCALL_ULONG_TYPE): Likewise.
40092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40093 (__SYSCALL_SLONG_TYPE): Likewise.
40094 (__SYSCALL_ULONG_TYPE): Likewise.
40095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40096 (__SYSCALL_SLONG_TYPE): Likewise.
40097 (__SYSCALL_ULONG_TYPE): Likewise.
40099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40101 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40102 Add sigaltstack-offsets.sym.
40103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40104 <sigaltstack-offsets.h>.
40105 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40106 longjmp_msg pointer.
40107 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40108 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40110 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40112 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40114 * elf/stackguard-macros.h: Remove file.
40115 * sysdeps/generic/stackguard-macros.h: New file.
40116 * sysdeps/i386/stackguard-macros.h: Likewise.
40117 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40118 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40119 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40120 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40121 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40122 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40123 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40124 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40125 <elf/stackguard-macros.h>.
40128 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40129 __aligned__ in attribute.
40130 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40131 (gregset_t): Likewise.
40133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40135 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40136 * sysdeps/x86_64/64/Implies-after: Here. New file.
40137 * sysdeps/x86_64/x32/Implies-after: New file.
40139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40141 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40142 and access return value for _dl_profile_fixup. Use R10_LP to
40145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40147 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40151 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40152 * sysdeps/x86_64/x32/sysdep.h: New file.
40154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40156 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40157 * sysdeps/x86_64/setjmp.S: Likewise.
40159 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40161 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40162 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40163 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40164 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40165 remove unused global constant.
40167 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40169 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40170 include of <not-cancel.h>.
40172 2012-05-15 Roland McGrath <roland@hack.frob.com>
40174 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40176 2012-05-15 Jeff Law <law@redhat.com>
40177 Andreas Jaeger <aj@suse.de>
40180 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40182 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40183 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40184 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40185 code changing __hst_map_handle.map.
40187 2012-05-15 Roland McGrath <roland@hack.frob.com>
40189 * configure.in (sysnames): Look for Implies-before and Implies-after
40191 * configure: Regenerated.
40193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40195 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40196 8-byte data alignment with LP_SIZE alignment.
40198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40200 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40205 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40209 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40210 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40211 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40213 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40217 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40218 (stackinfo_sub_sp): Likewise.
40220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40232 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40237 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40241 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40242 into R11_LP and load __x86_64_shared_cache_size_half into
40245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40247 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40250 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40252 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40254 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40256 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40258 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40259 powerpc32/power7/fpu/s_logb.c via #include.
40260 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40261 powerpc32/power7/fpu/s_logbf.c via #include.
40262 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40263 powerpc32/power7/fpu/s_logbl.c via #include.
40265 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40267 * README.libm: Remove file.
40269 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40271 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40272 count for x32. Use R*_LP and omit operand-size suffix.
40274 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40276 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40277 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40278 * sysdeps/x86_64/x32/shlib-versions: New file.
40280 2012-05-14 Roland McGrath <roland@hack.frob.com>
40282 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40283 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40284 Use _dl_fatal_printf instead.
40286 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40288 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40289 set if not set by the user. Do not allow for being unset.
40290 * sysdeps/unix/sysv/linux/configure: Regenerated.
40292 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40294 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40295 the `q' suffix from lea and replace .quad with ASM_ADDR.
40297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40300 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40302 (PTR_DEMANGLE): Likewise.
40304 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40306 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40308 (ASM_ADDR): Likewise.
40309 (RAX_LP): Likewise.
40310 (RBP_LP): Likewise.
40311 (RBX_LP): Likewise.
40312 (RCX_LP): Likewise.
40313 (RDI_LP): Likewise.
40314 (RSI_LP): Likewise.
40315 (RSP_LP): Likewise.
40318 (R10_LP): Likewise.
40319 (R10_LP): Likewise.
40320 (R11_LP): Likewise.
40321 (R12_LP): Likewise.
40322 (R13_LP): Likewise.
40323 (R14_LP): Likewise.
40324 (R15_LP): Likewise.
40326 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40328 * sysdeps/x86_64/x32/dl-machine.h: New file.
40330 2012-05-14 Andreas Jaeger <aj@suse.de>
40332 * manual/Makefile (subdir): Remove export of subdir.
40333 (all): Remove target.
40334 (.PHONY): Remove all from list.
40335 (mkinstalldirs): Remove.
40336 (.PHONY): Remove installdirs from list.
40337 ($(inst_infodir)/libc.info): Use make-target-directory.
40338 (installdirs): Remove.
40339 (subdir_%): Remove.
40340 (glibc-targets): Remove.
40343 ($(objpfx)stubs ../po/manual.pot): Remove.
40344 ($(objpfx)stamp%): Remove.
40345 (make-target-directory): Remove.
40346 (subdir_install): Remove.
40347 (routines): Remove.
40354 * manual/.gitignore: Remove, it's not needed anymore.
40355 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40357 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40359 (texis): Renamed to $(objpfx)texis.
40360 (texis-path): New, contains path to generated files.
40361 (chapters.%): Use texis-path for complete path, add extra argument
40363 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40364 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40365 (summary,texi, stamp-summary): Use complete path of
40366 files. Generate files in build dir.
40367 (dir-add.texi): Build in build dir.
40368 (libm-err.texi,stamp-libm-err): Likewise.
40369 (version.texi, stamp-version): Likewise.
40370 (.%c.texi): Likewise.
40371 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40372 (mostlyclean): Remove target.
40373 (realclean): Remove target.
40374 (generated): Add new variable with contents from mostlyclean and
40375 realclean, remove entries duplicated in common-mostlyclean, add
40376 stamp-libm-err and stamp-version.
40377 (generated-dirs): Add libc directory.
40378 ($(inst_infodir)/libc.info): Install files from build dir.
40380 * manual/install.texi (Configuring and compiling): Adjust since
40381 the info files are not part of the tar ball anymore.
40383 2012-05-14 Andreas Jaeger <aj@suse.de>
40385 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40388 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40392 to 2.2.0 where earlier.
40393 * sysdeps/unix/sysv/linux/configure: Regenerated.
40394 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40395 Remove conditional code.
40396 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40397 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40398 Remove conditional code.
40399 [!__NR_lchown]: Likewise.
40400 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40401 [__NR_lchown]: Likewise.
40402 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40403 comment referencing __ASSUME_LCHOWN_SYSCALL.
40404 * sysdeps/unix/sysv/linux/i386/sigaction.c
40405 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40406 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40407 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40408 Remove conditional code.
40409 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40410 (__protocol_available): Remove #if 0 code.
40411 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40413 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40414 * sysdeps/unix/sysv/linux/kernel-features.h
40415 (__ASSUME_GETCWD_SYSCALL): Don't define.
40416 (__ASSUME_REALTIME_SIGNALS): Likewise.
40417 (__ASSUME_PREAD_SYSCALL): Likewise.
40418 (__ASSUME_PWRITE_SYSCALL): Likewise.
40419 (__ASSUME_POLL_SYSCALL): Likewise.
40420 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40421 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40423 (__ASSUME_SIOCGIFNAME): Don't define.
40424 (__ASSUME_MSG_NOSIGNAL): Likewise.
40425 (__ASSUME_SENDFILE): Define unconditionally.
40426 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40427 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40429 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40430 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40431 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40432 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40433 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40434 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40435 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40437 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40438 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40440 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40441 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40443 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40446 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40449 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40452 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40460 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40461 Remove conditional code.
40462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40463 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40464 Remove conditional code.
40465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40466 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40467 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40468 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40469 Remove conditional code.
40470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40471 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40472 Remove conditional code.
40473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40474 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40475 Remove conditional code.
40476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40477 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40478 Remove conditional code.
40479 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40480 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40481 Remove conditional code.
40482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40483 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40484 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40485 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40486 * sysdeps/unix/sysv/linux/sigaction.c
40487 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40488 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40489 * sysdeps/unix/sysv/linux/sigpending.c
40490 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40491 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40492 * sysdeps/unix/sysv/linux/sigprocmask.c
40493 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40494 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40495 * sysdeps/unix/sysv/linux/sigsuspend.c
40496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40498 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40499 (__libc_missing_rt_sigs): Remove.
40500 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40501 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40502 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40503 Remove conditional code.
40504 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40505 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40507 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40508 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40509 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40510 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40512 2012-05-14 Andreas Jaeger <aj@suse.de>
40514 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40515 it's not used in glibc.
40516 (__coshm1): Likewise.
40517 (__acosh1p): Likewise.
40520 * manual/string.texi (Copying and Concatenation): Add missing
40521 variable in concat example.
40522 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40524 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40527 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40528 __builtin_clzl with __builtin_clzll.
40530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40533 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40536 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40538 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40539 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40540 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40541 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40543 2012-05-14 Mike Frysinger <vapier@gentoo.org>
40545 * NEWS: Update ia64 info.
40547 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40549 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40552 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40554 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40555 * sysdeps/unix/syscalls.list (dup3): Likewise.
40556 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40557 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40559 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40561 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40562 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40564 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40566 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40568 (TLS_IE): Use mov/add instead of movq/addq to load thread
40570 (TLS_GD_PREFIX): New.
40573 2012-05-11 David S. Miller <davem@davemloft.net>
40575 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40576 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40577 (_FPU_SETCW): Likewise.
40579 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40581 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40582 is 32-byte aligned.
40584 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40587 * iconvdata/gb18030.c: Update tables.
40588 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40589 characters specially.
40590 (BODY for TO_LOOP): Add encoding of missing ranges.
40592 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40595 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40596 * sysdeps/mach/hurd/dup3.c: Likewise.
40597 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40598 * sysdeps/powerpc/memmove.c:: Likewise.
40600 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40603 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40605 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40607 * elf/elf.h (R_X86_64_RELATIVE64): New.
40608 (R_X86_64_NUM): Updated.
40609 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40610 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40611 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40612 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40613 tst-quad1pie tst-quad2pie
40614 (modules-names): Add tst-quadmod1 tst-quadmod2.
40615 ($(objpfx)tst-quad1): New dependency.
40616 ($(objpfx)tst-quad2): Likewise.
40617 ($(objpfx)tst-quad1pie): Likewise.
40618 ($(objpfx)tst-quad2pie): Likewise.
40619 * sysdeps/x86_64/tst-quad1.c: New file.
40620 * sysdeps/x86_64/tst-quad1pie.c: New file.
40621 * sysdeps/x86_64/tst-quad2.c: Likewise.
40622 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40623 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40624 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40625 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40626 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40630 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40631 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40632 * streams/stropts.h (t_scalar_t): Define type.
40634 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40635 (_PATH_PRESERVE): Set to "/var/lib".
40636 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40638 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40641 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40642 if __dir_mkfile succeeded.
40644 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40645 checking for _hurd_dtablesize. Unlock it right after having
40646 finished _hurd_dtable allocation.
40648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40650 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40651 * sysdeps/mach/hurd/configure: Regenerated.
40652 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40653 special-casing to...
40654 * sysdeps/gnu/configure.in: ... this new file.
40655 * sysdeps/unix/sysv/linux/configure: Regenerated.
40656 * sysdeps/gnu/configure: New generated file.
40658 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40659 for Linux: use nsec instead of usec, as well as:
40660 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40661 members of type struct timespec.
40662 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40664 (struct stat64): Likewise.
40665 (_STATBUF_ST_NSEC): New macro.
40666 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40668 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40669 __strtoul_internal rather than strtoul.
40671 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40673 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40678 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40679 which preserves existing values.
40680 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40682 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40684 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40685 TIMEOUT values. Return EINVAL for NFDS values either negative or
40686 greater than FD_SETSIZE.
40688 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40690 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40691 allocated, call __vm_protect to finish enabling the existing space, and
40692 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40693 allocate the remainder.
40695 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40697 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40698 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40700 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40702 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40703 sysdeps/mach/hurd/readlink.c.
40705 * posix/tst-sysconf.c (posix_options): Only use
40706 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40707 _POSIX_SYNCHRONIZED_IO when they are defined
40708 * sysdeps/mach/hurd/bits/posix_opt.h:
40709 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40710 (_XOPEN_REALTIME): Undefine macro.
40711 (_XOPEN_REALTIME_THREADS): Undefine macro.
40712 (_XOPEN_SHM): Undefine macro.
40713 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40715 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40717 (_POSIX_ASYNC_IO): Undefine macro.
40718 (_POSIX_PRIORITIZED_IO): Undefine macro.
40719 (_POSIX_SPIN_LOCKS): Define macro to -1.
40721 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40722 SA_NODEFER, SA_RESETHAND.
40723 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40724 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40727 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40729 * elf/Makefile (pldd-modules): Define unconditionally.
40731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40733 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40735 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40737 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40738 Return ENOENT when name is empty.
40739 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40741 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40743 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40745 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40747 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40749 Fix mlock in all cases except non-readable pages.
40750 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40751 instead of VM_PROT_ALL as parameter to __vm_wire function.
40753 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40754 (__mkdir): When path is `/', just fail with EEXIST.
40755 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40759 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40760 <sys/uio.h> (for writev).
40761 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40762 and <sys/param.h> (for MIN).
40764 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40766 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40767 REQUESTED_TIME. Properly set the remaining time and return EINTR
40770 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40772 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40773 Depend on against $(link-rpcuserlibs).
40775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40777 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40778 (__libc_stack_end): Do not use attribute_relro.
40779 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40780 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40781 to libthread-provided value.
40782 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40785 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40788 * bits/libc-lock.h (__libc_once_get): New macro.
40789 * sysdeps/mach/bits/libc-lock.h: Likewise.
40790 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40791 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40792 instead of using implementation details.
40794 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40795 * libio/freopen.c: Likewise.
40796 * libio/freopen64.c: Likewise.
40797 * misc/syslog.c: Likewise.
40798 * nscd/connections.c: Likewise.
40799 * nscd/netgroupcache.c: Likewise.
40800 * sysdeps/posix/getcwd.c: Likewise.
40802 2012-05-10 Roland McGrath <roland@hack.frob.com>
40804 * math/w_ilogbf.c: Add #include <limits.h>.
40806 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40808 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40809 path instead of returning without unlocking.
40811 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40812 immediate-write ioctls.
40813 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40817 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40818 __builtin_frame_address instead of making assumptions about the
40819 location of the return address relative to DATA. Force early load of
40820 the return address.
40821 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40822 __builtin_frame_address.
40825 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40826 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40827 implement dup3 and do some further code clean-ups.
40828 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40829 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40833 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40835 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40836 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40837 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40838 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40839 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40842 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40843 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40844 when handler == SIG_ERR, not when handler != SIG_ERR.
40846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40848 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40849 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40852 accept4 for GNU Hurd.
40853 * include/sys/socket.h (__libc_accept4): New prototype.
40854 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40855 to implement __libc_accept4.
40856 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40858 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40860 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40861 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40862 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40863 signal-defines.sym.
40865 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40867 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40871 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40872 assertion on O_CLOEXEC flag.
40873 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40874 * hurd/intern-fd.c: Likewise.
40875 * hurd/port2fd.c: Likewise.
40877 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40880 * bits/in.h (IPV6_PKTINFO): Define new macro.
40881 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40883 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40888 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40890 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40891 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40893 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40894 * math/libm-test.inc (logb_test) : Additional logb tests.
40896 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40897 Andreas Jaeger <aj@suse.de>
40899 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40900 * configure: Regenerated.
40901 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40902 * config.make.in (link-obsolete-rpc): New substituted variable.
40903 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40904 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40905 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40906 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40907 so that libc.a contains the symbols.
40908 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40909 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40910 * sunrpc/auth_none.c: Likewise.
40911 * sunrpc/auth_unix.c: Likewise.
40912 * sunrpc/authdes_prot.c: Likewise.
40913 * sunrpc/authuxprot.c: Likewise.
40914 * sunrpc/clnt_gen.c: Likewise.
40915 * sunrpc/clnt_perr.c: Likewise.
40916 * sunrpc/clnt_raw.c: Likewise.
40917 * sunrpc/clnt_simp.c: Likewise.
40918 * sunrpc/clnt_tcp.c: Likewise.
40919 * sunrpc/clnt_udp.c: Likewise.
40920 * sunrpc/clnt_unix.c: Likewise.
40921 * sunrpc/des_crypt.c: Likewise.
40922 * sunrpc/des_soft.c: Likewise.
40923 * sunrpc/get_myaddr.c: Likewise.
40924 * sunrpc/key_call.c: Likewise.
40925 * sunrpc/key_prot.c: Likewise.
40926 * sunrpc/netname.c: Likewise.
40927 * sunrpc/pm_getmaps.c: Likewise.
40928 * sunrpc/pm_getport.c: Likewise.
40929 * sunrpc/pmap_clnt.c: Likewise.
40930 * sunrpc/pmap_prot.c: Likewise.
40931 * sunrpc/pmap_prot2.c: Likewise.
40932 * sunrpc/pmap_rmt.c: Likewise.
40933 * sunrpc/publickey.c: Likewise.
40934 * sunrpc/rpc_cmsg.c: Likewise.
40935 * sunrpc/rpc_common.c: Likewise.
40936 * sunrpc/rpc_dtable.c: Likewise.
40937 * sunrpc/rpc_prot.c: Likewise.
40938 * sunrpc/rpc_thread.c: Likewise.
40939 * sunrpc/rtime.c: Likewise.
40940 * sunrpc/svc.c: Likewise.
40941 * sunrpc/svc_auth.c: Likewise.
40942 * sunrpc/svc_raw.c: Likewise.
40943 * sunrpc/svc_run.c: Likewise.
40944 * sunrpc/svc_tcp.c: Likewise.
40945 * sunrpc/svc_udp.c: Likewise.
40946 * sunrpc/svc_unix.c: Likewise.
40947 * sunrpc/svcauth_des.c: Likewise.
40948 * sunrpc/xcrypt.c: Likewise.
40949 * sunrpc/xdr.c: Likewise.
40950 * sunrpc/xdr_array.c: Likewise.
40951 * sunrpc/xdr_float.c: Likewise.
40952 * sunrpc/xdr_intXX_t.c: Likewise.
40953 * sunrpc/xdr_mem.c: Likewise.
40954 * sunrpc/xdr_rec.c: Likewise.
40955 * sunrpc/xdr_ref.c: Likewise.
40956 * sunrpc/xdr_sizeof.c: Likewise.
40957 * sunrpc/xdr_stdio.c: Likewise.
40959 2012-05-10 Roland McGrath <roland@hack.frob.com>
40961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40962 change. Update copyright years.
40964 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40966 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40968 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40969 Joseph Myers <joseph@codesourcery.com>
40970 Paul Pluzhnikov <ppluzhnikov@google.com>
40973 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40975 [cross-compiling] (extra-libs): Likewise.
40976 [cross-compiling] (extra-libs-others): Likewise.
40977 [cross-compiling] (librpcsvc-routines): Likewise.
40978 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40979 [cross-compiling] (omit-deps): Likewise.
40980 (sunrpc-CPPFLAGS): New variable.
40981 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40982 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40983 (cross-rpcgen-objs): New variable.
40984 (extra-objs): Append $(cross-rpcgen-objs).
40985 ($(cross-rpcgen-objs)): New rule.
40986 ($(objpfx)cross-rpcgen): Likewise.
40987 (rpcgen-cmd): Define to use $(built-program-file). Expand
40989 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40990 ($(objpfx)x%.stmp): Likewise.
40991 * sunrpc/proto.h [IS_IN_build] (_): Define.
40992 [IS_IN_build] (_libc_intl_domainname): Likewise.
40994 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40996 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40997 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40998 and R_X86_64_TPOFF64.
41000 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41002 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41003 sysdeps/unix/sysv/syscalls.list.
41006 * sysdeps/unix/sysv/syscalls.list: Remove file.
41008 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41011 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41012 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41013 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41014 (__LC_IDENTIFICATION): Make these macros useful in #if
41015 expressions, as required by C99.
41017 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41019 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41020 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41023 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41025 * stdlib/longlong.h: Updated from GCC.
41027 2012-05-09 Andreas Jaeger <aj@suse.de>
41029 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41030 default is first entry.
41031 (run_mode): Set type.
41032 (main): Remove informal message about syslog.
41033 (options): Fix typo.
41036 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41039 (llrintf): Likewise.
41040 (llrint): Likewise.
41043 (nearbyint): Likewise.
41044 (nearbyintf): Likewise.
41046 2012-05-09 Andreas Jaeger <aj@suse.de>
41047 Pedro Alves <palves@redhat.com>
41049 * nscd/nscd.c (run_mode): Use enum.
41050 (main): Cleanup coding style issue.
41052 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41053 Andreas Jaeger <aj@suse.de>
41055 * nscd/nscd.c (go_background): Replaced with...
41056 (run_mode): ... this.
41057 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41058 (options): Add -F --foreground.
41059 (main): Implement it.
41060 (parse_opt): Parse it.
41062 2012-05-09 Andreas Jaeger <aj@suse.de>
41065 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41066 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41067 -Wconversion warning.
41068 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41071 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41073 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41075 (LC_ALL): Use macro-int-constant.
41076 (LC_COLLATE): Likewise.
41077 (LC_CTYPE): Likewise.
41078 (LC_MESSAGES): Likewise.
41079 (LC_MONETARY): Likewise.
41080 (LC_NUMERIC): Likewise.
41081 (LC_TIME): Likewise.
41082 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41083 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41085 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41087 [C99-based standards] (float_t): Expect type.
41088 [C99-based standards] (double_t): Expect type.
41089 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41091 [C99-based standards] (HUGE_VALL): Likewise.
41092 [C99-based standards] (INFINITY): Likewise.
41093 [C99-based standards] (NAN): Likewise.
41094 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41095 [C99-based standards] (FP_NAN): Likewise.
41096 [C99-based standards] (FP_NORMAL): Likewise.
41097 [C99-based standards] (FP_SUBNORMAL): Likewise.
41098 [C99-based standards] (FP_ZERO): Likewise.
41099 [C99-based standards] (FP_FAST_FMA): Use
41100 optional-macro-int-constant. Specify type. Require == 1.
41101 [C99-based standards] (FP_FAST_FMAF): Likewise.
41102 [C99-based standards] (FP_FAST_FMAL): Likewise.
41103 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41104 [C99-based standards] (FP_ILOGBNAN): Likewise.
41105 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41107 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41108 [C99-based standards] (math_errhandling): Specify type.
41109 [ISO99 || ISO11] (signgam): Do not allow.
41110 [non-C99-based standards] (copysignf): Do not allow.
41111 [non-C99-based standards] (exp2f): Likewise.
41112 [non-C99-based standards] (log2f): Likewise.
41113 [non-C99-based standards] (modff): Allow.
41114 [non-C99-based standards] (erff): Do not allow.
41115 [non-C99-based standards] (erfcf): Likewise.
41116 [non-C99-based standards] (gammaf): Likewise.
41117 [non-C99-based standards] (hypotf): Likewise.
41118 [non-C99-based standards] (j0f): Likewise.
41119 [non-C99-based standards] (j1f): Likewise.
41120 [non-C99-based standards] (jnf): Likewise.
41121 [non-C99-based standards] (lgammaf): Likewise.
41122 [non-C99-based standards] (tgammaf): Likewise.
41123 [non-C99-based standards] (y0f): Likewise.
41124 [non-C99-based standards] (y1f): Likewise.
41125 [non-C99-based standards] (ynf): Likewise.
41126 [non-C99-based standards] (isnanf): Likewise.
41127 [non-C99-based standards] (acoshf): Likewise.
41128 [non-C99-based standards] (asinhf): Likewise.
41129 [non-C99-based standards] (atanhf): Likewise.
41130 [non-C99-based standards] (cbrtf): Likewise.
41131 [non-C99-based standards] (expm1f): Likewise.
41132 [non-C99-based standards] (ilogbf): Likewise.
41133 [non-C99-based standards] (log1pf): Likewise.
41134 [non-C99-based standards] (logbf): Likewise.
41135 [non-C99-based standards] (nextafterf): Likewise.
41136 [non-C99-based standards] (remainderf): Likewise.
41137 [non-C99-based standards] (rintf): Likewise.
41138 [non-C99-based standards] (scalbf): Likewise.
41139 [non-C99-based standards] (copysignl): Likewise.
41140 [non-C99-based standards] (exp2l): Likewise.
41141 [non-C99-based standards] (log2l): Likewise.
41142 [non-C99-based standards] (modfl): Allow.
41143 [non-C99-based standards] (erfl): Do not allow.
41144 [non-C99-based standards] (erfcl): Likewise.
41145 [non-C99-based standards] (gammal): Likewise.
41146 [non-C99-based standards] (hypotl): Likewise.
41147 [non-C99-based standards] (j0l): Likewise.
41148 [non-C99-based standards] (j1l): Likewise.
41149 [non-C99-based standards] (jnl): Likewise.
41150 [non-C99-based standards] (lgammal): Likewise.
41151 [non-C99-based standards] (tgammal): Likewise.
41152 [non-C99-based standards] (y0l): Likewise.
41153 [non-C99-based standards] (y1l): Likewise.
41154 [non-C99-based standards] (ynl): Likewise.
41155 [non-C99-based standards] (isnanl): Likewise.
41156 [non-C99-based standards] (acoshl): Likewise.
41157 [non-C99-based standards] (asinhl): Likewise.
41158 [non-C99-based standards] (atanhl): Likewise.
41159 [non-C99-based standards] (cbrtl): Likewise.
41160 [non-C99-based standards] (expm1l): Likewise.
41161 [non-C99-based standards] (ilogbl): Likewise.
41162 [non-C99-based standards] (log1pl): Likewise.
41163 [non-C99-based standards] (logbl): Likewise.
41164 [non-C99-based standards] (nextafterl): Likewise.
41165 [non-C99-based standards] (remainderl): Likewise.
41166 [non-C99-based standards] (rintl): Likewise.
41167 [non-C99-based standards] (scalbl): Likewise.
41168 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41169 [non-C99-based standards] (FP_*): Do not allow.
41170 [C99-based standards] (FP_*): Change to
41171 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41172 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41174 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41175 (SIG_ERR): Likewise.
41176 [X/Open-based standards] (SIG_HOLD): Likewise.
41177 (SIG_IGN): Likewise.
41178 (SIGABRT): Use macro-int-constant. Specify type. Require
41180 (SIGFPE): Likewise.
41181 (SIGILL): Likewise.
41182 (SIGINT): Likewise.
41183 (SIGSEGV): Likewise.
41184 (SIGTER): Likewise.
41185 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41186 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41187 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41188 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41189 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41190 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41191 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41192 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41193 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41194 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41195 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41196 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41197 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41198 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41199 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41200 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41201 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41202 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41203 [X/Open-based standards] (SIGTRAP): Likewise.
41204 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41205 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41206 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41207 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41208 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41211 2012-05-08 Ian Wienand <ianw@vmware.com>
41214 * time/tzset.c (__tzset_parse_tz): Update default rules for
41215 daylight time changes in the Energy Policy Act of 2005.
41217 2012-05-09 Andreas Jaeger <aj@suse.de>
41220 * elf/ldconfig.c (parse_conf): Change string to make clear that
41221 ldconfig only issued a warning if ld.so.conf does not exist.
41223 2012-05-08 David S. Miller <davem@davemloft.net>
41225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41226 movxtod instead of popping the value on the stack.
41228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41230 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41232 * config.h.in: Add HAVE_ARM_PCS_VFP.
41234 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41237 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41238 checking but the checks are disabled for any reason.
41240 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41242 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41243 and ELF64_R_TYPE with ELFW(R_TYPE).
41245 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41247 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41248 (ulimit): Likewise.
41250 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41251 (settimeofday): Likewise.
41253 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41255 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41256 a struct th_u2 inside the union, and move tu_block/tu_code into
41257 a new th_u3 union of tu_block/tu_code inside of that. Move
41258 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41259 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41260 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41261 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41262 (th_stuff): Change to th_u1.tu_stuff.
41264 (th_msg): Change to th_u1.th_u2.tu_data.
41266 2012-05-07 David S. Miller <davem@davemloft.net>
41268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41271 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41272 (SETUP_PIC_REG): Use it.
41273 (SETUP_PIC_REG_LEAF): Use it.
41275 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41279 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41281 (EXPL_FINITE): Likewise.
41282 (FLDLOG): Likewise.
41283 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41284 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41286 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41288 (EXPL_FINITE): Likewise.
41289 (FLDLOG): Likewise.
41290 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41291 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41293 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41294 test of -max_value argument for long double.
41295 * sysdeps/i386/fpu/libm-test-ulps: Update.
41296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41298 2012-05-06 David S. Miller <davem@davemloft.net>
41300 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41301 quad soft-float symbols whose references which are compiler
41303 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41305 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41309 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41311 (EXPL_FINITE): Likewise.
41312 (FLDLOG): Likewise.
41315 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41316 Adjust comments for base varying.
41317 (__expl_finite): Change alias to EXPL_FINITE.
41318 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41320 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41321 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41322 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41323 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41324 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41326 (EXPL_FINITE): Likewise.
41327 (FLDLOG): Likewise.
41330 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41331 Adjust comments for base varying.
41332 (__expl_finite): Change alias to EXPL_FINITE.
41333 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41338 * math/libm-test.inc (check_float_internal): Correct ulp
41339 calculation for subnormal expected results.
41341 2012-05-06 Andreas Jaeger <aj@suse.de>
41343 * Makeconfig (+math-flags): New, set to -frounding-math.
41344 (+cflags): Add +math-flags so that all of glibc gets compiled with
41347 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41349 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41351 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41357 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41358 (__ieee754_expl): Allow for and saturate large arguments.
41359 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41360 (u_threshold): Likewise.
41361 (__exp): Call __ieee754_exp before checking for overflow and
41363 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41364 (u_threshold): Likewise.
41365 (__expf): Call __ieee754_expf before checking for overflow and
41367 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41368 (u_threshold): Likewise.
41369 (__expl): Call __ieee754_expl before checking for overflow and
41371 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41372 (__ieee754_expl): Allow for and saturate large arguments.
41373 * math/libm-test.inc (exp_test): Add another test. Do not allow
41374 missing overflow exception on overflow.
41375 (expm1_test): Do not allow missing overflow exception on overflow.
41377 * sysdeps/i386/fpu/e_expl.c: Move to ...
41378 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41379 rather than using inline asm.
41380 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41381 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41382 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41384 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41387 (signal): Likewise.
41391 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41393 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41394 sysdeps/unix/common/syscalls.list.
41395 (fchmod): Likewise.
41396 (fchown): Likewise.
41397 (ftruncate): Likewise.
41398 (getrusage): Likewise.
41399 (gettimeofday): Likewise.
41400 (setpgid): Likewise.
41401 (setregid): Likewise.
41402 (setreuid): Likewise.
41403 (sigaction): Likewise.
41404 (truncate): Likewise.
41405 (vhangup): Likewise.
41406 * sysdeps/unix/common/syscalls.list: Remove file.
41407 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41408 * sysdeps/unix/sysv/linux/Implies: Likewise.
41410 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41412 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41414 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41418 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41421 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41424 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41427 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41430 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41433 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41436 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41440 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41444 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41447 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41451 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41455 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41457 * sysdeps/unix/common/bits/dirent.h: Remove file.
41458 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41460 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41461 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41462 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41463 * sysdeps/unix/bsd/isatty.c: Likewise.
41464 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41465 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41466 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41468 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41471 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41472 long double comparison inaccuracies.
41473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41476 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41478 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41481 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41484 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41485 nonzero digits before rounding a hex value.
41486 * stdlib/tst-strtod.c (tests): Add another test.
41488 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41490 * sysdeps/s390/fpu/libm-test-ulps: Update.
41492 2012-05-03 Andreas Jaeger <aj@suse.de>
41494 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41495 does not get optimized out.
41496 (malloc_opt_barrier): New.
41498 2012-05-03 Andreas Jaeger <aj@suse.de>
41499 Roland McGrath <roland@hack.frob.com>
41501 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41502 intermediate file deletion.
41503 (generated): Add .symlist files.
41505 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41508 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41509 Redirect under this condition.
41510 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41511 [__USE_GNU] (__dprintf_chk): Not under this condition.
41512 [__USE_GNU] (__vdprintf_chk): Likewise.
41513 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41514 under this condition.
41515 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41516 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41517 [__USE_XOPEN2K8] (vdprintf): Likewise.
41518 [__USE_GNU] (__dprintf_chk): Not under this condition.
41519 [__USE_GNU] (__vdprintf_chk): Likewise.
41520 [__USE_GNU] (dprintf): Likewise.
41521 [__USE_GNU] (vdprintf): Likewise.
41523 2012-05-03 Roland McGrath <roland@hack.frob.com>
41525 * elf/Makefile (common-generated): Set this instead of generated for
41526 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41527 $(all-built-dso)-derived lists.
41529 2012-05-03 Andreas Jaeger <aj@suse.de>
41531 * sysdeps/i386/fpu/libm-test-ulps: Update.
41534 * FAQ.in: Likewise.
41535 * scripts/gen-FAQ.pl: Likewise.
41536 * manual/install.texi (Installation): Point to online location of
41538 * Makefile (files-for-dist): Remove FAQ.
41541 2012-05-02 Allan McRae <allan@archlinux.org>
41543 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41544 (LDFLAGS-reldepmod5.so): Likewise.
41545 (LDFLAGS-reldep6mod1.so): Likewise.
41546 (LDFLAGS-reldep6mod4.so): Likewise.
41547 (LDFLAGS-reldep8mod3.so): Likewise.
41548 (LDFLAGS-unload4mod1.so): Likewise.
41549 (LDFLAGS-unload4mod2.so): Likewise.
41550 (LDFLAGS-tst-initorder): Likewise.
41551 (LDFLAGS-tst-initordera2.so): Likewise.
41552 (LDFLAGS-tst-initordera3.so): Likewise.
41553 (LDFLAGS-tst-initordera4.so): Likewise.
41554 (LDFLAGS-tst-initorderb2.so): Likewise.
41555 (LDFLAGS-noload): Likewise.
41556 (LDFLAGS-next): Likewise.
41557 (LDFLAGS-order2mod1.so): Likewise.
41558 (LDFLAGS-order2mod2.so): Likewise.
41559 (LDFLAGS-tst-initorder2): Likewise.
41560 (LDFLAGS-tst-initorder2a.so): Likewise.
41561 (LDFLAGS-tst-initorder2b.so): Likewise.
41562 (LDFLAGS-tst-initorder2c.so): Likewise.
41563 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41565 2012-05-02 David S. Miller <davem@davemloft.net>
41567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41569 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41572 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41574 2012-05-02 Andreas Jaeger <aj@suse.de>
41576 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41577 since we manipulate rounding mode.
41578 (CPPFLAGS-test-idouble.c): Likewise.
41579 (CPPFLAGS-test-ifloat.c): Likewise.
41580 (CFLAGS-test-ldouble.c): Likewise.
41581 (CFLAGS-test-double.c): Likewise.
41582 (CFLAGS-test-float.c): Likewise.
41583 (CFLAGS-test-misc.c): Likewise.
41584 (CFLAGS-test-test-fenv.c): Likewise.
41586 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41591 comparisons to determine direction to adjust input.
41593 2012-05-01 Roland McGrath <roland@hack.frob.com>
41595 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41596 output to the target.
41598 * scripts/localplt.awk: New file.
41599 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41600 (check-localplt-CFLAGS): Variable removed.
41601 ($(all-built-dso:=.jmprel)): New static pattern rule.
41602 (generated): Add those targets.
41603 (localplt-built-dso): New variable.
41604 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41606 * elf/check-localplt.c: File removed.
41608 * scripts/check-execstack.awk: New file.
41609 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41610 (check-execstack-CFLAGS): Variable removed.
41611 ($(objpfx)check-execstack.h): Target removed.
41612 ($(objpfx)execstack-default): New target.
41613 (generated): Add that instead of check-execstack.h.
41614 ($(all-built-dso:=.phdr)): New static pattern rule.
41615 (generated): Add those targets.
41616 * elf/check-execstack.c: File removed.
41618 * scripts/check-textrel.awk: New file.
41619 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41620 (check-textrel-CFLAGS): Variable removed.
41621 (all-built-dso): Use := to define.o
41622 ($(all-built-dso:=.dyn)): New static pattern rule.
41623 (generated): Add those targets.
41624 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41625 * config.make.in (READELF): New substituted variable.
41626 * elf/check-textrel.c: File removed.
41628 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41630 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41632 * conform/data/ctype.h-data [C99-based standards] (isblank):
41634 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41635 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41637 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41638 Specify type. Require positive value.
41639 (EILSEQ): Likewise.
41640 (ERANGE): Likewise.
41641 [ISO || POSIX] (EILSEQ): Do not expect.
41642 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41643 Specify type. Require positive value.
41644 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41645 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41646 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41647 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41648 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41649 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41650 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41651 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41652 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41653 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41654 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41655 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41656 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41657 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41658 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41659 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41660 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41661 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41662 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41663 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41664 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41665 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41666 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41667 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41668 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41669 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41670 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41671 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41672 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41673 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41674 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41675 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41676 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41677 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41678 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41679 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41680 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41681 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41682 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41683 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41684 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41685 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41686 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41687 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41688 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41689 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41690 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41691 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41692 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41693 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41694 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41695 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41696 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41697 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41698 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41699 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41700 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41701 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41702 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41703 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41704 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41705 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41706 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41707 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41708 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41709 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41710 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41711 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41712 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41713 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41714 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41715 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41716 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41717 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41718 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41719 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41720 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41722 (FLT_ROUNDS): Expect as macro, not constant.
41723 (FLT_MANT_DIG): Use macro-int-constant.
41724 (DBL_MANT_DIG): Likewise.
41725 (LDBL_MANT_DIG): Likewise.
41726 (FLT_DIG): Likewise.
41727 (DBL_DIG): Likewise.
41728 (LDBL_DIG): Likewise.
41729 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41730 (DBL_MIN_EXP): Likewise.
41731 (LDBL_MIN_EXP): Likewise.
41732 (FLT_MAX_EXP): Use macro-int-constant.
41733 (DBL_MAX_EXP): Likewise.
41734 (LDBL_MAX_EXP): Likewise.
41735 (FLT_MAX_10_EXP): Likewise.
41736 (DBL_MAX_10_EXP): Likewise.
41737 (LDBL_MAX_10_EXP): Likewise.
41738 (FLT_MAX): Use macro-constant.
41739 (DBL_MAX): Likewise.
41740 (LDBL_MAX): Likewise.
41741 (FLT_EPSILON): Use macro-constant. Give upper bound.
41742 (DBL_EPSILON): Likewise.
41743 (LDBL_EPSILON): Likewise.
41744 (FLT_MIN): Likewise.
41745 (DBL_MIN): Likewise.
41746 (LDBL_MIN): Likewise.
41747 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41748 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41749 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41750 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41751 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41752 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41753 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41754 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41755 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41756 [ISO11] (FLT_TRUE_MIN): Likewise.
41757 [ISO11] (LDBL_TRUE_MIN): Likewise.
41758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41759 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41760 (SCHAR_MIN): Use macro-int-constant. Specify type.
41761 (SCHAR_MAX): Likewise.
41762 (UCHAR_MAX): Likewise.
41763 (CHAR_MIN): Likewise.
41764 (CHAR_MAX): Likewise.
41765 (MB_LEN_MAX): Use macro-int-constant.
41766 (SHRT_MIN): Use macro-int-constant. Specify type.
41767 (SHRT_MAX): Likewise.
41768 (USHRT_MAX): Likewise.
41769 (INT_MAX): Likewise.
41770 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41772 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41774 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41776 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41777 bound negative. Suffix upper bound with "L".
41778 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41780 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41782 [C99-based standards] (LLONG_MAX): Likewise.
41783 [C99-based standards] (ULLONG_MAX): Likewise.
41784 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41786 [ISO11] (max_align_t): Require type.
41787 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41789 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41790 from $CFLAGS, without defining away __attribute__ calls.
41791 (checknamespace): Use $CFLAGS_namespace.
41793 * conform/conformtest.pl (@keywords): Only include C99 keywords
41794 for standards based on C99 or C11.
41796 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41798 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41801 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41802 usability of symbols in #if.
41804 * conform/conformtest.pl: If macro or constant types start
41805 "promoted:", expect the symbol to be of the following type
41806 promoted by the integer promotions.
41808 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41809 in one place. Also handle "macro-constant".
41811 * conform/conformtest.pl: Only accept expected macro values with
41812 "==". Parse all "macro" lines in one place.
41813 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41815 * conform/conformtest.pl: Handle braced types on "constant" lines
41816 instead of handling "typed-constant".
41817 * conform/data/signal.h-data: Use "constant" instead of
41820 * conform/conformtest.pl: Handle "optional-" at start of lines in
41821 one place rather than duplicating several cases. Handle each
41822 format of "macro" line with initial "optional-".
41824 * conform/conformtest.pl: Only accept expected constant or
41825 optional-constant values with "==". Parse all "constant" lines in
41826 one place. Parse all "optional-constant" lines in one place.
41827 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41828 * conform/data/fmtmsg.h-data: Likewise.
41829 * conform/data/netinet/in.h-data: Likewise.
41830 * conform/data/tar.h-data: Likewise.
41831 * conform/data/limits.h-data: Use "==" form on "constant" and
41832 "optional-constant" lines.
41834 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41835 Use -std=c99 for XOPEN2K.
41836 (@knownproblems): Remove.
41837 (newtoken): Don't check %isknown.
41839 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41840 Do not expect macro.
41841 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41842 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41843 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41844 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41845 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41846 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41847 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41848 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41849 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41850 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41851 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41852 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41853 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41854 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41855 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41856 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41857 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41858 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41859 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41860 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41861 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41862 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41863 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41864 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41865 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41866 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41867 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41868 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41869 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41870 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41871 [XPG3] (acosh): Likewise.
41872 [XPG3] (asinh): Likewise.
41873 [XPG3] (atanh): Likewise.
41874 [XPG3] (cbrt): Likewise.
41875 [XPG3] (expm1): Likewise.
41876 [XPG3] (ilogb): Likewise.
41877 [XPG3] (log1p): Likewise.
41878 [XPG3] (logb): Likewise.
41879 [XPG3] (nextafter): Likewise.
41880 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41881 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41882 [XPG3] (remainder): Likewise.
41883 [XPG3] (rint): Likewise.
41884 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41885 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41886 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41887 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41888 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41889 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41890 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41891 [UNIX98 || XOPEN2K] (scalb): Expect.
41892 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41893 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41894 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41895 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41896 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41897 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41898 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41899 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41900 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41901 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41902 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41903 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41904 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41905 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41906 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41907 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41908 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41909 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41910 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41911 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41912 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41913 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41914 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41915 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41916 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41917 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41918 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41919 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41920 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41921 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41922 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41923 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41924 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41925 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41926 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41927 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41928 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41929 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41930 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41931 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41932 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41933 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41934 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41935 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41936 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41937 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41938 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41939 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41940 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41941 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41942 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41943 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41944 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41945 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41946 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41947 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41948 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41949 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41950 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41951 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41952 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41953 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41954 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41955 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41956 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41957 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41958 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41959 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41960 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41961 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41962 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41963 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41964 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41965 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41966 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41967 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41968 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41969 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41970 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41971 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41972 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41973 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41974 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41975 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41976 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41977 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41978 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41979 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41980 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41981 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41982 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41983 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41984 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41985 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41986 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41987 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41988 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41989 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41990 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41991 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41992 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41993 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41994 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41995 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41996 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41997 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41998 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41999 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42000 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42001 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42002 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42003 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42004 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42005 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42006 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42007 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42008 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42009 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42010 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42011 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42012 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42013 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42014 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42015 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42016 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42017 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42018 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42019 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42020 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42021 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42022 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42023 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42024 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42025 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42026 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42027 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42028 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42030 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42031 _XOPEN_SOURCE_EXTENDED for XPG4.
42033 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42035 * Makeconfig (localtime): Remove variable.
42036 (inst_localtime-file): Likewise.
42038 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42059 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42063 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42064 comparisons to determine direction to adjust input.
42065 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42066 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42067 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42069 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42071 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42073 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42076 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42078 * math/libm-test.inc (nexttoward_test): Add more tests.
42080 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42083 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42084 in version GLIBC_2.1, not GLIBC_2.0.
42085 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42088 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42091 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42093 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42094 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42095 * math/libm-test.inc (acos_test): Add more tests.
42096 (asin_test): Likewise.
42097 * sysdeps/i386/fpu/libm-test-ulps: Update.
42098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42101 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42103 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42104 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42105 * math/libm-test.inc (acos_test_tonearest): New function.
42106 (acos_test_towardzero): Likewise.
42107 (acos_test_downward): Likewise.
42108 (acos_test_upward): Likewise.
42109 (asin_test_tonearest): Likewise.
42110 (asin_test_towardzero): Likewise.
42111 (asin_test_downward): Likewise.
42112 (asin_test_upward): Likewise.
42113 (main): Call the new functions.
42114 * sysdeps/i386/fpu/libm-test-ulps: Update.
42115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42119 * math/e_exp10.c: Include <float.h>.
42120 (__ieee754_exp10): Handle underflow here rather than multiplying
42121 large negative argument by M_LN10.
42122 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42124 * math/e_exp10l.c: Include <float.h>.
42125 (__ieee754_exp10l): Handle underflow here rather than multiplying
42126 large negative argument by M_LN10l.
42127 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42128 spurious overflow exception on underflow.
42130 2012-04-29 Marek Polacek <polacek@redhat.com>
42132 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42133 (__fortify_function): New macro.
42134 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42135 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42136 __extern_always_inline.
42137 * libio/bits/stdio2.h: Likewise.
42138 * libio/bits/stdio.h: Likewise.
42139 * string/string.h: Likewise.
42140 * string/bits/string3.h: Likewise.
42141 * include/stdio.h: Likewise.
42142 * stdlib/bits/stdlib.h: Likewise.
42143 * stdlib/stdlib.h: Likewise.
42144 * rt/bits/mqueue2.h: Likewise.
42145 * rt/mqueue.h: Likewise.
42146 * posix/bits/unistd.h: Likewise.
42147 * posix/unistd.h: Likewise.
42148 * io/bits/poll2.h: Likewise.
42149 * io/bits/fcntl2.h: Likewise.
42150 * io/fcntl.h: Likewise.
42151 * io/sys/poll.h: Likewise.
42152 * misc/bits/syslog.h: Likewise.
42153 * misc/bits/syslog-ldbl.h: Likewise.
42154 * misc/sys/syslog.h: Likewise.
42155 * socket/bits/socket2.h: Likewise.
42156 * socket/sys/socket.h: Likewise.
42157 * debug/tst-chk1.c: Likewise.
42158 * wcsmbs/bits/wchar2.h: Likewise.
42159 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42160 * wcsmbs/wchar.h: Likewise.
42162 2012-04-29 Andreas Jaeger <aj@suse.de>
42164 * Makerules (tests): Remove enable-check-abi protection.
42165 (check-abi-warn): Remove.
42166 (check-abi-%): Remove check-abi-warn usage.
42168 * configure.in: Remove check-abi configure option.
42169 * configure: Regenerated.
42170 * config.make.in (enable-check-abi): Remove.
42172 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42175 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42176 double functions to double *_finite functions.
42179 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42180 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42182 * stdio-common/Makefile (tests): Add tst-sprintf3.
42183 * stdio-common/tst-sprintf3.c: New file.
42185 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42186 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42188 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42190 * conform/conformtest.pl: Remove duplicate typed-constant
42193 2012-04-28 David S. Miller <davem@davemloft.net>
42195 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42196 (check-abi-%): Remove AWK script prerequisite and explicit
42198 (check-abi): Rewrite to just diff the symlist with the abilist.
42199 (config-tls, config-abi-config): Delete, no longer used.
42200 (update-abi-%): Remove AWK script and explicit abilist directory.
42201 (update-abi): Rewrite to simply compare and conditionally copy the
42202 symlist and the sysdep abilist file. Remove update-abi-config
42204 * abilist/ld.abilist: Remove.
42205 * abilist/libBrokenLocale.abilist: Remove.
42206 * abilist/libanl.abilist: Remove.
42207 * abilist/libcrypt.abilist: Remove.
42208 * abilist/libdl.abilist: Remove.
42209 * abilist/librt.abilist: Remove.
42210 * abilist/libthread_db.abilist: Remove.
42211 * abilist/libutil.abilist: Remove.
42212 * scripts/extract-abilist.awk: Remove.
42213 * scripts/merge-abilist.awk: Remove.
42214 * sysdeps/generic/libcidn.abilist: New file.
42215 * sysdeps/generic/libnss_compat.abilist: New file.
42216 * sysdeps/generic/libnss_db.abilist: New file.
42217 * sysdeps/generic/libnss_dns.abilist: New file.
42218 * sysdeps/generic/libnss_files.abilist: New file.
42219 * sysdeps/generic/libnss_hesiod.abilist: New file.
42220 * sysdeps/generic/libnss_nis.abilist: New file.
42221 * sysdeps/generic/libnss_nisplus.abilist: New file.
42222 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42223 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42224 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42226 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42227 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42228 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42229 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42230 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42231 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42232 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42233 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42234 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42236 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42237 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42238 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42239 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42241 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42242 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42243 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42244 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42245 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42246 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42248 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42249 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42250 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42252 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42355 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42356 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42357 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42360 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42361 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42362 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42363 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42364 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42365 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42366 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42367 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42368 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42420 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42422 * conform/conformtest.pl: Fix typo in handling typed-constant from
42425 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42427 * README: Cut down references to pre-2.6 Linux kernels and
42428 Linuxthreads. Update lists of configurations in libc and ports
42429 and sort alphabetically. Say "or newer" with Linux kernel version
42432 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42434 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42437 * math/libm-test.inc (logb_test_downward): New test to expose
42438 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42441 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42444 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42446 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42447 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42449 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42451 * sysdeps/unix/i386/brk.S: Remove file.
42452 * sysdeps/unix/i386/dl-brk.S: Likewise.
42453 * sysdeps/unix/i386/pipe.S: Likewise.
42454 * sysdeps/unix/i386/sigreturn.S: Likewise.
42455 * sysdeps/unix/i386/syscall.S: Likewise.
42456 * sysdeps/unix/i386/vfork.S: Likewise.
42457 * sysdeps/unix/i386/wait.S: Likewise.
42459 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42460 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42462 * configure.in (arm*-none*): Do not allow without
42463 --enable-hacker-mode.
42464 (netbsd*): Remove case setting base_os.
42465 (386bsd*): Likewise.
42466 (freebsd*): Likewise.
42469 (sunos*): Likewise.
42470 (ultrix*): Likewise.
42471 (newsos*): Likewise.
42472 (dynix*): Likewise.
42478 (minix*): Likewise.
42479 (irix4*): Likewise.
42480 (irix6*): Likewise.
42481 (solaris[2-9]*): Likewise.
42483 * configure: Regenerated.
42485 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42488 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42489 overflow or cancellation in calculating denominator.
42490 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42491 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42492 down expression to avoid unexpected rounding in newer GCCs.
42493 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42495 2012-04-26 David S. Miller <davem@davemloft.net>
42497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42498 long-double compat symbols.
42499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42513 2012-04-25 David S. Miller <davem@davemloft.net>
42515 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42516 HWCAP_* values only after the memory barriers have been defined.
42517 (atomic_full_barrier): Define.
42518 (atomic_read_barrier): Define.
42519 (atomic_write_barrier): Define.
42521 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42523 * shlib-versions: Add libgcc_s version information.
42524 * sysdeps/generic/libgcc_s.h: Remove.
42525 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42527 * sysdeps/gnu/unwind-resume.c: Likewise.
42528 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42530 2012-04-25 David S. Miller <davem@davemloft.net>
42532 * sysdeps/unix/sparc/brk.S: Delete.
42533 * sysdeps/unix/sparc/dl-brk.S: Delete.
42534 * sysdeps/unix/sparc/pipe.S: Delete.
42535 * sysdeps/unix/sparc/sysdep.S: Delete.
42536 * sysdeps/unix/sparc/sysdep.h: Delete.
42537 * sysdeps/unix/sparc/vfork.S: Delete.
42538 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42539 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42541 (ret_ERRVAL, r0, r1, MOVE): Define.
42542 (JUMPTARGET): Remove.
42543 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42544 sysdeps/unix/sparc/sysdep.h
42545 (ENTRY, END): Remove.
42546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42548 2012-04-25 Joseph Myers <joseph@codesourcery.com>
42550 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42551 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42554 * timezone/README: Update upstream location and email address for
42556 * timezone/zdump.c: Update from tzcode 2012b.
42557 * timezone/zic.c: Likewise.
42559 * configure.in (libc_cv_as_needed): Remove test.
42560 * configure: Regenerated.
42561 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42562 conditional definition.
42563 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42564 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42565 * config.make.in (have-as-needed): Remove variable.
42567 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42568 Paul Pluzhnikov <ppluzhnikov@google.com>
42570 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42573 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42575 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42576 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42577 * sysdeps/sh/strlen.S: Likewise.
42579 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42581 * sysdeps/unix/fork.S: Remove file.
42582 * sysdeps/unix/i386/fork.S: Likewise.
42583 * sysdeps/unix/sparc/fork.S: Likewise.
42585 * sysdeps/unix/system.c: Remove file.
42586 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42588 * sysdeps/unix/getegid.S: Remove file.
42589 * sysdeps/unix/geteuid.S: Likewise.
42591 2012-04-24 Roland McGrath <roland@hack.frob.com>
42593 * scripts/check-localplt.awk: New file.
42594 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42596 * scripts/data/localplt-generic.data: Add a comment.
42598 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42599 NODE when __dir_mkfile failed.
42600 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42601 Reported by Ludovic Courtès <ludo@gnu.org>.
42603 2012-04-24 Andreas Jaeger <aj@suse.de>
42605 * Makerules (common-clean): Also remove gen-as-const-headers
42608 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42610 * Makerules (native-compile): Do not change working directory for
42611 build. Use $(OUTPUT_OPTION) in command.
42612 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42614 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42617 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42618 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42619 * math/libm-test.inc (floor_test): Add more tests.
42620 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42622 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42624 * sysdeps/unix/getdents.c: Remove file.
42625 * sysdeps/unix/sysv/getdents.c: Likewise.
42626 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42628 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42629 sysdeps/unix/mman/syscalls.list.
42631 (mprotect): Likewise.
42633 (munmap): Likewise.
42634 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42635 * sysdeps/unix/mman/syscalls.list: Remove.
42636 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42638 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42639 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42640 * configure: Regenerated.
42641 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42642 $(libgcc_s_suffix).
42643 * config.make.in (libgcc_s_suffix): Remove variable.
42645 2012-04-23 Joseph Myers <joseph@codesourcery.com>
42647 * sysdeps/unix/sysv/gethostname.c: Move to ...
42648 * sysdeps/posix/gethostname.c: ... here.
42650 * sysdeps/unix/execve.S: Remove file.
42652 * sysdeps/unix/_exit.S: Remove file.
42654 2012-04-23 Andreas Jaeger <aj@suse.de>
42657 * manual/Makefile: Remove make dist support, there's no
42658 need for a stand-alone documentation tar ball.
42659 (TEXI2DVI): Define always, it's not in Makeconfig.
42662 (edition): Removed.
42663 (glibc-doc-$(edition).tar): Removed
42667 (ETAGS): Remove, it's in Makeconfig.
42668 (move-if-change): Remove, it's in Makeconfig.
42670 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42673 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42674 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42675 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42676 (strtod_l, strtof_l, strtold_l): Remove __wur.
42677 It is not necessarily an error to ignore strtol's return value.
42678 One can reliably look at the stored endptr to decide whether
42679 the number had valid syntax.
42681 2012-04-21 Andreas Jaeger <aj@suse.de>
42684 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42686 2012-04-21 Joseph Myers <joseph@codesourcery.com>
42688 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42689 * sysdeps/unix/sysv/Versions: Remove file.
42691 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42696 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
42699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42700 version from __vm86.
42702 2012-04-20 Joseph Myers <joseph@codesourcery.com>
42704 * sysdeps/unix/common/lxstat.c: Remove file.
42705 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42707 * sysdeps/unix/sysv/Makefile: Remove file.
42709 * sysdeps/unix/sysv/direct.h: Remove file.
42711 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42712 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42713 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42714 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42715 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42716 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42717 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42719 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42721 * sysdeps/unix/xmknod.c: Remove file.
42722 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42724 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42726 * sysdeps/unix/sysv/i386/time.S: Remove file.
42728 * sysdeps/unix/fxstat.c: Remove file.
42729 * sysdeps/unix/xstat.c: Likewise.
42730 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42732 * sysdeps/unix/sysv/sigaction.c: Remove file.
42734 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42735 (sysdep_headers): Remove variable.
42736 [termio.h not in sysdep_headers] (generated): Likewise.
42737 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42738 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42739 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42740 * sysdeps/unix/sysv/tcflow.c: Likewise.
42741 * sysdeps/unix/sysv/tcflush.c: Likewise.
42742 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42743 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42744 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42745 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42746 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42748 * sysdeps/unix/siglist.c: Remove file.
42750 * sysdeps/unix/getppid.S: Remove file.
42752 * sysdeps/unix/mkdir.c: Remove file.
42753 * sysdeps/unix/rmdir.c: Likewise.
42755 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42757 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42759 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42760 errlist-compat value.
42762 2012-04-18 David S. Miller <davem@davemloft.net>
42764 * sysdeps/generic/memcopy.h (reg_char): Delete.
42765 * debug/strcat_chk.c: Use char, not reg_char.
42766 * debug/strcpy_chk.c: Likewise.
42767 * debug/strncat_chk.c: Likewise.
42768 * debug/strncpy_chk.c: Likewise.
42769 * string/memchr.c: Likewise.
42770 * string/memrchr.c: Likewise.
42771 * string/rawmemchr.c: Likewise.
42772 * string/strcat.c: Likewise.
42773 * string/strchr.c: Likewise.
42774 * string/strchrnul.c: Likewise.
42775 * string/strcmp.c: Likewise.
42776 * string/strcpy.c: Likewise.
42777 * string/strncat.c: Likewise.
42778 * string/strncmp.c: Likewise.
42779 * string/strncpy.c: Likewise.
42781 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42783 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42784 __builtin_memcopy is called when src and dest ranges are known to not
42787 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42789 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42790 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42791 fwd_align_merge macro call.
42792 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42793 bwd_align_merge macro call.
42794 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42796 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42798 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42799 bwd_align_merge macros.
42800 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42801 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42802 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42804 2012-04-18 David S. Miller <davem@davemloft.net>
42806 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42808 2012-04-18 Andreas Jaeger <aj@suse.de>
42811 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42812 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42813 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42815 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42816 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42817 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42819 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42820 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42821 Adjust for changed ldbl-128 files.
42823 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42824 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42825 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42827 2012-04-17 David S. Miller <davem@davemloft.net>
42829 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42831 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42833 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42834 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42835 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42836 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42837 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42838 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42840 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42843 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42844 * math/libm-test.inc: Add ilogb errno and exception tests.
42845 * math/w_ilogb.c: New file: ilogb wrapper.
42846 * math/w_ilogbf.c: New file: ilogbf wrapper.
42847 * math/w_ilogbl.c: New file: ilogbl wrapper.
42848 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42849 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42850 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42851 exception being thrown with 0.0 as argument.
42852 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42853 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42854 exception being thrown with 0.0 as argument.
42855 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42856 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42857 exception being thrown with 0.0 as argument.
42858 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42859 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42860 exception being thrown with 0.0 as argument.
42861 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42862 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42863 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42864 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42865 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42866 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42867 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42868 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42869 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42871 2012-04-17 Petr Baudis <pasky@ucw.cz>
42873 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42876 2012-04-16 Marek Polacek <polacek@redhat.com>
42878 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42880 2012-04-16 Marek Polacek <polacek@redhat.com>
42882 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42883 operands of fdivp instruction.
42885 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42887 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42888 * elf/tst-auditmod3b.c: Likewise.
42889 * elf/tst-auditmod4b.c: Likewise.
42890 * elf/tst-auditmod5b.c: Likewise.
42891 * elf/tst-auditmod6b.c: Likewise.
42892 * elf/tst-auditmod6c.c: Likewise.
42893 * elf/tst-auditmod7b.c: Likewise.
42894 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42895 * sysdeps/x86_64/preconfigure.in: Likewise.
42896 * sysdeps/x86_64/preconfigure: Regenerated.
42898 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42900 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42903 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42906 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42908 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42911 * locale/iso-639.def: Fix gl language name. Spotted by
42914 2012-04-12 Roland McGrath <roland@hack.frob.com>
42917 * libio/libio.h (__io_write_fn): Update comment.
42919 2012-04-12 Petr Baudis <pasky@ucw.cz>
42922 * stdio.texi (Hook Functions): The user provided writer function
42923 is not allowed to return -1.
42925 2012-04-11 David S. Miller <davem@davemloft.net>
42927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42929 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42931 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42932 Add a leading slash to rtkaio.
42934 2012-04-11 Jim Meyering <meyering@redhat.com>
42937 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42938 It is not necessarily an error to ignore fwrite's return
42939 value. One can reliably use ferror to test for errors after
42942 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42944 * bits/types.h (__snseconds_t): New type.
42945 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42947 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42949 (__SNSECONDS_T_TYPE): Likewise.
42950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42951 (__SNSECONDS_T_TYPE): Likewise.
42952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42953 (__SNSECONDS_T_TYPE): Likewise.
42955 2012-04-10 Andreas Jaeger <aj@suse.de>
42958 * manual/time.texi (Processor Time): Return type of times is
42959 elapsed real time since an arbitrary point in the past.
42960 (CPU Time): Move CLK_TCK from here...
42961 (Processor Time): ...to here. Correct description.
42962 * manual/conf.texi (Constants for Sysconf): Correct description of
42965 2012-04-10 David S. Miller <davem@davemloft.net>
42968 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42969 where the is a gap between DT_REL(A) and DT_JMPREL.
42971 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42973 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42974 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42975 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42977 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42979 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42980 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42981 (dl_main): Handle --inhibit-cache.
42982 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42984 * elf/dl-load.c (_dl_map_object): Use it.
42985 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42987 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42990 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42991 (__ieee754_powl): Saturate large exponents rather than testing for
42992 overflow of y*log2(x).
42993 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42994 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42998 * math/s_ctan.c: Include <float.h>.
42999 (__ctan): Avoid internal overflow or cancellation in calculating
43001 * math/s_ctanf.c: Likewise.
43002 * math/s_ctanl.c: Likewise.
43003 * math/s_ctanh.c: Likewise.
43004 * math/s_ctanhf.c: Likewise.
43005 * math/s_ctanhl.c: Likewise.
43006 * math/libm-test.inc (ctan_test): Add more tests.
43007 (ctanh_test): Likewise.
43008 * sysdeps/i386/fpu/libm-test-ulps: Update.
43009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43011 2012-04-09 Andreas Jaeger <aj@suse.de>
43014 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43015 is an optional BSD extension.
43018 * manual/stdio.texi (Opening Streams): Document additional fopen
43021 2012-04-09 Roland McGrath <roland@hack.frob.com>
43023 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43024 %eax without telling the compiler.
43026 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43029 * manual/install.texi: Use sourceware.org.
43031 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43034 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43035 (__ieee754_pow): Generate overflow and underflow using huge*huge
43036 and tiny*tiny rather than just returning constant infinity or zero
43037 for large exponents.
43038 * math/libm-test.inc (pow_test): Require overflow exceptions for
43039 applicable cases of large exponents.
43042 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43043 (__ieee754_pow): Use iterative multiplication algorithm only for
43044 integer exponents with absolute value below 1024. Check for odd
43045 integer exponents when using algorithm for real exponents.
43046 * math/libm-test.inc (pow_test): Add more tests.
43047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43049 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43052 * math/libm-test.inc (exp_test): Do not allow overflow exception
43055 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43058 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43059 instead of __kernel_standard_f.
43061 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43063 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43064 * sysdeps/x86_64/memset_chk.S: Likewise.
43066 2012-04-08 Andreas Jaeger <aj@suse.de>
43069 * manual/startup.texi (Environment Access): Describe return value
43070 for putenv and setenv.
43073 * manual/filesys.texi (Directory Entries): Add description for
43077 * manual/filesys.texi (Directory Entries): Clarify that it's file
43078 system not operating system in the description of DT_UNKNOWN.
43081 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43083 2012-04-08 Stephen Compall <s11@member.fsf.org>
43086 * manual/llio.texi (Opening and Closing Files): Add cross
43087 reference to explain mode argument.
43089 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43091 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43092 * sysdeps/x86_64/memset_chk.S: Likewise.
43094 2012-04-07 David S. Miller <davem@davemloft.net>
43096 * elf/elf.h (R_SPARC_WDISP10): Define.
43097 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43099 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43100 R_SPARC_SIZE64 and R_SPARC_H34.
43102 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43104 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43105 conditions and remove no longer applicable assertion.
43107 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43109 * bits/byteswap.h: Include <features.h>.
43110 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43111 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43113 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43115 * bits/byteswap.h (__bswap_16): Removed.
43116 Include <bits/byteswap-16.h> to get __bswap_16.
43117 * sysdeps/i386/bits/byteswap.h: Likewise.
43118 * sysdeps/s390/bits/byteswap.h: Likewise.
43119 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43120 * bits/byteswap-16.h: New file.
43121 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43122 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43123 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43124 * string/Makefile (headers): Add bits/byteswap-16.h.
43126 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43129 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43131 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43132 * nss/tst-nss-static.c: New.
43134 2012-04-06 Robert Millan <rmh@gnu.org>
43137 * manual/llio.texi (File Position Primitive): lseek
43138 refers to WHENCE when it really means OFFSET.
43140 2012-04-06 Andreas Jaeger <aj@suse.de>
43142 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43143 strncmp declarations.
43145 * abilist/libc.abilist: Add __poll and __ppoll.
43147 2012-04-05 David S. Miller <davem@davemloft.net>
43149 * scripts/check-local-headers.sh: Accept a host triplet in the
43150 path matched by the exclude regexp.
43152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43154 * sysdeps/powerpc/powerpc32/dl-machine.h
43155 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43156 * sysdeps/s390/s390-32/dl-machine.h
43157 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43158 * sysdeps/sparc/sparc32/dl-machine.h
43159 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43160 * sysdeps/sparc/sparc64/dl-machine.h
43161 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43163 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43165 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43166 undefined symbol errors.
43168 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43171 2012-04-05 Michael Matz <matz@suse.de>
43174 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43176 2012-04-05 Andreas Jaeger <aj@suse.de>
43179 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43182 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43184 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43185 which ROUND is no valid rounding mode.
43187 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43189 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43191 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43193 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43195 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43196 an exception using FPU order intentionally.
43198 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43200 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43201 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43202 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43203 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43205 2012-04-05 Simon Josefsson <simon@josefsson.org>
43208 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43209 EINVAL when BUFLEN is too smal.
43211 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43214 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43215 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43217 2012-04-03 Andreas Jaeger <aj@suse.de>
43220 * manual/setjmp.texi (System V contexts): Fix sentence.
43223 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43224 New macro for this case.
43225 [!__GNUC__] (__bswap_64): New inline function for this case.
43226 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43227 * bits/byteswap.h: Likewise.
43228 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43229 ull, guard with __GLIBC_HAVE_LONG_LONG.
43231 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43232 __GLIBC_HAVE_LONG_LONG.
43234 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43235 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43237 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43240 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43241 inptr and inend, rather than using last_ch.
43243 2012-04-02 David S. Miller <davem@davemloft.net>
43245 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43246 * stdio-common/printf-parse.h (read_int): Change return type to
43247 'int', return -1 on INT_MAX overflow.
43248 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43249 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43250 overflows INT_MAX. Check for overflow of in-format-string precision
43251 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43252 SIZE_MAX not INT_MAX for integer overflow test.
43253 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43254 skip the construct in the format string but do not record anything.
43255 * stdio-common/bug22.c: Adjust to test both width/prevision
43256 INT_MAX overflow as well as total length INT_MAX overflow. Check
43257 explicitly for proper errno values.
43259 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43261 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43263 * string/test-strcmp.c [! WIDE]: Likewise.
43264 * time/tst-mktime2.c: Likewise for INT_MAX.
43265 * string/test-string.h: #include <sys/param.h> for MIN.
43267 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43268 * sysdeps/i386/init-first.c (init): Likewise.
43269 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43270 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43271 * sysdeps/sh/init-first.c (init): Likewise.
43273 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43275 * po/ru.po: Update from translation team.
43276 * po/vi.po: Likewise.
43278 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43280 * resolv/nss_dns/dns-host.c: Merge copyright years.
43282 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43284 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43285 Optimize memcpy with prefetch if
43286 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43287 src, dst pointers have unequal 16 byte alignments.
43289 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43292 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43293 from a CNAME entry and return the minimum ttl for the query.
43294 (gaih_getanswer_slice): Likewise.
43296 2012-03-30 Jeff Law <law@redhat.com>
43298 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43300 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43301 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43303 * resolv/nss_dns/dns-host.c: Update copyright year.
43305 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43307 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43308 requests to save a system call. Fix check that all bytes are sent.
43310 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43311 comments for sendmmsg.
43313 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43316 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43317 with only 1 character between 0x0041 and 0x01b0.
43318 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43319 * wcsmbs/tst-mbsnrtowcs.c: New file.
43321 2012-03-29 David S. Miller <davem@davemloft.net>
43323 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43324 small copies by hand.
43326 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43329 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43330 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43333 2012-03-28 David S. Miller <davem@davemloft.net>
43335 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43336 that branches into memcpy.
43337 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43339 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43340 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43343 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43344 implementation too.
43345 * sysdeps/sparc/mempcpy.S: New file.
43347 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43348 the IFUNC routine in the libc case.
43349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43351 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43352 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43353 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43354 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43355 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43356 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43357 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43358 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43360 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43361 loop to 256 bytes instead of 64 bytes and fix test signedness.
43363 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43364 * sysdeps/sparc/sparc32/Makefile: rather than here...
43365 * sysdeps/sparc/sparc64/Makefile: and here.
43367 2012-03-28 Ulrich Drepper <drepper@gmail.com>
43369 * malloc/mallocbug.c: Avoid warnings about unused variables.
43371 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43374 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43375 in the right place. Discard and retry query if response is
43376 larger than input buffer size.
43378 2012-03-28 Joseph Myers <joseph@codesourcery.com>
43383 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43384 x for large integer exponent.
43385 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43386 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43387 sign of result as needed afterwards.
43388 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43389 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43390 result for underflowing pow the same as for overflow.
43391 (__kernel_standard_l): Handle powl overflow and underflow here
43392 rather than calling __kernel_standard.
43393 * math/libm-test.inc (pow_test): Add more tests.
43408 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43409 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43410 (__kernel_standard_l): New function.
43411 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43413 * math/w_acosl.c (__acosl): Likewise.
43414 * math/w_asinl.c (__asinl): Likewise.
43415 * math/w_atan2l.c (__atan2l): Likewise.
43416 * math/w_atanhl.c (__atanhl): Likewise.
43417 * math/w_coshl.c (__coshl): Likewise.
43418 * math/w_exp10l.c (__exp10l): Likewise.
43419 * math/w_exp2l.c (__exp2l): Likewise.
43420 * math/w_fmodl.c (__fmodl): Likewise.
43421 * math/w_hypotl.c (__hypotl): Likewise.
43422 * math/w_j0l.c (__j0l, __y0l): Likewise.
43423 * math/w_j1l.c (__j1l, __y1l): Likewise.
43424 * math/w_jnl.c (__jnl, __ynl): Likewise.
43425 * math/w_lgammal.c (__lgammal): Likewise.
43426 * math/w_log10l.c (__log10l): Likewise.
43427 * math/w_log2l.c (__log2l): Likewise.
43428 * math/w_logl.c (__logl): Likewise.
43429 * math/w_powl.c (__powl): Likewise.
43430 * math/w_remainderl.c (__remainderl): Likewise.
43431 * math/w_scalbl.c (sysv_scalbl): Likewise.
43432 * math/w_sinhl.c (__sinhl): Likewise.
43433 * math/w_sqrtl.c (__sqrtl): Likewise.
43434 * math/w_tgammal.c (__tgammal): Likewise.
43435 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43436 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43437 * math/libm-test.inc (acos_test): Add more tests.
43438 (acosh_test): Likewise.
43439 (asin_test): Likewise.
43440 (atanh_test): Likewise.
43441 (exp_test): Likewise.
43442 (exp10_test): Likewise.
43443 (exp2_test): Likewise.
43444 (expm1_test): Likewise.
43445 (lgamma_test): Likewise.
43446 (log_test): Likewise.
43447 (log10_test): Likewise.
43448 (log1p_test): Likewise.
43449 (log2_test): Likewise.
43450 (pow_test): Do not allow some spurious overflow exceptions.
43451 (sqrt_test): Add more tests.
43452 (tgamma_test): Likewise.
43453 (y0_test): Likewise.
43454 (y1_test): Likewise.
43455 (yn_test): Likewise.
43457 2012-03-27 Anton Blanchard <anton@samba.org>
43459 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43461 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43462 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43465 2012-03-27 David S. Miller <davem@davemloft.net>
43467 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43469 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43470 have-as-vis3 check.
43472 2012-03-27 Andreas Jaeger <aj@suse.de>
43474 * sysdeps/x86_64/elf/configure.in: Moved to ...
43475 * sysdeps/x86_64/configure.in: ... here.
43476 * sysdeps/x86_64/elf/start.S: Moved to ...
43477 * sysdeps/x86_64/start.S: ... here.
43478 * sysdeps/x86_64/elf/configure: Delete.
43480 * sysdeps/x86_64/configure.in: Merge contents from
43481 sysdeps/i386/configure.in (without i686 check).
43483 * sysdeps/i386/elf/Versions: Merge into ...
43484 * sysdeps/i386/Versions: ... this.
43485 * sysdeps/i386/elf/Versions: Delete file.
43486 * sysdeps/i386/elf/start.S: Moved to ...
43487 * sysdeps/i386/start.S: ...here.
43488 * sysdeps/i386/elf/configure.in: Merge into...
43489 * sysdeps/i386/configure.in: ...here.
43490 * sysdeps/i386/elf/configure.in: Delete file.
43491 * sysdeps/i386/elf/configure: Delete file.
43493 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43494 * debug/backtracesyms.c: ... here.
43495 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43496 * debug/backtracesymsfd.c: ... here.
43497 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43498 * sysdeps/generic/ifunc-sel.h: ... here.
43500 * sysdeps/unix/i386/start.c: Delete file.
43501 * sysdeps/unix/sparc/start.c: Delete file.
43502 * sysdeps/unix/start.c: Delete file.
43504 * sysdeps/sh/elf/configure.in: Moved to ...
43505 * sysdeps/sh/configure.in: ... here.
43506 * sysdeps/sh/elf/start.S: Moved to ...
43507 * sysdeps/sh/start.S: ... here.
43508 * sysdeps/sh/elf/configure: Delete file.
43510 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43511 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43512 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43513 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43514 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43515 * sysdeps/powerpc/powerpc64/start.S: here.
43516 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43517 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43518 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43519 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43520 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43522 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43523 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43524 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43525 * sysdeps/powerpc/powerpc32/start.S: ... here.
43526 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43527 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43528 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43530 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43531 * sysdeps/powerpc/ifunc-sel.h: ... here.
43532 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43533 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43535 * sysdeps/sparc/elf/configure.in: Moved to ...
43536 * sysdeps/sparc/configure.in: ... here.
43537 * sysdeps/sparc/elf/configure: Delete file.
43538 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43539 * sysdeps/sparc/sparc32/start.S: ... here.
43540 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43541 * sysdeps/sparc/sparc64/start.S: ... here.
43542 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43543 * sysdeps/sparc/sparc32/Makefile: ... this.
43544 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43545 * sysdeps/sparc/sparc64/Makefile: ... this.
43547 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43548 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43549 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43550 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43551 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43552 * sysdeps/s390/s390-32/setjmp.S: ... here.
43553 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43554 * sysdeps/s390/s390-32/configure.in: ... here.
43555 * sysdeps/s390/s390-32/elf/configure: Delete file.
43556 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43557 * sysdeps/s390/s390-32/start.S: ... here.
43559 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43560 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43561 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43562 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43563 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43564 * sysdeps/s390/s390-64/setjmp.S: ... here.
43565 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43566 * sysdeps/s390/s390-64/configure.in: ... here
43567 * sysdeps/s390/s390-64/elf/configure: Delete file.
43568 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43569 * sysdeps/s390/s390-64/start.S: ... here.
43570 * sysdeps/s390/s390-64/elf/configure: Delete.
43572 * configure.in: Remove support for elf directories in sysdeps.
43574 * configure: Regenerated.
43575 * sysdeps/i386/configure: Regenerated.
43576 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43577 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43578 * sysdeps/s390/s390-32/configure: Regenerated.
43579 * sysdeps/s390/s390-64/configure: Regenerated.
43580 * sysdeps/sh/configure: Regenerated.
43581 * sysdeps/sparc/configure: Regenerated.
43582 * sysdeps/x86_64/configure: Regenerated.
43584 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43589 denormal result into account.
43591 2012-03-25 Roland McGrath <roland@hack.frob.com>
43593 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43594 Reported by Allan McRae <allan@archlinux.org>.
43596 2012-03-23 Jeff Law <law@redhat.com>
43598 * nss/getnssent.c (__nss_getent): Fix typo.
43600 2012-03-23 David S. Miller <davem@davemloft.net>
43602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43604 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43606 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43607 to pad to uint64_t for each field.
43608 (dl_tls_index): Replace unsigned long with uint64_t.
43610 2012-03-23 Daniel Jacobowitz <dmj@google.com>
43611 Paul Pluzhnikov <ppluzhnikov@google.com>
43614 * grp/Makefile (otherlibs): Don't set it.
43615 * inet/Makefile (otherlibs): Likewise.
43616 * login/Makefile (otherlibs): Likewise.
43617 * nscd/Makefile (otherlibs): Likewise.
43618 * posix/Makefile (otherlibs): Likewise.
43619 * pwd/Makefile (otherlibs): Likewise.
43620 * rt/Makefile (otherlibs): Likewise.
43621 * sunrpc/Makefile (otherlibs): Likewise.
43622 * nss/Makefile (otherlibs): Likewise.
43623 Add libnss_files to routines and static-only-routines.
43624 ($(objpfx)getent): Remove rule.
43625 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43626 static-only-routines.
43628 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43631 * math/s_cexp.c: Include <float.h>.
43632 (__cexp): Handle exp result overflowing not necessarily
43633 overflowing both real and imaginary parts of result.
43634 * math/s_cexpf.c: Likewise.
43635 * math/s_cexpl.c: Likewise.
43636 * math/libm-test.inc (cexp_test): Add more tests.
43637 * sysdeps/i386/fpu/libm-test-ulps: Update.
43638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43640 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43642 * include/link.h (ELFW): New macro.
43643 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43644 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43646 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43648 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43651 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43653 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43655 (struct La_x32_retval): Likewise.
43657 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43659 * sysdeps/x86_64/preconfigure.in: New file.
43660 * sysdeps/x86_64/preconfigure: New generated file.
43662 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43665 * math/e_exp2l.c: Include <float.h>.
43666 (__ieee754_exp2l): Handle overflow and underflow cases
43667 separately. Only pass fractional part of argument to
43669 * math/libm-test.inc (exp2_test): Add more tests.
43671 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43672 negating x to take absolute value.
43673 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43675 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43676 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43678 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43679 computing low part if x was negated.
43680 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43682 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43684 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43685 la_x32_gnu_pltexit.
43686 (pltexit): Cast int_retval to ptrdiff_t.
43687 * elf/tst-auditmod3b.c: Likewise.
43688 * elf/tst-auditmod4b.c: Likewise.
43689 * elf/tst-auditmod5b.c: Likewise.
43690 * elf/tst-auditmod6b.c: Likewise.
43691 * elf/tst-auditmod6c.c: Likewise.
43692 * elf/tst-auditmod7b.c: Likewise.
43694 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43695 and x32_gnu_pltexit.
43697 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43698 __ELF_NATIVE_CLASS.
43699 (La_x32_regs): New macro.
43700 (La_x32_retval): Likewise.
43701 (la_x32_gnu_pltenter): New function prototype.
43702 (la_x32_gnu_pltexit): Likewise.
43704 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43706 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43711 * configure.in (libc_cv_cc_nofma): Check for option to disable
43712 generation of FMA instructions.
43713 * configure: Regenerate.
43714 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43715 * sysdeps/ieee754/dbl-64/Makefile: New file.
43716 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43717 Remove brandred-fma4.
43718 (CFLAGS-brandred-fma4.c): Remove.
43719 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43725 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43727 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43728 LLONG_MAX != LONG_MAX.
43729 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43730 (_fitoa_word): Likewise.
43731 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43732 LLONG_MAX != LONG_MAX.
43733 * stdio-common/_itowa.h: Include <_itoa.h>.
43734 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43735 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43736 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43737 only if not defined.
43738 (_ITOA_WORD_TYPE): Likewise.
43739 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43740 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43742 2012-03-21 David S. Miller <davem@davemloft.net>
43744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43746 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43748 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43749 of x86_64 when setting libc_cv_slibdir, libdir and
43751 * sysdeps/unix/sysv/linux/configure: Regenerated.
43753 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43755 * manual/lang.texi (Old Varargs): Remove section.
43756 (How Variadic): Update menu.
43757 (va_start): Do not mention varargs.h.
43759 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43760 Joseph Myers <joseph@codesourcery.com>
43762 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43764 * configure: Regenerated.
43766 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43768 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43769 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43772 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43775 * Makefile (files-for-dist): Remove NOTES.
43776 (NOTES): Remove rule.
43777 * README: Don't refer to NOTES.
43778 * manual/creature.texi: Don't include macros.texi.
43779 * manual/intro.texi (creature.texi): Remove comment referring to
43782 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43783 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43784 * configure: Regenerated.
43785 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43786 LIBC_TRY_CC_OPTION.
43787 (libc_cv_as_i686): Likewise.
43788 (libc_cv_cc_avx): Likewise.
43789 (libc_cv_cc_sse2avx): Likewise.
43790 (libc_cv_cc_fma4): Likewise.
43791 (libc_cv_cc_novzeroupper): Likewise.
43792 * sysdeps/i386/configure: Regenerated.
43795 * sysdeps/i386/fpu/s_cexp.S: Remove.
43796 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43797 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43798 * math/libm-test.inc (cexp_test): Add more tests.
43799 * sysdeps/i386/fpu/libm-test-ulps: Update.
43800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43802 2012-03-21 Allan McRae <allan@archlinux.org>
43804 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43806 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43809 * math/w_exp2.c: Do not include <float.h>.
43810 (o_threshold, u_threshold): Remove.
43811 (__exp2): Calculate result before checking finiteness and calling
43813 * math/w_exp2f.c: Likewise.
43814 * math/w_exp2l.c: Likewise.
43815 * math/libm-test.inc (exp2_test): Require overflow exception for
43819 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43820 range of signed 64-bit integers before using fistpll. Remove
43821 checks for whether integers fit in mantissa bits.
43822 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43823 the range of signed 32-bit integers before using fistpl. Remove
43824 checks for whether integers fit in mantissa bits.
43825 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43826 (__ieee754_powl): Test for y outside the range of signed 64-bit
43827 integers before using fistpll. Reduce 64-bit values to 63-bit
43829 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43830 divide-by-zero is raised for zero to large negative powers.
43831 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43832 (__ieee754_powl): Test for y outside the range of signed 64-bit
43833 integers before using fistpll. Reduce 64-bit values to 63-bit
43835 * math/libm-test.inc (pow_test): Add more tests.
43837 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43839 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43840 <stdio-common/_itoa.h>.
43841 * debug/segfault.c: Likewise.
43842 * elf/dl-cache.c: Likewise.
43843 * elf/dl-minimal.c: Likewise.
43844 * elf/dl-misc.c: Likewise.
43845 * elf/dl-sysdep.c: Likewise.
43846 * elf/dl-version.c: Likewise.
43847 * elf/rtld.c: Likewise.
43848 * hurd/hurdsock.c: Likewise.
43849 * hurd/lookup-retry.c: Likewise.
43850 * malloc/malloc.c: Likewise.
43851 * malloc/mtrace.c: Likewise.
43852 * nscd/nscd_getgr_r.c: Likewise.
43853 * nscd/nscd_getpw_r.c: Likewise.
43854 * nscd/nscd_getserv_r.c: Likewise.
43855 * posix/getopt_init.c: Likewise.
43856 * posix/wordexp.c: Likewise.
43857 * stdio-common/_itoa.c: Likewise.
43858 * stdio-common/printf_fphex.c: Likewise.
43859 * stdio-common/vfprintf.c: Likewise.
43860 * string/_strerror.c: Likewise.
43861 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43862 * sysdeps/i386/i686/hp-timing.h: Likewise.
43863 * sysdeps/mach/_strerror.c: Likewise.
43864 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43865 * sysdeps/mach/hurd/sethostid.c: Likewise.
43866 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43867 * sysdeps/mach/xpg-strerror.c: Likewise.
43868 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43869 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43870 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43871 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43872 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43873 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43874 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43875 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43876 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43877 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43878 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43879 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43880 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43881 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43882 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43883 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43884 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43885 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43886 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43887 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43888 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43890 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43892 * stdio-common/_itoa.h: Moved to ...
43893 * sysdeps/generic/_itoa.h: Here.
43895 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43897 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43898 instead of "_itoa.h" and "_itowa.h".
43899 * stdio-common/vfprintf.: Likewise.
43901 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43903 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43905 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43906 (__signbit): Likwise.
43907 (llrintf): Likwise.
43910 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43912 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43915 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43917 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43918 OVERFLOW_EXCEPTION_OK.
43919 * math/libm-test.inc ("Philosophy"): Update comment about
43921 (OVERFLOW_EXCEPTION): Define.
43922 (OVERFLOW_EXCEPTION_OK): Likewise.
43923 (INVALID_EXCEPTION_OK): Renumber.
43924 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43925 (IGNORE_ZERO_INF_SIGN): Likewise.
43926 (test_exceptions): Handle FE_OVERFLOW.
43927 (exp10_test): Expect overflow exceptions.
43928 (exp2_test): Likewise.
43929 (expm1_test): Likewise.
43930 (nextafter_test): Likewise.
43931 (pow_test): Likewise.
43932 (scalbn_test): Likewise.
43933 (scalbln_test): Likewise.
43935 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43937 * sysdeps/x86_64/bits/atomic.h
43938 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43940 (atomic_exchange_acq): Likewise.
43941 (__arch_exchange_and_add_body): Likewise.
43942 (__arch_add_body): Likewise.
43943 (atomic_add_negative): Likewise.
43944 (atomic_add_zero): Likewise.
43946 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43948 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43949 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43951 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43953 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43954 Check __x86_64__ instead of __WORDSIZE.
43956 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43958 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43960 2012-03-19 David S. Miller <davem@davemloft.net>
43962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43964 * sysdeps/sparc/fpu/fenv_private.h: New file.
43965 * sysdeps/sparc/fpu/math_private.h: Use it.
43966 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43968 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43969 (libc_feholdexcept_setroundl): Remove.
43970 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43972 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43973 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43975 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43977 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43978 int64_t instead of long int.
43979 (INSERT_WORDS64): Likwise.
43981 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43983 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43984 _Unwind_GetCFA return to _Unwind_Ptr first.
43986 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43989 * math/s_clog.c: Include <float.h>.
43990 (__clog): Scale large or subnormal inputs.
43991 * math/s_clogf.c: Likewise.
43992 * math/s_clogl.c: Likewise.
43993 * math/s_clog10.c: Include <float.h>.
43994 (M_LOG10_2): Define.
43995 (__clog10): Scale large or subnormal inputs.
43996 * math/s_clog10f.c: Likewise.
43997 * math/s_clog10l.c: Likewise.
43998 * math/libm-test.inc (clog_test): Add more tests.
43999 (clog10_test): Likewise.
44000 * sysdeps/i386/fpu/libm-test-ulps: Update.
44001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44004 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44006 * math/libm-test.inc (atan2_test): Add another test.
44008 * Makerules (common-objdir-compile): Remove.
44009 * sysdeps/unix/Makefile (config-generated): Do not add
44010 $(unix-generated) to variable.
44011 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44012 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44014 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44016 [generic bits/local_lim.h] (before-compile): Do not append to
44018 [generic bits/local_lim.h] (common-generated): Likewise.
44019 [generic sys/param.h] (before-compile): Do not append to variable.
44020 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44021 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44022 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44023 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44025 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44026 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44027 [generic sys/param.h] ($(addprefix
44028 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44029 [generic sys/param.h] (common-generated): Do not append to
44031 [generic sys/param.h] (sysdep_headers): Likewise.
44032 [generic bits/errno.h] (before-compile): Do not append to
44034 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44036 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44037 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44038 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44039 [generic bits/errno.h] (common-generated): Do not append to
44041 [generic bits/ioctls.h] (before-compile): Do not append to
44043 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44045 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44046 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44047 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44049 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44050 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44051 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44052 [generic bits/ioctls.h] (common-generated): Do not append to
44054 [generic sys/syscall.h] (syscall.h): Remove variable.
44055 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44057 [generic sys/syscall.h] (before-compile): Do not append to
44059 [generic sys/syscall.h] (common-generated): Likewise.
44060 * sysdeps/unix/errnos-tmpl.c: Remove file.
44061 * sysdeps/unix/errnos.awk: Likewise.
44062 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44063 * sysdeps/unix/ioctls.awk: Likewise.
44064 * sysdeps/unix/mk-local_lim.c: Likewise.
44065 * sysdeps/unix/snarf-ioctls: Likewise.
44067 2012-03-19 Richard Henderson <rth@twiddle.net>
44069 * sysdeps/i386/fpu/fenv_private.h: New file.
44070 * sysdeps/i386/fpu/math_private.h: Use it.
44071 (math_opt_barrier, math_force_eval): Remove.
44072 (libc_feholdexcept_setround_53bit): Remove.
44073 (libc_feupdateenv_53bit): Remove.
44074 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44075 (math_opt_barrier, math_force_eval): Remove.
44076 (libc_feholdexcept): Remove.
44077 (libc_feholdexcept_setround): Remove.
44078 (libc_fetestexcept, libc_fesetenv): Remove.
44079 (libc_feupdateenv_test): Remove.
44080 (libc_feupdateenv, libc_feholdsetround): Remove.
44081 (libc_feresetround): Remove.
44083 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44084 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44086 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44087 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44088 (libc_feupdateenv_testl): New.
44089 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44090 (libc_feupdateenv_testf): New.
44091 (libc_feupdateenv): Use libc_feupdateenv_test.
44092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44095 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44096 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44097 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44098 (libc_feresetround_noex): New.
44099 (libc_feresetround_noexf): New.
44100 (libc_feresetround_noexl): New.
44101 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44102 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44103 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44104 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44107 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44109 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44110 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44111 SET_RESTORE_ROUND_NOEX.
44112 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44113 SET_RESTORE_ROUND_NOEXF.
44114 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44115 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44116 (libc_feholdsetroundf): New.
44117 (libc_feresetround, libc_feresetroundf): New.
44119 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44120 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44121 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44123 * sysdeps/generic/math_private.h: Include <fenv.h>.
44124 (default_libc_feholdexcept): New.
44125 (default_libc_feholdexcept_setround): New.
44126 (default_libc_fesetenv, default_libc_feupdateenv): New.
44127 (libc_feholdexcept): Only define if undefined.
44128 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44129 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44130 (libc_feholdexcept_setroundl): Likewise.
44131 (libc_feholdexcept_setround_53bit): Likewise.
44132 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44133 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44134 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44135 (libc_feupdateenv_53bit): Likewise.
44136 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44137 (libc_feholdexcept): Convert from macro to inline function.
44138 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44139 (libc_fesetenv, libc_feupdateenv): Likewise.
44141 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44142 not previously defined.
44143 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44144 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44145 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44146 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44147 * sysdeps/ieee754/flt-32/math_private.h: New file.
44148 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44149 math_private.h below SET_FLOAT_WORD.
44150 (__isnan, __isinf_ns, __finite): Remove.
44151 (__isnanf, __isinf_nsf, __finitef): Remove.
44153 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44157 2012-03-17 David S. Miller <davem@davemloft.net>
44160 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44163 2012-03-16 David S. Miller <davem@davemloft.net>
44165 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44169 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44171 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44172 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44173 sysdep_routines when subdir is sysvipc.
44174 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44175 __getshmlba helper.
44177 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44179 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44181 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44184 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44187 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44188 (__lround): Renamed to ...
44189 (__llround): This. Replace long int with long long int.
44190 Define lround functions as aliases of llround functions.
44191 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44193 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44195 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44196 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44197 adresses to uintptr_t. Replace "long int" and "unsigned long
44198 int" with "greg_t" on va_arg.
44200 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44202 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44203 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44205 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44206 Move e_machine check before EI_CLASS check. Handle x32
44207 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44208 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44209 SKIP_EM_IA_64 and include
44210 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44212 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44213 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44214 (add_system_dir): New macro.
44216 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44217 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44219 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44230 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44232 * math/w_j0f.c (j0f): Likewise.
44234 * math/w_j0l.c (__j0l): Likewise.
44236 * math/w_j1.c (j1): Likewise.
44238 * math/w_j1f.c (j1f): Likewise.
44240 * math/w_j1l.c (__j1l): Likewise.
44242 * math/w_jn.c (jn): Likewise.
44244 * math/w_jnf.c (jnf): Likewise.
44246 * math/w_jnl.c (__jnl): Likewise.
44248 * math/libm-test.inc (j0_test): Add more tests.
44249 (j1_test): Likewise.
44250 (jn_test): Likewise. Add trailing semicolon to existing test.
44251 (y0_test): Likewise.
44252 (y1_test): Likewise.
44253 * sysdeps/i386/fpu/libm-test-ulps: Update.
44254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44258 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44259 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44260 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44262 (__tanl): Set errno for infinite argument.
44263 * sysdeps/i386/fpu/mptan.c: Remove.
44264 * sysdeps/i386/fpu/s_tan.S: Likewise.
44265 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44266 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44267 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44268 * math/libm-test.inc (tan_test): Add more tests and enable more
44269 tests for double and long double.
44270 * sysdeps/i386/fpu/libm-test-ulps: Update.
44271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44273 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44275 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44276 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44278 2012-03-16 Roland McGrath <roland@hack.frob.com>
44280 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44281 * configure.in: Use it for both main tree and add-ons.
44282 * configure: Regenerated.
44284 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44286 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44288 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44290 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44294 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44295 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44296 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44297 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44298 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44300 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44301 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44302 != 0 for prec == 2.
44303 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44304 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44305 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44306 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44307 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44308 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44309 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44310 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44311 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44312 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44313 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44314 * math/libm-test.inc (cos_test): Add more tests and enable more
44315 tests for long double.
44316 (sin_test): Likewise.
44317 (sincos_test): Likewise.
44318 * sysdeps/i386/fpu/libm-test-ulps: Update.
44319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44321 2012-03-16 David S. Miller <davem@davemloft.net>
44323 * sysdeps/sparc/fpu/math_private.h: New file.
44325 2012-03-15 David S. Miller <davem@davemloft.net>
44327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44341 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44342 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44344 * sysdeps/sparc/sparc-ifunc.h: New file.
44345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44390 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44392 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44396 2012-03-15 Andreas Jaeger <aj@suse.de>
44399 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44400 ieee754/flt-32 implementation for sin, cos and sincos.
44401 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44402 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44403 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44404 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44405 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44406 ieee754/flt-32 implementation for tan.
44408 * math/libm-test.inc (cos_test): Enable some large input tests for
44410 (sin_test): Likewise.
44411 (sincos_test): Likewise.
44412 (tan_test): Add tests for large input.
44414 * sysdeps/i386/fpu/libm-test-ulps: Update.
44416 2012-03-15 Andreas Jaeger <aj@suse.de>
44419 * math/libm-test.inc (cos_test): Add more test cases.
44420 (sin_test): Likewise.
44421 (sincos_test): Likewise.
44423 2012-03-15 Andreas Jaeger <aj@suse.de>
44426 * math/libm-test.inc (cos_test): Add a test case for large input
44428 (sin_test): Likewise.
44429 (sincos_test): Likewise.
44431 2012-03-15 Andreas Jaeger <aj@suse.de>
44432 Joseph Myers <joseph@codesourcery.com>
44435 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44436 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44437 * sysdeps/i386/fpu/branred.c: Likewise.
44438 * sysdeps/i386/fpu/dosincos.c: Likewise.
44439 * sysdeps/i386/fpu/mpa.c: Likewise.
44440 * sysdeps/i386/fpu/s_cos.S: Likewise.
44441 * sysdeps/i386/fpu/s_sin.S: Likewise.
44442 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44443 * sysdeps/i386/fpu/sincos32.c: Likewise.
44445 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44447 (libc_feupdateenv_53bit): Define.
44448 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44450 (libc_feupdateenv_53bit): Define.
44452 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44453 53 bit (without extend i386 double precision).
44455 * math/libm-test.inc (sincos_test): Add tests for large input.
44459 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44461 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44465 2012-03-15 David S. Miller <davem@davemloft.net>
44467 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44468 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44469 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44470 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44494 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44495 fmin/fmax sysdep routines.
44496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44498 2012-03-14 David S. Miller <davem@davemloft.net>
44500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44504 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44505 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44506 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44525 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44526 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44528 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44572 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44577 * sysdeps/sparc/configure.in: New file.
44578 * sysdeps/sparc/configure: Generate.
44579 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44580 * configure: Regenerate.
44581 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44582 * config.make.in (have-as-vis3): New.
44583 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44584 available use -Av9d instead of -Av9a.
44585 * sysdeps/sparc/sparc64/Makefile: Likewise.
44586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44601 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44602 fzeros/fnegs to load 0x80000000 into a float register instead of
44604 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44606 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44610 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44611 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44612 ($(inst_includedir)/bits/syscall.h): Remove rule.
44613 ($(objpfx)bits/syscall.d): Include instead of
44614 $(objpfx)syscall-list.d.
44615 (generated): Change syscall-list.h and syscall-list.d to
44616 bits/syscall.h and bits/syscall.d.
44618 2012-03-14 Roland McGrath <roland@hack.frob.com>
44621 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44623 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44626 * math/s_csqrt.c: Include <float.h>.
44627 (__csqrt): Scale large or subnormal inputs.
44628 * math/s_csqrtf.c: Likewise.
44629 * math/s_csqrtl.c: Likewise.
44630 * math/libm-test.inc (csqrt_test): Add more tests.
44631 * sysdeps/i386/fpu/libm-test-ulps: Update.
44632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44635 * math/libm-test.inc (hypot_test): Add more tests.
44637 2012-03-13 David S. Miller <davem@davemloft.net>
44640 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44641 double-precision for the calculation instead of scaling.
44643 2012-03-13 Joseph Myers <joseph@codesourcery.com>
44645 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44646 manipulate bits before adding and subtracting TWO52[sx].
44647 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44648 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44650 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44652 2012-03-13 David S. Miller <davem@davemloft.net>
44654 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44655 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44657 rtld-global-offsets.h
44658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44660 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44663 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44665 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44666 'err' in the ifdef scope in which it is actually used.
44668 * nss/nss_db/db-init.c: Include string.h
44670 2012-03-12 David S. Miller <davem@davemloft.net>
44672 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44673 masking out of the most significant byte of random value used.
44674 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44675 Fix coding style in previous change.
44677 * sysdeps/unix/sysv/linux/kernel-features.h
44678 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44679 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44681 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44684 2012-03-11 David S. Miller <davem@davemloft.net>
44686 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44687 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44688 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44689 for 'resultvar' otherwise things get truncated on 64-bit.
44691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44692 Fix masking out of the most significant byte of random value used.
44694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44696 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44700 2012-03-09 David S. Miller <davem@davemloft.net>
44702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44703 variables with appropriate CPP guards.
44704 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44705 from the frame pointer, not the stack pointer. Correct layout
44706 comments. Fix test on resulting framesize and the management of
44707 the outregs buffer for pltexit. Preserve floating point return
44708 values across _dl_call_pltexit call.
44709 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44710 framesize and the management of the outregs buffer for pltexit.
44711 Preserve floating point return values across _dl_call_pltexit
44713 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44714 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44715 (la_sparc64_gnu_pltexit): New functions.
44716 (print_exit): Fix format string for return register value.
44718 2012-03-10 Joseph Myers <joseph@codesourcery.com>
44720 * sunrpc/Makefile (others): Add rpcgen.
44721 ($(objpfx)rpcgen): Remove special build rule and dependency on
44723 * sunrpc/rpcgen.c: New file.
44725 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44728 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44729 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44730 * sysdeps/i386/crti.S: Likewise.
44731 * sysdeps/i386/crtn.S: Likewise.
44732 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44733 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44734 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44735 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44736 * sysdeps/sh/crti.S: Likewise.
44737 * sysdeps/sh/crtn.S: Likewise.
44738 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44741 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44743 * locale/programs/locfile-kw.gperf: Likewise.
44744 * locale/programs/charmap-kw.h: Regenerated.
44745 * locale/programs/locfile-kw.h: Likewise.
44748 * intl/plural.y: Replace FSF snail mail address with URL.
44749 * intl/plural.c: Regenerated.
44751 2012-03-09 Richard Henderson <rth@twiddle.net>
44753 * include/math_private.h: Remove file.
44754 * math/math_private.h: Move file ...
44755 * sysdeps/generic/math_private.h: ... here.
44757 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44758 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44759 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44761 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44762 and <math_private.h>.
44763 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44764 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44765 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44766 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44767 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44768 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44769 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44771 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44774 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44775 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44776 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44777 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44778 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44779 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44780 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44781 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44782 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44784 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44785 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44787 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44788 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44789 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44790 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44793 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44795 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44796 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44797 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44798 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44799 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44800 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44801 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44803 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44804 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44805 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44806 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44807 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44808 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44809 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44810 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44812 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44813 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44816 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44817 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44818 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44820 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44821 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44822 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44823 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44824 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44826 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44827 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44831 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44832 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44834 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44837 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44839 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44841 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44842 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44843 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44844 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44845 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44847 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44850 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44851 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44852 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44853 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44854 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44855 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44856 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44857 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44858 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44859 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44860 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44861 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44862 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44863 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44864 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44865 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44866 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44867 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44868 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44869 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44870 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44871 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44872 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44873 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44874 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44875 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44876 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44877 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44878 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44879 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44880 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44881 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44882 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44883 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44884 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44885 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44886 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44887 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44888 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44889 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44890 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44891 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44892 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44893 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44894 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44895 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44896 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44897 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44898 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44899 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44900 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44901 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44902 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44903 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44904 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44905 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44906 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44907 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44908 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44909 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44910 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44911 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44912 * sysdeps/ieee754/k_standard.c: Likewise.
44913 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44914 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44915 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44916 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44917 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44918 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44919 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44920 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44929 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44930 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44931 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44932 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44933 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44934 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44935 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44936 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44937 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44938 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44939 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44940 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44941 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44942 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44943 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44944 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44945 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44946 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44947 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44948 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44949 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44950 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44951 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44952 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44953 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44954 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44955 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44956 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44957 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44958 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44959 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44961 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44962 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44963 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44964 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44965 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44966 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44967 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44968 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44969 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44970 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44971 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44972 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44973 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44974 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44975 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44976 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44978 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44979 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44980 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44981 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44983 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44986 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44989 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44990 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44992 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44993 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44994 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44995 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44996 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44998 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44999 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45000 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45001 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45002 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45003 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45004 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45005 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45006 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45008 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45009 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45010 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45011 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45012 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45013 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45014 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45015 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45016 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45017 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45020 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45021 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45022 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45023 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45024 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45025 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45027 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45028 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45029 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45030 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45031 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45032 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45033 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45034 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45036 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45038 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45039 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45040 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45041 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45042 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45043 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45044 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45045 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45046 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45047 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45048 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45049 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45050 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45051 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45052 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45053 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45054 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45055 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45056 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45057 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45058 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45059 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45060 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45061 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45062 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45063 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45064 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45065 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45066 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45067 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45068 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45069 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45070 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45071 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45072 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45073 * sysdeps/ieee754/s_lib_version.c: Likewise.
45074 * sysdeps/ieee754/s_matherr.c: Likewise.
45075 * sysdeps/ieee754/s_signgam.c: Likewise.
45076 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45077 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45078 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45079 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45080 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45081 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45082 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45083 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45084 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45085 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45086 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45087 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45088 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45089 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45090 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45091 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45093 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45098 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45100 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45101 * sunrpc/rpc_main.c: Likewise.
45102 * sunrpc/rpc_svcout.c: Likewise.
45104 2012-03-09 David S. Miller <davem@davemloft.net>
45106 * include/math_private.h: New file.
45108 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45110 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45111 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45112 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45113 from <bits/socket_type.h>.
45114 (enum __socket_type): Don't define here.
45115 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45117 bits/socket_type.h.
45120 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45121 checking __USE_GNU.
45123 * Makerules ($(inst_includedir)/%.h): New rule.
45124 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45125 (install-others): Remove variable setting.
45126 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45128 2012-03-08 Richard Henderson <rth@twiddle.net>
45130 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45131 from macro to inline function; merge with the
45132 !__LIBC_INTERNAL_MATH_INLINES version.
45133 (__ieee754_sqrtf): Likewise.
45135 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45136 to inline function.
45137 (__rintf, __floor, __floorf): Likewise.
45139 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45140 macro to inline function.
45141 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45143 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45144 not <math/math_private.h>.
45146 2012-03-08 David S. Miller <davem@davemloft.net>
45148 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45150 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45152 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45154 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45156 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45157 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45159 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45161 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45162 be defined individually, they must be defined as a block. Define
45163 S for printing a string instead of hidint the different by using a
45164 macro for adding the 'l'.
45165 * stdio-common/tst-fphex-wide.c: Adjust.
45167 2012-03-07 Marek Polacek <polacek@redhat.com>
45169 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45171 2012-03-08 Marek Polacek <polacek@redhat.com>
45174 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45175 * stdio-common/tst-fphex.c: Define a few macros to make the
45176 test reusable. Use them.
45177 * stdio-common/tst-fphex-wide.c: New file.
45179 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45182 * manual/macros.texi (gnusystems): New macro.
45183 (nongnusystems): Likewise.
45184 (gnulinuxhurdsystems): Likewise.
45185 (gnuhurdsystems): Likewise..
45186 (gnulinuxsystems): Likewise.
45187 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45188 variants of the GNU system, not "GNU system".
45189 * manual/conf.texi: Likewise.
45190 * manual/errno.texi: Likewise. Update example of errno macro
45192 * manual/filesys.texi: Likewise.
45193 (getumask): Document as specific to GNU/Hurd.
45194 * manual/install.texi: Likewise. Reword some references to
45196 * manual/intro.texi: Likewise.
45197 * manual/io.texi: Likewise.
45198 (File Name Portability): Detail which constraints are inapplicable
45199 to all GNU systems and which are only inapplicable to GNU/Hurd.
45200 * manual/job.texi: Likewise.
45201 * manual/llio.texi: Likewise.
45202 (O_NOCTTY): Document as present on GNU/Linux.
45203 * manual/maint.texi: Likewise.
45204 * manual/memory.texi: Likewise.
45205 * manual/pattern.texi: Likewise.
45206 * manual/pipe.texi: Likewise.
45207 * manual/process.texi: Likewise.
45208 * manual/resource.texi: Likewise.
45209 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45211 * manual/setjmp.texi: Likewise.
45212 * manual/signal.texi: Likewise.
45213 * manual/startup.texi: Likewise.
45214 * manual/stdio.texi: Likewise.
45215 * manual/terminal.texi: Likewise.
45216 (ONLCR): Document as POSIX.
45217 (OXTABS): Document availability on GNU/Linux as XTABS.
45218 (ONOEOT): Document availability separately from other bits.
45219 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45220 * manual/time.texi: Likewise.
45221 * manual/users.texi: Likewise.
45222 * INSTALL: Regenerated.
45223 * sysdeps/gnu/errlist.c: Regenerated.
45225 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45226 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45227 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45229 * configure: Regenerated.
45231 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45233 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45234 default includes instead of AC_HEADER_CHECK.
45235 * sysdeps/i386/configure: Regenerated.
45238 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45239 * math/s_cacoshf.c (__cacoshf): Likewise.
45240 * math/s_cacoshl.c (__cacoshl): Likewise.
45241 * math/s_casinh.c (__casinh): Set signs of result from argument.
45242 * math/s_casinhf.c (__casinhf): Likewise.
45243 * math/s_casinhl.c (__casinhl): Likewise.
45244 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45245 (casinh_test): Add more tests.
45246 * sysdeps/i386/fpu/libm-test-ulps: Update.
45247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45249 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45251 * po/zh_TW.po: Update from translation team.
45253 * login/Makefile (distribute): Remove variable.
45254 * catgets/Makefile: Likewise.
45255 * mach/Makefile: Likewise.
45256 * malloc/Makefile: Likewise.
45257 * misc/Makefile: Likewise.
45258 * iconv/Makefile: Likewise.
45259 * nscd/Makefile: Likewise.
45260 * hurd/Makefile: Likewise.
45261 * manual/Makefile: Likewise.
45262 * locale/Makefile: Likewise.
45263 * intl/Makefile: Likewise.
45264 * conform/Makefile: Likewise.
45265 * nss/Makefile: Likewise.
45266 * time/Makefile: Likewise.
45267 * soft-fp/Makefile: Likewise.
45268 * dirent/Makefile: Likewise.
45269 * gmon/Makefile: Likewise.
45270 * po/Makefile: Likewise.
45271 * rt/Makefile: Likewise.
45272 * socket/Makefile: Likewise.
45273 * math/Makefile: Likewise.
45274 * signal/Makefile: Likewise.
45275 * debug/Makefile: Likewise.
45276 * elf/Makefile: Likewise.
45277 * timezone/Makefile: Likewise.
45278 * stdlib/Makefile: Likewise.
45279 * iconvdata/Makefile: Likewise.
45280 * sunrpc/Makefile: Likewise.
45281 * io/Makefile: Likewise.
45282 * argp/Makefile: Likewise.
45283 * inet/Makefile: Likewise.
45284 * hesiod/Makefile: Likewise.
45285 * grp/Makefile: Likewise.
45286 * csu/Makefile: Likewise.
45287 * wctype/Makefile: Likewise.
45288 * crypt/Makefile: Likewise.
45289 * libio/Makefile: Likewise.
45290 * string/Makefile: Likewise.
45291 * nis/Makefile: Likewise.
45292 * resolv/Makefile: Likewise.
45293 * stdio-common/Makefile: Likewise.
45294 * wcsmbs/Makefile: Likewise.
45295 * dlfcn/Makefile: Likewise.
45296 * posix/Makefile: Likewise.
45299 * timezone/Makefile: Don't install timezone files, just the programs
45302 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45304 * nss/databases.def: Add missing gshadow entry.
45306 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45308 2012-03-06 Marek Polacek <polacek@redhat.com>
45311 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45312 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45313 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45314 * stdio-common/tst-long-dbl-fphex.c: New file.
45316 2012-03-06 David S. Miller <davem@davemloft.net>
45318 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45319 (set_obp_int): New function.
45320 (get_obp_int): New function.
45321 (__get_clockfreq_via_dev_openprom): Likewise.
45322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45323 Avoid unused variable warnings on 'val' and use builtin_expect.
45324 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45326 (INLINE_CLONE_SYSCALL): Likewise.
45328 2012-03-05 David S. Miller <davem@davemloft.net>
45330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45332 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45336 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45337 only for |x| >= 40.
45338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45340 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45343 Replace gettimeofday with __vdso_gettimeofday.
45345 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45346 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45347 __vdso_clock_gettime and __vdso_getcpu.
45349 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45350 time with __vdso_time.
45352 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45354 * manual/lang.texi (size_t): Note types to which size_t may be
45355 equivalent with the GNU C Library, but do not describe when
45356 differences between them are significant.
45358 2012-03-05 Andreas Jaeger <aj@suse.de>
45360 * sysdeps/i386/fpu/libm-test-ulps: Update.
45362 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45365 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45366 (__ieee754_pow): Save and restore rounding mode and use
45367 round-to-nearest for main computations.
45368 * math/libm-test.inc (pow_test_tonearest): New function.
45369 (pow_test_towardzero): Likewise.
45370 (pow_test_downward): Likewise.
45371 (pow_test_upward): Likewise.
45372 (main): Call the new functions.
45373 * sysdeps/i386/fpu/libm-test-ulps: Update.
45374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45377 * math/libm-test.inc (cosh_test_tonearest): New function.
45378 (cosh_test_towardzero): Likewise.
45379 (cosh_test_downward): Likewise.
45380 (cosh_test_upward): Likewise.
45381 (sinh_test_tonearest): Likewise.
45382 (sinh_test_towardzero): Likewise.
45383 (sinh_test_downward): Likewise.
45384 (sinh_test_upward): Likewise.
45385 (main): Call the new functions.
45386 * sysdeps/i386/fpu/libm-test-ulps: Update.
45387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45389 2012-03-05 Tom de Vries <tom@codesourcery.com>
45391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45392 default stack guard is set in last bytes.
45393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45395 2012-03-05 Kees Cook <keescook@chromium.org>
45397 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45400 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45401 possibly allocate from heap instead of stack.
45402 * stdio-common/bug-vfprintf-nargs.c: New file.
45403 * stdio-common/Makefile (tests): Add nargs overflow test.
45405 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45409 2012-03-03 Marek Polacek <polacek@redhat.com>
45411 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45412 * math/math_private.h: Likewise.
45413 * stdlib/tst-strtod.c: Likewise.
45414 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45415 * sysdeps/x86_64/bits/atomic.h: Likewise.
45417 2012-03-02 David S. Miller <davem@davemloft.net>
45419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45423 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45424 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45425 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45426 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45428 2012-03-02 Roland McGrath <roland@hack.frob.com>
45431 * manual/examples/README: New file, says the example source files
45432 can be used under GPL>=2.
45433 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45434 line containing just "*/".
45435 * manual/examples/add.c: Add copyright header (GPL>=2).
45436 * manual/examples/argp-ex1.c: Likewise.
45437 * manual/examples/argp-ex2.c: Likewise.
45438 * manual/examples/argp-ex3.c: Likewise.
45439 * manual/examples/argp-ex4.c: Likewise.
45440 * manual/examples/atexit.c: Likewise.
45441 * manual/examples/db.c: Likewise.
45442 * manual/examples/dir.c: Likewise.
45443 * manual/examples/dir2.c: Likewise.
45444 * manual/examples/execinfo.c: Likewise.
45445 * manual/examples/filecli.c: Likewise.
45446 * manual/examples/filesrv.c: Likewise.
45447 * manual/examples/fmtmsgexpl.c: Likewise.
45448 * manual/examples/genpass.c: Likewise.
45449 * manual/examples/inetcli.c: Likewise.
45450 * manual/examples/inetsrv.c: Likewise.
45451 * manual/examples/isockad.c: Likewise.
45452 * manual/examples/longopt.c: Likewise.
45453 * manual/examples/memopen.c: Likewise.
45454 * manual/examples/memstrm.c: Likewise.
45455 * manual/examples/mkfsock.c: Likewise.
45456 * manual/examples/mkisock.c: Likewise.
45457 * manual/examples/mygetpass.c: Likewise.
45458 * manual/examples/pipe.c: Likewise.
45459 * manual/examples/popen.c: Likewise.
45460 * manual/examples/rprintf.c: Likewise.
45461 * manual/examples/search.c: Likewise.
45462 * manual/examples/select.c: Likewise.
45463 * manual/examples/setjmp.c: Likewise.
45464 * manual/examples/sigh1.c: Likewise.
45465 * manual/examples/sigusr.c: Likewise.
45466 * manual/examples/stpcpy.c: Likewise.
45467 * manual/examples/strdupa.c: Likewise.
45468 * manual/examples/strftim.c: Likewise.
45469 * manual/examples/strncat.c: Likewise.
45470 * manual/examples/subopt.c: Likewise.
45471 * manual/examples/swapcontext.c: Likewise.
45472 * manual/examples/termios.c: Likewise.
45473 * manual/examples/testopt.c: Likewise.
45474 * manual/examples/testpass.c: Likewise.
45475 * manual/examples/timeval_subtract.c: Likewise.
45478 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45480 * manual/timeval_subtract.c.texi: ... here, new file.
45482 2012-03-02 David S. Miller <davem@davemloft.net>
45484 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45486 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45489 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45490 (__sin): Save and restore rounding mode and use round-to-nearest
45491 for all computations.
45492 (__cos): Save and restore rounding mode and use round-to-nearest
45493 for all computations.
45494 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45496 (tan): Save and restore rounding mode and use round-to-nearest for
45498 * math/libm-test.inc (cos_test_tonearest): New function.
45499 (cos_test_towardzero): Likewise.
45500 (cos_test_downward): Likewise.
45501 (cos_test_upward): Likewise.
45502 (sin_test_tonearest): Likewise.
45503 (sin_test_towardzero): Likewise.
45504 (sin_test_downward): Likewise.
45505 (sin_test_upward): Likewise.
45506 (tan_test_tonearest): Likewise.
45507 (tan_test_towardzero): Likewise.
45508 (tan_test_downward): Likewise.
45509 (tan_test_upward): Likewise.
45510 (main): Call the new functions.
45511 * sysdeps/i386/fpu/libm-test-ulps: Update.
45512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45515 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45516 small n, then large n, before computing and testing k+n.
45517 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45518 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45522 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45523 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45524 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45525 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45526 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45527 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45528 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45530 * math/libm-test.inc (scalbn_test): Add more tests.
45531 (scalbln_test): Likewise.
45533 * manual/filesys.texi (mode_t): Describe constraints on size and
45534 signedness, not exact equivalence to a particular type.
45536 (ino64_t): Likewise.
45538 (nlink_t): Likewise.
45539 (blkcnt_t): Likewise.
45540 (blkcnt64_t): Likewise.
45541 * manual/llio.texi (off_t): Likewise.
45544 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45545 (__ieee754_exp): Save and restore rounding mode and use
45546 round-to-nearest for all computations.
45547 * math/libm-test.inc (exp_test_tonearest): New function.
45548 (exp_test_towardzero): Likewise.
45549 (exp_test_downward): Likewise.
45550 (exp_test_upward): Likewise.
45551 (main): Call the new functions.
45552 * sysdeps/i386/fpu/libm-test-ulps: Update.
45553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45555 2012-03-01 Chris Demetriou <cgd@google.com>
45557 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45558 have predictable order.
45560 2012-03-01 David S. Miller <davem@davemloft.net>
45562 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45564 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45565 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45566 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45567 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45569 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45570 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45571 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45573 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45574 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45575 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45576 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45577 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45581 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45582 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45583 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45585 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45586 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45587 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45588 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45589 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45592 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45593 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45594 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45595 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45599 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45601 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45602 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45603 * sysdeps/sparc/elf/configure: Regenerated.
45605 2012-03-01 Joseph Myers <joseph@codesourcery.com>
45607 * configure.in (AS, LD): Require binutils 2.20 or later.
45608 * configure: Regenerated.
45609 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45610 as required minimum version.
45611 * INSTALL: Regenerated.
45615 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45616 before squaring exponent.
45617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45618 bottom long double and 27 bits of top long double before squaring
45620 * math/libm-test.inc (erfc_test): Add more tests.
45621 * sysdeps/i386/fpu/libm-test-ulps: Update.
45622 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45625 2012-03-01 Kai Tietz <ktietz@redhat.com>
45627 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45628 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45629 containing bit-fields.
45630 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45631 * soft-fp/single.h (_FP_UNION_S): Likewise.
45632 * soft-fp/double.h (_FP_UNION_D): Likewise.
45634 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45637 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45638 not include ../strcmp.S.
45639 [USE_AS_STRNCASECMP_L]: Likewise.
45640 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45641 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45642 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45643 (__strncasecmp_l_ia32): Define as alias to
45644 __strncasecmp_l_nonascii.
45647 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45648 * sysdeps/i386/fpu/libm-test-ulps: Update.
45649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45651 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45654 2012-02-29 Jeff Law <law@redhat.com>
45656 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45657 out of bounds read.
45659 2012-02-29 Marek Polacek <polacek@redhat.com>
45662 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45663 * elf/Makefile: Add rules to run tst-unused-dep.out.
45665 2012-02-28 David S. Miller <davem@davemloft.net>
45667 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45668 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45669 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45670 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45671 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45672 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45674 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45676 * math/libm-test.inc (llround_test): Move one test from
45677 lround_test. Use TEST_f_L in moved test.
45678 (lround_test): Move misplaced test to llround_test. Add testcase
45681 2012-02-28 Ulrich Drepper <drepper@gmail.com>
45683 * sysdeps/x86_64/fpu/e_expf.S: New file.
45684 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45686 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45689 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45690 of remain_len that may cause incomplete multi-byte character and
45692 * posix/bug-regex33.c: New file.
45693 * posix/Makefile (tests): Add bug-regex33.
45695 2012-02-28 Joseph Myers <joseph@codesourcery.com>
45697 * manual/macros.texi: New file.
45698 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45699 * manual/libc.texinfo: Include macros.texi.
45700 * manual/creatute.texi: Likewise.
45701 * manual/install.texi: Likewise.
45702 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45703 @glibcadj{} in references to the GNU C Library.
45704 * manual/charset.texi: Likewise.
45705 * manual/conf.texi: Likewise.
45706 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45707 when not using those macros.
45708 * manual/creature.texi: Likewise.
45709 * manual/crypt.texi: Likewise.
45710 * manual/errno.texi: Likewise.
45711 * manual/filesys.texi: Likewise.
45712 * manual/header.texi: Likewise.
45713 * manual/install.texi: Likewise.
45714 * manual/intro.texi: Likewise.
45715 * manual/io.texi: Likewise.
45716 * manual/job.texi: Likewise.
45717 * manual/lang.texi: Likewise.
45718 * manual/libc.texiinfo: Likewise.
45719 * manual/llio.texi: Likewise.
45720 * manual/locale.texi: Likewise.
45721 * manual/maint.texi: Likewise.
45722 * manual/math.texi: Likewise.
45723 * manual/memory.texi: Likewise.
45724 * manual/message.texi: Likewise.
45725 * manual/nss.texi: Likewise.
45726 * manual/pattern.texi: Likewise.
45727 * manual/process.texi: Likewise.
45728 * manual/resource.texi: Likewise.
45729 * manual/search.texi: Likewise.
45730 * manual/setjmp.texi: Likewise.
45731 * manual/signal.texi: Likewise.
45732 * manual/socket.texi: Likewise.
45733 * manual/startup.texi: Likewise.
45734 * manual/stdio.texi: Likewise.
45735 * manual/string.texi: Likewise.
45736 * manual/sysinfo.texi: Likewise.
45737 * manual/syslog.texi: Likewise.
45738 * manual/terminal.texi: Likewise.
45739 * manual/time.texi: Likewise.
45740 * manual/users.texi: Likewise.
45741 * INSTALL: Regenerated.
45742 * NOTES: Regenerated.
45743 * sysdeps/gnu/errlist.c: Regenerated.
45745 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45747 * include/dirent.h: Include <dirstream.h> before
45750 2012-02-28 David S. Miller <davem@davemloft.net>
45752 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45753 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45754 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45755 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45757 2012-02-27 David S. Miller <davem@davemloft.net>
45759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45761 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45762 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45765 frame pointer instead of stack pointer relative arg slot.
45766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45767 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45768 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45770 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45773 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45775 2012-02-27 David S. Miller <davem@davemloft.net>
45777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45781 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45782 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45783 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45784 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45786 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45788 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45789 later. Allow versions 5-9.
45790 * configure: Regenerated.
45791 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45792 required minimum version and 4.6 as recommended version. Do not
45793 mention bugs in GCC 2.7 and 2.8.
45794 * INSTALL: Regenerated.
45796 2012-02-27 David S. Miller <davem@davemloft.net>
45798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45804 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45808 manipulate bits before adding and subtracting TWO112[sx].
45809 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45811 2012-02-27 Roland McGrath <roland@hack.frob.com>
45814 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45815 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45816 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45817 being in POSIX, because they are in 1003.1-2008.
45819 * rt/tst-aio.c: Include <fcntl.h>.
45820 * rt/tst-aio7.c: Likewise.
45821 * rt/tst-aio64.c: Likewise.
45823 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45825 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45827 * manual/install.texi (--with-headers): Describe headers as
45828 interface headers, not private headers.
45829 (Specific advice for GNU/Linux systems): Describe use of headers
45830 from "make headers_install", not private headers from older
45832 * INSTALL: Regenerated.
45833 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45835 * sysdeps/unix/sysv/linux/configure: Regenerated.
45837 * manual/llio.texi (fclean): Remove documentation.
45839 * manual/Makefile (libc-texi-generated): New variable. Include
45841 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45842 $(libc-texi-generated), not duplicated list of files.
45843 (version.texi, stamp-version): New rules.
45844 (realclean): Remove $(libc-texi-generated), not individual files
45845 from that list. Do not remove dir-add.texinfo.
45846 * manual/libc.texinfo: Comment out uses of edition numbers and
45847 references to printed manual. Remove last-updated dates.
45848 (EDITION): Comment out.
45850 (VERSION, UPDATED): Remove.
45851 (version.texi): Include.
45853 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45855 * sysdeps/posix/spawni.c: Include <signal.h>.
45856 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45857 * sysdeps/pthread/aio_fsync.c: Likewise.
45859 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45861 * conform/Makefile (tests): Run only when not cross-compiling and
45862 when fast-check is not defined.
45864 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45865 * conform/data/limits.h-data: Fixes for POSIX2008.
45866 * conform/run-conformtest.sh: Run all tests.
45867 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45869 * include/bits/dlfcn.h: Likewise.
45870 * include/langinfo.h: Likewise.
45871 * include/monetary.h: Likewise.
45872 * include/sys/poll.h: Likewise.
45874 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45876 * posix/spawn.h: Define __need_sigset_t.
45877 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45878 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45879 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45880 to get sigevent_t only.
45881 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45882 only for __USE_GNU.
45883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45884 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45885 process_vm_writev only for __USE_GNU.
45886 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45888 * conform/Makefile: For now ignore errors from run-conformtest.
45889 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45890 POSIX to avoid namespace pollution. Don't prepend headers.
45891 * conform/data/aio.h-data: Fixes for POSIX testing.
45892 * conform/data/fcntl.h-data: Likewise.
45893 * conform/data/glob.h-data: Likewise.
45894 * conform/data/grp.h-data: Likewise.
45895 * conform/data/pthread.h-data: Likewise.
45896 * conform/data/pwd.h-data: Likewise.
45897 * conform/data/signal.h-data: Likewise.
45898 * conform/data/spawn.h-data: Likewise.
45899 * conform/data/stdio.h-data: Likewise.
45900 * conform/data/stdlib.h-data: Likewise.
45901 * conform/data/stropts.h-data: Likewise.
45902 * conform/data/sys/mman.h-data: Likewise.
45903 * conform/data/sys/stat.h-data: Likewise.
45904 * conform/data/sys/types.h-data: Likewise.
45905 * conform/data/sys/wait.h-data: Likewise.
45906 * conform/data/time.h-data: Likewise.
45907 * conform/data/unistd.h-data: Likewise.
45908 * conform/data/utime.h-data: Likewise.
45910 * io/sys/stat.h: fchmod was always in POSIX.
45911 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45912 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45913 * rt/aio.h: Define __need_timespec before including <time.h>.
45914 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45915 struct. Add forward declaration of pthread_attr_t and use it in
45917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45919 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45920 always remove CLK_TCK definition.
45922 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45924 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45926 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45928 * conform/run-conformtest.sh: New file.
45929 * conform/Makefile: Run run-conformtest for tests.
45930 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45933 * conform/data/uchar.h-data: New file.
45934 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45935 * conform/data/arpa/inet.h-data: Likewise.
45936 * conform/data/assert.h-data: Likewise.
45937 * conform/data/complex.h-data: Likewise.
45938 * conform/data/cpio.h-data: Likewise.
45939 * conform/data/ctype.h-data: Likewise.
45940 * conform/data/dirent.h-data: Likewise.
45941 * conform/data/dlfcn.h-data: Likewise.
45942 * conform/data/errno.h-data: Likewise.
45943 * conform/data/fcntl.h-data: Likewise.
45944 * conform/data/float.h-data: Likewise.
45945 * conform/data/fmtmsg.h-data: Likewise.
45946 * conform/data/fnmatch.h-data: Likewise.
45947 * conform/data/ftw.h-data: Likewise.
45948 * conform/data/glob.h-data: Likewise.
45949 * conform/data/grp.h-data: Likewise.
45950 * conform/data/iconv.h-data: Likewise.
45951 * conform/data/inttypes.h-data: Likewise.
45952 * conform/data/langinfo.h-data: Likewise.
45953 * conform/data/libgen.h-data: Likewise.
45954 * conform/data/limits.h-data: Likewise.
45955 * conform/data/locale.h-data: Likewise.
45956 * conform/data/math.h-data: Likewise.
45957 * conform/data/monetary.h-data: Likewise.
45958 * conform/data/mqueue.h-data: Likewise.
45959 * conform/data/ndbm.h-data: Likewise.
45960 * conform/data/net/if.h-data: Likewise.
45961 * conform/data/netdb.h-data: Likewise.
45962 * conform/data/netinet/in.h-data: Likewise.
45963 * conform/data/nl_types.h-data: Likewise.
45964 * conform/data/poll.h-data: Likewise.
45965 * conform/data/pthread.h-data: Likewise.
45966 * conform/data/pwd.h-data: Likewise.
45967 * conform/data/regex.h-data: Likewise.
45968 * conform/data/sched.h-data: Likewise.
45969 * conform/data/search.h-data: Likewise.
45970 * conform/data/semaphore.h-data: Likewise.
45971 * conform/data/setjmp.h-data: Likewise.
45972 * conform/data/signal.h-data: Likewise.
45973 * conform/data/spawn.h-data: Likewise.
45974 * conform/data/stdarg.h-data: Likewise.
45975 * conform/data/stdio.h-data: Likewise.
45976 * conform/data/stdlib.h-data: Likewise.
45977 * conform/data/string.h-data: Likewise.
45978 * conform/data/strings.h-data: Likewise.
45979 * conform/data/stropts.h-data: Likewise.
45980 * conform/data/sys/ipc.h-data: Likewise.
45981 * conform/data/sys/mman.h-data: Likewise.
45982 * conform/data/sys/msg.h-data: Likewise.
45983 * conform/data/sys/resource.h-data: Likewise.
45984 * conform/data/sys/select.h-data: Likewise.
45985 * conform/data/sys/sem.h-data: Likewise.
45986 * conform/data/sys/shm.h-data: Likewise.
45987 * conform/data/sys/socket.h-data: Likewise.
45988 * conform/data/sys/stat.h-data: Likewise.
45989 * conform/data/sys/statvfs.h-data: Likewise.
45990 * conform/data/sys/time.h-data: Likewise.
45991 * conform/data/sys/timeb.h-data: Likewise.
45992 * conform/data/sys/times.h-data: Likewise.
45993 * conform/data/sys/types.h-data: Likewise.
45994 * conform/data/sys/uio.h-data: Likewise.
45995 * conform/data/sys/un.h-data: Likewise.
45996 * conform/data/sys/utsname.h-data: Likewise.
45997 * conform/data/sys/wait.h-data: Likewise.
45998 * conform/data/syslog.h-data: Likewise.
45999 * conform/data/tar.h-data: Likewise.
46000 * conform/data/termios.h-data: Likewise.
46001 * conform/data/utime.h-data: Likewise.
46002 * conform/data/utmpx.h-data: Likewise.
46003 * conform/data/varargs.h-data: Likewise.
46004 * conform/data/wchar.h-data: Likewise.
46005 * conform/data/wctype.h-data: Likewise.
46006 * conform/data/wordexp.h-data: Likewise.
46008 * include/stropts.h: New file.
46009 * include/uchar.h: New file.
46010 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46011 * include/assert.h: Likewise.
46012 * include/ctype.h: Likewise.
46013 * include/dirent.h: Likewise.
46014 * include/dlfcn.h: Likewise.
46015 * include/fcntl.h: Likewise.
46016 * include/fnmatch.h: Likewise.
46017 * include/glob.h: Likewise.
46018 * include/grp.h: Likewise.
46019 * include/libio.h: Likewise.
46020 * include/locale.h: Likewise.
46021 * include/math.h: Likewise.
46022 * include/net/if.h: Likewise.
46023 * include/netdb.h: Likewise.
46024 * include/netinet/in.h: Likewise.
46025 * include/pthread.h: Likewise.
46026 * include/pwd.h: Likewise.
46027 * include/regex.h: Likewise.
46028 * include/sched.h: Likewise.
46029 * include/search.h: Likewise.
46030 * include/setjmp.h: Likewise.
46031 * include/signal.h: Likewise.
46032 * include/stdio.h: Likewise.
46033 * include/stdlib.h: Likewise.
46034 * include/string.h: Likewise.
46035 * include/sys/cdefs.h: Likewise.
46036 * include/sys/mman.h: Likewise.
46037 * include/sys/msg.h: Likewise.
46038 * include/sys/resource.h: Likewise.
46039 * include/sys/select.h: Likewise.
46040 * include/sys/socket.h: Likewise.
46041 * include/sys/stat.h: Likewise.
46042 * include/sys/statvfs.h: Likewise.
46043 * include/sys/time.h: Likewise.
46044 * include/sys/times.h: Likewise.
46045 * include/sys/uio.h: Likewise.
46046 * include/sys/utsname.h: Likewise.
46047 * include/sys/wait.h: Likewise.
46048 * include/termios.h: Likewise.
46049 * include/time.h: Likewise.
46050 * include/ulimit.h: Likewise.
46051 * include/unistd.h: Likewise.
46052 * include/utime.h: Likewise.
46053 * include/wchar.h: Likewise.
46054 * include/wctype.h: Likewise.
46055 * include/wordexp.h: Likewise.
46057 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46059 * time/time.h: TIME_UTC must be a macro.
46060 Make timespec_get available for ISO C11 only as well.
46062 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46064 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46065 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46067 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46069 * configure.in: Use -o not -a in test for unsupported multi-arch.
46071 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46073 * manual/texinfo.tex: Update to version 2012-01-19.16.
46075 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46077 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46079 2012-02-24 Roland McGrath <roland@hack.frob.com>
46082 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46083 * manual/fdl-1.3.texi: New file.
46084 * manual/fdl-1.1.texi: File removed.
46087 * manual/libc.texinfo (FDL_VERSION): New @set.
46088 Use it for mention of FDL in cover text.
46089 (Documentation License): Use it in @include file name.
46091 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46092 Roland McGrath <roland@hack.frob.com>
46095 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46096 (not LONG_LONG_MAX and LONG_LONG_MIN.
46097 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46098 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46100 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46102 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46106 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46107 manipulate bits before adding and subtracting TWO23[sx].
46108 * math/libm-test.inc (nearbyint_test): Add more tests.
46110 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46113 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46114 bits before adding and subtracting TWO23[sx].
46115 * math/libm-test.inc (rint_test): Add more tests.
46116 (rint_test_tonearest): Likewise.
46117 (rint_test_towardzero): Likewise.
46118 (rint_test_downward): Likewise.
46119 (rint_test_upward: Likewise.
46121 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46124 * include/stdc-predef.h: New file. Extracted from features.h.
46125 * include/features.h: Include stdc-predef.h.
46126 * Makefile (headers): Add stdc-predef.h.
46127 * CONFORMANCE (Compiler limitations): Update.
46129 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46131 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46133 2012-02-21 David S. Miller <davem@davemloft.net>
46135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46136 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46138 2012-02-20 David S. Miller <davem@davemloft.net>
46140 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46141 using a normal save/restore sequence, rather than allocating a
46142 dummy stack frame just to store a frame pointer and restore.
46143 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46145 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46147 * manual/install.texi: Fix stray word in line-wrapped comment.
46149 2012-02-20 David S. Miller <davem@davemloft.net>
46151 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46152 both binutils and gcc support GOTDATA.
46154 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46155 "rd %pc" in the PIC register setup sequences.
46157 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46158 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46159 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46160 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46161 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46163 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46166 (SYSCALL_ERROR_HANDLER): Likewise.
46167 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46168 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46170 (SYSCALL_ERROR_HANDLER): Likewise.
46172 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46173 (HAVE_GCC_GOTDATA): New.
46174 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46175 relocation support in both binutils and gcc.
46176 * sysdeps/sparc/elf/configure: Regenerate.
46178 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46179 * sysdeps/sparc/sparc32/elf/configure: Delete.
46180 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46181 * sysdeps/sparc/sparc64/elf/configure: Delete.
46182 * sysdeps/sparc/elf/configure.in: New file.
46183 * sysdeps/sparc/elf/configure: Generate.
46185 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46186 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46187 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46188 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46189 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46191 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46193 * manual/install.texi: Do not mention specific glibc version
46195 * manual/libc.texinfo (VERSION, UPDATED): Update.
46196 (@copying): Use @copyright{} and range of years.
46198 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46201 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46202 [crti.S not in sysdirs] (generated): Do not append.
46203 [crti.S not in sysdirs] (omit-deps): Likewise.
46204 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46205 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46206 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46207 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46208 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46210 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46211 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46212 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46213 * csu/defs.awk: Remove file.
46214 * sysdeps/generic/initfini.c: Likewise.
46215 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46217 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46220 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46222 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46223 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46224 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46225 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46226 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46227 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46229 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46230 (__EPOLL_PACKED): Define to empty if not defined by
46232 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46236 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46238 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46239 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46240 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46241 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46243 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46247 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46249 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46256 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46258 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46259 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46261 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46263 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46264 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46266 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46268 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46271 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46273 * math/w_acos.c: Use non-signaling floating-point comparisons.
46274 * math/w_acosf.c: Likewise.
46275 * math/w_acosh.c: Likewise.
46276 * math/w_acoshf.c: Likewise.
46277 * math/w_acoshl.c: Likewise.
46278 * math/w_acosl.c: Likewise.
46279 * math/w_asin.c: Likewise.
46280 * math/w_asinf.c: Likewise.
46281 * math/w_asinl.c: Likewise.
46282 * math/w_atanh.c: Likewise.
46283 * math/w_atanhf.c: Likewise.
46284 * math/w_atanhl.c: Likewise.
46285 * math/w_exp2.c: Likewise.
46286 * math/w_exp2f.c: Likewise.
46287 * math/w_exp2l.c: Likewise.
46288 * math/w_j0.c: Likewise.
46289 * math/w_j0f.c: Likewise.
46290 * math/w_j0l.c: Likewise.
46291 * math/w_j1.c: Likewise.
46292 * math/w_j1f.c: Likewise.
46293 * math/w_j1l.c: Likewise.
46294 * math/w_jn.c: Likewise.
46295 * math/w_jnf.c: Likewise.
46296 * math/w_log.c: Likewise.
46297 * math/w_log10.c: Likewise.
46298 * math/w_log10f.c: Likewise.
46299 * math/w_log10l.c: Likewise.
46300 * math/w_log2.c: Likewise.
46301 * math/w_log2f.c: Likewise.
46302 * math/w_log2l.c: Likewise.
46303 * math/w_logf.c: Likewise.
46304 * math/w_logl.c: Likewise.
46305 * math/w_sqrt.c: Likewise.
46306 * math/w_sqrtf.c: Likewise.
46307 * math/w_sqrtl.c: Likewise.
46308 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46309 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46311 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46312 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46314 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46317 * manual/string.texi (strnlen): Use correct parameter name in
46318 equivalent expression.
46320 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46323 * manual/users.texi (seteuid): Consistently use neweuid for
46326 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46329 * manual/nss.texi (Services in the NSS configuration): Correct
46330 list of services in example configuration file.
46332 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46335 * manual/arith.texi: Remove statements about negative zero
46336 behaving identically to zero.
46338 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46341 * manual/install.texi: Do not document upgrading from libc5.
46343 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46346 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46348 2012-02-18 David S. Miller <davem@davemloft.net>
46350 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46351 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46352 %o7 across the call.
46353 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46356 SETUP_PIC_REG_LEAF.
46357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46358 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46359 * sysdeps/sparc/crtn.S: Likewise.
46361 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46363 * aout/Makefile: Remove.
46365 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46368 * manual/examples/argp-ex1.c (main): Format definition in GNU
46370 * manual/examples/argp-ex2.c (main): Likewise.
46371 * manual/examples/argp-ex3.c (main): Likewise.
46372 * manual/examples/argp-ex4.c (main): Likewise.
46373 * manual/examples/longopt.c (main): Use new-style prototype
46375 * manual/examples/strncat.c (main): Specify return type and use
46376 (void) for arguments.
46377 * manual/examples/subopt.c (main): Use char **argv argument.
46379 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46382 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46385 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46388 * manual/string.texi (strchr): Change when strchrnul is
46391 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46394 * manual/locale.texi (setlocale): Document LOCPATH.
46396 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46399 * manual/process.texi (execle): Move @dots{} before last argument.
46401 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46404 * manual/charset.texi (Generic Charset Conversion): Fix typo
46405 (LC_TYPE -> LC_CTYPE).
46407 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46410 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46411 (scalbnf): Likewise.
46412 (scalbnl): Likewise.
46413 (scalbln): Likewise.
46414 (scalblnf): Likewise.
46415 (scalblnl): Likewise.
46416 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46417 (vwarnx): Likewise.
46420 * manual/filesys.texi (telldir): Use braces around return type.
46421 * manual/llio.texi (mmap): Add space after comma.
46422 (mmap64): Likewise.
46423 * manual/math.texi (jn): Use @var{} on parameter names.
46429 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46431 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46433 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46434 (sched_get_priority_max): Likewise.
46435 * manual/signal.texi (sigvec): Add space after comma.
46436 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46438 (if_indextoname): Likewise.
46439 (if_freenameindex): Likewise.
46440 (sendto): Use ',' instead of '.' in prototype.
46441 * manual/startup.texi (syscall): Use @dots{} instead of literal
46443 * manual/stdio.texi (__fpending): Separate initial words of
46444 paragraph from @deftypefun line.
46445 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46447 (vsyslog): Use @var{} on parameter names.
46448 * manual/terminal.texi (stty): Use @var{} on parameter names.
46449 * manual/users.texi (getutmp): Use @var{} on parameter names.
46450 (getutmpx): Likewise.
46452 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46455 * manual/stdio.texi (fopen): Fix typos in description of
46458 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46461 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46462 get clock_id definition.
46464 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46467 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46468 (madvise): Cast every argument to void on its own.
46470 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46473 * manual/startup.texi (Exit Status): Fix typo.
46475 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46478 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46479 * manual/examples/argp-ex2.c: Likewise.
46480 * manual/examples/argp-ex3.c: Likewise.
46482 2012-02-16 Richard Henderson <rth@redhat.com>
46484 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46485 * sysdeps/s390/s390-32/initfini.c: Remove.
46486 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46487 * sysdeps/s390/s390-64/initfini.c: Remove.
46489 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46491 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46492 compiler output for sysdeps/generic/initfini.c.
46493 * sysdeps/sh/elf/initfini.c: Remove file.
46495 2012-02-16 David S. Miller <davem@davemloft.net>
46498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46500 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46501 * sysdeps/sparc/crti.S: New file.
46502 * sysdeps/sparc/crtn.S: New file.
46503 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46504 * sysdeps/sparc/sparc64/Makefile: Likewise.
46506 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46509 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46511 2012-02-15 Roland McGrath <roland@hack.frob.com>
46514 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46516 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46517 (write, read, close): Likewise.
46518 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46520 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46522 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46523 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46524 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46525 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46527 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46531 2012-02-14 Marek Polacek <polacek@redhat.com>
46533 * sysdeps/x86_64/crti.S: New file.
46534 * sysdeps/x86_64/crtn.S: New file.
46535 * sysdeps/x86_64/elf/initfini.c: Remove file.
46537 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46539 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46540 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46541 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46542 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46544 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46548 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46550 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46551 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46552 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46553 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46555 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46559 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46561 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46562 __feraiseexcept instead of feraiseexcept.
46564 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46565 nanosleep invocations.
46566 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46567 strings, and add error checking for a nanosleep invocations.
46569 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46571 Replace FSF snail mail address with URLs, as per GNU coding standards.
46572 Most of the snail mail addresses were wrong anyway, and omitting
46573 them makes the source code easier to maintain. Almost all of the
46574 changes are to license notices and to locale LC_IDENTIFICATION
46575 addresses, except for this one:
46576 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46577 not its snail mail address.
46579 2012-02-09 Richard Henderson <rth@twiddle.net>
46581 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46582 of kernel-features.h.
46584 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46586 2012-02-08 Marek Polacek <polacek@redhat.com>
46588 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46589 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46590 * sysdeps/gnu/_G_config.h: Likewise.
46591 * sysdeps/generic/_G_config.h: Likewise.
46593 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46595 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46599 * sysdeps/powerpc/powerpc32/crti.S: New file.
46600 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46601 * sysdeps/powerpc/powerpc64/crti.S: New file.
46602 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46604 * Makeconfig (have-initfini): Don't set.
46605 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46606 * configure.in (nopic_initfini): Don't substitute.
46607 * config.h.in (HAVE_INITFINI): Don't #undef.
46608 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46609 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46611 2012-02-08 Joseph Myers <joseph@codesourcery.com>
46613 Support crti.S and crtn.S provided directly by architectures.
46614 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46615 [crti.S in sysdirs] (omit-deps): Likewise.
46616 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46617 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46618 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46619 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46620 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46621 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46622 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46623 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46624 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46625 compiler output for sysdeps/generic/initfini.c.
46626 * sysdeps/i386/elf/Makefile: Remove file.
46627 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46629 2012-02-07 Marek Polacek <polacek@redhat.com>
46631 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46632 * sysdeps/gnu/_G_config.h: Likewise.
46633 * sysdeps/mach/hurd/_G_config.h: Likewise.
46635 2012-02-07 Marek Polacek <polacek@redhat.com>
46637 * math/Makefile (tests): Add tst-CMPLX2.
46638 * math/tst-CMPLX2.c: New file.
46640 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46642 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46644 * math/libm-test.inc (jn_test): Add missing L suffix.
46646 2012-02-06 Marek Polacek <polacek@redhat.com>
46648 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46649 * sysdeps/i386/fpu/e_powf.S: Likewise.
46650 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46651 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46653 * sysdeps/i386/fpu/e_pow.S: Likewise.
46654 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46655 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46656 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46657 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46658 * sysdeps/i386/fpu/e_log2.S: Likewise.
46659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46661 * sysdeps/i386/fpu/e_powl.S: Likewise.
46662 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46663 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46664 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46665 * sysdeps/i386/fpu/e_logl.S: Likewise.
46666 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46667 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46668 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46669 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46670 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46671 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46672 * sysdeps/i386/fpu/e_log.S: Likewise.
46673 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46674 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46675 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46676 * sysdeps/i386/fpu/e_logf.S: Likewise.
46677 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46678 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46679 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46680 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46681 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46682 * sysdeps/i386/fpu/e_log10.S: Likewise.
46683 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46684 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46685 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46686 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46688 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46689 * sysdeps/i386/asm-syntax.h: Likewise.
46690 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46691 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46692 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46693 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46694 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46696 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46697 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46698 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46699 * sysdeps/powerpc/sysdep.h: Likewise.
46700 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46701 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46703 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46706 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46708 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46710 * sysdeps/i386/sysdep.h: Include <features.h>.
46711 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46714 2012-02-05 Joseph Myers <joseph@codesourcery.com>
46716 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46718 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46721 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46723 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46724 (SETUP_PIC_REG): Use GET_PC_THUNK.
46725 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46728 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46730 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46731 for non-PIC compilation.
46732 (SETUP_PIC_REG): Add .p2align directive.
46733 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46734 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46735 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46736 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46737 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46738 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46739 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46740 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46741 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46742 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46743 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46744 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46745 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46746 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46747 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46748 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46749 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46750 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46751 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46752 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46753 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46754 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46755 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46756 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46757 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46759 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46761 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46762 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46763 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46764 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46765 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46766 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46767 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46768 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46769 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46770 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46771 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46772 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46773 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46775 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46777 * math/tst-CMPLX.c: Include <stdio.h>.
46779 2012-01-31 Joseph Myers <joseph@codesourcery.com>
46781 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46783 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46784 * sysdeps/sparc/bits/mathdef.h: Likewise.
46786 2012-01-31 Marek Polacek <polacek@redhat.com>
46788 * libio/libio.h: Don't define _PARAMS.
46789 * locale/programs/config.h: Don't define PARAMS.
46790 * stdlib/strtol_l.c: Likewise.
46791 (__strtol_l): Remove PARAMS from the prototype.
46793 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46795 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46796 names. Just use the correct names. Remove unnecessary wrapper
46798 * malloc/arena.c: Likewise.
46799 * malloc/hooks.c: Likewise.
46801 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46802 ARENA_TEST says not to. Simplify test for creation of a new arena.
46803 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46805 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46807 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46809 (update_get_addr): New function.
46810 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46811 GET_ADDR_MODULE parameter.
46813 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46815 * crypt/cert.c: Remove __STDC__ conditionals.
46816 * crypt/crypt-entry.c: Likewise.
46817 * crypt/crypt_util.c: Likewise.
46818 * libio/filedoalloc.c: Likewise.
46819 * libio/fileops.c: Likewise.
46820 * libio/genops.c: Likewise.
46821 * libio/iofclose.c: Likewise.
46822 * libio/iofdopen.c: Likewise.
46823 * libio/iofopen.c: Likewise.
46824 * libio/iofopen64.c: Likewise.
46825 * libio/iogetdelim.c: Likewise.
46826 * libio/iopopen.c: Likewise.
46827 * libio/obprintf.c: Likewise.
46828 * libio/oldfileops.c: Likewise.
46829 * libio/oldiofclose.c: Likewise.
46830 * libio/oldiofdopen.c: Likewise.
46831 * libio/oldiofopen.c: Likewise.
46832 * libio/oldiopopen.c: Likewise.
46833 * libio/wfiledoalloc.c: Likewise.
46834 * libio/wgenops.c: Likewise.
46835 * locale/programs/xmalloc.c: Likewise.
46836 * misc/syslog.c: Likewise.
46837 * stdio-common/xbug.c: Likewise.
46838 * string/memchr.c: Likewise.
46839 * string/memcmp.c: Likewise.
46840 * string/memrchr.c: Likewise.
46841 * string/rawmemchr.c: Likewise.
46842 * sysdeps/posix/getcwd.c: Likewise.
46843 * time/strftime_l.c: Likewise.
46845 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46847 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46848 * config.make.in (config-cflags-sse2avx): Define.
46849 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46852 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46854 * scripts/config.guess: Update from upstream config git repository.
46855 * scripts/config.sub: Likewise.
46857 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46859 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46861 (R_TILEPRO_*, R_TILEGX_*): New macros.
46863 * scripts/firstversions.awk: Fix bug in version range handling.
46865 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46867 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46869 * include/sys/epoll.h: New file.
46870 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46873 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46875 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46876 Avoid unnecessary __WORDSIZE == 64 test.
46877 (fmaxf): Use VEX format if possible.
46882 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46883 * math/math_private.h: Remove libc_fegetround* and
46885 * sysdeps/i386/configure.in: Check for -msse2avx.
46886 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46887 also if SSE2AVX is defined.
46888 Remove libc_fegetround* and libc_fesetround*.
46889 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46890 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46891 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46893 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46894 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46895 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46896 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46897 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46899 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46901 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46903 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46907 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46910 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46912 * Makeconfig (libm): Define.
46913 * elf/Makefile: Add rules to build and run tst-relsort1.
46914 * elf/tst-relsort1.c: New file.
46915 * elf/tst-relsort1mod1.c: New file.
46916 * elf/tst-relsort1mod2.c: New file.
46918 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46920 * math/s_ldexp.c: Remove __STDC__ conditionals.
46921 * math/s_ldexpf.c: Likewise.
46922 * math/s_ldexpl.c: Likewise.
46923 * math/s_nextafter.c: Likewise.
46924 * math/s_nexttowardf.c: Likewise.
46925 * math/s_significand.c: Likewise.
46926 * math/s_significandf.c: Likewise.
46927 * math/s_significandl.c: Likewise.
46928 * math/w_jnl.c: Likewise.
46929 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46930 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46931 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46932 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46933 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46935 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46936 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46937 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46938 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46939 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46940 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46941 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46942 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46943 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46944 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46945 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46946 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46948 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46949 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46950 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46951 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46953 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46954 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46955 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46956 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46957 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46958 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46959 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46960 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46961 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46962 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46963 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46964 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46965 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46966 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46967 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46968 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46969 * sysdeps/ieee754/k_standard.c: Likewise.
46970 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46971 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46972 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46973 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46974 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46975 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46976 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46977 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46978 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46979 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46980 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46981 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46982 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46983 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46984 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46986 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46989 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46990 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46991 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46995 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46996 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46999 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47000 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47001 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47002 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47003 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47004 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47005 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47006 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47008 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47009 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47010 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47011 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47012 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47013 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47014 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47015 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47016 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47017 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47018 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47019 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47020 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47023 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47024 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47025 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47026 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47027 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47028 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47029 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47030 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47031 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47032 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47033 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47034 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47035 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47036 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47037 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47038 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47039 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47040 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47041 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47042 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47043 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47044 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47045 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47046 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47047 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47048 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47049 * sysdeps/ieee754/s_matherr.c: Likewise.
47050 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47051 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47053 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47055 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47057 * crypt/md5.h: Remove __STDC__ conditionals.
47058 * libio/libioP.h: Likewise.
47059 * locale/programs/config.h: Likewise.
47060 * sysdeps/generic/sysdep.h: Likewise.
47061 * sysdeps/i386/asm-syntax.h: Likewise.
47062 * sysdeps/s390/asm-syntax.h: Likewise.
47063 * sysdeps/unix/sysdep.h: Likewise.
47064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47067 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47069 * libio/libio.h: Remove __STDC__ conditionals.
47070 * malloc/obstack.h: Likewise.
47071 * math/complex.h: Likewise.
47072 * math/math.h: Likewise.
47073 * sysdeps/generic/_G_config.h: Likewise.
47074 * sysdeps/gnu/_G_config.h: Likewise.
47075 * sysdeps/mach/hurd/_G_config.h: Likewise.
47076 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47077 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47078 * sysdeps/sparc/bits/mathdef.h: Likewise.
47080 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47083 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47084 Clean up HAS_* macros.
47085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47086 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47091 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47096 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47098 * elf/tst-unique3.cc (gets): Remove declaration.
47099 * elf/tst-unique3lib.cc (gets): Likewise.
47100 * elf/tst-unique3lib2.cc (gets): Likewise.
47101 * elf/tst-unique4.cc (gets): Likewise.
47103 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47105 * include/stdio.h: Add C++ protection. Add gets declarations and
47107 * debug/tst-chk1.c: Don't declare gets here.
47108 * stdio-common/tst-gets.c: Likewise.
47110 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47112 * posix/glob: Remove directory.
47114 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47116 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47118 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47120 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47121 of the non-standard EPFNOSUPPORT.
47123 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47125 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47126 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47127 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47129 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47131 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47133 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47135 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47137 * nscd/grpcache.c (cache_addgr): Likewise.
47138 * nscd/hstcache.c (cache_addhst): Likewise.
47139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47140 * nscd/pwdcache.c (cache_addpw): Likewise.
47141 * nscd/servicescache.c (cache_addserv): Likewise.
47143 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47145 * malloc/malloc.c: Various cleanups.
47146 * malloc/hooks.c: Likewise.
47148 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47149 * stdlib/bug-fmtmsg1.c: New file.
47151 * stdlib/fmtmsg.c (init): Add missing unlock.
47152 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47154 2012-01-12 Marek Polacek <polacek@redhat.com>
47156 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47159 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47161 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47162 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47163 macro to ensure uniqueness of label name.
47164 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47165 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47167 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47169 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47171 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47172 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47174 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47176 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47178 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47180 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47181 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47182 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47184 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47186 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47187 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47191 * math/bits/math-finite.h: Add ldexp support.
47193 2012-01-10 Marek Polacek <polacek@redhat.com>
47195 * locale/programs/localedef.h (show_archive_content): Add noreturn
47198 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47200 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47202 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47204 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47206 * io/Makefile (headers): Add bits/poll2.h.
47208 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47211 typo #include statement.
47213 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47215 * include/sys/cdefs.h: Define __attribute_alloc_size.
47216 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47217 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47218 * elf/pldd.c: Likewise.
47219 * iconv/iconv_charmap.c: Likewise.
47220 * iconv/iconvconfig.c: Likewise.
47221 * iconv/strtab.c: Likewise.
47222 * locale/programs/locale.c: Likewise.
47223 * locale/programs/localedef.h: Likewise.
47224 * locale/programs/simple-hash.c: Likewise.
47225 * nscd/nscd.h: Likewise.
47226 * nss/makedb.c: Likewise.
47227 * sysdeps/generic/ldconfig.h: Likewise.
47228 * locale/programs/localedef.c: Remove xmalloc prototype.
47229 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47231 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47233 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47236 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47238 * math/Makefile (tests): Add tst-CMPLX.
47239 * math/tst-CMPLX.c: New file.
47241 * math/complex.h (CMPLXL): Fix typo.
47243 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47244 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47246 * debug/tst-chk1.c: Add poll and ppoll tests.
47247 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47248 * include/sys/poll.h: Add hidden proto for ppoll.
47249 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47250 * sysdeps/mach/hurd/ppoll.c: Likewise.
47251 * io/ppoll.c: Likewise.
47252 * debug/poll_chk.c: New file.
47253 * debug/ppoll_chk.c: New file.
47254 * include/bits/poll2.h: New file.
47255 * io/bits/poll2.h: New file.
47258 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47260 * configure.in: static is always set to yes. Remove.
47261 * config.make.in: Don't set build-static.
47262 * Makeconfig: Remove use of build-static.
47263 * dlfcn/Makefile: Likewise.
47264 * elf/Makefile: Likewise.
47265 * math/Makefile: Likewise.
47266 * misc/Makefile: Likewise.
47267 * nptl/Makefile: Likewise.
47268 * sysdeps/mach/hurd/Makefile: Likewise.
47270 * configure.in: PWD_P is not used anymore.
47271 * config.make.in: Remove PWD_P entry.
47273 * configure.in: Remove last remnants of RANLIB.
47274 No need to check for signed size_t anymore.
47275 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47277 Remove __builtin_expect test because we require at least gcc 3.4.
47278 * aclocal.m4: Likewise.
47280 * wcsmbs/mbrtoc16.c: Implement using towc function.
47281 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47282 * wcsmbs/wcsmbsload.c: Likewise.
47283 * iconv/gconv_simple.c: Likewise.
47284 * iconv/gconv_int.h: Likewise.
47285 * iconv/gconv_builtin.h: Likewise.
47286 * iconv/iconv_prog.c: Remove CHAR16 handling.
47288 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47290 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47292 * configure.in: Remove --with-elf and --enable-bounded options.
47293 Dont set base_machine for ia64. More non-ELF conditions removed.
47294 Remove testing and setting of leading underscore information.
47295 * config.make.in (build-bounded): Set to no.
47296 * config.h.in: Remove NO_UNDERSCORES entry.
47297 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47299 * csu/start.c: Remove !NO_UNDERSCORE code.
47300 * locale/localeinfo.h: Likewise.
47301 * sysdeps/generic/machine-gmon.h: Likewise.
47302 * sysdeps/generic/sysdep.h: Likewise.
47303 * sysdeps/i386/sysdep.h: Likewise.
47304 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47305 * sysdeps/mach/sysdep.h: Likewise.
47306 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47308 * sysdeps/sh/sysdep.h: Likewise.
47309 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47310 * sysdeps/unix/i386/sysdep.S: Likewise.
47311 * sysdeps/unix/sparc/start.c: Likewise.
47312 * sysdeps/unix/sparc/sysdep.S: Likewise.
47313 * sysdeps/unix/sparc/sysdep.h: Likewise.
47314 * sysdeps/unix/start.c: Likewise.
47315 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47316 * sysdeps/x86_64/sysdep.h: Likewise.
47318 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47321 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47323 * argp/argp-fmtstream.h: Use const instead __const.
47324 * argp/argp.h: Likewise.
47325 * assert/assert.h: Likewise.
47326 * bits/fenv.h: Likewise.
47327 * bits/sched.h: Likewise.
47328 * bits/sigset.h: Likewise.
47329 * bits/sigthread.h: Likewise.
47330 * catgets/nl_types.h: Likewise.
47331 * conform/data/pthread.h-data: Likewise.
47332 * crypt/crypt-private.h: Likewise.
47333 * crypt/crypt.h: Likewise.
47334 * crypt/crypt_util.c: Likewise.
47335 * ctype/ctype.h: Likewise.
47336 * debug/execinfo.h: Likewise.
47337 * debug/mbsnrtowcs_chk.c: Likewise.
47338 * debug/mbsrtowcs_chk.c: Likewise.
47339 * debug/wcsnrtombs_chk.c: Likewise.
47340 * debug/wcsrtombs_chk.c: Likewise.
47341 * debug/wcstombs_chk.c: Likewise.
47342 * dirent/dirent.h: Likewise.
47343 * dlfcn/dlfcn.h: Likewise.
47344 * elf/neededtest4.c: Likewise.
47345 * grp/grp.h: Likewise.
47346 * gshadow/gshadow.h: Likewise.
47347 * iconv/gconv.h: Likewise.
47348 * iconv/gconv_int.h: Likewise.
47349 * iconv/gconv_simple.c: Likewise.
47350 * iconv/iconv.h: Likewise.
47351 * iconv/loop.c: Likewise.
47352 * iconv/skeleton.c: Likewise.
47353 * include/aio.h: Likewise.
47354 * include/aliases.h: Likewise.
47355 * include/argz.h: Likewise.
47356 * include/arpa/inet.h: Likewise.
47357 * include/assert.h: Likewise.
47358 * include/dirent.h: Likewise.
47359 * include/dlfcn.h: Likewise.
47360 * include/execinfo.h: Likewise.
47361 * include/fcntl.h: Likewise.
47362 * include/fenv.h: Likewise.
47363 * include/glob.h: Likewise.
47364 * include/grp.h: Likewise.
47365 * include/libintl.h: Likewise.
47366 * include/mntent.h: Likewise.
47367 * include/netdb.h: Likewise.
47368 * include/pwd.h: Likewise.
47369 * include/rpc/netdb.h: Likewise.
47370 * include/sched.h: Likewise.
47371 * include/search.h: Likewise.
47372 * include/shadow.h: Likewise.
47373 * include/signal.h: Likewise.
47374 * include/stdio.h: Likewise.
47375 * include/stdlib.h: Likewise.
47376 * include/string.h: Likewise.
47377 * include/sys/socket.h: Likewise.
47378 * include/sys/stat.h: Likewise.
47379 * include/sys/statfs.h: Likewise.
47380 * include/sys/statvfs.h: Likewise.
47381 * include/sys/syslog.h: Likewise.
47382 * include/sys/time.h: Likewise.
47383 * include/sys/uio.h: Likewise.
47384 * include/time.h: Likewise.
47385 * include/unistd.h: Likewise.
47386 * include/utmp.h: Likewise.
47387 * include/wchar.h: Likewise.
47388 * include/wctype.h: Likewise.
47389 * inet/aliases.h: Likewise.
47390 * inet/arpa/inet.h: Likewise.
47391 * inet/netinet/ether.h: Likewise.
47392 * inet/netinet/in.h: Likewise.
47393 * intl/libintl.h: Likewise.
47394 * io/bits/fcntl2.h: Likewise.
47395 * io/fcntl.h: Likewise.
47396 * io/ftw.h: Likewise.
47397 * io/sys/poll.h: Likewise.
47398 * io/sys/stat.h: Likewise.
47399 * io/sys/statfs.h: Likewise.
47400 * io/sys/statvfs.h: Likewise.
47401 * io/utime.h: Likewise.
47402 * libio/bits/stdio.h: Likewise.
47403 * libio/bits/stdio2.h: Likewise.
47404 * libio/libio.h: Likewise.
47405 * libio/libioP.h: Likewise.
47406 * libio/stdio.h: Likewise.
47407 * locale/lc-ctype.c: Likewise.
47408 * locale/locale.h: Likewise.
47409 * login/utmp.h: Likewise.
47410 * malloc/arena.c: Likewise.
47411 * malloc/malloc.c: Likewise.
47412 * malloc/malloc.h: Likewise.
47413 * malloc/mcheck.c: Likewise.
47414 * malloc/mtrace.c: Likewise.
47415 * math/bits/mathcalls.h: Likewise.
47416 * math/fenv.h: Likewise.
47417 * math/math_private.h: Likewise.
47418 * misc/bits/error.h: Likewise.
47419 * misc/bits/syslog.h: Likewise.
47420 * misc/err.h: Likewise.
47421 * misc/error.h: Likewise.
47422 * misc/fstab.h: Likewise.
47423 * misc/mntent.h: Likewise.
47424 * misc/regexp.h: Likewise.
47425 * misc/search.h: Likewise.
47426 * misc/sgtty.h: Likewise.
47427 * misc/sys/mman.h: Likewise.
47428 * misc/sys/syslog.h: Likewise.
47429 * misc/sys/uio.h: Likewise.
47430 * misc/sys/xattr.h: Likewise.
47431 * misc/ttyent.h: Likewise.
47432 * nis/rpcsvc/ypclnt.h: Likewise.
47433 * nss/nss.h: Likewise.
47434 * posix/bits/unistd.h: Likewise.
47435 * posix/fnmatch.h: Likewise.
47436 * posix/glob.h: Likewise.
47437 * posix/sched.h: Likewise.
47438 * posix/spawn.h: Likewise.
47439 * posix/sys/wait.h: Likewise.
47440 * posix/unistd.h: Likewise.
47441 * posix/wordexp.h: Likewise.
47442 * pwd/pwd.h: Likewise.
47443 * resolv/netdb.h: Likewise.
47444 * resource/sys/resource.h: Likewise.
47445 * rt/aio.h: Likewise.
47446 * rt/bits/mqueue2.h: Likewise.
47447 * rt/mqueue.h: Likewise.
47448 * shadow/shadow.h: Likewise.
47449 * signal/signal.h: Likewise.
47450 * socket/send.c: Likewise.
47451 * socket/sendto.c: Likewise.
47452 * socket/sys/socket.h: Likewise.
47453 * stdio-common/printf.h: Likewise.
47454 * stdlib/bits/stdlib.h: Likewise.
47455 * stdlib/fmtmsg.h: Likewise.
47456 * stdlib/monetary.h: Likewise.
47457 * stdlib/stdlib.h: Likewise.
47458 * stdlib/ucontext.h: Likewise.
47459 * streams/stropts.h: Likewise.
47460 * string/argz.h: Likewise.
47461 * string/bits/string2.h: Likewise.
47462 * string/string.h: Likewise.
47463 * string/strings.h: Likewise.
47464 * sunrpc/rpc/auth.h: Likewise.
47465 * sunrpc/rpc/auth_des.h: Likewise.
47466 * sunrpc/rpc/clnt.h: Likewise.
47467 * sunrpc/rpc/netdb.h: Likewise.
47468 * sunrpc/rpc/pmap_clnt.h: Likewise.
47469 * sunrpc/rpc/xdr.h: Likewise.
47470 * sysdeps/generic/inttypes.h: Likewise.
47471 * sysdeps/generic/net/if.h: Likewise.
47472 * sysdeps/generic/sys/swap.h: Likewise.
47473 * sysdeps/gnu/net/if.h: Likewise.
47474 * sysdeps/gnu/utmpx.h: Likewise.
47475 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47476 * sysdeps/i386/i486/bits/string.h: Likewise.
47477 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47478 * sysdeps/s390/bits/string.h: Likewise.
47479 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47480 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47481 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47482 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47483 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47484 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47485 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47486 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47487 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47488 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47489 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47490 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47491 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47492 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47493 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47494 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47495 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47497 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47498 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47500 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47501 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47502 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47503 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47504 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47505 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47506 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47507 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47508 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47509 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47510 * sysvipc/sys/ipc.h: Likewise.
47511 * sysvipc/sys/msg.h: Likewise.
47512 * sysvipc/sys/sem.h: Likewise.
47513 * sysvipc/sys/shm.h: Likewise.
47514 * termios/termios.h: Likewise.
47515 * time/sys/time.h: Likewise.
47516 * time/time.h: Likewise.
47517 * wcsmbs/bits/wchar2.h: Likewise.
47518 * wcsmbs/uchar.h: Likewise.
47519 * wcsmbs/wchar.h: Likewise.
47520 * wctype/wctype.h: Likewise.
47523 * Makeconfig: Remove all but ELF support including AIX support.
47524 * Makerules: Likewise.
47525 * config.h.in: Likewise.
47526 * config.make.in: Likewise.
47527 * configure: Likewise.
47528 * configure.in: Likewise.
47529 * csu/Makefile: Likewise.
47530 * csu/version.c: Likewise.
47531 * debug/Makefile: Likewise.
47532 * dlfcn/Makefile: Likewise.
47533 * elf/Makefile: Likewise.
47534 * extra-lib.mk: Likewise.
47535 * iconv/Makefile: Likewise.
47536 * include/libc-symbols.h: Likewise.
47537 * include/shlib-compat.h: Likewise.
47538 * resolv/Makefile: Likewise.
47539 * resolv/res_libc.c: Likewise.
47540 * rt/Makefile: Likewise.
47541 * sysdeps/i386/asm-syntax.h: Likewise.
47542 * sysdeps/i386/sysdep.h: Likewise.
47543 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47544 * sysdeps/mach/sysdep.h: Likewise.
47545 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47546 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47547 * sysdeps/s390/asm-syntax.h: Likewise.
47548 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47550 * sysdeps/sh/sysdep.h: Likewise.
47551 * sysdeps/unix/sparc/sysdep.h: Likewise.
47552 * sysdeps/wordsize-32/divdi3.c: Likewise.
47553 * sysdeps/x86_64/sysdep.h: Likewise.
47555 * argp/Versions: Remove _argp_unlock_xxx.
47558 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47559 * abilist/libBrokenLocale.abilist: Likewise.
47560 * abilist/libanl.abilist: Likewise.
47561 * abilist/libc.abilist: Likewise.
47562 * abilist/libcrypt.abilist: Likewise.
47563 * abilist/libdl.abilist: Likewise.
47564 * abilist/libm.abilist: Likewise.
47565 * abilist/libnsl.abilist: Likewise.
47566 * abilist/libpthread.abilist: Likewise.
47567 * abilist/libresolv.abilist: Likewise.
47568 * abilist/librt.abilist: Likewise.
47569 * abilist/libthread_db.abilist: Likewise.
47570 * abilist/libutil.abilist: Likewise.
47571 * abilist/libnss_db.abilist: New file.
47573 * scripts/abilist.awk: Add support for indirect functions.
47575 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47577 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47579 * shlib-versions: Remove entries for ports architectures.
47581 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47583 * elf/stackguard-macros.h: Remove support for IA-64.
47584 * elf/tst-auditmod1.c: Likewise.
47585 * sysdeps/generic/ldsodefs.h: Likewise.
47587 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47588 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47592 * configure.in: Remove --enable-omitfp support.
47594 * config.make.in: Likewise.
47595 * Makeconfig: Likewise.
47596 * manual/install.texi: Likewise.
47598 In case anyone cares, the IA-64 architecture could move to ports.
47599 * sysdeps/ia64/*: Removed.
47600 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47601 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47604 * configure.in: Remove entries for unsupported architectures.
47607 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47608 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47610 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47611 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47612 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47613 fall back to using wcrtomb.
47614 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47615 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47617 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47618 * wcsmbs/tst-c16c32-1.c: New file.
47620 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47623 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47625 * elf/tst-unique3.cc: Add explicit declaration of gets.
47626 * elf/tst-unique3lib.cc: Likewise.
47627 * elf/tst-unique3lib2.cc: Likewise.
47628 * elf/tst-unique4.cc: Likewise.
47630 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47632 2012-01-06 Joseph Myers <joseph@codesourcery.com>
47635 * assert/assert.h (static_assert): Don't define for C++.
47636 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47637 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47639 2012-01-03 Ulrich Drepper <drepper@gmail.com>
47641 * iconv/loop.c (single loop): Fix assertion in storing of
47644 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47646 2012-01-01 Ulrich Drepper <drepper@gmail.com>
47648 * posix/getconf.c: Update copyright year.
47649 * nss/getent.c: Likewise.
47650 * nss/makedb.c: Likewise.
47651 * iconv/iconvconfig.c: Likewise.
47652 * iconv/iconv_prog.c: Likewise.
47653 * elf/ldconfig.c: Likewise.
47654 * elf/pldd.c: Likewise.
47655 * elf/sotruss.ksh: Likewise.
47656 * catgets/gencat.c: Likewise.
47657 * csu/version.c: Likewise.
47658 * elf/ldd.bash.in: Likewise.
47659 * elf/sprof.c (print_version): Likewise.
47660 * locale/programs/locale.c: Likewise.
47661 * locale/programs/localedef.c: Likewise.
47662 * login/programs/pt_chown.c: Likewise.
47663 * nscd/nscd.c (print_version): Likewise.
47664 * debug/xtrace.sh: Likewise.
47665 * malloc/memusage.sh: Likewise.
47666 * malloc/mtrace.pl: Likewise.
47667 * debug/catchsegv.sh: Likewise.
47669 2011-12-30 Jakub Jelinek <jakub@redhat.com>
47671 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47674 2011-12-24 Ulrich Drepper <drepper@gmail.com>
47677 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47678 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47680 * iconv/gconv_int.h: Likewise.
47681 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47682 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47683 from libc for GLIBC_2.16.
47684 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47685 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47686 * wcsmbs/uchar.h: Really define mbstate_t.
47687 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47688 * wcsmbs/c16rtomb.c: New file.
47689 * wcsmbs/mbrtoc16.c: New file.
47690 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47691 for C/POSIX locale.
47692 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47693 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47695 * wcsmbs/wchar.h: Add missing __restrict.
47697 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47700 * time/Makefile (routines): Add timespec_get.
47701 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47702 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47703 timespec for ISO C11.
47704 * time/timespec_get.c: New file.
47705 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47706 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47709 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47710 * stdlib/stdlib.h: Declare aligned_alloc.
47711 * Versions.def: Add GLIBC_2.16 for libc.
47712 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47715 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47718 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47722 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47725 * assert/assert.h (static_assert): Define.
47727 * version.h: Update for 2.16 development version.
47730 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47733 * version.h (RELEASE): Bump for 2.15 release.
47734 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47736 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47737 Patch by Marek Polacek <mpolacek@redhat.com>.
47739 * bits/byteswap.h: Protect long long constants with __extension__.
47740 * sysdeps/i386/bits/byteswap.h: Likewise.
47741 * sysdeps/ia64/bits/byteswap.h: Likewise.
47742 * sysdeps/s390/bits/byteswap.h: Likewise.
47743 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47745 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47748 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47749 destination buffer.
47750 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47752 2011-12-23 Marek Polacek <polacek@redhat.com>
47754 * elf/dl-addr.c (determine_info): Add inline keyword.
47755 * elf/tst-auditmod4b.c (check_avx): Likewise.
47756 * elf/tst-auditmod6b.c (check_avx): Likewise.
47757 * elf/tst-auditmod6c.c (check_avx): Likewise.
47758 * elf/tst-auditmod7b.c (check_avx): Likewise.
47760 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47762 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47765 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47768 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47769 processing for last bytes.
47771 2011-08-06 Bruno Haible <bruno@clisp.org>
47774 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47775 U+0385, not to U+1FEE.
47778 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47779 entry for U+00A5 U+0301.
47781 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47784 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47785 buffer for the output is too small.
47787 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47791 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47792 SSE flags if possible.
47794 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47798 processing for last bytes.
47800 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47802 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47803 (syscall-list-default-options, syscall-list-default-condition)
47804 (syscall-list-includes): Define.
47805 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47806 list of ABIs and options and #if conditions for each ABI. Do not
47807 handle common syscalls between ABIs specially.
47808 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47810 (syscall-list-variants, syscall-list-32bit-options)
47811 (syscall-list-32bit-condition, syscall-list-64bit-options)
47812 (syscall-list-64bit-condition): Define.
47813 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47814 (syscall-list-variants, syscall-list-32bit-options)
47815 (syscall-list-32bit-condition, syscall-list-64bit-options)
47816 (syscall-list-64bit-condition): Define.
47817 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47819 (syscall-list-variants, syscall-list-32bit-options)
47820 (syscall-list-32bit-condition, syscall-list-64bit-options)
47821 (syscall-list-64bit-condition): Define.
47822 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47824 (syscall-list-variants, syscall-list-32bit-options)
47825 (syscall-list-32bit-condition, syscall-list-64bit-options)
47826 (syscall-list-64bit-condition): Define.
47828 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47830 * locale/iso-639.def: Add brx entry.
47833 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47834 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47836 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47837 __feraiseexcept_renamed.
47839 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47842 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47843 EPOLLET with unsigned values.
47844 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47845 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47847 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47848 to large cancellation.
47849 * math/s_cacoshf.c: Likewise.
47850 * math/s_cacoshl.c: Likewise.
47852 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47856 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47857 * math/s_cacoshf.c: Likewise.
47858 * math/s_cacoshl.c: Likewise.
47860 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47863 * iconv/gconv.h: Define __GCONV_SWAP.
47864 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47865 * iconvdata/utf-16.c: Likewise.
47866 * iconvdata/utf-32.c: Likewise.
47868 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47871 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47872 numerator after shifting it by one limb.
47874 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47876 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47877 under [__USE_EXTERN_INLINES].
47879 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47882 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47884 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47886 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47887 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47889 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47890 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47891 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47892 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47893 for strncasecmp/strncasecmp_l compilation.
47894 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47895 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47897 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47900 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47903 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47906 * time/tzfile.c (__tzfile_read): Check values from file header.
47908 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47910 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47911 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47912 * powerpc/powerpc32/dl-start.S: Likewise.
47913 * powerpc/powerpc32/elf/start.S: Likewise.
47914 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47915 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47916 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47917 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47918 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47919 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47920 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47921 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47922 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47923 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47924 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47925 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47926 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47927 * powerpc/powerpc32/memset.S: Likewise.
47928 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47929 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47930 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47931 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47932 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47933 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47934 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47935 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47936 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47937 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47938 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47939 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47940 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47942 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47944 * math/libm-test.inc: Added more nearbyint tests.
47945 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47946 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47947 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47948 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47950 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47952 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47955 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47957 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47958 Add wcscpy-ssse3 wcscpy-c.
47959 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47960 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47961 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47962 * sysdeps/x86_64/wcschr.S: New file.
47963 * sysdeps/x86_64/wcsrchr.S: New file.
47964 * string/test-strcmp.c: Remove checking of wcscmp function for
47966 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47967 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47968 wcsrchr-sse2 wcsrchr-c.
47969 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47970 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47971 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47972 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47973 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47974 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47975 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47976 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47977 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47978 * wcsmbc/wcschr.c (WCSCHR): New macro.
47980 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47982 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47983 * wcsmbs/test-wcsrchr.c: New file.
47984 * string/test-strrchr.c: Add wcsrchr support.
47986 * wcsmbs/test-wcscpy.c: New file.
47987 * string/test-strcpy.c: Add wcscpy support.
47990 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47992 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47995 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47998 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48000 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48002 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48003 Minor optimizations.
48005 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48006 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48007 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48009 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48011 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48012 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48013 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48014 for gcc to avoid warnings.
48015 * inet/Makefile (tests): Add tst-checks.
48016 * inet/tst-checks.c: New file.
48018 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48021 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48024 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48025 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48027 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48029 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48031 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48034 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48036 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48038 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48039 conditional on GCC version.
48040 (__arch_compare_and_exchange_val_8_acq)
48041 (__arch_compare_and_exchange_val_16_acq)
48042 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48043 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48044 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48046 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48048 * sysdeps/sh/backtrace.c: New file.
48050 2011-12-02 Andreas Schwab <schwab@redhat.com>
48052 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48055 2011-12-01 Andreas Schwab <schwab@redhat.com>
48057 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48058 falling back to utime.
48060 2011-11-30 Andreas Schwab <schwab@redhat.com>
48062 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48063 expectations for float.
48065 2011-11-29 Andreas Schwab <schwab@redhat.com>
48067 * locale/weight.h (findidx): Add parameter len.
48068 * locale/weightwc.h (findidx): Likewise.
48069 * posix/fnmatch_loop.c (FCT): Adjust caller.
48070 * posix/regcomp.c (build_equiv_class): Likewise.
48071 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48072 * posix/regexec.c (check_node_accept_bytes): Likewise.
48073 * string/strcoll_l.c (STRCOLL): Likewise.
48074 * string/strxfrm_l.c (STRXFRM): Likewise.
48076 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48078 * Makefile.in: Remove CVSOPT handling.
48079 * configure.in: Remove use of AC_REVISION.
48080 * iconvdata/Makefile (distribute): No need to filter out CVS.
48081 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48084 2011-11-16 Andreas Schwab <schwab@redhat.com>
48086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48087 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48088 [USE_AS_STRNCASECMP_L]: Likewise.
48089 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48090 NO_TLS_DIRECT_SEG_REFS.
48091 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48092 Fix argument offsets for non-PIC.
48093 [USE_AS_STRNCASECMP_L]: Likewise.
48094 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48095 NO_TLS_DIRECT_SEG_REFS.
48097 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48099 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48101 * locale/loadlocale.c (_nl_load_locale): Likewise.
48103 2011-11-15 Andreas Schwab <schwab@redhat.com>
48105 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48106 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48107 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48108 (SYSCALL_GETTIME): Set errno on error.
48110 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48111 count references to noai6ai_cached.
48113 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48115 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48117 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48118 FD_CLOEXEC for /proc/self/maps.
48120 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48121 FD_CLOEXEC for /proc/meminfo.
48123 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48126 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48127 FD_CLOEXEC for given file.
48129 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48131 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48132 FD_CLOEXEC for /etc/hosts.
48133 (_gethtent): Likewise.
48135 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48137 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48138 cancellation and set FD_CLOEXEC for /etc/netgroup.
48140 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48141 reading /etc/publickey.
48143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48144 allow cancellation when reading /etc/group.
48146 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48148 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48150 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48151 when using data file.
48153 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48155 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48156 (write_nis_obj): Use "c" and "e" in fopen.
48158 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48160 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48162 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48164 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48166 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48169 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48171 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48173 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48175 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48176 file parsing and set FD_CLOEXEC.
48178 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48180 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48182 2011-11-14 Andreas Schwab <schwab@redhat.com>
48184 * malloc/arena.c (arena_get2): Don't call reused_arena when
48185 _int_new_arena failed.
48187 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48189 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48190 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48191 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48192 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48193 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48195 to compile strcasecmp and strncasecmp.
48196 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48197 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48201 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48203 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48204 locale-defines.sym to gen-as-const-headers.
48205 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48206 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48208 to compile strcasecmp and strncasecmp.
48209 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48210 strcasecmp_l and strncasecmp_l.
48211 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48212 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48213 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48214 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48215 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48216 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48217 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48218 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48219 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48220 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48221 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48223 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48225 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48226 result of SYSDEP_GETTIME_CPU to retval.
48227 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48228 parameter list to macro. Remove trailing semicolon. Adjust users.
48230 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48233 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48235 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48237 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48238 from unused variable.
48240 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48242 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48245 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48248 * sunrpc/rpc_prot.c (rejected): Fix case value.
48250 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48251 unsigned long long int to avoid warnings in shift.
48253 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48255 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48258 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48259 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48260 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48262 * nis/nis_table.c (nis_list): Use variable of correct type for
48263 result of __follow_path call.
48265 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48267 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48268 of math functions ceil, trunc, floor, round, and sqrt, when
48269 avaliable on the platform.
48270 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48272 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48273 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48274 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48276 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48278 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48279 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48281 2011-11-11 Roland McGrath <roland@hack.frob.com>
48283 * include/unistd.h: Fix __readlink return type.
48284 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48286 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48288 * stdlib/ucontext.h: Undo last change for makecontext.
48290 2011-11-11 Andreas Schwab <schwab@redhat.com>
48292 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48294 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48295 * setjmp/setjmp.h: Mark functions as non-leaf.
48296 * setjmp/bits/setjmp2.h: Likewise.
48297 * stdlib/ucontext.h: Likewise.
48299 2011-11-10 Andreas Schwab <schwab@redhat.com>
48301 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48302 (reused_arena): Don't check arena limit.
48303 (arena_get2): Atomically check arena limit.
48305 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48307 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48308 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48313 2011-11-07 Andreas Schwab <schwab@redhat.com>
48315 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48316 handler when locking.
48318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48319 Fix size of allocated buffer.
48321 2011-11-04 Andreas Schwab <schwab@redhat.com>
48324 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48325 declarations for long double functions.
48326 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48328 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48330 2011-11-03 Andreas Schwab <schwab@redhat.com>
48332 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48335 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48338 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48340 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48342 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48344 * include/alloca.h (stackinfo_alloca_round): Define.
48345 (extend_alloca): Use it.
48346 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48347 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48350 * scripts/check-local-headers.sh: Ignore libaudit.h.
48352 * nscd/Makefile (extra-objs): Make recursively expanded.
48354 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48356 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48357 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48359 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48360 * posix/tst-rfc3484-2.c: Likewise.
48361 * posix/tst-rfc3484-3.c: Likewise.
48363 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48365 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48367 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48368 process_vm_writev from libc using GLIBC_2.15 version.
48370 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48372 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48374 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48377 2011-10-31 Ulrich Drepper <drepper@gmail.com>
48380 * nss/getent.c (initgroups_keys): Show error message in case no group
48383 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48384 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48385 __bump_nl_timestamp.
48386 * nscd/connections (nscd_init): When host database is served open
48387 netlink socket and request notification about configuration changes.
48388 (main_loop_poll): Track netlink file descriptor and bump timestamp
48389 in case data becomes available.
48390 (main_loop_epoll): Likewise.
48391 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48392 (database_pers_head): Add extra_data fileds.
48393 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48394 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48395 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48397 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48398 in6ai data, call __free_in6ai.
48399 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48400 Add -DHAVE_NETLINK.
48401 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48402 interface information. Reuse previous data if netlink timestamp
48404 (__bump_nl_timestamp): New function.
48405 (__free_in6ai): New function.
48407 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48409 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48410 close_not_cancel_no_status here.
48411 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48413 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48416 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48419 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48420 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48421 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48423 2011-07-03 Andreas Jaeger <aj@suse.de>
48426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48427 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48428 * math/libm-test.inc (sin_test): Add test case.
48430 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48433 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48434 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48436 * elf/chroot_canon.c (chroot_canon): Cleanups.
48438 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48441 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48442 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48444 * string/test-strchr.c: Make usable for strchrnul testing.
48445 * string/test-strchrnul.c: New file.
48446 * string/Makefile (strop-tests): Add strchrnul.
48448 * po/it.po: Update from translation team.
48449 * po/es.po: Likewise.
48451 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48453 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48454 the three constants needed as parameters. Drop the others.
48455 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48456 __m128i_strloadu_tolower.
48457 Create and initialize variable zero and use it in all the places
48458 where _mm_setzero_si128 was used.
48460 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48461 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48462 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48463 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48465 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48466 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48467 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48468 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48469 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48470 __mpranred, __mptan.
48471 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48472 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48473 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48474 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48475 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48476 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48478 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48479 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48481 2011-10-28 Andreas Schwab <schwab@redhat.com>
48483 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48484 redefine if SHARED.
48485 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48488 wide char related routines to wcsmbs subdir.
48490 2011-10-27 Andreas Schwab <schwab@redhat.com>
48493 * misc/sys/cdefs.h (__THROWNL): Define.
48494 * posix/unistd.h: Use __THREADNL instead of __THREAD
48495 for memory synchronization functions.
48497 2011-10-26 Roland McGrath <roland@hack.frob.com>
48500 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48502 * manual/stdio.texi (Obstack Streams): Node removed.
48504 2011-10-26 Andreas Schwab <schwab@redhat.com>
48506 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48507 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48508 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48510 * math/math_private.h (math_force_eval): Allow non-addressable
48512 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48514 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48516 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48517 file is not needed.
48519 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48521 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48522 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48523 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48524 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48525 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48526 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48528 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48529 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48530 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48531 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48532 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48533 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48534 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48535 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48536 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48537 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48538 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48539 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48540 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48541 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48542 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48543 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48544 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48545 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48546 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48548 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48549 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48552 place. Use VEX encoding when compiling for AVX.
48554 2011-10-25 Andreas Schwab <schwab@redhat.com>
48556 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48557 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48559 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48561 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48563 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48564 useless if() expression.
48565 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48566 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48567 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48568 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48569 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48570 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48571 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48572 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48573 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48575 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48576 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48577 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48578 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48579 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48580 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48581 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48583 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48585 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48587 2011-10-25 Andreas Schwab <schwab@redhat.com>
48589 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48591 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48593 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48595 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48596 .text section. Avoid duplicate constants.
48597 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48605 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48606 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48607 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48608 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48609 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48612 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48613 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48614 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48615 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48617 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48618 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48619 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48620 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48621 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48622 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48623 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48624 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48625 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48626 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48627 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48628 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48629 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48630 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48631 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48632 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48633 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48634 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48635 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48636 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48637 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48638 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48639 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48640 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48641 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48643 2011-10-24 Ulrich Drepper <drepper@gmail.com>
48645 * sysdeps/x86_64/dla.h: Move to ...
48646 * sysdeps/x86_64/fpu/dla.h: ...here.
48647 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48648 situations. Use __builtin_fma only for gcc 4.6 and up.
48650 * config.make.in: Add have-mfma4 entry.
48651 * configure.in: Substitute libc_cv_cc_fma4.
48652 * math/Makefile (dbl-only-routines): Add sincostab.
48653 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48654 Use __sincostab not sincos.
48655 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48662 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48663 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48664 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48665 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48667 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48668 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48670 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48671 define aliases when function name is a macro.
48672 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48673 sysdeps/ieee754/dbl-64/sincos.tbl.
48674 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48675 fma4-enabled routines.
48676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48677 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48678 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48679 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48680 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48681 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48683 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48685 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48686 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48687 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48688 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48689 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48690 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48691 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48692 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48693 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48694 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48695 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48696 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48697 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48698 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48699 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48700 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48701 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48707 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48712 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48718 2011-10-24 Andreas Schwab <schwab@redhat.com>
48720 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48722 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48724 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48726 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48728 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48730 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48731 Remove unused variable magic_bits.
48732 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48734 * string/strnlen.c: Define and use STRNLEN macro.
48735 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48736 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48737 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48738 * wcsmbs/wcslen.c: Define and use WCSLEN.
48739 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48740 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48741 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48742 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48743 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48744 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48745 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48747 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48750 strnlen-sse2-no-bsf.
48751 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48753 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48754 Add strnlen support.
48755 (USE_AS_STRNLEN): New macro.
48756 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48757 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48758 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48759 * sysdeps/x86_64/wcslen.S: New file.
48761 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48764 XMM-moves are used for copying on small sizes.
48766 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48768 * wcsmbs/Makefile (strop-tests): Add wcschr.
48769 * wcsmbs/test-wcschr.c: New file.
48770 * string/test-strchr.c: Update.
48771 Add wcschr support.
48774 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48776 * wcsmbs/Makefile (strop-tests): Add wcslen.
48777 * wcsmbs/test-wcslen.c: New file.
48778 * string/test-strlen.c: Update.
48779 Add wcslen support.
48782 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48784 * po/it.po: Update from translation team.
48786 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48788 * sysdeps/x86_64/wcscmp.S: Update.
48789 Fix wrong comparison semantics.
48790 wcscmp shall use signed comparison not unsigned.
48791 Don't use substraction to avoid overflow bug.
48792 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48793 * wcsmbc/wcscmp.c: Likewise.
48794 * string/test-strcmp.c: Likewise.
48795 Add new tests to check cases with negative values.
48797 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48799 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48800 * sysdeps/x86_64/dla.h: ...here. New file.
48801 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48806 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48811 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48814 __ynl_finite aliases.
48816 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48820 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48822 [DLA_FMA] (EMULV): Use DLA_FMA.
48823 [DLA_FMA] (MUL12): Use EMULV.
48824 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48825 that are not needed.
48826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48831 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48834 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48836 * math/s_nan.c: Undef __nan.
48837 * math/s_nanf.c: Undef __nanf.
48838 * math/s_nanl.c: Undef __nanl.
48839 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48842 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48844 * math/s_catan.c: Add branch predictions.
48845 * math/s_catanf.c: Likewise.
48846 * math/s_catanh.c: Likewise.
48847 * math/s_catanhf.c: Likewise.
48848 * math/s_catanhl.c: Likewise.
48849 * math/s_catanl.c: Likewise.
48850 * math/s_cexp.c: Likewise.
48851 * math/s_cexpf.c: Likewise.
48852 * math/s_cexpl.c: Likewise.
48853 * math/s_clog.c: Likewise.
48854 * math/s_clog10.c: Likewise.
48855 * math/s_clog10f.c: Likewise.
48856 * math/s_clog10l.c: Likewise.
48857 * math/s_clogf.c: Likewise.
48858 * math/s_clogl.c: Likewise.
48859 * math/s_csqrt.c: Likewise.
48860 * math/s_csqrtf.c: Likewise.
48861 * math/s_csqrtl.c: Likewise.
48862 * math/s_ctanf.c: Likewise.
48863 * math/s_ctanh.c: Likewise.
48864 * math/s_ctanhf.c: Likewise.
48865 * math/s_ctanhl.c: Likewise.
48866 * math/s_ctanl.c: Likewise.
48868 * math/math_private.h: Define __nan, __nanf, __nanl.
48869 * math/s_cacosh.c: Include <math_private.h>.
48870 * math/s_cacoshl.c: Likewise.
48871 * math/s_casinh.c: Likewise.
48872 * math/s_casinhf.c: Likewise.
48873 * math/s_casinhl.c: Likewise.
48874 * math/s_ccos.c: Rely entire on ccosh.
48875 * math/s_ccosf.c: Rely entire on ccoshf.
48876 * math/s_ccosl.c: Rely entirely on ccoshl.
48877 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48878 Remove tests for FE_INVALID.
48879 * math/s_ccoshf.c: Likewise.
48880 * math/s_ccoshl.c: Likewise.
48881 * math/s_csin.c: Likewise.
48882 * math/s_csinf.c: Likewise.
48883 * math/s_csinh.c Likewise.
48884 * math/s_csinhf.c: Likewise.
48885 * math/s_csinhl.c: Likewise.
48886 * math/s_csinl.c: Likewise.
48887 * math/s_ctan.c: Likewise.
48888 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48889 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48890 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48892 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48895 compilation problems.
48897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48900 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48902 * sysdeps/i386/configure.in: Test for -mfma4 option.
48903 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48904 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48905 COMMON_CPUID_INDEX_80000001.
48906 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48907 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48908 use it if FMA3 is not supported.
48909 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48911 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48912 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48914 2011-10-20 Andreas Schwab <schwab@redhat.com>
48917 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48918 it would create a cycle with a link time dependency.
48920 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48922 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48924 * string/Makefile (strop-tests): Add rawmemchr.
48925 * string/test-rawmemchr.c: New file.
48927 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48928 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48929 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48930 when compiling str{,n}casecmp and when AVX is available. Hook up
48931 new optimized code in initializers.
48933 2011-10-19 Andreas Schwab <schwab@redhat.com>
48935 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48936 __feraiseexcept instead of feraiseexcept.
48938 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48940 * math/math_private.h: Define defaults for libc_fetestexcept and
48942 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48943 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48944 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48945 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48946 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48947 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48948 libc_fetestexcept and libc_feupdateenv.
48950 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48951 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48952 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48953 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48954 libc_feholdexcept_setround.
48956 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48957 Add s_nearbyint-c and s_nearbyintf-c.
48958 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48959 nearbyintf inlines.
48960 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48961 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48962 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48963 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48965 * math/math_private.h: Define defaults for libc_fegetround,
48966 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48967 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48968 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48970 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48971 standard functions.
48972 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48973 Remove comments and hacks for old compiler versions.
48974 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48975 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48976 libc_feholdexceptl.
48978 2011-10-18 Andreas Schwab <schwab@redhat.com>
48980 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48981 (__feraiseexcept_renamed): Add __NTH.
48982 (feraiseexcept): Add __NTH. Rename local variables to fix
48983 namespace violations.
48985 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48987 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48989 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48991 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48992 recently added interfaces.
48993 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48995 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48996 about macro parameter expansion.
48998 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48999 __NO_MATH_INLINES is defined. Cleanups.
49001 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49002 and __floorf is target has SSE4.1.
49003 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49004 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49005 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49006 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49008 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49010 (floorf): Likewise.
49012 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49014 2011-10-17 Andreas Schwab <schwab@redhat.com>
49016 * misc/sys/cdefs.h: Fix last change.
49018 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49021 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49023 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49025 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49026 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49027 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49031 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49032 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49033 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49034 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49035 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49036 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49037 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49038 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49039 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49040 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49041 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49042 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49043 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49044 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49045 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49046 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49048 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49049 ceil, ceilf, floor, floorf.
49051 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49052 Perform IRELATIVE relocations last.
49054 * elf/do-rel.h: Add another parameter nrelative, replacing the
49055 local variable with the same name. Change name of the function
49056 to end in Rel or Rela (uppercase).
49057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49058 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49059 elf_dynamic_do_##reloc function.
49061 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49063 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49064 is sufficient, at least on modern CPUs.
49066 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49068 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49069 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49071 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49073 * math/bits/math-finite.h: Add entries for exp.
49074 * math/e_expl.c: Add __*_finite alias.
49075 * sysdeps/i386/fpu/e_exp.S: Likewise.
49076 * sysdeps/i386/fpu/e_expf.S: Likewise.
49077 * sysdeps/i386/fpu/e_expl.c: Likewise.
49078 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49079 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49080 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49081 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49082 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49083 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49084 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49086 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49087 is sufficient, at least on modern CPUs.
49089 * ctype/ctype-info.c (__ctype_init): Define.
49090 * include/ctype.h (__ctype_init): Declare.
49091 (__ctype_b_loc): The variable is always initialized.
49092 (__ctype_toupper_loc): Likewise.
49093 (__ctype_tolower_loc): Likewise.
49094 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49095 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49097 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49099 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49101 * configure.in: Also look in $cxxmachine/include for C++ system
49104 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49106 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49107 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49108 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49109 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49110 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49111 (USE_AS_WMEMCMP): New macro.
49113 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49114 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49115 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49116 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49118 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49119 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49120 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49121 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49122 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49123 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49124 (USE_AS_WMEMCMP): New macro.
49125 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49126 * sysdeps/string/test-memcmp.c: Update.
49127 Fix simple_wmemcmp.
49129 * wcsmbs/wmemcmp.c: Update.
49130 (WMEMCMP): New macro.
49133 2011-10-12 Andreas Jaeger <aj@suse.de>
49136 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49138 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49140 * libio/iofwide.c (do_length): Avoid warning.
49142 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49144 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49146 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49148 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49149 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49150 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49151 * sysdeps/i386/i686/fpu/e_log.S: New file.
49152 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49153 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49155 * ctype/ctype.h: Add support for inlined isXXX functions when
49156 compiling C++ code.
49158 2011-10-14 Andreas Schwab <schwab@redhat.com>
49160 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49162 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49164 2011-10-13 Roland McGrath <roland@hack.frob.com>
49167 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49169 2011-10-13 Andreas Schwab <schwab@redhat.com>
49171 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49172 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49175 * sysdeps/x86_64/memrchr.S: Check for zero size.
49177 * string/stratcliff.c: Add memrchr tests.
49179 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49182 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49183 rawmemchr-sse2 rawmemchr-sse2-bsf.
49184 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49185 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49186 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49187 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49188 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49189 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49190 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49191 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49192 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49193 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49194 * string/memrchr.c (MEMRCHR): New macro.
49196 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49198 Add integration with gcc's -ffinite-math-only and optimize wrapper
49200 * Versions.def: Define GLIBC_2.15 version for libm.
49201 * math/Makefile (headers): Add bits/math-finite.h.
49202 * math/bits/math-finite.h: New file.
49203 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49204 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49205 * math/e_acoshl.c: Add __*_finite alias.
49206 * math/e_acosl.c: Likewise.
49207 * math/e_asinl.c: Likewise.
49208 * math/e_atan2l.c: Likewise.
49209 * math/e_atanhl.c: Likewise.
49210 * math/e_coshl.c: Likewise.
49211 * math/e_exp10.c: Likewise.
49212 * math/e_exp10f.c: Likewise.
49213 * math/e_exp10l.c: Likewise.
49214 * math/e_exp2l.c: Likewise.
49215 * math/e_fmodl.c: Likewise.
49216 * math/e_gammal_r.c: Likewise.
49217 * math/e_hypotl.c: Likewise.
49218 * math/e_j0l.c: Likewise.
49219 * math/e_j1l.c: Likewise.
49220 * math/e_jnl.c: Likewise.
49221 * math/e_lgammal_r.c: Likewise.
49222 * math/e_log10l.c: Likewise.
49223 * math/e_log2l.c: Likewise.
49224 * math/e_logl.c: Likewise.
49225 * math/e_powl.c: Likewise.
49226 * math/e_sinhl.c: Likewise.
49227 * math/e_sqrtl.c: Likewise.
49228 * math/e_scalb.c: Completely rewritten and optimized.
49229 * math/e_scalbf.c: Likewise.
49230 * math/e_scalbl.c: Likewise.
49231 * math/w_acos.c: Likewise.
49232 * math/w_acosf.c: Likewise.
49233 * math/w_acosl.c: Likewise.
49234 * math/w_acosh.c: Likewise.
49235 * math/w_acoshf.c: Likewise.
49236 * math/w_acoshl.c: Likewise.
49237 * math/w_asin.c: Likewise.
49238 * math/w_asinf.c: Likewise.
49239 * math/w_asinl.c: Likewise.
49240 * math/w_atan2.c: Likewise.
49241 * math/w_atan2f.c: Likewise.
49242 * math/w_atan2l.c: Likewise.
49243 * math/w_atanh.c: Likewise.
49244 * math/w_atanhf.c: Likewise.
49245 * math/w_atanhl.c: Likewise.
49246 * math/w_exp10.c: Likewise.
49247 * math/w_exp10f.c: Likewise.
49248 * math/w_exp10l.c: Likewise.
49249 * math/w_fmod.c: Likewise.
49250 * math/w_fmodf.c: Likewise.
49251 * math/w_fmodl.c: Likewise.
49252 * math/w_j0.c: Likewise.
49253 * math/w_j0f.c: Likewise.
49254 * math/w_j0l.c: Likewise.
49255 * math/w_j1.c: Likewise.
49256 * math/w_j1f.c: Likewise.
49257 * math/w_j1l.c: Likewise.
49258 * math/w_jn.c: Likewise.
49259 * math/w_jnf.c: Likewise.
49260 * math/w_log.c: Likewise.
49261 * math/w_logf.c: Likewise.
49262 * math/w_logl.c: Likewise.
49263 * math/w_log10.c: Likewise.
49264 * math/w_log10f.c: Likewise.
49265 * math/w_log10l.c: Likewise.
49266 * math/w_log2.c: Likewise.
49267 * math/w_log2f.c: Likewise.
49268 * math/w_log2l.c: Likewise.
49269 * math/w_pow.c: Likewise.
49270 * math/w_powf.c: Likewise.
49271 * math/w_powl.c: Likewise.
49272 * math/w_remainder.c: Likewise.
49273 * math/w_remainderf.c: Likewise.
49274 * math/w_remainderl.c: Likewise.
49275 * math/w_scalb.c: Likewise.
49276 * math/w_scalbf.c: Likewise.
49277 * math/w_scalbl.c: Likewise.
49278 * math/w_sqrt.c: Likewise.
49279 * math/w_sqrtf.c: Likewise.
49280 * math/w_sqrtl.c: Likewise.
49281 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49282 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49284 * math/math_private.h: Declare __kernel_standard_f.
49285 * math/w_cosh.c: Remove cruft and optimize a bit.
49286 * math/w_coshf.c: Likewise.
49287 * math/w_coshl.c: Likewise.
49288 * math/w_exp2.c: Likewise.
49289 * math/w_exp2f.c: Likewise.
49290 * math/w_exp2l.c: Likewise.
49291 * math/w_hypot.c: Likewise.
49292 * math/w_hypotf.c: Likewise.
49293 * math/w_hypotl.c: Likewise.
49294 * math/w_lgamma.c: Likewise.
49295 * math/w_lgamma_r.c: Likewise.
49296 * math/w_lgammaf.c: Likewise.
49297 * math/w_lgammaf_r.c: Likewise.
49298 * math/w_lgammal.c: Likewise.
49299 * math/w_lgammal_r.c: Likewise.
49300 * math/w_sinh.c: Likewise.
49301 * math/w_sinhf.c: Likewise.
49302 * math/w_sinhl.c: Likewise.
49303 * math/w_tgamma.c: Likewise.
49304 * math/w_tgammaf.c: Likewise.
49305 * math/w_tgammal.c: Likewise.
49306 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49308 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49309 Minor optimizations. Pretty printing. Remove cruft.
49310 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49311 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49312 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49313 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49314 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49315 * sysdeps/i386/fpu/e_asin.S: Likewise.
49316 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49317 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49318 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49319 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49320 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49321 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49322 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49323 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49324 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49325 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49326 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49327 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49328 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49329 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49330 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49331 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49332 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49333 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49334 * sysdeps/i386/fpu/e_log.S: Likewise.
49335 * sysdeps/i386/fpu/e_log10.S: Likewise.
49336 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49337 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49338 * sysdeps/i386/fpu/e_log2.S: Likewise.
49339 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49340 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49341 * sysdeps/i386/fpu/e_logf.S: Likewise.
49342 * sysdeps/i386/fpu/e_logl.S: Likewise.
49343 * sysdeps/i386/fpu/e_pow.S: Likewise.
49344 * sysdeps/i386/fpu/e_powf.S: Likewise.
49345 * sysdeps/i386/fpu/e_powl.S: Likewise.
49346 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49347 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49348 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49349 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49350 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49351 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49352 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49353 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49354 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49355 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49356 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49358 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49360 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49361 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49362 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49363 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49364 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49365 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49366 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49368 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49369 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49370 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49371 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49372 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49373 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49375 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49376 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49377 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49378 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49379 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49380 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49381 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49382 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49383 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49384 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49385 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49386 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49387 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49388 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49389 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49390 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49391 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49392 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49393 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49394 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49395 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49396 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49397 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49398 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49399 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49400 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49401 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49402 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49403 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49404 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49405 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49406 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49407 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49408 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49410 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49411 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49412 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49413 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49414 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49415 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49416 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49417 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49418 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49419 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49420 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49421 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49424 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49425 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49426 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49427 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49429 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49430 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49431 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49432 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49433 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49434 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49436 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49437 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49438 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49439 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49440 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49441 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49442 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49443 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49444 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49445 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49446 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49447 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49448 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49450 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49451 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49452 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49453 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49454 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49455 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49456 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49457 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49458 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49459 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49460 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49462 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49463 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49464 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49465 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49466 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49467 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49468 (__isnanf): Likewise.
49469 (__isinf_ns): Likewise.
49470 (__isinf_nsf): Likewise.
49471 (__finite): Likewise.
49472 (__finitef): Likewise.
49473 (__ieee754_sqrt): Define as macro.
49474 (__ieee754_sqrtf): Define as macro.
49475 (__ieee754_sqrtl): Define as macro.
49476 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49478 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49479 __FINITE_MATH_ONLY__ consistent.
49480 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49482 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49484 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49487 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49489 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49491 * po/ja.po: Update from translation team.
49493 2011-10-08 Roland McGrath <roland@hack.frob.com>
49495 * locale/programs/locarchive.c (prepare_address_space): New function.
49496 (create_archive, enlarge_archive, open_archive): Use it.
49498 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49499 inside [SHARED], where it is used.
49501 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49503 * nss/getent.c (netgroup_keys): Remove unused variable.
49504 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49506 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49508 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49509 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49512 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49513 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49514 * math/Makefile (libm-calls): Add s_isinf_ns.
49515 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49516 * math/multc3.c: Likewise.
49517 * math/s_casin.c: Likewise.
49518 * math/s_casinf.c: Likewise.
49519 * math/s_casinl.c: Likewise.
49520 * math/s_ccos.c: Likewise.
49521 * math/s_ccosf.c: Likewise.
49522 * math/s_ccosl.c: Likewise.
49523 * math/s_ctan.c: Likewise.
49524 * math/s_ctanf.c: Likewise.
49525 * math/s_ctanh.c: Likewise.
49526 * math/s_ctanhf.c: Likewise.
49527 * math/s_ctanhl.c: Likewise.
49528 * math/s_ctanl.c: Likewise.
49529 * math/w_fmod.c: Likewise.
49530 * math/w_fmodf.c: Likewise.
49531 * math/w_fmodl.c: Likewise.
49532 * math/w_remainder.c: Likewise.
49533 * math/w_remainderf.c: Likewise.
49534 * math/w_remainderl.c: Likewise.
49535 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49536 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49539 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49540 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49541 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49542 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49544 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49546 * stdio-common/printf_fphex.c: Likewise.
49547 * stdio-common/printf_size.c: Likewise.
49549 * math/e_exp10.c: Include math_private.h using <...> not "...".
49550 * math/e_exp10f.c: Likewise.
49551 * math/e_exp10l.c: Likewise.
49552 * math/e_exp2l.c: Likewise.
49553 * math/e_j0l.c: Likewise.
49554 * math/e_j1l.c: Likewise.
49555 * math/e_jnl.c: Likewise.
49556 * math/e_lgammal_r.c: Likewise.
49557 * math/e_rem_pio2l.c: Likewise.
49558 * math/e_scalb.c: Likewise.
49559 * math/e_scalbf.c: Likewise.
49560 * math/e_scalbl.c: Likewise.
49561 * math/k_cosl.c: Likewise.
49562 * math/k_sinl.c: Likewise.
49563 * math/k_tanl.c: Likewise.
49564 * math/s_cacoshf.c: Likewise.
49565 * math/s_catan.c: Likewise.
49566 * math/s_catanf.c: Likewise.
49567 * math/s_catanh.c: Likewise.
49568 * math/s_catanhf.c: Likewise.
49569 * math/s_catanhl.c: Likewise.
49570 * math/s_catanl.c: Likewise.
49571 * math/s_ccosh.c: Likewise.
49572 * math/s_ccoshf.c: Likewise.
49573 * math/s_ccoshl.c: Likewise.
49574 * math/s_cexp.c: Likewise.
49575 * math/s_cexpf.c: Likewise.
49576 * math/s_cexpl.c: Likewise.
49577 * math/s_clog.c: Likewise.
49578 * math/s_clog10.c: Likewise.
49579 * math/s_clog10f.c: Likewise.
49580 * math/s_clog10l.c: Likewise.
49581 * math/s_clogf.c: Likewise.
49582 * math/s_clogl.c: Likewise.
49583 * math/s_csin.c: Likewise.
49584 * math/s_csinf.c: Likewise.
49585 * math/s_csinh.c: Likewise.
49586 * math/s_csinhf.c: Likewise.
49587 * math/s_csinhl.c: Likewise.
49588 * math/s_csinl.c: Likewise.
49589 * math/s_csqrt.c: Likewise.
49590 * math/s_csqrtf.c: Likewise.
49591 * math/s_csqrtl.c: Likewise.
49592 * math/s_ctan.c: Likewise.
49593 * math/s_ctanf.c: Likewise.
49594 * math/s_ctanh.c: Likewise.
49595 * math/s_ctanhf.c: Likewise.
49596 * math/s_ctanhl.c: Likewise.
49597 * math/s_ctanl.c: Likewise.
49598 * math/s_ldexp.c: Likewise.
49599 * math/s_ldexpf.c: Likewise.
49600 * math/s_ldexpl.c: Likewise.
49601 * math/s_significand.c: Likewise.
49602 * math/s_significandf.c: Likewise.
49603 * math/s_significandl.c: Likewise.
49604 * math/w_acos.c: Likewise.
49605 * math/w_acosf.c: Likewise.
49606 * math/w_acosh.c: Likewise.
49607 * math/w_acoshf.c: Likewise.
49608 * math/w_acoshl.c: Likewise.
49609 * math/w_acosl.c: Likewise.
49610 * math/w_asin.c: Likewise.
49611 * math/w_asinf.c: Likewise.
49612 * math/w_asinl.c: Likewise.
49613 * math/w_atan2.c: Likewise.
49614 * math/w_atan2f.c: Likewise.
49615 * math/w_atan2l.c: Likewise.
49616 * math/w_atanh.c: Likewise.
49617 * math/w_atanhf.c: Likewise.
49618 * math/w_atanhl.c: Likewise.
49619 * math/w_cosh.c: Likewise.
49620 * math/w_coshf.c: Likewise.
49621 * math/w_coshl.c: Likewise.
49622 * math/w_dremf.c: Likewise.
49623 * math/w_exp10.c: Likewise.
49624 * math/w_exp10f.c: Likewise.
49625 * math/w_exp10l.c: Likewise.
49626 * math/w_exp2.c: Likewise.
49627 * math/w_exp2f.c: Likewise.
49628 * math/w_fmod.c: Likewise.
49629 * math/w_fmodf.c: Likewise.
49630 * math/w_fmodl.c: Likewise.
49631 * math/w_hypot.c: Likewise.
49632 * math/w_hypotf.c: Likewise.
49633 * math/w_hypotl.c: Likewise.
49634 * math/w_j0.c: Likewise.
49635 * math/w_j0f.c: Likewise.
49636 * math/w_j0l.c: Likewise.
49637 * math/w_j1.c: Likewise.
49638 * math/w_j1f.c: Likewise.
49639 * math/w_j1l.c: Likewise.
49640 * math/w_jn.c: Likewise.
49641 * math/w_jnf.c: Likewise.
49642 * math/w_jnl.c: Likewise.
49643 * math/w_lgamma.c: Likewise.
49644 * math/w_lgamma_r.c: Likewise.
49645 * math/w_lgammaf.c: Likewise.
49646 * math/w_lgammaf_r.c: Likewise.
49647 * math/w_lgammal.c: Likewise.
49648 * math/w_lgammal_r.c: Likewise.
49649 * math/w_log.c: Likewise.
49650 * math/w_log10.c: Likewise.
49651 * math/w_log10f.c: Likewise.
49652 * math/w_log10l.c: Likewise.
49653 * math/w_log2.c: Likewise.
49654 * math/w_log2f.c: Likewise.
49655 * math/w_log2l.c: Likewise.
49656 * math/w_logf.c: Likewise.
49657 * math/w_logl.c: Likewise.
49658 * math/w_pow.c: Likewise.
49659 * math/w_powf.c: Likewise.
49660 * math/w_powl.c: Likewise.
49661 * math/w_remainder.c: Likewise.
49662 * math/w_remainderf.c: Likewise.
49663 * math/w_remainderl.c: Likewise.
49664 * math/w_scalb.c: Likewise.
49665 * math/w_scalbf.c: Likewise.
49666 * math/w_scalbl.c: Likewise.
49667 * math/w_sinh.c: Likewise.
49668 * math/w_sinhf.c: Likewise.
49669 * math/w_sinhl.c: Likewise.
49670 * math/w_sqrt.c: Likewise.
49671 * math/w_sqrtf.c: Likewise.
49672 * math/w_sqrtl.c: Likewise.
49673 * math/w_tgamma.c: Likewise.
49674 * math/w_tgammaf.c: Likewise.
49675 * math/w_tgammal.c: Likewise.
49677 * po/ja.po: Update from translation team.
49679 2011-09-29 Andreas Jaeger <aj@suse.de>
49682 * sunrpc/netname.c (netname2host): Fix logic.
49686 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49688 * math/w_remainder.c (__remainder): Likewise.
49689 * math/w_remainderf.c (__remainderf): Likewise.
49690 * math/libm-test.inc (remainder_test): Add test cases.
49692 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49694 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49697 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49699 * string/test-memcmp.c: Avoid unncessary #defines.
49700 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49702 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49704 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49705 Use new sse2 version for core i3 - i7 as it's faster
49706 than sse42 version.
49707 (bit_Prefer_PMINUB_for_stringop): New.
49708 * sysdeps/x86_64/rawmemchr.S: Update.
49709 Replace with faster SSE2 version.
49710 * sysdeps/x86_64/memrchr.S: New file.
49711 * sysdeps/x86_64/memchr.S: Update.
49712 Replace with faster SSE2 version.
49714 2011-09-12 Marek Polacek <mpolacek@redhat.com>
49716 * elf/dl-load.c (lose): Add cast to avoid warning.
49718 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49720 * po/ca.po: Update from translation team.
49722 * inet/getnetgrent_r.c: Hook up nscd.
49723 * nscd/Makefile (routines): Add nscd_netgroup.
49724 (nscd-modules): Add netgroupcache.
49725 (CFLAGS-netgroupcache.c): Define.
49726 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49727 (cache_search): Add const to second parameter.
49728 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49730 (dbs): Add netgrdb entry.
49731 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49732 (verify_persistent_db): Handle netgrdb.
49733 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49734 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49736 (netgroup_response_header): Define.
49737 (innetgroup_response_header): Define.
49738 (datahead): Add netgroup_response_header and innetgroup_response_header
49740 * nscd/nscd.conf: Add entries for netgroup cache.
49741 * nscd/nscd.h (dbtype): Add netgrdb.
49742 (_PATH_NSCD_NETGROUP_DB): Define.
49743 (netgroup_iov_disabled): Declare.
49744 (xmalloc, xcalloc, xrealloc): Move declarations here.
49745 (cache_search): Adjust prototype.
49746 Add netgroup-related prototypes.
49747 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49748 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49749 (__nscd_innetgr): Declare.
49750 * nscd/selinux.c (perms): Use access_vector_t as element type and
49751 add netgroup-related initializers.
49752 * nscd/netgroupcache.c: New file.
49753 * nscd/nscd_netgroup.c: New file.
49754 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49755 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49756 For four parameters use innetgr.
49757 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49758 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49759 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49760 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49762 * nscd/connections.c (register_traced_file): Don't register file
49763 for disabled databases.
49765 2011-10-06 Ulrich Drepper <drepper@gmail.com>
49767 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49769 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49770 from tree and freeing node.
49772 2011-09-25 Jiri Olsa <jolsa@redhat.com>
49774 * nss/nsswitch.c (__nss_database_lookup): Handle
49775 nss_parse_service_list out of memory case.
49777 2011-09-15 Jiri Olsa <jolsa@redhat.com>
49779 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49780 out of memory case.
49782 2011-10-04 Andreas Schwab <schwab@redhat.com>
49784 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49785 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49787 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49788 elf_machine_rela, elf_machine_lazy_rel.
49789 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49790 (ELF_DYNAMIC_DO_REL): Likewise.
49791 (ELF_DYNAMIC_DO_RELA): Likewise.
49792 (ELF_DYNAMIC_RELOCATE): Likewise.
49793 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49794 to ELF_DYNAMIC_DO_REL.
49795 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49796 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49797 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49799 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49800 skip_ifunc, don't call ifunc function if non-zero.
49801 (elf_machine_rela): Likewise.
49802 (elf_machine_lazy_rel): Likewise.
49803 (elf_machine_lazy_rela): Likewise.
49804 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49805 (elf_machine_lazy_rel): Likewise.
49806 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49808 (elf_machine_lazy_rel): Likewise.
49809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49811 (elf_machine_lazy_rel): Likewise.
49812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49813 (elf_machine_lazy_rel): Likewise.
49814 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49815 (elf_machine_lazy_rel): Likewise.
49816 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49817 (elf_machine_lazy_rel): Likewise.
49818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49819 (elf_machine_lazy_rel): Likewise.
49820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49821 (elf_machine_lazy_rel): Likewise.
49822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49823 (elf_machine_lazy_rel): Likewise.
49825 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49827 * nss/nss_files/files-init.c (_nss_files_init): Use static
49828 initialization for all the *_traced_file variables.
49830 2011-09-28 Andreas Schwab <schwab@redhat.com>
49832 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49834 2011-09-27 Roland McGrath <roland@hack.frob.com>
49837 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49839 2011-09-27 Andreas Schwab <schwab@redhat.com>
49841 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49842 Reread the line before reparsing it.
49844 2011-09-26 Andreas Schwab <schwab@redhat.com>
49846 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49848 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49849 Maxim Kuvyrkov <maxim@codesourcery.com>
49850 Joseph Myers <joseph@codesourcery.com>
49852 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49853 if needed for __stack_chk_guard.
49855 2011-09-19 Roland McGrath <roland@hack.frob.com>
49857 * sysdeps/posix/spawni.c (script_execute): Always define it.
49858 It will be optimized away if unused.
49859 (maybe_script_execute): New function.
49860 (__spawni): Call it.
49862 * Makerules: Don't include tls.make.
49863 (config-tls): Always set to thread.
49864 * tls.make.c: File removed.
49866 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49868 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49869 * config.make.in (CPPFLAGS-config): New substituted variable.
49871 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49876 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49877 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49879 2011-09-15 Roland McGrath <roland@hack.frob.com>
49881 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49882 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49884 (CALL_FAIL): Likewise.
49885 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49886 (CALL_FAIL): Macro removed.
49887 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49889 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49891 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49892 for __FINITE_MATH_ONLY__ == 1.
49894 2011-09-15 Andreas Schwab <schwab@redhat.com>
49896 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49897 __ieee754_sqrt instead of sqrt.
49898 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49899 __ieee754_sqrtf instead of sqrtf.
49900 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49901 __floorf instead of floorf.
49902 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49903 __floorf, __truncf instead of floorf, truncf.
49905 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49907 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49909 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49910 __extern_always_inline.
49911 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49914 2011-09-14 Andreas Schwab <schwab@redhat.com>
49916 * elf/rtld.c (dl_main): Also relocate in dependency order when
49917 doing symbol dependency testing.
49919 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49922 Always define `refsym'.
49924 2011-09-13 Andreas Schwab <schwab@redhat.com>
49926 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49927 (__FD_ELT): Renamed from __FDELT.
49928 * misc/bits/select2.h (__FD_ELT): Likewise.
49929 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49930 __FD_MASK instead of __FDELT, __FDMASK.
49931 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49933 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49936 * elf/Makefile (gen-ldd): Fix pattern.
49938 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49939 (init_tls): Likewise.
49941 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49945 2011-09-12 Andreas Schwab <schwab@redhat.com>
49947 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49948 `struct cmsghdr *' instead of `void *'.
49949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49952 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49954 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49956 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49957 ldd_rewrite_script.
49959 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49961 * configure.in: Remove --with-tls option.
49962 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49963 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49964 out in case it is missing.
49965 * sysdeps/ia64/elf/configure.in: Likewise.
49966 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49967 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49968 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49969 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49970 * sysdeps/sh/elf/configure.in: Likewise.
49971 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49972 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49973 * sysdeps/x86_64/elf/configure.in: Likewise.
49974 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49975 * sysdeps/mach/hurd/tls.h: Likewise.
49978 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49981 * configure.in: Fix use of AC_INIT.
49983 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49985 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49987 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49989 * malloc/hooks.c: Likewise.
49992 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49993 variables statically.
49994 (narenas): Initialize.
49995 (list_lock): Initialize.
49996 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49997 initializtion of main_arena and list_lock. Small cleanups.
49998 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49999 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50000 Add initializers to main_arena and mp_.
50001 (malloc_state): Remove pagesize member. Change all users to use
50004 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50005 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50006 is always initialized.
50008 * malloc/malloc.c: Removed unused configurations and dead code.
50009 * malloc/arena.c: Likewise.
50010 * malloc/hooks.c: Likewise.
50011 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50013 * include/tls.h: Removed. USE___THREAD must always be defined.
50014 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50015 * elf/dl-libc.c: Likewise.
50016 * elf/dl-tsd.c: Likewise.
50017 * include/errno.h: Likewise.
50018 * include/netdb.h: Likewise.
50019 * include/resolv.h: Likewise.
50020 * inet/herrno-loc.c: Likewise.
50021 * inet/herrno.c: Likewise.
50022 * malloc/arena.c: Likewise.
50023 * malloc/hooks.c: Likewise.
50024 * malloc/malloc.c: Likewise.
50025 * resolv/res-state.c: Likewise.
50026 * resolv/res_libc.c: Likewise.
50027 * sysdeps/i386/dl-machine.h: Likewise.
50028 * sysdeps/ia64/dl-machine.h: Likewise.
50029 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50030 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50031 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50032 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50033 * sysdeps/sh/dl-machine.h: Likewise.
50034 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50035 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50036 * sysdeps/unix/i386/sysdep.S: Likewise.
50037 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50038 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50040 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50043 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50047 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50048 * sysdeps/x86_64/dl-machine.h: Likewise.
50049 * tls.make.c: Likewise.
50051 * configure.in: Remove --with-__thread option. Make tests for
50052 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50053 tls_model attribute fail if no support is available. Remove
50055 * Makeconfig: Adjust for dropped configure option. All features are
50057 * Makerules: Likewise.
50058 * Versions.def: Likewise.
50059 * argp/argp-fmtstream.c: Likewise.
50060 * argp/argp-fmtstream.h: Likewise.
50061 * argp/argp-help.c: Likewise.
50062 * assert/assert.c: Likewise.
50063 * config.h.in: Likewise.
50064 * config.make.in: Likewise.
50065 * configure: Likewise.
50066 * configure.in: Likewise.
50067 * csu/Versions: Likewise.
50068 * csu/init.c: Likewise.
50069 * elf/tst-audit2.c: Likewise.
50070 * elf/tst-tls10.c: Likewise.
50071 * elf/tst-tls10.h: Likewise.
50072 * elf/tst-tls11.c: Likewise.
50073 * elf/tst-tls12.c: Likewise.
50074 * elf/tst-tls14.c: Likewise.
50075 * elf/tst-tlsmod11.c: Likewise.
50076 * elf/tst-tlsmod12.c: Likewise.
50077 * elf/tst-tlsmod13.c: Likewise.
50078 * elf/tst-tlsmod13a.c: Likewise.
50079 * elf/tst-tlsmod14a.c: Likewise.
50080 * elf/tst-tlsmod15b.c: Likewise.
50081 * elf/tst-tlsmod16a.c: Likewise.
50082 * elf/tst-tlsmod16b.c: Likewise.
50083 * elf/tst-tlsmod7.c: Likewise.
50084 * elf/tst-tlsmod8.c: Likewise.
50085 * elf/tst-tlsmod9.c: Likewise.
50086 * gmon/gmon.c: Likewise.
50087 * grp/fgetgrent_r.c: Likewise.
50088 * grp/putgrent.c: Likewise.
50089 * hurd/fopenport.c: Likewise.
50090 * include/libc-symbols.h: Likewise.
50091 * include/tls.h: Likewise.
50092 * intl/gettextP.h: Likewise.
50093 * intl/loadinfo.h: Likewise.
50094 * locale/global-locale.c: Likewise.
50095 * locale/localeinfo.h: Likewise.
50096 * mach/devstream.c: Likewise.
50097 * malloc/arena.c: Likewise.
50098 * malloc/set-freeres.c: Likewise.
50099 * misc/err.c: Likewise.
50100 * misc/getttyent.c: Likewise.
50101 * misc/mntent_r.c: Likewise.
50102 * posix/getopt.c: Likewise.
50103 * posix/wordexp.c: Likewise.
50104 * pwd/fgetpwent_r.c: Likewise.
50105 * resolv/Versions: Likewise.
50106 * resolv/res_hconf.c: Likewise.
50107 * shadow/fgetspent_r.c: Likewise.
50108 * shadow/putspent.c: Likewise.
50109 * stdio-common/printf_fphex.c: Likewise.
50110 * stdio-common/tmpfile.c: Likewise.
50111 * stdlib/abort.c: Likewise.
50112 * stdlib/fmtmsg.c: Likewise.
50113 * sunrpc/auth_unix.c: Likewise.
50114 * sunrpc/clnt_perr.c: Likewise.
50115 * sunrpc/clnt_tcp.c: Likewise.
50116 * sunrpc/clnt_udp.c: Likewise.
50117 * sunrpc/clnt_unix.c: Likewise.
50118 * sunrpc/openchild.c: Likewise.
50119 * sunrpc/svc_simple.c: Likewise.
50120 * sunrpc/svc_tcp.c: Likewise.
50121 * sunrpc/svc_udp.c: Likewise.
50122 * sunrpc/svc_unix.c: Likewise.
50123 * sunrpc/xdr.c: Likewise.
50124 * sunrpc/xdr_array.c: Likewise.
50125 * sunrpc/xdr_rec.c: Likewise.
50126 * sunrpc/xdr_ref.c: Likewise.
50127 * sunrpc/xdr_stdio.c: Likewise.
50129 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50131 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50133 2011-07-03 Andreas Jaeger <aj@suse.de>
50135 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50136 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50137 regenerate with gen-libm-tests.pl.
50139 2010-05-12 Petr Baudis <pasky@suse.cz>
50142 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50143 around j0() zero points by switching to j1().
50144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50145 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50149 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50151 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50153 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50156 Patch in part by Pavel Roskin <proski@gnu.org>.
50159 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50161 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50162 Free memory block if necessary.
50165 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50166 be NULL. Don't lock in this case.
50168 2011-09-09 Roland McGrath <roland@hack.frob.com>
50170 * elf/elf.h (ELFOSABI_GNU): New macro.
50171 (ELFOSABI_LINUX): Define to that.
50173 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50175 * string/strncat.c (strncat): Undef the symbol in case it has been
50176 defined in bits/string.h.
50178 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50180 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50182 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50185 2011-08-17 Andreas Jaeger <aj@suse.de>
50187 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50189 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50190 Ian Lance Taylor <iant@google.com>
50192 * math/libm-test.inc (lround_test): New testcase.
50193 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50195 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50197 * Makefile: Remove support for automatic cvs check-ins.
50198 * Makerules: Likewise.
50199 * config.make.in: Likewise.
50200 * configure.in: Likewise.
50201 * intl/Makefile: Likewise.
50202 * locale/Makefile: Likewise.
50203 * po/Makefile: Likewise.
50204 * posix/Makefile: Likewise.
50205 * sysdeps/gnu/Makefile: Likewise.
50206 * sysdeps/mach/hurd/Makefile: Likewise.
50207 * sysdeps/sparc/sparc32/Makefile: Likewise.
50210 * posix/Makefile (bug-regex32-ENV): Define.
50211 Patch by John Stanley <jpsinthemix@verizon.net>.
50213 * misc/Makefile (headers): Add bits/select2.h.
50214 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50215 * misc/bits/select2.h: New file.
50216 * include/bits/select2.h: New file.
50217 * debug/Makefile (routines): Add fdelt_chk.
50218 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50219 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50221 * debug/fdelt_chk.c: New file.
50223 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50224 * wcsmbs/test-wmemcmp.c: Likewise.
50225 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50226 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50228 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50230 * string/Makefile (strop-tests): Add memcmp.
50231 * string/test-wmemcmp.c: New file.
50232 * string/test-memcmp.c: Add wmemcmp support.
50234 2011-09-08 Roland McGrath <roland@hack.frob.com>
50237 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50240 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50241 garbage value in a __mach_port_mod_refs call in the cases of the
50242 task-self and thread-self ports.
50244 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50246 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50248 2011-09-08 Andreas Schwab <schwab@redhat.com>
50250 * elf/dl-load.c (lose): Check for non-null L.
50252 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50254 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50256 * elf/dl-libc.c (dlerror_run): Pass back error code from
50260 * elf/dl-load.c (lose): Free l_origin if it is valid.
50262 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50264 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50265 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50267 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50268 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50269 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50271 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50273 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50274 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50275 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50276 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50277 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50278 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50279 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50280 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50281 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50282 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50284 2011-08-15 Alan Modra <amodra@gmail.com>
50287 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50288 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50289 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50290 ppc_mcount to static-only-routines.
50291 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50293 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50294 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50296 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50298 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50299 for finite and infinity parameters.
50301 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50304 and add nop instructions for throughput optimization.
50305 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50307 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50310 aligned copy for power7 with vector-scalar instructions.
50311 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50313 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50318 2011-09-07 Andreas Schwab <schwab@redhat.com>
50321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50324 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50326 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50327 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50328 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50329 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50332 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50334 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50335 Forgot to demangle the pointer.
50337 * sysdeps/i386/sysdep.h: Define atom_text_section.
50338 * sysdeps/x86_64/sysdep.h: Likewise.
50339 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50340 section with atom_text_section.
50341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50342 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50343 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50345 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50348 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50349 already be defined. Change to take two parameters and don't assign
50350 result to variable. Adjust all users.
50351 Define INTERNAL_GETTIME if not already defined.
50352 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50355 HAVE_CLOCK_GETTIME_VSYSCALL.
50356 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50359 gettimeofday vsyscall, just use time.
50361 2011-09-06 Andreas Schwab <schwab@redhat.com>
50363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50366 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50368 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50372 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50374 syscall if possible.
50376 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50378 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50379 e_ident. Don't pass to find_mapsXX.
50380 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50382 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50385 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50386 * sysdeps/x86_64/multiarch/strchr.S: Update.
50387 Check bit_slow_BSF bit.
50388 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50389 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50390 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50392 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50395 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50397 (tryshell): Define.
50398 (__spawni): Change last parameter to be flag. Test
50399 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50400 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50401 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50402 * posix/spawni.c: Likewise.
50403 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50404 * posix/spawnp.c: Likewise. Change normal version to use
50405 SPAWN_XFLAGS_USE_PATH.
50406 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50407 SPAWN_XFLAGS_TRY_SHELL.
50410 * posix/glob.h: Remove gcc 1.x support.
50413 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50415 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50418 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50420 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50421 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50422 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50423 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50424 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50425 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50427 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50429 * sysdeps/x86_64/wcscmp.S: New file.
50431 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50432 wcscmp-c wcscmp-sse2
50433 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50434 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50435 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50436 * wcsmbs/wcscmp.c: Allow renaming.
50438 2011-09-05 David S. Miller <davem@davemloft.net>
50440 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50441 stack slot, rather than the struct return pointer slot.
50442 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50443 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50445 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50447 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50449 * po/ja.po: Update from translation team.
50452 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50453 kernel in 64-bit binaries.
50455 2011-09-01 David S. Miller <davem@davemloft.net>
50457 * elf/elf.h (HWCAP_SPARC_*): Move to..
50458 * sysdeps/sparc/sysdep.h: this new file and add new values.
50459 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50460 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50461 _DL_HWCAP_COUNT to 24.
50462 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50464 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50465 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50466 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50468 instead of magic constants.
50469 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50471 2011-08-31 David S. Miller <davem@davemloft.net>
50473 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50475 Reimplement to do errno handling inline.
50476 (SYSCALL_ERROR_HANDLER): New macro.
50477 (__SYSCALL_STRING): Do not do errno handling in asm.
50478 (__CLONE_SYSCALL_STRING): Delete.
50479 (__INTERNAL_SYSCALL_STRING): Delete.
50480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50481 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50482 (PSEUDO): Reimplement to do errno handling inline.
50483 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50484 (SYSCALL_ERROR_HANDLER): New macro.
50485 (__SYSCALL_STRING): Do not do errno handling in asm.
50486 (__CLONE_SYSCALL_STRING): Delete.
50487 (__INTERNAL_SYSCALL_STRING): Delete.
50488 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50489 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50491 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50492 (inline_syscall*): Add 'err' argument.
50493 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50494 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50495 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50496 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50498 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50499 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50501 2011-08-30 Andreas Schwab <schwab@redhat.com>
50503 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50505 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50507 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50510 2011-08-24 David S. Miller <davem@davemloft.net>
50512 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50514 2011-08-24 Andreas Schwab <schwab@redhat.com>
50516 * elf/Makefile: Add rules to build and run unload8 test.
50517 * elf/unload8.c: New file.
50518 * elf/unload8mod1.c: New file.
50519 * elf/unload8mod1x.c: New file.
50520 * elf/unload8mod2.c: New file.
50521 * elf/unload8mod3.c: New file.
50523 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50526 2011-08-23 David S. Miller <davem@davemloft.net>
50528 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50529 subtract stack bias.
50530 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50531 %sp not %fp in calculations.
50532 (_JMPBUF_UNWINDS_ADJ): Likewise.
50534 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50535 (aio_suspend): Call it to force an exception region around the
50536 AIO_MISC_WAIT() invocation.
50538 2011-08-23 Andreas Schwab <schwab@redhat.com>
50540 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50543 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50545 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50547 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50548 and <dl-machine.h>.
50549 (Elf64_FuncDesc): Remove.
50551 2011-08-22 David S. Miller <davem@davemloft.net>
50553 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50554 sigaltstack check, add missing cfi directives.
50555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50556 missing cfi directives, and sigaltstack handling.
50558 2011-08-16 Andreas Schwab <schwab@redhat.com>
50561 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50562 object is seen twice.
50563 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50565 * elf/Makefile (distribute): Add tst-initorder2.c.
50566 (tests): Add tst-initorder2.
50567 (modules-names): Add tst-initorder2a tst-initorder2b
50568 tst-initorder2c tst-initorder2d. Add rules to build them.
50569 ($(objpfx)tst-initorder2.out): New rule.
50570 * elf/tst-initorder2.c: New file.
50571 * elf/tst-initorder2.exp: New file.
50573 2011-08-22 Andreas Schwab <schwab@redhat.com>
50575 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50577 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50578 dependencies back to end of function.
50580 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50581 $(elfobjdir)/ld.so.
50583 2011-08-21 Ulrich Drepper <drepper@gmail.com>
50585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50586 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50587 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50588 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50589 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50590 of __vdso_gettimeofday.
50591 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50592 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50594 (_libc_vdso_platform_setup): Remove initialization of
50595 __vdso_gettimeofday and __vdso_time.
50597 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50599 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50600 and fgetc_unlocked.
50601 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50604 * elf/dl-open.c (add_to_global): Report additions to the global scope
50605 for LD_DEBUG=scopes.
50606 (dl_open_worker): Also print scope of newly loaded dependencies.
50607 (_dl_show_scope): Indicate if there is no scope.
50610 * stdio-common/Makefile (tests): Add bug24.
50611 * stdio-common/bug24.c: New file.
50613 2011-08-19 Andreas Jaeger <aj@suse.de>
50616 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50617 non-existant file when using close-on-exec mode.
50619 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50622 the very first instruction.
50624 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50625 the CFI state in the end.
50626 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50627 inclusion of dl-trampoline.h.
50628 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50630 2011-08-19 Andreas Schwab <schwab@redhat.com>
50632 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50633 expectations for long double.
50635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50636 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50638 2011-08-14 David S. Miller <davem@davemloft.net>
50640 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50641 artificual limit depends upon the system page size.
50643 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50645 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50646 * resolv/Makefile: Define CFLAGS-libresolv.
50648 2011-08-17 Andreas Schwab <schwab@redhat.com>
50650 * nss/makedb.c (compute_tables): Make variables used in nested
50653 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50655 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50656 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50657 if buffer was too small.
50659 * elf/pldd.c (main): Attach to all threads in the process.
50660 Rewrite /proc handling to use *at functions.
50662 2011-08-16 Ulrich Drepper <drepper@gmail.com>
50664 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50665 specifies first scope to show.
50666 (dl_open_worker): Update callers. Move printing scope of new
50667 object to before the relocation.
50668 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50669 * sysdeps/generic/ldsodefs.h: Update declaration.
50671 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50672 string for the scope number.
50674 2011-08-14 Ulrich Drepper <drepper@gmail.com>
50676 * nscd/servicescache.c (cache_addserv): Make sure written is always
50679 2011-08-14 Roland McGrath <roland@hack.frob.com>
50681 * sysdeps/i386/i486/bits/atomic.h
50682 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50683 statement expression, so as to suppress "set but not used" warning.
50684 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50686 * string/strncat.c (STRNCAT): Use prototype definition.
50688 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50689 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50691 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50692 (localedef-modules): Add localedef.
50693 (locale-modules): Add locale.
50695 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50696 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50697 to avoid a warning.
50699 2011-08-14 David S. Miller <davem@davemloft.net>
50701 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50702 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50704 2011-08-13 Ulrich Drepper <drepper@gmail.com>
50706 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50707 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50708 * elf/rtld.c (dl_main): Set l_name of vDSO.
50709 Call _dl_show_scope when DL_DEBUG_SCOPES.
50710 (process_dl_debug): Recognize scopes flag and also set it for all.
50711 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50712 Declare _dl_show_scope.
50714 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50715 (do_dlopen): Pass caller_dlopen to dl_open.
50716 (__libc_dlopen_mode): Initialize caller_dlopen.
50718 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50719 of libc. Make tolower call locale-independent. Optimize a bit by
50720 using isdigit instead of isalnum.
50721 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50723 2011-08-12 Ulrich Drepper <drepper@gmail.com>
50725 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50726 was a dependency or dynamically loaded.
50728 2011-08-11 Ulrich Drepper <drepper@gmail.com>
50730 * intl/l10nflist.c: Allow architecture-specific pop function.
50731 * sysdeps/x86_64/l10nflist.c: New file.
50733 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50736 2011-08-10 Andreas Schwab <schwab@redhat.com>
50738 * include/dirent.h: Add libc_hidden_proto for scandirat and
50739 scandirat64. Don't declare __scandirat64.
50740 * dirent/scandirat.c: Add libc_hidden_def.
50741 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50742 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50744 2011-08-10 David S. Miller <davem@davemloft.net>
50746 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50750 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50752 2011-08-09 Ulrich Drepper <drepper@gmail.com>
50754 * Versions.def [libc]: Add GLIBC_2.15.
50755 * dirent/Makefile (routines): Add scandirat and scandirat64.
50756 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50758 * dirent/dirent.h: Declare scandirat and scandirat64.
50759 * dirent/scandirat.c: New file.
50760 * dirent/scandirat64.c: New file.
50761 * sysdeps/wordsize-64/scandirat.c: New file.
50762 * sysdeps/wordsize-64/scandirat64.c: New file.
50763 * dirent/opendir.c: Define opendirat.
50764 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50766 * dirent/scandir64.c: Adjust for scandir.c change.
50767 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50768 __scandirat64, and __scandir_cancel_handler.
50769 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50770 additional parameter and use openat instead of open (outside of ld.so).
50771 Add new __opendir as wrapper around __opendirat.
50772 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50773 here without requiring old scandirat implementation.
50775 2011-08-08 Ulrich Drepper <drepper@gmail.com>
50777 * dirent/scandir.c (cancel_handler): Renamed to
50778 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50779 defined. Adjust users.
50780 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50781 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50783 2011-08-04 Ulrich Drepper <drepper@gmail.com>
50785 * string/test-string.h (IMPL): Use __STRING to expand name and then
50788 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50791 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50793 * string/Makefile: Update.
50794 (strop-tests): Append strncat.
50795 * string/test-wcscmp.c: New file.
50796 New comprehensive test for wcscmp.
50797 * string/test-strcmp.c: Update.
50798 (WIDE): New define.
50800 2011-07-22 Andreas Schwab <schwab@redhat.com>
50802 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50805 2011-07-26 Andreas Schwab <schwab@redhat.com>
50807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50808 encoding to ACE if AI_IDN.
50810 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50813 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50815 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50817 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50818 Fix overflow bug in strncat.
50819 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50821 * string/test-strncat.c: Update.
50822 Add new tests for checking overflow bugs.
50824 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50827 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50828 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50829 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50831 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50832 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50833 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50834 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50836 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50837 (USE_AS_STRCAT): Define.
50838 Add strcat and strncat support.
50839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50841 2011-07-25 Andreas Schwab <schwab@redhat.com>
50843 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50844 __n bigger than INT_MAX+1.
50845 (__strncmp_g): Likewise.
50847 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50849 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50850 * libio/stido.h: Likewise.
50852 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50857 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50860 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50861 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50864 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50869 (_dl_x86_64_save_sse): Likewise.
50871 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50875 (_dl_x86_64_save_sse): Likewise.
50877 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50879 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50881 2011-07-21 Andreas Schwab <schwab@redhat.com>
50883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50885 (_dl_x86_64_save_sse): Use correct AVX check.
50887 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50890 bug in strncpy/strncat.
50891 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50893 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50895 * string/tester.c (test_strcat): Add tests for different alignments
50896 of source and destination.
50897 (test_strncat): Likewise.
50899 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50902 * posix/glob.c (glob): Check passed in values before using them in
50903 expressions to avoid some overflows.
50904 (glob_in_dir): Likewise.
50907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50908 check for AVX enablement so that we don't crash with old kernels and
50910 * elf/tst-audit4.c: Add same checks here.
50911 * elf/tst-audit6.c: Likewise.
50913 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50915 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50917 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50919 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50921 * po/cs.po: Update from translation team.
50922 * po/bg.po: Likewise.
50924 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50926 * misc/sys/cdefs.h: Add support for const attribute.
50927 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50928 to gnu_dev_{major,minor,makedev} functions.
50930 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50932 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50934 2011-07-20 Andreas Schwab <schwab@redhat.com>
50936 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50939 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50942 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50943 register in order to avoid conflicts with the soft frame pointer
50944 being held in r11 when necessary.
50945 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50946 (INTERNAL_VSYSCALL_NCS): Likewise.
50948 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50950 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50951 * elf/dl-fini.c (_dl_fini): Adjust caller.
50952 * elf/dl-close.c (_dl_close_worker): Likewise.
50953 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50955 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50957 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50958 "aux_cache->nlibs < 0".
50960 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50961 in the reload-count case.
50963 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50966 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50967 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50968 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50969 * sysdeps/x86_64/multiarch/strcat.S: New file.
50970 * sysdeps/x86_64/multiarch/strncat.S: New file.
50971 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50972 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50973 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50974 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50976 (USE_AS_STRCAT): Define.
50977 Add strcat and strncat support.
50978 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50979 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50980 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50981 * string/strncat.c: Update.
50982 (USE_AS_STRNCAT): Define.
50983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50984 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50986 * sysdeps/x86_64/multiarch/init-arch.h
50987 (bit_Prefer_PMINUB_for_stringop): New.
50988 (index_Prefer_PMINUB_for_stringop): Likewise.
50989 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50990 bit_Prefer_PMINUB_for_stringop.
50992 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50994 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50996 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50997 of casting of buffer.
50998 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50999 buffer32 and buffer64.
51000 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51001 writes instead of casting of buffer.
51002 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51004 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51007 2011-07-19 Andreas Schwab <schwab@redhat.com>
51009 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51011 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51013 * nscd/nscd.c (termination_handler): Don't do anything for a database
51014 if it has not yet been initialized.
51016 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51018 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51020 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51022 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51024 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51026 * po/nl.po: Update from translation team.
51027 * po/sv.po: Likewise.
51029 2011-07-16 Roland McGrath <roland@hack.frob.com>
51031 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51032 now disallowed by GCC.
51034 * configure.in (use-default-link): Default to yes if a test -shared
51035 link meets our qualifications.
51036 * configure: Regenerated.
51038 * config.make.in (output-format): New variable.
51039 * configure.in: Check for ld --print-output-format support.
51040 * configure: Regenerated.
51041 * Makerules ($(common-objpfx)format.lds)
51042 [$(output-format) != unknown]: Just use $(output-format),
51043 instead of the linker-script munging.
51045 2011-07-14 Roland McGrath <roland@hack.frob.com>
51047 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51048 of $(common-objpfx)shlib.lds.
51049 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51051 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51052 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51054 * configure.in (-z relro check): Adjust test code to add a large
51055 writable data section after it.
51056 * configure: Regenerated.
51058 2011-07-11 Roland McGrath <roland@hack.frob.com>
51060 * configure.in (-z relro check): Fix test code to make the variable
51062 * configure: Regenerated.
51064 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51066 * nscd/nscd.h (struct traced_file): Define.
51067 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51068 elements. Add traced_files.
51069 (inotify_fd): Declare.
51070 (register_traced_file): Declare.
51071 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51072 (inotify_fd): Export.
51073 (resolv_conf_descr): Remove.
51074 (nscd_init): Move inotify descriptor creation to main.
51075 Don't register files for notification here.
51076 (register_traced_file): New function.
51077 (invalidate_cache): Don't use reset_res to determine whether to call
51078 res_init, go through the list of registered files.
51079 (main_loop_poll): The inotify descriptors are now stored in the
51080 structures for the traced files.
51081 (main_loop_epoll): Likewise
51082 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51083 to __nss_disable_nscd.
51084 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51085 for a database anymore. Check the records for all the registered
51087 * nss/Makefile (libnss_files-routines): Add files-init.
51088 (libnss_db-routines): Add db-init.
51089 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51090 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51091 * nss/nss_db/db-init.c: New file.
51092 * nss/nss_files/files-init.c: New file.
51093 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51094 __nss_lookup_function.
51095 (__nss_lookup_function): Call nss_load_library.
51096 (nss_load_all_libraries): New function.
51097 (__nss_disable_nscd): Take parameter with callback function for files
51098 to register. Set is_nscd. Load all the DSOs for the NSS modules
51099 used for the cached services.
51100 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51101 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51102 options for features to all the files in nscd.
51104 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51106 2011-07-10 Roland McGrath <roland@hack.frob.com>
51108 * csu/elf-init.c (__libc_csu_init): Comment typo.
51110 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51112 * po/pl.po: Update from translation team.
51113 * po/ja.po: Likewise.
51114 * po/ru.po: Likewise.
51115 * po/ko.po: Likewise.
51116 * po/fr.po: Likewise.
51118 2011-07-09 Roland McGrath <roland@hack.frob.com>
51120 * configure.in (.ctors/.dtors header and trailer check):
51121 Use an empirical test on a built program.
51122 * configure: Regenerated.
51124 * configure.in (-z relro check): Use an empirical test on a built DSO.
51125 Detect, but do not require, on ia64.
51126 * configure: Regenerated.
51128 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51129 Update tests that use readelf to use $READELF instead.
51130 * configure: Regenerated.
51132 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51134 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51135 if the result is not used.
51137 2011-07-05 Andreas Jaeger <aj@suse.de>
51140 * stdlib/tst-strtod.c: Add testcase.
51142 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51144 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51145 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51146 The latter has a higher limit. Take additional parameter to pass to
51148 (__pathconf): Pass file to __statfs_link_max.
51149 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51151 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51155 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51156 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51158 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51159 (__statfs_filesize_max): Likewise.
51160 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51162 2011-07-05 Andreas Jaeger <aj@suse.de>
51164 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51166 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51168 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51170 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51173 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51175 * Makefile (strop-tests): Add strncat.
51176 * string/test-strncat.c: New file.
51178 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51180 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51182 2011-06-21 Andreas Jaeger <aj@suse.de>
51184 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51185 Copy rule from iconvdata/Makefile.
51187 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51190 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51191 but no long options are defined, just return 'W'.
51193 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51196 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51198 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51200 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51202 (innetgr): Likewise.
51204 2011-07-05 Roland McGrath <roland@hack.frob.com>
51206 * config.make.in (install_root): Default to $(DESTDIR).
51208 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51212 2011-07-02 Roland McGrath <roland@hack.frob.com>
51214 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51216 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51217 containing directory rather than embedding absolute directory names.
51219 * scripts/check-local-headers.sh: Rewritten using awk.
51220 Match by word, not by line. Print error messages for matches.
51221 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51223 * Makerules [shlib-lds-flags empty]:
51224 ($(common-objpfx)libc_pic.opts): New target.
51225 ($(common-objpfx)libc_pic.os.clean): New target.
51226 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51228 * config.make.in (OBJCOPY): New variable.
51229 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51230 * configure: Regenerated.
51232 * config.make.in (use-default-link): New variable.
51233 * configure.in (use_default_link): Grok --with-default-link to set it.
51234 * configure: Regenerated.
51235 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51236 (shlib-lds, shlib-lds-flags): Define to empty.
51238 * Makerules (shlib-lds): New variable.
51239 (shlib-lds-flags): New variable.
51240 (build-shlib, build-moduile, build-module-asneeded): Use it.
51241 ($(common-objpfx)libc.so): Use $(shlib-lds).
51242 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51243 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51245 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51246 DT_FLAGS/DT_FLAGS_1 with zero flags.
51248 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51249 linker script munging.
51251 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51253 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51255 * crypt/sha512.c (sha512_process_block): Perform total addition using
51256 128-bit if possible.
51257 (__sha512_finish_ctx): Likewise.
51258 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51260 * crypt/sha256.c (SWAP64): Define.
51261 (sha256_process_block): Perform total addition using 64-bit if
51263 (__sha256_finish_ctx): Likewise.
51265 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51267 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51269 * nscd/hstcache.c (cache_addhst): Likewise.
51270 * nscd/grpcache.c (cache_addgr): Likewise.
51271 * nscd/aicache.c (addhstaiX): Likewise
51272 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51274 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51276 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51278 * nscd/hstcache.c (cache_addhst): Likewise.
51279 * nscd/grpcache.c (cache_addgr): Likewise.
51280 * nscd/aicache.c (addhstaiX): Likewise
51282 2011-07-01 Andreas Schwab <schwab@redhat.com>
51284 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51285 domain only when needed.
51287 2011-06-30 Andreas Schwab <schwab@redhat.com>
51289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51290 is always restored.
51292 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51294 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51295 are re-adding the entry.
51296 * nscd/servicescache.c (cache_addserv): Likewise.
51298 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51300 * sysdeps/generic/dl-irel.h: fix protection against multiple
51302 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51304 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51307 * malloc/memusage.sh: Fix quoting in message.
51308 * debug/xtrace.sh: Likewise.
51310 * configure.in: Remove support for --experimental-malloc option, make
51312 * config.make.in: Likewise.
51313 * malloc/Makefile: Likewise.
51315 2011-06-27 Andreas Schwab <schwab@redhat.com>
51317 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51318 two-byte characters.
51320 2011-06-27 Roland McGrath <roland@hack.frob.com>
51322 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51323 AC_CACHE_CHECK invocation.
51324 * configure: Regenerated.
51326 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51328 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51331 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51332 bit from old_res_options.
51334 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51336 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51337 value type for setfct.
51339 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51342 __gettimeofday instead of gettimeofday.
51344 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51346 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51348 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51350 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51355 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51358 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51359 strcpy-sse2-unaligned strncpy-sse2-unaligned
51360 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51361 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51362 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51363 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51364 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51365 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51366 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51367 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51368 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51369 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51370 (STRCPY): Support SSE2 and SSSE3 versions.
51372 2011-06-24 Ulrich Drepper <drepper@gmail.com>
51375 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51376 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51377 kernels which artificially limit size of requests.
51379 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51382 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51383 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51384 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51385 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51386 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51387 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51388 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51389 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51391 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51392 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51393 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51394 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51395 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51397 Enable unaligned load optimization for Intel Core i3, i5 and i7
51399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51401 (index_Fast_Unaligned_Load): Define.
51402 (HAS_FAST_UNALIGNED_LOAD): Define.
51404 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51406 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51408 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51411 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51412 until it is clear that the information is realy needed.
51413 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51415 2011-06-22 Andreas Schwab <schwab@redhat.com>
51417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51419 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51421 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51422 /sys/devices/system/cpu/online if it is usable.
51424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51425 reading the information from the /proc filesystem to once a second.
51427 2011-06-21 Andreas Jaeger <aj@suse.de>
51429 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51430 NULL after inclusion of kernel headers.
51432 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51434 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51435 calls to internal_setent.
51438 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51439 addresses using gethostbyname4_r ignore IPv4 addresses.
51441 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51442 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51444 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51446 2011-06-20 David S. Miller <davem@davemloft.net>
51448 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51450 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51452 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51453 (elf_irel): Use it.
51454 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51455 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51456 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51457 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51458 * sysdeps/x86_64/dl-irel.h: Likewise.
51460 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51461 * elf/dl-sym.c: Likewise.
51463 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51465 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51466 need to dereference resplen2.
51468 2011-06-14 Andreas Schwab <schwab@redhat.com>
51470 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51472 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51474 * Makeconfig: Define vardbdir and inst_vardbdir.
51475 * nss/Makefile: Add rules to install db-Makefile.
51477 * nss/nss_db/db-XXX.c: Cleanup.
51479 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51480 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51482 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51483 * nss/makedb.c: Implement -g option to specify that value strings
51484 are generated and should not be added to table iterated over for
51486 * nss/nss_db/db-initgroups.c: New file.
51488 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51491 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51492 (internal_getgrouplist): Adjust to name change.
51493 Update use_initgroups_entry if this is not the first call.
51494 * nss/databases.def: Add initgroups entry.
51496 * nss/makedb.c (compute_tables): Check result of multiple hash table
51497 sizes to minimize maximum chain length.
51499 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51501 * Versions.def: Add entry for libnss_db.
51502 * shlib-versions: Likewise.
51503 * nss/Makefile: Add rules to build libnss_db.
51504 * nss/Versions: Add libnss_db information. Organize libnss_files
51506 * nss/db-Makefile: Add gshadow support. Change rules for the new
51507 makedb progra. Some minor improvements to generate smaller files.
51508 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51510 * nss/makedb.c: ...here.
51511 Improve database format to be smaller and require less memory at
51513 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51515 * nss/nss_db/db-netgrp.c: Likewise.
51516 * nss/nss_db/db-open.c: Likewise.
51517 * nss/nss_files/flies-XXX.x: Adjust comments.
51518 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51519 * nss/nss_files/files-grp.c: Likewise.
51520 * nss/nss_files/files-hosts.c: Likewise.
51521 * nss/nss_files/files-network.c: Likewise.
51522 * nss/nss_files/files-proto.c: Likewise.
51523 * nss/nss_files/files-pwd.c: Likewise.
51524 * nss/nss_files/files-rpc.c: Likewise.
51525 * nss/nss_files/files-service.c: Likewise.
51526 * nss/nss_files/files-sgrp.c: Likewise.
51527 * nss/nss_files/files-spwd.c: Likewise.
51528 * nss/nss_db/db-alias.c: Removed.
51529 * nss/nss_db/dummy-db.h: Removed.
51531 2011-06-02 Ulrich Drepper <drepper@gmail.com>
51533 * nss/makedb.c: Rewritten to not use database library.
51534 * nss/Makefile: Update to build new makedb program.
51536 2011-06-14 Andreas Jaeger <aj@suse.de>
51538 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51539 memset declaration.
51541 2011-06-10 Andreas Schwab <schwab@redhat.com>
51543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51546 2011-06-10 Roland McGrath <roland@hack.frob.com>
51548 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51549 * elf/Makefile ($(objpfx)ld.so): Likewise.
51551 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51552 Don't list ld.so twice in dependencies.
51554 * posix/bug-regex31.c: Include <stdlib.h>.
51556 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51558 * nis/nss_compat/compat-spwd.c
51559 (getspent_next_nss_netgr): Remove unused variable.
51560 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51562 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51563 nonmembers" output to use the right array.
51565 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51567 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51569 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51570 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51571 * catgets/gencat.c (read_input_file): Likewise.
51572 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51574 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51575 variable definition inside #if's controlling its use.
51577 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51579 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51581 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51583 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51586 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51588 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51589 * configure: Regenerated.
51591 * Makerules: Revert last change.
51592 * elf/Makefile: Likewise.
51594 2011-06-09 Roland McGrath <roland@hack.frob.com>
51596 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51597 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51598 (reloc-link): Likewise.
51600 2011-06-09 Ulrich Drepper <drepper@gmail.com>
51602 * elf/Makefile: Add rules to build pldd.
51603 * elf/pldd.c: New file.
51604 * elf/pldd-xx.c: New file.
51606 2011-06-07 Ulrich Drepper <drepper@gmail.com>
51608 * version.h: Update for 2.15 development version.
51610 2011-06-07 David S. Miller <davem@davemloft.net>
51612 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51615 elf_machine_lazy_rel): Likewise.
51616 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51618 elf_machine_lazy_rel): Likewise.
51619 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51620 dl_hwcap via passed in argument.
51621 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51624 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51626 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51628 2011-06-06 Roland McGrath <roland@hack.frob.com>
51631 * manual/fdl-1.1.texi: New file, verbatim from:
51632 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51633 * manual/lgpl-2.1.texi: New file, verbatim from:
51634 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51635 * manual/Makefile (licenses): New variable, list those new file names.
51637 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51639 * manual/fdl.texi: File removed.
51640 * manual/lesser.texi: File removed.
51641 * manual/libc.texinfo (Copying, Documentation License):
51642 Use new @include file names, put @appendix directive before @include.
51644 2011-06-04 Jakub Jelinek <jakub@redhat.com>
51647 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51648 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51649 (mq_open): Add __NTH.
51651 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51654 Assume Intel Core i3/i5/i7 processor if AVX is available.
51656 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51661 2011-05-31 Andreas Schwab <schwab@redhat.com>
51663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51664 memory. Use alloca_account. Fix memory leak when retrying.
51666 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51668 * version.h (RELEASE): Bump for 2.14 release.
51669 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51671 * config.make.in (RANLIB): Remove entry.
51673 2011-05-30 Ulrich Drepper <drepper@gmail.com>
51675 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51676 (libc.pot): Work around missing support for .ksh extension in xgettext.
51679 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51680 if both request failed.
51681 (send_dg): In case of server errors clear resplen or *resplen2.
51684 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51685 when there are multiple maps.
51686 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51687 (_dl_fini): Remove test here.
51689 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51691 2011-05-29 Ulrich Drepper <drepper@gmail.com>
51694 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51695 bit from old_res_options.
51696 (gaih_inet): Likewise.
51699 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51702 * resolv/res_init.c (res_setoptions): Make the code more compact.
51705 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51709 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51711 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51714 * malloc/malloc.h: Declare malloc hook variables as volatile.
51716 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51720 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51721 raise in the comment.
51722 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51723 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51724 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51726 2011-05-28 Ulrich Drepper <drepper@gmail.com>
51729 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51730 grow the buffers more if it already has to be sufficient.
51731 (build_wcs_upper_buffer): Likewise.
51732 * posix/regexec.c (check_matching): Likewise.
51733 (clean_state_log_if_needed): Likewise.
51734 (extend_buffers): Don't enlarge buffers beyond size of the input
51736 Patches mostly by Emil Wojak <emil@wojak.eu>.
51737 * posix/bug-regex32.c: New file.
51738 * posix/Makefile (tests): Add bug-regex32.
51740 * locale/findlocale.c (_nl_find_locale): Return right away if
51741 _nl_explode_name failed.
51742 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51744 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51746 * debug/xtrace.sh: Unify messages.
51747 * malloc/memusage.sh: Likewise.
51750 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51751 time symbol from vDSO. Substitute with vsyscall if not available.
51752 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51755 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51756 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51757 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51758 Add sendmmsg and internal_sendmmsg.
51759 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51760 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51761 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51763 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51764 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51765 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51767 2011-05-27 Ulrich Drepper <drepper@gmail.com>
51770 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51771 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51777 * iconvdata/Makefile (tests): Add bug-iconv9.
51778 * iconvdata/bug-iconv9.c: New file.
51780 2011-05-27 Andreas Schwab <schwab@redhat.com>
51783 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51785 2011-05-25 Jakub Jelinek <jakub@redhat.com>
51787 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51788 (struct user_regs_struct): Change intcs field back to cs.
51790 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51792 * po/ja.po: Update from translation team.
51794 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51797 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51798 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51800 2011-05-20 Andreas Schwab <schwab@redhat.com>
51802 * stdlib/longlong.h: Update from GCC.
51804 2011-05-23 Andreas Schwab <schwab@redhat.com>
51806 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51808 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51809 Add parameter name.
51810 (__sysconf): Pass it down.
51812 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51815 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51817 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51818 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51819 add in in __libc_use_alloca calls. Adjust callers.
51820 (glob): Use malloc in some situations.
51822 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51823 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51826 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51828 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51829 and CLOCK_BOOTTIME_ALARM.
51832 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51835 * string/_strerror.c (__strerror_r): Print negative errors as signed
51839 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51840 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51841 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51843 * configure.in: Fix typo in redirection and correct removal of test
51844 files in two cases.
51847 * locale/setlocale.c (new_composite_name): Fix test to check for
51848 identical name of all categories.
51851 * libio/filedoalloc.c (local_isatty): New function.
51852 (_IO_file_doallocate): Use local_isatty.
51853 * stdio-common/perror.c (perror): In case a new stream is used
51854 forward the stream error.
51855 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51858 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51863 * include/alloca.h (extend_alloca_account): Define.
51866 * posix/regex.h: Fix comments with documentation of user-accessible
51867 fields after compilation and describe correct free'ing of pattern
51868 after re_compile_pattern.
51869 Patch by Reuben Thomas <rrt@sc3d.org>.
51871 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51873 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51874 and -mno-altivec to prevent the compiler from using Altivec and/or
51875 VSX instructions when the corresponding registers are not available.
51877 2011-05-19 Andreas Schwab <schwab@redhat.com>
51879 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51881 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51883 * libio/freopen.c (freopen): Use __dup2, not dup2.
51884 * libio/freopen64.c (freopen64): Likewise.
51886 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51889 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51890 * math/Makefile (tests): Add test-powl.
51891 (CFLAGS-test-powl.c): Define.
51892 * math/test-powl.c: New file.
51894 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51896 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51898 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51901 * iconvdata/gb18030.c: Update to GB18020-2005.
51903 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51905 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51906 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51907 Patch by Aharon Robbins <arnold@skeeve.com>.
51910 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51914 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51915 through underflows.
51918 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51919 point to strings before performing equality test for error_one_per_line
51923 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51926 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51927 (struct user_fpregs_struct): Avoid __uint*_t types.
51930 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51931 symbol info. Use it instead of calling _dl_addr locally.
51932 (lock_and_info): New function.
51933 (tr_freehook): Call lock_and_info and pass symbol info as additional
51934 parameter to tr_where.
51935 (tr_mallochook): Likewise.
51936 (tr_reallochook): Likewise.
51937 (tr_memalignhook): Likewise.
51939 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51940 used and couldn't be at all thread-safe.
51942 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51944 * libio/freopen.c (freopen): Don't close old file descriptor
51945 before the new one is opened. Instead dup the new file descriptor
51946 to the old one after the new stream is created.
51947 * libio/freopen64.c (freopen64): Likewise.
51948 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51949 * libio/fileops.c (_IO_new_file_close_it): Handle new
51950 _IO_FLAGS2_NOCLOSE flag.
51951 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51952 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51953 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51954 _IO_FLAGS2_NOCLOSE flag.
51955 * include/unistd.h: Add hidden_proto for dup3.
51956 Define __have_dup3.
51957 * io/dup3.c: Define hidden symbol.
51958 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51961 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51962 when an incomplete long option is used.
51963 * posix/tst-getopt_long1.c: New file.
51964 * posix/Makefile (tests): Add tst-getopt_long1.
51967 * scripts/config.guess: Update from autoconf-2.68.
51968 * scripts/config.sub: Likewise.
51971 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51973 (has_cpuclock): ...this. New function.
51974 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51975 macro here based on has_cpuclock code.
51978 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51979 First byte (not low byte) is now always NUL.
51980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51983 Use non-cancelable interfaces.
51986 * locale/iso-639.def: Add entry for Sorani.
51989 * include/stdlib.h: Move include protection to the right place.
51990 Define abort_msg_s. Declare __abort_msg with it.
51991 * stdlib/abort.c (__abort_msg): Adjust type.
51992 * assert/assert.c (__assert_fail_base): New function. Majority
51993 of code from __assert_fail. Allocate memory for __abort_msg with
51995 (__assert_fail): Now call __assert_fail_base.
51996 * assert/assert-perr.c: Remove bulk of implementation. Use
51997 __assert_fail_base.
51998 * include/assert.hL Declare __assert_fail_base.
51999 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52001 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52003 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52007 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52008 until all modules are registered in the DTV.
52009 * elf/Makefile: Add rules to build and run tst-tls19.
52010 * elf/tst-tls19.c: New file.
52011 * elf/tst-tls19mod1.c: New file.
52012 * elf/tst-tls19mod2.c: New file.
52013 * elf/tst-tls19mod3.c: New file.
52014 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52017 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52021 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52022 two-byte sequence errors.
52023 * iconvdata/Makefile (tests): Add bug-iconv8.
52024 * iconvdata/bug-iconv8.c: New file.
52027 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52030 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52033 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52034 (dummy_getcfa): New function.
52035 (init): Get _Unwind_GetCFA address, use dummy if not found.
52036 (backtrace_helper): In recursion check, also check whether CFA changes.
52037 (__backtrace): Completely initialize arg.
52039 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52040 storing incomplete byte sequence in state object. Avoid testing for
52041 guaranteed too small input if we know there is enough data available.
52043 2011-05-11 Andreas Schwab <schwab@redhat.com>
52045 * Makeconfig (+link-pie): Indent.
52046 * Rules (binaries-pie): Define if $(have-fpie) and
52048 (binaries-shared): Also filter out $(binaries-pie).
52049 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52050 * nscd/Makefile (others-pie): Add nscd.
52051 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52052 ($(objpfx)nscd): Remove command override.
52053 * login/Makefile (others-pie): Add pt_chown.
52054 ($(objpfx)pt_chown): Remove command override.
52055 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52056 remove command overrides.
52058 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52060 * libio/tst_putwc.c: Fix error messages.
52063 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52064 currently writing and seek to current position when not.
52065 * libio/Makefile (tests): Add bug-fclose1.
52066 * libio/bug-fclose1.c: New file.
52068 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52071 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52072 don't set DF_1_NODELETE here.
52073 (do_lookup_x): When entering new entry test for copy relocation
52074 and if necessary set DF_1_NODELETE flag.
52075 * elf/tst-unique4.cc: New file.
52076 * elf/tst-unique4.h: New file.
52077 * elf/tst-unique4lib.cc: New file.
52078 * elf/Makefile: Add rules to build and run tst-unique4.
52079 Patch by Piotr Bury <pbury@goahead.com>.
52081 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52084 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52087 * misc/mntent_r.c (addmntent): Flush the stream after the output
52090 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52091 (is_trusted_path_normalize): Skip initial colon. Append slash
52092 to empty buffer. Duplicate is_trusted_path code but allow
52093 constructed patch to be prefix.
52094 (is_dst): Allow $ORIGIN followed by /.
52095 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52096 Correct testing of result of is_trusted_path_normalize
52097 (decompose_rpath): Fix warning.
52099 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52102 * grp/initgroups.c (internal_getgrouplist): When we found the service
52103 list through the initgroups entry in nsswitch.conf do not always
52104 continue on a successful lookup. Don't always use the
52105 __nss_group_database value if it is set.
52106 * nss/nsswitch.conf (initgroups): Change action for successful db
52107 lookup to continue for compatibility.
52109 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52112 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52114 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52116 * iconvdata/tst-tables.sh: Likewise.
52117 * iconvdata/cp770.c: New file.
52118 * iconvdata/cp771.c: New file.
52119 * iconvdata/cp772.c: New file.
52120 * iconvdata/cp773.c: New file.
52121 * iconvdata/cp774.c: New file.
52122 * iconvdata/testdata/CP770: New file.
52123 * iconvdata/testdata/CP770..UTF8: New file.
52124 * iconvdata/testdata/CP771: New file.
52125 * iconvdata/testdata/CP771..UTF8: New file.
52126 * iconvdata/testdata/CP772: New file.
52127 * iconvdata/testdata/CP772..UTF8: New file.
52128 * iconvdata/testdata/CP773: New file.
52129 * iconvdata/testdata/CP773..UTF8: New file.
52130 * iconvdata/testdata/CP774: New file.
52131 * iconvdata/testdata/CP774..UTF8: New file.
52133 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52135 * iconvdata/gen-8bit-gap.sh: Likewise.
52136 * iconvdata/gen-8bit.sh: Likewise.
52138 * locale/iso-639.def: Add ary entry.
52141 * locale/C-translit.h.in: Add U20A1 transliteration.
52144 * locale/iso-639.def: Add wae entry.
52145 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52148 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52152 * locale/C-translit.h.in: Add entry for U20B9.
52153 Patch by pravin.d.s@gmail.com.
52155 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52158 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52159 ENAMETOOLONG use generic getcwd.
52160 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52161 in rtld. Use *stat64.
52162 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52163 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52164 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52165 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52166 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52167 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52168 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52169 __fstatat64 macros.
52170 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52171 * dirent/rewinddir.c: Add libc_hidden_def.
52172 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52173 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52175 * include/dirent.h (__alloc_dir): Add flags parameter.
52176 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52177 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52179 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52180 from fdopendir if O_CLOEXEC is already set.
52182 2011-03-15 Alan Modra <amodra@gmail.com>
52184 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52185 l_tls_firstbyte_offset non-zero. Save padding offset in
52186 l_tls_firstbyte_offset for later use.
52187 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52188 freeing static tls block.
52190 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52192 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52193 where #ifdef was intended. The intent is to prevent ARG_MAX from
52194 being defined by the kernel headers.
52196 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52199 * resolv/resolv.h: Define RES_NOTLDQUERY.
52200 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52201 no-tld-query and set RES_NOTLDQUERY.
52202 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52203 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52204 modern BIND to search name as TLD unless forbidden.
52206 2011-05-07 Petr Baudis <pasky@suse.cz>
52207 Ulrich Drepper <drepper@gmail.com>
52210 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52211 (is_trusted_path): ...to here.
52212 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52213 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52214 using is_trusted_path_normalize() in setuid scripts.
52216 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52218 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52219 __BEGIN/__END_DECLS.
52221 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52223 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52224 NSS_STATUS_NOTFOUND if no record was found.
52226 2011-05-05 Andreas Schwab <schwab@redhat.com>
52228 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52229 (headers-not-in-tirpc): Remove rpc/netdb.h
52230 * resolv/netdb.h: Revert last change.
52232 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52234 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52235 circular dependency between libgcc.a and libc.a.
52237 2011-05-05 Andreas Schwab <schwab@redhat.com>
52239 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52240 * nis/Makefile: Don't install rpcsvc/*.
52241 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52242 instead of <rpc/types.h>.
52243 (MAXHOSTNAMELEN): Define.
52245 2011-05-03 Andreas Schwab <schwab@redhat.com>
52247 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52249 2011-04-28 Maciej Babinski <mbabinski@google.com>
52252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52253 gethostbyname4_r when IPv6 results are possible.
52255 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52258 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52259 _PC_PIPE_BUF handling.
52261 2011-04-30 Bruno Haible <bruno@clisp.org>
52264 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52265 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52267 * inet/getnameinfo.c (getnameinfo): Likewise.
52269 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52271 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52272 to groups setting in database lookup.
52273 * nss/nsswitch.conf: Add initgroups entry.
52275 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52278 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52280 Patch by Eric Blake <eblake@redhat.com>.
52282 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52284 * sunrpc/Makefile (need-export-routines): Add svc_run.
52285 (routines): Remove svc_run.
52286 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52287 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52288 * sunrpc/svc_run.c (svc_run): Likewise.
52289 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52291 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52294 problem in reallocation in last patch.
52296 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52298 * sunrpc/Makefile: Move inclusion of Rules.
52300 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52302 * nss/nss_files/files-initgroups.c: New file.
52303 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52304 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52305 _nss_files_initgroups_dyn.
52307 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52309 * elf/elf.h (R_ARM_IRELATIVE): Define.
52311 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52313 * po/ru.po: Update from translation team.
52315 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52317 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52320 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52323 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52324 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52325 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52326 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52329 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52331 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52333 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52335 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52337 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52340 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52342 * stdlib/bug-getcontext.c: New file.
52343 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52345 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52347 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52348 instructions into .machine "z9-109".
52349 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52350 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52352 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52354 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52355 between environment variables and auxiliary vector.
52357 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52359 * Makefile: Add rules to build linkobj/libc.so.
52360 * include/libc-symbols.h: Define libc_hidden_nolink.
52361 * include/rpc/auth.h: Mark functions which are to be hidden.
52362 * include/rpc/auth_des.h: Likewise.
52363 * include/rpc/auth_unix.h: Likewise.
52364 * include/rpc/clnt.h: Likewise.
52365 * include/rpc/des_crypt.h: Likewise.
52366 * include/rpc/key_prot.h: Likewise.
52367 * include/rpc/pmap_clnt.h: Likewise.
52368 * include/rpc/pmap_prot.h: Likewise.
52369 * include/rpc/pmap_rmt.h: Likewise.
52370 * include/rpc/rpc_msg.h: Likewise.
52371 * include/rpc/svc.h: Likewise.
52372 * include/rpc/svc_auth.h: Likewise.
52373 * include/rpc/xdr.h: Likewise.
52374 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52375 * nss/Makefile: Likewise.
52376 * sunrpc/Makefile: Don't install headers. Build library with normal
52377 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52378 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52379 for the compat linking library. Remove use of INTDEF/INTUSE.
52380 * sunrpc/auth_none.c: Likewise.
52381 * sunrpc/auth_unix.c: Likewise.
52382 * sunrpc/authdes_prot.c: Likewise.
52383 * sunrpc/authuxprot.c: Likewise.
52384 * sunrpc/clnt_gen.c: Likewise.
52385 * sunrpc/clnt_perr.c: Likewise.
52386 * sunrpc/clnt_raw.c: Likewise.
52387 * sunrpc/clnt_simp.c: Likewise.
52388 * sunrpc/clnt_tcp.c: Likewise.
52389 * sunrpc/clnt_udp.c: Likewise.
52390 * sunrpc/clnt_unix.c: Likewise.
52391 * sunrpc/des_crypt.c: Likewise.
52392 * sunrpc/des_soft.c: Likewise.
52393 * sunrpc/get_myaddr.c: Likewise.
52394 * sunrpc/key_call.c: Likewise.
52395 * sunrpc/key_prot.c: Likewise.
52396 * sunrpc/netname.c: Likewise.
52397 * sunrpc/pm_getmaps.c: Likewise.
52398 * sunrpc/pm_getport.c: Likewise.
52399 * sunrpc/pmap_clnt.c: Likewise.
52400 * sunrpc/pmap_prot.c: Likewise.
52401 * sunrpc/pmap_prot2.c: Likewise.
52402 * sunrpc/pmap_rmt.c: Likewise.
52403 * sunrpc/publickey.c: Likewise.
52404 * sunrpc/rpc_cmsg.c: Likewise.
52405 * sunrpc/rpc_common.c: Likewise.
52406 * sunrpc/rpc_dtable.c: Likewise.
52407 * sunrpc/rpc_prot.c: Likewise.
52408 * sunrpc/rpc_thread.c: Likewise.
52409 * sunrpc/rtime.c: Likewise.
52410 * sunrpc/svc.c: Likewise.
52411 * sunrpc/svc_auth.c: Likewise.
52412 * sunrpc/svc_authux.c: Likewise.
52413 * sunrpc/svc_raw.c: Likewise.
52414 * sunrpc/svc_run.c: Likewise.
52415 * sunrpc/svc_simple.c: Likewise.
52416 * sunrpc/svc_tcp.c: Likewise.
52417 * sunrpc/svc_udp.c: Likewise.
52418 * sunrpc/svc_unix.c: Likewise.
52419 * sunrpc/svcauth_des.c: Likewise.
52420 * sunrpc/xcrypt.c: Likewise.
52421 * sunrpc/xdr.c: Likewise.
52422 * sunrpc/xdr_array.c: Likewise.
52423 * sunrpc/xdr_float.c: Likewise.
52424 * sunrpc/xdr_intXX_t.c: Likewise.
52425 * sunrpc/xdr_mem.c: Likewise.
52426 * sunrpc/xdr_rec.c: Likewise.
52427 * sunrpc/xdr_ref.c: Likewise.
52428 * sunrpc/xdr_sizeof.c: Likewise.
52429 * sunrpc/xdr_stdio.c: Likewise.
52431 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52434 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52435 * sysdeps/ia64/dl-tls.h: Likewise.
52436 * sysdeps/powerpc/dl-tls.h: Likewise.
52437 * sysdeps/s390/dl-tls.h: Likewise.
52438 * sysdeps/sh/dl-tls.h: Likewise.
52439 * sysdeps/sparc/dl-tls.h: Likewise.
52440 * sysdeps/x86_64/dl-tls.h: Likewise.
52441 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52443 2011-03-14 Andreas Schwab <schwab@redhat.com>
52445 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52446 rpath element also skip the following colon.
52447 (expand_dynamic_string_token): Add is_path parameter and pass
52448 down to DL_DST_REQUIRED and _dl_dst_substitute.
52449 (decompose_rpath): Call expand_dynamic_string_token with
52450 non-zero is_path. Ignore empty rpaths.
52451 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52454 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52459 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52462 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52463 Patch by Filipe David Manana <fdmanana@apache.org>.
52465 2011-04-07 Andreas Schwab <schwab@redhat.com>
52467 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52468 Maintain aligned stack.
52469 (CHECK_RSP): Remove unused macro.
52471 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52473 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52474 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52476 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52478 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52480 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52482 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52485 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52486 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52487 * sysdeps/x86_64/memmove.c: New file.
52488 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52489 (memcpy): Renamed to ...
52490 (__new_memcpy): This.
52491 (memcpy): Provide GLIBC_2_14 memcpy.
52492 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52493 (memcpy): Provide GLIBC_2_2_5 memcpy.
52495 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52498 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52500 2011-03-30 Andreas Schwab <schwab@redhat.com>
52502 * misc/syncfs.c: New file.
52503 * misc/Makefile (routines): Add syncfs.
52504 * posix/unistd.h: Declare syncfs.
52505 * sysdeps/unix/syscalls.list: Add syncfs.
52507 2011-04-01 Andreas Schwab <schwab@redhat.com>
52509 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52512 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52514 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52516 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52519 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52521 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52522 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52523 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52525 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52527 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52529 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52530 sync_file_range.c with -fexceptions.
52531 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52532 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52533 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52534 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52535 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52536 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52537 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52538 sync_file_range as cancellation point
52539 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52540 now a wrapper around __call_sync_file_range with cancellation handling.
52541 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52542 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52543 function name to __call_sync_file_range.
52544 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52545 Add call_sync_file_range.
52547 2011-04-01 Andreas Schwab <schwab@redhat.com>
52549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52552 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52554 * iconv/iconv.h: Fix typo in comment.
52555 * io/fcntl.h: Likewise.
52556 * libio/stdio.h: Likewise.
52557 * posix/spawn.h: Likewise.
52558 * posix/unistd.h: Likewise.
52559 * stdlib/stdlib.h: Likewise.
52560 * time/time.h: Likewise.
52561 * wcsmbs/wchar.h: Likewise.
52563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52564 open_by_handle): Add.
52565 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52566 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52567 Augment a few comments.
52568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52573 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52576 * io/fcntl.h (AT_EMPTY_PATH): Define.
52578 2011-03-30 Ulrich Drepper <drepper@gmail.com>
52580 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52581 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52582 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52584 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52585 * Versions.def: Add GLIBC_2.14.
52586 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52589 2011-03-22 Ulrich Drepper <drepper@gmail.com>
52591 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52593 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52595 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52598 * string/test-strncmp.c (do_page_test): New function.
52599 (check2): Likewise.
52600 (test_main): Call check2.
52601 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52603 2011-03-20 Ulrich Drepper <drepper@gmail.com>
52606 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52607 Handle cache information in CPU leaf 4.
52608 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52610 2011-03-18 Ulrich Drepper <drepper@gmail.com>
52613 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52614 character representation.
52615 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52617 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52619 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52620 END(__isnan) to END(__isnanf) to match function entry point/label
52621 EALIGN(__isnanf,...).
52623 2011-03-10 Jakub Jelinek <jakub@redhat.com>
52625 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52627 2011-03-10 Ulrich Drepper <drepper@gmail.com>
52630 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52631 copy from the symbol referenced in the relocation to initialize the
52633 Patch by Piotr Bury <pbury@goahead.com>.
52634 * elf/Makefile: Add rules to build and tst-unique3.
52635 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52636 * elf/tst-unique3.cc: New file.
52637 * elf/tst-unique3.h: New file.
52638 * elf/tst-unique3lib.cc: New file.
52639 * elf/tst-unique3lib2.cc: New file.
52641 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52643 2011-03-10 Mike Frysinger <vapier@gentoo.org>
52645 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52646 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52649 2011-03-06 Ulrich Drepper <drepper@gmail.com>
52651 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52652 to-be-loaded object along a path to loader is ld.so.
52654 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52655 Ulrich Drepper <drepper@gmail.com>
52657 * sysdeps/x86_64/memset.S: After aligning destination, code
52658 branches to different locations depending on the value of
52659 misalignment, when multiarch is enabled. Fix this.
52661 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52663 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52664 Set _x86_64_preferred_memory_instruction for AMD processsors.
52665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52666 Set bit_Prefer_SSE_for_memop for AMD processors.
52668 2011-03-04 Ulrich Drepper <drepper@gmail.com>
52670 * libio/fmemopen.c (fmemopen): Optimize a bit.
52672 2011-03-03 Andreas Schwab <schwab@redhat.com>
52674 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52676 2011-03-03 Roland McGrath <roland@redhat.com>
52678 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52680 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52682 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52683 __bzero_ultra1 instead of __memset_ultra1.
52685 2011-02-23 Andreas Schwab <schwab@redhat.com>
52686 Ulrich Drepper <drepper@gmail.com>
52689 * include/link.h (struct link_map): Add l_orig_initfini.
52690 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52691 returning unsuccessfully.
52692 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52693 close of a file loaded at startup, restore the original l_initfini
52695 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52696 list, store the pointer.
52697 * elf/Makefile ($(objpfx)noload-mem): New rule.
52698 (noload-ENV): Define.
52699 (tests): Add $(objpfx)noload-mem.
52700 * elf/noload.c: Include <memcheck.h>.
52701 (main): Call mtrace. Close all opened handles.
52703 2011-02-17 Andreas Schwab <schwab@redhat.com>
52706 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52707 dependencies are missing.
52709 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52711 Fix __if_freereq crash: Unlike the generic version which uses free,
52713 * sysdeps/mach/hurd/ifreq.h: New file.
52715 2011-01-27 Petr Baudis <pasky@suse.cz>
52716 Ulrich Drepper <drepper@gmail.com>
52719 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52720 to extend_alloca().
52721 * stdio-common/bug23.c: New file.
52722 * stdio-common/Makefile (tests): Add bug23.
52724 2010-09-28 Andreas Schwab <schwab@redhat.com>
52725 Ulrich Drepper <drepper@gmail.com>
52728 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52729 before performing relro protection. At old place add assertion
52730 to make sure nothing changed.
52732 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52733 Glauber de Oliveira Costa <glommer@gmail.com>
52735 * elf/elf.h: Add new ARM TLS relocs.
52737 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52740 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52742 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52744 * sysdeps/wordsize-64/tst-writev.c: New file.
52746 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52748 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52749 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52750 insns in _dl_start to prevent a TOC reference before relocs are
52753 2011-02-15 Ulrich Drepper <drepper@gmail.com>
52756 * Makeconfig: Remove RANLIB definition.
52757 * Makerules: Don't use RANLIB.
52758 * aclocal.m4: Remove ranlib test.
52759 * configure.in: No need to check for ranlib.
52760 * elf/rtld-Rules: Don't use RANLIB.
52762 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52764 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52766 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52767 inclusion protection macro.
52769 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52770 SIGRTMIN and SIGRTMAX and print information in that case only when
52771 SIGRTMIN is defined.
52773 2011-02-11 Jakub Jelinek <jakub@redhat.com>
52775 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52776 arginfo fn returning -1.
52778 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52779 and thousands string is zero terminated.
52781 2011-02-03 Andreas Schwab <schwab@redhat.com>
52783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52784 sysdeps/unix/sysv/linux/bits/socket.h.
52786 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52788 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52789 (__CPU_COUNT): Remove old macros.
52790 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52791 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52792 (__CPU_ALLOC, __CPU_FREE): Add macros.
52793 (__sched_cpualloc, __sched_cpufree): Add declarations.
52795 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52797 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52798 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52799 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52800 (readdhstai): Return value of addhstaiX call.
52801 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52802 (addgrbyX): Return value returned by cache_addgr.
52803 (readdgrbyname): Return value returned by addgrbyX.
52804 (readdgrbygid): Likewise.
52805 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52806 (addpwbyX): Return value returned by cache_addpw.
52807 (readdpwbyname): Return value returned by addhstbyX.
52808 (readdpwbyuid): Likewise.
52809 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52810 (addservbyX): Return value returned by cache_addserv.
52811 (readdservbyname): Return value returned by addservbyX:
52812 (readdservbyport): Likewise.
52813 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52814 (addhstbyX): Return value returned by cache_addhst.
52815 (readdhstbyname): Return value returned by addhstbyX.
52816 (readdhstbyaddr): Likewise.
52817 (readdhstbynamev6): Likewise.
52818 (readdhstbyaddrv6): Likewise.
52819 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52820 (readdinitgroups): Return value returned by addinitgroupsX.
52821 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52822 (prune_cache): Keep track of timeout value of re-added entries.
52823 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52824 * nscd/nscd.h: Adjust prototypes of readd* functions.
52826 2011-02-04 Roland McGrath <roland@redhat.com>
52828 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52829 (nis_stats): Likewise.
52830 * nis/nis_modify.c (nis_modify): Likewise.
52831 * nis/nis_remove.c (nis_remove): Likewise.
52832 * nis/nis_add.c (nis_add): Likewise.
52834 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52836 * posix/fnmatch_loop.c: Add some consts.
52838 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52840 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52843 * config.make.in (config-cflags-novzeroupper): Define.
52844 * configure.in: Substitute libc_cv_cc_novzeroupper.
52845 * elf/Makefile (AVX-CFLAGS): Define.
52846 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52847 (CFLAGS-tst-auditmod4a.c): Likewise.
52848 (CFLAGS-tst-auditmod4b.c): Likewise.
52849 (CFLAGS-tst-auditmod6b.c): Likewise.
52850 (CFLAGS-tst-auditmod6c.c): Likewise.
52851 (CFLAGS-tst-auditmod7b.c): Likewise.
52852 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52854 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52856 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52857 function to the callback.
52858 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52860 2011-02-02 Andreas Schwab <schwab@redhat.com>
52862 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52865 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52868 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52870 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52872 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52875 * elf/Makefile: Add rules to build and run new test.
52876 * elf/tst-initorder.c: New file.
52877 * elf/tst-initorder.exp: New file.
52878 * elf/tst-initordera1.c: New file.
52879 * elf/tst-initordera2.c: New file.
52880 * elf/tst-initordera3.c: New file.
52881 * elf/tst-initordera4.c: New file.
52882 * elf/tst-initorderb1.c: New file.
52883 * elf/tst-initorderb2.c: New file.
52884 * elf/tst-order-a1.c: New file.
52885 * elf/tst-order-a2.c: New file.
52886 * elf/tst-order-a3.c: New file.
52887 * elf/tst-order-a4.c: New file.
52888 * elf/tst-order-b1.c: New file.
52889 * elf/tst-order-b2.c: New file.
52890 * elf/tst-order-main.c: New file.
52891 New test case by George Gensure <werkt0@gmail.com>.
52893 2010-10-01 Andreas Schwab <schwab@redhat.com>
52895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52896 decoding ACE if AI_CANONIDN.
52898 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52900 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52902 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52904 * version.h (RELEASE): Bump for 2.13 release.
52905 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52907 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52909 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52911 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52912 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52913 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52914 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52915 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52916 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52918 * posix/getconf.c: Update copyright year.
52919 * catgets/gencat.c: Likewise.
52920 * csu/version.c: Likewise.
52921 * debug/catchsegv.sh: Likewise.
52922 * debug/xtrace.sh: Likewise.
52923 * elf/ldconfig.c: Likewise.
52924 * elf/ldd.bash.in: Likewise.
52925 * elf/sprof.c (print_version): Likewise.
52926 * iconv/iconv_prog.c: Likewise.
52927 * iconv/iconvconfig.c: Likewise.
52928 * locale/programs/locale.c: Likewise.
52929 * locale/programs/localedef.c: Likewise.
52930 * malloc/memusage.sh: Likewise.
52931 * malloc/mtrace.pl: Likewise.
52932 * nscd/nscd.c (print_version): Likewise.
52933 * nss/getent.c: Likewise.
52935 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52936 PF_CAIF, and PF_ALG.
52937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52939 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52941 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52942 (modules-names): Use them.
52943 (ifunc-test-modules, ifunc-pie-tests): Define.
52944 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52945 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52946 (test-extras): Likewise.
52947 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52948 $(compile-command.c).
52949 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52950 (all-built-dso): Define.
52951 (check-textrel.out, check-execstack.out): Depend on it.
52953 * configure.in: Don't override --enable-multi-arch.
52955 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52958 * nscd/hstcache.c (tryagain): Define.
52959 (cache_addhst): Return tryagain not notfound for temporary errors.
52960 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52963 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52966 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52967 to make the syscall.
52968 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52971 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52972 and fall back to matching as normal character if the string ends before
52973 the matching ']' is found. This is what POSIX requires.
52974 * posix/testfnm.c: Adjust test result.
52975 * posix/globtest.sh: Adjust test result. Add new test.
52976 * posix/tst-fnmatch.input: Likewise.
52977 * posix/tst-fnmatch2.c: Add new test.
52979 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52981 * elf/Makefile (check-execstack): Revert last change. Depend on
52983 (check-execstack.h): New target.
52984 (generated): Add check-execstack.h.
52985 * elf/check-execstack.c: Include "check-execstack.h".
52986 (main): Revert last change.
52987 (handle_file): Return zero if GNU_STACK is absent and
52988 DEFAULT_STACK_PERMS doesn't include PF_X.
52990 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52992 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52993 in child fails because the descriptor is already closed.
52994 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52995 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52996 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52999 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53003 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53004 temporary buffer used to handle multi lookups locally.
53005 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53007 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53009 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53012 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53014 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53015 alignment for SSE2.
53017 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53020 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53021 characters. When rounding increased number of integer digits recompute
53023 * stdio-common/tst-grouping.c: New file.
53024 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53026 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53028 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53029 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53031 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53033 * bits/select.h: Likewise.
53035 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53037 * po/ja.po: Update from translation team.
53039 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53042 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53043 implementation just like for lxstat, fxstatat, et al.
53045 2010-12-27 Jim Meyering <meyering@redhat.com>
53048 * posix/regexec.c (build_trtable): Return failure indication upon
53049 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53051 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53054 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53055 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53056 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53057 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53060 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53063 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53064 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53066 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53068 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53069 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53070 script has SORT_BY_INIT_PRIORITY.
53071 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53072 NO_CTORS_DTORS_SECTIONS is defined.
53073 * elf/soinit.c: Likewise.
53074 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53075 NO_CTORS_DTORS_SECTIONS is defined.
53076 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53077 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53078 * sysdeps/sh/init-first.c: Likewise.
53079 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53081 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53083 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53084 always use the slow path.
53086 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53088 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53089 similar rule which adds the sysdep directories to the header search in
53090 order to pick up the correct platform stackinfo.h.
53091 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53092 perform test if it is, otherwise return successfully without testing.
53093 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53094 DEFAULT_STACK_PERMS define in stackinfo.h.
53095 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53096 defined in stackinfo.h.
53097 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53098 DEFAULT_STACK_PERMS defined in stackinfo.h.
53099 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53100 * sysdeps/ia64/stackinfo.h: Likewise.
53101 * sysdeps/s390/stackinfo.h: Likewise.
53102 * sysdeps/sh/stackinfo.h: Likewise.
53103 * sysdeps/sparc/stackinfo.h: Likewise.
53104 * sysdeps/x86_64/stackinfo.h: Likewise.
53105 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53106 PF_X for powerpc64. Retain PF_X for powerpc32.
53108 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53110 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53112 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53113 GETDENTS_64BIT_ALIGNED.
53115 2010-12-14 Ulrich Drepper <dreper@gmail.com>
53117 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53119 2010-12-10 Andreas Schwab <schwab@redhat.com>
53121 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53124 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53125 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53127 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53128 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53130 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53133 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53136 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53138 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53140 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53142 * po/it.po: Update from translation team.
53144 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53149 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53151 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53153 2010-11-24 Andreas Schwab <schwab@redhat.com>
53155 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53157 (gaih_getanswer_slice): Likewise.
53159 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53163 2010-05-31 Petr Baudis <pasky@suse.cz>
53166 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53167 silently even in the chroot mode.
53169 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53171 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53172 last patch a bit. Pretty printing
53174 2010-05-31 Petr Baudis <pasky@suse.cz>
53177 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53178 initialization of skip_initgroups_dyn.
53180 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53182 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53185 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53187 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53189 2010-11-11 Andreas Schwab <schwab@redhat.com>
53191 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53192 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53193 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53194 ($(objpfx)tst-fnmatch-mem): New rule.
53195 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53196 * posix/tst-fnmatch.c (main): Call mtrace.
53198 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53201 Support Intel processor model 6 and model 0x2c.
53203 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53208 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53211 * string/test-strncasecmp.c (check_result): New function.
53212 (do_one_test): Use it.
53213 (check1): New function.
53214 (test_main): Use it.
53215 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53216 Support strcasecmp and strncasecmp.
53218 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53221 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53224 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53226 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53230 * sysdeps/x86_64/multiarch/bzero.S: New file.
53231 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53232 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53233 * sysdeps/x86_64/multiarch/memset.S: New file.
53234 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53236 Set bit_Prefer_SSE_for_memop for Intel processors.
53237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53239 (index_Prefer_SSE_for_memop): Define.
53240 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53242 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53244 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53245 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53247 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53250 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53251 (__x86_64_raw_data_cache_size_half): Likewise.
53252 (__x86_64_raw_shared_cache_size): Likewise.
53253 (__x86_64_raw_shared_cache_size_half): Likewise.
53255 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53256 (__x86_64_raw_data_cache_size_half): Likewise.
53257 (__x86_64_raw_shared_cache_size): Likewise.
53258 (__x86_64_raw_shared_cache_size_half): Likewise.
53259 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53260 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53261 and __x86_64_raw_shared_cache_size_half. Round
53262 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53263 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53264 to multiple of 256 bytes.
53266 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53269 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53270 of inacessible symlinks. Verify result of symlink before returning it.
53271 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53272 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53274 2010-10-28 Erich Ritz <erichritz@gmail.com>
53276 * math/math.h (isinf): Fix typo in comment.
53278 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53280 * po/da.po: Update from translation team.
53282 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53284 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53285 is added to the list.
53287 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53288 Ulrich Drepper <drepper@gmail.com>
53290 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53291 the global list here. Move code to...
53292 (_dl_add_to_namespace_list): ...here. New function.
53293 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53294 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53295 * elf/dl-load.c (lose): Don't remove the element from the list.
53296 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53297 (_dl_map_object): Likewise.
53299 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53302 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53303 into all bytes of SSE register.
53304 Patch by Richard Li <richardpku@gmail.com>.
53306 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53309 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53312 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53314 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53315 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53316 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53317 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53322 2010-10-22 Andreas Schwab <schwab@redhat.com>
53324 * include/dlfcn.h (__RTLD_SECURE): Define.
53325 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53326 mode & __RTLD_SECURE instead.
53327 (open_path): Rename preloaded parameter to secure.
53328 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53329 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53330 * elf/dl-deps.c (openaux): Likewise.
53331 * elf/rtld.c (struct map_args): Remove is_preloaded.
53332 (map_doit): Don't use it.
53333 (dl_main): Likewise.
53334 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53335 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53337 2010-09-09 Andreas Schwab <schwab@redhat.com>
53339 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53340 (sysd-rules-targets): Remove duplicates.
53341 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53342 rtld-%.$o dependency.
53344 2010-10-18 Andreas Schwab <schwab@redhat.com>
53346 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53347 _dl_map_object do it.
53349 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53351 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53352 fast fma builtins, define the macros in the C99 standard.
53353 (FP_FAST_FMAF): Likewise.
53354 (FP_FAST_FMAL): Likewise.
53355 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53357 * bits/mathdef.h: Update copyright year.
53358 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53360 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53362 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53363 builtins, define the macros in the C99 standard.
53364 (FP_FAST_FMAF): Likewise.
53365 (FP_FAST_FMAL): Likewise.
53366 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53368 (FP_FAST_FMAF): Likewise.
53370 2010-10-15 Jakub Jelinek <jakub@redhat.com>
53373 * math/libm-test.inc (fma_test): Some new testcases.
53374 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53376 y and infinite z. Do multiplication by C already in long double.
53377 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53379 y and infinite z. Do bitwise or of inexact bit into u.d.
53380 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53381 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53382 * sysdeps/i386/fpu/s_fma.S: Removed.
53383 * sysdeps/i386/fpu/s_fmal.S: Removed.
53385 2010-10-16 Jakub Jelinek <jakub@redhat.com>
53388 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53390 computation is not scheduled after fetestexcept. Fix value
53391 of minimum denormal long double.
53393 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53396 * math/libm-test.inc (fma_test): Add some more tests.
53397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53400 2010-10-15 Andreas Schwab <schwab@redhat.com>
53402 * scripts/data/localplt-s390-linux-gnu.data: New file.
53403 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53405 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53408 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53409 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53411 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53413 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53415 if one of x and y is very large and the other is subnormal.
53416 * sysdeps/s390/fpu/s_fmaf.c: New file.
53417 * sysdeps/s390/fpu/s_fma.c: New file.
53418 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53419 * sysdeps/powerpc/fpu/s_fma.S: New file.
53420 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53421 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53422 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53424 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53427 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53429 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53430 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53431 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53432 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53433 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53434 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53435 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53437 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53440 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53441 * posix/bug-regex31.input: Add test case.
53443 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53445 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53446 * posix/bug-regex31.input: New file.
53449 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53450 (parse_sub_exp): Fix last change, use postorder.
53452 * posix/bug-regex31.c: New file.
53453 * posix/Makefile: Add rules to build and run bug-regex31.
53455 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53458 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53461 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53462 to have entries in sys_siglist.
53465 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53468 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53471 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53472 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53473 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53474 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53475 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53476 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53477 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53478 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53479 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53480 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53481 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53482 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53483 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53484 * math/ftestexcept.c (fetestexcept): Likewise.
53485 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53486 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53487 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53488 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53489 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53490 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53491 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53493 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53496 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53499 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53501 * string/bug-strstr1.c: New file.
53502 * string/Makefile: Add rules to build and run bug-strstr1.
53504 2010-10-05 Eric Blake <eblake@redhat.com>
53507 * string/str-two-way.h (two_way_long_needle): Always clear memory
53508 when skipping input due to the shift table.
53510 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53513 * malloc/mcheck.c: Handle large requests.
53516 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53517 for strncmp and strncasecmp.
53518 * string/stratcliff.c: Add tests for strcmp and strncmp.
53519 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53521 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53523 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53526 2010-09-30 Andreas Jaeger <aj@suse.de>
53528 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53529 (CGROUP_SUPER_MAGIC): Define.
53530 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53531 Handle btrfs and cgroup file systems.
53532 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53535 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
53537 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53538 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53540 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53543 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53544 trying to locate the ELF header.
53546 2010-09-27 Andreas Schwab <schwab@redhat.com>
53549 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53550 Mask out sign-bit copies when constructing f_fsid.
53552 2010-09-24 Petr Baudis <pasky@suse.cz>
53554 * debug/stack_chk_fail_local.c: Add missing licence exception.
53555 * debug/warning-nop.c: Likewise.
53557 2010-09-15 Joseph Myers <joseph@codesourcery.com>
53559 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53560 implementing getdents64 using getdents syscall, set d_type if
53561 __ASSUME_GETDENTS32_D_TYPE.
53563 2010-09-16 Andreas Schwab <schwab@redhat.com>
53565 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53566 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53568 2010-09-21 Ulrich Drepper <drepper@redhat.com>
53571 * posix/unistd.h: Undo change of feature selection for ftruncate from
53574 2010-09-20 Ulrich Drepper <drepper@redhat.com>
53576 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53579 2010-09-20 Andreas Schwab <schwab@redhat.com>
53581 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53583 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53585 2010-09-14 Andreas Schwab <schwab@redhat.com>
53587 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53588 variables after CHECK_SP call.
53589 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53591 2010-09-13 Andreas Schwab <schwab@redhat.com>
53592 Ulrich Drepper <drepper@redhat.com>
53594 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53595 re-relocationg ld.so.
53596 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53597 _dl_init_paths call.
53598 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53601 2010-09-14 Ulrich Drepper <drepper@redhat.com>
53603 * resolv/res_init.c (__res_vinit): Count the default server we added.
53605 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53606 Ulrich Drepper <drepper@redhat.com>
53609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53610 (____longjmp_chk): Use %ebx for saving value across system call.
53613 2010-09-06 Andreas Schwab <schwab@redhat.com>
53615 * manual/Makefile: Don't mix pattern rules with normal rules.
53617 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53619 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53621 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53622 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53623 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53624 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53628 2010-09-04 Ulrich Drepper <drepper@redhat.com>
53631 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53632 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53634 2010-09-02 Ulrich Drepper <drepper@redhat.com>
53636 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53637 * sysdeps/x86_64/addmul_1.S: Likewise.
53638 * sysdeps/x86_64/lshift.S: Likewise.
53639 * sysdeps/x86_64/mul_1.S: Likewise.
53640 * sysdeps/x86_64/rshift.S: Likewise.
53641 * sysdeps/x86_64/sub_n.S: Likewise.
53642 * sysdeps/x86_64/submul_1.S: Likewise.
53644 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53646 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53647 Define __sched_param instead of SCHED_* and sched_param when
53648 <bits/sched.h> is included with __need_schedparam defined.
53649 * bits/sched.h [__need_schedparam]
53650 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53651 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53652 (__defined_schedparam): Define to 1.
53653 (__sched_param): New structure, identical to sched_param.
53654 (__need_schedparam): Undefine.
53656 2010-08-31 Mike Frysinger <vapier@gentoo.org>
53658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53659 (epoll_create1): Declare.
53661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53663 2010-08-31 Andreas Schwab <schwab@redhat.com>
53666 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53667 shifting retval into place.
53669 2010-09-01 Ulrich Drepper <drepper@redhat.com>
53671 * nis/rpcsvc/nis.h: Update copyright notice.
53672 * nis/rpcsvc/nis.x: Likewise.
53673 * nis/rpcsvc/nis_callback.h: Likewise.
53674 * nis/rpcsvc/nis_callback.x: Likewise.
53675 * nis/rpcsvc/nis_object.x: Likewise.
53676 * nis/rpcsvc/nis_tags.h: Likewise.
53677 * nis/rpcsvc/yp.h: Likewise.
53678 * nis/rpcsvc/yp.x: Likewise.
53679 * nis/rpcsvc/ypupd.h: Likewise.
53680 * nis/yp_xdr.c: Likewise.
53681 * nis/ypupdate_xdr.c: Likewise.
53683 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53684 mainly the body of pmap_getport. Add parameters to specify timeouts.
53685 (pmap_getport): Use __libc_rpc_getport.
53686 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53687 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53688 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53690 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53695 2010-08-27 Roland McGrath <roland@redhat.com>
53697 * sysdeps/i386/i686/multiarch/Makefile
53698 (CFLAGS-varshift.c): New variable.
53700 2010-08-27 Ulrich Drepper <drepper@redhat.com>
53702 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53703 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53707 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53709 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53711 * sysdeps/x86_64/strlen.S: Unroll the loop.
53712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53713 strlen-sse2 strlen-sse2-bsf.
53714 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53715 __strlen_no_bsf if bit_Slow_BSF is set.
53716 (__strlen_sse42): Removed.
53717 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53718 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53720 2010-08-25 Roland McGrath <roland@redhat.com>
53722 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53723 * sysdeps/x86_64/multiarch/varshift.c: New file.
53724 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53725 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53726 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53727 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53729 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53732 strlen-sse2 strlen-sse2-bsf.
53733 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53734 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53735 (__strlen_sse2): Removed.
53736 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53737 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53739 bit_Slow_BSF for Atom.
53740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53741 (index_Slow_BSF): Define.
53742 (HAS_SLOW_BSF): Define.
53744 2010-08-25 Ulrich Drepper <drepper@redhat.com>
53747 * resolv/res_init.c (__res_vinit): When no server address at all
53748 is given default to loopback.
53750 2010-08-24 Roland McGrath <roland@redhat.com>
53752 * configure.in: Remove config-name.h generation.
53753 * configure: Regenerated.
53754 * config-name.in: File removed.
53755 * scripts/config-uname.sh: New file.
53756 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53757 ($(objdir)config-name.h): New target.
53759 * sunrpc/rpc_parse.h: Avoid nested comment.
53761 2010-08-24 Richard Henderson <rth@redhat.com>
53762 Ulrich Drepper <drepper@redhat.com>
53763 H.J. Lu <hongjiu.lu@intel.com>
53765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53767 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53768 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53769 _mm_alignr_epi8 with _mm_loadu_si128.
53770 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53771 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53772 (__m128i_shift_right): Removed.
53773 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53774 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53775 * sysdeps/x86_64/multiarch/varshift.h: New file.
53776 * sysdeps/x86_64/multiarch/varshift.S: New file.
53778 2010-08-21 Mike Frysinger <vapier@gentoo.org>
53780 * configure.in: Move assembler checks to before sysdep dir checking.
53782 2010-08-20 Petr Baudis <pasky@suse.cz>
53784 * LICENSES: Sync the sunrpc license.
53786 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53788 * sunrpc/auth_des.c: Update copyright notice once again.
53789 * sunrpc/auth_none.c: Likewise.
53790 * sunrpc/auth_unix.c: Likewise.
53791 * sunrpc/authdes_prot.c: Likewise.
53792 * sunrpc/authuxprot.c: Likewise.
53793 * sunrpc/bindrsvprt.c: Likewise.
53794 * sunrpc/clnt_gen.c: Likewise.
53795 * sunrpc/clnt_perr.c: Likewise.
53796 * sunrpc/clnt_raw.c: Likewise.
53797 * sunrpc/clnt_simp.c: Likewise.
53798 * sunrpc/clnt_tcp.c: Likewise.
53799 * sunrpc/clnt_udp.c: Likewise.
53800 * sunrpc/clnt_unix.c: Likewise.
53801 * sunrpc/des_crypt.c: Likewise.
53802 * sunrpc/des_soft.c: Likewise.
53803 * sunrpc/get_myaddr.c: Likewise.
53804 * sunrpc/getrpcport.c: Likewise.
53805 * sunrpc/key_call.c: Likewise.
53806 * sunrpc/key_prot.c: Likewise.
53807 * sunrpc/openchild.c: Likewise.
53808 * sunrpc/pm_getmaps.c: Likewise.
53809 * sunrpc/pm_getport.c: Likewise.
53810 * sunrpc/pmap_clnt.c: Likewise.
53811 * sunrpc/pmap_prot.c: Likewise.
53812 * sunrpc/pmap_prot2.c: Likewise.
53813 * sunrpc/pmap_rmt.c: Likewise.
53814 * sunrpc/rpc/auth.h: Likewise.
53815 * sunrpc/rpc/auth_unix.h: Likewise.
53816 * sunrpc/rpc/clnt.h: Likewise.
53817 * sunrpc/rpc/des_crypt.h: Likewise.
53818 * sunrpc/rpc/key_prot.h: Likewise.
53819 * sunrpc/rpc/netdb.h: Likewise.
53820 * sunrpc/rpc/pmap_clnt.h: Likewise.
53821 * sunrpc/rpc/pmap_prot.h: Likewise.
53822 * sunrpc/rpc/pmap_rmt.h: Likewise.
53823 * sunrpc/rpc/rpc.h: Likewise.
53824 * sunrpc/rpc/rpc_des.h: Likewise.
53825 * sunrpc/rpc/rpc_msg.h: Likewise.
53826 * sunrpc/rpc/svc.h: Likewise.
53827 * sunrpc/rpc/svc_auth.h: Likewise.
53828 * sunrpc/rpc/types.h: Likewise.
53829 * sunrpc/rpc/xdr.h: Likewise.
53830 * sunrpc/rpc_clntout.c: Likewise.
53831 * sunrpc/rpc_cmsg.c: Likewise.
53832 * sunrpc/rpc_common.c: Likewise.
53833 * sunrpc/rpc_cout.c: Likewise.
53834 * sunrpc/rpc_dtable.c: Likewise.
53835 * sunrpc/rpc_hout.c: Likewise.
53836 * sunrpc/rpc_main.c: Likewise.
53837 * sunrpc/rpc_parse.c: Likewise.
53838 * sunrpc/rpc_parse.h: Likewise.
53839 * sunrpc/rpc_prot.c: Likewise.
53840 * sunrpc/rpc_sample.c: Likewise.
53841 * sunrpc/rpc_scan.c: Likewise.
53842 * sunrpc/rpc_scan.h: Likewise.
53843 * sunrpc/rpc_svcout.c: Likewise.
53844 * sunrpc/rpc_tblout.c: Likewise.
53845 * sunrpc/rpc_util.c: Likewise.
53846 * sunrpc/rpc_util.h: Likewise.
53847 * sunrpc/rpcinfo.c: Likewise.
53848 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53849 * sunrpc/rpcsvc/key_prot.x: Likewise.
53850 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53851 * sunrpc/rpcsvc/mount.x: Likewise.
53852 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53853 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53854 * sunrpc/rpcsvc/rex.x: Likewise.
53855 * sunrpc/rpcsvc/rstat.x: Likewise.
53856 * sunrpc/rpcsvc/rusers.x: Likewise.
53857 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53858 * sunrpc/rpcsvc/spray.x: Likewise.
53859 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53860 * sunrpc/rtime.c: Likewise.
53861 * sunrpc/svc.c: Likewise.
53862 * sunrpc/svc_auth.c: Likewise.
53863 * sunrpc/svc_authux.c: Likewise.
53864 * sunrpc/svc_raw.c: Likewise.
53865 * sunrpc/svc_run.c: Likewise.
53866 * sunrpc/svc_simple.c: Likewise.
53867 * sunrpc/svc_tcp.c: Likewise.
53868 * sunrpc/svc_udp.c: Likewise.
53869 * sunrpc/svc_unix.c: Likewise.
53870 * sunrpc/svcauth_des.c: Likewise.
53871 * sunrpc/xcrypt.c: Likewise.
53872 * sunrpc/xdr.c: Likewise.
53873 * sunrpc/xdr_array.c: Likewise.
53874 * sunrpc/xdr_float.c: Likewise.
53875 * sunrpc/xdr_mem.c: Likewise.
53876 * sunrpc/xdr_rec.c: Likewise.
53877 * sunrpc/xdr_ref.c: Likewise.
53878 * sunrpc/xdr_sizeof.c: Likewise.
53879 * sunrpc/xdr_stdio.c: Likewise.
53881 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53884 2010-08-19 Andreas Schwab <schwab@redhat.com>
53886 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53888 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53890 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53891 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53892 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53893 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53894 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53895 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53896 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53897 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53898 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53899 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53900 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53901 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53902 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53903 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53905 2010-07-26 Anton Blanchard <anton@samba.org>
53907 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53908 * malloc/arena.c (heap_trim): Likewise.
53910 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53912 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53915 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53917 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53919 * sysdeps/i386/elf/Makefile: New file.
53921 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53923 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53924 from fanotify_init.
53925 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53926 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53928 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53930 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53932 * sysdeps/multiarch/strcmp.S: Likewise.
53934 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53936 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53937 strncase_l-nonascii.
53938 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53939 Add strncase_l-ssse3.
53940 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53941 * sysdeps/x86_64/strcmp.S: Likewise.
53942 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53943 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53944 * sysdeps/x86_64/strncase.S: New file.
53945 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53946 * sysdeps/x86_64/strncase_l.S: New file.
53947 * string/Makefile (strop-tests): Add strncasecmp.
53948 * string/test-strncasecmp.c: New file.
53950 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53953 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53954 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53956 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53958 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53960 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53962 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53963 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53964 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53966 2010-05-01 Alan Modra <amodra@gmail.com>
53968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53969 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53970 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53971 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53972 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53973 tidying. Don't tail-call __sigjmp_save for static lib.
53974 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53976 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53977 (CALL_MCOUNT): Add eh info, and nop after bl.
53978 (TAIL_CALL_SYSCALL_ERROR): New macro.
53979 (PSEUDO_RET): Use it.
53980 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53981 Correct save location of integer regs and cr.
53982 (_dl_profile_resolve): Correct cr save location. Delete nops
53983 after bl when SHARED. Reduce cfi size a little by better
53984 placement of cfi directives.
53985 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53986 make a stack frame. Instead use parm save area as a temp.
53987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53988 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53990 Don't make a stack frame for parent, use parm save area.
53991 Increase child stack frame to 112 bytes. Don't save unused reg,
53992 and adjust reg usage. Set up cfi on error recovery and
53993 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53995 (__makecontext): Add dummy nop after jump to exit.
53996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53997 Use correct parm save area and cr save, reduce stack frame.
53998 Correct cfi for possible PSEUDO_RET frame setup.
53999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54000 Branch to local label emitted by PSEUDO_RET rather than
54003 2010-08-12 Andreas Schwab <schwab@redhat.com>
54006 * locale/programs/locale.c (print_assignment): New function.
54007 (show_locale_vars): Use it.
54009 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54011 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54013 (struct statfs64): Likewise.
54014 (_STATFS_F_FLAGS): Define.
54015 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54016 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54017 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54018 (ST_VALID): Define locally.
54019 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54020 __statvfs_getflags, use the provided value.
54021 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54022 __ASSUME_STATFS_F_FLAGS.
54024 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54026 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54027 Add sys/fanotify.h.
54028 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54029 fanotify_mask for GLIBC_2.13.
54030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54031 fanotify_init and fanotify_mark.
54032 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54033 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54035 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54037 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54038 prlimit64 for GLIBC_2.13.
54039 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54041 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54044 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54045 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54046 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54047 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54049 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54052 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54053 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54055 * nss/Makefile: Add rules to build and run tst-nss-test1.
54056 * shlib-versions: Add entry for libnss_test1.
54057 * nss/nss_test1.c: New file.
54058 * nss/tst-nss-test1.c: New file.
54060 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54061 (__nss_configure_lookup): Set appropriate entry in
54062 __nss_configure_lookup to true.
54063 * nss/nsswitch.h: Define enum with indeces of databases in
54064 databases and __nss_database_custom arrays. Declare
54065 __nss_database_custom.
54066 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54067 to avoid using nscd when custom rules are installed.
54068 * nss/getXXbyYY_r.c: Likewise.
54069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54071 * nss/nss_files/files-parse.c: Whitespace fixes.
54073 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54076 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54077 * posix/fnmatch_loop.c: Likewise.
54079 2010-07-17 Andi Kleen <ak@linux.intel.com>
54081 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54082 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54083 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54084 * Versions.def [GLIBC_2.13]: Add.
54086 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54089 Also fail if tpwd after pwuid call is NULL.
54091 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54093 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54094 when converting to ms.
54096 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54098 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54099 EOPNOTSUPP errors with ENOTTY.
54100 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54101 EOPNOTSUPP errors with ENOTTY.
54103 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54105 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54106 Add strcasecmp_l-ssse3.
54107 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54109 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54110 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54111 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54113 2010-07-30 Ulrich Drepper <drepper@redhat.com>
54115 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54117 * string/Makefile (strop-tests): Add strcasecmp.
54118 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54119 strcasecmp_l-nonascii.
54120 (gen-as-const-headers): Add locale-defines.sym.
54121 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54122 * sysdeps/x86_64/strcasecmp.S: New file.
54123 * sysdeps/x86_64/strcasecmp_l.S: New file.
54124 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54125 * sysdeps/x86_64/locale-defines.sym: New file.
54126 * string/test-strcasecmp.c: New file.
54128 * string/test-strcasestr.c: Test both ends of the range of characters.
54129 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54131 2010-07-29 Roland McGrath <roland@redhat.com>
54134 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54136 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54138 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54141 2010-07-27 Andreas Schwab <schwab@redhat.com>
54143 * manual/memory.texi (Malloc Tunable Parameters): Document
54146 2010-07-26 Roland McGrath <roland@redhat.com>
54149 * configure.in (-fgnu89-inline check): Set and substitute
54150 gnu89_inline, not libc_cv_gnu89_inline.
54151 * configure: Regenerated.
54152 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54154 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54156 * string/test-strnlen.c: New file.
54157 * string/Makefile (strop-tests): Add strnlen.
54158 * string/tester.c (test_strnlen): Add a few more test cases.
54159 * string/tst-strlen.c: Better error reporting.
54161 * sysdeps/x86_64/strnlen.S: New file.
54163 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54166 lower-latency instructions.
54168 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54170 * string/test-strcasestr.c: New file.
54171 * string/test-strstr.c: New file.
54172 * string/Makefile (strop-tests): Add strstr and strcasestr.
54173 * string/str-two-way.h: Don't undefine MAX.
54174 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54176 2010-07-21 Andreas Schwab <schwab@redhat.com>
54178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54179 strcasestr-nonascii.
54180 (CFLAGS-strcasestr-nonascii.c): Define.
54181 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54182 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54183 Remove unused attribute.
54185 2010-07-20 Roland McGrath <roland@redhat.com>
54187 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54188 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54189 ld.so.cache was broken. With it, there is no way to disable dsocaps
54190 like LD_HWCAP_MASK can disable hwcaps.
54192 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54194 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54196 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54198 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54199 call in strcasestr.
54200 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54201 __strcasestr_sse42_nonascii.
54202 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54203 strcasestr-nonascii.c.
54204 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54206 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54209 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54210 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54211 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54213 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54215 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54218 2010-07-06 Andreas Schwab <schwab@redhat.com>
54221 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54224 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54226 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54227 _PC_PIPE_BUF using F_GETPIPE_SZ.
54229 2010-07-05 Roland McGrath <roland@redhat.com>
54231 * manual/arith.texi (Rounding Functions): Fix rint description
54232 implicit in round description.
54234 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54236 * elf/Makefile: Fix linking for a few tests to make recent linker
54239 2010-06-30 Andreas Schwab <schwab@redhat.com>
54241 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54242 $(common-objpfx)libc_nonshared.a.
54244 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54246 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54247 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54248 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54249 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54250 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54251 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54252 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54253 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54268 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54269 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54270 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54271 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54272 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54273 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54274 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54275 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54276 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54277 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54278 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54279 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54295 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54297 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54298 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54299 * string/memmove.c (memmove): Renamed to ...
54300 (MEMMOVE): ...this. Default to memmove.
54301 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54302 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54305 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54306 mempcpy-ssse3-back memmove-ssse3-back.
54307 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54308 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54309 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54310 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54311 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54312 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54313 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54314 * sysdeps/x86_64/multiarch/memmove.c: New file.
54315 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54316 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54317 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54318 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54319 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54322 (index_Fast_Copy_Backward): Define.
54323 (HAS_ARCH_FEATURE): Define.
54324 (HAS_FAST_REP_STRING): Define.
54325 (HAS_FAST_COPY_BACKWARD): Define.
54327 2010-06-21 Andreas Schwab <schwab@redhat.com>
54329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54330 Restore proper fallback handling.
54332 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54335 * posix/group_member.c (__group_member): Correct checking loop.
54337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54338 OOM in getpwuid_r correctly. Return error number when the caller
54339 should return, otherwise -1.
54340 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54341 call returning > 0 value.
54342 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54344 2010-06-07 Andreas Schwab <schwab@redhat.com>
54346 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54347 libc_nonshared.a from targets in modules-names.
54349 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54351 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54354 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54356 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54357 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54359 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54361 2010-06-02 Andreas Schwab <schwab@redhat.com>
54363 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54365 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54367 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54373 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54374 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54376 2010-06-14 Roland McGrath <roland@redhat.com>
54378 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54380 2010-06-07 Jakub Jelinek <jakub@redhat.com>
54382 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54383 __REDIRECT followed by __THROW.
54384 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54385 * posix/getopt.h (getopt): Likewise.
54387 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54389 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54390 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54391 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54393 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54394 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54396 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54400 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54404 Properly check family and model.
54406 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54408 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54410 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54412 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54414 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54416 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54419 2010-05-19 Andreas Schwab <schwab@redhat.com>
54421 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54424 2010-05-21 Andreas Schwab <schwab@redhat.com>
54426 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54427 and internal_recvmmsg.
54428 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54429 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54430 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54431 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54433 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54434 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54435 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54437 2010-05-20 Andreas Schwab <schwab@redhat.com>
54439 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54441 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54443 POWER7 optimizations.
54444 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54445 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54447 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54449 * version.h: Update for 2.13 development version.
54451 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54453 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54454 exceptions. Return 0.
54456 2010-05-07 Roland McGrath <roland@redhat.com>
54458 * elf/ldconfig.c (main): Add a const.
54460 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54462 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54463 (args_options): Add no-idn option.
54464 (ahosts_keys_int): Add idn_flags to ai_flags.
54465 (parse_option): Handle 'i' option to clear idn_flags.
54467 * malloc/malloc.c (_int_free): Possible race in the most recently
54468 added check. Only act on the data if no current modification
54471 See ChangeLog.17 for earlier changes.