1 2014-12-17 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4 * nptl/libc_pthread_init.c: ... here.
5 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6 * nptl/register-atfork.c: ... here.
8 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10 Use assert_perror to check its return value.
11 (__gai_create_helper_thread): Likewise.
13 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
15 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17 2014-12-17 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29 (profil_counter): Likewise.
30 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31 (profil_counter): Likewise.
32 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
37 (profil_counter): Likewise.
38 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40 [!__profil_counter] (profil_counter): Define as weak alias of
42 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
43 (profil_counter): Rename to __profil_counter.
44 [!__profil_counter] (profil_counter): Define as weak alias of
46 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
47 (profil_counter): Rename to __profil_counter.
48 [!__profil_counter] (profil_counter): Define as weak alias of
50 * sysdeps/posix/profil.c: Update comment referring to
52 (__profil): Use __profil_counter instead of profil_counter.
53 * sysdeps/posix/sprofil.c (profil_counter): Rename to
54 __profil_counter. Use __profil_counter_ushort and
55 __profil_counter_uint in definitions.
56 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
57 instead of profil_counter_uint and profil_counter_ushort.
60 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
61 define as weak alias of __inet_makeaddr.
62 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
63 as weak alias of __inet_addr.
64 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
65 as weak alias of __inet_pton. Use libc_hidden_weak.
66 * include/arpa/inet.h (__inet_pton): Declare. Use
68 (inet_makeaddr): Don't use libc_hidden_proto.
69 (__inet_makeaddr): Declare. Use libc_hidden_proto.
70 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
71 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
72 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
74 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
75 (test-xfail-POSIX/time.h/linknamespace): Likewise.
77 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
79 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
81 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
83 * stdio-common/bug-vfprintf-nargs.c (do_test):
84 Cast value to intptr_t to avoid format warning
85 for usage with PRIdPTR printing macro.
87 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
89 * libio/tst-widetext.c (do_test):
90 Use format type %td instead of %Zd for ptrdiff_t
91 in order to avoid format warning.
93 2014-12-17 Andreas Schwab <schwab@suse.de>
95 * nscd/mem.c (gc): Add size_t cast to match printf format.
97 2014-12-16 Roland McGrath <roland@hack.frob.com>
99 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
100 (init): Apply PTR_MANGLE to pointers before storing them.
101 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
104 2014-12-16 Joseph Myers <joseph@codesourcery.com>
107 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
108 define as weak alias of __memrchr.
109 (__memrchr): Do not define as strong alias of memrchr.
110 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
112 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
113 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
114 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
117 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
118 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
119 (if_indextoname): Rename to __if_indextoname and define as weak
120 alias of __if_indextoname. Use libc_hidden_weak.
121 (if_freenameindex): Rename to __if_freenameindex and define as
122 weak alias of __if_freenameindex.
123 (if_nameindex): Rename to __if_nameindex and define as weak alias
125 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
126 __if_nametoindex and define as weak alias of __if_nametoindex.
127 Use libc_hidden_weak.
128 (if_freenameindex): Rename to __if_freenameindex and define as
129 weak alias of __if_freenameindex.
130 (if_nameindex): Rename to __if_nameindex and define as weak alias
132 (if_indextoname): Rename to __if_indextoname and define as weak
133 alias of __if_indextoname. Use libc_hidden_weak.
134 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
135 __if_nametoindex and define as weak alias of __if_nametoindex.
136 Use libc_hidden_weak.
137 (if_freenameindex): Rename to __if_freenameindex and define as
138 weak alias of __if_freenameindex. Use libc_hidden_weak.
139 (if_nameindex_netlink): Use __if_freenameindex instead of
141 (if_nameindex): Rename to __if_nameindex and define as weak alias
142 of __if_nameindex. Use libc_hidden_weak.
143 (if_indextoname): Rename to __if_indextoname and define as weak
144 alias of __if_indextoname. Use libc_hidden_weak.
145 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
147 [!_ISOMAC] (__if_freenameindex): Likewise.
148 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
150 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
152 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
153 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
154 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
155 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
156 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
157 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
158 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
160 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
162 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
163 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
165 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
167 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
168 subscript above bounds'
170 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
173 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
175 * libio/tst-fopenloc.c: Use test-skeleton.c.
177 * stdlib/tst-bsearch.c: Use test-skeleton.c.
178 (entry): Rename to ITEM.
179 (do_test, comp): Adjust.
181 * stdio-common/tst-fseek.c: Use test-skeleton.c.
183 2014-12-16 Torvald Riegel <triegel@redhat.com>
185 * string/tester.c: Include <libc-internal.h>.
186 (test_memset): Ignore -Wmemset-transposed-args.
188 2014-12-16 Torvald Riegel <triegel@redhat.com>
190 * misc/tst-mntent2.c (do_test): Fix warning.
192 2014-12-16 Torvald Riegel <triegel@redhat.com>
194 * elf/tst-unique4lib.cc(a): Mark as used.
196 2014-12-16 Florian Weimer <fweimer@redhat.com>
199 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
202 2014-12-16 Allan McRae <allan@archlinux.org>
204 * stdio-common/Makefile (tests): Re-add bug26.
206 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
209 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
212 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
214 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
215 (__lll_lock_wait): Likewise.
216 (__lll_timedlock_wait): Likewise.
217 (__lll_timedwait_tid): Likewise.
218 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
219 (__lll_robust_timedlock_wait): Likewise.
220 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
221 (lll_cond_trylock): Likewise.
222 (__lll_lock): Likewise.
223 (__lll_robust_lock): Likewise.
224 (__lll_cond_lock): Likewise.
225 (lll_robust_cond_lock): Likewise.
226 (__lll_timedlock): Likewise.
227 (__lll_robust_timedlock): Likewise.
228 (__lll_unlock): Likewise.
229 (__lll_robust_unlock): Likewise.
230 (lll_wait_tid): Likewise.
231 (lll_timedwait_tid): Likewise.
233 2014-12-15 Torvald Riegel <triegel@redhat.com>
235 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
237 2014-12-15 Torvald Riegel <triegel@redhat.com>
239 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
241 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
243 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
244 * stdio-common/tst-sprintf.c: Likewise.
246 2014-12-15 Torvald Riegel <triegel@redhat.com>
248 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
250 2014-12-15 Jeff Law <law@redhat.com>
253 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
254 on the heap. (CVE-2012-3406)
255 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
256 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
257 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
259 2014-12-15 Will Newton <will.newton@linaro.org>
261 * manual/install.texi: Bump required version of texinfo
263 * INSTALL: Regenerated.
264 * configure.ac: Check for makeinfo version 4.7 and above.
265 * configure: Regenerated.
267 2014-12-12 Roland McGrath <roland@hack.frob.com>
269 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
270 PREFIX, string constant to insert between directory and name.
271 * sysdeps/posix/shm_open.c: Update caller.
272 * sysdeps/posix/shm_unlink.c: Likewise.
273 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
274 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
275 (SEM_SHM_PREFIX): New macro.
276 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
277 [$(have-thread-library) = no].
278 * nptl/Makefile (libpthread-routines): Add shm-directory.
279 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
280 * sysdeps/nptl/shm-directory.h: New file.
281 * sysdeps/posix/shm-directory.c
282 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
283 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
284 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
286 (__where_is_shmfs): Function removed.
287 (mountpoint, defaultmount, defaultdir, __namedsem_once):
289 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
291 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
293 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
294 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
295 unconditional for use inside libpthread.
296 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
298 2014-12-12 Roland McGrath <roland@hack.frob.com>
300 * nptl/pthread_getaffinity.c: New file.
301 * nptl/pthread_setaffinity.c: New file.
302 * nptl/pthread_getname.c: New file.
303 * nptl/pthread_setname.c: New file.
305 * nptl/pthread_create.c (START_THREAD_DEFN)
306 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
308 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
309 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
311 * resolv/res_send.c (send_vc): Disable warning resplen may
312 be used uninitialized.
314 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
317 (ATTR_NULL): New define checks ATTR against NULL.
318 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
319 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
321 2014-12-11 James Lemke <jwlemke@codesourcery.com>
325 (mem2mem_check): Revert my previous change.
326 (malloc_check_get_size): Revert my previous change.
327 (mem2chunk_check): Revert my previous change.
329 2014-12-11 Roland McGrath <roland@hack.frob.com>
331 * sysdeps/posix/shm-directory.c: New file.
332 * sysdeps/posix/shm-directory.h: New file.
333 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
334 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
335 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
336 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
337 Transmute EPERM to EACCES.
338 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
340 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
341 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
343 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
345 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
346 pointer and cast to uintptr_t.
347 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
348 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
349 Add cast to avoid warning.
350 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
352 2014-12-11 Joseph Myers <joseph@codesourcery.com>
354 * nptl/semaphore.h: Move to ...
355 * sysdeps/pthread/semaphore.h: ... here.
356 * Makefile (installed-headers): Change nptl/semaphore.h to
357 sysdeps/pthread/semaphore.h.
359 2014-12-11 Roland McGrath <roland@hack.frob.com>
361 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
362 generated error format strings.
364 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
365 -Wformat-extra-args warnings for scanf formats.
366 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
367 test of zero-length format (duh).
368 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
369 corner-case scanf format test.
370 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
371 generated fprintf format string.
372 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
373 corner-case sprintf format tests.
374 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
375 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
376 -Wformat-extra-args warnings throughout.
377 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
378 (CFLAGS-scanf4.c): Likewise.
379 (CFLAGS-scanf7.c): Likewise.
380 (CFLAGS-tst-sprintf.c): Likewise.
381 (CFLAGS-tst-printf.c): Likewise.
382 (CFLAGS-tst-printfsz.c): Likewise.
384 2014-12-11 Joseph Myers <joseph@codesourcery.com>
386 * include/cpio.h: New file.
387 * include/fmtmsg.h: Likewise.
389 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
390 corresponding format argument to size_t.
391 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
393 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
394 corresponding format argument to size_t.
395 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
397 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
398 corresponding format argument to size_t.
399 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
400 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
401 (CFLAGS-tst-mbswcs2.c): Likewise.
402 (CFLAGS-tst-mbswcs3.c): Likewise.
403 (CFLAGS-tst-mbswcs4.c): Likewise.
404 (CFLAGS-tst-mbswcs5.c): Likewise.
405 (CFLAGS-tst-trans.c): Likewise
407 2014-12-11 Roland McGrath <roland@hack.frob.com>
409 * posix/regexbug1.c (main): Use "%s" format with regerror results,
410 rather than assuming they won't contain any '%'s.
412 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
414 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
415 inhibit_loop_to_libcall to avoid recursive calls.
416 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
417 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
419 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
421 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
424 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
426 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
427 integer value instead of boolean.
429 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
431 * malloc/malloc.c: Fix powerof2 check.
433 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
435 * locale/programs/locfile.h (maybe_swap_uint32):
436 Remove inline and add unused attribute.
438 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
440 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
441 Truncating assembler expression to a .long expression.
443 2014-12-11 Andreas Schwab <schwab@suse.de>
445 * elf/rtld.c (struct map_args): Constify str member.
446 (do_preload): Constify fname argument.
448 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
451 constants definition.
453 2014-12-11 Andreas Schwab <schwab@suse.de>
456 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
457 FORCE_ELISION instead of DO_ELISION.
458 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
460 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
463 * iconvdata/gconv-modules: Remove duplicate entry.
465 2014-12-11 Will Newton <will.newton@linaro.org>
467 Merge gettext 0.19.3 into intl/.
469 This involves a number of cosmetic changes to comments
470 and ANSI function definitions and prototypes throughout
471 all the files. The gettext copyright header is used but
472 with the date ranges taken from the glibc copy.
474 * NEWS: Add gettext merge to 2.21.
475 * intl/bindtextdom.c: Switch to gettext copyright.
476 Use ANSI definitions and prototypes.
477 Use gl_* locking primitives rather than __libc_* ones.
478 Use __builtin_expect rather than __glibc_likely/unlikely.
479 * intl/dcgettext.c: Switch to gettext copyright.
480 Use ANSI definitions and prototypes.
481 * intl/dcigettext.c: Switch to gettext copyright.
482 Use ANSI definitions and prototypes.
483 (INTDIV0_RAISES_SIGFPE): New define.
484 Use gl_* locking primitives rather than __libc_* ones.
485 Include eval-plural.h instead of plural-eval.c.
486 Use __builtin_expect rather than __glibc_likely/unlikely.
487 * intl/dcngettext.c: Switch to gettext copyright.
488 Use ANSI definitions and prototypes.
489 * intl/dgettext.c: Likewise.
490 * intl/dngettext.c: Likewise.
491 * intl/plural-eval.c: Renamed to...
492 * intl/eval-plural.h: ...this.
493 * intl/explodename.c: Switch to gettext copyright.
494 Use ANSI definitions and prototypes.
495 (_nl_explode_name): Use strchr instead of __rawmemchr.
496 * intl/finddomain.c: Switch to gettext copyright.
497 Use ANSI definitions and prototypes.
498 Use gl_* locking primitives rather than __libc_* ones.
499 (_nl_find_domain): Use malloc rather than alloca for
500 allocation of temporary locale name.
501 * intl/gettext.c: Switch to gettext copyright.
502 Use ANSI definitions and prototypes.
503 * intl/gettextP.h: Switch to gettext copyright.
504 Use ANSI definitions and prototypes.
505 Use gl_* locking primitives rather than __libc_* ones.
506 * intl/gmo.h: Switch to gettext copyright.
507 (struct sysdep_string): Move struct segment_pair outside of
509 * intl/hash-string.c: Use ANSI definitions and prototypes.
510 * intl/hash-string.h: Switch to gettext copyright.
511 Use ANSI definitions and prototypes.
512 * intl/l10nflist.c: Switch to gettext copyright.
513 Use ANSI definitions and prototypes.
514 (_nl_normalize_codeset): Avoid integer overflow.
515 * intl/loadinfo.h: Switch to gettext copyright.
516 Use ANSI definitions and prototypes.
517 (LIBINTL_DLL_EXPORTED): New define.
518 (PATH_SEPARATOR): New define.
519 * intl/loadmsgcat.c: Switch to gettext copyright.
520 * intl/localealias.c: Switch to gettext copyright.
521 Use ANSI definitions and prototypes.
522 (_nl_expand_alias): Use PATH_SEPARATOR.
523 * intl/ngettext.c: Switch to gettext copyright.
524 Use ANSI definitions and prototypes.
525 * intl/plural-exp.c: Likewise.
526 * intl/plural-exp.h: Switch to gettext copyright.
527 Use ANSI definitions and prototypes.
528 (struct expression): Move definition of enum operator outside
529 of struct definition.
530 * intl/plural.c: Regenerate.
531 * intl/plural.y: Switch to gettext copyright.
532 Use ANSI definitions and prototypes.
534 * intl/textdomain.c: Switch to gettext copyright.
535 Use ANSI definitions and prototypes.
536 Use gl_* locking primitives rather than __libc_* ones.
538 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
540 * debug/warning-nop.c: Add used atrribute.
542 2014-12-10 Joseph Myers <joseph@codesourcery.com>
544 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
546 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
547 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
548 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
550 2014-12-10 Joseph Myers <joseph@codesourcery.com>
551 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
554 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
555 Undefine after defining function. Define as weak alias of
556 __wcschr. Use libc_hidden_weak.
557 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
558 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
559 (libc_hidden_def): Also define __GI___wcschr alias.
560 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
561 __wcschr and define as weak alias of __wcschr.
562 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
564 [!WCSCHR] (DEFAULT_WCSCHR): Define.
565 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
566 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
567 libc_hidden_weak. Do not use libc_hidden_def.
568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
569 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
571 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
572 [IS_IN (libc)] (wcschr): Define as macro expanding to
574 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
575 [IS_IN (libc)] (__wcschr_power6): Likewise.
576 [IS_IN (libc)] (__wcschr_power7): Likewise.
577 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
579 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
581 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
582 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
583 __wcschr and define as weak alias of __wcschr. Use
584 libc_hidden_builtin_def.
585 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
586 as weak alias of __wcschr. Use libc_hidden_weak.
587 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
589 * time/era.c (_nl_init_era_entries): Likewise.
590 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
592 (test-xfail-XPG3/time.h/linknamespace): Likewise.
593 (test-xfail-XPG4/time.h/linknamespace): Likewise.
595 2014-12-10 Joseph Myers <joseph@codesourcery.com>
597 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
598 format for long int variable.
600 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
603 * manual/search.texi: (Array Sort Function): Remove claim how to make
606 2014-12-10 Andreas Schwab <schwab@suse.de>
609 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
610 user-controlled locks.
612 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
614 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
617 2014-12-10 Joseph Myers <joseph@codesourcery.com>
619 * configure.ac (--disable-werror): New configure option.
620 (enable_werror): New AC_SUBST.
621 * configure: Regenerated.
622 * config.make.in (enable-werror): New variable.
623 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
625 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
626 * manual/install.texi (Configuring and compiling): Document
628 * INSTALL: Regenerated.
629 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
630 (CFLAGS-tst-chk2.c): Likewise.
631 (CFLAGS-tst-chk3.c): Likewise.
632 (CFLAGS-tst-chk4.cc): Likewise.
633 (CFLAGS-tst-chk5.cc): Likewise.
634 (CFLAGS-tst-chk6.cc): Likewise.
635 (CFLAGS-tst-lfschk1.c): Likewise.
636 (CFLAGS-tst-lfschk2.c): Likewise.
637 (CFLAGS-tst-lfschk3.c): Likewise.
638 (CFLAGS-tst-lfschk4.cc): Likewise.
639 (CFLAGS-tst-lfschk5.cc): Likewise.
640 (CFLAGS-tst-lfschk6.cc): Likewise.
642 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
643 (main): Disable -Wdeprecated-declarations around calls to
644 register_printf_function.
646 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
647 (do_test): Disable -Wdiv-by-zero around some calls to
648 fwrite_unlocked and fread_unlocked.
650 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
651 (DIAG_POP_NEEDS_COMMENT): Likewise.
652 (_DIAG_STR1): Likewise.
653 (_DIAG_STR): Likewise.
654 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
655 * stdio-common/bug21.c: Include <libc-internal.h>.
656 (do_test): Disable -Wformat around call to sscanf.
657 * stdio-common/scanf14.c: Include <libc-internal.h>.
658 (main): Disable -Wformat around some calls to scanf functions.
660 2014-12-09 Torvald Riegel <triegel@redhat.com>
662 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
664 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
666 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
667 stack variable alignment.
669 2014-12-06 Joseph Myers <joseph@codesourcery.com>
672 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
673 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
674 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
675 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
676 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
677 __getrlimit instead of getrlimit.
678 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
679 __gettimeofday instead of gettimeofday.
680 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
682 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
684 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
685 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
687 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
688 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
690 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
693 for wide-character tests.
695 2014-12-04 Roland McGrath <roland@hack.frob.com>
697 * io/openat64.c: #include <libc-internal.h>
698 (__openat64): Prototypify. Use ignore_value on MODE.
699 * io/openat.c: Likewise.
700 * misc/reboot.c: #include <libc-internal.h>
701 (reboot): Prototypify. Use ignore_value on HOWTO.
702 * misc/ptrace.c: #include <libc-internal.h>
703 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
705 2014-12-04 Joseph Myers <joseph@codesourcery.com>
707 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
708 XPG4, UNIX98 and XOPEN2K.
709 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
711 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
713 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
715 * libio/fileops.c: Use ISO C style for function definitions.
716 * libio/iofopen.c: Likewise.
717 * libio/wfileops.c: Likewise.
720 * libio/fileops.c (_IO_new_file_underflow): Unset cached
722 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
723 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
724 (fgets_func): Function pointer to fgets and fgetws.
725 (do_ftell_test): Add test to verify ftell value after read
727 (do_test): Set fgets_func.
729 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
730 O_TRUNC flag for w and w+ modes.
731 (do_rewind_test): Likewise.
732 (do_ftell_test): Likewise.
733 (do_write_test): Likewise.
736 * libio/fileops.c (do_ftell): Seek only when there are
738 * libio/wfileops.c (do_ftell_wide): Likewise.
739 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
741 (do_one_test): Call it.
743 2014-12-03 Joseph Myers <joseph@codesourcery.com>
745 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
746 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
747 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
749 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
750 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
751 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
753 2014-12-02 Joseph Myers <joseph@codesourcery.com>
755 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
757 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
760 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
761 as weak alias of __getifaddrs. Use libc_hidden_weak.
762 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
763 __freeifaddrs. Use libc_hidden_weak.
764 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
765 define as weak alias of __getifaddrs. Use libc_hidden_weak.
766 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
767 __freeifaddrs. Use libc_hidden_weak.
768 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
769 __getifaddrs and define as weak alias of __getifaddrs. Use
771 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
772 __freeifaddrs. Use libc_hidden_weak.
773 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
775 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
776 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
778 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
781 * sysdeps/mips/start.S (__start): Use indirect jump to call
784 2014-12-02 Joseph Myers <joseph@codesourcery.com>
786 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
788 * nptl/tst-mutex1.c: Include <stdbool.h>.
789 [!ATTR] (ATTR_NULL): New macro.
790 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
791 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
792 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
794 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
798 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
799 Change conditional to [__USE_MISC].
802 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
804 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
806 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
808 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
810 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
811 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
812 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
813 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
814 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
815 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
816 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
817 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
818 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
820 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
822 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
824 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
825 Remove strpbrk objects.
826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
827 (__libc_ifunc_impl_list): Remove strpbrk implementation.
828 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
829 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
830 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
831 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
833 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
834 Remove strcspn objects.
835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
836 (__libc_ifunc_impl_list): Remove strcspn implementation.
837 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
838 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
839 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
840 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
842 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
843 Remove strspn objetcs.
844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
845 (__libc_ifunc_impl_list): Remove strspn implementation.
846 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
847 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
848 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
849 * sysdeps/powerpc/powerpc64/strspn.S: New file.
851 2014-12-01 James Lemke <jwlemke@codesourcery.com>
855 (mem2mem_check): Add a terminator to the chain of checking blocks.
856 (malloc_check_get_size): Use it here.
857 (mem2chunk_check): Ditto.
859 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
861 * sysdeps/powerpc/powerpc64/strtok.S: New file.
862 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
864 2014-11-29 Carlos O'Donell <carlos@redhat.com>
866 * bits/ioctl-types.h: Indent preprocessor directives correctly.
868 * nptl/nptl-init.c: Include libc-internal.h.
869 (__pthread_initialize_minimal_internal): Use ROUND_UP.
871 * elf/ldconfig.c (search_dir): Expand comment.
873 2014-11-29 Joseph Myers <joseph@codesourcery.com>
875 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
877 (linknamespace-symlist-stdlibs-tests): Likewise.
878 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
879 instead of $(objpfx)symlist-stdlibs.
880 (linknamespace-libs-isoc): New variable.
881 (linknamespace-libs): Use $(linknamespace-libs-isoc).
882 (linknamespace-libs-ISO): New variable.
883 (linknamespace-libs-ISO99): Likewise.
884 (linknamespace-libs-ISO11): Likewise.
885 (linknamespace-libs-XPG3): Likewise.
886 (linknamespace-libs-XPG4): Likewise.
887 (linknamespace-libs-POSIX): Likewise.
888 (linknamespace-libs-UNIX98): Likewise.
889 (linknamespace-libs-XOPEN2K): Likewise.
890 (linknamespace-libs-POSIX2008): Likewise.
891 (linknamespace-libs-XOPEN2K8): Likewise.
892 ($(objpfx)symlist-stdlibs): Replace by
893 $(linknamespace-symlist-stdlibs-tests). Use
894 $(linknamespace-libs-$*) as set of libraries.
895 ($(linknamespace-header-tests)): Update dependencies. Use
896 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
897 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
898 * conform/linknamespace.pl: Remove comment about considering
899 definitions of symbols from irrelevant libraries.
901 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
904 * elf/dl-tls.c: Include <atomic.h>.
905 (oom): Remove #ifdef SHARED/#endif.
906 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
907 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
908 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
910 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
911 * nptl/Makefile (tests): Add tst-stack4.
912 (modules-names): Add tst-stack4mod.
913 ($(objpfx)tst-stack4): New.
914 (tst-stack4mod.sos): Likewise.
915 ($(objpfx)tst-stack4.out): Likewise.
916 ($(tst-stack4mod.sos)): Likewise.
918 * nptl/tst-stack4.c: New file.
919 * nptl/tst-stack4mod.c: Likewise.
921 2014-11-27 J. Brown <jb999@gmx.de>
923 * sysdeps/x86/bits/string.h: Add recent CPUs.
925 2014-11-27 Joseph Myers <joseph@codesourcery.com>
927 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
930 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
933 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
936 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
938 * nscd/connections.c: Include libc-internal.h because of macro
941 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
943 * string/bits/string3.h (__warn_memset_zero_len): Don't
944 declare for gcc newer than 5.0.
945 (memset): Don't test for zero-length __LEN for gcc newer than
948 2014-11-27 Joseph Myers <joseph@codesourcery.com>
950 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
951 size_t for %zu format.
953 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
956 2014-11-26 Joseph Myers <joseph@codesourcery.com>
958 * include/libc-internal.h (ignore_value): New macro.
959 * nscd/connections.c (restart): Wrap calls to setuid and setgid
962 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
965 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
966 pthread_cleanup_push to void *.
968 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
973 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
976 * libio/bug-rewind.c (do_test): Check fwscanf return values.
977 * libio/bug-rewind2.c (do_test): Likewise.
979 * debug/test-stpcpy_chk-ifunc.c: Remove file.
980 * debug/test-strcpy_chk-ifunc.c: Likewise.
981 * wcsmbs/test-wcschr-ifunc.c: Likewise.
982 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
983 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
984 * wcsmbs/test-wcslen-ifunc.c: Likewise.
985 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
986 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
987 * Rules [$(multi-arch) = no] (tests): Do not filter out
989 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
990 * debug/Makefile (tests-ifunc): Remove variable.
991 (tests): Do not add $(tests-ifunc).
992 * wcsmbs/Makefile (tests-ifunc): Remove variable.
993 (tests): Do not add $(tests-ifunc).
994 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
995 [TEST_IFUNC]: Remove conditionals.
996 * string/test-string.h (TEST_IFUNC): Remove macro.
997 [TEST_IFUNC]: Remove conditionals.
999 * string/test-strchr.c [!WIDE] (L): New macro.
1000 [WIDE] (L): Likewise.
1001 (check1): Use CHAR instead of char. Use L on string and character
1004 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1006 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1008 * sysdeps/powerpc/bits/atomic.h
1009 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1010 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1011 (atomic_exchange_and_add_acq): Likewise.
1012 (atomic_exchange_and_add_rel): Likewise.
1013 * sysdeps/powerpc/powerpc32/bits/atomic.h
1014 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1015 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1016 * sysdeps/powerpc/powerpc64/bits/atomic.h
1017 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1018 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1020 2014-11-26 Torvald Riegel <triegel@redhat.com>
1022 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1023 Change synchronization of __sched_fifo_min_prio and
1024 __sched_fifo_max_prio.
1025 * nptl/pthread_mutexattr_getprioceiling.c
1026 (pthread_mutexattr_getprioceiling): Likewise.
1027 * nptl/pthread_mutexattr_setprioceiling.c
1028 (pthread_mutexattr_setprioceiling): Likewise.
1029 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1030 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1033 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1035 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1038 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1040 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1041 third argument const.
1043 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1045 fnmatch: work around GCC compiler warning bug with uninit var
1046 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1047 This works around a bug with x86-64 GCC 4.9.2 and earlier
1048 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1049 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1050 used uninitialized in this function [-Wmaybe-uninitialized]".
1052 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1054 * posix/bug-regex31.c (main): Return RES not 0.
1056 2014-11-25 Anton Blanchard <anton@samba.org>
1058 * sysdeps/powerpc/bits/atomic.h
1059 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1061 2014-11-24 Sterling Augustine <saugustine@google.com>
1063 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1065 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1068 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1070 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1073 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1074 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1076 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1077 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1079 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1081 * string/strncpy.c (strncpy): Improve performance by using memset.
1083 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1085 * string/strcpy.c (strcpy):
1086 Improve performance by using strlen and memcpy.
1088 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1090 * string/strcoll_l.c (get_next_seq): __always_inline.
1091 * string/strcoll_l.c (do_compare): __always_inline.
1093 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1095 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1097 * include/mqueue.h: Likewise.
1098 * include/stdlib.h: Likewise.
1100 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1101 (get_null_defines): Adjust.
1102 * sunrpc/Makefile: Adjust comment.
1103 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1104 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1105 (CFLAGS-interp.c): Likewise.
1106 (CFLAGS-ldconfig.c): Likewise.
1107 (CPPFLAGS-.os): Likewise.
1108 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1109 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1110 * extra-modules.mk (extra-modules.mk): Likewise.
1111 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1112 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1113 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1114 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1115 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1116 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1117 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1118 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1119 * iconvdata/Makefile (CPPFLAGS): Likewise.
1120 (cpp-srcs-left): Add libof for all iconvdata routines.
1121 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1122 * include/assert.h: Likewise.
1123 * include/ctype.h: Likewise.
1124 * include/errno.h: Likewise.
1125 * include/libc-symbols.h: Likewise.
1126 * include/math.h: Likewise.
1127 * include/netdb.h: Likewise.
1128 * include/resolv.h: Likewise.
1129 * include/stdio.h: Likewise.
1130 * include/stdlib.h: Likewise.
1131 * include/string.h: Likewise.
1132 * include/sys/stat.h: Likewise.
1133 * include/wctype.h: Likewise.
1134 * intl/l10nflist.c: Likewise.
1135 * libidn/idn-stub.c: Likewise.
1136 * libio/libioP.h: Likewise.
1137 * nptl/libc_multiple_threads.c: Likewise.
1138 * nptl/pthreadP.h: Likewise.
1139 * posix/regex_internal.h: Likewise.
1140 * resolv/res_hconf.c: Likewise.
1141 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1142 * sysdeps/arm/memmove.S: Likewise.
1143 * sysdeps/arm/sysdep.h: Likewise.
1144 * sysdeps/generic/_itoa.h: Likewise.
1145 * sysdeps/generic/symbol-hacks.h: Likewise.
1146 * sysdeps/gnu/errlist.awk: Likewise.
1147 * sysdeps/gnu/errlist.c: Likewise.
1148 * sysdeps/i386/i586/memcpy.S: Likewise.
1149 * sysdeps/i386/i586/memset.S: Likewise.
1150 * sysdeps/i386/i686/memcpy.S: Likewise.
1151 * sysdeps/i386/i686/memmove.S: Likewise.
1152 * sysdeps/i386/i686/mempcpy.S: Likewise.
1153 * sysdeps/i386/i686/memset.S: Likewise.
1154 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1155 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1156 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1157 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1158 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1159 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1160 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1161 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1162 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1163 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1164 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1165 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1166 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1167 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1168 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1169 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1170 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1171 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1172 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1173 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1174 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1175 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1176 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1177 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1178 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1179 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1180 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1181 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1183 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1184 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1187 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1190 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1191 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1192 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1193 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1194 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1195 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1196 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1197 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1198 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1199 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1200 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1201 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1202 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1203 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1204 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1205 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1206 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1207 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1208 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1209 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1210 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1211 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1212 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1213 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1214 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1215 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1216 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1217 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1218 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1219 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1220 * sysdeps/posix/closedir.c: Likewise.
1221 * sysdeps/posix/opendir.c: Likewise.
1222 * sysdeps/posix/readdir.c: Likewise.
1223 * sysdeps/posix/rewinddir.c: Likewise.
1224 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1225 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1226 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1227 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1228 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1229 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1230 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1234 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1235 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1236 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1237 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1238 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1239 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1240 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1241 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1243 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1244 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1245 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1246 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1247 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1260 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1261 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1265 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1266 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1269 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1270 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1271 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1273 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1274 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1278 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1279 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1280 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1281 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1282 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1284 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1286 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1288 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1289 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1291 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1292 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1293 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1296 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1297 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1298 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1299 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1300 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1302 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1303 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1304 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1305 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1306 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1307 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1308 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1309 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1310 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1311 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1312 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1313 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1314 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1315 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1316 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1317 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1320 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1322 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1323 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1324 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1325 * sysdeps/unix/alpha/sysdep.S: Likewise.
1326 * sysdeps/unix/alpha/sysdep.h: Likewise.
1327 * sysdeps/unix/make-syscalls.sh: Likewise.
1328 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1329 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1330 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1331 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1332 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1333 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1334 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1335 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1336 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1337 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1338 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1339 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1341 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1342 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1343 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1344 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1345 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1346 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1347 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1348 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1349 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1350 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1351 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1352 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1353 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1357 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1358 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1362 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1366 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1367 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1368 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1369 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1370 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1371 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1372 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1378 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1379 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1380 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1381 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1386 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1387 * sysdeps/x86_64/memcpy.S: Likewise.
1388 * sysdeps/x86_64/memmove.c: Likewise.
1389 * sysdeps/x86_64/memset.S: Likewise.
1390 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1391 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1392 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1393 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1394 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1397 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1398 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1399 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1400 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1401 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1402 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1403 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1404 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1405 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1407 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1408 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1409 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1410 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1411 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1412 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1414 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1415 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1416 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1417 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1418 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1419 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1420 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1421 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1422 * sysdeps/x86_64/strcmp.S: Likewise.
1424 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1426 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1427 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1428 * elf/rtld-Rules: Likewise.
1429 * elf/setup-vdso.h: Likewise.
1430 * include/assert.h: Likewise.
1431 * include/bits/stdlib-float.h: Likewise.
1432 * include/errno.h: Likewise.
1433 * include/sys/stat.h: Likewise.
1434 * include/unistd.h: Likewise.
1435 * sysdeps/aarch64/setjmp.S: Likewise.
1436 * sysdeps/alpha/setjmp.S: Likewise.
1437 * sysdeps/arm/__longjmp.S: Likewise.
1438 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1439 * sysdeps/arm/setjmp.S: Likewise.
1440 * sysdeps/arm/sysdep.h: Likewise.
1441 * sysdeps/generic/_itoa.h: Likewise.
1442 * sysdeps/generic/dl-sysdep.h: Likewise.
1443 * sysdeps/generic/ldsodefs.h: Likewise.
1444 * sysdeps/i386/dl-tls.h: Likewise.
1445 * sysdeps/i386/setjmp.S: Likewise.
1446 * sysdeps/m68k/setjmp.c: Likewise.
1447 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1448 * sysdeps/mach/hurd/opendir.c: Likewise.
1449 * sysdeps/posix/getcwd.c: Likewise.
1450 * sysdeps/posix/opendir.c: Likewise.
1451 * sysdeps/posix/profil.c: Likewise.
1452 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1453 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1455 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1456 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1459 * sysdeps/s390/dl-tls.h: Likewise.
1460 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1461 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1462 * sysdeps/sh/sh3/setjmp.S: Likewise.
1463 * sysdeps/sh/sh4/setjmp.S: Likewise.
1464 * sysdeps/unix/alpha/sysdep.h: Likewise.
1465 * sysdeps/unix/arm/sysdep.S: Likewise.
1466 * sysdeps/unix/i386/sysdep.S: Likewise.
1467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1468 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1469 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1470 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1471 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1472 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1473 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1474 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1475 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1476 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1477 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1478 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1479 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1482 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1483 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1485 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1486 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1487 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1488 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1490 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1491 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1492 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1494 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1495 * sysdeps/x86_64/setjmp.S: Likewise.
1497 * include/math.h: Use IS_IN instead of IS_IN_libm.
1498 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1508 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1509 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1510 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1513 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1514 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1515 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1518 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1519 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1520 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1521 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1522 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1523 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1525 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1526 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1527 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1528 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1529 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1530 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1541 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1543 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1544 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1545 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1546 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1552 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1553 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1554 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1555 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1556 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1560 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1561 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1562 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1565 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1567 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1569 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1570 * nptl/pthreadP.h: Likewise.
1571 * nptl_db/structs.def: Likewise.
1572 * sysdeps/arm/sysdep.h: Likewise.
1573 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1574 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1575 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1576 * sysdeps/unix/alpha/sysdep.h: Likewise.
1577 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1578 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1579 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1580 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1581 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1582 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1584 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1585 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1586 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1587 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1588 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1589 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1590 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1595 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1598 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1599 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1600 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1602 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1604 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1605 * nptl/pthreadP.h: Likewise.
1606 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1607 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1608 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1609 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1610 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1611 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1612 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1613 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1614 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1615 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1616 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1617 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1623 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1624 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1625 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1627 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1628 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1631 * dlfcn/dladdr.c: Use IS_IN.
1632 * dlfcn/dladdr1.c: Likewise.
1633 * dlfcn/dlclose.c: Likewise.
1634 * dlfcn/dlerror.c: Likewise.
1635 * dlfcn/dlinfo.c: Likewise.
1636 * dlfcn/dlmopen.c: Likewise.
1637 * dlfcn/dlopen.c: Likewise.
1638 * dlfcn/dlsym.c: Likewise.
1639 * dlfcn/dlvsym.c: Likewise.
1641 * include/ifaddrs.h: Use IS_IN.
1642 * inet/check_pf.c: Likewise.
1643 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1644 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1646 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1648 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1649 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1651 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1652 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1655 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1657 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1658 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1659 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1660 * include/libc-symbols.h (IS_IN_LIB): New macro.
1661 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1662 * include/netdb.h: Likewise.
1663 * include/stap-probe.h: Remove all uses of IN_LIB.
1665 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1666 instead of IN_MODULE.
1667 * include/libc-symbols.h (IN_MODULE): Define using
1669 (PASTE_NAME, PASTE_NAME1): New macros.
1670 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1672 (STAP_PROBE_ASM): Likewise.
1674 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1676 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1677 __mach_init in dlopened libc.
1679 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1681 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1682 * sysdeps/arm/preconfigure: Regenerate.
1684 2014-11-21 Roland McGrath <roland@hack.frob.com>
1686 * nptl/pthread_create.c (__pthread_create_2_1): Set
1687 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1688 when copying values from IATTR into PD.
1690 2014-11-21 Will Newton <will.newton@linaro.org>
1691 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1693 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1694 Refactor inline-asm. Also add comment.
1696 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1697 ElfW macro instead of hardcoded Elf64 types.
1698 (la_aarch64_gnu_pltenter): Likewise.
1699 * sysdeps/aarch64/dl-machine.h
1700 (elf_machine_runtime_setup): Use ElfW(Addr).
1702 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1703 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1704 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1705 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1706 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1707 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1708 (R_AARCH64_TLS_DTPMOD): This.
1709 (R_AARCH64_TLS_DTPREL64): Rename to ...
1710 (R_AARCH64_TLS_DTPREL): This.
1711 (R_AARCH64_TLS_TPREL64): Rename to ...
1712 (R_AARCH64_TLS_TPREL): This.
1713 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1714 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1715 R_AARCH64_TLS_TPREL64.
1716 (elf_machine_rela): Likewise.
1718 2014-11-21 Torvald Riegel <triegel@redhat.com>
1720 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1721 by setting it to 0. 64b atomics are not supported currently.
1723 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1726 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1727 search domain names.
1729 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1733 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1735 * posix/tst-getaddrinfo5.c: New.
1736 * posix/Makefile (tests): Add it.
1738 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1742 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1743 after parsing line but before break_if_match.
1744 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1745 if there is a protocol mismatch.
1747 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1749 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1750 because the potential race is on the user-supplied stream.
1752 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1754 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1755 string literal if not passed a buffer.
1756 * manual/job.texi (ctermid): Update reasoning, note deviation
1757 from posix, suggest mtasurace when not passed a buffer, for
1758 future non-preliminary safety notes.
1760 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1762 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1763 of not passing it a buffer.
1764 Reported by Peng Haitao.
1766 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1768 * manual/Makefile ($(objpfx)stamp-summary): Require
1769 check-safety.sh to pass.
1770 * manual/check-safety.sh: Wish for verification that every
1771 @deftypefn and @deftypefun is followed by a @safety remark.
1773 2014-11-20 Roland McGrath <roland@hack.frob.com>
1775 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1777 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1778 PTHREAD_CANCEL_ASYNCHRONOUS.
1779 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1782 * nptl/default-sched.h: New file.
1783 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1784 * nptl/pthread_create.c: Include it.
1785 (__pthread_create_2_1): Use collect_default_sched instead of making
1786 Linux syscalls here directly.
1788 2014-11-20 Torvald Riegel <triegel@redhat.com>
1790 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1791 __pthread_once): Use C11 atomics.
1793 2014-11-20 Torvald Riegel <triegel@redhat.com>
1795 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1797 2014-11-20 Torvald Riegel <triegel@redhat.com>
1799 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1800 atomic_thread_fence_acquire, atomic_thread_fence_release,
1801 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1802 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1803 atomic_compare_exchange_weak_relaxed,
1804 atomic_compare_exchange_weak_acquire,
1805 atomic_compare_exchange_weak_release,
1806 atomic_exchange_acquire, atomic_exchange_release,
1807 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1808 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1809 atomic_fetch_and_acquire,
1810 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1812 2014-11-20 Torvald Riegel <triegel@redhat.com>
1814 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1815 USE_ATOMIC_COMPILER_BUILTINS): Define.
1816 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1817 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1818 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1819 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1820 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1821 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1822 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1823 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1824 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1825 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1826 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1827 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1828 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1829 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1830 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1831 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1832 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1833 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1834 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1835 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1836 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1837 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1838 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1839 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1840 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1841 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1842 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1843 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1844 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1845 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1846 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1847 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1848 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1849 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1850 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1851 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1852 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1853 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1854 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1855 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1857 2014-11-19 Roland McGrath <roland@hack.frob.com>
1859 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1860 the sched_priority value here. It was already checked when the user
1861 called pthread_attr_setschedparam.
1863 * nptl/tst-bad-schedattr.c: New file.
1864 * nptl/Makefile (tests): Add it.
1866 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1867 Florian Weimer <fweimer@redhat.com>
1868 Joseph Myers <joseph@codesourcery.com>
1869 Adam Conrad <adconrad@0c3.net>
1870 Andreas Schwab <schwab@suse.de>
1871 Brooks <bmoses@google.com>
1874 * wordexp-test.c (__dso_handle): Add prototype.
1875 (__register_atfork): Likewise.
1876 (__app_register_atfork): New function.
1877 (registered_forks): New global.
1878 (register_fork): New function.
1879 (test_case): Add 3 new tests for WRDE_CMDSUB.
1880 (main): Call __app_register_atfork.
1881 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1882 fork count is non-zero fail the test.
1883 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1885 (parse_dollars): Remove check for WRDE_NOCMD.
1886 (parse_dquote): Likewise.
1888 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1890 * Makeconfig (built-modules): List non-library modules to be
1892 (module-cppflags): Include libc-modules.h for
1893 everything except shlib-versions.v.i.
1895 (before-compile): Add libc-modules.h.
1896 ($(common-objpfx)libc-modules.h,
1897 $(common-objpfx)libc-modules.stmp): New targets.
1898 (common-generated): Add libc-modules.h and libc-modules.stmp.
1899 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1900 * include/libc-symbols.h: Don't include libc-modules.h.
1901 * include/libc-modules.h: Remove file.
1902 * scripts/gen-libc-modules.awk: New script to generate
1904 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1905 Depend on libc-modules.stmp.
1907 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1909 * Makeconfig (in-module): Get value of libof set for the
1911 (CPPFLAGS): Use $(in-module).
1912 * Makerules: Don't suffix routine names for nonlib.
1913 * include/libc-modules.h: New file.
1914 * include/libc-symbols.h: Include libc-modules.h
1915 (IS_IN): New macro to replace IS_IN_* macros.
1916 * elf/Makefile: Set libof-* for each routine.
1917 * elf/rtld-Rules: Likewise.
1918 * extra-modules.mk: Likewise.
1919 * iconv/Makefile: Likewise.
1920 * iconvdata/Makefile: Likewise.
1921 * locale/Makefile: Likewise.
1922 * malloc/Makefile: Likewise.
1923 * nss/Makefile: Likewise.
1924 * sysdeps/gnu/Makefile: Likewise.
1925 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1926 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1927 * sysdeps/s390/s390-64/Makefile: Likewise.
1928 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1929 CPPFLAGS for nscd instead of nonlib.
1931 2014-11-18 Roland McGrath <roland@hack.frob.com>
1933 * nptl/createthread.c: New file.
1935 * nptl/createthread.c: Moved ...
1936 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1938 * nptl/createthread.c: Add proper top-line comment.
1939 (do_clone): Folded into ...
1940 (create_thread): ... here. Take new arguments STOPPED_START and
1941 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1942 increment __nptl_threads, do event-reporting logic, do
1943 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1944 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1945 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1946 just send SIGCANCEL.
1947 * nptl/pthread_create.c: Forward-declare create_thread before
1948 including createthread.c.
1949 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1950 declaration, and new macro START_THREAD_SELF to replace argument.
1951 Remove return statement.
1952 (report_thread_creation): New function.
1953 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1954 synchronization logic, and __nptl_nthreads increment here, around
1955 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1956 PD->parent_cancelhandling here, before create_thread. When
1957 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1958 __deallocate_stack, and ENOMEM translation here.
1960 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1963 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1964 (mptwo): Rename to __mptwo.
1965 (__inv): Use __mptwo instead of mptwo.
1966 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1967 (mptwo): Rename to __mptwo.
1968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1969 of mpone and __mptwo instead of mptwo.
1970 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1973 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1974 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1975 of mpone and __mptwo instead of mptwo.
1976 (__mpranred): Use __mpone instead of mpone.
1977 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1979 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1980 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1981 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1982 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1983 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1984 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1985 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1986 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1987 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1988 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1989 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1990 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1991 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1992 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1993 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1994 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1995 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1996 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1997 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1999 2014-11-18 Tom de Vries <tom@codesoucery.com>
2001 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2002 replace BSD Handler xref with BSD Signal Handling.
2004 2014-11-17 Richard Henderson <rth@redhat.com>
2006 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2007 (_FP_PACK_RAW_2): Remove.
2008 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2009 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2010 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2011 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2012 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2013 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2014 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2015 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2016 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2017 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2018 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2019 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2020 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2021 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2022 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2023 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2025 2014-11-14 Roland McGrath <roland@hack.frob.com>
2027 * signal/signal.h [__USE_MISC]
2028 (struct sigvec): Remove type.
2029 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2030 (sigvec): Remove declaration.
2031 * sysdeps/posix/sigvec.c: Moved ...
2032 * signal/sigvec.c: ... here, replacing old file.
2033 (struct sigvec): New type, copied from old signal.h definition.
2034 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2035 (__sigvec): Convert definition to prototype.
2036 (sigvec): Replace weak_alias with compat_symbol.
2037 * signal/Versions (libc: GLIBC_2.21): New version set.
2038 * include/signal.h: Remove __sigvec declaration.
2039 * sysdeps/unix/bsd/sigvec.c: Remove file.
2040 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2041 * manual/signal.texi (BSD Handler): Remove subsection.
2042 Move siginterrupt up to ...
2043 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2044 (Blocking in BSD): Fold subsection into its parent.
2045 * NEWS: Mention sigvec removal.
2047 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2049 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2050 (DLA_FMS): Make definition conditional only on [__FMA4__].
2051 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2054 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2055 Make definition conditional only on [PROF].
2056 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2058 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2059 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2061 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2063 * include/signal.h (__sigpause): Move declaration above call to
2065 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2067 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2068 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2070 2014-11-14 David S. Miller <davem@davemloft.net>
2072 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2073 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2075 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2077 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2078 * configure: Regenerated.
2079 * manual/install.texi (Tools for Compilation): Document a
2080 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2081 compiler verified to work.
2082 * INSTALL: Regenerated.
2084 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2085 redeclare with asm name.
2086 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2087 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2088 including <string.h>.
2089 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2090 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2091 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2092 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2093 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2094 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2095 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2097 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2099 * stdlib/strtol.c (__strtol): Use prototype definition.
2102 * stdlib/strtol.c (SYM__): New macro.
2104 (__strtol): Likewise.
2105 (strtol): Rename to __strtol and define as weak alias of
2106 __strtol. Use libc_hidden_weak.
2108 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2110 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2111 Use numbered labels in inline assembly.
2113 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2115 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2116 Add setjmp LIBC_PROBE.
2117 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2119 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2120 Add longjmp, longjmp_target LIBC_PROBE.
2121 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2124 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2126 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2127 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2128 to get rid of unused variable warning.
2130 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2132 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2133 Check for unwind_backtrace == NULL only in SHARED case.
2134 (__backchain_backtrace): Compile only in SHARED case.
2135 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2137 (__backchain_backtrace): Declare as static.
2139 2014-11-12 Roland McGrath <roland@hack.frob.com>
2141 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2142 (__libc_multiple_threads_ptr): Variable moved ...
2143 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2145 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2147 * conform/GlibcConform.pm: New file.
2148 * conform/conformtest.pl: Use GlibcConform module.
2149 * conform/linknamespace.pl: New file.
2150 * conform/list-header-symbols.pl: Likewise.
2151 * conform/Makefile (linknamespace-symlists-base): New variable.
2152 (linknamespace-symlists-tests): Likewise.
2153 (linknamespace-header-base): Likewise.
2154 (linknamespace-header-tests): Likewise.
2155 (tests-special): Add new tests.
2156 ($(linknamespace-symlists-tests)): New rule.
2157 (linknamespace-libs): New variable.
2158 ($(objpfx)symlist-stdlibs): New rule.
2159 ($(linknamespace-header-tests)): Likewise.
2160 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2161 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2162 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2163 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2164 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2165 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2166 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2167 (test-xfail-ISO/math.h/linknamespace): Likewise.
2168 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2169 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2170 (test-xfail-ISO/time.h/linknamespace): Likewise.
2171 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2172 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2173 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2174 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2175 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2176 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2177 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2178 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2179 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2180 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2181 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2182 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2183 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2184 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2185 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2186 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2187 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2188 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2189 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2190 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2191 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2192 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2193 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2194 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2195 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2196 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2197 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2198 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2199 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2200 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2201 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2202 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2203 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2204 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2205 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2206 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2207 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2208 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2209 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2210 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2211 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2212 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2213 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2214 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2215 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2216 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2217 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2218 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2219 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2220 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2221 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2222 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2223 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2224 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2225 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2226 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2227 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2228 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2229 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2230 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2231 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2232 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2233 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2234 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2235 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2236 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2237 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2238 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2239 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2240 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2241 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2242 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2243 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2244 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2245 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2246 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2247 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2248 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2249 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2250 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2251 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2252 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2253 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2254 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2255 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2256 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2257 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2258 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2259 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2260 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2261 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2262 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2263 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2264 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2265 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2266 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2267 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2268 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2269 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2270 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2271 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2272 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2273 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2274 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2275 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2276 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2277 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2278 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2279 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2280 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2281 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2282 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2283 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2284 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2285 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2286 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2287 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2288 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2289 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2290 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2291 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2292 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2293 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2294 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2295 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2296 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2297 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2298 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2299 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2300 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2301 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2302 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2303 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2304 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2305 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2306 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2307 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2308 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2309 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2310 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2311 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2312 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2313 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2314 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2315 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2316 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2317 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2318 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2319 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2320 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2323 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2327 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2328 (memmem): Rename to __memmem and define as weak alias of
2329 __memmem. Use libc_hidden_weak.
2330 (__memmem): Use libc_hidden_def.
2331 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2332 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2336 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2337 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2338 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2339 and define as weak alias of __fgets_unlocked. Use
2341 (__fgets_unlocked): Use libc_hidden_def.
2342 * include/stdio.h (__fgets_unlocked): Declare. Use
2344 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2345 __fgets_unlocked instead of fgets_unlocked.
2346 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2347 (GET_NPROCS_CONF_PARSER): Likewise.
2348 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2349 (GET_NPROCS_CONF_PARSER): Likewise.
2352 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2353 weak alias of __wmemset. Use libc_hidden_weak.
2354 (__wmemset): Use libc_hidden_def.
2355 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2356 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2360 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2361 with asm name __mempcpy.
2362 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2365 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2366 and define as weak alias of __rawmemchr.
2367 (__rawmemchr): Do not define as strong alias of rawmemchr.
2370 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2372 (qsort): Call __qsort_r instead of qsort_r.
2373 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2374 (__qsort_r): Declare. Call libc_hidden_proto.
2375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2377 * nscd/gai.c (__qsort_r): Define to qsort_r.
2378 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2379 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2380 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2383 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2384 define as weak alias of __malloc_info.
2387 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2388 as weak alias of __rewinddir. Don't use libc_hidden_def.
2389 (__rewinddir): Use libc_hidden_def.
2390 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2391 as weak alias of __rewinddir. Don't use libc_hidden_def.
2392 (__rewinddir): Use libc_hidden_def.
2393 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2394 weak alias of __rewinddir. Don't use libc_hidden_def.
2395 (__rewinddir): Use libc_hidden_def.
2396 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2397 (__rewinddir): Use libc_hidden_proto.
2398 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2400 (__getcwd): Use __rewinddir instead of rewinddir.
2403 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2404 alias of __fileno. Use libc_hidden_weak.
2405 (__fileno): Use libc_hidden_def.
2406 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2407 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2409 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2411 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2412 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2414 (fread_unlocked): Don't use libc_hidden_ver.
2415 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2416 and define as weak alias of __fread_unlocked. Don't use
2418 (__fread_unlocked): Use libc_hidden_def.
2419 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2420 (ftello): Don't use libc_hidden_proto.
2421 (__ftello): Declare. Use libc_hidden_proto.
2422 (fread_unlocked): Don't use libc_hidden_proto.
2423 (__fread_unlocked): Declare. Use libc_hidden_proto.
2424 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2425 and __ftello instead of fileno, fread_unlocked and ftello.
2427 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2429 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2431 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2433 (_dl_start_user): Likewise.
2434 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2436 2014-11-12 Carlos O'Donell <carlos@redhat.com>
2437 Siddhesh Poyarekar <siddhesh@redhat.com>
2439 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2440 Move argv and envp down instead of moving argc up.
2441 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2443 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
2446 * test-skeleton.c (main): Return successful if one of
2447 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2448 * string/tst-strcoll-overflow.c: Define expected status.
2450 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2453 * locale/iso-639.def: Define Bhili and Tulu language codes.
2455 2014-11-11 Alan Hayward <alan.hayward@arm.com>
2457 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2459 2014-11-10 Renlin Li <Renlin.Li@arm.com>
2462 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2464 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2466 * configure.ac: Updated check of minimal required version to
2468 * manual/install.texi (Tools for Compilation): Updated version
2470 * configure: Regenerated.
2471 * INSTALL: Likewise.
2473 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2475 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2478 2014-11-07 Joseph Myers <joseph@codesourcery.com>
2480 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2481 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2482 (__waitpid): Don't define as alias. Use libc_hidden_def not
2484 (waitpid): Define as alias of __waitpid.
2485 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2487 (__waitpid): Don't define as alias. Use libc_hidden_def not
2489 (waitpid): Define as alias of __waitpid.
2490 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2491 __libc_waitpid alias.
2492 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2495 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2496 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2497 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2499 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2501 (__waitpid): Don't define as alias. Use libc_hidden_def not
2503 (waitpid): Define as alias of __waitpid.
2505 2014-11-06 Carlos O'Donell <carlos@redhat.com>
2507 * manual/llio.texi: Add comment that write safety has been
2510 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2511 (localplt-build-dso): Add elf/ld.so.
2512 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2513 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2516 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2521 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2522 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2523 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2524 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2525 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2526 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2527 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2528 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2529 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2533 2014-11-05 Joseph Myers <joseph@codesourcery.com>
2536 * include/libc-symbols.h (INTUSE): Remove macro.
2538 (INTVARDEF): Likewise.
2539 (_INTVARDEF): Likewise.
2540 (INTDEF2): Likewise.
2541 (INTVARDEF2): Likewise.
2542 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2543 rtld_hidden_def instead of INTVARDEF.
2544 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2545 (_dl_starting_up_internal): Remove declaration.
2546 (_dl_starting_up): Use rtld_hidden_proto.
2547 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2549 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2550 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2552 * elf/dl-writev.h (_dl_writev): Likewise.
2553 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2554 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2555 _dl_starting_up_internal.
2557 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2559 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2562 2014-11-05 Will Newton <will.newton@linaro.org>
2564 * benchtests/Makefile: (bench-malloc): Add malloc thread
2565 scalability benchmark.
2566 * benchtests/bench-malloc-threads.c: New file.
2568 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
2570 * sysdeps/aarch64/strchrnul.S: New file.
2572 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2574 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2576 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2582 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2584 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2587 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
2589 * catgets/test-gencat.c: Use test-skeleton.c.
2590 * catgets/tst-catgets.c: Likewise.
2591 * csu/tst-empty.c: Likewise.
2592 * elf/tst-audit2.c: Likewise.
2593 * elf/tst-global1.c: Likewise.
2594 * elf/tst-pathopt.c: Likewise.
2595 * elf/tst-piemod1.c: Likewise.
2596 * elf/tst-tls10.c: Likewise.
2597 * elf/tst-tls11.c: Likewise.
2598 * elf/tst-tls12.c: Likewise.
2599 * gnulib/tst-gcc.c: Likewise.
2600 * iconvdata/tst-e2big.c: Likewise.
2601 * iconvdata/tst-loading.c: Likewise.
2602 * iconv/tst-iconv1.c: Likewise.
2603 * iconv/tst-iconv2.c: Likewise.
2604 * inet/test-inet6_opt.c: Likewise.
2605 * inet/tst-gethnm.c: Likewise.
2606 * inet/tst-network.c: Likewise.
2607 * inet/tst-ntoa.c: Likewise.
2608 * intl/tst-codeset.c: Likewise.
2609 * intl/tst-gettext2.c: Likewise.
2610 * intl/tst-gettext3.c: Likewise.
2611 * intl/tst-ngettext.c: Likewise.
2612 * intl/tst-translit.c: Likewise.
2613 * io/test-stat.c: Likewise.
2614 * libio/test-fmemopen.c: Likewise.
2615 * libio/tst-freopen.c: Likewise.
2616 * libio/tst-sscanf.c: Likewise.
2617 * libio/tst-ungetwc1.c: Likewise.
2618 * libio/tst-ungetwc2.c: Likewise.
2619 * libio/tst-widetext.c: Likewise.
2620 * localedata/tst-ctype.c: Likewise.
2621 * localedata/tst-digits.c: Likewise.
2622 * localedata/tst-leaks.c: Likewise.
2623 * localedata/tst-mbswcs1.c: Likewise.
2624 * localedata/tst-mbswcs2.c: Likewise.
2625 * localedata/tst-mbswcs3.c: Likewise.
2626 * localedata/tst-mbswcs4.c: Likewise.
2627 * localedata/tst-mbswcs5.c: Likewise.
2628 * localedata/tst-setlocale.c: Likewise.
2629 * localedata/tst-trans.c: Likewise.
2630 * localedata/tst-wctype.c: Likewise.
2631 * localedata/tst-xlocale1.c: Likewise.
2632 * login/tst-grantpt.c: Likewise.
2633 * malloc/tst-calloc.c: Likewise.
2634 * malloc/tst-malloc.c: Likewise.
2635 * malloc/tst-mallocstate.c: Likewise.
2636 * malloc/tst-mcheck.c: Likewise.
2637 * malloc/tst-mtrace.c: Likewise.
2638 * malloc/tst-obstack.c: Likewise.
2639 * math/atest-exp2.c: Likewise.
2640 * math/atest-exp.c: Likewise.
2641 * math/atest-sincos.c: Likewise.
2642 * math/test-matherr.c: Likewise.
2643 * math/test-misc.c: Likewise.
2644 * math/test-powl.c: Likewise.
2645 * math/tst-definitions.c: Likewise.
2646 * misc/tst-dirname.c: Likewise.
2647 * misc/tst-efgcvt.c: Likewise.
2648 * misc/tst-fdset.c: Likewise.
2649 * misc/tst-hsearch.c: Likewise.
2650 * misc/tst-mntent2.c: Likewise.
2651 * nptl/tst-sem7.c: Likewise.
2652 * nptl/tst-sem8.c: Likewise.
2653 * nptl/tst-sem9.c: Likewise.
2654 * nss/test-netdb.c: Likewise.
2655 * posix/tst-fnmatch.c: Likewise.
2656 * posix/tst-getlogin.c: Likewise.
2657 * posix/tst-gnuglob.c: Likewise.
2658 * posix/tst-mmap.c: Likewise.
2659 * pwd/tst-getpw.c: Likewise.
2660 * resolv/tst-inet_ntop.c: Likewise.
2661 * rt/tst-timer.c: Likewise.
2662 * stdio-common/test-fseek.c: Likewise.
2663 * stdio-common/test-popen.c: Likewise.
2664 * stdio-common/test-vfprintf.c: Likewise.
2665 * stdio-common/tst-cookie.c: Likewise.
2666 * stdio-common/tst-fileno.c: Likewise.
2667 * stdio-common/tst-gets.c: Likewise.
2668 * stdio-common/tst-obprintf.c: Likewise.
2669 * stdio-common/tst-perror.c: Likewise.
2670 * stdio-common/tst-sprintf2.c: Likewise.
2671 * stdio-common/tst-sprintf3.c: Likewise.
2672 * stdio-common/tst-sprintf.c: Likewise.
2673 * stdio-common/tst-swprintf.c: Likewise.
2674 * stdio-common/tst-tmpnam.c: Likewise.
2675 * stdio-common/tst-unbputc.c: Likewise.
2676 * stdio-common/tst-wc-printf.c: Likewise.
2677 * stdlib/tst-environ.c: Likewise.
2678 * stdlib/tst-fmtmsg.c: Likewise.
2679 * stdlib/tst-limits.c: Likewise.
2680 * stdlib/tst-rand48-2.c: Likewise.
2681 * stdlib/tst-rand48.c: Likewise.
2682 * stdlib/tst-random2.c: Likewise.
2683 * stdlib/tst-random.c: Likewise.
2684 * stdlib/tst-strtol.c: Likewise.
2685 * stdlib/tst-strtoll.c: Likewise.
2686 * stdlib/tst-tls-atexit.c: Likewise.
2687 * stdlib/tst-xpg-basename.c: Likewise.
2688 * string/test-ffs.c: Likewise.
2689 * string/tst-bswap.c: Likewise.
2690 * string/tst-inlcall.c: Likewise.
2691 * string/tst-strtok.c: Likewise.
2692 * string/tst-strxfrm.c: Likewise.
2693 * sysdeps/x86_64/tst-audit10.c: Likewise.
2694 * sysdeps/x86_64/tst-audit3.c: Likewise.
2695 * sysdeps/x86_64/tst-audit4.c: Likewise.
2696 * sysdeps/x86_64/tst-audit5.c: Likewise.
2697 * time/tst-ftime_l.c: Likewise.
2698 * time/tst-getdate.c: Likewise.
2699 * time/tst-mktime3.c: Likewise.
2700 * time/tst-mktime.c: Likewise.
2701 * time/tst-posixtz.c: Likewise.
2702 * time/tst-strptime2.c: Likewise.
2703 * time/tst-strptime3.c: Likewise.
2704 * wcsmbs/tst-btowc.c: Likewise.
2705 * wcsmbs/tst-mbrtowc.c: Likewise.
2706 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2707 * wcsmbs/tst-wchar-h.c: Likewise.
2708 * wcsmbs/tst-wcpncpy.c: Likewise.
2709 * wcsmbs/tst-wcrtomb.c: Likewise.
2710 * wcsmbs/tst-wcsnlen.c: Likewise.
2711 * wcsmbs/tst-wcstof.c: Likewise.
2713 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2716 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2718 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2720 (_dl_mcount): Use rtld_hidden_proto.
2721 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2723 * elf/rtld.c (_rtld_global_ro): Likewise.
2726 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2727 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2728 of _dl_init_internal.
2729 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2730 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2731 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2732 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2733 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2734 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2735 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2736 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2737 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2738 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2739 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2740 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2741 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2742 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2743 * sysdeps/tile/dl-start.S (_start): Likewise.
2744 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2745 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2748 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2749 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2750 (rtld_progname): Make macro definition unconditional.
2751 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2753 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2754 (dl_main): Likewise.
2755 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2756 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2757 instead of _dl_argv_internal.
2758 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2759 __GI__dl_argv instead of INTUSE(_dl_argv).
2760 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2761 __GI__dl_argv instead of _dl_argv_internal.
2763 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2764 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2766 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2767 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2769 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2770 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2772 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2773 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2775 2014-11-04 Andreas Schwab <schwab@suse.de>
2777 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2779 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2781 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2782 mtvsrd instruction in binary form.
2784 2014-11-03 Andreas Schwab <schwab@suse.de>
2787 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2788 for less than MB_LEN_MAX use a local buffer of that size.
2789 * libio/tst-fputws.c: New file.
2790 * libio/Makefile (tests): Add tst-fputws.
2792 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2794 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2795 the size of the fpu_fr.fpu_dregs[] array.
2797 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2799 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2800 (__nanosleep): Do not define as alias.
2801 (nanosleep): Define as alias of __nanosleep.
2802 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2803 __libc_nanosleep name.
2805 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2807 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2808 install.texi in comment.
2810 2014-10-31 Torvald Riegel <triegel@redhat.com>
2812 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2813 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2814 ... add here and use lwsync or sync ...
2815 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2816 ... and add here using lwsync.
2818 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2820 * elf/dl-machine-reject-phdr.h: New file.
2821 * elf/dl-load.c: #include that.
2822 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2823 if that returned true.
2825 2014-10-31 Roland McGrath <roland@hack.frob.com>
2828 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2829 gen-as-const-headers chunk. Add a big scare comment after the last
2830 safe place to touch before-compile.
2832 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2834 * manual/install.texi (Tools for Compilation): Update autoconf
2835 version requirements.
2836 * INSTALL: Regenerated.
2838 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2839 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2840 (__libc_pselect): Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2848 2014-10-31 Torvald Riegel <triegel@redhat.com>
2850 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2851 correct barrier instruction.
2852 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2854 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2857 2014-10-30 Roland McGrath <roland@hack.frob.com>
2859 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2860 after defining inlines. Instead, just use parens to defeat macro
2861 expansion of __isctype in its declaration.
2863 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2865 * include/sys/uio.h (__libc_readv): Remove declaration.
2866 (__libc_writev): Likewise.
2867 * misc/readv.c (__libc_readv): Rename to __readv.
2868 (__readv): Do not define as alias.
2869 (readv): Define as alias of __readv.
2870 * misc/writev.c (__libc_writev): Rename to __writev.
2871 (__writev): Do not define as alias.
2872 (writev): Define as alias of __writev.
2873 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2874 (__readv): Do not define as alias.
2875 (readv): Define unconditionally as alias of __readv.
2876 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2877 (__writev): Do not define as alias.
2878 (writev): Define unconditionally as alias of __writev.
2879 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2881 (writev): Do not define __libc_writev name.
2883 2014-10-30 Roland McGrath <roland@hack.frob.com>
2885 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2886 (convert_charseq): New function, broken out of ...
2887 (use_from_charmap): ... here. Call it.
2888 (use_to_charmap): Use convert_charseq and free instead of duplicating
2889 its code with a variable-length stack struct.
2891 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2893 * include/fcntl.h (__libc_creat): Remove declaration.
2894 * io/creat.c (__libc_creat): Rename to creat.
2895 (creat): Do not define as alias.
2896 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2897 of creat instead of __libc_creat.
2898 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2900 (creat): Do not define as alias.
2901 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2903 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2905 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2908 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2910 * manual/llio.texi: Add comments discussing why write() may be
2911 considered MT-unsafe on Linux.
2913 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2915 * dl-load.c (local_strdup): Remove.
2916 (expand_dynamic_string_token): Use __strdup.
2917 (decompose_rpath): Likewise.
2918 (_dl_map_object): Likewise.
2920 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2923 * sysdeps/generic/unwind-dw2-fde.c
2924 (__register_frame_info_bases_internal): Do not declare.
2925 (__register_frame_info_table_bases_internal): Likewise.
2926 (__deregister_frame_info_bases_internal): Likewise.
2927 (__register_frame_info_bases): Declare and use hidden_proto before
2928 definition. Use hidden_def instead of INTDEF.
2929 (__register_frame_info_table_bases): Likewise.
2930 (__deregister_frame_info_bases): Likewise.
2931 (__register_frame_info): Do not use INTUSE.
2932 (__register_frame): Likewise.
2933 (__register_frame_info_table): Likewise.
2934 (__register_frame_table): Likewise.
2935 (__deregister_frame_info): Likewise.
2936 (__deregister_frame): Likewise.
2938 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2940 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2941 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2943 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2945 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2948 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2951 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2952 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2953 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2954 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2955 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2956 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2957 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2958 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2959 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2960 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2962 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2963 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2965 (setfsuid): Likewise.
2966 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2967 (setfsuid): Likewise.
2968 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2969 (setfsuid): Likewise.
2970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2972 (setfsuid): Likewise.
2973 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2974 (setfsuid): Likewise.
2975 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2977 (setfsuid): Likewise.
2979 2014-10-27 Andreas Schwab <schwab@suse.de>
2982 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2983 check for Slow_SSE4_2 feature bit.
2984 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2985 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2986 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2987 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2989 2014-10-24 Roland McGrath <roland@hack.frob.com>
2991 * configure.ac: Validate compiler version with a empirical test of
2992 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2994 * configure: Regenerated.
2996 * inet/htons.c (htons): Prototypify.
2997 * inet/htonl.c (htonl): Likewise.
2999 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3001 * string/strncat.c (strncat): Improve performance by using strlen.
3003 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3005 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3007 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3009 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3010 Call libc_fetestexcept_aarch64.
3012 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3014 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3015 Call libc_feholdexcept_aarch64.
3017 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3019 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3020 Call get_rounding_mode.
3022 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3024 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3027 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3029 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3032 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3035 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3036 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3037 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3038 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3039 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3040 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3041 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3042 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3043 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3044 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3045 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3046 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3047 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3048 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3049 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3050 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3051 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3052 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3053 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3054 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3055 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3056 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3057 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3058 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3059 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3060 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3061 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3062 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3063 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3064 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3065 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3066 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3067 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3068 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3069 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3070 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3071 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3072 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3073 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3074 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3075 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3077 (geteuid): Likewise.
3080 (getresgid): Likewise.
3081 (getresuid): Likewise.
3082 (getgroups): Likewise.
3083 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3084 (geteuid): Likewise.
3087 (getresgid): Likewise.
3088 (getresuid): Likewise.
3089 (getgroups): Likewise.
3090 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3091 (geteuid): Likewise.
3094 (getresgid): Likewise.
3095 (getresuid): Likewise.
3096 (getgroups): Likewise.
3097 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3099 (geteuid): Likewise.
3102 (getresgid): Likewise.
3103 (getresuid): Likewise.
3104 (getgroups): Likewise.
3105 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3106 (geteuid): Likewise.
3109 (getresgid): Likewise.
3110 (getresuid): Likewise.
3111 (getgroups): Likewise.
3112 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3114 (geteuid): Likewise.
3117 (getgroups): Likewise.
3120 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3121 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3122 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3123 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3124 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3125 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3126 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3127 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3128 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3129 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3131 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3132 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3134 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3141 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3144 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3149 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3151 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3154 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3156 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3159 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3161 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3162 Remove unused include.
3164 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3166 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3167 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3168 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3169 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3171 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3172 Helge Deller <deller@gmx.de>
3175 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3176 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3177 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3179 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3182 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3183 Remove macro definition.
3184 (__ashrdi3_v_glibc20): Likewise.
3185 (__lshrdi3_v_glibc20): Likewise.
3186 (__cmpdi2_v_glibc20): Likewise.
3187 (__ucmpdi2_v_glibc20): Likewise.
3188 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3189 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3190 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3191 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3192 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3193 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3195 2014-10-22 Roland McGrath <roland@hack.frob.com>
3197 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3198 old GNU extension [0] syntax.
3199 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3200 alloca rather than an array member with variable length.
3201 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3202 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3203 (parse_opt): ... here. Likewise use alloca there.
3204 Validate the -i argument before checking for rootness.
3205 (send_shutdown): New function, broken out of ...
3206 (parse_opt): ... here.
3208 2014-10-22 Roland McGrath <roland@hack.frob.com>
3210 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3211 macro to get at the _rt_local_ro field.
3212 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3213 ([PIC] case) or _dl_hwcap ([!PIC] case).
3214 * sysdeps/arm/setjmp.S: Likewise.
3216 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3217 * sysdeps/arm/configure.ac: New check to define it.
3218 * sysdeps/arm/configure: Regenerated.
3219 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3220 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3221 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3222 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3223 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3224 Use move/movt pair instead of a load.
3225 (LDST_GLOBAL): Macro removed.
3226 (LDR_GLOBAL): New macro replaces it.
3227 (LDR_HIDDEN): New macro.
3228 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3229 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3231 * setjmp/tst-setjmp-static.c: New file.
3232 * setjmp/Makefile (tests): Add it.
3233 (tests-static): New variable.
3235 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3238 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3240 2014-10-21 Joseph Myers <joseph@codesourcery.com>
3243 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3245 2014-10-21 Roland McGrath <roland@hack.frob.com>
3247 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3249 2014-10-20 Roland McGrath <roland@hack.frob.com>
3251 * io/fts.c (dirent_not_directory): New function.
3252 (fts_build): Call it.
3254 2014-10-20 Roland McGrath <roland@hack.frob.com>
3256 * nptl/version.c (__nptl_main): Use normal __write rather than
3258 (banner): Update copyright years.
3260 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3262 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3263 * nptl/pthread_cond_timedwait.c: Likewise.
3264 * nptl/pthread_mutex_timedlock.c: Likewise.
3265 * nptl/sem_timedwait.c: Likewise.
3267 * sysdeps/nptl/bits/libc-lock.h
3268 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3269 (__libc_lock_init_recursive): Return void, not 0.
3270 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3271 (__libc_rwlock_init): Likewise.
3272 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3274 2014-10-20 Torvald Riegel <triegel@redhat.com>
3277 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3278 (__pthread_once_slow): ... here.
3279 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3280 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3282 2014-10-20 Torvald Riegel <triegel@redhat.com>
3285 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3286 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3287 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3288 * nptl/pthread_once.c (__pthread_once): Likewise.
3291 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3294 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3296 (writev): Use __libc_writev as strong name.
3297 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3298 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3300 2014-10-17 Roland McGrath <roland@hack.frob.com>
3302 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3304 * sysdeps/i386/nptl/tls.h
3305 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3306 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3308 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3309 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3310 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3311 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3312 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3313 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3315 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3316 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3318 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3320 (__pthread_mutex_init): ... here. Call it.
3321 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3322 Conditionalize PI cases on [__NR_futex].
3323 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3324 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3325 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3327 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3328 conditional on [SIGSETXID].
3329 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3330 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3331 is defined. Likewise for SIGSETXID.
3332 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3333 Conditionalize definitions on [SIGSETXID].
3334 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3335 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3336 unblocking on [SIGCANCEL].
3338 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3339 [__NR_set_robust_list].
3341 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3343 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3344 (do_compare): Likewise.
3346 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3349 * string/strcoll_l.c: Don't include stdio.h.
3350 (coll_seq): Remove members idxarr and rulearr.
3351 (get_next_seq_cached): Remove function.
3352 (get_next_seq): Likewise.
3353 (get_next_seq_nocache): Rename to get_next_seq.
3354 (do_compare): Remove function.
3355 (do_compare_nocache): Rename to do_compare.
3356 (STRCOLL): Remove weight and rules cache.
3358 2014-10-16 Roland McGrath <roland@hack.frob.com>
3360 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3361 * sysdeps/arm/sfp-machine.h: ... to here.
3362 * sysdeps/arm/Implies: Remove arm/soft-fp.
3364 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3366 * conform/data/sys/utsname.h-data (*_t): Allow.
3367 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3368 [POSIX] (WEXITED): Do not expect constant.
3369 [POSIX] (WSTOPPED): Likewise.
3370 [POSIX] (WNOHANG): Likewise.
3371 [POSIX] (WNOWAIT): Likewise.
3372 [POSIX] (siginfo_t): Do not expect type or elements.
3373 [POSIX] (pid_t): Do not expect type.
3374 [POSIX] (signal.h): Do not allow header.
3375 [POSIX] (sys/resource.h): Likewise.
3376 [POSIX] (si_*): Do not allow pattern.
3377 [POSIX] (W*): Likewise.
3378 [POSIX] (P_*): Likewise.
3379 [POSIX] (BUS_*): Likewise.
3380 [POSIX] (CLD_*): Likewise.
3381 [POSIX] (FPE_*): Likewise.
3382 [POSIX] (ILL_*): Likewise.
3383 [POSIX] (POLL_*): Likewise.
3384 [POSIX] (SEGV_*): Likewise.
3385 [POSIX] (SI_*): Likewise.
3386 [POSIX] (TRAP_*): Likewise.
3387 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3390 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3393 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3394 infinite loop when __recvmsg returns 0.
3396 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3398 * CANCEL-FCT-WAIVE: Remove file.
3399 * CANCEL-FILE-WAIVE: Likewise.
3402 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3403 instead of INTVARDEF.
3404 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3405 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3406 rtld_hidden_data_def instead of INTVARDEF.
3407 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3408 * elf/dl-deps.c (expand_dst): Likewise.
3409 * elf/dl-load.c (_dl_dst_count): Likewise.
3410 (_dl_dst_substitute): Likewise.
3411 (decompose_rpath): Likewise.
3412 (_dl_init_paths): Likewise.
3413 (open_path): Likewise.
3414 (_dl_map_object): Likewise.
3415 * elf/rtld.c (dl_main): Likewise.
3416 (process_dl_audit): Likewise.
3417 (process_envvars): Likewise.
3418 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3420 (__libc_enable_secure): Use rtld_hidden_proto.
3422 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3425 (add_path): New function broken out of _dl_rtld_di_serinfo.
3426 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3428 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3430 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3431 parentheses around macro arguments.
3432 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3435 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3436 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3437 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3439 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3440 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3441 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3443 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3444 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3445 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3446 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3447 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3448 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3449 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3450 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3451 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3452 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3453 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3454 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3457 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3458 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3459 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3461 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3462 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3463 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3464 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3465 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3466 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3467 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3469 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3470 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3471 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3472 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3473 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3474 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3475 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3476 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3477 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3478 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3479 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3480 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3481 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3482 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3483 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3484 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3485 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3486 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3487 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3488 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3489 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3490 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3491 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3492 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3493 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3494 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3495 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3496 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3497 (_FP_FRAC_SRS_1): Likewise.
3498 (_FP_FRAC_CLZ_1): Likewise.
3499 (_FP_MUL_MEAT_1_imm): Likewise.
3500 (_FP_MUL_MEAT_1_wide): Likewise.
3501 (_FP_MUL_MEAT_1_hard): Likewise.
3502 (_FP_SQRT_MEAT_1): Likewise.
3503 (_FP_FRAC_ASSEMBLE_1): Likewise.
3504 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3505 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3506 (__FP_CLZ_2): Likewise.
3507 (_FP_MUL_MEAT_2_wide): Likewise.
3508 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3509 (_FP_MUL_MEAT_2_gmp): Likewise.
3510 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3511 (_FP_SQRT_MEAT_2): Likewise.
3512 (_FP_FRAC_ASSEMBLE_2): Likewise.
3513 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3514 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3515 (_FP_FRAC_CLZ_4): Likewise.
3516 (_FP_MUL_MEAT_4_wide): Likewise.
3517 (_FP_MUL_MEAT_4_gmp): Likewise.
3518 (_FP_SQRT_MEAT_4): Likewise.
3519 (_FP_FRAC_ASSEMBLE_4): Likewise.
3520 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3521 * soft-fp/op-common.h (_FP_CMP): Likewise.
3522 (_FP_CMP_EQ): Likewise.
3523 (_FP_CMP_UNORD): Likewise.
3524 (_FP_TO_INT): Likewise.
3525 (_FP_FROM_INT): Likewise.
3526 [!__FP_CLZ] (__FP_CLZ): Likewise.
3527 (_FP_DIV_HELP_imm): Likewise.
3528 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3530 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3531 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3532 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3533 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3534 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3535 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3536 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3537 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3538 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3539 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3541 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3542 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3543 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3544 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3545 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3546 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3547 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3548 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3549 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3550 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3551 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3552 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3553 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3554 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3555 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3558 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3559 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3560 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3561 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3562 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3563 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3564 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3565 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3566 (FP_UNPACK_RAW_SP): Likewise.
3567 (FP_PACK_RAW_S): Likewise.
3568 (FP_PACK_RAW_SP): Likewise.
3569 (FP_UNPACK_S): Likewise.
3570 (FP_UNPACK_SP): Likewise.
3571 (FP_UNPACK_SEMIRAW_S): Likewise.
3572 (FP_UNPACK_SEMIRAW_SP): Likewise.
3573 (FP_PACK_S): Likewise.
3574 (FP_PACK_SP): Likewise.
3575 (FP_PACK_SEMIRAW_S): Likewise.
3576 (FP_PACK_SEMIRAW_SP): Likewise.
3577 (_FP_SQRT_MEAT_S): Likewise.
3578 (FP_CMP_S): Likewise.
3579 (FP_CMP_EQ_S): Likewise.
3580 (FP_CMP_UNORD_S): Likewise.
3581 (FP_TO_INT_S): Likewise.
3582 (FP_FROM_INT_S): Likewise.
3584 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3586 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3587 (FP_EX_INVALID_IMZ): Likewise.
3588 (FP_EX_INVALID_IMZ_FMA): Likewise.
3589 (FP_EX_INVALID_ISI): Likewise.
3590 (FP_EX_INVALID_ZDZ): Likewise.
3591 (FP_EX_INVALID_IDI): Likewise.
3592 (FP_EX_INVALID_SQRT): Likewise.
3593 (FP_EX_INVALID_CVI): Likewise.
3594 (FP_EX_INVALID_VC): Likewise.
3595 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3596 "invalid" exceptions.
3597 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3598 (_FP_ADD_INTERNAL): Likewise.
3599 (_FP_MUL): Likewise.
3600 (_FP_FMA): Likewise.
3601 (_FP_DIV): Likewise.
3602 (_FP_CMP_CHECK_NAN): Likewise.
3603 (_FP_SQRT): Likewise.
3604 (_FP_TO_INT): Likewise.
3605 (FP_EXTEND): Likewise.
3607 2014-10-09 Allan McRae <allan@archlinux.org>
3609 * po/fr.po: Update French translation from translation project.
3611 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3614 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3616 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3617 (__cxa_atexit): Use libc_hidden_proto.
3618 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3621 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3623 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3624 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3625 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3626 [!_ISOMAC] (__iswctype_internal): Likewise.
3627 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3628 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3630 (fcntl): Remove __fcntl_internal alias.
3631 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3632 __connect_internal alias.
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3636 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3637 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3639 (_FP_CHECK_FLUSH_ZERO): New macro.
3640 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3641 (_FP_CMP): Likewise.
3642 (_FP_CMP_EQ): Likewise.
3643 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3645 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3646 (FP_TRUNC): Likewise.
3648 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3649 treated as invalid conversion, not as normal exponent.
3651 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3652 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3653 (_FP_CMP_EQ): Likewise.
3654 (_FP_CMP_UNORD): Likewise.
3655 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3656 (FP_CMP_EQ_D): Likewise.
3657 (FP_CMP_UNORD_D): Likewise.
3658 * soft-fp/extended.h (FP_CMP_E): Likewise.
3659 (FP_CMP_EQ_E): Likewise.
3660 (FP_CMP_UNORD_E): Likewise.
3661 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3662 (FP_CMP_EQ_Q): Likewise.
3663 (FP_CMP_UNORD_Q): Likewise.
3664 * soft-fp/single.h (FP_CMP_S): Likewise.
3665 (FP_CMP_EQ_S): Likewise.
3666 (FP_CMP_UNORD_S): Likewise.
3667 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3668 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3669 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3670 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3671 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3672 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3673 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3674 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3675 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3676 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3677 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3678 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3679 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3681 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3683 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3684 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3686 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3688 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3689 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3690 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3691 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3693 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3695 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3696 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3698 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3700 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3701 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3702 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3703 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3706 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3707 a subnormal result, set the underflow exception if trapping on
3708 underflow is enabled.
3709 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3710 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3711 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3713 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3714 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3715 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3716 * soft-fp/extendxftf2.c (__extendxftf2): Use
3717 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3719 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3720 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3721 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3722 FP_HANDLE_EXCEPTIONS.
3723 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3724 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3725 FP_HANDLE_EXCEPTIONS.
3726 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3727 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3728 FP_HANDLE_EXCEPTIONS.
3729 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3730 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3731 FP_HANDLE_EXCEPTIONS.
3733 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3736 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3737 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3739 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3740 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3742 (__adjtimex): Define using libc_hidden_ver.
3743 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3745 (ntp_gettime): Call __adjtimex directly.
3746 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3748 (ntp_gettimex): Call __adjtimex directly.
3749 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3750 __adjtimex_internal alias.
3752 2014-10-08 Roland McGrath <roland@hack.frob.com>
3755 * nscd/nscd.c (more_help): Rewrite list of tables collection
3756 using xstrdup and asprintf.
3758 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3760 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3761 Roland McGrath <roland@hack.frob.com>
3763 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3764 (do_lookup_unique): ... local function 'enter' here; update callers.
3766 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3768 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3769 compat_symbol calls on [SHARED].
3770 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3771 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3773 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3774 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3775 (oldsetrlimit): Remove.
3776 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3778 (lchown): New syscall entry.
3779 (oldsetrlimit): Remove.
3780 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3782 (oldsetrlimit): Remove.
3783 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3786 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3787 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3788 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3789 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3790 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3791 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3793 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3798 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3801 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3802 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3803 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3804 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3806 (__old_sem_post): Likewise.
3808 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3810 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3811 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3812 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3813 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3814 Use INLINE_VSYSCALL macro.
3815 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3816 __vdso_clock_gettime.
3817 * sysdeps/unix/sysv/linux/tile/init-first.c
3818 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3819 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3820 __vdso_clock_gettime.
3822 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3823 to set up frame more cleanly.
3825 * sysdeps/tile/memcmp.c: New file.
3827 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3829 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3830 * sysdeps/tile/tilegx/strcasestr.c: New file.
3831 * sysdeps/tile/tilegx/strnlen.c: New file.
3832 * sysdeps/tile/tilegx/strstr.c: New file.
3834 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3836 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3838 * nptl/tst-setuid3.c: Write errors to stdout.
3840 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3843 (preload): New functions broken out of _dl_map_object_deps.
3844 (_dl_map_object_deps): Remove a nested function. Update call sites.
3846 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3849 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3850 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3852 2014-10-01 Steve Ellcey <sellcey@mips.com>
3854 * sysdeps/mips/strcmp.S: New.
3856 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3861 (mkdirat): Likewise.
3862 (readlinkat): Likewise.
3863 (renameat): Likewise.
3864 (symlinkat): Likewise.
3865 (unlinkat): Likewise.
3866 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3867 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3868 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3869 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3870 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3871 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3872 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3874 2014-09-30 Will Newton <will.newton@linaro.org>
3876 * math/math.h: Define long double math functions if
3877 _LIBC_TEST is defined.
3878 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3880 * localedata/Makefile: Move assignment to tests-special
3881 into an ifdef testing run-built-tests.
3882 * timezone/Makefile: Likewise.
3884 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3886 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3887 with $(BASH) not $(SHELL).
3889 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3890 Matthew LeGendre <legendre1@llnl.gov>
3893 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3896 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3898 * stdio-common/printf_fp.c
3899 (hack_digit): New function, broken out of ...
3900 (__printf_fp): ... local function here. Update call sites.
3901 hack_digit now takes an additional parameter that is a pointer
3902 to a struct of the referenced locals. Those locals moved inside
3903 the struct and references updated.
3905 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3907 * aclocal.m4: Require autoconf 2.69.
3908 * configure: Regenerated.
3909 * sysdeps/aarch64/configure: Likewise.
3910 * sysdeps/alpha/configure: Likewise.
3911 * sysdeps/arm/armv7/configure: Likewise.
3912 * sysdeps/arm/configure: Likewise.
3913 * sysdeps/ia64/configure: Likewise.
3914 * sysdeps/mach/configure: Likewise.
3915 * sysdeps/mips/configure: Likewise.
3916 * sysdeps/s390/configure: Likewise.
3917 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3920 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3922 * sysdeps/ia64/configure.ac: Likewise.
3924 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3927 specify symbol version for ld.so. Do not include entry for
3929 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3930 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3931 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3934 * Makeconfig [$(build-shared) = yes]
3935 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3937 [$(build-shared) = yes && $(soversions.mk-done) = t]
3938 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3939 [$(build-shared) = yes && $(soversions.mk-done) = t]
3940 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3942 [$(build-shared) = yes && $(soversions.mk-done) = t]
3943 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3945 [$(build-shared) = yes && $(soversions.mk-done) = t]
3946 (common-generated): Don't append gnu/lib-names.h and
3947 gnu/lib-names.stmp here.
3948 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3949 (lib-names-h-abi): New variable.
3950 [$(build-shared) = yes && $(soversions.mk-done) = t]
3951 (lib-names-stmp-abi): Likewise.
3952 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3953 abi-variants] (before-compile): Append
3954 $(common-objpfx)$(lib-names-h-abi).
3955 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3956 abi-variants] (common-generated): Append gnu/lib-names.h.
3957 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3958 abi-variants] (install-others-nosubdir): Depend on
3959 $(inst_includedir)/$(lib-names-h-abi).
3960 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3961 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3962 [$(build-shared) = yes && $(soversions.mk-done) = t]
3963 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3964 [$(build-shared) = yes && $(soversions.mk-done) = t]
3965 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3966 [$(build-shared) = yes && $(soversions.mk-done) = t]
3967 (common-generated): Append $(lib-names-h-abi) and
3968 $(lib-names-stmp-abi).
3969 * scripts/lib-names.awk: Do not handle multi being set.
3970 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3972 (abi-lp64_be-ld-soname): Likewise.
3973 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3975 (abi-hard-ld-soname): Likewise.
3976 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3977 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3979 (abi-o32_hard-ld-soname): Likewise.
3980 (abi-o32_soft_2008-ld-soname): Likewise.
3981 (abi-o32_hard_2008-ld-soname): Likewise.
3982 (abi-n32_soft-ld-soname): Likewise.
3983 (abi-n32_hard-ld-soname): Likewise.
3984 (abi-n32_soft_2008-ld-soname): Likewise.
3985 (abi-n32_hard_2008-ld-soname): Likewise.
3986 (abi-n64_soft-ld-soname): Likewise.
3987 (abi-n64_hard-ld-soname): Likewise.
3988 (abi-n64_soft_2008-ld-soname): Likewise.
3989 (abi-n64_hard_2008-ld-soname): Likewise.
3990 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3992 (abi-64-v2-ld-soname): Likewise.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3995 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3997 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3999 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4001 (abi-64-ld-soname): Likewise.
4002 (abi-x32-ld-soname): Likewise.
4003 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4005 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4007 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4010 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4011 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4012 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4014 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4015 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4016 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4017 syscall entry for GLIBC_2.2 symbol version.
4018 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4021 (setrlimit): Likewise.
4022 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4025 2014-09-23 Will Newton <will.newton@linaro.org>
4027 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4028 _LINUX_ARM_SYSDEP_H include guard too.
4029 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4032 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4034 * sysdeps/unix/sysv/linux/eventfd.c:
4035 Make first argument unsigned.
4036 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4039 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4041 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4042 * socket/sys/socket.h: Likewise
4043 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4045 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4047 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4049 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4051 * time/tst-ftime.c: New test.
4052 * time/Makefile (tests): Add tst-ftime.
4054 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4056 * soft-fp/extended.h: Fix comment formatting.
4057 * soft-fp/op-1.h: Likewise.
4058 * soft-fp/op-2.h: Likewise.
4059 * soft-fp/op-4.h: Likewise.
4060 * soft-fp/op-8.h: Likewise.
4061 * soft-fp/op-common.h: Likewise.
4062 * soft-fp/soft-fp.h: Likewise.
4064 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4066 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4069 * Makeconfig (soversions-default-setname): Remove variable.
4070 ($(common-objpfx)soversions.i): Don't pass default_setname to
4072 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4073 oldest_abi to abi-versions.awk.
4074 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4075 * config.make.in (oldest-abi): Remove variable.
4076 * configure.ac (--enable-oldest-abi): Remove configure option.
4077 * configure: Regenerated.
4078 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4080 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4081 * scripts/soversions.awk: Do not handle default_setname variable.
4082 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4084 * sysdeps/mach/hurd/configure: Regenerated.
4085 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4087 * sysdeps/unix/sysv/linux/configure: Regenerated.
4089 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4091 * elf/Makefile (CFLAGS-interp.c): Remove.
4092 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4094 * elf/interp.c: Include generated runtime-linker.h
4096 * Makerules (lib%.so): Don't include $(+interp) in
4098 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4099 * dlfcn/eval.c: Remove file.
4101 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4105 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4109 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4111 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4112 Jakub Jelinek <jakub@redhat.com>
4115 * libio/stdio.h: Check definition of __fortify_function
4116 instead of __extern_always_inline to include bits/stdio2.h.
4117 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4118 check if __extern_always_inline is defined.
4119 [__USE_MISC || __USE_XOPEN]: Likewise.
4120 [__USE_ISOC99] Likewise.
4121 * misc/sys/cdefs.h (__fortify_function): Define only if
4122 __extern_always_inline is defined.
4123 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4124 __extern_always_inline and __extern_inline only for g++-4.3
4125 and newer or a compatible gcc.
4127 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4130 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4131 last change to handle zero prefix length.
4133 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4135 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4138 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4141 2014-09-13 Allan McRae <allan@archlinux.org>
4143 * po/ru.po: Update Russian translation from translation project.
4145 2014-09-12 Roland McGrath <roland@hack.frob.com>
4147 * locale/programs/locale.c (show_locale_vars): Inline local function
4148 into its sole call site. Clean up some style nits.
4149 (print_item): New function, broken out of ...
4150 (show_info): ... local function here. Clean up style nits.
4152 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4154 (set_class_defaults): ... local function set_default here.
4155 Define set_default as a macro locally to pass constant parameters.
4156 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4157 rather than a shared local.
4159 * stdlib/rpmatch.c (try): New function, broken out of ...
4160 (rpmatch): ... local function here. Also, prototypify definition.
4162 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4164 * scripts/soversions.awk: Do not handle configuration names.
4165 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4166 vendor and os variables to soversions.awk.
4167 * configure.ac: Do not modify gnu-* host_os.
4168 * configure: Regenerated
4169 * shlib-versions: Remove first column with configuration names.
4170 * nptl/shlib-versions: Likewise.
4171 * nptl_db/shlib-versions: Likewise.
4172 * sysdeps/hppa/shlib-versions: Likewise.
4173 * sysdeps/m68k/shlib-versions: Likewise.
4174 * sysdeps/mach/hurd/shlib-versions: Likewise.
4175 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4176 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4177 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4178 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4179 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4180 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4181 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4182 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4185 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4186 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4187 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4190 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4191 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4192 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4195 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4198 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4200 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4202 * shlib-versions: Remove OS-specific entries. Moved to files in
4204 * sysdeps/mach/hurd/shlib-versions: New file.
4205 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4207 * nptl/shlib-versions: Remove architecture-specific entries.
4208 Moved to files in sysdeps.
4209 * shlib-versions: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4212 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4213 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4217 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4218 (UDP_NO_CHECK6_RX): Likewise.
4220 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4222 * sysdeps/posix/sysconf.c (__sysconf): Spell
4223 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4225 2014-08-12 Florian Weimer <fweimer@redhat.com>
4227 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4229 * iconv/Versions (__gconv_transliterate): Export for use from
4231 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4232 (struct __gconv_trans_data, __gconv_trans_fct,
4233 __gconv_trans_context_fct, __gconv_trans_query_fct,
4234 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4236 (struct __gconv_step_data): Remove __trans member.
4237 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4238 longer hidden. Remove unused trans_data argument.
4239 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4240 (__gconv_translit_find): Remove declaration.
4241 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4243 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4244 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4245 trans_data argument. Add hidden definition.
4246 (__gconv_translit_find): Remove.
4247 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4248 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4249 * iconv/skeleton.c: Remove transliteration initialization.
4250 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4251 __gconv_step_data initialization.
4252 * libio/iofwide.c (__libio_translit_): Remove.
4253 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4254 * wcsmbs/btowc.c (__btowc): Likewise.
4255 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4256 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4257 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4258 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4259 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4260 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4261 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4262 * wcsmbs/wctob.c (wctob): Likewise.
4264 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4267 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4268 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4270 * sysdeps/x86/Makefile: Adjust.
4272 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4273 Roland McGrath <roland@hack.frob.com>
4275 * locale/weight.h: Add include guard.
4276 (findidx): Make static rather than auto; take new parameters
4277 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4278 * locale/weightwc.h: Likewise.
4279 * posix/fnmatch_loop.c
4280 (FCT): Change type of EXTRA from int32_t to wint_t.
4281 Don't include either header inside the function.
4282 Call FINDIDX rather than findidx, and pass new arguments.
4283 #undef FINDIDX at the end of the file.
4284 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4285 FINDIDX before including fnmatch_loop.c for the non-wide version.
4286 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4287 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4288 for the wide version.
4289 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4290 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4291 Pass new arguments to findidx.
4292 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4293 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4294 Don't #include it inside the function. Pass new arguments to findidx.
4295 * posix/regex_internal.h
4296 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4297 (re_string_elem_size_at): Don't #include it inside the function.
4298 Pass new arguments to findidx.
4299 * string/strcoll_l.c: #include WEIGHT_H at top level.
4300 (get_next_seq): Don't #include it inside the function.
4301 Pass new arguments to findidx.
4302 (get_next_seq_nocache): Likewise.
4303 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4304 (STRXFRM): Don't #include it inside the function.
4305 Pass new arguments to findidx.
4307 2014-09-11 Florian Weimer <fweimer@redhat.com>
4310 * malloc/malloc.c (unlink): Turn asserts into a call to
4313 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4316 * libio/wfileops (do_ftell_wide): Free OUT.
4318 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4320 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4322 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4325 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4326 group if the current group is empty.
4328 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4330 * benchtests/bench-memset.c (test_main): Add more test from size
4331 from 32 to 512 bytes.
4332 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4333 Add POWER8 memset object.
4334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4335 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4336 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4338 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4340 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4341 multiarch POWER8 memset optimization.
4342 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4343 POWER8 memset optimization.
4345 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4346 Remove bzero multiarch objects.
4347 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4348 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4349 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4350 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4352 [__bzero]: Redefine to specific name.
4353 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4354 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4355 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4357 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4358 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4360 2014-09-10 Florian Weimer <fweimer@redhat.com>
4362 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4363 warnings into errors.
4365 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4366 __cxa_thread_atexit_impl prototype.
4368 2014-09-09 Steve Ellcey <sellcey@mips.com>
4370 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4371 Fix capitalization of error message.
4373 2014-09-09 Steve Ellcey <sellcey@mips.com>
4375 * sysdeps/mips/preconfigure: Modify ABI tests.
4377 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4379 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4381 2014-09-07 Roland McGrath <roland@hack.frob.com>
4382 Carlos O'Donell <carlos@systemhalted.org>
4384 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4385 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4386 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4387 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4388 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4389 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4390 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4391 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4392 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4393 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4394 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4395 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4396 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4397 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4398 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4399 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4400 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4401 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4402 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4403 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4404 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4405 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4406 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4407 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4408 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4409 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4410 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4411 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4412 Deconditionalize the code that was previously under [RESET_PID].
4413 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4414 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4415 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4416 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4419 2014-09-08 Allan McRae <allan@archlinux.org>
4421 * version.h (RELEASE): Set to "development".
4422 (VERSION): Set to "2.20.90"
4424 2014-09-07 Allan McRae <allan@archlinux.org
4426 * version.h (RELEASE): Set to "stable".
4427 (VERSION): Set to "2.20"
4428 * include/features.h (__GLIBC_MINOR__): Set to 20.
4430 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4433 * po/ko.po: Update Korean translation from translation project.
4435 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4438 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4439 macro for handling signed relocations.
4441 2014-09-03 Florian Weimer <fweimer@redhat.com>
4444 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4445 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4447 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4448 * iconvdata/ibm935.c (BODY): Likewise.
4449 * iconvdata/ibm937.c (BODY): Likewise.
4450 * iconvdata/ibm939.c (BODY): Likewise.
4451 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4453 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4455 * iconvdata/run-iconv-test.sh: New test loop for checking for
4458 2014-09-02 Khem Raj <raj.khem@gmail.com>
4460 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4463 2014-09-01 Allan McRae <allan@archlinux.org>
4465 * po/eo.po: Update Esperanto translation from translation project.
4467 * po/ca.po: Update Catalan translation from translation project.
4469 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4471 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4474 2014-08-27 Mark Wielaard <mjw@redhat.com>
4477 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4478 to call set_thread_area instead of hand written asm.
4479 (__NR_set_thread_area): Removed define.
4480 (TLS_FLAG_WRITABLE): Likewise.
4481 (__ASSUME_SET_THREAD_AREA): Remove check.
4482 (TLS_EBX_ARG): Remove define.
4483 (TLS_LOAD_EBX): Likewise.
4485 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4487 Simplify atomicity of socket creation in bind.
4489 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4490 looking up the name after linking the file.
4492 2014-08-27 Allan McRae <allan@archlinux.org>
4494 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4496 2014-08-26 Florian Weimer <fweimer@redhat.com>
4499 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4500 trans_compare, open_translit, __gconv_translit_find):
4501 Remove module loading code.
4503 2014-08-26 Allan McRae <allan@archlinux.org>
4505 * po/vi.po: Update Vietnamese translation from translation project.
4507 * po/uk.po: Update Ukrainian translation from translation project.
4509 * po/fr.po: Update French translation from translation project.
4511 * po/ru.po: Update Russian translation from translation project.
4513 * po/pl.po: Update Polish translation from translation project.
4515 * po/cs.po: Update Czech translation from translation project.
4517 * po/de.po: Update German translation from translation project.
4519 * po/bg.po: Update Bulgarian translation from translation project.
4521 * po/sv.po: Update Sweedish translation from translation project.
4523 * po/nl.po: Update Dutch translation from translation project.
4525 * po/es.po: Update Spanish translation from translation project.
4527 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4529 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4531 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4532 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4533 (CPPFLAGS-iconvconfig): Likewise.
4534 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4536 * include/libc-symbols.h: Remove unnecessary check for
4538 * nptl/pthreadP.h: Likewise.
4539 * sysdeps/aarch64/setjmp.S: Likewise.
4540 * sysdeps/alpha/setjmp.S: Likewise.
4541 * sysdeps/arm/sysdep.h: Likewise.
4542 * sysdeps/i386/setjmp.S: Likewise.
4543 * sysdeps/m68k/setjmp.c: Likewise.
4544 * sysdeps/posix/getcwd.c: Likewise.
4545 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4546 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4547 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4548 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4549 * sysdeps/sh/sh3/setjmp.S: Likewise.
4550 * sysdeps/sh/sh4/setjmp.S: Likewise.
4551 * sysdeps/unix/alpha/sysdep.h: Likewise.
4552 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4553 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4554 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4555 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4559 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4560 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4563 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4565 * sysdeps/x86_64/setjmp.S: Likewise.
4567 2014-08-13 Joseph Myers <joseph@codesourcery.com>
4570 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4572 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4573 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4575 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4577 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4580 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4581 and __x86_64__ when disabling x87 inline functions.
4583 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4586 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4587 asm statement with __cpuid_count.
4589 2014-08-12 Mike Frysinger <vapier@gentoo.org>
4591 * configure.ac: Change __ehdr_start code to dereference the struct.
4592 Run readelf on the output to look for relocations.
4593 * configure: Regenerated.
4595 2014-08-12 Joseph Myers <joseph@codesourcery.com>
4598 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4600 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4602 2014-08-12 Roland McGrath <roland@hack.frob.com>
4604 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4606 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4609 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4610 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4612 2014-08-12 Sean Anderson <seanga2@gmail.com>
4614 * malloc/malloc.c: Fix typo in comment.
4616 2014-08-09 Allan McRae <allan@archlinux.org>
4618 * Regenerate libc.po.
4620 2014-08-08 Mike Frysinger <vapier@gentoo.org>
4622 * intl/tst-gettext2.sh: Check every lang file for creation.
4624 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4626 * sysdeps/aarch64/fpu/math_private.h
4627 (libc_feholdsetround_noex_aarch64_ctx): New function.
4629 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4631 * sysdeps/arm/armv6/strcpy.S (strcpy):
4632 Fix performance issue in misaligned cases.
4634 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4636 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4637 Move definition from termios.h.
4638 (struct termio): Likewise.
4639 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4640 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4641 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4642 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4644 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4645 Move definition to ioctl-types.h
4646 (struct termio): Likewise.
4647 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4648 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4649 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4650 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4653 2014-08-05 Richard Henderson <rth@redhat.com>
4655 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4657 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4659 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4660 Use __feraiseexcept.
4661 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4662 Protect libm symbols with IS_IN_libm.
4664 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4666 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4668 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4670 2014-08-04 Will Newton <will.newton@linaro.org>
4672 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4675 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4677 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4678 variants for each function.
4680 2014-08-04 Roland McGrath <roland@hack.frob.com>
4682 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4684 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4685 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4687 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4688 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4689 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4690 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4691 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4692 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4693 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4694 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4695 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4696 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4701 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4702 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4703 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4707 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4710 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4711 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4712 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4713 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4714 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4715 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4716 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4717 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4718 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4719 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4721 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4723 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4724 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4725 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4726 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4727 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4728 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4729 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4730 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4731 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4732 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4733 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4735 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4737 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4738 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4739 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4741 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4742 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4744 2014-08-04 Roland McGrath <roland@hack.frob.com>
4746 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4747 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4748 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4749 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4750 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4751 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4753 2014-08-04 Roland McGrath <roland@hack.frob.com>
4755 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4756 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4757 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4758 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4760 2014-08-04 Roland McGrath <roland@hack.frob.com>
4762 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4763 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4764 (__libc_vfork): Define function under this name.
4765 (__vfork): Define as an alias.
4766 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4767 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4769 2014-08-04 Roland McGrath <roland@hack.frob.com>
4771 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4772 that was previously under [RESET_PID].
4773 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4775 2014-08-04 Andreas Schwab <schwab@suse.de>
4777 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4779 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4781 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4784 2014-08-01 Roland McGrath <roland@hack.frob.com>
4786 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4788 2014-08-01 Richard Henderon <rth@redhat.com>
4790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4791 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4792 typo in exact zero test.
4793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4794 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4797 2014-08-01 Roland McGrath <roland@hack.frob.com>
4799 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4800 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4801 * sysdeps/arm/sysdep.h: ... here.
4802 [!__ASSEMBLER__]: Include <stdint.h>.
4804 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4806 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4807 (HAVE_WCTYPE_H): Likewise.
4808 (HAVE_ISWCTYPE): Likewise.
4809 (ENABLE_NLS): Likewise.
4810 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4811 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4813 * posix/regex_internal.c: Check if DEBUG is defined and is
4816 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4817 (HAVE_MBSRTOWCS): Likewise.
4818 * posix/fnmatch.c: Include string.h unconditionally.
4820 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4822 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4825 2014-07-31 Roland McGrath <roland@hack.frob.com>
4827 * sysdeps/generic/safe-fatal.h: New file.
4828 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4829 * nptl/forward.c: Include it.
4830 (__pthread_unwind): Use __safe_fatal as default action, rather
4831 than a bogus use of INTERNAL_SYSCALL that could never work.
4833 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4834 * configure.ac (libc_cv_builtin_trap): New test.
4835 * configure: Regenerated.
4836 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4837 (ABORT_INSTRUCTION): Define using __builtin_trap.
4839 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4840 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4841 * sysdeps/nptl/nptl-signals.h: New file.
4842 * nptl/pthreadP.h: Include <nptl-signals.h>.
4844 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4846 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4847 (ONE_DIRECTION): Define.
4848 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4849 (ONE_DIRECTION): Define.
4850 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4851 (ONE_DIRECTION): Define.
4853 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4855 * sysdeps/s390/Makefile: Delete file.
4856 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4857 * sysdeps/s390/__longjmp.c: Delete file.
4858 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4859 Remove fields __flags and __reserved.
4860 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4862 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4863 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4864 * sysdeps/s390/rtld-setjmp.S: Likewise.
4865 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4866 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4867 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4868 * sysdeps/s390/s390-32/setjmp.S: ... here.
4870 (__sigsetjmp): Remove setting __flags field.
4871 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4872 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4873 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4874 * sysdeps/s390/s390-64/setjmp.S: ... here.
4876 (__sigsetjmp): Remove setting __flags field.
4877 * sysdeps/s390/setjmp.S: Delete file.
4878 * sysdeps/s390/sigjmp.c: Likewise.
4879 * sysdeps/s390/v1-longjmp.c: Likewise.
4880 * sysdeps/s390/v1-setjmp.h: Likewise.
4881 * sysdeps/s390/v1-sigjmp.c: Likewise.
4882 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4883 Remove v1-longjmp_chk.
4884 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4885 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4886 Include debug/longjmp_chk.c and add versioning.
4887 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4888 Include nptl/pt-longjmp.c and add versioning.
4889 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4890 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4891 Include __longjmp.c.
4892 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4894 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4895 (__getcontext): Remove setting __flags field.
4897 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4898 Don't restore upper high grps.
4899 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4901 (__swapcontext): Remove setting uc_flags field.
4902 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4904 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4905 Include __longjmp.c.
4906 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4908 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4909 (__getcontext): Remove setting __flags field.
4911 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4912 (__swapcontext): Remove setting uc_flags field.
4913 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4914 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4915 Remove fields uc_high_gprs and __reserved.
4916 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4917 New file with reverted content.
4918 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4921 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4924 2014-07-31 Andreas Schwab <schwab@suse.de>
4926 * config.h.in (HAVE_IFUNC): Define to 0.
4927 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4930 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4933 memmove-avx-unaligned, memcpy-avx-unaligned and
4934 mempcpy-avx-unaligned.
4935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4936 Add tests for AVX memcpy functions.
4937 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4938 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4940 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4941 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4943 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4944 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4946 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4947 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4948 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4950 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4953 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4956 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4959 * manual/llio.texi: Add section about open file description locks.
4960 * manual/examples/ofdlocks.c: Example of open file description
4962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4963 F_OFD_SETLK, and F_OFD_SETLKW.
4965 2014-07-23 Allan McRae <allan@archlinux.org>
4967 * po/es.po: Update Spanish translation from translation project.
4969 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4971 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4973 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4976 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4977 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4978 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4980 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4983 * math/fesetenv.c (__fesetenv)
4984 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4985 * math/feupdateenv.c (__feupdateenv)
4986 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4988 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4989 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4990 (__ASSUME_SOCKETCALL): Do not define.
4992 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4993 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4994 (__ASSUME_SOCKETCALL): Do not define.
4995 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4996 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4997 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4998 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4999 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5000 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5001 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5002 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5004 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5005 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5006 (__ASSUME_SOCKETCALL): Do not define.
5007 (__ASSUME_IPC64): Define unconditionally.
5008 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5009 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5010 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5011 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5012 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5013 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5014 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5017 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5018 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5019 (__ASSUME_SOCKETCALL): Do not define.
5020 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5021 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5022 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5023 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5024 (__ASSUME_REQUEUE_PI): Define unconditionally.
5025 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5026 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5027 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5028 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5029 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5030 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5032 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5033 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5034 (__ASSUME_SOCKETCALL): Do not define.
5035 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5036 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5037 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5038 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5039 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5040 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5042 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5043 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5044 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5045 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5046 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5047 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5048 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5049 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5050 (__ASSUME_GETCPU_SYSCALL): Likewise.
5052 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5053 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5054 cases for individual architectures.
5055 * sysdeps/gnu/configure: Regenerated.
5056 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5057 LIBC_SLIBDIR_RTLDDIR.
5058 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5059 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5060 LIBC_SLIBDIR_RTLDDIR.
5061 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5063 LIBC_SLIBDIR_RTLDDIR.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5066 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5067 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5069 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5070 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5072 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5073 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5074 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5075 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5077 * sysdeps/aarch64/shlib-versions: Move to ...
5078 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5079 * sysdeps/alpha/shlib-versions: Move to ...
5080 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5081 * sysdeps/arm/shlib-versions: Move to ...
5082 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5083 * sysdeps/hppa/shlib-versions: Move all contents except for
5084 libgcc_s entry to ...
5085 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5087 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5088 * sysdeps/ia64/shlib-versions: Move to ...
5089 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5091 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5092 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5093 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5094 * sysdeps/microblaze/shlib-versions: Move to ...
5095 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5096 * sysdeps/mips/shlib-versions: Move to ...
5097 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5099 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5100 * sysdeps/tile/shlib-versions: Move to ...
5101 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5102 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5104 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5105 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5107 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5109 2014-07-17 Will Newton <will.newton@linaro.org>
5111 * sysdeps/arm/bits/atomic.h
5112 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5113 (__arch_compare_and_exchange_bool_16_int): Likewise.
5114 (__arch_compare_and_exchange_bool_64_int): Likewise.
5116 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5117 into an #else block.
5119 2014-07-16 Roland McGrath <roland@hack.frob.com>
5121 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5122 just Linux configurations. Test empirically that the compiler sets
5123 __ARM_EABI__, rather than using the tuple to decide.
5124 * sysdeps/arm/preconfigure: Regenerated.
5125 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5126 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5127 contents appended ...
5128 * sysdeps/arm/configure.ac: ... here.
5129 * sysdeps/arm/configure: Regenerated.
5131 2014-07-15 Roland McGrath <roland@hack.frob.com>
5133 * nptl/pthread_kill.c: New file.
5134 * nptl/pthread_sigmask.c: New file.
5135 * nptl/pthread_sigqueue.c: New file.
5137 * sysdeps/nptl/lowlevellock.h: New file.
5138 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5139 * sysdeps/nptl/lowlevellock-futex.h: New file.
5141 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5142 Remove dead declarations.
5144 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5146 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5147 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5149 * sysdeps/x86_64/configure.ac: Likewise.
5150 * sysdeps/i386/configure: Regenerated.
5151 * sysdeps/x86_64/configure: Likewise.
5152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5153 memset-avx2 only if config-cflags-avx2 is yes.
5154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5155 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5157 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5158 only if HAVE_AVX2_SUPPORT is defined.
5159 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5161 2014-07-14 Alan Modra <amodra@gmail.com>
5164 * elf/elf.h (DT_PPC64_NUM): Correct value.
5165 * NEWS: Add to fixed bug list.
5167 2014-07-13 Jim Meyering <meyering@fb.com>
5170 regex: don't deref NULL upon heap allocation failure
5171 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5172 failure in one more place.
5173 To trigger the segfault, configure grep -with-included-regex,
5174 build it, and run these commands:
5175 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5177 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5179 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5181 2014-07-11 Richard Henderson <rth@redhat.com>
5183 * sysdeps/aarch64/libm-test-ulps: Update.
5185 2014-07-10 Florian Weimer <fweimer@redhat.com>
5188 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5189 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5190 (__nptl_setxid): Initialize error member. Call
5191 __nptl_setxid_error.
5192 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5193 * nptl/descr.h (struct xid_command): Add error member.
5194 * nptl/tst-setuid3.c: New file.
5195 * nptl/Makefile (tests): Add it.
5197 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5201 (__lll_trylock): Use __lll_base_trylock.
5202 (__lll_cond_trylock): Likewise.
5204 2014-07-10 Roland McGrath <roland@hack.frob.com>
5206 * nptl/pthread_create.c (start_thread): Use atomic_or and
5207 lll_futex_wake directly rather than lll_robust_dead.
5208 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5209 (lll_robust_dead): Macro removed.
5210 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5211 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5212 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5213 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5214 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5215 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5216 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5217 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5218 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5219 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5220 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5221 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5222 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5223 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5224 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5226 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5227 Use atomic_compare_and_exchange_val_acq directly rather than
5229 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5230 (__lll_robust_trylock, lll_robust_trylock): Removed.
5231 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5232 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5233 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5235 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5236 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5237 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5238 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5239 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5240 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5241 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5242 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5243 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5244 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5246 2014-07-02 Florian Weimer <fweimer@redhat.com>
5248 * manual/locale.texi (Locale Names): New section documenting
5249 locale name syntax. Adjust menu and node chaining accordingly.
5250 (Choosing Locale): Reference Locale Names, Locale Categories.
5251 Mention setting LC_ALL=C. Reflect that name syntax is now
5253 (Locale Categories): New section title. Reference Locale Names.
5254 LC_ALL is an environment variable, but not a category.
5255 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5256 description, now in Locale Name. Reference that section. Locale
5257 name syntax is now documented.
5259 2014-07-02 Florian Weimer <fweimer@redhat.com>
5262 * locale/findlocale.c (name_present, valid_locale_name): New
5264 (_nl_find_locale): Use the loc_name variable to store name
5265 candidates. Call name_present and valid_locale_name to check and
5266 validate locale names. Return an error if the locale is invalid.
5268 2014-07-02 Florian Weimer <fweimer@redhat.com>
5270 * locale/setlocale.c (setlocale): Use strdup for allocating
5271 composite name copy.
5273 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5275 Sync up with gnulib.
5276 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5277 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5278 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5279 and _GL_ARG_NONNULL.
5280 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5281 [!_LIBC]: Include code for Windows and Cygwin.
5282 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5283 Include prototype for int strerror_r.
5284 [!_LIBC] (is_open): New function.
5285 (flush_stdout): New function.
5286 (print_errno_message): Use it.
5288 (error_at_line): Likewise.
5289 (error_tail) Add function attribute macros. Use
5292 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5294 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5296 * io/ftw.c: Include sys/param.h unconditionally.
5298 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5301 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5303 (freecache): New function to free CACHE on exit.
5305 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5308 2014-07-09 David S. Miller <davem@davemloft.net>
5310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5312 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5313 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5314 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5315 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5316 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5317 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5318 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5319 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5320 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5321 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5322 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5323 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5324 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5326 2014-07-09 Andreas Schwab <schwab@suse.de>
5328 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5330 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5331 (do_test): Likewise.
5333 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5335 2014-07-09 Will Newton <will.newton@linaro.org>
5337 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5338 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5339 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5340 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5341 * sysdeps/hppa/start.S (_start): Likewise.
5343 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5345 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5347 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5350 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5352 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5353 after checking that it is non-NULL.
5355 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5357 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5359 * sysdeps/powerpc/memmove.c: Remove file.
5360 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5361 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5362 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5363 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5364 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5365 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5366 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5367 string memmove instead of removed powerpc one.
5369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5370 [weak_alias]: Fix compiler warning due trailing data.
5371 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5372 [weak_alias]: Likewise.
5373 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5374 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5377 (__libc_ifunc_impl_list): Add memmove functions.
5379 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5381 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5383 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5385 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5387 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5389 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5391 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5393 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5395 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5397 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5399 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5401 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5403 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5405 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5407 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5409 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5411 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5413 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5416 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5418 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5419 to avoid alignment traps in non-cacheable memory.
5420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5424 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5425 file: multiarch power7 memmove.
5426 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5427 multiarch default memmove.
5428 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5429 multiarch memove for powerpc32/power4.
5431 * string/bcopy.c: Use full path to include memmove.c.
5432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5434 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5435 bcopy for powerpc64.
5436 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5437 bcopy for powerpc64.
5438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5439 and memmove implementations.
5440 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5441 optimized multiarch memmove for POWER7/powerpc64.
5442 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5443 default multiarch memmove for powerpc64.
5444 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5445 multiarch for powerpc64.
5446 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5447 for POWER7/powerpc64.
5448 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5449 memmove for POWER7/powerpc64.
5451 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5454 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5455 __ELF_NATIVE_CLASS equal to 64.
5457 2014-07-07 Roland McGrath <roland@hack.frob.com>
5459 * sysdeps/nptl/lowlevellock.h: File removed.
5461 * NEWS: NPTL is no longer an add-on!
5462 * nptl/internaltypes.h: Moved ...
5463 * sysdeps/nptl/internaltypes.h: ... here.
5464 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5465 * sysdeps/nptl/fork.c: Likewise.
5466 * sysdeps/nptl/gai_misc.h: Likewise.
5467 * sysdeps/nptl/librt-cancellation.c: Likewise.
5468 * sysdeps/nptl/jmp-unwind.c: Likewise.
5469 * sysdeps/nptl/setxid.h: Likewise.
5470 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5471 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5472 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5473 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5474 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5475 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5476 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5477 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5478 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5479 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5480 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5481 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5482 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5483 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5484 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5485 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5486 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5487 * nptl/Makeconfig: Moved ...
5488 * sysdeps/nptl/Makeconfig: ... here.
5489 * nptl/configure: File removed.
5490 * nptl/ANNOUNCE: File removed.
5491 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5492 * sysdeps/unix/sysv/linux/configure: Regenerated.
5494 * nptl/Makefile (routines): Add libc_pthread_init,
5495 libc_multiple_threads, register-atfork and unregister-atfork.
5496 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5497 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5498 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5499 pthread-pi-defines.sym, structsem.sym.
5500 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5501 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5502 [$(subdir) = nptl] (tests): Add tst-setgetname.
5503 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5504 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5505 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5506 [!LIBC_SIGACTION]: Remove aliases.
5507 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5508 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5509 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5510 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5511 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5513 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5514 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5515 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5516 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5517 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5518 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5519 __libc_allocate_rtsig_private.
5520 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5521 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5522 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5523 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5524 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5525 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5526 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5527 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5528 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5529 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5530 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5531 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5532 * nptl/internaltypes.h: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5534 * sysdeps/nptl/jmp-unwind.c: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5536 * nptl/libc-lowlevellock.c: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5538 * nptl/libc_multiple_threads.c: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5540 * nptl/libc_pthread_init.c: ... here.
5541 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5542 * nptl/lowlevelbarrier.sym: ... here.
5543 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5544 * nptl/lowlevelcond.sym: ... here.
5545 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5546 * nptl/lowlevellock.c: ... here.
5547 * nptl/lowlevellock.h: Moved ...
5548 * sysdeps/nptl/lowlevellock.h: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5550 * nptl/lowlevelrobustlock.c: ... here.
5551 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5552 * nptl/lowlevelrobustlock.sym: ... here.
5553 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5554 * nptl/lowlevelrwlock.sym: ... here.
5555 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5556 * nptl/pt-fork.c: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5558 * nptl/pthread-pi-defines.sym: ... here.
5559 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5560 * nptl/pthread_attr_getaffinity.c: ... here.
5561 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5562 * nptl/pthread_attr_setaffinity.c: ... here.
5563 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5564 * nptl/pthread_mutex_cond_lock.c: ... here.
5565 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5567 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5568 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5569 * nptl/pthread_once.c: ... here, replacing old file.
5570 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5571 * nptl/pthread_yield.c: ... here.
5572 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5573 * nptl/register-atfork.c: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5575 * nptl/sem_post.c: ... here.
5576 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5577 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5578 * nptl/sem_timedwait.c: ... here.
5579 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5580 * nptl/sem_trywait.c: ... here.
5581 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5582 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5583 * nptl/sem_wait.c: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5585 * nptl/structsem.sym: ... here.
5586 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5587 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5588 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5589 * nptl/unregister-atfork.c: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5591 * nptl/unwindbuf.sym: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5593 * sysdeps/nptl/fork.c: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5595 * sysdeps/nptl/fork.h: ... here.
5596 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5597 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5598 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5599 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5600 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5601 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5602 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5603 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5604 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5606 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5608 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5610 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5611 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5612 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5613 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5614 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5615 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5616 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5617 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5618 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5619 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5620 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5621 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5622 * sysdeps/unix/sysv/linux/raise.c: ... here.
5623 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5624 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5625 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5626 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5627 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5628 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5629 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5630 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5631 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5632 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5633 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5634 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5636 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5637 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5639 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5641 * sysdeps/generic/memcopy.h: Add comment for
5642 MEMCPY_OK_FOR_FWD_MEMMOVE.
5644 2014-07-04 Will Newton <will.newton@linaro.org>
5646 * string/memchr.c: Merge from gnulib.
5647 [_LIBC]: Remove conditionals.
5648 (__ptr_t): Remove define.
5649 (LONG_MAX_32_BITS): Likewise.
5650 (LONG_MAX): Likewise.
5651 (MEMCHR): Use ANSI prototype and optimize algorithm.
5653 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5655 2014-07-03 Roland McGrath <roland@hack.frob.com>
5657 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5658 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5660 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5661 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5662 in a bare environment with no <stdlib.h> installed.
5663 * sysdeps/nptl/configure: Regenerated.
5665 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5667 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5668 AC_EGREP_CPP for kernel header checks, so they only succeed if
5669 including <linux/version.h> actually works right.
5670 * sysdeps/unix/sysv/linux/configure: Regenerated.
5672 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5673 value so it's not diagnosed as unused.
5675 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5676 thing) with "ifeq ($(subdir),rt)".
5678 2014-07-03 Richard Henderson <rth@redhat.com>
5680 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5681 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5682 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5684 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5685 (math_force_eval): New.
5687 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5688 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5690 * sysdeps/alpha/fpu/s_round.c: Remove file.
5691 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5693 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5694 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5695 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5696 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5697 (_dl_start, print_statistics): Likewise.
5698 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5699 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5701 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5702 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5703 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5704 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5706 (HP_SMALL_TIMING_AVAIL): Define.
5707 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5708 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5709 (HP_SMALL_TIMING_AVAIL): Define.
5710 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5711 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5713 * sysdeps/aarch64/hp-timing.h: New file.
5715 * sysdeps/generic/hp-timing.h: Remove dead comment.
5716 * sysdeps/generic/hp-timing-common.h: New file.
5717 * sysdeps/alpha/hp-timing.h: Include it.
5718 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5719 * sysdeps/i386/i686/hp-timing.h: Likewise.
5720 * sysdeps/ia64/hp-timing.h: Likewise.
5721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5722 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5723 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5724 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5725 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5726 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5729 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5730 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5731 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5732 * elf/rtld.c (_dl_start_final): Likewise.
5733 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5734 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5735 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5736 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5737 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5738 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5739 (HP_TIMING_DIFF_INIT): Remove.
5740 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5741 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5742 (HP_TIMING_DIFF_INIT): Remove.
5743 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5744 * sysdeps/i386/i686/hp-timing.c: Remove file.
5745 * sysdeps/x86_64/hp-timing.c: Remove file.
5746 * sysdeps/ia64/hp-timing.c: Remove file.
5747 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5748 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5749 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5750 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5752 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5753 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5754 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5755 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5756 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5757 (HP_TIMING_ACCUM): Remove.
5758 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5759 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5760 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5762 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5763 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5764 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5765 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5767 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5768 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5769 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5771 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5773 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5775 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5777 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5779 Sync up with gettext.
5780 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5781 [_MSC_VER]: Include malloc.h
5782 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5783 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5784 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5785 TEMP_FAILURE_RETRY. Cast return of alloca.
5786 [!_LIBC] Call gl_rwlock_init.
5787 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5789 2014-07-02 Roland McGrath <roland@hack.frob.com>
5791 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5792 before checking its value.
5794 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5796 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5798 * debug/memcpy_chk.c: Don't include pagecopy.h.
5799 * debug/mempcpy_chk.c: Likewise.
5800 * string/memcpy.c: Likewise.
5801 * string/memmove.c: Likewise.
5802 * sysdeps/powerpc/memmove.c: Likewise.
5803 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5804 definition of PAGE_COPY_FWD_MAYBE here...
5805 * sysdeps/generic/pagecopy.h: ... from here.
5806 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5808 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5809 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5811 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5815 (__libc_ifunc_impl_list): Likewise.
5816 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5817 multiarch strcat for PPC64.
5818 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5819 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5821 2014-07-02 Roland McGrath <roland@hack.frob.com>
5823 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5825 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5827 * intl/loadmsgcat.c: Remove declaration of
5828 get_sysdep_segment_value.
5829 (get_sysdep_segment_value): Use ISO C style.
5830 (_nl_load_domain): Use ISO C style. Get rid of redundant
5831 semicolon. Fix typo and formatting in comment.
5832 (_nl_unload_domain): Use ISO C style.
5834 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5836 2014-07-02 Will Newton <will.newton@linaro.org>
5838 * malloc/obstack.c: Merge from gnulib master.
5839 [HAVE_CONFIG_H]: Remove conditional code.
5840 [!_LIBC]: Include config.h.
5841 [!ELIDE_CODE]: Don't include inttypes.h, include
5842 stdint.h unconditionally.
5843 (print_and_abort): Mark as _Noreturn.
5844 (_obstack_allocated_p): Mark as __attribute_pure__.
5845 (obstack_free): Rename to __obstack_free.
5846 [!__attribute__]: Remove conditional code.
5847 * malloc/obstack.h: Merge from gnulib master.
5848 [__cplusplus]: Move conditional down.
5849 [!__attribute_pure__]: Define __attribute_pure__ here
5850 if it is not already defined.
5851 (_obstack_memory_used): Mark as __attribute_pure__.
5852 [!__obstack_free]: Define as obstack_free.
5853 [__GNUC__]: Remove check for ancient NeXT gcc.
5855 2014-07-02 Will Newton <will.newton@linaro.org>
5856 Paul Eggert <eggert@cs.ucla.edu>
5858 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5860 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5862 * resolv/gethnamaddr.c: Add comment warning that the file is
5865 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5867 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5870 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5871 entry for aio_cancel and aio_cancel64.
5872 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5873 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5874 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5875 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5876 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5877 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5878 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5879 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5880 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5881 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5882 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5883 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5884 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5886 2014-07-01 Roland McGrath <roland@hack.frob.com>
5888 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5889 * nptl/pthread_mutex_lock.c: Likewise.
5890 * nptl/pthread_mutex_timedlock.c: Likewise.
5891 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5893 2014-07-01 Richard henderson <rth@redhat.com>
5895 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5896 (__isnan, __isnanl): Remove.
5897 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5899 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5901 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5903 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5905 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5907 * resolv/nss_dns/dns-host.c (getanswer_r)
5908 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5910 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5912 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5913 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5915 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5916 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5918 2014-07-01 Roland McGrath <roland@hack.frob.com>
5920 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5921 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5923 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5924 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5926 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5927 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5929 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5930 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5932 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5933 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5934 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5935 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5937 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5938 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5939 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5940 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5943 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5945 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5948 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5949 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5952 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5953 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5954 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5955 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5956 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5957 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5958 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5959 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5960 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5961 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5962 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5963 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5964 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5966 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5967 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5968 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5969 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5970 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5971 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5972 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5973 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5975 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5977 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5978 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5979 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5982 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5986 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5988 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5989 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5991 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5993 * sysdeps/arm/libm-test-ulps: Regenerated.
5995 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5996 Roland McGrath <roland@hack.frob.com>
5998 * test-skeleton.c (signal_handler): Kill the whole process group
5999 before killing the child individually.
6000 (main): Report any failure on `setpgid'.
6002 2014-06-30 Roland McGrath <roland@hack.frob.com>
6004 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6005 from _TLS_H to _ARM_NPTL_TLS_H.
6006 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6007 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6009 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6012 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6013 (__expm1l): Return argument unchanged when small but not
6016 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6018 (_FP_UNPACK_RAW_1_P): Likewise.
6019 (_FP_PACK_RAW_1): Likewise.
6020 (_FP_PACK_RAW_1_P): Likewise.
6021 (_FP_MUL_MEAT_1_wide): Likewise.
6022 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6023 (_FP_MUL_MEAT_1_hard): Likewise.
6024 (_FP_DIV_MEAT_1_imm): Likewise.
6025 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6026 (_FP_DIV_MEAT_1_udiv): Likewise.
6027 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6028 (_FP_UNPACK_RAW_2): Likewise.
6029 (_FP_UNPACK_RAW_2_P): Likewise.
6030 (_FP_PACK_RAW_2): Likewise.
6031 (_FP_PACK_RAW_2_P): Likewise.
6032 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6033 (_FP_MUL_MEAT_2_wide): Likewise.
6034 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6035 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6036 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6037 (_FP_MUL_MEAT_2_gmp): Likewise.
6038 (_FP_DIV_MEAT_2_udiv): Likewise.
6039 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6040 (_FP_FRAC_SRL_4): Likewise.
6041 (_FP_FRAC_SRST_4): Likewise.
6042 (_FP_FRAC_SRS_4): Likewise.
6043 (_FP_UNPACK_RAW_4): Likewise.
6044 (_FP_UNPACK_RAW_4_P): Likewise.
6045 (_FP_PACK_RAW_4): Likewise.
6046 (_FP_PACK_RAW_4_P): Likewise.
6047 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6048 (_FP_MUL_MEAT_4_wide): Likewise.
6049 (_FP_MUL_MEAT_4_gmp): Likewise.
6050 (umul_ppppmnnn): Likewise.
6051 (_FP_DIV_MEAT_4_udiv): Likewise.
6052 (__FP_FRAC_ADD_4): Likewise.
6053 (__FP_FRAC_SUB_3): Likewise.
6054 (__FP_FRAC_SUB_4): Likewise.
6055 (__FP_FRAC_DEC_3): Likewise.
6056 (__FP_FRAC_DEC_4): Likewise.
6057 (__FP_FRAC_ADDI_4): Likewise.
6058 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6059 (_FP_FRAC_SRL_8): Likewise.
6060 (_FP_FRAC_SRS_8): Likewise.
6062 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6064 (FP_UNPACK_RAW_EP): Likewise.
6065 (FP_PACK_RAW_E): Likewise.
6066 (FP_PACK_RAW_EP): Likewise.
6067 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6068 (_FP_ISSIGNAN): Likewise.
6069 (_FP_ADD_INTERNAL): Likewise.
6070 (_FP_FMA): Likewise.
6071 (_FP_CMP): Likewise.
6072 (_FP_SQRT): Likewise.
6073 (_FP_TO_INT): Likewise.
6074 (_FP_FROM_INT): Likewise.
6075 (FP_EXTEND): Likewise.
6076 (_FP_DIV_MEAT_N_loop): Likewise.
6078 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6080 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6083 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6086 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6087 result with correct sign in case of exponents that produce
6088 overflow except for X very close to 1.
6090 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6092 mktime: merge #if/#ifdef usage from glibc
6093 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6094 as that works with both Glibc's and Gnulib's style.
6095 See thread starting at Siddhesh Poyarekar's bug report at:
6096 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6098 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6100 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6101 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6102 * sysdeps/tile/tilegx/memmove.c: Remove file.
6104 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6106 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6107 abi-name definition.
6108 * scripts/soversions.awk: Do not handle or generate ABI lines.
6109 * shlib-versions: Remove ABI entries.
6110 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6111 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6113 2014-06-27 Roland McGrath <roland@hack.frob.com>
6115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6116 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6117 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6118 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6120 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6123 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6125 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6126 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6128 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6129 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6130 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6132 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6134 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6136 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6139 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6140 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6141 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6143 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6146 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6149 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6150 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6151 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6154 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6155 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6156 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6158 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6160 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6161 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6163 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6165 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6166 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6168 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6171 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6172 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6173 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6176 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6179 Identical file removed.
6180 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6182 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6183 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6184 Identical file removed.
6185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6186 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6189 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6190 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6191 Identical file removed.
6192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6193 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6194 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6195 Identical file removed.
6196 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6197 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6198 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6199 Identical file removed.
6200 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6201 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6202 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6203 Identical file removed.
6204 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6206 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6207 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6208 Identical file removed.
6209 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6212 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6213 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6214 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6215 Identical file removed.
6216 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6218 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6220 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6221 Identical file removed.
6222 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6224 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6225 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6226 Identical file removed.
6227 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6229 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6230 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6231 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6232 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6233 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6234 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6236 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6237 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6238 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6240 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6241 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6242 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6243 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6244 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6246 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
6249 * nscd/nscd.c (monitor_child): Return exit status of child
6250 instead of return value from wait syscall.
6252 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6254 * configure.ac (libc_commonpagesize): Remove variable.
6255 (libc_relro_required): Likewise.
6256 (libc_cv_z_relro): Remove configure test.
6257 * configure: Regenerated.
6258 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6260 (libc_relro_required): Likewise.
6261 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6262 (libc_relro_required): Likewise.
6263 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6264 (libc_relro_required): Likewise.
6265 * sysdeps/arm/preconfigure: Regenerated.
6266 * sysdeps/ia64/preconfigure: Remove file.
6267 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6269 (libc_relro_required): Likewise.
6273 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6274 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6275 recompute overflowing results in original rounding mode.
6276 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6277 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6278 recompute overflowing results in original rounding mode.
6279 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6280 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6281 recompute overflowing results in original rounding mode.
6282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6283 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6284 recompute overflowing results in original rounding mode.
6285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6286 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6287 recompute overflowing results in original rounding mode.
6288 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6289 (libc_feholdsetround_ctx): New macro.
6290 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6291 * sysdeps/i386/fpu/libm-test-ulps: Update.
6292 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6294 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6296 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6297 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6298 corresponding .cpsetup call.
6300 2014-06-26 Roland McGrath <roland@hack.frob.com>
6302 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6303 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6304 * sysdeps/arm/Makefile [$(subdir) = csu]
6305 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6306 (static-only-routines): Add aeabi_read_tp here.
6307 (shared-only-routines): Add libc-aeabi_read_tp here.
6308 (CFLAGS-libc-start.c): Add -fexceptions here.
6309 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6310 (sysdep_routines, static-only-routines, shared-only-routines):
6311 Don't add to these here.
6312 (CFLAGS-libc-start.c): Likewise.
6314 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6315 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6316 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6317 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6318 * sysdeps/arm/Makefile [$(subdir) = rt]
6319 (librt-sysdep_routines, librt-shared-only-routines):
6320 Append rt-aeabi_unwind_cpp_pr1 here.
6321 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6322 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6323 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6324 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6325 Append nptl-aeabi_unwind_cpp_pr1 here.
6326 (tests): Filter out tst-cleanupx4 here.
6327 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6328 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6329 Don't do those here.
6331 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6333 * scripts/list-sources.sh: Do not handle ports specially.
6335 2014-06-26 Roland McGrath <roland@hack.frob.com>
6337 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6338 * sysdeps/arm/feupdateenv.c: Likewise.
6340 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6342 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6344 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6345 trailing whitespace removed.
6346 * scripts/config.guess: Update to version 2014-03-23.
6347 * scripts/config.sub: Update to version 2014-05-01
6348 * scripts/install-sh: Update to version 2013-12-25.23.
6349 * scripts/move-if-change: Update from gnulib.
6351 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6353 * debug/memmove_chk.c: Remove pagecopy.h include.
6355 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6357 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6358 identical to gnulib mktime.
6360 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6362 * configure.ac: Do not test for machine being rs6000. Do not test
6364 * configure: Regenerated.
6366 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6368 * configure: Regenerated.
6369 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6370 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6371 Remove configure test.
6372 * sysdeps/arm/configure: Regenerated.
6373 * sysdeps/nptl/configure.ac: Do not check
6374 libc_cv_asm_cfi_directives.
6375 * sysdeps/nptl/configure: Regenerated.
6376 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6377 * sysdeps/x86_64/nptl/configure: Remove generated file.
6378 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6380 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6382 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6384 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6385 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6386 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6389 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6390 instead of whether it is defined.
6391 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6392 * sysdeps/hppa/dl-machine.h: Likewise.
6393 * sysdeps/ia64/dl-machine.h: Likewise.
6394 * sysdeps/m68k/dl-machine.h: Likewise.
6395 * sysdeps/microblaze/dl-machine.h: Likewise.
6396 * sysdeps/mips/dl-machine.: Likewise.
6397 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6398 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6399 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6400 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6401 * sysdeps/sh/dl-machine.h: Likewise.
6402 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6403 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6404 * sysdeps/tile/dl-machine.h: Likewise.
6405 * sysdeps/x86_64/dl-machine.h: Likewise.
6407 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6409 (verify_persistent_db): Likewise.
6411 2014-06-26 Roland McGrath <roland@hack.frob.com>
6413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6414 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6416 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6419 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6422 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6424 Identical file removed.
6425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6426 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6428 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6430 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6432 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6434 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6437 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6439 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6441 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6444 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6446 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6448 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6450 Identical file removed.
6451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6452 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6454 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6457 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6460 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6462 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6464 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6466 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6468 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6471 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6474 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6476 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6479 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6481 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6483 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6485 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6486 * sysdeps/unix/sysv/linux/s390/Versions
6487 (libpthread: GLIBC_2.19): New version set.
6488 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6489 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6490 (librt: GLIBC_2.3.3): New version set.
6491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6492 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6493 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6494 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6495 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6496 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6497 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6498 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6499 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6500 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6501 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6502 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6503 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6504 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6505 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6506 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6507 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6508 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6509 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6510 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6511 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6512 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6513 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6514 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6515 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6516 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6517 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6518 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6519 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6520 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6521 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6522 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6524 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6525 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6527 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6529 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6530 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6531 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6532 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6533 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6535 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6537 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6538 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6539 (__libc_vfork): Define the function under this name.
6540 [!NOT_IN_libc] (__vfork): Make this an alias.
6541 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6543 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6544 (__libc_vfork): Define the function under this name.
6545 [!NOT_IN_libc] (__vfork): Make this an alias.
6546 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6547 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6548 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6551 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6553 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6554 code that was previously under [RESET_PID].
6555 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6556 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6557 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6559 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6560 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6561 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6562 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6563 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6564 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6565 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6566 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6567 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6568 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6569 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6571 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6572 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6573 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6574 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6575 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6577 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6579 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6581 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6582 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6583 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6584 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6585 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6586 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6587 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6589 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6591 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6592 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6593 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6594 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6595 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6596 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6597 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6598 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6599 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6601 2014-06-25 Roland McGrath <roland@hack.frob.com>
6603 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6604 that was previously under [RESET_PID].
6605 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6607 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6609 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6610 not undefine and redefine.
6611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6612 [O_CLOEXEC]: Make code unconditional.
6613 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6614 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6615 <kernel-features.h>.
6616 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6617 conditional variable definition.
6618 (shm_open) [O_CLOEXEC]: Make code unconditional.
6619 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6622 * configure.ac (USE_REGPARMS): Don't define here.
6623 * configure: Regenerated.
6624 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6625 * sysdeps/i386/configure: Regenerated.
6627 * nptl/createthread.c: Don't include kernel-features.h.
6628 * nptl/pthread_cancel.c: Likewise.
6629 * nptl/pthread_condattr_setclock.c: Likewise.
6630 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6631 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6632 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6633 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6634 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6635 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6636 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6639 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6640 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6641 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6642 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6643 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6644 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6645 * nscd/gai.c: Likewise.
6646 * nss/nss_db/db-open.c: Likewise.
6647 * sysdeps/generic/ldsodefs.h: Likewise.
6648 * sysdeps/sh/nptl/tls.h: Likewise.
6649 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6650 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6651 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6652 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6653 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6654 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6655 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6656 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6657 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6658 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6659 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6660 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6661 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6662 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6663 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6664 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6665 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6666 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6667 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6668 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6669 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6670 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6671 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6672 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6673 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6674 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6675 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6676 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6677 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6678 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6679 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6680 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6681 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6682 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6683 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6684 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6685 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6686 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6687 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6688 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6689 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6690 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6691 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6692 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6693 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6694 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6695 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6696 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6697 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6698 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6699 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6700 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6701 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6702 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6703 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6704 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6705 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6706 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6729 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6730 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6731 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6732 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6733 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6734 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6735 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6736 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6737 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6738 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6739 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6740 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6741 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6742 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6743 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6744 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6745 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6746 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6747 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6748 * sysdeps/unix/sysv/linux/system.c: Likewise.
6749 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6750 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6751 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6752 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6753 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6754 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6755 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6757 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6758 * configure: Regenerated.
6759 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6761 * configure.ac (base_machine): Do not set specially for particular
6763 * configure: Regenerated.
6764 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6765 settings from configure.ac.
6766 * sysdeps/i386/preconfigure: New file.
6767 * sysdeps/s390/preconfigure: Likewise.
6768 * sysdeps/sh/preconfigure: Likewise.
6769 * sysdeps/sparc/preconfigure: Likewise.
6771 2014-06-25 Roland McGrath <roland@hack.frob.com>
6773 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6774 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6775 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6776 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6777 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6778 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6779 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6780 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6781 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6782 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6783 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6784 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6785 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6786 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6787 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6788 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6789 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6790 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6791 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6793 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6794 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6795 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6796 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6797 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6798 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6799 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6800 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6801 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6802 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6803 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6804 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6805 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6806 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6807 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6808 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6809 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6810 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6811 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6812 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6813 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6814 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6815 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6816 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6817 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6818 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6819 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6820 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6821 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6822 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6823 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6824 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6825 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6826 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6827 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6828 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6829 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6830 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6835 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6838 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6846 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6848 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6850 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6852 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6855 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6858 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6860 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6863 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6865 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6867 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6869 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6874 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6877 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6879 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6882 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6884 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6886 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6888 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6891 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6894 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6896 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6899 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6901 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6905 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6907 * timezone/checktab.awk: Update from tzcode 2014e.
6908 * timezone/private.h: Likewise.
6909 * timezone/tzfile.h: Likewise.
6910 * timezone/zdump.c: Likewise.
6911 * timezone/zic.c: Likewise.
6913 * sysdeps/unix/sysv/linux/kernel-features.h
6914 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6915 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6916 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6917 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6918 Remove conditional code.
6920 2014-06-25 Will Newton <will.newton@linaro.org>
6922 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6923 (_dl_arm_cap_flags): Add HWCAP2 values.
6924 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6925 (_DL_HWCAP_COUNT): Increase to 37.
6926 (_DL_HWCAP_LAST): New define.
6927 (_DL_HWCAP2_LAST): New define.
6928 (_dl_procinfo): Add support for printing
6930 (_dl_string_hwcap): Use _dl_hwcap_string.
6932 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6936 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6938 * README: Do not mention ports directory.
6940 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6942 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6943 <kernel-features.h>.
6944 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6945 conditional variable definition.
6946 (__futimes): Update comment.
6947 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6948 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6951 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6952 arguments close to 0.
6953 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6955 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6957 * math/auto-libm-test-in: Add more tests of exp10.
6958 * math/auto-libm-test-out: Regenerated.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6961 * sysdeps/unix/sysv/linux/kernel-features.h
6962 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6963 * sysdeps/unix/sysv/linux/readv.c: Do not include
6964 <kernel-features.h>.
6965 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6966 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6967 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6969 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6971 * sysdeps/unix/sysv/linux/writev.c: Do not include
6972 <kernel-features.h>.
6973 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6974 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6975 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6977 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6980 2014-06-25 Will Newton <will.newton@linaro.org>
6982 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6983 comment changes throughout the file. Remove checks
6984 for HAVE_*_H definitions that are not required.
6985 (__gen_tempname): Call abort if an unknown kind value is
6988 2014-06-25 Andreas Schwab <schwab@suse.de>
6991 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6992 scalbln, scalblnf, scalblnl in libc.
6994 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6997 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6998 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6999 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7001 2014-06-24 Roland McGrath <roland@hack.frob.com>
7003 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7004 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7005 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7006 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7008 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7009 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7011 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7012 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7013 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7014 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7015 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7016 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7017 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7018 * sysdeps/x86/bits/semaphore.h: ... here.
7019 * sysdeps/x86/nptl/elide.h: Moved ...
7020 * sysdeps/x86/elide.h: ... here.
7021 * sysdeps/x86_64/nptl/Implies: File removed.
7022 * sysdeps/i386/nptl/Implies: File removed.
7024 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7027 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7028 return the argument for normal arguments with exponent below -64.
7029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7031 * math/auto-libm-test-in: Add another test of expm1.
7032 * math/auto-libm-test-out: Regenerated.
7035 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7036 calling __erfcl for arguments at least 16.
7037 * math/auto-libm-test-in: Add more tests of erf.
7038 * math/auto-libm-test-out: Regenerated.
7040 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7041 individual architectures.
7042 * sysdeps/unix/sysv/linux/configure: Regenerated.
7043 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7044 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7045 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7046 (ldd_rewrite_script): Define variable.
7047 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7052 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7053 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7054 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7055 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7056 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7057 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7058 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7059 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7061 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7064 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7065 Rename member __data.d to __data.__elision_data.
7067 2014-06-24 Wilco <wdijkstr@arm.com>
7069 * NEWS: Add 16918 to fixed bug list.
7071 2014-06-24 Wilco <wdijkstr@arm.com>
7073 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7075 2014-06-24 Wilco <wdijkstr@arm.com>
7077 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7078 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7079 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7080 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7081 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7082 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7083 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7086 2014-06-24 Wilco <wdijkstr@arm.com>
7088 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7090 2014-06-24 Wilco <wdijkstr@arm.com>
7092 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7093 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7094 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7095 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7097 2014-06-24 Wilco <wdijkstr@arm.com>
7100 * sysdeps/arm/feupdateenv.c (feupdateenv):
7101 Rewrite to reduce FPSCR accesses and fix return value.
7103 2014-06-24 Wilco <wdijkstr@arm.com>
7105 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7106 Optimize to avoid unnecessary FPSCR writes.
7107 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7108 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7109 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7110 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7112 2014-06-24 Wilco <wdijkstr@arm.com>
7114 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7115 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7116 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7117 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7118 Call libc_fetestexcept_vfp.
7119 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7120 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7121 __SOFTFP__ ifdef so that they can be built for softfp.
7123 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7125 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7126 argument type signed char.
7128 * Makerules (check-abi): Dump diff of symlist if the test
7131 2014-06-23 Roland McGrath <roland@hack.frob.com>
7133 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7136 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7137 Remove unused variable ST.
7139 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7143 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7144 small arguments before calling __expm1.
7145 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7146 small arguments before calling __expm1f.
7147 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7148 small arguments before calling __expm1l.
7149 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7151 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7152 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7153 spurious underflow for some cosh tests.
7154 * math/auto-libm-test-out: Regenerated.
7155 * sysdeps/i386/fpu/libm-test-ulps: Update.
7158 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7159 (__ieee754_y1): Set errno if return value overflows.
7160 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7161 (__ieee754_y1f): Set errno if return value overflows.
7162 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7163 (__ieee754_y1l): Set errno if return value overflows.
7164 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7165 (__ieee754_y1l): Set errno if return value overflows.
7166 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7167 * math/auto-libm-test-out: Regenerated.
7169 * math/gen-auto-libm-tests.c: Document use of
7170 ignore-zero-inf-sign.
7171 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7172 (input_flags): Add ignore-zero-inf-sign.
7173 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7174 * math/gen-libm-test.pl (generate_testfile): Handle
7175 ignore-zero-inf-sign.
7176 * math/auto-libm-test-in: Mark some cpow tests with
7177 ignore-zero-inf-sign and some with xfail-rounding.
7178 * math/auto-libm-test-out: Regenerated.
7179 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7180 * sysdeps/i386/fpu/libm-test-ulps: Update.
7181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7185 overflowing or underflowing operations take place with sign of
7187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7188 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7189 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7190 (__ieee754_pow): Recompute overflowing and underflowing results in
7191 original rounding mode.
7192 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7193 (__powl_helper): Allow negative argument X and scale negated value
7194 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7195 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7196 overflowing or underflowing operations take place with sign of
7198 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7200 * math/auto-libm-test-in: Add more tests of pow.
7201 * math/auto-libm-test-out: Regenerated.
7202 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7203 (pow_tonearest_test_data): Remove.
7204 (pow_test_tonearest): Likewise.
7205 (pow_towardzero_test_data): Likewise.
7206 (pow_test_towardzero): Likewise.
7207 (pow_downward_test_data): Likewise.
7208 (pow_test_downward): Likewise.
7209 (pow_upward_test_data): Likewise.
7210 (pow_test_upward): Likewise.
7211 (main): Don't call removed functions.
7212 * sysdeps/i386/fpu/libm-test-ulps: Update.
7213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7215 2014-06-23 Roland McGrath <roland@hack.frob.com>
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7391 2014-06-23 Will Newton <will.newton@linaro.org>
7392 Wilco <wdijkstr@arm.com>
7394 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7395 implementation. Include get-rounding-mode.h.
7396 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7397 [!libc_feholdsetround_noex_ctx]: Define
7398 libc_feholdsetround_noex_ctx.
7399 [!libc_feholdsetround_noexf_ctx]: Define
7400 libc_feholdsetround_noexf_ctx.
7401 [!libc_feholdsetround_noexl_ctx]: Define
7402 libc_feholdsetround_noexl_ctx.
7403 (libc_feholdsetround_ctx): New function.
7404 (libc_feresetround_ctx): New function.
7405 (libc_feholdsetround_noex_ctx): New function.
7406 (libc_feresetround_noex_ctx): New function.
7408 2014-06-23 Roland McGrath <roland@hack.frob.com>
7410 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7411 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7412 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7413 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7414 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7415 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7417 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7418 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7419 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7420 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7421 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7422 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7424 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7426 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7429 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7431 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7432 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7433 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7437 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7438 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7439 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7440 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7441 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7443 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7446 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7447 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7449 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7450 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7451 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7454 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7455 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7456 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7458 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7459 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7460 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7461 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7462 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7465 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7467 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7468 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7470 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7472 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7473 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7474 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7475 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7476 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7481 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7483 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7485 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7486 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7488 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7492 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7494 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7495 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7496 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7497 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7498 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7499 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7500 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7501 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7503 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7504 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7505 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7506 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7507 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7509 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7510 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7511 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7512 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7513 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7514 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7515 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7517 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7519 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7520 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7523 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7525 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7526 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7527 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7528 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7529 (IPV6_PMTUDISC_INTERFACE): Likewise.
7530 (IPV6_PMTUDISC_OMIT): Likewise.
7532 2014-06-23 Andreas Schwab <schwab@suse.de>
7534 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7535 Remove unused errout label.
7537 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7539 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7540 macro: hardware supports Vector Crypto instructions.
7542 2014-06-23 Will Newton <will.newton@linaro.org>
7544 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7545 rather than __builtin_expect.
7547 * elf/dl-lookup.c (undefined_msg): Remove variable.
7548 (_dl_lookup_symbol_x): Replace undefined_msg with string
7551 * elf/dl-lookup.c (do_lookup_unique): New function.
7552 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7553 to a separate function.
7555 2014-06-23 Andreas Schwab <schwab@suse.de>
7558 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7559 before reading the next line.
7561 2014-06-23 Will Newton <will.newton@linaro.org>
7563 * test-skeleton.c (signal_handler): Use printf and %m
7564 rather than perror. Use printf rather than fprintf to
7565 stderr. Use puts rather than fputs to stderr.
7568 2014-06-22 Ludovic Courtès <ludo@gnu.org>
7570 * nscd/nscd.c (thread_info_t): Remove typedef.
7571 (thread_info): Remove variable.
7573 2014-06-21 Allan McRae <allan@archlinux.org>
7575 * NEWS: Mention CVE-2014-4043.
7577 2014-06-20 Roland McGrath <roland@hack.frob.com>
7579 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7580 * nptl/smp.h: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7584 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7585 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7586 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7587 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7589 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7590 * nptl/stack-aliasing.h: New file.
7591 * sysdeps/i386/i686/stack-aliasing.h: New file.
7592 * sysdeps/i386/i686/nptl/Makefile: File removed.
7593 * sysdeps/x86_64/stack-aliasing.h: New file.
7594 * sysdeps/x86_64/nptl/Makefile
7595 (CFLAGS-pthread_create.c): Variable removed.
7597 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7598 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7600 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7601 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7604 2014-06-21 Joseph Myers <joseph@codesourcery.com>
7606 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7607 (__ASSUME_SIGFRAME_V2): Remove macro.
7608 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7609 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7610 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7611 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7612 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7613 Declare as function. Remove conditional macro definitions.
7614 (__default_rt_sa_restorer): Likewise.
7615 (__default_sa_restorer_v1): Remove declaration.
7616 (__default_sa_restorer_v2): Likewise.
7617 (__default_rt_sa_restorer_v1): Likewise.
7618 (__default_rt_sa_restorer_v2): Likewise.
7619 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7620 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7621 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7623 2014-06-20 Roland McGrath <roland@hack.frob.com>
7625 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7626 (libpthread-routines): Add sysdep.
7627 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7628 * sysdeps/unix/sysv/linux/sparc/Versions
7629 (libpthread: GLIBC_2.3.3): New version set.
7630 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7631 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7632 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7634 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7635 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7637 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7639 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7641 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7643 * sysdeps/sparc/nptl/sem_init.c: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7645 * sysdeps/sparc/nptl/sem_post.c: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7647 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7649 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7650 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7651 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7652 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7653 (libpthread-routines): Add cpu_relax.
7654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7656 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7657 (librt: GLIBC_2.3.3): New version set.
7658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7659 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7660 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7661 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7664 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7667 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7669 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7671 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7673 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7675 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7678 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7682 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7686 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7690 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7694 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7698 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7701 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7707 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7709 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7712 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7714 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7716 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7718 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7720 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7721 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7722 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7723 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7724 * nscd/nscd.c: Likewise.
7725 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7726 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7727 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7728 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7730 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7731 <kernel-features.h>.
7732 (init_mq_netlink): Remove conditional have_sock_cloexec
7733 definitions. Remove code conditional on have_sock_cloexec < 0.
7734 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7735 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7736 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7737 <kernel-features.h>.
7738 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7739 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7741 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7744 Add tests for memset_chk and memset.
7746 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7749 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7752 * elf/tst-dl-iter-static.c: New file.
7753 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7755 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7758 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7760 * sysdeps/unix/sysv/linux/kernel-features.h
7761 (__ASSUME_F_GETOWN_EX): Remove macro.
7762 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7763 <kernel-features.h>.
7764 (miss_F_GETOWN_EX): Remove variable or macro.
7765 (do_fcntl): Do not check miss_F_GETOWN_EX.
7766 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7768 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7771 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7772 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7774 * sysdeps/unix/sysv/linux/kernel-features.h
7775 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7776 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7777 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7778 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7780 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7783 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7784 Fix calculation of the symbol's value.
7785 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7786 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7787 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7788 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7789 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7790 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7791 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7792 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7793 (modules-names): Add `tst-armtlsdescmod',
7794 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7795 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7796 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7797 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7798 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7799 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7800 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7801 ($(objpfx)tst-armtlsdescloc): New dependency.
7802 ($(objpfx)tst-armtlsdescextnow): Likewise.
7803 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7804 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7806 * sysdeps/arm/configure: Regenerate.
7808 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7810 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7811 (__atfct_seterrno_2): Likewise.
7812 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7813 <kernel-features.h>.
7814 (__ASSUME_ATFCTS): Do not undefine and redefine.
7815 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7816 (__have_atfcts): Remove conditional definition.
7817 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7818 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7819 unreachable if [__ASSUME_ATFCTS].
7820 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7821 not undefine and redefine.
7822 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7823 <kernel-features.h>.
7824 (faccessat) [__NR_faccessat]: Make code unconditional.
7825 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7826 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7827 <kernel-features.h>.
7828 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7829 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7830 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7831 <kernel-features.h>.
7832 (fchownat) [__NR_fchownat]: Make code unconditional.
7833 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7834 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7835 <kernel-features.h>.
7836 (futimesat) [__NR_futimesat]: Make code unconditional.
7837 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7838 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7839 <kernel-features.h>.
7840 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7841 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7842 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7843 <kernel-features.h>.
7844 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7845 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7846 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7847 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7848 <kernel-features.h>.
7849 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7850 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7851 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7852 <kernel-features.h>.
7853 (linkat) [__NR_linkat]: Make code unconditional.
7854 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7855 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7856 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7857 <kernel-features.h>.
7858 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7859 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7860 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7861 <kernel-features.h>.
7862 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7863 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7864 * sysdeps/unix/sysv/linux/openat.c: Do not include
7865 <kernel-features.h>.
7866 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7867 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7868 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7869 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7870 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7871 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7872 <kernel-features.h>.
7873 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7874 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7875 result of INLINE_SYSCALL directly, not via int variable.
7876 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7877 <kernel-features.h>.
7878 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7879 (renameat) [__NR_renameat]: Make code unconditional.
7880 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7881 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7882 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7883 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7884 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7885 (__ASSUME_ATFCTS): Do not undefine and redefine.
7886 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7887 <kernel-features.h>.
7888 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7889 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7890 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7891 <kernel-features.h>.
7892 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7893 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7894 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7895 (__ASSUME_ATFCTS): Do not undefine and redefine.
7896 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7897 <kernel-features.h>.
7898 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7899 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7900 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7901 <kernel-features.h>.
7902 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7903 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7905 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7907 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7909 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7912 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7913 constructed tree before returning error.
7914 * posix/bug-regexp36.c: Expand test case.
7916 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7919 * math/libm-test.inc (scalbln_test_date):
7920 Add errno expectations.
7921 * math/w_scalblnf.c: New File.
7922 Add wrapper which checks for setting errno to ERANGE.
7923 Add weak_alias for corresponding scalbln function.
7924 * math/w_scalbln.c: Likewise.
7925 * math/w_scalblnl.c: Likewise.
7926 * math/Makefile (libm-calls): Add w_scalbln.
7927 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7928 Remove weak_alias for corresponding scalbln function.
7929 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7931 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7932 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7933 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7934 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7935 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7936 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7937 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7938 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7939 Remove long_double_symbol for scalblnl function in libm, libc.
7940 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7941 Add wrapper which checks for setting errno to ERANGE.
7942 Add long_double_symbol for scalblnl function in libm, libc.
7943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7944 Remove long_double_symbol for scalblnl in libm.
7945 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7946 Add wrapper which checks for setting errno to ERANGE.
7947 Add long_double_symbol for scalblnl function in libm.
7948 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7949 Do not use wrapper because of own implementation.
7951 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7953 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7954 3 bytes for __pad1 for x32.
7955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7957 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7958 H.J. Lu <hongjiu.lu@intel.com>
7960 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7961 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7962 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7963 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7964 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7966 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7969 * posix/regcomp.c (parse_expression): Deallocate partially
7970 constructed tree before returning error.
7971 * posix/Makefile.c (tests): Add bug-regex36.
7972 (generated): Add bug-regex36.mtrace.
7973 (tests-special): Add $(objpfx)bug-regex36-mem.out
7974 (bug-regex36-ENV): New variable.
7975 ($(objpfx)bug-regex36-mem.out): New rule.
7976 * posix/bug-regex36.c: New file.
7978 2014-06-19 Will Newton <will.newton@linaro.org>
7980 * malloc/malloc.c (systrim): If extra is zero then return
7983 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7985 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7987 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7989 * sysdeps/aarch64/strchr.S: New file.
7991 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7994 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7995 from arguments -2 or below.
7996 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7997 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7999 2014-06-18 Andreas Schwab <schwab@suse.de>
8002 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8003 of a bracket expr not to run off the end of the string.
8004 * posix/Makefile (tests): Add tst-fnmatch3.
8005 * posix/tst-fnmatch3.c: New file.
8007 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8009 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8010 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8011 [$(cross-compiling) = no]: Likewise.
8012 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8013 [$(cross-compiling) = no]: Likewise.
8015 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8018 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8019 double, adjusted for any remainder from the high double.
8020 * math/libm-test.inc (nearbyint): Add tests.
8023 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025 * nptl/sysdeps/powerpc/Makefile: Moved ...
8026 * sysdeps/powerpc/nptl/Makefile: ... here.
8027 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8028 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8029 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8030 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8031 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8032 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8033 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8034 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8035 * nptl/sysdeps/powerpc/tls.h: Moved ...
8036 * sysdeps/powerpc/nptl/tls.h: ... here.
8038 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8041 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8042 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8043 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8044 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8045 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8046 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8047 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8048 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8049 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8051 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8053 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8055 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8057 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8060 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8063 2014-06-16 Florian Weimer <fweimer@redhat.com>
8066 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8067 non-executed part of the test.
8069 2014-06-16 Andreas Schwab <schwab@suse.de>
8071 * string/bits/string2.h (strdup, strndup): Update feature guard.
8073 2014-06-14 David S. Miller <davem@davemloft.net>
8075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8077 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8079 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8080 that was previously under [RESET_PID].
8081 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8083 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8084 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8085 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8086 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8087 (__libc_vfork): New strong alias.
8088 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8090 2014-06-14 Andi Kleen <ak@linux.intel.com>
8092 * sysdeps/generic/elide.h: New file.
8094 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8096 * Makefile (installed-headers): Adjust path of pthread.h header.
8098 2014-06-13 Roland McGrath <roland@hack.frob.com>
8100 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8101 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8102 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8103 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8105 * nptl/sysdeps/s390/Makefile: Moved ...
8106 * sysdeps/s390/nptl/Makefile: ... here.
8107 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8108 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8109 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8110 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8111 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8112 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8113 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8114 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8115 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8116 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8117 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8118 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8119 * nptl/sysdeps/s390/tls.h: Moved ...
8120 * sysdeps/s390/nptl/tls.h: ... here.
8122 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8123 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8125 2014-06-13 David S. Miller <davem@davemloft.net>
8127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8130 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8134 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8135 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8136 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8137 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8138 Remove RESET_PID cpp guards.
8139 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8140 Remove RESET_PID cpp guards.
8141 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8143 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8145 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8148 2014-06-13 Andi Kleen <ak@linux.intel.com>
8150 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8151 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8152 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8153 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8154 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8155 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8157 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8158 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8159 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8160 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8161 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8162 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8163 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8164 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8165 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8166 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8168 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8169 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8171 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8172 (pthread_rwlock_rdlock): Add elision.
8173 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8174 (pthread_rwlock_wrlock): Add elision.
8175 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8176 (pthread_rwlock_trywrlock): Add elision.
8177 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8178 (pthread_rwlock_tryrdlock): Add elision.
8179 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8180 (pthread_rwlock_tryrdlock): Add elision unlock.
8181 * nptl/sysdeps/pthread/pthread.h:
8182 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8183 (PTHREAD_RWLOCK_INITIALIZER,
8184 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8185 Handle new elision field.
8186 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8187 * sysdeps/arm/nptl/bits/pthreadtypes.h
8188 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8189 * sysdeps/sh/nptl/bits/pthreadtypes.h
8190 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8191 * sysdeps/tile/nptl/bits/pthreadtypes.h
8192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8193 * sysdeps/a/nptl/bits/pthreadtypes.h
8194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8195 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8196 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8197 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8198 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8199 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8201 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8203 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8205 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8206 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8207 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8209 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8211 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8212 (elision_init): Set try_xbegin to zero when no RTM.
8213 * sysdeps/x86/nptl/bits/pthreadtypes.h
8214 (pthread_rwlock_t): Change __pad1 to __rwelision.
8215 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8217 2014-06-13 Andi Kleen <ak@linux.intel.com>
8219 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8220 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8221 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8222 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8224 2014-06-13 Meador Inge <meadori@codesourcery.com>
8227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8228 that the cached result has been set before returning it.
8230 2014-06-12 Roland McGrath <roland@hack.frob.com>
8232 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8233 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8235 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8236 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8237 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8239 * nptl/sysdeps/sparc/Makefile: Moved ...
8240 * sysdeps/sparc/nptl/Makefile: ... here.
8241 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8242 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8243 * nptl/sysdeps/sparc/tls.h: Moved ...
8244 * sysdeps/sparc/nptl/tls.h: ... here.
8245 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8246 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8247 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8248 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8249 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8250 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8251 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8252 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8253 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8254 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8255 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8256 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8257 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8258 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8259 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8260 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8261 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8262 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8264 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8265 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8267 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8268 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8270 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8271 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8274 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8276 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8277 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8279 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8280 (struct list_links): Type removed.
8281 (struct thread_node, struct timer_node): Replace struct list_links
8282 with struct list_head.
8283 (list_unlink_ip): Likewise.
8284 * sysdeps/pthread/timer_routines.c
8285 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8286 (list_append, list_insbefore): Likewise.
8287 (list_init): Function removed.
8288 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8289 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8290 * sysdeps/pthread/Makefile: ... here, new file.
8292 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8293 * sysdeps/nptl/Implies: ... here.
8294 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8295 * nptl/sysdeps/pthread/list.h: Moved ...
8296 * include/list.h: ... here.
8297 * nptl/sysdeps/pthread/createthread.c: Moved ...
8298 * nptl/createthread.c: ... here.
8299 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8300 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8301 * nptl/pt-longjmp.c: ... here.
8302 * nptl/sysdeps/pthread/Makefile: Moved ...
8303 * sysdeps/nptl/Makefile: ... here.
8304 * nptl/sysdeps/pthread/Subdirs: Moved ...
8305 * sysdeps/nptl/Subdirs: ... here.
8306 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8307 * sysdeps/nptl/aio_misc.h: ... here.
8308 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8309 * sysdeps/nptl/bits/libc-lock.h: ... here.
8310 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8311 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8312 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8313 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8314 * nptl/sysdeps/pthread/configure: Moved ...
8315 * sysdeps/nptl/configure: ... here.
8316 * nptl/sysdeps/pthread/configure.ac: Moved ...
8317 * sysdeps/nptl/configure.ac: ... here.
8318 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8319 * sysdeps/nptl/gai_misc.h: ... here.
8320 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8321 * sysdeps/nptl/librt-cancellation.c: ... here.
8322 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8323 * sysdeps/nptl/malloc-machine.h: ... here.
8324 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8325 * sysdeps/nptl/pthread-functions.h: ... here.
8326 * nptl/sysdeps/pthread/pthread.h: Moved ...
8327 * sysdeps/nptl/pthread.h: ... here.
8328 * nptl/sysdeps/pthread/setxid.h: Moved ...
8329 * sysdeps/nptl/setxid.h: ... here.
8330 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8331 * sysdeps/nptl/sigfillset.c: ... here.
8332 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8333 * sysdeps/nptl/tcb-offsets.h: ... here.
8334 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8335 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8336 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8337 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8338 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8339 * sysdeps/pthread/allocalim.h: ... here.
8340 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8341 * sysdeps/pthread/bits/sigthread.h: ... here.
8342 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8343 * sysdeps/pthread/flockfile.c: ... here.
8344 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8345 * sysdeps/pthread/ftrylockfile.c: ... here.
8346 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8347 * sysdeps/pthread/funlockfile.c: ... here.
8348 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8349 * sysdeps/pthread/posix-timer.h: ... here.
8350 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8351 * sysdeps/pthread/timer_create.c: ... here.
8352 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8353 * sysdeps/pthread/timer_delete.c: ... here.
8354 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8355 * sysdeps/pthread/timer_getoverr.c: ... here.
8356 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8357 * sysdeps/pthread/timer_gettime.c: ... here.
8358 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8359 * sysdeps/pthread/timer_routines.c: ... here.
8360 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8361 * sysdeps/pthread/timer_settime.c: ... here.
8362 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8363 * sysdeps/pthread/tst-timer.c: ... here.
8364 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8365 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8367 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8368 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8370 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8371 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8372 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8373 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8374 Update #include target.
8375 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8376 * sysdeps/i386/i686/nptl/Makefile: ... here.
8377 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8378 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8379 Update #include target.
8380 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8381 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8382 * nptl/sysdeps/i386/Makefile: Moved ...
8383 * sysdeps/i386/nptl/Makefile: ... here.
8384 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8385 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8386 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8387 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8388 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8389 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8390 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8391 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8392 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8393 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8394 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8395 * nptl/sysdeps/i386/tls.h: Moved ...
8396 * sysdeps/i386/nptl/tls.h: ... here.
8398 * sysdeps/sh/Makefile [$(subdir) = csu]
8399 (gen-as-const-headers): Add tcb-offsets.sym.
8400 * nptl/sysdeps/sh/Makefile: File removed.
8401 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8402 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8403 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8404 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8405 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8406 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8407 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8408 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8409 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8410 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8411 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8412 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8413 * nptl/sysdeps/sh/tls.h: Moved ...
8414 * sysdeps/sh/nptl/tls.h: ... here.
8415 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8416 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8418 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8420 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8422 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8423 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8424 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8425 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8426 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8428 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8429 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8430 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8431 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8432 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8433 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8434 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8435 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8436 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8438 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8441 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8444 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8445 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8446 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8447 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8448 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8450 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8451 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8452 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8453 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8454 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8455 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8456 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8458 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8460 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8462 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8464 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8466 * posix/spawn_faction_addopen.c: Include string.h.
8468 2014-06-11 Roland McGrath <roland@hack.frob.com>
8470 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8471 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8472 * nptl/sysdeps/x86_64/Makefile: Moved ...
8473 * sysdeps/x86_64/nptl/Makefile: ... here.
8474 * nptl/sysdeps/x86_64/configure: Moved ...
8475 * sysdeps/x86_64/nptl/configure: ... here.
8476 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8477 * sysdeps/x86_64/nptl/configure.ac: ... here.
8478 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8479 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8480 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8481 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8482 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8483 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8484 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8485 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8486 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8487 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8488 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8489 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8490 * nptl/sysdeps/x86_64/tls.h: Moved ...
8491 * sysdeps/x86_64/nptl/tls.h: ... here.
8492 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8493 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8494 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8495 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8497 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8499 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8503 2014-06-11 Joseph Myers <joseph@codesourcery.com>
8505 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8507 [POSIX] (off_t): Likewise.
8508 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8509 [POSIX] (S_ISBLK): Require macro.
8510 [POSIX] (S_ISCHR): Likewise.
8511 [POSIX] (S_ISDIR): Likewise.
8512 [POSIX] (S_ISFIFO): Likewise.
8513 [POSIX] (S_ISREG): Likewise.
8514 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8516 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8518 [POSIX] (time_t): Likewise.
8519 [POSIX] (timer_t): Likewise.
8521 2014-06-11 Florian Weimer <fweimer@redhat.com>
8524 * posix/spawn_int.h (struct __spawn_action): Make the path string
8525 non-const to support deallocation.
8526 * posix/spawn_faction_addopen.c
8527 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8528 * posix/spawn_faction_destroy.c
8529 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8530 path in all spawn_do_open actions.
8531 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8532 posix_spawn_file_actions_addopen.
8534 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8536 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8537 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8538 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8539 conditional code always true.
8540 (__libc_vfork): New alias.
8542 2014-06-11 Roland McGrath <roland@hack.frob.com>
8544 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8545 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8547 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8549 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8550 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8552 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8553 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8555 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8556 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8558 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8560 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8561 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8562 multiarch strcmp for PPC64.
8563 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8564 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8566 multiarch optimizations.
8567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8568 (__libc_ifunc_impl_list): Likewise.
8570 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8572 * benchtests/scripts/validate_benchout.py: New script.
8573 * benchtests/Makefile (bench-func): Call it.
8574 * benchtests/scripts/benchout.schema.json: New file.
8576 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8578 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8579 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8580 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8581 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8582 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8583 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8584 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8585 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8586 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8587 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8588 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8589 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8590 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8591 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8592 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8593 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8697 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8698 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8700 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8703 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8705 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8710 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8712 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8714 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8716 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8719 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8722 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8724 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8727 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8731 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8732 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8733 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8735 2014-06-10 Wilco <wdijkstr@arm.com>
8737 * math/test-fenv-return.c: New file.
8738 * math/Makefile: Add new test test-fenv-return.
8740 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8743 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8745 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8746 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8747 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8748 0.0L for an argument of 1.0L.
8749 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8751 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8752 value when x - 1 is zero.
8753 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8757 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8760 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8762 2014-06-09 Roland McGrath <roland@hack.frob.com>
8764 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8765 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8767 2014-06-09 Roland McGrath <roland@hack.frob.com>
8769 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8770 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8772 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8773 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8775 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8776 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8778 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8779 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8781 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8782 if not already defined.
8783 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8784 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8785 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8786 (TLS_INIT_TP): Use it.
8787 (TLS_DEFINE_INIT_TP): New macro.
8788 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8790 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8792 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8794 [POSIX] (IXANY): Likewise.
8795 [POSIX] (OLCUC): Likewise.
8796 [POSIX || POSIX2008] (CBAUD): Do not allow.
8797 [POSIX || POSIX2008] (DEFECHO): Likewise.
8798 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8799 [POSIX || POSIX2008] (ECHOKE): Likewise.
8800 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8801 [POSIX || POSIX2008] (EXTA): Likewise.
8802 [POSIX || POSIX2008] (EXTB): Likewise.
8803 [POSIX || POSIX2008] (FLUSHO): Likewise.
8804 [POSIX || POSIX2008] (LOBLK): Likewise.
8805 [POSIX || POSIX2008] (PENDIN): Likewise.
8806 [POSIX || POSIX2008] (SWTCH): Likewise.
8807 [POSIX || POSIX2008] (VDISCARD): Likewise.
8808 [POSIX || POSIX2008] (VDSUSP): Likewise.
8809 [POSIX || POSIX2008] (VLNEXT): Likewise.
8810 [POSIX || POSIX2008] (VREPRINT): Likewise.
8811 [POSIX || POSIX2008] (VSTATUS): Likewise.
8812 [POSIX || POSIX2008] (VWERASE): Likewise.
8813 (B*): Change to B[0123456789]*.
8814 * conform/data/time.h-data [POSIX || UNIX98]
8815 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8816 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8817 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8818 [POSIX] (tm_*): Do not allow.
8820 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8822 * Makefile (install): Don't set LANGUAGE.
8823 * Makefile.in (install): Likewise.
8824 * assert/Makefile (test-assert-ENV): Remove variable.
8825 (test-assert-perr-ENV): Likewise.
8826 * elf/Makefile (neededtest4-ENV): Likewise.
8827 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8828 [$(cross-compiling) = no]: Don't set LANGUAGE.
8829 * io/ftwtest-sh (LANG): Remove variable.
8830 * libio/Makefile (tst-widetext-ENV): Likewise.
8831 * manual/install.texi (Running make install): Don't refer to
8832 environment settings for make install.
8833 * INSTALL: Regenerated.
8834 * nptl/tst-tls6.sh: Don't set LANG.
8835 * posix/globtest.sh (LANG): Remove variable.
8836 * string/Makefile (tester-ENV): Likewise.
8837 (inl-tester-ENV): Likewise.
8838 (noinl-tester-ENV): Likewise.
8839 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8840 [$(cross-compiling) = no]: Don't set LANGUAGE.
8841 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8842 without explicit environment settings.
8844 2014-06-06 Roland McGrath <roland@hack.frob.com>
8846 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8847 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8848 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8849 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8851 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8853 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8854 other files in the crypt directory.
8855 * crypt/crypt.c: Remove duplicate includes.
8856 * crypt/crypt-entry.c: Likewise.
8857 * crypt/crypt_util.c: Likewise.
8859 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8861 * Makeconfig (run-program-env): New variable.
8862 (run-program-prefix-before-env): Likewise.
8863 (run-program-prefix-after-env): Likewise.
8864 (run-program-prefix): Define in terms of new variables.
8865 (built-program-cmd-before-env): New variable.
8866 (built-program-cmd-after-env): Likewise.
8867 (built-program-cmd): Define in terms of new variables.
8868 (test-program-prefix-before-env): New variable.
8869 (test-program-prefix-after-env): Likewise.
8870 (test-program-prefix): Define in terms of new variables.
8871 (test-program-cmd-before-env): New variable.
8872 (test-program-cmd-after-env): Likewise.
8873 (test-program-cmd): Define in terms of new variables.
8874 * Rules (make-test-out): Use $(run-program-env).
8875 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8876 (help): Do not mention environment variables. Mention
8877 --timeoutfactor option.
8878 (timeoutfactor): New variable.
8879 (blacklist_exports): Remove function.
8880 (exports): Remove variable.
8881 (command): Do not include ${exports}.
8882 * manual/install.texi (Configuring and compiling): Do not mention
8883 test wrappers preserving environment variables. Mention that last
8884 assignment to a variable must take precedence.
8885 * INSTALL: Regenerated.
8886 * benchtests/Makefile (run-bench): Use $(run-program-env).
8887 * catgets/Makefile ($(objpfx)test1.cat): Use
8888 $(built-program-cmd-before-env), $(run-program-env) and
8889 $(built-program-cmd-after-env).
8890 ($(objpfx)test2.cat): Do not specify environment variables
8892 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8893 $(run-program-env) and $(built-program-cmd-after-env).
8894 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8895 $(run-program-env) and $(test-program-cmd-after-env).
8896 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8898 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8899 run_program_env and test_program_cmd_after_env arguments.
8900 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8901 * elf/tst-pathopt.sh: Use run_program_env argument.
8902 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8903 $(test-wrapper-env) and $(run-program-env).
8904 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8905 run_program_env arguments.
8906 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8907 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8908 $(test-program-prefix-before-env), $(run-program-env) and
8909 $(test-program-prefix-after-env).
8910 ($(objpfx)tst-gettext2.out): Likewise.
8911 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8912 run_program_env and test_program_prefix_after_env arguments.
8913 * intl/tst-gettext2.sh: Likewise.
8914 * intl/tst-gettext4.sh: Do not set environment variables
8916 * intl/tst-gettext6.sh: Likewise.
8917 * intl/tst-translit.sh: Likewise.
8918 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8919 $(test-program-prefix-before-env), $(run-program-env) and
8920 $(test-program-prefix-after-env).
8921 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8922 run_program_env and test_program_prefix_after_env arguments.
8923 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8924 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8925 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8926 explicitly with each use of ${test_wrapper_env}.
8927 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8928 $(test-program-prefix-before-env), $(run-program-env) and
8929 $(test-program-prefix-after-env).
8930 * posix/tst-getconf.sh: Do not set environment variables
8932 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8933 run_program_env and test_program_prefix_after_env arguments.
8934 * stdio-common/tst-printf.sh: Do not set environment variables
8936 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8937 $(test-program-prefix-before-env), $(run-program-env) and
8938 $(test-program-prefix-after-env).
8939 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8940 run_program_env and test_program_prefix_after_env arguments.
8941 Split $test calls into $test_pre and $test.
8942 * timezone/Makefile (build-testdata): Use
8943 $(built-program-cmd-before-env), $(run-program-env) and
8944 $(built-program-cmd-after-env).
8946 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8948 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8949 strlen for non SHARED builds.
8951 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8953 * nptl/allocatestack.c (check_list): Inlined function...
8954 (__reclaim_stacks): ... here.
8956 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8959 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8962 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8964 * Rules (make-test-out): Include
8965 LOCPATH=$(common-objpfx)localedata in default environment.
8966 * debug/Makefile (tst-chk1-ENV): Remove variable.
8967 (tst-chk2-ENV): Likewise.
8968 (tst-chk3-ENV): Likewise.
8969 (tst-chk4-ENV): Likewise.
8970 (tst-chk5-ENV): Likewise.
8971 (tst-chk6-ENV): Likewise.
8972 (tst-lfschk1-ENV): Likewise.
8973 (tst-lfschk2-ENV): Likewise.
8974 (tst-lfschk3-ENV): Likewise.
8975 (tst-lfschk4-ENV): Likewise.
8976 (tst-lfschk5-ENV): Likewise.
8977 (tst-lfschk6-ENV): Likewise.
8978 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8979 (tst-iconv7-ENV): Likewise.
8980 * intl/Makefile (LOCPATH-ENV): Likewise.
8981 (tst-codeset-ENV): Likewise.
8982 (tst-gettext3-ENV): Likewise.
8983 (tst-gettext5-ENV): Likewise.
8984 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8985 (tst-fopenloc-ENV): Likewise.
8986 (tst-fgetws-ENV): Remove variable.
8987 (tst-ungetwc1-ENV): Likewise.
8988 (tst-ungetwc2-ENV): Likewise.
8989 (bug-ungetwc2-ENV): Likewise.
8990 (tst-swscanf-ENV): Likewise.
8991 (bug-ftell-ENV): Likewise.
8992 (tst-fgetwc-ENV): Likewise.
8993 (tst-fseek-ENV): Likewise.
8994 (tst-ftell-partial-wide-ENV): Likewise.
8995 (tst-ftell-active-handler-ENV): Likewise.
8996 (tst-ftell-append-ENV): Likewise.
8997 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8998 (tst-regexloc-ENV): Likewise.
8999 (bug-regex1-ENV): Likewise.
9000 (tst-regex-ENV): Likewise.
9001 (tst-regex2-ENV): Likewise.
9002 (bug-regex5-ENV): Likewise.
9003 (bug-regex6-ENV): Likewise.
9004 (bug-regex17-ENV): Likewise.
9005 (bug-regex18-ENV): Likewise.
9006 (bug-regex19-ENV): Likewise.
9007 (bug-regex20-ENV): Likewise.
9008 (bug-regex22-ENV): Likewise.
9009 (bug-regex23-ENV): Likewise.
9010 (bug-regex25-ENV): Likewise.
9011 (bug-regex26-ENV): Likewise.
9012 (bug-regex30-ENV): Likewise.
9013 (bug-regex32-ENV): Likewise.
9014 (bug-regex33-ENV): Likewise.
9015 (bug-regex34-ENV): Likewise.
9016 (bug-regex35-ENV): Likewise.
9017 (tst-rxspencer-ENV): Likewise.
9018 (tst-rxspencer-no-utf8-ENV): Likewise.
9019 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9020 (tst-sscanf-ENV): Likewise.
9021 (tst-swprintf-ENV): Likewise.
9022 (tst-swscanf-ENV): Likewise.
9023 (test-vfprintf-ENV): Likewise.
9024 (scanf13-ENV): Likewise.
9025 (bug14-ENV): Likewise.
9026 (tst-grouping-ENV): Likewise.
9027 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9028 (tst-strtod3-ENV): Likewise.
9029 (tst-strtod4-ENV): Likewise.
9030 (tst-strtod5-ENV): Likewise.
9031 (testmb2-ENV): Likewise./
9032 * string/Makefile (tst-strxfrm-ENV): Likewise.
9033 (tst-strxfrm2-ENV): Likewise.
9034 (bug-strcoll1-ENV): Likewise.
9035 (test-strcasecmp-ENV): Likewise.
9036 (test-strncasecmp-ENV): Likewise.
9037 * time/Makefile (tst-strptime-ENV): Likewise.
9038 (tst-ftime_l-ENV): Likewise.
9039 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9040 (tst-mbrtowc-ENV): Likewise.
9041 (tst-wcrtomb-ENV): Likewise.
9042 (tst-mbrtowc2-ENV): Likewise.
9043 (tst-c16c32-1-ENV): Likewise.
9044 (tst-mbsnrtowcs-ENV): Likewise.
9046 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9048 * manual/resource.texi (How to get information about the memory
9049 subsystem?): Fix typo.
9050 Reported by Peon de la Parra Ivan <peon@keba.com>
9052 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9055 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9056 (pthread_spin_lock): Branch out of spin loop to proper location.
9057 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9058 (pthread_spin_lock): Likewise.
9060 * nptl/tst-spin4.c: New test.
9061 * nptl/Makefile (tests): Add tst-spin4.
9063 2014-06-03 Andreas Schwab <schwab@suse.de>
9066 * resolv/res_send.c (send_dg): Reload file descriptor after
9069 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9071 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9073 2014-06-03 Richard Henderson <rth@redhat.com>
9075 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9076 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9077 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9078 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9079 in the SAVE_PID block.
9080 (__libc_vfork): New alias.
9081 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9083 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9084 child in registers, not on the stack. Remove RESET_PID conditionals.
9085 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9087 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9089 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9091 2014-06-03 Wilco <wdijkstr@arm.com>
9093 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9094 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9095 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9096 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9097 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9100 2014-06-03 Wilco <wdijkstr@arm.com>
9102 * sysdeps/aarch64/fpu/math_private.h
9103 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9104 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9105 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9106 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9109 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9111 * crypt/crypt-private.h: Include ufc-crypt.h.
9112 (__b64_from_24bit): Declare extern.
9113 * crypt/crypt_util.c(__b64_from_24bit): New function.
9114 (b64t): New static const variable.
9115 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9116 (b64t): Remove variable.
9117 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9118 * crypt/sha256-crypt.c: Include crypt-private.h.
9119 (b64t): Remove variable.
9120 (__sha256_crypt_r): Remove b64_from_24bit and replace
9121 with __b64_from_24bit.
9122 * crypt/sha512-crypt.c: Likewise.
9124 2014-06-02 Roland McGrath <roland@hack.frob.com>
9126 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9127 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9128 Label the code __libc_vfork rather than __vfork.
9129 [!NOT_IN_libc] (vfork): Define as weak alias.
9130 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9131 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9132 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9134 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9136 * malloc/malloc.c (malloc_info): Fix format specifier for
9139 2014-06-02 Wilco <wdijkstr@arm.com>
9141 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9144 2014-06-02 Wilco <wdijkstr@arm.com>
9147 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9148 Rewrite to reduce FPCR/FPSR accesses.
9150 2014-06-01 David S. Miller <davem@davemloft.net>
9152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9154 2014-05-31 David S. Miller <davem@davemloft.net>
9156 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9157 to occur in round to nearest mode when |x| >= 2.0
9159 2014-05-30 Richard Henderson <rth@twiddle.net>
9161 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9162 (PSEUDO_RET_NOERRNO): Remove.
9163 (ret): Don't redefine.
9164 (ret_NOERRNO): Define in terms of ret.
9165 (ret_ERRVAL): Likewise.
9167 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9168 use of PSEUDO_RET; perform the error check directly.
9170 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9172 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9175 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9177 * malloc/malloc (malloc_info): Fix formatting.
9179 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9180 Roland McGrath <roland@hack.frob.com>
9182 * malloc/malloc (malloc_info): Also print mmapped statistics.
9184 2014-05-30 Roland McGrath <roland@hack.frob.com>
9186 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9187 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9189 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9191 * malloc/malloc.c (malloc_info): Inline mi_arena.
9193 2014-05-29 Richard Henderson <rth@twiddle.net>
9195 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9196 Remove comma before expanding ASM_ARGS_##nr.
9197 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9198 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9200 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9201 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9202 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9203 (ASM_ARGS_1): Add leading comma.
9205 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9206 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9207 to __errno_location.
9208 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9209 Remove the expected plt for __errno_location.
9211 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9212 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9215 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9216 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9217 it and break it down.
9218 (DOCARGS_0, DOCARGS_1): Do nothing.
9219 (DOCARGS_2): Update to store into the new stack frame.
9220 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9221 (UNDOCARGS_1): Update to restore from the new stack frame.
9222 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9223 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9225 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9226 (SINGLE_THREAD_P): New parameter for result regno.
9227 (PSEUDO): Update to match; use cbz instead of beq.
9229 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9230 Use ENTRY to define the _nocancel entry point. Share the syscall
9231 and syscall error check paths with the cancel path.
9234 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9235 whitespace; tabs before and after asm mnemonics.
9237 2014-05-29 Eric Wong <normalperson@yhbt.net>
9240 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9241 Call fstat64 or stat64 internally, depending on arguments passed.
9242 Replace stat buffer argument with file descriptor argument.
9243 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9244 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9245 Pass fd to __internal_statvfs instead of calling fstat64.
9246 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9247 Pass fd to __internal_statvfs64 instead of calling fstat64.
9248 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9249 Pass -1 to __internal_statvfs instead of calling stat64.
9250 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9251 Pass -1 to __internal_statvfs64 instead of calling stat64.
9253 2014-05-28 Roland McGrath <roland@hack.frob.com>
9255 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9256 that was previously under [RESET_PID].
9257 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9259 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9260 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9262 2014-05-27 Roland McGrath <roland@hack.frob.com>
9264 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9266 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9267 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9269 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9271 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9273 2014-05-27 Andreas Schwab <schwab@suse.de>
9275 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9277 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9278 * elf/rtld.c (init_tls, dl_main): Likewise.
9279 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9280 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9281 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9282 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9283 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9284 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9285 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9286 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9287 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9288 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9289 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9290 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9291 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9292 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9293 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9294 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9295 * sysdeps/generic/tls.h: Update description.
9297 2014-05-27 Will Newton <will.newton@linaro.org>
9300 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9301 and restore r2 rather than just restoring.
9303 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9306 * libio/tst-ftell-append.c: New test case.
9307 * libio/Makefile (tests): Add test case.
9308 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9310 * libio/wfileops.c (do_ftell_wide): Likewise.
9312 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9316 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9320 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9321 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9323 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9325 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9333 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9335 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9338 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9341 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9343 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9345 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9346 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9347 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9350 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9352 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9360 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9363 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9367 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9375 conditional [RESET_PID].
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9377 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9384 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9385 (__libc_vfork): New strong alias.
9386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9393 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9394 (__libc_vfork): New strong alias.
9395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9400 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9402 * malloc/malloc.c (mi_arena): New function.
9403 (malloc_info): Remove nested function mi_arena. Call non-nosted
9406 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9408 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9410 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9411 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9412 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9413 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9414 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9415 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9416 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9418 2014-05-26 Andreas Schwab <schwab@suse.de>
9421 * locale/programs/repertoire.c (repertoire_read): Add slash
9422 between I18NPATH element and file name.
9423 * locale/programs/locfile.c (locfile_read): Likewise.
9425 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9427 * nptl/pthread_mutexattr_settype.c
9428 (__pthread_mutexattr_settype):
9429 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9431 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9433 * nptl/tst-mutex5 (do_test):
9434 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9436 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9438 * benchtests/README: Document 'init' directive.
9439 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9441 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9442 (parse_file): Recognize 'init' directive.
9444 2014-05-26 Kyle McMartin <kyle@redhat.com>
9447 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9448 alignment of struct pthread.
9450 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9453 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9454 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9455 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9456 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9458 2014-05-25 Richard Henderson <rth@twiddle.net>
9460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9461 (SINGLE_THREAD_P_PIC): Remove.
9462 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9463 (SINGLE_THREAD_P_PIC): Remove.
9465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9466 branch to syscall error ...
9468 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9469 from __local_syscall_error to .Lsyscall_error.
9470 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9471 (SYSCALL_ERROR): Update label name.
9473 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9474 Do not use DOARGS/UNDOARGS.
9475 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9476 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9477 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9478 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9479 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9481 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9484 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9485 define if !NOT_IN_libc.
9486 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9487 define with non-default symbol versions.
9489 2014-05-23 Richard Henderson <rth@twiddle.net>
9491 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9492 (vfork, __vfork): Define via compat_symbol.
9494 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9495 [!HAVE_IFUNC] (vfork_compat): Remove.
9496 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9498 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9501 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9502 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9505 2014-05-23 Richard Henderson <rth@twiddle.net>
9507 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9508 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9509 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9510 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9512 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9513 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9514 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9515 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9516 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9517 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9518 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9519 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9520 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9521 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9522 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9523 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9524 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9525 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9526 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9527 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9528 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9529 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9530 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9531 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9532 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9533 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9534 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9535 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9536 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9537 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9538 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9539 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9540 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9541 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9542 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9543 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9544 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9545 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9546 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9547 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9548 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9549 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9550 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9551 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9552 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9553 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9554 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9555 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9556 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9557 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9558 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9559 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9560 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9561 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9562 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9563 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9564 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9565 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9566 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9567 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9569 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9570 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9571 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9572 before exiting on error.
9573 (__libc_vfork): New strong alias.
9574 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9575 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9577 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9578 that was previously under [RESET_PID].
9579 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9581 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9583 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9586 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9587 value when x - 1 is zero.
9588 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9589 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9590 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9591 0.0L for an argument of 1.0L.
9592 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9594 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9595 value when x - 1 is zero.
9596 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9597 * sysdeps/i386/fpu/libm-test-ulps: Update.
9598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9600 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9602 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9603 alphasort and versionsort.
9605 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9607 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9609 [copysignf]: Likewise.
9611 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9613 * crypt/md5-crypt.c: Fix formatting.
9615 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9617 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9618 (b64_from_24bit): New function.
9620 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9622 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9623 libc_hidden_builtin_def to ifunc.
9624 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9625 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9627 2014-05-21 Roland McGrath <roland@hack.frob.com>
9629 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9630 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9632 2014-05-21 Joseph Myers <joseph@codesourcery.com>
9634 * nscd/Depend (linuxthreads): Remove.
9636 * resolv/Depend (linuxthreads): Remove.
9637 * rt/Depend (linuxthreads): Remove.
9639 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9640 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9641 $(common-objpfx)elf/.
9642 (link-libc-before-gnulib): Likewise.
9643 (elfobjdir): Remove variable.
9644 * Makefile (install): Use $(elf-objpfx) instead of
9645 $(common-objpfx)elf/.
9646 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9648 (link-libc-deps): Likewise.
9649 ($(common-objpfx)libc.so): Likewise.
9650 ($(common-objpfx)linkobj/libc.so): Likewise.
9651 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9652 instead of $(common-objpfx)elf/.
9653 (symbolic-link-list): Likewise.
9654 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9655 [$(cross-compiling) = no]: Likewise.
9656 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9658 (static-gnulib-arch): Likewise.
9659 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9660 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9661 $(common-objpfx)elf/.
9663 2014-05-21 Richard Henderson <rth@redhat.com>
9665 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9666 (SINGLE_THREAD_P): Use the correct width load. Fold
9667 into the ldr offset.
9669 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9670 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9672 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9674 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9675 (libgcc_s_resume): Use __attribute_used__.
9676 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9679 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9681 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9682 optimization when used with float constants.
9684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9686 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9689 * locale/nl_langinfo_l.c: Make direct reference to every
9690 _nl_current_CATEGORY symbol.
9691 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9692 (tests-static): Add tst-langinfo-static.
9693 (tests-special): Add tst-langinfo-static.out.
9694 ($(objpfx)tst-langinfo.out): Redirect output.
9695 ($(objpfx)tst-langinfo-static.out): New.
9696 * localedata/tst-langinfo.sh: Send output to stdout.
9697 * localedata/tst-langinfo-static.c: New file.
9700 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9701 when the shift amount is modulo the limb size.
9703 2014-05-20 Richard Henderson <rth@redhat.com>
9706 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9707 Change type of sa_flags from unsigned int to int.
9710 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9712 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9714 2014-05-20 Will Newton <will.newton@linaro.org>
9716 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9717 Test the return value of the system call in the nocancel case.
9719 2014-05-20 Will Newton <will.newton@linaro.org>
9720 Yvan Roux <yvan.roux@linaro.org>
9722 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9723 #include of asm/ptrace.h.
9724 (PTRACE_GET_THREAD_AREA): Remove #undef.
9725 (PTRACE_GETHBPREGS): Likewise.
9726 (PTRACE_SETHBPREGS): Likewise.
9727 (struct user_regs_struct): New structure.
9728 (struct user_fpsimd_struct): New structure.
9729 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9730 #include of asm/ptrace.h and second #include of sys/user.h.
9731 (PTRACE_GET_THREAD_AREA): Remove #undef.
9732 (PTRACE_GETHBPREGS): Likewise.
9733 (PTRACE_SETHBPREGS): Likewise.
9734 (ELF_NGREG): Use new struct user_regs_struct.
9735 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9737 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9742 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9745 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9746 membar to avoid block loads/stores to overlap previous stores.
9748 2014-05-17 Richard Henderson <rth@redhat.com>
9750 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9751 Create the __##syscall_name##_nocancel entry point.
9752 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9753 Remove; let the sysdep-cancel.h code create it.
9755 2014-05-17 David S. Miller <davem@davemloft.net>
9757 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9758 Protect with __USE_GNU.
9759 (TIOCSET_TEMPT): Likewise.
9760 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9761 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9762 these are already provided in bits/ioctl-types.h
9764 2014-05-16 Roland McGrath <roland@hack.frob.com>
9766 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9767 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9769 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9770 Use wait4 regardless of [__NR_waitpid].
9772 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9775 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9776 (_FP_NANSIGN_Q): Set the quiet bit.
9778 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9780 * benchtests/Makefile
9781 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9782 not $(common-objpfx)math/libm.so.
9783 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9784 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9785 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9786 $(common-objpfx)dlfcn/libdl.so.
9787 ($(objpfx)tst-audit8): Depend on $(libm), not
9788 $(common-objpfx)math/libm.so.
9789 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9790 not $(common-objpfx)dlfcn/libdl.so.
9792 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9793 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9794 [$(build-shared) = yes].
9795 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9796 $(common-objpfx)nptl/libpthread.so.
9797 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9798 $(common-objpfx)math/libm.so$(libm.so-version) or
9799 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9800 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9801 $(common-objpfx)dlfcn/libdl.so.
9802 * setjmp/Makefile (link-libm): Remove variable.
9803 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9804 * stdio-common/Makefile (link-libm): Remove variable.
9805 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9806 * stdlib/Makefile (link-libm): Remove variable.
9807 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9808 ($(objpfx)tst-strtod-round): Likewise.
9809 ($(objpfx)tst-tininess): Likewise.
9810 ($(objpfx)tst-strtod-underflow): Likewise.
9811 ($(objpfx)tst-strtod6): Likewise.
9812 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9813 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9814 $(common-objpfx)dlfcn/libdl.so.
9816 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9818 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9819 BSD terminal modes definitions.
9821 2014-05-16 Roland McGrath <roland@hack.frob.com>
9823 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9824 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9826 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9827 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9828 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9829 Don't do #include_next.
9830 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9831 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9832 Don't do #include_next.
9833 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9834 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9835 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9836 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9838 2014-05-16 Allan McRae <allan@archlinux.org>
9840 * po/sv.po: Update Swedish translation from translation project.
9842 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9845 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9848 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9849 errno if the TIOCGPTN ioctl fails with an error different than
9851 * login/tst-ptsname.c: New file.
9852 * login/Makefile (tests): Add tst-ptsname.
9855 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9858 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9862 herrno to return EAI_AGAIN.
9864 2014-05-14 Roland McGrath <roland@hack.frob.com>
9866 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9867 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9868 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9869 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9871 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9872 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9873 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9875 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9876 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9877 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9879 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9880 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9881 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9882 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9883 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9885 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9886 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9887 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9888 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9889 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9891 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9893 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9895 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9897 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9902 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9904 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9906 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9908 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9910 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9914 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9916 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9920 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9922 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9924 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9926 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9928 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9931 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9933 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9935 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9937 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9939 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9941 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9943 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9945 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9947 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9949 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9952 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9956 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9957 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9958 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9959 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9960 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9961 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9962 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9963 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9964 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9965 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9966 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9967 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9968 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9969 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9970 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9971 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9972 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9973 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9974 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9975 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9976 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9977 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9978 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9979 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9980 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9981 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9982 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9983 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9984 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9985 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9986 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9988 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9989 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9991 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9992 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9993 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9995 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9996 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9998 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9999 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10001 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10002 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10004 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10007 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10008 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10009 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10012 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10013 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10014 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10015 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10016 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10018 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10021 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10022 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10024 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10026 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10027 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10028 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10029 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10030 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10032 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10034 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10036 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10037 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10038 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10039 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10040 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10041 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10043 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10044 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10046 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10047 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10049 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10050 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10052 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10054 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10055 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10057 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10058 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10059 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10060 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10061 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10062 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10063 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10064 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10066 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10069 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10071 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10072 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10073 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10074 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10075 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10077 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10079 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10081 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10082 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10083 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10084 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10085 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10086 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10087 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10088 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10089 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10090 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10092 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10093 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10095 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10096 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10098 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10099 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10101 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10102 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10103 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10104 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10105 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10106 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10108 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10109 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10110 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10112 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10113 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10114 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10115 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10117 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10122 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10123 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10124 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10125 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10126 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10128 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10130 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10133 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10134 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10135 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10136 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10137 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10138 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10139 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10140 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10141 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10142 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10144 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10145 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10147 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10148 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10150 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10151 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10152 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10153 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10154 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10155 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10156 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10157 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10158 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10159 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10160 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10161 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10163 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10164 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10165 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10166 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10169 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10171 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10174 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10175 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10176 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10178 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10183 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10186 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10187 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10188 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10190 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10192 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10193 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10194 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10195 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10196 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10197 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10198 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10199 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10200 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10201 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10202 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10204 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10205 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10206 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10207 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10208 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10210 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10211 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10212 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10213 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10214 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10215 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10216 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10217 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10218 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10219 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10221 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10224 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10225 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10226 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10227 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10228 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10229 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10230 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10231 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10232 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10233 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10234 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10235 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10236 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10237 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10258 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10259 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10261 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10263 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10264 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10265 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10266 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10267 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10268 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10269 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10270 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10271 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10272 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10274 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10275 that was previously under [RESET_PID].
10276 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10277 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10278 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10280 * sysdeps/i386/nptl/Implies: New file.
10281 * sysdeps/x86_64/nptl/Implies: New file.
10282 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10283 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10284 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10285 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10287 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10288 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10289 (__libc_vfork): New strong alias.
10290 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10291 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10293 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10294 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10295 (__libc_vfork): New strong alias.
10296 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10297 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10299 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10300 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10301 (__libc_vfork): New strong alias.
10302 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10303 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10304 * nptl/pt-vfork.c: New file.
10305 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10306 (libpthread: GLIBC_2.20): New version set (empty).
10308 2014-05-14 Will Newton <will.newton@linaro.org>
10310 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10313 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10316 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10317 arguments with exponent 65 or above.
10318 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10319 arguments 0x1p113L or above.
10320 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10321 to arguments 0x1p107L or above.
10322 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10323 positive arguments with exponent 65 or above.
10324 * math/auto-libm-test-in: Add more tests of log1p.
10325 * math/auto-libm-test-out: Regenerated.
10328 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10329 non-finite arguments is +0.
10330 * math/s_cacosf.c (__cacosf): Likewise.
10331 * math/s_cacosl.c (__cacosl): Likewise.
10332 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10339 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10340 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10341 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10342 for explicit high bit of mantissa when testing for argument equal
10344 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10345 * sysdeps/i386/fpu/libm-test-ulps: Update.
10346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10349 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10350 (__erf): Scale by 16 instead of 8 in potentially underflowing
10351 case. Ensure exception if result actually underflows.
10352 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10353 (__erff): Scale by 16 instead of 8 in potentially underflowing
10354 case. Ensure exception if result actually underflows.
10355 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10356 (efx8): Remove variable.
10357 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10358 case. Ensure exception if result actually underflows.
10359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10360 (efx8): Remove variable.
10361 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10362 case. Ensure exception if result actually underflows.
10363 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10364 (efx8): Remove variable.
10365 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10366 case. Ensure exception if result actually underflows.
10367 * math/auto-libm-test-in: Add more tests of erf.
10368 * math/auto-libm-test-out: Regenerated.
10370 2014-05-14 Andreas Schwab <schwab@suse.de>
10372 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10373 Remove code conditionalized on USE___THREAD.
10375 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10376 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10379 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10382 Define unconditionally.
10383 (__ASSUME_O_CLOEXEC): Likewise.
10384 (__ASSUME_SOCK_CLOEXEC): Likewise.
10385 (__ASSUME_IN_NONBLOCK): Likewise.
10386 (__ASSUME_PIPE2): Likewise.
10387 (__ASSUME_EVENTFD2): Likewise.
10388 (__ASSUME_SIGNALFD4): Likewise.
10389 (__ASSUME_DUP3): Likewise.
10390 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10391 (__ASSUME_DUP3): Do not define.
10392 (__ASSUME_EVENTFD2): Likewise.
10393 (__ASSUME_IN_NONBLOCK): Likewise.
10394 (__ASSUME_O_CLOEXEC): Likewise.
10395 (__ASSUME_PIPE2): Likewise.
10396 (__ASSUME_SIGNALFD4): Likewise.
10397 (__ASSUME_SOCK_CLOEXEC): Likewise.
10398 (__ASSUME_UTIMES): Undefine.
10399 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10400 (__ASSUME_UTIMES): Do not define.
10401 (__ASSUME_O_CLOEXEC): Likewise.
10402 (__ASSUME_SOCK_CLOEXEC): Likewise.
10403 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10404 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10406 (__ASSUME_PIPE2): Likewise.
10407 (__ASSUME_EVENTFD2): Likewise.
10408 (__ASSUME_SIGNALFD4): Likewise.
10409 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10410 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10412 (__ASSUME_EVENTFD2): Likewise.
10413 (__ASSUME_SIGNALFD4): Likewise.
10414 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10415 (__ASSUME_32BITUIDS): Likewise.
10416 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10417 (__ASSUME_IPC64): Likewise.
10418 (__ASSUME_ST_INO_64_BIT): Likewise.
10419 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10420 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10421 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10422 (__ASSUME_UTIMES): Do not define.
10423 (__ASSUME_PSELECT): Likewise.
10424 (__ASSUME_PPOLL): Likewise.
10425 (__ASSUME_O_CLOEXEC): Likewise.
10426 (__ASSUME_SOCK_CLOEXEC): Likewise.
10427 (__ASSUME_IN_NONBLOCK): Likewise.
10428 (__ASSUME_PIPE2): Likewise.
10429 (__ASSUME_EVENTFD2): Likewise.
10430 (__ASSUME_SIGNALFD4): Likewise.
10431 (__ASSUME_DUP3): Likewise.
10432 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10433 (__ASSUME_UTIMES): Likewise.
10434 (__ASSUME_O_CLOEXEC): Likewise.
10435 (__ASSUME_SOCK_CLOEXEC): Likewise.
10436 (__ASSUME_IN_NONBLOCK): Likewise.
10437 (__ASSUME_PIPE2): Likewise.
10438 (__ASSUME_EVENTFD2): Likewise.
10439 (__ASSUME_SIGNALFD4): Likewise.
10440 (__ASSUME_DUP3): Likewise.
10441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10442 (__ASSUME_UTIMES): Likewise.
10443 (__ASSUME_O_CLOEXEC): Likewise.
10444 (__ASSUME_SOCK_CLOEXEC): Likewise.
10445 (__ASSUME_IN_NONBLOCK): Likewise.
10446 (__ASSUME_PIPE2): Likewise.
10447 (__ASSUME_EVENTFD2): Likewise.
10448 (__ASSUME_SIGNALFD4): Likewise.
10449 (__ASSUME_DUP3): Likewise.
10450 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10452 (__ASSUME_UTIMES): Likewise.
10453 (__ASSUME_EVENTFD2): Likewise.
10454 (__ASSUME_SIGNALFD4): Likewise.
10455 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10456 (__ASSUME_O_CLOEXEC): Likewise.
10457 (__ASSUME_SOCK_CLOEXEC): Likewise.
10458 (__ASSUME_IN_NONBLOCK): Likewise.
10459 (__ASSUME_PIPE2): Likewise.
10460 (__ASSUME_EVENTFD2): Likewise.
10461 (__ASSUME_SIGNALFD4): Likewise.
10462 (__ASSUME_DUP3): Likewise.
10463 (__ASSUME_UTIMES): Undefine.
10465 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10466 feclearexcept. Remove symbol versioning code.
10467 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10468 symbol versioning code.
10469 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10470 symbol versioning code.
10471 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10472 feupdateenv. Remove symbol versioning code.
10473 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10474 fegetexceptflag. Remove symbol versioning code.
10475 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10476 fesetexceptflag. Remove symbol versioning code.
10477 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10478 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10479 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10480 (__posix_fadvise64_l32): Remove prototype.
10481 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10484 2014-05-13 Roland McGrath <roland@hack.frob.com>
10486 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10487 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10488 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10489 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10491 2014-05-13 Sami Kerola <kerolasa@iki.fi>
10493 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10494 current working directory
10496 2014-05-13 Roland McGrath <roland@hack.frob.com>
10498 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10499 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10500 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10501 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10502 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10503 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10504 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10505 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10506 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10507 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10508 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10509 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10510 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10511 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10512 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10513 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10514 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10515 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10516 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10517 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10518 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10519 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10520 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10523 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10524 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10525 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10526 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10527 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10529 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10530 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10531 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10532 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10533 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10534 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10535 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10536 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10537 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10538 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10539 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10541 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10542 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10544 * sysdeps/unix/sysv/linux/arm/Makefile
10545 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10546 Add rt-aeabi_unwind_cpp_pr1.
10547 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10548 Add nptl-aeabi_unwind_cpp_pr1.
10549 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10550 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10551 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10552 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10553 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10554 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10556 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10557 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10558 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10559 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10561 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10562 Deconditionalize the code that was previously under [RESET_PID].
10563 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10565 * sysdeps/generic/exit-thread.h: New file.
10566 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10567 * include/unistd.h (__exit_thread): Remove declaration.
10568 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10569 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10570 * csu/libc-start.c: Include <exit-thread.h>.
10571 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10572 * nptl/pthread_create.c: Include <exit-thread.h>.
10573 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10574 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10575 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10576 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10577 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10578 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10579 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10580 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10581 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10582 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10583 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10584 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10585 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10586 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10587 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10588 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10589 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10591 2014-05-13 Andreas Schwab <schwab@suse.de>
10593 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10595 2014-05-12 Joseph Myers <joseph@codesourcery.com>
10597 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10598 (__ASSUME_UTIMES): Do not condition on kernel version.
10599 (__ASSUME_PSELECT): Define unconditionally.
10600 (__ASSUME_PPOLL): Likewise.
10601 (__ASSUME_ATFCTS): Likewise.
10602 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10603 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10604 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10605 (__ASSUME_UTIMENSAT): Define unconditionally.
10606 (__ASSUME_PRIVATE_FUTEX): Likewise.
10607 (__ASSUME_FALLOCATE): Likewise.
10608 (__ASSUME_O_CLOEXEC): Likewise.
10609 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10610 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10611 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10612 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10613 (__ASSUME_IN_NONBLOCK): Likewise.
10614 (__ASSUME_PIPE2): Likewise.
10615 (__ASSUME_EVENTFD2): Likewise.
10616 (__ASSUME_SIGNALFD4): Likewise.
10617 (__ASSUME_DUP3): Likewise.
10618 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10619 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10620 (__ASSUME_AT_RANDOM): Likewise.
10621 (__ASSUME_PREADV): Likewise.
10622 (__ASSUME_PWRITEV): Likewise.
10623 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10624 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10625 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10626 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10627 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10628 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10629 (__ASSUME_O_CLOEXEC): Define unconditionally.
10630 (__ASSUME_PSELECT): Do not undefine conditionally.
10631 (__ASSUME_PPOLL): Likewise.
10632 (__ASSUME_ATFCTS): Likewise.
10633 (__ASSUME_SET_ROBUST_LIST): Likewise.
10634 (__ASSUME_UTIMENSAT): Likewise.
10635 (__ASSUME_FDATASYNC): Define unconditionally.
10636 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10637 (__ASSUME_SIGFRAME_V2): Likewise.
10638 )__ASSUME_EVENTFD2): Likewise.
10639 (__ASSUME_SIGNALFD4): Likewise.
10640 (__ASSUME_PSELECT): Do not undefine conditionally.
10641 (__ASSUME_PPOLL): Likewise.
10642 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10643 (__ASSUME_PSELECT): Define unconditionally.
10644 (__ASSUME_PPOLL): Likewise.
10645 (__ASSUME_O_CLOEXEC): Likewise.
10646 (__ASSUME_SOCK_CLOEXEC): Likewise.
10647 (__ASSUME_IN_NONBLOCK): Likewise.
10648 (__ASSUME_PIPE2): Likewise.
10649 (__ASSUME_EVENTFD2): Likewise.
10650 (__ASSUME_SIGNALFD4): Likewise.
10651 (__ASSUME_DUP3): Likewise.
10652 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10653 (__ASSUME_O_CLOEXEC): Likewise.
10654 (__ASSUME_SOCK_CLOEXEC): Likewise.
10655 (__ASSUME_IN_NONBLOCK): Likewise.
10656 (__ASSUME_PIPE2): Likewise.
10657 (__ASSUME_EVENTFD2): Likewise.
10658 (__ASSUME_SIGNALFD4): Likewise.
10659 (__ASSUME_DUP3): Likewise.
10660 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10661 (__ASSUME_EVENTFD2): Likewise.
10662 (__ASSUME_SIGNALFD4): Likewise.
10663 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10665 2014-05-12 Andreas Schwab <schwab@suse.de>
10668 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10669 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10670 than maximum RPC packet size.
10671 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10672 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10673 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10674 (_nss_nis_getservbyport_r): Likewise.
10676 2014-05-12 Will Newton <will.newton@linaro.org>
10678 * malloc/Makefile (tests): Add tst-mallopt.
10679 * malloc/tst-mallopt.c: New file.
10681 2014-05-09 Roland McGrath <roland@hack.frob.com>
10683 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10684 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10686 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10688 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10689 (tst-tlsmod6.so): Likewise.
10691 2014-05-09 Roland McGrath <roland@hack.frob.com>
10693 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10695 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10698 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10699 and <dl-procinfo.h>.
10700 (__fegetenv): Save SSE state in envp->__eip if supported.
10701 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10702 envp->__eip if supported.
10703 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10704 and <dl-procinfo.h>.
10705 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10706 __data_offset and __data_selector in environment to 0. Set SSE
10707 state if supported.
10708 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10710 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10712 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10714 2014-05-09 Will Newton <will.newton@linaro.org>
10716 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10717 and libc_relro_required for ARM.
10718 * sysdeps/arm/preconfigure: Regenerate.
10720 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10721 Stefan Liebler <stli@linux.vnet.ibm.com>
10723 * config.make.in (enable-lock-elision): New Makefile variable.
10724 * configure.ac: Likewise.
10725 * configure: Regenerate.
10726 * sysdeps/s390/configure.ac:
10727 Add check for gcc transactions support.
10728 * sysdeps/s390/configure: Regenerate.
10729 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10730 Build elision files if enabled.
10731 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10732 Add lock elision support for s390.
10733 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10734 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10735 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10736 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10737 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10738 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10739 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10741 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10743 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10745 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10747 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10748 (__lll_timedlock_elision, __lll_lock_elision)
10749 (__lll_unlock_elision, __lll_trylock_elision)
10750 (lll_timedlock_elision, lll_lock_elision)
10751 (lll_unlock_elision, lll_trylock_elision): Add.
10752 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10753 (pthread_mutex_t): Add lock elision support for s390.
10755 2014-05-14 Wilco <wdijkstr@arm.com>
10757 * sysdeps/arm/fclrexcpt.c: Cleanup.
10758 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10759 * sysdeps/arm/feenablxcpt.c: Cleanup.
10760 * sysdeps/arm/fegetenv.c: Cleanup.
10761 * sysdeps/arm/fegetexcept.c: Cleanup.
10762 * sysdeps/arm/fegetround.c: Cleanup.
10763 * sysdeps/arm/feholdexcpt.c: Cleanup.
10764 * sysdeps/arm/fesetenv.c: Cleanup.
10765 * sysdeps/arm/fesetround.c: Cleanup.
10766 * sysdeps/arm/feupdateenv.c: Cleanup.
10767 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10768 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10769 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10770 * sysdeps/arm/ftestexcept.c: Cleanup.
10771 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10772 * sysdeps/arm/setfpucw.c: Cleanup.
10774 2014-05-09 Will Newton <will.newton@linaro.org>
10776 * sysdeps/arm/armv7/strcmp.S: New file.
10777 * NEWS: Mention addition of ARMv7 optimized strcmp.
10779 2014-05-08 Roland McGrath <roland@hack.frob.com>
10781 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10782 look for %.ac rather than %.in.
10784 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10785 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10786 * sysdeps/mach/hurd/configure: Regenerated.
10787 * sysdeps/unix/sysv/linux/configure: Regenerated.
10789 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10791 2014-05-07 Steve Ellcey <sellcey@mips.com>
10794 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10798 2014-05-07 Andreas Schwab <schwab@suse.de>
10800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10801 when skipping over non-matching result from nscd.
10803 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10806 * nptl/sockperf.c (client): Check socket return value.
10809 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10810 nscd security class.
10812 2014-05-06 Roland McGrath <roland@hack.frob.com>
10814 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10815 * sysdeps/arm/unwind.h: ... here.
10817 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10820 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10823 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10825 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10826 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10827 multiarch strncpy for PPC64.
10828 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10829 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10831 multiarch optimizations.
10832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10833 (__libc_ifunc_impl_list): Likewise.
10834 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10835 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10836 multiarch stpncpy for PPC64.
10837 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10838 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10840 2014-05-06 Andreas Schwab <schwab@suse.de>
10843 * gmon/mcount.c (_MCOUNT_DECL): Use
10844 atomic_compare_and_exchange_bool_acq instead of
10845 catomic_compare_and_exchange_bool_acq.
10847 2014-05-05 Roland McGrath <roland@hack.frob.com>
10849 * elf/Makefile (others, install-bin): Remove pldd.
10850 (pldd-modules): Variable removed.
10851 ($(objpfx)pldd): Target removed.
10852 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10853 (others, install-bin): Append pldd here.
10854 ($(objpfx)pldd): New target.
10856 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10857 to 0, so the first #if test emitted later doesn't see it undefined.
10858 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10859 * sysdeps/gnu/errlist.c: Regenerated.
10861 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10863 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10864 [libc_hidden_builtin_def]: Define to empty value.
10865 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10866 [libc_hidden_builtin_def]: Likewise.
10867 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10868 [libc_hidden_builtin_def]: Likewise.
10869 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10870 [libc_hidden_builtin_def]: Likewise.
10871 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10872 __redirect_memcpy and define ifunc as default hidden symbol.
10873 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10874 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10876 2014-05-04 Adam Conrad <adconrad@0c3.net>
10878 * locale/iso-4217.def: Reintroduce XDR currency.
10880 2014-05-04 Allan McRae <allan@archlinux.org>
10882 * po/eo.po: Update Esperanto translation from translation project.
10884 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10886 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10887 and FEATURE_INDEX_MAX to 1.
10888 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10890 2014-05-01 Steve Ellcey <sellcey@mips.com>
10892 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10893 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10894 * iconvdata/big5.c (ONE_DIRECTION): Define.
10895 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10896 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10897 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10898 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10899 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10900 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10901 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10902 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10903 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10904 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10905 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10906 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10907 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10908 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10909 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10910 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10911 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10912 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10913 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10914 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10915 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10916 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10917 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10918 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10919 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10920 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10921 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10922 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10923 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10924 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10925 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10926 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10927 * iconvdata/johab.c (ONE_DIRECTION): Define.
10928 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10929 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10930 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10931 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10932 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10933 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10934 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10935 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10936 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10937 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10939 2014-05-01 Roland McGrath <roland@hack.frob.com>
10941 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10942 (_IO_JUMPS_OFFSET): Define to 0.
10944 * nptl/sysdeps/pthread/bits/libc-lock.h
10945 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10946 (__libc_lock_define_initialized_recursive): Always define using
10947 initializer. Modern compilers treat uninitialized (implicit zero) and
10948 explicit zero initializers the same (i.e. put the datum in bss).
10950 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10952 * nscd/nscd-client.h: Include <string.h>.
10954 2014-05-01 David S. Miller <davem@davemloft.net>
10957 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10958 multiple zero bytes exist at the end of a string.
10959 Reported by Aurelien Jarno <aurelien@aurel32.net>
10961 * string/test-strcmp.c (check): Add explicit test for situations where
10962 there are multiple zero bytes after the first.
10964 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10967 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10968 when compiling wprintf.
10969 * stdio-common/tstdiomisc.c (t3): New function.
10972 2014-05-01 Steve Ellcey <sellcey@mips.com>
10974 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10975 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10976 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10977 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10979 2014-05-01 Steve Ellcey <sellcey@mips.com>
10981 * stdlib/longlong.h: Updated from GCC.
10983 2014-05-01 Will Newton <will.newton@linaro.org>
10984 Bernard Ogden <bernie.ogden@linaro.org>
10986 * NEWS: Update fixed bug list.
10989 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10991 2014-04-30 David S. Miller <davem@davemloft.net>
10993 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10994 (libc_feholdexcept_setround_sparc_ctx): New function.
10995 (libc_fesetenv_sparc_ctx): Likewise.
10996 (libc_feupdateenv_sparc_ctx): Likewise.
10997 (libc_feholdsetround_sparc_ctx): Likewise.
10998 (libc_feholdexcept_setround_ctx): Define.
10999 (libc_feholdexcept_setroundf_ctx): Likewise.
11000 (libc_feholdexcept_setroundl_ctx): Likewise.
11001 (libc_fesetenv_ctx): Likewise.
11002 (libc_fesetenvf_ctx): Likewise.
11003 (libc_fesetenvl_ctx): Likewise.
11004 (libc_feupdateenv_ctx): Likewise.
11005 (libc_feupdateenvf_ctx): Likewise.
11006 (libc_feupdateenvl_ctx): Likewise.
11007 (libc_feresetround_ctx): Likewise.
11008 (libc_feresetroundf_ctx): Likewise.
11009 (libc_feresetroundl_ctx): Likewise.
11010 (libc_feholdsetround_ctx): Likewise.
11011 (libc_feholdsetroundf_ctx): Likewise.
11012 (libc_feholdsetroundl_ctx): Likewise.
11014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11015 with __USE_GNU instead of XOPEN cpp guards.
11017 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11021 with XOPEN cpp guards.
11023 2014-04-30 Julian Brown <julian@codesourcery.com>
11026 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11029 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11032 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11034 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11035 * sysdeps/unix/sysv/linux/configure: Regenerated.
11036 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11037 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11038 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11039 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11040 * README: Update reference to required Linux kernel version.
11041 * manual/install.texi (Linux): Update reference to required Linux
11042 kernel headers version.
11043 * INSTALL: Regenerated.
11045 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11047 [POSIX] (limits.h): Likewise.
11048 [POSIX] (math.h): Likewise.
11049 [POSIX] (sys/wait.h): Likewise.
11050 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11052 [POSIX] (stddef.h): Do not allow header inclusion.
11054 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11056 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11058 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11060 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11061 Return immediately after lll_futex_wake.
11063 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11066 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11068 (datahead_init_pos): Call datahead_init_common early.
11069 (datahead_init_neg): Likewise.
11071 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11072 datahead_init_neg): New functions.
11073 * nscd/aicache.c (addhstaiX): Use them.
11074 * nscd/grpcache.c (cache_addgr): Likewise.
11075 * nscd/hstcache.c (cache_addhst): Likewise.
11076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11077 * nscd/netgroupcache.c (do_notfound): Likewise.
11078 (addgetnetgrentX): Likewise.
11079 (addinnetgrX): Likewise.
11080 * nscd/pwdcache.c (cache_addpw): Likewise.
11081 * nscd/servicescache.c (cache_addserv): Likewise.
11083 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11084 Atsushi Onoe <atsushi@onoe.org>
11089 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11090 one response is valid.
11091 * resolv/res_send.c (send_dg): Check for validity of other
11092 response if the current response is a referral.
11094 2014-04-29 Steve Ellcey <sellcey@mips.com>
11096 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11098 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11101 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11102 Always divide by positive zero when computing -Inf result.
11103 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11104 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11106 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11108 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11109 FPSCR if value do not change.
11110 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11111 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11112 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11113 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11114 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11115 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11118 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11120 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11121 * sysdeps/unix/sysv/linux/hppa: Move directory from
11122 ports/systeps/unix/sysv/linux/hppa.
11123 * README: Update listing for hppa-*-linux-gnu.
11125 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11128 * manual/stdio.texi (Hook functions): Fix types of stream hook
11131 * socket/sys/socket.h: Fix typo in comment.
11133 2014-04-28 Wilco <wdijkstr@arm.com>
11135 * sysdeps/arm/fenv_private.h: New file.
11136 * sysdeps/arm/math_private.h: New file.
11137 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11139 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11141 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11143 (La_x86_64_retval): Likewise.
11145 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11147 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11148 fpsr if value didn't change.
11149 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11150 to fpcr if value didn't change.
11151 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11152 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11153 fpsr or fpcr if value didn't change.
11154 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11155 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11156 fpcr if value didn't change.
11157 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11158 to fpsr if value didn't change.
11160 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11162 * nptl/tst-sem3.c: Use test-skeleton.c
11163 (main): Rename to do_test. Use return instead of
11165 * nptl/tst-sem4.c: Use test-skeleton.c
11166 (main): Rename to do_test.
11168 2014-04-22 David S. Miller <davem@davemloft.net>
11170 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11171 (struct sigaction): New struct member __glibc_reserved0, change
11172 type of sa_flags to int.
11174 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11176 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11177 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11179 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11181 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11182 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11184 2014-04-22 Will Newton <will.newton@linaro.org>
11185 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11187 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11188 (__longjmp): Add longjmp and longjmp_target SystemTap
11190 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11191 (__sigsetjmp): Add setjmp SystemTap probe.
11193 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11195 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11196 match manual order.
11198 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11200 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11202 * sysdeps/powerpc/fpu/fenv_private.h
11203 (libc_feholdexcept_setroundl_ctx): Define to
11204 libc_feholdexcept_setround_ppc_ctx.
11205 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11206 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11207 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11208 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11210 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11212 * sysdeps/aarch64/math-tests.h: New file.
11214 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11216 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11219 Check and set bit_AVX2_Usable.
11220 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11222 (bit_AVX2): Likewise.
11223 (index_AVX2_Usable): Likewise.
11224 (CPUID_AVX2): Likewise.
11225 (HAS_AVX2): Likewise.
11227 2014-04-17 Will Newton <will.newton@linaro.org>
11229 * manual/setjmp.texi (System V contexts): Add note that
11230 calling setcontext on a context created by a call to a
11231 signal handler is undefined. Update text to note that
11232 setcontext from a signal handler is possible but not
11236 * stdlib/tst-setcontext.c: Include signal.h.
11237 (main): Check that the signal stack before and
11238 after swapcontext is the same.
11240 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11241 Re-implement to restore registers in user code and avoid
11242 rt_sigreturn system call.
11244 2014-04-17 Wilco <wdijkstr@arm.com>
11246 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11247 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11248 * math/test-fenv.c: Skip exception trap tests on targets which only
11249 support non-stop mode.
11251 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11252 Wilco Dijkstra <wilco.dijkstra@arm.com>
11254 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11255 (libc_feholdsetround_aarch64_ctx)
11256 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11257 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11258 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11259 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11260 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11261 (libc_feresetround_noexl_ctx): Define.
11263 2014-04-16 Richard Henderson <rth@redhat.com>
11265 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11267 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11270 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11271 const from the non-libc, non-ldso copy.
11273 * sysdeps/alpha/libm-test-ulps: Regenerate.
11275 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11276 Wilco Dijkstra <wilco.dijkstra@arm.com>
11278 * sysdeps/aarch64/fpu/math_private.h: New file.
11280 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11282 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11284 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11287 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11288 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11290 Intel MPX bound registers before _dl_profile_fixup.
11291 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11292 registers after _dl_profile_fixup. Save and restore bound
11293 registers bnd0/bnd1 when calling _dl_call_pltexit.
11294 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11295 (LR_BND_OFFSET): Likewise.
11296 (LRV_BND0_OFFSET): Likewise.
11297 (LRV_BND1_OFFSET): Likewise.
11299 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11301 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11303 * sysdeps/mach/hurd/i386/tls.h: ... here.
11304 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11305 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11308 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11310 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11312 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11314 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11316 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11319 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11320 * sysdeps/s390/configure: Regenerate.
11323 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11324 Set round-to-nearest internally to reduce error accumulation.
11326 2014-04-16 Alan Modra <amodra@gmail.com>
11330 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11331 * math/libm-test.inc (frexp_test_data): Add tests.
11332 * NEWS: Update fixed bug list.
11334 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11336 * benchtests/Makefile: Depend on libraries in build directory.
11337 (bench-math): Separate out math tests.
11338 (bench-pthread): Separate out pthread tests.
11339 (bench): Include math and pthread tests.
11341 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11344 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11345 _dl_debug_initialize.
11347 * configure.ac: Remove SELinux header check.
11348 * configure: Regenerate.
11349 * nscd/selinux.c (perms): Array of const char* to permission names.
11350 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11351 default policy. Call string_to_security_class and string_to_av_perm to
11352 translate strings. Enforce default policy and call avs_has_perm with
11353 results of translated strings.
11355 2014-04-13 David S. Miller <davem@davemloft.net>
11357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11359 2014-04-12 Allan McRae <allan@archlinux.org>
11362 * manual/string.texi (Collation Functions): Fix qsort argument
11364 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11366 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11368 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11369 Make the test a no-op if there are no exceptions defined.
11371 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11373 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11374 enable-hardcoded-path-in-tests
11376 2014-04-11 Will Newton <will.newton@linaro.org>
11378 * benchtests/Makefile (extra-objs): Add json-lib.o.
11379 (bench-func): Tidy up JSON output.
11380 * benchtests/bench-skeleton.c: Include json-lib.h.
11381 (main): Use JSON library functions to do output of
11383 * benchtests/bench-timing-type.c (main): Output the
11384 timing type simply, leaving formatting to the user.
11385 * benchtests/json-lib.c: New file.
11386 * benchtests/json-lib.h: Likewise.
11388 2014-04-11 Torvald Riegel <triegel@redhat.com>
11391 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11392 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11393 memory barriers. Add comments.
11394 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11395 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11396 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11397 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11398 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11399 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11401 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11403 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11404 * sysdeps/s390/s390-64/configure.ac: ... this ...
11405 * sysdeps/s390/configure.ac: ... to here.
11406 * sysdeps/s390/s390-32/configure: Delete file.
11407 * sysdeps/s390/s390-64/configure: Delete file.
11408 * sysdeps/s390/configure: Regenerate.
11410 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11412 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11414 2014-04-11 Will Newton <will.newton@linaro.org>
11416 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11417 to zero if it is not defined elsewhere. (mtrim): Test
11418 the value of MALLOC_DEBUG with #if rather than #ifdef.
11420 2014-04-10 Torvald Riegel <triegel@redhat.com>
11422 * benchtests/pthread_once-inputs: New file.
11423 * benchtests/pthread_once-source.c: New file.
11424 * benchtests/README: Update documentation.
11426 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11427 H.J. Lu <hongjiu.lu@intel.com>
11430 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11431 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11432 * sysdeps/x86_64/configure: Regenerated.
11433 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11435 (REGISTER_SAVE_RAX): Likewise.
11436 (REGISTER_SAVE_RCX): Likewise.
11437 (REGISTER_SAVE_RDX): Likewise.
11438 (REGISTER_SAVE_RSI): Likewise.
11439 (REGISTER_SAVE_RDI): Likewise.
11440 (REGISTER_SAVE_R8): Likewise.
11441 (REGISTER_SAVE_R9): Likewise.
11442 (REGISTER_SAVE_BND0): Likewise.
11443 (REGISTER_SAVE_BND1): Likewise.
11444 (REGISTER_SAVE_BND2): Likewise.
11445 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11446 bound registers when calling _dl_fixup.
11448 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11450 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11451 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11453 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11454 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11455 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11456 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11457 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11458 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11459 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11461 2014-04-09 Peter Brett <peter@peter-b.co.uk>
11464 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11465 pathconf(_PC_NAME_MAX).
11467 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11469 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11470 Remove macro usage.
11471 (__PTHREAD_SPINS): Move definition to ...
11472 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11473 (__PTHREAD_SPINS): ... here.
11474 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11475 (__PTHREAD_SPIN): Likewise.
11476 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11477 (__PTHREAD_SPIN): Likewise.
11478 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11479 (__PTHREAD_SPIN): Likewise.
11480 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11481 (__PTHREAD_SPIN): Likewise.
11482 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11483 (__PTHREAD_SPIN): Likewise.
11484 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11485 (__PTHREAD_SPIN): Likewise.
11486 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11487 (__PTHREAD_SPIN): Likewise.
11488 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11489 (__PTHREAD_SPIN): Likewise.
11490 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11491 (__PTHREAD_SPIN): Likewise.
11492 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11493 (__PTHREAD_SPIN): Likewise.
11494 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11495 (__PTHREAD_SPIN): Likewise.
11496 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11497 (__PTHREAD_SPIN): Likewise.
11499 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11500 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11501 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11502 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11504 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11505 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11506 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11507 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11508 correct imply path.
11509 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11510 strlen symbol for non multi-arch builds.
11511 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11512 missing hidden_def and weak_alias.
11514 2014-04-08 Carlos O'Donell <carlos@redhat.com>
11516 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11518 2014-04-07 Will Newton <will.newton@linaro.org>
11520 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11521 and contents. [!_LIBC] Remove #ifndef and contents.
11522 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11523 * string/memccpy.c (__memccpy): Use ANSI prototype.
11524 * string/memfrob.c (memfrob): Likewise.
11525 * string/strcoll.c (STRCOLL): Likewise.
11526 * string/strlen.c (strlen): Likewise.
11527 * string/strtok.c (STRTOK): Likewise.
11528 * string/strcat.c: Remove unused #include of memcopy.h.
11529 (strcat): Use ANSI prototype.
11530 * string/strchr.c: Remove unused #include of memcopy.h.
11531 (strchr): Use ANSI prototype.
11532 * string/strcmp.c: Remove unused #include of memcopy.h.
11533 (strcmp): Use ANSI prototype.
11534 * string/strcpy.c: Remove unused #include of memcopy.h.
11535 (strcpy): Use ANSI prototype.
11537 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11539 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11540 * config.make.in (config-extra-cppflags): Set it from
11541 libc_extra_cppflags.
11542 * configure.ac (libc_extra_cflags): Make it accumulate over
11543 configure fragments.
11544 (libc_extra_cppflags): New flag.
11545 * configure. Regenerate.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11547 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11548 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11552 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11553 result for FE_DOWNWARD rounding mode.
11554 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11558 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11560 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11561 in function argument name.
11563 2014-04-03 David Svoboda <svoboda@cert.org>
11566 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11569 2014-04-03 Roland McGrath <roland@hack.frob.com>
11571 * elf/dl-unmap-segments.h: New file.
11572 * sysdeps/generic/ldsodefs.h
11573 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11574 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11575 * elf/dl-fptr.c: Likewise.
11576 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11577 * sysdeps/aarch64/tlsdesc.c: Likewise.
11578 * sysdeps/arm/tlsdesc.c: Likewise.
11579 * sysdeps/i386/tlsdesc.c: Likewise.
11580 * sysdeps/tile/dl-runtime.c: Likewise.
11581 * sysdeps/x86_64/tlsdesc.c: Likewise.
11582 * elf/dl-load.h: New file.
11583 * elf/dl-load.c: Include it.
11584 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11585 Macros moved to dl-load.h.
11586 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11587 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11588 Use _dl_unmap_segments in place of __munmap.
11589 Break out segment-mapping loop into ...
11590 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11592 2014-04-03 Will Newton <will.newton@linaro.org>
11594 * elf/dl-lookup.c (do_lookup_x): Remove comment
11595 referring to nested function and move variable
11596 declarations down to before first use.
11598 2014-04-02 Joseph Myers <joseph@codesourcery.com>
11602 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11604 * math/s_catanf.c (__catanf): Likewise.
11605 * math/s_catanh.c (__catanh): Likewise.
11606 * math/s_catanhf.c (__catanhf): Likewise.
11607 * math/s_catanhl.c (__catanhl): Likewise.
11608 * math/s_catanl.c (__catanl): Likewise.
11609 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11610 by positive zero when computing -Inf result.
11611 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11612 (catanh_test): Likewise.
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11617 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11618 instead of using underflowing value in computing result.
11619 * math/s_clog10.c (__clog10): Likewise.
11620 * math/s_clog10f.c (__clog10f): Likewise.
11621 * math/s_clog10l.c (__clog10l): Likewise.
11622 * math/s_clogf.c (__clogf): Likewise.
11623 * math/s_clogl.c (__clogl): Likewise.
11624 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11625 (clog10_test): Likewise.
11626 * sysdeps/i386/fpu/libm-test-ulps: Update.
11627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11629 2014-04-02 Alan Modra <amodra@gmail.com>
11632 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11633 output when value is near a power of two. Use int64_t for lx and
11634 remove casts. Use decimal rather than hex exponent constants.
11635 Don't use long double multiplication when double will suffice.
11636 * math/libm-test.inc (nextafter_test_data): Add tests.
11637 * NEWS: Add 16739 and 16786 to bug list.
11639 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11641 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11643 2014-04-01 Will Newton <will.newton@linaro.org>
11645 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11646 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11648 2014-04-01 Florian Weimer <fweimer@redhat.com>
11651 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11652 * nptl/tst-setuid2.c: New file.
11653 * nptl/Makefile (xtests): Add tst-setuid2.
11655 2014-04-01 Alan Modra <amodra@gmail.com>
11658 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11660 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11664 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11665 set errno as appropriate.
11666 * math/w_scalbf.c (__scalbf): Likewise.
11667 * math/w_scalbl.c (__scalbl): Likewise.
11668 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11669 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11670 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11671 Add more NaN tests.
11674 * math/w_atan2.c: Include <errno.h>.
11675 (__atan2): Set errno for result underflowing to zero.
11676 * math/w_atan2f.c: Include <errno.h>.
11677 (__atan2f): Set errno for result underflowing to zero.
11678 * math/w_atan2l.c: Include <errno.h>.
11679 (__atan2l): Set errno for result underflowing to zero.
11680 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11682 * math/auto-libm-test-out: Regenerated.
11684 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11686 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11687 Encode instruction correctly in little endian.
11688 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11690 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11692 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11694 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11697 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/unix/sysv/linux/kernel-features.h
11701 [__sparc__ && !__arch64__ && !__sparc_v9__]
11702 (__ASSUME_SET_ROBUST_LIST): Do not define.
11703 [__sparc__ && !__arch64__ && !__sparc_v9__]
11704 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11705 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11707 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11708 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11709 (__ASSUME_REQUEUE_PI): Likewise.
11710 (__ASSUME_SET_ROBUST_LIST): Likewise.
11711 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11712 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11715 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11717 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11719 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11721 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11722 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11724 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11725 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11729 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11731 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11733 2014-03-31 Will Newton <will.newton@linaro.org>
11735 * benchtests/Makefile (bench): Add ffs and ffsll to list
11737 * benchtests/ffs-inputs: New file.
11738 * benchtests/ffsll-inputs: Likewise.
11740 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11743 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11744 too large before casting to int.
11745 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11746 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11747 * math/libm-test.inc (scalb_test_data): Add more tests.
11749 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11751 * benchtests/Makefile (DETAILED_OPT): New make option.
11752 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11754 * benchtests/bench-skeleton.c: Include stdbool.h.
11755 (main): Store and print timings per input.
11756 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11757 member to each argument value.
11758 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11759 (_print_arg_data): Initialize per-input timing to 0.
11761 * benchtests/Makefile (timing-type): New binary.
11762 (bench-clean): Also remove bench-timing-type.
11763 (bench): New target for timing-type.
11764 (bench-func): Print output in JSON format.
11765 * benchtests/bench-skeleton.c (main): Print output in JSON
11767 * benchtests/bench-timing-type.c: New file.
11768 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11769 (TIMING_PRINT_STATS): Remove.
11770 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11773 * benchtests/bench-modf.c: Remove.
11774 * benchtests/modf-inputs: New inputs file.
11776 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11779 * math/s_clog10.c (M_PI_LOG10E): New macro.
11780 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11781 imaginary parts are 0.
11782 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11783 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11784 imaginary parts are 0.
11785 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11786 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11787 imaginary parts are 0.
11788 * math/libm-test.inc (clog10_test_data): Update expected results
11789 for when real and imaginary parts are 0.
11791 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11793 * elf/dl-load.c: Finish conversion of __builtin_expect into
11794 __glibc_{un}likely.
11796 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11799 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11800 1+x for argument with exponent below -67.
11801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11803 * math/auto-libm-test-in: Add more tests of exp.
11804 * math/auto-libm-test-out: Regenerated.
11806 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11809 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11810 (nscd_getnetgrent): Use it.
11813 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11816 2014-03-27 Andi Kleen <ak@linux.intel.com>
11818 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11819 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11820 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11821 (lll_robust_unlock): Remove out of line section. Use cfi
11823 (LLL_STUB_UNWIND_INFO*): Remove.
11824 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11825 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11826 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11827 (lll_robust_unlock): Remove out of line section. Use cfi
11829 (LLL_STUB_UNWIND_INFO*): Remove.
11831 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11834 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11837 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11839 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11841 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11844 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11846 * math/test-fenv-preserve.c: New file.
11847 * math/Makefile (tests): Add test-fenv-preserve.
11849 2014-03-26 Will Newton <will.newton@linaro.org>
11851 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11853 2014-03-25 Roland McGrath <roland@hack.frob.com>
11855 * scripts/versionlist.awk: Partition the version sets and emit all
11856 GLIBC_* (sorted) before all others (sorted).
11858 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11860 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11861 GLIBC_2.2.5 version.
11863 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11868 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11873 2014-03-25 Andreas Schwab <schwab@suse.de>
11875 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11876 label to be used after in6ailist is initialized.
11878 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11880 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11881 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11883 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11887 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11889 (fp_formats): Update initializers.
11890 (init_fp_formats): Initialize new field.
11891 (output_for_one_input_case): Allow underflow for results up to
11893 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11894 * math/auto-libm-test-in: Don't mark some underflows from asin and
11896 * math/auto-libm-test-out: Regenerated.
11897 * sysdeps/i386/fpu/libm-test-ulps: Update.
11898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11900 2014-03-25 Andreas Schwab <schwab@suse.de>
11902 * libio/Makefile (tst-ftell-partial-wide-ENV)
11903 (tst-ftell-active-handler-ENV): Define.
11905 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11907 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11909 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11911 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11913 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11915 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11916 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11917 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11919 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11922 * elf/dl-load.c (open_verify): Add mode parameter.
11923 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11924 (open_path): Change from boolean 'secure' to complete flag 'mode'
11925 (_dl_map_object): Adjust.
11926 * elf/Makefile (tests): Add tst-dlopen-aout.
11927 * elf/tst-dlopen-aout.c: New test.
11929 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11932 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11933 (struct stat): Rename member pad0 to __glibc_reserved0.
11936 * sysdeps/s390/s390-32/bits/wordsize.h
11937 (__WORDSIZE32_SIZE_ULONG): New define.
11938 * sysdeps/s390/s390-64/bits/wordsize.h
11939 (__WORDSIZE32_SIZE_ULONG): Likewise.
11940 * sysdeps/generic/stdint.h (SIZE_MAX):
11941 Define as UL if __WORDSIZE32_SIZE_ULONG.
11944 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11945 (__glibc_reserved0): New variable.
11946 (sa_flags): Change type to int.
11948 * posix/Makefile (before-compile): Use += before-compile instead
11951 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11952 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11954 2014-03-20 Andreas Schwab <schwab@suse.de>
11957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11958 non-matching result from nscd.
11960 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11962 * scripts/bench.py: Moved to ...
11963 * benchtests/scripts/bench.py: ... here.
11964 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11966 2014-03-24 Andreas Schwab <schwab@suse.de>
11969 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11970 alloca_account and account alloca use for struct in6ailist.
11972 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11975 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11976 rounding mode to recompute results that overflow to infinity or
11978 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11980 * math/auto-libm-test-out: Regenerated.
11981 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11982 (ccosh_test): Likewise.
11983 (csin_test_data): Use plus_oflow.
11984 (csin_test): Use ALL_RM_TEST.
11985 (csinh_test_data): Use plus_oflow.
11986 (csinh_test): Use ALL_RM_TEST.
11987 * sysdeps/i386/fpu/libm-test-ulps: Update.
11988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11990 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11992 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11993 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11994 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11997 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11998 when x - 1 is zero.
11999 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12000 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12001 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12002 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12004 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12005 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12007 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12008 * sysdeps/i386/fpu/libm-test-ulps: Update.
12009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12011 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12013 * scripts/bench.pl: Remove file.
12014 * scripts/bench.py: New benchmark script.
12015 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12016 * benchtests/README: Mention python dependency.
12017 * scripts/pylintrc: New file.
12018 * scripts/pylint: New file.
12020 * bits/mathdef.h: Use #ifdef instead of #if.
12021 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12022 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12023 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12024 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12025 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12026 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12028 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12029 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12031 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12033 and strpbrk-ppc64 objects.
12034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12035 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12036 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12037 multiarch strpbrk for POWER7.
12038 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12039 multiarch strpbrk for PPC64.
12040 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12042 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12043 strpbrk for POWER7.
12045 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12047 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12048 (atan_test): Likewise.
12049 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12050 (atanh_test): Use ALL_RM_TEST.
12051 (atan2_test_data): Likewise.
12052 (cabs_test): Likewise.
12053 (cacosh_test): Likewise.
12054 (carg_test): Likewise.
12055 (casin_test): Likewise.
12056 (casinh_test): Likewise.
12057 (cbrt_test): Likewise.
12058 (csqrt_test): Likewise.
12059 (erf_test): Likewise.
12060 (erfc_test): Likewise.
12061 (pow10_test): Likewise.
12062 (exp2_test): Likewise.
12063 (hypot_test): Likewise.
12064 (j0_test): Likewise.
12065 (j1_test): Likewise.
12066 (lgamma_test): Likewise.
12067 (gamma_test): Likewise.
12068 (sincos_test): Likewise.
12069 (tanh_test): Likewise.
12070 (y0_test): Likewise.
12071 (y1_test): Likewise.
12072 * sysdeps/i386/fpu/libm-test-ulps: Update.
12073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12075 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12077 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12079 and strcspn-ppc64 objects.
12080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12081 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12082 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12083 multiarch strcspn for POWER7.
12084 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12085 multiarch strcspn for PPC64.
12086 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12088 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12089 strcspn for POWER7.
12091 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12093 * math/gen-libm-test.pl (generate_testfile): Expect only function
12094 name as argument to AUTO_TESTS_* and pass results for all rounding
12095 modes to parse_args.
12096 (parse_auto_input): Separate inputs of automatic tests from
12097 outputs before storing in %auto_tests.
12098 * math/libm-test.inc (acos_test_data): Update call to
12100 (acos_test): Use ALL_RM_TEST.
12101 (acos_tonearest_test_data): Remove.
12102 (acos_test_tonearest): Likewise.
12103 (acos_towardzero_test_data): Likewise.
12104 (acos_test_towardzero): Likewise.
12105 (acos_downward_test_data): Likewise.
12106 (acos_test_downward): Likewise.
12107 (acos_upward_test_data): Likewise.
12108 (acos_test_upward): Likewise.
12109 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12110 (asin_test_data): Likewise.
12111 (asin_test): Use ALL_RM_TEST.
12112 (asin_tonearest_test_data): Remove.
12113 (asin_test_tonearest): Likewise.
12114 (asin_towardzero_test_data): Likewise.
12115 (asin_test_towardzero): Likewise.
12116 (asin_downward_test_data): Likewise.
12117 (asin_test_downward): Likewise.
12118 (asin_upward_test_data): Likewise.
12119 (asin_test_upward): Likewise.
12120 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12121 (atan_test_data): Likewise.
12122 (atanh_test_data): Likewise.
12123 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12124 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12125 (carg_test_data): Likewise.
12126 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12127 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12128 (ccosh_test_data): Likewise.
12129 (cexp_test_data): Likewise.
12130 (clog_test_data): Likewise.
12131 (clog10_test_data): Likewise.
12132 (cos_test_data): Update call to AUTO_TESTS_f_f.
12133 (cos_test): Use ALL_RM_TEST.
12134 (cos_tonearest_test_data): Remove.
12135 (cos_test_tonearest): Likewise.
12136 (cos_towardzero_test_data): Likewise.
12137 (cos_test_towardzero): Likewise.
12138 (cos_downward_test_data): Likewise.
12139 (cos_test_downward): Likewise.
12140 (cos_upward_test_data): Likewise.
12141 (cos_test_upward): Likewise.
12142 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12143 (cosh_test): Use ALL_RM_TEST.
12144 (cosh_tonearest_test_data): Remove.
12145 (cosh_test_tonearest): Likewise.
12146 (cosh_towardzero_test_data): Likewise.
12147 (cosh_test_towardzero): Likewise.
12148 (cosh_downward_test_data): Likewise.
12149 (cosh_test_downward): Likewise.
12150 (cosh_upward_test_data): Likewise.
12151 (cosh_test_upward): Likewise.
12152 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12153 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12154 (ctan_test_data): Likewise.
12155 (ctan_test): Use ALL_RM_TEST.
12156 (ctan_tonearest_test_data): Remove.
12157 (ctan_test_tonearest): Likewise.
12158 (ctan_towardzero_test_data): Likewise.
12159 (ctan_test_towardzero): Likewise.
12160 (ctan_downward_test_data): Likewise.
12161 (ctan_test_downward): Likewise.
12162 (ctan_upward_test_data): Likewise.
12163 (ctan_test_upward): Likewise.
12164 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12165 (ctanh_test): Use ALL_RM_TEST.
12166 (ctanh_tonearest_test_data): Remove.
12167 (ctanh_test_tonearest): Likewise.
12168 (ctanh_towardzero_test_data): Likewise.
12169 (ctanh_test_towardzero): Likewise.
12170 (ctanh_downward_test_data): Likewise.
12171 (ctanh_test_downward): Likewise.
12172 (ctanh_upward_test_data): Likewise.
12173 (ctanh_test_upward): Likewise.
12174 (erf_test_data): Update call to AUTO_TESTS_f_f.
12175 (erfc_test_data): Likewise.
12176 (exp_test_data): Likewise.
12177 (exp_test): Use ALL_RM_TEST.
12178 (exp_tonearest_test_data): Remove.
12179 (exp_test_tonearest): Likewise.
12180 (exp_towardzero_test_data): Likewise.
12181 (exp_test_towardzero): Likewise.
12182 (exp_downward_test_data): Likewise.
12183 (exp_test_downward): Likewise.
12184 (exp_upward_test_data): Likewise.
12185 (exp_test_upward): Likewise.
12186 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12187 (exp10_test): Use ALL_RM_TEST.
12188 (exp10_tonearest_test_data): Remove.
12189 (exp10_test_tonearest): Likewise.
12190 (exp10_towardzero_test_data): Likewise.
12191 (exp10_test_towardzero): Likewise.
12192 (exp10_downward_test_data): Likewise.
12193 (exp10_test_downward): Likewise.
12194 (exp10_upward_test_data): Likewise.
12195 (exp10_test_upward): Likewise.
12196 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12197 (expm1_test_data): Likewise.
12198 (expm1_test): Use ALL_RM_TEST.
12199 (expm1_tonearest_test_data): Remove.
12200 (expm1_test_tonearest): Likewise.
12201 (expm1_towardzero_test_data): Likewise.
12202 (expm1_test_towardzero): Likewise.
12203 (expm1_downward_test_data): Likewise.
12204 (expm1_test_downward): Likewise.
12205 (expm1_upward_test_data): Likewise.
12206 (expm1_test_upward): Likewise.
12207 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12208 (fma_test): Use ALL_RM_TEST.
12209 (fma_towardzero_test_data): Remove.
12210 (fma_test_towardzero): Likewise.
12211 (fma_downward_test_data): Likewise.
12212 (fma_test_downward): Likewise.
12213 (fma_upward_test_data): Likewise.
12214 (fma_test_upward): Likewise.
12215 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12216 (j0_test_data): Update call to AUTO_TESTS_f_f.
12217 (j1_test_data): Likewise.
12218 (jn_test_data): Update call to AUTO_TESTS_if_f.
12219 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12220 (log_test_data): Update call to AUTO_TESTS_f_f.
12221 (log10_test_data): Likewise.
12222 (log1p_test_data): Likewise.
12223 (log2_test_data): Likewise.
12224 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12225 (pow_tonearest_test_data): Likewise.
12226 (sin_test_data): Update call to AUTO_TESTS_f_f.
12227 (sin_test): Use ALL_RM_TEST.
12228 (sin_tonearest_test_data): Remove.
12229 (sin_test_tonearest): Likewise.
12230 (sin_towardzero_test_data): Likewise.
12231 (sin_test_towardzero): Likewise.
12232 (sin_downward_test_data): Likewise.
12233 (sin_test_downward): Likewise.
12234 (sin_upward_test_data): Likewise.
12235 (sin_test_upward): Likewise.
12236 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12237 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12238 (sinh_test): Use ALL_RM_TEST.
12239 (sinh_tonearest_test_data): Remove.
12240 (sinh_test_tonearest): Likewise.
12241 (sinh_towardzero_test_data): Likewise.
12242 (sinh_test_towardzero): Likewise.
12243 (sinh_downward_test_data): Likewise.
12244 (sinh_test_downward): Likewise.
12245 (sinh_upward_test_data): Likewise.
12246 (sinh_test_upward): Likewise.
12247 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12248 (sqrt_test): Use ALL_RM_TEST.
12249 (sqrt_tonearest_test_data): Remove.
12250 (sqrt_test_tonearest): Likewise.
12251 (sqrt_towardzero_test_data): Likewise.
12252 (sqrt_test_towardzero): Likewise.
12253 (sqrt_downward_test_data): Likewise.
12254 (sqrt_test_downward): Likewise.
12255 (sqrt_upward_test_data): Likewise.
12256 (sqrt_test_upward): Likewise.
12257 (tan_test_data): Update call to AUTO_TESTS_f_f.
12258 (tan_test): Use ALL_RM_TEST.
12259 (tan_tonearest_test_data): Remove.
12260 (tan_test_tonearest): Likewise.
12261 (tan_towardzero_test_data): Likewise.
12262 (tan_test_towardzero): Likewise.
12263 (tan_downward_test_data): Likewise.
12264 (tan_test_downward): Likewise.
12265 (tan_upward_test_data): Likewise.
12266 (tan_test_upward): Likewise.
12267 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12268 (tgamma_test_data): Likewise.
12269 (y0_test_data): Likewise.
12270 (y1_test_data): Likewise.
12271 (yn_test_data): Update call to AUTO_TESTS_if_f.
12272 (main): Do not call removed functions.
12274 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12276 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12277 (ldexp_test_data): Remove.
12278 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12280 (scalb_test): Use ALL_RM_TEST.
12282 2014-03-19 Andreas Schwab <schwab@suse.de>
12284 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12286 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12289 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12290 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12291 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12292 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12293 (__ASSUME_PREADV): Undefine.
12294 (__ASSUME_PWRITEV): Likewise.
12296 2014-03-18 Roland McGrath <roland@hack.frob.com>
12298 * bits/mman-linux.h: Add comment about non-Linux use.
12299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12300 bits/mman-linux.h resting place.
12302 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12303 * bits/mman-linux.h: ... here.
12305 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12307 * conform/conformtest.pl: Add standard definition when calling C
12308 preprocessor on data files.
12309 (checknamespace): Remove unused variable.
12311 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12313 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12314 minus_oflow, plus_uflow and minus_uflow in expected results.
12315 * math/libm-test.inc (scalbn_test_data): Add more tests of
12316 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12318 (scalbn_test): Use ALL_RM_TEST.
12319 (scalbln_test_data): Add more tests of negative arguments. Use
12320 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12321 (scalbln_test): Use ALL_RM_TEST.
12323 2014-03-18 Roland McGrath <roland@hack.frob.com>
12325 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12327 2014-03-18 Will Newton <will.newton@linaro.org>
12329 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12330 inaccurate comment.
12332 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12334 * Makerules [!subdir] (check-abi): Exit with error status if a
12337 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12339 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12340 for rint. Include results for all rounding modes.
12341 (nearbyint_test): Use ALL_RM_TEST.
12342 (rint_test_data): Include all tests used for nearbyint.
12344 2014-03-17 Will Newton <will.newton@linaro.org>
12346 * nptl/sysdeps/pthread/pthread.h: Revert previous
12349 * sysdeps/generic/ldsodefs.h: Revert previous
12352 * libio/genops.c: Revert previous change.
12353 * libio/libioP.h: Likewise.
12354 * stdio-common/vfprintf.c: Likewise.
12356 * sysdeps/generic/math_private.h: Revert previous
12359 * sysdeps/generic/math_private.h: Check whether
12360 HAVE_RM_CTX is defined with #ifdef rather
12363 * argp/argp-fmtstream.h: Check whether
12364 __STRICT_ANSI__ is defined with #ifdef rather
12366 * argp/argp.h: Likewise.
12368 * libio/genops.c: Check whether
12369 _IO_JUMPS_OFFSET is defined with #ifdef rather
12371 * libio/libioP.h: Likewise.
12372 * stdio-common/vfprintf.c: Likewise.
12374 * sysdeps/generic/ldsodefs.h: Check whether
12375 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12378 * nptl/sysdeps/pthread/pthread.h: Check
12379 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12382 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12384 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12386 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12390 * libio/fileops.c (_IO_file_open): Seek to end of file but
12391 don't cache the offset.
12392 (get_file_offset): Remove function.
12393 (do_ftell): Use cached offset when available.
12394 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12395 don't cache the offset.
12396 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12398 (do_one_test): Call it.
12399 (do_ftell_test): Fix up expected old offset for a+ mode.
12400 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12403 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12404 up test status with function return status.
12405 (do_write_test): Likewise.
12406 (do_append_test): Likewise.
12408 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12409 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12412 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12414 * math/gen-libm-test.pl (parse_args): Handle results specified for
12415 each rounding mode separately.
12416 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12417 tests and results from lrint_tonearest_test_data,
12418 lrint_towardzero_test_data, lrint_downward_test_data and
12419 lrint_upward_test_data.
12420 (lrint_test): Use ALL_RM_TEST.
12421 (lrint_tonearest_test_data): Remove.
12422 (lrint_test_tonearest): Likewise.
12423 (lrint_towardzero_test_data): Likewise.
12424 (lrint_test_towardzero): Likewise.
12425 (lrint_downward_test_data): Likewise.
12426 (lrint_test_downward): Likewise.
12427 (lrint_upward_test_data): Likewise.
12428 (lrint_test_upward): Likewise.
12429 (llrint_test_data): Merge in per-rounding-mode tests and results
12430 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12431 llrint_downward_test_data and llrint_upward_test_data.
12432 (llrint_test): Use ALL_RM_TEST.
12433 (llrint_tonearest_test_data): Remove.
12434 (llrint_test_tonearest): Likewise.
12435 (llrint_towardzero_test_data): Likewise.
12436 (llrint_test_towardzero): Likewise.
12437 (llrint_downward_test_data): Likewise.
12438 (llrint_test_downward): Likewise.
12439 (llrint_upward_test_data): Likewise.
12440 (llrint_test_upward): Likewise.
12441 (rint_test_data): Merge in per-rounding-mode tests and results
12442 from rint_tonearest_test_data, rint_towardzero_test_data,
12443 rint_downward_test_data and rint_upward_test_data. Add
12444 per-rounding-mode results for tests not in those arrays.
12445 (rint_test): Use ALL_RM_TEST.
12446 (rint_tonearest_test_data): Remove.
12447 (rint_test_tonearest): Likewise.
12448 (rint_towardzero_test_data): Likewise.
12449 (rint_test_towardzero): Likewise.
12450 (rint_downward_test_data): Likewise.
12451 (rint_test_downward): Likewise.
12452 (rint_upward_test_data): Likewise.
12453 (rint_test_upward): Likewise.
12454 (main): Don't call removed functions.
12456 2014-03-14 Roland McGrath <roland@hack.frob.com>
12458 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12459 "Compiled on ..." crapola. It is anti-useful.
12461 2014-03-14 Joseph Myers <joseph@codesourcery.com>
12463 * scripts/evaluate-test.sh: Handle fourth argument to determine
12464 whether test run should stop on failure.
12465 * Makeconfig (stop-on-test-failure): New variable.
12466 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12467 $(stop-on-test-failure).
12468 * Makefile (tests): Give a summary of results from testing and
12469 exit with failure status if they include an ERROR or FAIL.
12470 (xtests): Likewise.
12471 * manual/install.texi (Configuring and compiling): Mention
12472 stop-on-test-failure=y.
12473 * INSTALL: Regenerated.
12475 2014-03-14 Roland McGrath <roland@hack.frob.com>
12477 * scripts/versionlist.awk: New file.
12478 * Makerules [$(build-shared) = yes]
12479 (postclean-generated): Add Versions.def, not Versions.def.v and
12481 ($(common-objpfx)Versions.def.v.i): Target removed.
12482 ($(common-objpfx)Versions.def): New target.
12483 ($(common-objpfx)Versions.all): Depend on that rather that
12484 $(common-objpfx)Versions.def.v.
12485 * Versions.def: File removed.
12487 * Makeconfig (+gccwarn): Add -Wundef.
12488 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12489 a dl-sysdep.h breaking its contract.
12490 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12491 * include/stackinfo.h: New file.
12492 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12493 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12494 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12495 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12496 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12497 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12498 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12499 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12500 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12501 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12502 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12503 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12504 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12505 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12506 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12508 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12511 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12513 * math/libm-test.inc (round_test_data): Add more tests.
12516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12518 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12521 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12523 * math/libm-test.inc (ceil_test_data): Add more tests.
12525 * math/libm-test.inc (trunc_test_data): Add more tests related to
12528 2014-03-14 Roland McGrath <roland@hack.frob.com>
12530 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12531 with #if rather than #ifdef.
12532 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12534 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12536 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12537 first. Disable AVX-512 GCC support if assembler doesn't support
12539 * sysdeps/x86_64/configure: Regenerated.
12541 2014-03-13 Carlos O'Donell <carlos@redhat.com>
12543 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12544 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12545 (__old_pthread_attr_setstack): Likewise.
12546 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12547 [!_STACK_GROWS_DOWN]: Likewise.
12549 2014-03-13 Mike Frysinger <vapier@gentoo.org>
12551 * config.make.in (have-bash2): Delete.
12552 * configure.ac (libc_cv_have_bash2): Delete.
12553 * configure: Regenerate.
12554 * elf/Makefile (common-ldd-rewrite): Rename to ...
12555 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12556 (sh-ldd-rewrite): Delete.
12557 (bash-ldd-rewrite): Delete.
12558 (have-bash2): Delete checks.
12559 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12562 * config.make.in (have-ksh): Delete.
12564 * configure.ac (libc_cv_have_ksh): Delete.
12565 * configure: Regenerate.
12567 * elf/Makefile: Delete $(have-ksh) check.
12568 ($(objpfx)sotruss): Change KSH to BASH.
12569 * elf/sotruss.ksh: Rename to ...
12570 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12571 function style to match POSIX. Drop ksh vim mode setting.
12573 * manual/time.texi (Specifying the Time Zone with TZ): Change
12574 Tuesday to Thursday.
12576 * debug/tst-longjmp_chk2.c: Update header comment.
12577 (stackoverflow_handler): Add comment. Call assert on pass value.
12579 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12582 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12583 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12584 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12585 (La_x86_64_vector): Add zmm.
12586 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12587 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12588 ($(objpfx)tst-audit10): New target.
12589 ($(objpfx)tst-audit10.out): Likewise.
12590 (tst-audit10-ENV): New.
12591 (AVX512-CFLAGS): Likewise.
12592 (CFLAGS-tst-audit10.c): Likewise.
12593 (CFLAGS-tst-auditmod10a.c): Likewise.
12594 (CFLAGS-tst-auditmod10b.c): Likewise.
12595 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12596 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12597 * sysdeps/x86_64/configure: Regenerated.
12598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12599 AVX-512 zmm register support.
12600 (_dl_x86_64_save_sse): Likewise.
12601 (_dl_x86_64_restore_sse): Likewise.
12602 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12603 size vector registers.
12604 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12605 (ZMM_SIZE): Likewise.
12606 * sysdeps/x86_64/tst-audit10.c: New file.
12607 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12608 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12610 2014-03-13 Roland McGrath <roland@hack.frob.com>
12612 * configure.ac (HAVE_EHDR_START): New check.
12613 * configure: Regenerated.
12614 * config.h.in (HAVE_EHDR_START): New #undef.
12615 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12616 assuming the lowest-addressed segment maps the start of the file.
12618 2014-03-13 Joseph Myers <joseph@codesourcery.com>
12620 * INSTALL: Regenerated.
12622 2014-03-13 Will Newton <will.newton@linaro.org>
12624 * manual/setjmp.texi (System V contexts): Improve
12625 clarity and grammar of documentation.
12627 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12630 * elf/Makefile (tests): Add tst-pie2.
12631 (tests-pie): Add tst-pie2.
12632 * elf/tst-pie2.c: New file.
12633 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12635 * elf/rtld.c (map_doit): Load executable as lt_executable.
12636 (dl_main): Likewise.
12638 2014-03-12 Joseph Myers <joseph@codesourcery.com>
12641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12642 (__ASSUME_PSELECT): Undefine.
12644 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12647 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12648 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12650 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12651 selector for static builds.
12653 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12656 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12659 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12661 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12662 IFUNC selector for static builds.
12664 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12666 * sysdeps/mips/math_private.h [__mips_hard_float]
12667 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12668 libc_feresetround_mips_ctx.
12669 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12670 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12671 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12674 * math/s_nextafter.c (__nextafter): Do not return value from
12675 overflowing computation.
12676 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12677 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12678 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12682 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12683 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12685 2014-03-11 Roland McGrath <roland@hack.frob.com>
12687 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12688 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12689 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12690 the new mov targetting sp.
12692 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12695 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12696 Define it for static builds as well.
12697 (NO_BZERO_IMPL): Likewise.
12699 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12701 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12702 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12703 multiarch strspn for PPC64.
12704 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12705 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12707 (__libc_ifunc_impl_list): Likewise.
12708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12709 multiarch optimizations
12710 * string/strspn.c (strspn): Using macro to redefine symbol name.
12712 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12713 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12715 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12716 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12717 multiarch strncat for PPC64.
12718 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12719 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12721 (__libc_ifunc_impl_list): Likewise.
12722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12723 multiarch optimizations
12725 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12728 * nscd/nscd.service: Make service type forking.
12730 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12732 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12733 sign in non default rounding modes.
12734 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12736 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12738 * math/libm-test.inc (ALL_RM_TEST): New macro.
12739 (ceil_test): Use ALL_RM_TEST.
12740 (cimag_test): Likewise.
12741 (conj_test): Likewise.
12742 (copysign_test): Likewise.
12743 (cproj_test): Likewise.
12744 (creal_test): Likewise.
12745 (fabs_test): Likewise.
12746 (floor_test): Likewise.
12747 (fmax_test): Likewise.
12748 (fmin_test): Likewise.
12749 (fmod_test): Likewise.
12750 (fpclassify_test): Likewise.
12751 (frexp_test): Likewise.
12752 (ilogb_test): Likewise.
12753 (isfinite_test): Likewise.
12754 (finite_test): Likewise.
12755 (isgreater_test): Likewise.
12756 (isgreaterequal_test): Likewise.
12757 (isinf_test): Likewise.
12758 (isless_test): Likewise.
12759 (islessequal_test): Likewise.
12760 (islessgreater_test): Likewise.
12761 (isnan_test): Likewise.
12762 (isnormal_test): Likewise.
12763 (issignaling_test): Likewise.
12764 (isunordered_test): Likewise.
12765 (logb_test): Likewise.
12766 (logb_downward_test_data): Remove.
12767 (logb_test_downward): Likewise.
12768 (lround_test): Use ALL_RM_TEST.
12769 (llround_test): Likewise.
12770 (modf_test): Likewise.
12771 (nexttoward_test): Likewise.
12772 (remainder_test): Likewise.
12773 (drem_test): Likewise.
12774 (remainder_tonearest_test_data): Likewise.
12775 (remainder_test_tonearest): Likewise.
12776 (drem_test_tonearest): Likewise.
12777 (remainder_towardzero_test_data): Likewise.
12778 (remainder_test_towardzero): Likewise.
12779 (drem_test_towardzero): Likewise.
12780 (remainder_downward_test_data): Likewise.
12781 (remainder_test_downward): Likewise.
12782 (drem_test_downward): Likewise.
12783 (remainder_upward_test_data): Likewise.
12784 (remainder_test_upward): Likewise.
12785 (drem_test_upward): Likewise.
12786 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12787 (round_test): Use ALL_RM_TEST.
12788 (signbit_test): Likewise.
12789 (trunc_test): Likewise.
12790 (significand_test): Likewise.
12791 (main): Don't call removed functions.
12793 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12796 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12797 || __USE_XOPEN2K8].
12798 (ILL_ILLOPN): Likewise.
12799 (ILL_ILLADR): Likewise.
12800 (ILL_ILLTRP): Likewise.
12801 (ILL_PRVOPC): Likewise.
12802 (ILL_PRVREG): Likewise.
12803 (ILL_COPROC): Likewise.
12804 (ILL_BADSTK): Likewise.
12805 (FPE_INTDIV): Likewise.
12806 (FPE_INTOVF): Likewise.
12807 (FPE_FLTDIV): Likewise.
12808 (FPE_FLTOVF): Likewise.
12809 (FPE_FLTUND): Likewise.
12810 (FPE_FLTRES): Likewise.
12811 (FPE_FLTINV): Likewise.
12812 (FPE_FLTSUB): Likewise.
12813 (SEGV_MAPERR): Likewise.
12814 (SEGV_ACCERR): Likewise.
12815 (BUS_ADRALN): Likewise.
12816 (BUS_ADRERR): Likewise.
12817 (BUS_OBJERR): Likewise.
12818 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12819 (TRAP_TRACE): Likewise.
12820 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12822 (CLD_KILLED): Likewise.
12823 (CLD_DUMPED): Likewise.
12824 (CLD_TRAPPED): Likewise.
12825 (CLD_STOPPED): Likewise.
12826 (CLD_CONTINUED): Likewise.
12827 (POLL_IN): Likewise.
12828 (POLL_OUT): Likewise.
12829 (POLL_MSG): Likewise.
12830 (POLL_ERR): Likewise.
12831 (POLL_PRI): Likewise.
12832 (POLL_HUP): Likewise.
12833 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12835 (ILL_ILLOPN): Likewise.
12836 (ILL_ILLADR): Likewise.
12837 (ILL_ILLTRP): Likewise.
12838 (ILL_PRVOPC): Likewise.
12839 (ILL_PRVREG): Likewise.
12840 (ILL_COPROC): Likewise.
12841 (ILL_BADSTK): Likewise.
12842 (FPE_INTDIV): Likewise.
12843 (FPE_INTOVF): Likewise.
12844 (FPE_FLTDIV): Likewise.
12845 (FPE_FLTOVF): Likewise.
12846 (FPE_FLTUND): Likewise.
12847 (FPE_FLTRES): Likewise.
12848 (FPE_FLTINV): Likewise.
12849 (FPE_FLTSUB): Likewise.
12850 (SEGV_MAPERR): Likewise.
12851 (SEGV_ACCERR): Likewise.
12852 (BUS_ADRALN): Likewise.
12853 (BUS_ADRERR): Likewise.
12854 (BUS_OBJERR): Likewise.
12855 (BUS_MCEERR_AR): Likewise.
12856 (BUS_MCEERR_AO): Likewise.
12857 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12858 (TRAP_TRACE): Likewise.
12859 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12861 (CLD_KILLED): Likewise.
12862 (CLD_DUMPED): Likewise.
12863 (CLD_TRAPPED): Likewise.
12864 (CLD_STOPPED): Likewise.
12865 (CLD_CONTINUED): Likewise.
12866 (POLL_IN): Likewise.
12867 (POLL_OUT): Likewise.
12868 (POLL_MSG): Likewise.
12869 (POLL_ERR): Likewise.
12870 (POLL_PRI): Likewise.
12871 (POLL_HUP): Likewise.
12872 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12873 (ILL_ILLOPN): Likewise.
12874 (ILL_ILLADR): Likewise.
12875 (ILL_ILLTRP): Likewise.
12876 (ILL_PRVOPC): Likewise.
12877 (ILL_PRVREG): Likewise.
12878 (ILL_COPROC): Likewise.
12879 (ILL_BADSTK): Likewise.
12880 (FPE_INTDIV): Likewise.
12881 (FPE_INTOVF): Likewise.
12882 (FPE_FLTDIV): Likewise.
12883 (FPE_FLTOVF): Likewise.
12884 (FPE_FLTUND): Likewise.
12885 (FPE_FLTRES): Likewise.
12886 (FPE_FLTINV): Likewise.
12887 (FPE_FLTSUB): Likewise.
12888 (SEGV_MAPERR): Likewise.
12889 (SEGV_ACCERR): Likewise.
12890 (BUS_ADRALN): Likewise.
12891 (BUS_ADRERR): Likewise.
12892 (BUS_OBJERR): Likewise.
12893 (BUS_MCEERR_AR): Likewise.
12894 (BUS_MCEERR_AO): Likewise.
12895 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12896 (TRAP_TRACE): Likewise.
12897 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12899 (CLD_KILLED): Likewise.
12900 (CLD_DUMPED): Likewise.
12901 (CLD_TRAPPED): Likewise.
12902 (CLD_STOPPED): Likewise.
12903 (CLD_CONTINUED): Likewise.
12904 (POLL_IN): Likewise.
12905 (POLL_OUT): Likewise.
12906 (POLL_MSG): Likewise.
12907 (POLL_ERR): Likewise.
12908 (POLL_PRI): Likewise.
12909 (POLL_HUP): Likewise.
12910 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12912 (ILL_ILLOPN): Likewise.
12913 (ILL_ILLADR): Likewise.
12914 (ILL_ILLTRP): Likewise.
12915 (ILL_PRVOPC): Likewise.
12916 (ILL_PRVREG): Likewise.
12917 (ILL_COPROC): Likewise.
12918 (ILL_BADSTK): Likewise.
12919 (ILL_BADIADDR): Likewise.
12920 (ILL_BREAK): Likewise.
12921 (FPE_INTDIV): Likewise.
12922 (FPE_INTOVF): Likewise.
12923 (FPE_FLTDIV): Likewise.
12924 (FPE_FLTOVF): Likewise.
12925 (FPE_FLTUND): Likewise.
12926 (FPE_FLTRES): Likewise.
12927 (FPE_FLTINV): Likewise.
12928 (FPE_FLTSUB): Likewise.
12929 (FPE_DECOVF): Likewise.
12930 (FPE_DECDIV): Likewise.
12931 (FPE_DECERR): Likewise.
12932 (FPE_INVASC): Likewise.
12933 (FPE_INVDEC): Likewise.
12934 (SEGV_MAPERR): Likewise.
12935 (SEGV_ACCERR): Likewise.
12936 (SEGV_PSTKOVF): Likewise.
12937 (BUS_ADRALN): Likewise.
12938 (BUS_ADRERR): Likewise.
12939 (BUS_OBJERR): Likewise.
12940 (BUS_MCEERR_AR): Likewise.
12941 (BUS_MCEERR_AO): Likewise.
12942 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12943 (TRAP_TRACE): Likewise.
12944 (TRAP_BRANCH): Likewise.
12945 (TRAP_HWBKPT): Likewise.
12946 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12948 (CLD_KILLED): Likewise.
12949 (CLD_DUMPED): Likewise.
12950 (CLD_TRAPPED): Likewise.
12951 (CLD_STOPPED): Likewise.
12952 (CLD_CONTINUED): Likewise.
12953 (POLL_IN): Likewise.
12954 (POLL_OUT): Likewise.
12955 (POLL_MSG): Likewise.
12956 (POLL_ERR): Likewise.
12957 (POLL_PRI): Likewise.
12958 (POLL_HUP): Likewise.
12959 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
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/s390/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/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13036 (ILL_ILLOPN): Likewise.
13037 (ILL_ILLADR): Likewise.
13038 (ILL_ILLTRP): Likewise.
13039 (ILL_PRVOPC): Likewise.
13040 (ILL_PRVREG): Likewise.
13041 (ILL_COPROC): Likewise.
13042 (ILL_BADSTK): Likewise.
13043 (FPE_INTDIV): Likewise.
13044 (FPE_INTOVF): Likewise.
13045 (FPE_FLTDIV): Likewise.
13046 (FPE_FLTOVF): Likewise.
13047 (FPE_FLTUND): Likewise.
13048 (FPE_FLTRES): Likewise.
13049 (FPE_FLTINV): Likewise.
13050 (FPE_FLTSUB): Likewise.
13051 (SEGV_MAPERR): Likewise.
13052 (SEGV_ACCERR): Likewise.
13053 (BUS_ADRALN): Likewise.
13054 (BUS_ADRERR): Likewise.
13055 (BUS_OBJERR): Likewise.
13056 (BUS_MCEERR_AR): Likewise.
13057 (BUS_MCEERR_AO): Likewise.
13058 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13059 (TRAP_TRACE): Likewise.
13060 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13062 (CLD_KILLED): Likewise.
13063 (CLD_DUMPED): Likewise.
13064 (CLD_TRAPPED): Likewise.
13065 (CLD_STOPPED): Likewise.
13066 (CLD_CONTINUED): Likewise.
13067 (POLL_IN): Likewise.
13068 (POLL_OUT): Likewise.
13069 (POLL_MSG): Likewise.
13070 (POLL_ERR): Likewise.
13071 (POLL_PRI): Likewise.
13072 (POLL_HUP): Likewise.
13073 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13074 (ILL_ILLOPN): Likewise.
13075 (ILL_ILLADR): Likewise.
13076 (ILL_ILLTRP): Likewise.
13077 (ILL_PRVOPC): Likewise.
13078 (ILL_PRVREG): Likewise.
13079 (ILL_COPROC): Likewise.
13080 (ILL_BADSTK): Likewise.
13081 (ILL_DBLFLT): Likewise.
13082 (ILL_HARDWALL): Likewise.
13083 (FPE_INTDIV): Likewise.
13084 (FPE_INTOVF): Likewise.
13085 (FPE_FLTDIV): Likewise.
13086 (FPE_FLTOVF): Likewise.
13087 (FPE_FLTUND): Likewise.
13088 (FPE_FLTRES): Likewise.
13089 (FPE_FLTINV): Likewise.
13090 (FPE_FLTSUB): Likewise.
13091 (SEGV_MAPERR): Likewise.
13092 (SEGV_ACCERR): Likewise.
13093 (BUS_ADRALN): Likewise.
13094 (BUS_ADRERR): Likewise.
13095 (BUS_OBJERR): Likewise.
13096 (BUS_MCEERR_AR): Likewise.
13097 (BUS_MCEERR_AO): Likewise.
13098 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13099 (TRAP_TRACE): Likewise.
13100 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13102 (CLD_KILLED): Likewise.
13103 (CLD_DUMPED): Likewise.
13104 (CLD_TRAPPED): Likewise.
13105 (CLD_STOPPED): Likewise.
13106 (CLD_CONTINUED): Likewise.
13107 (POLL_IN): Likewise.
13108 (POLL_OUT): Likewise.
13109 (POLL_MSG): Likewise.
13110 (POLL_ERR): Likewise.
13111 (POLL_PRI): Likewise.
13112 (POLL_HUP): Likewise.
13113 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13114 (ILL_ILLOPN): Likewise.
13115 (ILL_ILLADR): Likewise.
13116 (ILL_ILLTRP): Likewise.
13117 (ILL_PRVOPC): Likewise.
13118 (ILL_PRVREG): Likewise.
13119 (ILL_COPROC): Likewise.
13120 (ILL_BADSTK): Likewise.
13121 (FPE_INTDIV): Likewise.
13122 (FPE_INTOVF): Likewise.
13123 (FPE_FLTDIV): Likewise.
13124 (FPE_FLTOVF): Likewise.
13125 (FPE_FLTUND): Likewise.
13126 (FPE_FLTRES): Likewise.
13127 (FPE_FLTINV): Likewise.
13128 (FPE_FLTSUB): Likewise.
13129 (SEGV_MAPERR): Likewise.
13130 (SEGV_ACCERR): Likewise.
13131 (BUS_ADRALN): Likewise.
13132 (BUS_ADRERR): Likewise.
13133 (BUS_OBJERR): Likewise.
13134 (BUS_MCEERR_AR): Likewise.
13135 (BUS_MCEERR_AO): Likewise.
13136 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13137 (TRAP_TRACE): Likewise.
13138 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13140 (CLD_KILLED): Likewise.
13141 (CLD_DUMPED): Likewise.
13142 (CLD_TRAPPED): Likewise.
13143 (CLD_STOPPED): Likewise.
13144 (CLD_CONTINUED): Likewise.
13145 (POLL_IN): Likewise.
13146 (POLL_OUT): Likewise.
13147 (POLL_MSG): Likewise.
13148 (POLL_ERR): Likewise.
13149 (POLL_PRI): Likewise.
13150 (POLL_HUP): Likewise.
13151 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13152 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13155 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13156 before #include of <time.h>.
13157 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13158 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13159 (test-xfail-UNIX98/sched.h/conform): Likewise.
13161 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13163 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13164 error absence of trapping exception support.
13165 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13167 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13169 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13170 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13171 * timezone/Makefile (testdata): Move definition above include of
13173 (test-zones): New variable.
13174 (tests-special): Add zone files.
13175 (build-testdata): Use $(evaluate-test).
13177 * elf/Makefile (tests-special): Rename tests to end with .out.
13178 ($(objpfx)noload-mem): Likewise.
13179 ($(objpfx)tst-leaks1-mem): Likewise.
13180 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13181 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13182 $(objpfx)test-iconvconfig.out.
13183 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13184 set -e inside subshell and redirect output to file.
13185 * iconvdata/Makefile (generated): Rename tests to end with .out.
13187 (tests-special): Rename tests to end with .out.
13188 ($(objpfx)mtrace-tst-loading): Likewise.
13189 * intl/Makefile (generated): Likewise.
13190 (tests-special): Likewise.
13191 ($(objpfx)mtrace-tst-gettext): Likewise.
13192 * misc/Makefile (generated): Likewise.
13193 (tests-special): Likewise.
13194 ($(objpfx)tst-error1-mem): Likewise.
13195 * nptl/Makefile (tests-special): Likewise.
13196 ($(objpfx)tst-stack3-mem): Likewise.
13197 (generated): Likewise.
13198 * posix/Makefile (generated): Likewise.
13199 (tests-special): Likewise.
13200 (xtests-special): Likewise.
13201 ($(objpfx)tst-fnmatch-mem): Likewise.
13202 ($(objpfx)bug-regex2-mem): Likewise.
13203 ($(objpfx)bug-regex14-mem): Likewise.
13204 ($(objpfx)bug-regex21-mem): Likewise.
13205 ($(objpfx)bug-regex31-mem): Likewise.
13206 ($(objpfx)tst-vfork3-mem): Likewise.
13207 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13208 ($(objpfx)tst-pcre-mem): Likewise.
13209 ($(objpfx)tst-boost-mem): Likewise.
13210 ($(objpfx)bug-ga2-mem): Likewise.
13211 ($(objpfx)bug-glob2-mem): Likewise.
13212 * resolv/Makefile (generate): Likewise.
13213 (tests-special): Likewise.
13214 (xtests-special): Likewise.
13215 (generated): Likewise.
13216 ($(objpfx)mtrace-tst-leaks): Likewise.
13217 ($(objpfx)mtrace-tst-leaks2): Likewise.
13219 * scripts/merge-test-results.sh: New file.
13220 * Makefile (tests-special-notdir): New variable.
13221 (tests): Run merge-test-results.sh.
13222 (xtests): Likewise.
13223 * Rules (tests-special-notdir): New variable.
13224 (xtests-special-notdir): Likewise.
13225 (tests): Run merge-test-results.sh
13226 (xtests): Likewise.
13228 * Makeconfig (test-xfail-name): New variable.
13229 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13230 compute variable name for expected failures.
13231 * conform/Makefile (conformtest-headers-data): New variable.
13232 (conformtest-standards): Likewise.
13233 (conformtest-headers-ISO): Likewise.
13234 (conformtest-headers-ISO99): Likewise.
13235 (conformtest-headers-ISO11): Likewise.
13236 (conformtest-headers-POSIX): Likewise.
13237 (conformtest-headers-XPG3): Likewise.
13238 (conformtest-headers-XPG4): Likewise.
13239 (conformtest-headers-UNIX98): Likewise.
13240 (conformtest-headers-XOPEN2K): Likewise.
13241 (conformtest-headers-POSIX2008): Likewise.
13242 (conformtest-headers-XOPEN2K8): Likewise.
13243 (conformtest-header-list-base): Likewise.
13244 (conformtest-header-list-tests): Likewise.
13245 (conformtest-header-base): Likewise.
13246 (conformtest-header-tests): Likewise.
13247 (tests-special): Add $(conformtest-header-list-tests). If
13248 [$(fast-check) && !$(cross-compiling)], add
13249 $(conformtest-header-tests) instead of
13250 $(objpfx)run-conformtest.out.
13251 (generated): Add $(conformtest-header-list-base). If
13252 [$(fast-check) && !$(cross-compiling)], add
13253 $(conformtest-header-base). Remove previous setting.
13254 ($(conformtest-header-list-tests)): New target.
13255 (test-xfail-run-conformtest): Remove variable.
13256 ($(objpfx)run-conformtest.out): Remove target.
13257 (test-xfail-ISO11/complex.h/conform): New variable.
13258 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13259 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13260 (test-xfail-XPG3/varargs.h/conform): Likewise.
13261 (test-xfail-XPG4/varargs.h/conform): Likewise.
13262 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13263 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13264 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13265 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13266 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13267 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13268 (test-xfail-XPG3/ftw.h/conform): Likewise.
13269 (test-xfail-XPG3/grp.h/conform): Likewise.
13270 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13271 (test-xfail-XPG3/limits.h/conform): Likewise.
13272 (test-xfail-XPG3/pwd.h/conform): Likewise.
13273 (test-xfail-XPG3/search.h/conform): Likewise.
13274 (test-xfail-XPG3/signal.h/conform): Likewise.
13275 (test-xfail-XPG3/stdio.h/conform): Likewise.
13276 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13277 (test-xfail-XPG3/string.h/conform): Likewise.
13278 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13279 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13280 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13281 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13282 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13283 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13284 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13285 (test-xfail-XPG3/termios.h/conform): Likewise.
13286 (test-xfail-XPG3/time.h/conform): Likewise.
13287 (test-xfail-XPG3/unistd.h/conform): Likewise.
13288 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13289 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13290 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13291 (test-xfail-XPG4/netdb.h/conform): Likewise.
13292 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13293 (test-xfail-XPG4/signal.h/conform): Likewise.
13294 (test-xfail-XPG4/stdio.h/conform): Likewise.
13295 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13296 (test-xfail-XPG4/stropts.h/conform): Likewise.
13297 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13298 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13299 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13300 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13301 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13302 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13303 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13304 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13305 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13306 (test-xfail-XPG4/termios.h/conform): Likewise.
13307 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13308 (test-xfail-XPG4/unistd.h/conform): Likewise.
13309 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13310 (test-xfail-POSIX/sched.h/conform): Likewise.
13311 (test-xfail-POSIX/signal.h/conform): Likewise.
13312 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13313 (test-xfail-POSIX/tar.h/conform): Likewise.
13314 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13315 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13316 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13317 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13318 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13319 (test-xfail-UNIX98/sched.h/conform): Likewise.
13320 (test-xfail-UNIX98/signal.h/conform): Likewise.
13321 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13322 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13323 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13324 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13325 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13326 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13327 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13328 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13329 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13330 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13331 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13332 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13333 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13334 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13335 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13336 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13337 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13338 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13339 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13340 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13341 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13342 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13343 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13344 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13345 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13346 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13347 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13348 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13349 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13350 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13351 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13352 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13353 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13354 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13355 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13356 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13357 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13358 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13359 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13360 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13361 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13362 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13363 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13364 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13365 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13366 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13367 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13368 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13369 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13370 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13371 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13372 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13373 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13374 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13375 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13376 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13377 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13378 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13379 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13380 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13381 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13382 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13383 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13384 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13385 (conformtest-cc-flags): Likewise.
13386 ($(conformtest-header-tests): New target.
13387 * conform/check-header-lists.sh: New file.
13388 * conform/run-conformtest.sh: Remove.
13390 * conform/conformtest.pl: Allow ' and \ in values given for
13392 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13394 [POSIX] (sys/types.h): Likewise.
13395 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13397 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13399 * conform/data/signal.h-data (SIGIO): Remove expectation.
13400 [XPG3] (SIGBUS): Do not expect.
13401 [POSIX || XPG3] (SIGPOLL): Likewise.
13402 [POSIX || XPG3] (SIGPROF): Likewise.
13403 [POSIX || XPG3] (SIGSYS): Likewise.
13404 [XPG3] (SIGTRAP): Likewise.
13405 [POSIX || XPG3] (SIGURG): Likewise.
13406 [POSIX || XPG3] (SIGVTALRM): Likewise.
13407 [POSIX || XPG3] (SIGXCPU): Likewise.
13408 [POSIX || XPG3] (SIGXFSZ): Likewise.
13409 [POSIX] (SA_SIGINFO): Expect.
13410 [XPG3] (siginfo_t): Do not expect type or contents.
13411 [POSIX] (si_pid): Do not expect element.
13412 [POSIX] (si_uid): Likewise.
13413 [POSIX] (si_addr): Likewise.
13414 [POSIX] (si_status): Likewise.
13415 [POSIX] (si_band): Likewise.
13416 [XPG4] (si_value): Likewise.
13417 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13418 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13419 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13420 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13421 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13422 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13423 [POSIX || XPG3] (ILL_COPROC): Likewise.
13424 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13425 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13426 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13427 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13428 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13429 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13430 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13431 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13432 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13433 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13434 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13435 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13436 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13437 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13438 [POSIX || XPG3] (CLD_EXITED): Likewise.
13439 [POSIX || XPG3] (CLD_KILLED): Likewise.
13440 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13441 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13442 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13443 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13444 [POSIX || XPG3] (POLL_IN): Likewise.
13445 [POSIX || XPG3] (POLL_OUT): Likewise.
13446 [POSIX || XPG3] (POLL_MSG): Likewise.
13447 [POSIX || XPG3] (POLL_ERR): Likewise.
13448 [POSIX || XPG3] (POLL_PRI): Likewise.
13449 [POSIX || XPG3] (POLL_HUP): Likewise.
13450 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13451 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13452 (SIG*): Do not allow.
13453 [XPG3] (si_*): Likewise.
13454 [XPG3] (SI_*): Likewise.
13455 [XPG3 || XPG4] (sigev_*): Likewise.
13456 [XPG3 || XPG4] (SIGEV_*): Likewise.
13457 [XPG3 || XPG4] (sival_*): Likewise.
13458 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13459 [POSIX || XPG3] (BUS_*): Likewise.
13460 [POSIX || XPG3] (CLD_*): Likewise.
13461 [POSIX || XPG3] (FPE_*): Likewise.
13462 [POSIX || XPG3] (ILL_*): Likewise.
13463 [POSIX || XPG3] (POLL_*): Likewise.
13464 [POSIX || XPG3] (SEGV_*): Likewise.
13465 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13466 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13467 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13468 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13469 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13470 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13471 Specify type and value.
13472 (TVERSLEN): Likewise.
13473 (REGTYPE): Likewise.
13474 (AREGTYPE): Likewise.
13475 (LNKTYPE): Likewise.
13476 (SYMTYPE): Likewise.
13477 (CHRTYPE): Likewise.
13478 (BLKTYPE): Likewise.
13479 (DIRTYPE): Likewise.
13480 (FIFOTYPE): Likewise.
13481 (CONTTYPE): Likewise.
13485 (TUREAD): Likewise.
13486 (TUWRITE): Likewise.
13487 (TUEXEC): Likewise.
13488 (TGREAD): Likewise.
13489 (TGWRITE): Likewise.
13490 (TGEXEC): Likewise.
13491 (TOREAD): Likewise.
13492 (TOWRITE): Likewise.
13493 (TOEXEC): Likewise.
13494 [POSIX] (TSVTX): Expect constant.
13496 2014-03-06 Joseph Myers <joseph@codesourcery.com>
13498 * Makefile (tests): Change dependencies to ....
13499 (tests-special): ... additions to this variable.
13500 (tests): Depend on $(tests-special).
13501 * Makerules (check-abi-list): New variable.
13502 (check-abi): Depend on $(check-abi-list).
13503 [$(subdir) = elf] (tests-special): Add
13504 $(objpfx)check-abi-libc.out.
13505 [$(build-shared) = yes && subdir] (tests-special): Add
13507 [$(build-shared) = yes && subdir] (tests): Do not depend on
13509 * Rules (tests): Depend on $(tests-special).
13510 (xtests): Depend on $(xtests-special).
13511 * catgets/Makefile (tests): Change dependencies to ....
13512 (tests-special): ... additions to this variable.
13513 * conform/Makefile (tests): Change dependencies to ....
13514 (tests-special): ... additions to this variable.
13515 * elf/Makefile (tests): Change dependencies to ....
13516 (tests-special): ... additions to this variable.
13517 * grp/Makefile (tests): Change dependencies to ....
13518 (tests-special): ... additions to this variable.
13519 * iconv/Makefile (xtests): Change dependencies to ....
13520 (xtests-special): ... additions to this variable.
13521 * iconvdata/Makefile (tests): Change dependencies to ....
13522 (tests-special): ... additions to this variable.
13523 * intl/Makefile (tests): Change dependencies to ....
13524 (tests-special): ... additions to this variable. Also add
13525 $(objpfx)tst-gettext.out.
13526 * io/Makefile (tests): Change dependencies to ....
13527 (tests-special): ... additions to this variable.
13528 * libio/Makefile (tests): Change dependencies to ....
13529 (tests-special): ... additions to this variable.
13530 * malloc/Makefile (tests): Change dependencies to ....
13531 (tests-special): ... additions to this variable.
13532 * misc/Makefile (tests): Change dependencies to ....
13533 (tests-special): ... additions to this variable.
13534 * nptl/Makefile (tests): Change dependencies to ....
13535 (tests-special): ... additions to this variable.
13536 * nptl_db/Makefile (tests): Change dependencies to ....
13537 (tests-special): ... additions to this variable.
13538 * posix/Makefile (tests): Change dependencies to ....
13539 (tests-special): ... additions to this variable.
13540 (xtests): Change dependencies to ....
13541 (xtests-special): ... additions to this variable.
13542 * resolv/Makefile (tests): Change dependencies to ....
13543 (tests-special): ... additions to this variable.
13544 (xtests): Change dependencies to ....
13545 (xtests-special): ... additions to this variable.
13546 * stdio-common/Makefile (tests): Change dependencies to ....
13547 (tests-special): ... additions to this variable.
13548 (do-tst-unbputc): Remove target.
13549 (do-tst-printf): Likewise.
13550 * stdlib/Makefile (tests): Change dependencies to ....
13551 (tests-special): ... additions to this variable.
13552 * string/Makefile (tests): Change dependencies to ....
13553 (tests-special): ... additions to this variable.
13554 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13555 (tests-special): ... additions to this variable.
13557 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13559 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13561 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13562 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13564 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13565 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13566 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13567 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13568 * conform/data/libgen.h-data [XPG3]: Likewise.
13569 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13570 * conform/data/ndbm.h-data [XPG3]: Likewise.
13571 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13572 * conform/data/netdb.h-data [XPG3]: Likewise.
13573 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13574 * conform/data/poll.h-data [XPG3]: Likewise.
13575 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13576 * conform/data/strings.h-data [XPG3]: Likewise.
13577 * conform/data/stropts.h-data [XPG3]: Likewise.
13578 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13579 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13580 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13582 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13583 * conform/data/sys/time.h-data [XPG3]: Likewise.
13584 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13585 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13586 * conform/data/sys/un.h-data [XPG3]: Likewise.
13587 * conform/data/syslog.h-data [XPG3]: Likewise.
13588 * conform/data/ucontext.h-data [XPG3]: Likewise.
13589 * conform/data/utmpx.h-data [XPG3]: Likewise.
13590 * conform/data/varargs.h-data [UNIX98]: Enable file.
13592 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13594 * math/libm-test.inc (struct test_f_f_data): Move expected results
13595 into structure for each rounding mode.
13596 (struct test_ff_f_data): Likewise.
13597 (struct test_ff_f_data_nexttoward): Likewise.
13598 (struct test_fi_f_data): Likewise.
13599 (struct test_fl_f_data): Likewise.
13600 (struct test_if_f_data): Likewise.
13601 (struct test_fff_f_data): Likewise.
13602 (struct test_c_f_data): Likewise.
13603 (struct test_f_f1_data): Likewise.
13604 (struct test_fF_f1_data): Likewise.
13605 (struct test_ffI_f1_data): Likewise.
13606 (struct test_c_c_data): Likewise.
13607 (struct test_cc_c_data): Likewise.
13608 (struct test_f_i_data): Likewise.
13609 (struct test_ff_i_data): Likewise.
13610 (struct test_f_l_data): Likewise.
13611 (struct test_f_L_data): Likewise.
13612 (struct test_fFF_11_data): Likewise.
13614 (RM_FE_DOWNWARD): Likewise.
13615 (RM_FE_TONEAREST): Likewise.
13616 (RM_FE_TOWARDZERO): Likewise.
13617 (RM_FE_UPWARD): Likewise.
13618 (RUN_TEST_LOOP_f_f): Update references to expected results.
13619 (RUN_TEST_LOOP_2_f): Likewise.
13620 (RUN_TEST_LOOP_fff_f): Likewise.
13621 (RUN_TEST_LOOP_c_f): Likewise.
13622 (RUN_TEST_LOOP_f_f1): Likewise.
13623 (RUN_TEST_LOOP_fF_f1): Likewise.
13624 (RUN_TEST_LOOP_fI_f1): Likewise.
13625 (RUN_TEST_LOOP_ffI_f1): Likewise.
13626 (RUN_TEST_LOOP_c_c): Likewise.
13627 (RUN_TEST_LOOP_cc_c): Likewise.
13628 (RUN_TEST_LOOP_f_i): Likewise.
13629 (RUN_TEST_LOOP_f_i_tg): Likewise.
13630 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13631 (RUN_TEST_LOOP_f_b): Likewise.
13632 (RUN_TEST_LOOP_f_b_tg): Likewise.
13633 (RUN_TEST_LOOP_f_l): Likewise.
13634 (RUN_TEST_LOOP_f_L): Likewise.
13635 (RUN_TEST_LOOP_fFF_11): Likewise.
13636 * math/gen-libm-test.pl (parse_args): Output four copies of
13637 expected results for each test.
13639 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13640 (__ASSUME_UTIMES): Remove.
13641 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13642 (__ASSUME_UTIMES): Likewise.
13644 * math/gen-auto-libm-tests.c: Update comment on output format.
13645 (output_for_one_input_case): Generate before-rounding and
13646 after-rounding information as conditions on output flags not
13647 floating-point format.
13648 * math/auto-libm-test-out: Regenerated.
13649 * math/gen-libm-test.pl (cond_value): New function.
13650 (or_cond_value): Use cond_value.
13651 (generate_testfile): Handle conditional exceptions.
13653 2014-03-05 Joseph Myers <joseph@codesourcery.com>
13655 * math/libm-test.inc (max_valid_error): New variable.
13656 (init_max_error): Take new argument specifying whether function
13657 results are exactly determined. Set max_valid_error and bound
13658 other variables for errors based on this argument.
13659 (set_max_error): Do not record results above max_valid_error.
13660 (check_float_internal): Only accept errors of up to 0.5ulps if
13661 also at most max_valid_error.
13662 (START): Take new argument EXACT and pass it to init_max_error.
13663 (acos_test): Update call to START.
13664 (acos_test_tonearest): Likewise.
13665 (acos_test_towardzero): Likewise.
13666 (acos_test_downward): Likewise.
13667 (acos_test_upward): Likewise.
13668 (acosh_test): Likewise.
13669 (asin_test): Likewise.
13670 (asin_test_tonearest): Likewise.
13671 (asin_test_towardzero): Likewise.
13672 (asin_test_downward): Likewise.
13673 (asin_test_upward): Likewise.
13674 (asinh_test): Likewise.
13675 (atan_test): Likewise.
13676 (atanh_test): Likewise.
13677 (atan2_test): Likewise.
13678 (cabs_test): Likewise.
13679 (cacos_test): Likewise.
13680 (cacosh_test): Likewise.
13681 (carg_test): Likewise.
13682 (casin_test): Likewise.
13683 (casinh_test): Likewise.
13684 (catan_test): Likewise.
13685 (catanh_test): Likewise.
13686 (cbrt_test): Likewise.
13687 (ccos_test): Likewise.
13688 (ccosh_test): Likewise.
13689 (ceil_test): Likewise.
13690 (cexp_test): Likewise.
13691 (cimag_test): Likewise.
13692 (clog_test): Likewise.
13693 (clog10_test): Likewise.
13694 (conj_test): Likewise.
13695 (copysign_test): Likewise.
13696 (cos_test): Likewise.
13697 (cos_test_tonearest): Likewise.
13698 (cos_test_towardzero): Likewise.
13699 (cos_test_downward): Likewise.
13700 (cos_test_upward): Likewise.
13701 (cosh_test): Likewise.
13702 (cosh_test_tonearest): Likewise.
13703 (cosh_test_towardzero): Likewise.
13704 (cosh_test_downward): Likewise.
13705 (cosh_test_upward): Likewise.
13706 (cpow_test): Likewise.
13707 (cproj_test): Likewise.
13708 (creal_test): Likewise.
13709 (csin_test): Likewise.
13710 (csinh_test): Likewise.
13711 (csqrt_test): Likewise.
13712 (ctan_test): Likewise.
13713 (ctan_test_tonearest): Likewise.
13714 (ctan_test_towardzero): Likewise.
13715 (ctan_test_downward): Likewise.
13716 (ctan_test_upward): Likewise.
13717 (ctanh_test): Likewise.
13718 (ctanh_test_tonearest): Likewise.
13719 (ctanh_test_towardzero): Likewise.
13720 (ctanh_test_downward): Likewise.
13721 (ctanh_test_upward): Likewise.
13722 (erf_test): Likewise.
13723 (erfc_test): Likewise.
13724 (exp_test): Likewise.
13725 (exp_test_tonearest): Likewise.
13726 (exp_test_towardzero): Likewise.
13727 (exp_test_downward): Likewise.
13728 (exp_test_upward): Likewise.
13729 (exp10_test): Likewise.
13730 (exp10_test_tonearest): Likewise.
13731 (exp10_test_towardzero): Likewise.
13732 (exp10_test_downward): Likewise.
13733 (exp10_test_upward): Likewise.
13734 (pow10_test): Likewise.
13735 (exp2_test): Likewise.
13736 (expm1_test): Likewise.
13737 (expm1_test_tonearest): Likewise.
13738 (expm1_test_towardzero): Likewise.
13739 (expm1_test_downward): Likewise.
13740 (expm1_test_upward): Likewise.
13741 (fabs_test): Likewise.
13742 (fdim_test): Likewise.
13743 (floor_test): Likewise.
13744 (fma_test): Likewise.
13745 (fma_test_towardzero): Likewise.
13746 (fma_test_downward): Likewise.
13747 (fma_test_upward): Likewise.
13748 (fmax_test): Likewise.
13749 (fmin_test): Likewise.
13750 (fmod_test): Likewise.
13751 (fpclassify_test): Likewise.
13752 (frexp_test): Likewise.
13753 (hypot_test): Likewise.
13754 (ilogb_test): Likewise.
13755 (isfinite_test): Likewise.
13756 (finite_test): Likewise.
13757 (isgreater_test): Likewise.
13758 (isgreaterequal_test): Likewise.
13759 (isinf_test): Likewise.
13760 (isless_test): Likewise.
13761 (islessequal_test): Likewise.
13762 (islessgreater_test): Likewise.
13763 (isnan_test): Likewise.
13764 (isnormal_test): Likewise.
13765 (issignaling_test): Likewise.
13766 (isunordered_test): Likewise.
13767 (j0_test): Likewise.
13768 (j1_test): Likewise.
13769 (jn_test): Likewise.
13770 (ldexp_test): Likewise.
13771 (lgamma_test): Likewise.
13772 (gamma_test): Likewise.
13773 (lrint_test): Likewise.
13774 (lrint_test_tonearest): Likewise.
13775 (lrint_test_towardzero): Likewise.
13776 (lrint_test_downward): Likewise.
13777 (lrint_test_upward): Likewise.
13778 (llrint_test): Likewise.
13779 (llrint_test_tonearest): Likewise.
13780 (llrint_test_towardzero): Likewise.
13781 (llrint_test_downward): Likewise.
13782 (llrint_test_upward): Likewise.
13783 (log_test): Likewise.
13784 (log10_test): Likewise.
13785 (log1p_test): Likewise.
13786 (log2_test): Likewise.
13787 (logb_test): Likewise.
13788 (logb_test_downward): Likewise.
13789 (lround_test): Likewise.
13790 (llround_test): Likewise.
13791 (modf_test): Likewise.
13792 (nearbyint_test): Likewise.
13793 (nextafter_test): Likewise.
13794 (nexttoward_test): Likewise.
13795 (pow_test): Likewise.
13796 (pow_test_tonearest): Likewise.
13797 (pow_test_towardzero): Likewise.
13798 (pow_test_downward): Likewise.
13799 (pow_test_upward): Likewise.
13800 (remainder_test): Likewise.
13801 (drem_test): Likewise.
13802 (remainder_test_tonearest): Likewise.
13803 (drem_test_tonearest): Likewise.
13804 (remainder_test_towardzero): Likewise.
13805 (drem_test_towardzero): Likewise.
13806 (remainder_test_downward): Likewise.
13807 (drem_test_downward): Likewise.
13808 (remainder_test_upward): Likewise.
13809 (drem_test_upward): Likewise.
13810 (remquo_test): Likewise.
13811 (rint_test): Likewise.
13812 (rint_test_tonearest): Likewise.
13813 (rint_test_towardzero): Likewise.
13814 (rint_test_downward): Likewise.
13815 (rint_test_upward): Likewise.
13816 (round_test): Likewise.
13817 (scalb_test): Likewise.
13818 (scalbn_test): Likewise.
13819 (scalbln_test): Likewise.
13820 (signbit_test): Likewise.
13821 (sin_test): Likewise.
13822 (sin_test_tonearest): Likewise.
13823 (sin_test_towardzero): Likewise.
13824 (sin_test_downward): Likewise.
13825 (sin_test_upward): Likewise.
13826 (sincos_test): Likewise.
13827 (sinh_test): Likewise.
13828 (sinh_test_tonearest): Likewise.
13829 (sinh_test_towardzero): Likewise.
13830 (sinh_test_downward): Likewise.
13831 (sinh_test_upward): Likewise.
13832 (sqrt_test): Likewise.
13833 (sqrt_test_tonearest): Likewise.
13834 (sqrt_test_towardzero): Likewise.
13835 (sqrt_test_downward): Likewise.
13836 (sqrt_test_upward): Likewise.
13837 (tan_test): Likewise.
13838 (tan_test_tonearest): Likewise.
13839 (tan_test_towardzero): Likewise.
13840 (tan_test_downward): Likewise.
13841 (tan_test_upward): Likewise.
13842 (tanh_test): Likewise.
13843 (tgamma_test): Likewise.
13844 (trunc_test): Likewise.
13845 (y0_test): Likewise.
13846 (y1_test): Likewise.
13847 (yn_test): Likewise.
13848 (significand_test): Likewise.
13850 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13851 individual tests in comment.
13852 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13853 (prev_max_error): New variable.
13854 (prev_real_max_error): Likewise.
13855 (prev_imag_max_error): Likewise.
13856 (compare_ulp_data): Don't refer to test names in comment.
13857 (find_test_ulps): Remove function.
13858 (find_function_ulps): Likewise.
13859 (find_complex_function_ulps): Likewise.
13860 (init_max_error): Take function name as argument. Look up ulps
13862 (print_ulps): Remove function.
13863 (print_max_error): Use prev_max_error instead of calling
13864 find_function_ulps.
13865 (print_complex_max_error): Use prev_real_max_error and
13866 prev_imag_max_error instead of calling find_complex_function_ulps.
13867 (check_float_internal): Take max_ulp parameter instead of calling
13868 find_test_ulps. Don't call print_ulps.
13869 (check_float): Update call to check_float_internal.
13870 (check_complex): Update calls to check_float_internal.
13871 (START): Pass argument to init_max_error.
13872 * math/gen-libm-test.pl (%results): Don't include "kind"
13874 (parse_ulps): Don't handle ulps of individual tests.
13875 (print_ulps_file): Likewise.
13876 (output_ulps): Likewise.
13877 * math/README.libm-test: Update.
13878 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13880 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13881 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13882 * sysdeps/arm/libm-test-ulps: Likewise.
13883 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13884 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13885 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13886 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13887 * sysdeps/microblaze/libm-test-ulps: Likewise.
13888 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13889 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13890 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13891 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13892 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13893 * sysdeps/sh/libm-test-ulps: Likewise.
13894 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13895 * sysdeps/tile/libm-test-ulps: Likewise.
13896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13898 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13900 * math/libm-test.inc (print_complex_max_error): Check separately
13901 whether real and imaginary errors are within allowed range and
13902 pass 0 to print_complex_function_ulps instead of value within
13905 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13907 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13909 (get_handles_fopen): Likewise.
13910 (do_write_test): Likewise.
13912 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13914 * libio/fileops.c (do_ftell): Use cached offset when
13916 * libio/iofwide.c (do_ftell_wide): Likewise.
13917 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13919 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13922 * libio/libioP.h (get_file_offset): New function.
13923 * libio/fileops.c (get_file_offset): Likewise.
13924 (do_ftell): Likewise.
13925 (_IO_new_file_seekoff): Split out ftell logic.
13926 * libio/wfileops.c (do_ftell_wide): Likewise.
13927 (_IO_wfile_seekoff): Split out ftell logic.
13928 * libio/tst-ftell-active-handler.c: New test case.
13929 * libio/Makefile (tests): Add it.
13931 2014-03-03 Roland McGrath <roland@hack.frob.com>
13933 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13934 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13936 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13939 * nscd/connections.c (nscd_init): Call do_exit.
13940 (start_threads): Call do_exit and notify_parent.
13941 (begin_drop_privileges): Call do_exit.
13942 (finish_drop_privileges): Likewise.
13943 * nscd/selinux.c (preserve_capabilities): Likewise.
13944 (install_real_capabilities): Likewise.
13945 (nscd_selinux_enabled): Likewise.
13946 (avc_create_thread): Likewise.
13947 (avc_alloc_lock): Likewise.
13948 (nscd_avc_init): Likewise.
13949 * nscd/nscd.c (parent_fd): New static variable.
13950 (main): Create a pipe between parent and child processes.
13951 Skip closing parent_fd.
13952 (monitor_child): New function.
13953 (do_exit): Likewise.
13954 (notify_parent): Likewise.
13955 * nscd/nscd.h (notify_parent): Likewise.
13956 (do_exit): Likewise.
13958 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13960 * malloc/malloc.c (__libc_calloc): Revert last change.
13962 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13966 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13968 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13972 (__libc_ifunc_impl_list): Likewise.
13973 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13974 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13975 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13976 * string/strrchr.c: Define STRRCHR.
13978 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13980 * benchtest/bench-strtok.c (simple_strtok): Delete.
13981 (strtok_string): Use as benchmark.
13982 * string/strtok (STRTOK): New macro.
13984 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13986 * manual/threads.texi: Add header and standard comments to all
13989 * elf/dl-lookup.c (check_match): New function.
13990 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13991 (do_lookup_x): Remove nested function check_match. Use non-nested
13992 function check_match.
13994 2014-02-28 Roland McGrath <roland@hack.frob.com>
13996 * csu/Makefile (generated, before-compile): Use += rather than =.
13997 * catgets/Makefile (generated, generated-dirs): Likewise.
13998 * debug/Makefile (generated): Likewise.
13999 * dlfcn/Makefile (generated): Likewise.
14000 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14001 * iconvdata/Makefile (before-compile, generated): Likewise.
14002 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14003 * libio/Makefile (generated): Likewise.
14004 * malloc/Makefile (generated): Likewise.
14005 * manual/Makefile (generated, generated-dirs): Likewise.
14006 * misc/Makefile (generated): Likewise.
14007 * posix/Makefile (generated): Likewise.
14008 * resolv/Makefile (generated): Likewise.
14009 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14010 * timezone/Makefile (generated, generated-dirs): Likewise.
14012 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14014 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14017 power8 implementation.
14018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14019 file: POWER8 llround ifunc implementation.
14020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14021 (__lllround): Add POWER8 implementation.
14022 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14023 POWER8 llround implementation.
14025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14026 power8 implementation.
14027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14028 file: POWER8 llrint ifunc implementation.
14029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14030 Add POWER8 implementation.
14031 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14032 POWER8 llrint implementation.
14034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14035 power8 implementation.
14036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14037 file: POWER8 finite ifunc implementation.
14038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14039 Add POWER8 implementation.
14040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14042 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14043 POWER8 finite implementation.
14044 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14047 power8 implementation.
14048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14049 file: POWER8 isinf ifunc implementation.
14050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14051 POWER8 implementation.
14052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14054 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14055 isinf implementation.
14056 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14058 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14059 (INIT_ARCH): Add hwcap2 initialization.
14060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14061 power8 implementation.
14062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14063 file: POWER8 isnan ifunc implementation.
14064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14065 POWER8 implementation.
14066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14068 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14069 isnan implementation.
14070 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14072 2014-02-27 Joey Ye <joey.ye@arm.com>
14074 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14075 (_FP_NANFRAC_Q): Set to zero.
14077 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14080 * math/auto-libm-test-in: New test inputs.
14081 * math/auto-libm-test-out: Regenerate.
14082 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14085 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14087 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14089 * scripts/evaluate-test.sh: Take new argument indicating whether
14090 failure is expected.
14091 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14092 indicating whether failure is expected.
14093 * conform/Makefile (test-xfail-run-conformtest): New variable.
14094 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14096 * posix/Makefile (test-xfail-annexc): New variable.
14097 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14099 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14101 * argp/Makefile: Include Makeconfig immediately after defining
14103 * assert/Makefile: Likewise.
14104 * benchtests/Makefile: Likewise.
14105 * catgets/Makefile: Likewise.
14106 * conform/Makefile: Likewise.
14107 * crypt/Makefile: Likewise.
14108 * csu/Makefile: Likewise.
14109 (all): Remove target.
14110 * ctype/Makefile: Include Makeconfig immediately after defining
14112 * debug/Makefile: Likewise.
14113 * dirent/Makefile: Likewise.
14114 * dlfcn/Makefile: Likewise.
14115 * gmon/Makefile: Likewise.
14116 * gnulib/Makefile: Likewise.
14117 * grp/Makefile: Likewise.
14118 * gshadow/Makefile: Likewise.
14119 * hesiod/Makefile: Likewise.
14120 * hurd/Makefile: Likewise.
14121 (all): Remove target.
14122 * iconvdata/Makefile: Include Makeconfig immediately after
14124 * inet/Makefile: Likewise.
14125 * intl/Makefile: Likewise.
14126 * io/Makefile: Likewise.
14127 * libio/Makefile: Likewise.
14128 (all): Remove target.
14129 * locale/Makefile: Include Makeconfig immediately after defining
14131 * login/Makefile: Likewise.
14132 * mach/Makefile: Likewise.
14133 (all): Remove target.
14134 * malloc/Makefile: Include Makeconfig immediately after defining
14136 (all): Remove target.
14137 * manual/Makefile: Include Makeconfig immediately after defining
14139 * math/Makefile: Likewise.
14140 * misc/Makefile: Likewise.
14141 * nis/Makefile: Likewise.
14142 * nss/Makefile: Likewise.
14143 * po/Makefile: Likewise.
14144 (all): Remove target.
14145 * posix/Makefile: Include Makeconfig immediately after defining
14147 * pwd/Makefile: Likewise.
14148 * resolv/Makefile: Likewise.
14149 * resource/Makefile: Likewise.
14150 * rt/Makefile: Likewise.
14151 * setjmp/Makefile: Likewise.
14152 * shadow/Makefile: Likewise.
14153 * signal/Makefile: Likewise.
14154 * socket/Makefile: Likewise.
14155 * soft-fp/Makefile: Likewise.
14156 * stdio-common/Makefile: Likewise.
14157 * stdlib/Makefile: Likewise.
14158 * streams/Makefile: Likewise.
14159 * string/Makefile: Likewise.
14160 * sunrpc/Makefile: Likewise.
14161 (all): Remove target.
14162 * sysvipc/Makefile: Include Makeconfig immediately after defining
14164 * termios/Makefile: Likewise.
14165 * time/Makefile: Likewise.
14166 * timezone/Makefile: Likewise.
14167 (all): Remove target.
14168 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14170 * wctype/Makefile: Likewise.
14172 2014-02-26 Steve Ellcey <sellcey@mips.com>
14174 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14175 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14176 (libc_feholdexcept_setround_mips): Ditto.
14177 (libc_feholdsetround): New.
14178 (libc_feholdsetroundf): New.
14179 (libc_feholdsetroundl): New.
14180 (libc_feupdateenv_test_mips): New.
14181 (libc_feupdateenv_test): New.
14182 (libc_feupdateenv_testf): New.
14183 (libc_feupdateenv_testl): New.
14184 (libc_feresetround): New.
14185 (libc_feresetroundf): New.
14186 (libc_feresetroundl): New.
14187 (libc_fetestexcept_mips): New.
14188 (libc_fetestexcept): New.
14189 (libc_fetestexceptf): New.
14190 (libc_fetestexceptl): New.
14191 (HAVE_RM_CTX): New.
14192 (libc_feholdexcept_setround_mips_ctx): New.
14193 (libc_feholdexcept_setround_ctx): New.
14194 (libc_feholdexcept_setroundf_ctx): New.
14195 (libc_feholdexcept_setroundl_ctx): New.
14196 (libc_fesetenv_mips_ctx): New.
14197 (libc_fesetenv_ctx): New.
14198 (libc_fesetenv_ctxf): New.
14199 (libc_fesetenv_ctxl): New.
14200 (libc_feupdateenv_mips_ctx): New.
14201 (libc_feupdateenv_ctx): New.
14202 (libc_feupdateenvf_ctx): New.
14203 (libc_feupdateenvl_ctx): New.
14204 (libc_feholdsetround_mips_ctx): New.
14205 (libc_feholdsetround_ctx): New.
14206 (libc_feholdsetroundf_ctx): New.
14207 (libc_feholdsetroundl_ctx): New.
14208 (libc_feresetround_mips_ctx): New.
14209 (libc_feresetround_ctx): New.
14210 (libc_feresetroundf_ctx): New.
14211 (libc_feresetroundl_ctx): New.
14213 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14215 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14217 * manual/ipc.texi: New file.
14218 * manual/Makefile (chapters): Add ipc.
14219 * manual/job.texi: Add "Inter-Process Communication" to next.
14220 * manual/process.texi: Add "Inter-Process Communication" to prev.
14222 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14226 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14228 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14230 * manual/arith.texi: Fix spaces after sentences.
14231 * manual/charset.texi: Likewise.
14232 * manual/errno.texi: Likewise.
14233 * manual/install.texi: Likewise.
14234 * manual/llio.texi: Likewise.
14235 * manual/locale.texi: Likewise.
14236 * manual/maint.texi: Likewise.
14237 * manual/math.texi: Likewise.
14238 * manual/memory.texi: Likewise.
14239 * manual/message.texi: Likewise.
14240 * manual/probes.texi: Likewise.
14241 * manual/resource.texi: Likewise.
14242 * manual/signal.texi: Likewise.
14243 * manual/socket.texi: Likewise.
14244 * manual/stdio.texi: Likewise.
14245 * manual/string.texi: Likewise.
14246 * manual/time.texi: Likewise.
14247 * manual/users.texi: Likewise.
14249 2014-02-25 Carlos O'Donell <carlos@redhat.com>
14252 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14253 _DEFAULT_SOURCE is defined.
14255 2014-02-25 Ulrich Drepper <drepper@gmail.com>
14256 Carlos O'Donell <carlos@redhat.com>
14259 * elf/dl-tls.c (_dl_count_modids): New function.
14260 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14261 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14262 audit library and increment generation counter.
14263 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14264 * elf/tst-audit9.c: New file.
14265 * elf/tst-auditmod9a.c: New file.
14266 * elf/tst-auditmod9b.c: New file.
14267 * elf/Makefile: Add rules to build and run tst-audit9.
14269 2014-02-25 Florian Weimer <fweimer@redhat.com>
14272 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14274 2014-02-25 Will Newton <will.newton@linaro.org>
14276 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14277 (__longjmp): Restore sp and lr before restoring callee
14278 saved registers. Add longjmp and longjmp_target
14279 SystemTap probe point.
14280 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14281 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14282 Define to zero to match jmpbuf layout.
14283 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14284 (__sigsetjmp): Save sp and lr before saving callee
14285 saved registers. Add setjmp SystemTap probe point.
14287 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14289 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14291 2014-02-24 Andreas Schwab <schwab@suse.de>
14294 * elf/pldd.c (wait_for_ptrace_stop): New function.
14295 (main): Call it after attaching.
14297 2014-02-22 Roland McGrath <roland@hack.frob.com>
14299 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14300 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14301 Versions files is now verboten.
14302 * hurd/Versions (libc: GLIBC_2.0):
14303 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14304 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14305 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14306 * mach/Versions: Likewise.
14308 * csu/Versions: Remove unused %include.
14309 * resolv/Versions: Likewise.
14311 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14313 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14314 ($(objpfx)check-local-headers.out): Likewise.
14315 ($(objpfx)begin-end-check.out): Likewise.
14316 * Makerules (check-abi-%.out): Likewise.
14317 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14318 ($(objpfx)test2.cat): Likewise.
14319 ($(objpfx)de/libc.cat): Likewise.
14320 ($(objpfx)test-gencat.out): Likewise.
14321 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14322 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14323 ($(objpfx)noload-mem): Likewise.
14324 ($(objpfx)tst-pathopt.out): Likewise.
14325 ($(objpfx)tst-rtld-load-self.out): Likewise.
14326 ($(objpfx)tst-array1-cmp.out): Likewise.
14327 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14328 ($(objpfx)tst-array2-cmp.out): Likewise.
14329 ($(objpfx)tst-array3-cmp.out): Likewise.
14330 ($(objpfx)tst-array4-cmp.out): Likewise.
14331 ($(objpfx)tst-array5-cmp.out): Likewise.
14332 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14333 ($(objpfx)check-textrel.out): Likewise.
14334 ($(objpfx)check-execstack.out): Likewise.
14335 ($(objpfx)check-localplt.out): Likewise.
14336 ($(objpfx)order2-cmp.out): Likewise.
14337 ($(objpfx)tst-leaks1-mem): Likewise.
14338 ($(objpfx)tst-leaks1-static-mem): Likewise.
14339 ($(objpfx)tst-initorder-cmp.out): Likewise.
14340 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14341 ($(objpfx)tst-unused-dep.out): Likewise.
14342 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14343 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14344 * iconv/Makefile (test-iconvconfig): Likewise.
14345 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14346 ($(objpfx)iconv-test.out): Likewise.
14347 ($(objpfx)tst-tables.out): Likewise.
14348 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14349 ($(objpfx)tst-gettext.out): Likewise.
14350 ($(objpfx)tst-translit.out): Likewise.
14351 ($(objpfx)tst-gettext2.out): Likewise.
14352 ($(objpfx)tst-gettext4.out): Likewise.
14353 ($(objpfx)tst-gettext6.out): Likewise.
14354 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14355 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14356 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14357 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14358 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14359 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14360 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14361 ($(objpfx)wordexp-tst.out): Likewise.
14362 ($(objpfx)annexc.out): Likewise.
14363 ($(objpfx)tst-fnmatch-mem): Likewise.
14364 ($(objpfx)bug-regex2-mem): Likewise.
14365 ($(objpfx)bug-regex14-mem): Likewise.
14366 ($(objpfx)bug-regex21-mem): Likewise.
14367 ($(objpfx)bug-regex31-mem): Likewise.
14368 ($(objpfx)tst-vfork3-mem): Likewise.
14369 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14370 ($(objpfx)tst-pcre-mem): Likewise.
14371 ($(objpfx)tst-boost-mem): Likewise.
14372 ($(objpfx)tst-getconf.out): Likewise.
14373 ($(objpfx)bug-ga2-mem): Likewise.
14374 ($(objpfx)bug-glob2-mem): Likewise.
14375 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14376 ($(objpfx)mtrace-tst-leaks2): Likewise.
14377 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14378 ($(objpfx)tst-printf.out): Likewise.
14379 ($(objpfx)tst-setvbuf1.out): Likewise.
14380 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14381 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14382 ($(objpfx)tst-fmtmsg.out): Likewise.
14383 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14384 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14386 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14387 * bits/sigaction.h [__USE_MISC]: Likewise.
14388 * bits/waitstatus.h: Update #endif comments.
14389 * ctype/ctype.h: Likewise.
14390 * dirent/dirent.h: Likewise.
14391 [__USE_MISC]: Remove redundant conditionals.
14392 * grp/grp.h: Update #endif comments.
14393 [__USE_GNU]: Remove redundant conditionals.
14394 [__USE_MISC]: Likewise.
14395 * inet/netinet/in.h [__USE_GNU]: Likewise.
14396 * io/sys/stat.h [__USE_MISC]: Likewise.
14397 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14398 * libio/bits/stdio.h: Update #endif comments.
14399 [__USE_MISC]: Remove redundant conditionals.
14400 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14401 * libio/stdio.h: Update #endif comments.
14402 [__USE_MISC]: Remove redundant conditionals.
14403 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14404 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14405 * math/math.h: Update #else and #endif comments.
14406 [__USE_MISC]: Remove redundant conditionals.
14407 * misc/sys/uio.h: Update #endif comments.
14408 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14409 * posix/glob.h [__USE_MISC]: Likewise.
14410 * posix/sys/types.h: Update #endif comments.
14411 [__USE_MISC]: Remove redundant conditionals.
14412 * posix/sys/wait.h: Update #endif comments.
14413 [__USE_MISC]: Remove redundant conditionals.
14414 * posix/unistd.h: Update #endif comments.
14415 [__USE_MISC]: Remove redundant conditionals.
14416 * pwd/pwd.h [__USE_GNU]: Likewise.
14417 [__USE_MISC]: Likewise.
14418 * resolv/netdb.h [__USE_GNU]: Likewise.
14419 * signal/signal.h: Update #endif comments.
14420 [__USE_MISC]: Remove redundant conditionals.
14421 * stdlib/stdlib.h: Update #else and #endif comments.
14422 [__USE_MISC]: Remove redundant conditionals.
14423 [__USE_GNU]: Likewise.
14424 * string/bits/string2.h [__USE_MISC]: Likewise.
14425 * string/string.h: Update #endif comments.
14426 [__USE_MISC]: Remove redundant conditionals.
14427 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14429 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14430 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14431 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14433 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14435 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14437 [__USE_MISC]: Remove redundant conditionals.
14438 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14439 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14440 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14441 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14442 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14444 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14445 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14447 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14448 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14450 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14452 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14453 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14455 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14457 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14458 * sysdeps/x86/bits/string.h: Update #endif comments.
14459 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14461 * time/sys/time.h: Update #endif comments.
14462 * time/time.h: Likewise.
14463 [__USE_MISC]: Remove redundant conditionals.
14465 2014-02-21 Yury Gribov <y.gribov@samsung.com>
14468 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14470 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14472 * Versions.def (librt): Add GLIBC_2.17.
14474 2014-02-21 Adam Conrad <adconrad@0c3.net>
14476 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14477 synonym for _SYS_AUXV_H to allow direct inclusion.
14478 * sysdeps/sparc/bits/hwcap.h: Likewise.
14479 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14480 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14481 * sysdeps/sparc/sysdep.h: Likewise.
14483 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14485 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14487 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14489 * benchtests/bench-strrchr.c: Print length instead of position.
14491 2014-02-20 Joseph Myers <joseph@codesourcery.com>
14494 * sysdeps/unix/sysv/linux/kernel-features.h
14495 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14496 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14497 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14498 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14500 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14501 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14502 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14503 (__ASSUME_SENDMMSG): Define instead of using previous
14504 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14505 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14506 (__ASSUME_SENDMMSG_SYSCALL): Define.
14507 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14508 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14510 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14511 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14513 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14514 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14516 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14517 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14518 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14519 [__ASSUME_SENDMMSG]: Change conditionals to
14520 [__ASSUME_SENDMMSG_SOCKETCALL].
14521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14522 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14524 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14525 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14527 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14528 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14529 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14530 [!__ASSUME_SENDMMSG]: Change conditional to
14531 [!__ASSUME_SENDMMSG_SOCKETCALL].
14532 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14533 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14537 * sysdeps/unix/sysv/linux/kernel-features.h
14538 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14539 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14540 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14541 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14542 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14543 [__i386__ || __sparc__]
14544 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14545 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14546 (__ASSUME_RECVMMSG): Define instead of using previous
14547 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14549 (__ASSUME_RECVMMSG_SYSCALL): Define.
14550 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14551 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14553 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14554 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14556 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14557 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14559 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14560 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14561 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14562 [__ASSUME_RECVMMSG]: Change condition to
14563 [__ASSUME_RECVMMSG_SOCKETCALL].
14564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14565 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14567 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14568 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14569 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14571 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14572 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14573 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14574 [!__ASSUME_RECVMMSG]: Change condition to
14575 [!__ASSUME_RECVMMSG_SOCKETCALL].
14576 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14577 (__ASSUME_RECVMMSG_SYSCALL): Define.
14580 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14581 __powerpc__ || __s390__ || __sh__ || __sparc__]
14582 (__ASSUME_SOCKETCALL): Define.
14583 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14584 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14585 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14586 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14587 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14588 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14589 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14590 (__ASSUME_ACCEPT4): Define instead of using previous
14591 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14592 __powerpc__ || __sparc__ || __s390__)] condition.
14593 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14594 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14595 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14596 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14597 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14598 [!__ASSUME_ACCEPT4]: Change condition to
14599 [!__ASSUME_ACCEPT4_SOCKETCALL].
14600 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14601 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14602 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14603 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14604 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14605 __ASSUME_ACCEPT4_SYSCALL.
14606 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14607 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14608 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14609 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14610 __ASSUME_ACCEPT4_SYSCALL.
14611 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14612 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14613 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14614 [__ASSUME_ACCEPT4]: Change condition to
14615 [__ASSUME_ACCEPT4_SOCKETCALL].
14616 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14617 (__ASSUME_SOCKETCALL): Define.
14618 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14620 (__ASSUME_SOCKETCALL): Define.
14621 (__ASSUME_ACCEPT4): Remove.
14622 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14624 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14625 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14627 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14628 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14630 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14632 (HWCAP_ARM_LPAE): Likewise.
14633 (HWCAP_ARM_EVTSTRM): Likewise.
14634 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14635 Add vpfd32, lpae and evtstrm.
14636 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14639 2014-02-19 Joseph Myers <joseph@codesourcery.com>
14641 * math/auto-libm-test-in: Add tests of clog10.
14642 * math/auto-libm-test-out: Regenerated.
14643 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14644 * sysdeps/i386/fpu/libm-test-ulps: Update.
14645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647 2014-02-18 Andreas Schwab <schwab@suse.de>
14650 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14651 Store non-zero if the second buffer was newly allocated.
14652 (send_dg): Likewise.
14653 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14654 to send_vc and send_dg.
14655 (res_nsend): Pass NULL for ansp2_malloced.
14656 * resolv/res_query.c (__libc_res_nquery): Add parameter
14657 answerp2_malloced and pass it down to __libc_res_nsend.
14658 (res_nquery): Pass additional NULL to __libc_res_nquery.
14659 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14660 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14661 second answer buffer if answerp2_malloced was set.
14662 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14663 (__libc_res_nquerydomain): Add parameter
14664 answerp2_malloced and pass it down to __libc_res_nquery.
14665 (res_nquerydomain): Pass additional NULL to
14666 __libc_res_nquerydomain.
14667 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14668 additional NULL to __libc_res_nsend and __libc_res_nquery.
14669 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14670 additional NULL to __libc_res_nsearch.
14671 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14672 parameter of __libc_res_nsearch to check for separately allocated
14674 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14676 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14677 additional NULL to __libc_res_nquery.
14678 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14679 __libc_res_nsearch.
14680 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14681 * include/resolv.h: Update prototypes of __libc_res_nquery,
14682 __libc_res_nsearch, __libc_res_nsend.
14684 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14686 * math/auto-libm-test-in: Add tests of fma.
14687 * math/auto-libm-test-out: Regenerated.
14688 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14689 (fma_towardzero_test_data): Likewise.
14690 (fma_downward_test_data): Likewise.
14691 (fma_upward_test_data): Likewise.
14692 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14694 (rounding_modes): Add values for new field.
14695 (func_calc_method): Add value mpfr_fff_f.
14696 (func_calc_desc): Add mpfr_fff_f union field.
14697 (test_function): Add field exact_args.
14698 (FUNC): Add macro argument EXACT_ARGS.
14699 (FUNC_mpfr_f_f): Update call to FUNC.
14700 (FUNC_mpfr_f_f): Likewise.
14701 (FUNC_mpfr_ff_f): Likewise.
14702 (FUNC_mpfr_if_f): Likewise.
14703 (FUNC_mpc_c_f): Likewise.
14704 (FUNC_mpc_c_c): Likewise.
14705 (test_functions): Add fma. Update calls to FUNC.
14706 (handle_input_arg): Add argument exact_args.
14707 (add_test): Update call to handle_input_arg.
14708 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14709 (output_for_one_input_case): Update call to calc_generic_results.
14710 Recalculate exact zero results in each rounding mode.
14712 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14713 non-negative before setting low bit.
14714 * math/auto-libm-test-in: Mark one asin test possibly having
14715 spurious underflow.
14716 * math/auto-libm-test-out: Regenerated.
14717 * sysdeps/i386/fpu/libm-test-ulps: Update.
14718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14720 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14722 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14723 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14724 ports/sysdeps/unix/sysv/linux/microblaze.
14725 * README: Add missing listing for microblaze*-*-linux-gnu.
14727 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14729 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14732 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14734 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14735 * sysdeps/unix/sysv/linux/ia64: Move directory from
14736 ports/sysdeps/unix/sysv/linux/ia64.
14737 * README: Update listing for ia64-*-linux-gnu.
14739 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14740 Joseph Myers <joseph@codesourcery.com>
14742 * Makeconfig (test-name): New variable.
14743 (evaluate-test): Likewise.
14744 * Makerules (do-test-clean): Remove .test-result files.
14745 (common-mostlyclean): Likewise.
14746 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14747 * scripts/evaluate-test.sh: New file.
14749 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14751 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14752 separate $(objpfx)tst-fopenloc-cmp.out and
14753 $(objpfx)tst-fopenloc-mem.out targets.
14754 (tests): Update dependencies.
14755 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14756 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14757 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14758 (tst-rxspencer-no-utf8-ARGS): New variable.
14759 (tst-rxspencer-no-utf8-ENV): Likewise.
14760 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14761 instead of $(objpfx)tst-rxspencer-mem.
14762 ($(objpfx)tst-rxspencer-mem): Change target to
14763 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14764 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14765 * posix/tst-rxspencer-no-utf8.c: New file.
14767 * elf/Makefile ($(objpfx)order.out): Remove rule.
14768 [$(run-built-tests) = yes] (tests): Depend on
14769 $(objpfx)order-cmp.out.
14770 ($(objpfx)order-cmp.out): New rule.
14771 [$(run-built-tests) = yes] (tests): Depend on
14772 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14773 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14774 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14775 $(objpfx)tst-array5-static-cmp.out.
14776 ($(objpfx)tst-array1.out): Remove rule.
14777 ($(objpfx)tst-array1-cmp.out): New rule.
14778 ($(objpfx)tst-array1-static.out): Remove rule.
14779 ($(objpfx)tst-array1-static-cmp.out): New rule.
14780 ($(objpfx)tst-array2.out): Remove rule.
14781 ($(objpfx)tst-array2-cmp.out): New rule.
14782 ($(objpfx)tst-array3.out): Remove rule.
14783 ($(objpfx)tst-array3-cmp.out): New rule.
14784 ($(objpfx)tst-array4.out): Remove rule.
14785 ($(objpfx)tst-array4-cmp.out): New rule.
14786 ($(objpfx)tst-array5.out): Remove rule.
14787 ($(objpfx)tst-array5-cmp.out): New rule.
14788 ($(objpfx)tst-array5-static.out): Remove rule.
14789 ($(objpfx)tst-array5-static-cmp.out): New rule.
14790 [$(run-built-tests) = yes] (tests): Depend on
14791 $(objpfx)order2-cmp.out.
14792 ($(objpfx)order2.out): Remove rule.
14793 ($(objpfx)order2-cmp.out): New rule.
14794 ($(objpfx)tst-initorder.out): Remove rule.
14795 [$(run-built-tests) = yes] (tests): Depend on
14796 $(objpfx)tst-initorder-cmp.out.
14797 ($(objpfx)tst-initorder-cmp.out): New rule.
14798 ($(objpfx)tst-initorder2.out): Remove rule.
14799 [$(run-built-tests) = yes] (tests): Depend on
14800 $(objpfx)tst-initorder2-cmp.out.
14801 ($(objpfx)tst-initorder2-cmp.out): New rule.
14802 [$(run-built-tests) = yes] (tests): Depend on
14803 $(objpfx)tst-unused-dep-cmp.out.
14804 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14805 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14806 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14807 on $(objpfx)tst-setvbuf1-cmp.out.
14808 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14809 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14810 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14811 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14812 ($(objpfx)tst-svc.out): Remove rule.
14813 ($(objpfx)tst-svc-cmp.out): New rule.
14815 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14817 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14818 * ctype/ctype.h [__USE_MISC]: Likewise.
14819 * dirent/dirent.h [__USE_MISC]: Likewise.
14820 * grp/grp.h [__USE_MISC]: Likewise.
14821 * io/fcntl.h [__USE_MISC]: Likewise.
14822 * io/sys/stat.h [__USE_MISC]: Likewise.
14823 * libio/stdio.h [__USE_MISC]: Likewise.
14824 * posix/unistd.h [__USE_MISC]: Likewise.
14825 * pwd/pwd.h [__USE_MISC]: Likewise.
14826 * stdlib.h [__USE_MISC]: Likewise.
14827 * string/bits/string2.h [__USE_MISC]: Likewise.
14828 * string/string.h [__USE_MISC]: Likewise.
14829 * time/time.h [__USE_MISC]: Likewise.
14831 2014-02-13 Andreas Schwab <schwab@suse.de>
14834 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14835 second answer buffer if it was separately allocated.
14837 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14839 * sysdeps/mips/math-tests.h: Include <features.h>.
14840 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14841 (ROUNDING_TESTS_long_double): Do not define.
14842 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14843 (EXCEPTION_TESTS_long_double): Likewise.
14844 * sysdeps/mips/mips64/libm-test-ulps: Update.
14846 * include/features.h (__USE_BSD): Remove macro definitions.
14847 (__USE_SVID): Likewise.
14848 (_BSD_SOURCE): Likewise.
14849 (_SVID_SOURCE): Likewise.
14850 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14851 from definition of _DEFAULT_SOURCE.
14852 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14854 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14855 * bits/mman.h [__USE_BSD]: Likewise.
14856 * bits/termios.h [__USE_BSD]: Likewise.
14857 * bits/waitstatus.h [__USE_BSD]: Likewise.
14858 * ctype/ctype.h [__USE_SVID]: Likewise.
14859 * dirent/dirent.h [__USE_BSD]: Likewise.
14860 * grp/grp.h [__USE_SVID]: Likewise.
14861 [__USE_BSD]: Likewise.
14862 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14863 * io/fcntl.h [__USE_BSD]: Likewise.
14864 * io/ftw.h [__USE_BSD]: Likewise.
14865 * io/sys/stat.h [__USE_BSD]: Likewise.
14866 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14867 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14868 * libio/stdio.h [__USE_SVID]: Likewise.
14869 [__USE_BSD]: Likewise.
14870 * math/math.h [__USE_SVID]: Likewise.
14871 [__USE_BSD]: Likewise.
14872 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14873 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14874 * misc/search.h [__USE_SVID]: Likewise.
14875 * misc/sys/mman.h [__USE_BSD]: Likewise.
14876 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14877 * misc/sys/uio.h [__USE_BSD]: Likewise.
14878 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14879 * posix/glob.h [__USE_BSD]: Likewise.
14880 * posix/regex.h [__USE_BSD]: Likewise.
14881 * posix/sys/types.h [__USE_BSD]: Likewise.
14882 [__USE_SVID]: Likewise.
14883 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14884 * posix/sys/wait.h [__USE_BSD]: Likewise.
14885 [__USE_SVID]: Likewise.
14886 * posix/unistd.h [__USE_BSD]: Likewise.
14887 [__USE_SVID]: Likewise.
14888 * pwd/pwd.h [__USE_SVID]: Likewise.
14889 * resolv/netdb.h [__USE_BSD]: Likewise.
14890 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14891 * signal/signal.h [__USE_BSD]: Likewise.
14892 [__USE_SVID]: Likewise.
14893 * socket/sys/socket.h [__USE_BSD]: Likewise.
14894 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14895 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14896 [__USE_SVID]: Likewise.
14897 * string/bits/string2.h [__USE_BSD]: Likewise.
14898 [__USE_SVID]: Likewise.
14899 * string/bits/string3.h [__USE_BSD]: Likewise.
14900 * string/endian.h [__USE_BSD]: Likewise.
14901 * string/string.h [__USE_SVID]: Likewise.
14902 [__USE_BSD]: Likewise.
14903 * string/strings.h [__USE_BSD]: Likewise.
14904 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14905 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14907 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14908 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14909 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14913 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14914 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14916 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14917 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14919 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14921 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14922 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14923 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14925 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14927 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14928 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14929 * termios/termios.h [__USE_BSD]: Likewise.
14930 * time/sys/time.h [__USE_BSD]: Likewise.
14931 * time/time.h [__USE_BSD]: Likewise.
14932 [__USE_SVID]: Likewise.
14934 * Makefile (subdir_targets): Remove subdir_lint.out.
14936 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14937 (do-tst-printf): Likewise.
14938 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14939 $(objpfx)tst-printf.out.
14941 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14943 * Makerules (check-abi-%): Change target to
14944 $(objpfx)check-abi-%.out.
14945 (check-abi target): Update dependencies.
14946 (check-abi-pattern variable): Redirect output of diff to $@.
14947 (check-abi variable): Likewise.
14948 * elf/Makefile (check-abi): Update dependencies.
14950 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14952 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14953 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14955 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14956 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14957 value has largest subnormal exponent.
14958 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14959 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14960 * sysdeps/aarch64/soft-fp/sfp-machine.h
14961 (_FP_TININESS_AFTER_ROUNDING): New macro.
14962 * sysdeps/alpha/soft-fp/sfp-machine.h
14963 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14964 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14966 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14967 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14968 * sysdeps/mips/soft-fp/sfp-machine.h
14969 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14970 * sysdeps/powerpc/soft-fp/sfp-machine.h
14971 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14972 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14974 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14975 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14976 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14977 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14978 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14981 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14984 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14987 2014-02-12 Richard Henderson <rth@redhat.com>
14989 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14990 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14991 * sysdeps/unix/sysv/linux/alpha: Move directory from
14992 ports/sysdeps/unix/sysv/linux/alpha.
14993 * README: Update listing for alpha-*-linux-gnu.
14995 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14997 * include/features.h: Update comment documenting feature test
14999 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15001 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15002 (_SVID_SOURCE): Likewise.
15003 (_DEFAULT_SOURCE): Update description of default features.
15004 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15006 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15007 (S_ISVTX): Likewise.
15008 * manual/math.texi (Mathematical Constants): Likewise.
15009 * manual/signal.texi (Interrupted Primitives): Likewise.
15010 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15011 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15012 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15013 Don't refer to _SVID_SOURCE in warning text.
15015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15017 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15019 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15020 * sysdeps/mips/dl-lookup.c: Remove.
15021 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15023 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15026 * math/auto-libm-test-in: Add testcase for expl.
15027 * math/auto-libm-test-out: Regenerate.
15028 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15029 calculation of unsafe.
15030 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15032 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15034 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15035 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15036 ports/sysdeps/unix/sysv/linux/aarch64.
15037 * README: Update listing for aarch64*-*-linux-gnu.
15039 2014-02-11 Will Newton <will.newton@linaro.org>
15041 * manual/probes.texi (Mathematical Function Probes): Use
15042 "triggered" instead of "hit".
15044 * manual/probes.texi (Internal Probes): Add documentation
15045 of setjmp, longjmp and longjmp_target probes.
15047 * include/stap-probe.h: Add comment about probe argument
15050 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15051 definition. (tr_where, tr_freehook, tr_mallochook,
15052 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15054 2014-02-11 David S. Miller <davem@davemloft.net>
15056 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15057 processing int_tests.
15059 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15061 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15062 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15063 * sysdeps/unix/sysv/linux/mips: Move directory from
15064 ports/sysdeps/unix/sysv/linux/mips.
15065 * README: Update listing for mips-*-linux-gnu and
15066 mips64-*-linux-gnu.
15068 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15070 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15071 * sysdeps/unix/sysv/linux/m68k: Move directory from
15072 ports/sysdeps/unix/sysv/linux/m68k.
15073 * README: Update listing for m68k-*-linux-gnu.
15075 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15077 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15078 * sysdeps/unix/sysv/linux/generic: Move directory from
15079 ports/sysdeps/unix/sysv/linux/generic.
15080 * sysdeps/unix/sysv/linux/tile: Move directory from
15081 ports/sysdeps/unix/sysv/linux/tile.
15082 * README: Update listing for tile*-*-linux-gnu.
15084 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15086 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15088 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15089 * catgets/open_catalog.c (__open_catalog): Likewise.
15090 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15091 * debug/confstr_chk.c: Likewise.
15092 * debug/fread_chk.c (__fread_chk): Likewise.
15093 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15094 * debug/getgroups_chk.c: Likewise.
15095 * debug/mbsnrtowcs_chk.c: Likewise.
15096 * debug/mbsrtowcs_chk.c: Likewise.
15097 * debug/mbstowcs_chk.c: Likewise.
15098 * debug/memcpy_chk.c: Likewise.
15099 * debug/memmove_chk.c: Likewise.
15100 * debug/mempcpy_chk.c: Likewise.
15101 * debug/memset_chk.c: Likewise.
15102 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15103 * debug/strcat_chk.c (__strcat_chk): Likewise.
15104 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15105 * debug/strncat_chk.c (__strncat_chk): Likewise.
15106 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15107 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15108 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15109 * debug/wcpncpy_chk.c: Likewise.
15110 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15111 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15112 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15113 * debug/wcsncpy_chk.c: Likewise.
15114 * debug/wcsnrtombs_chk.c: Likewise.
15115 * debug/wcsrtombs_chk.c: Likewise.
15116 * debug/wcstombs_chk.c: Likewise.
15117 * debug/wmemcpy_chk.c: Likewise.
15118 * debug/wmemmove_chk.c: Likewise.
15119 * debug/wmempcpy_chk.c: Likewise.
15120 * debug/wmemset_chk.c: Likewise.
15121 * dirent/scandirat.c (SCANDIRAT): Likewise.
15122 * dlfcn/dladdr1.c (dladdr1): Likewise.
15123 * dlfcn/dladdr.c (dladdr): Likewise.
15124 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15125 * dlfcn/dlerror.c (__dlerror): Likewise.
15126 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15127 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15128 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15129 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15130 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15131 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15132 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15133 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15135 * elf/dl-conflict.c: Likewise.
15136 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15137 * elf/dl-dst.h: Likewise.
15138 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15139 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15140 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15141 * elf/dl-init.c (call_init, _dl_init): Likewise.
15142 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15143 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15144 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15146 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15148 * elf/dl-minimal.c (__libc_memalign): Likewise.
15149 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15150 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15151 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15152 * elf/dl-sym.c (do_sym): Likewise.
15153 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15154 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15155 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15156 * elf/dl-writev.h (_dl_writev): Likewise.
15157 * elf/ldconfig.c (search_dir): Likewise.
15158 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15159 (dl_main): Likewise.
15160 * elf/setup-vdso.h (setup_vdso): Likewise.
15161 * grp/compat-initgroups.c (compat_call): Likewise.
15162 * grp/fgetgrent.c (fgetgrent): Likewise.
15163 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15164 * grp/putgrent.c (putgrent): Likewise.
15165 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15167 * hurd/hurdinit.c: Likewise.
15168 * iconvdata/8bit-gap.c (struct): Likewise.
15169 * iconvdata/ansi_x3.110.c : Likewise.
15170 * iconvdata/big5.c : Likewise.
15171 * iconvdata/big5hkscs.c : Likewise.
15172 * iconvdata/cp1255.c: Likewise.
15173 * iconvdata/cp1258.c : Likewise.
15174 * iconvdata/cp932.c : Likewise.
15175 * iconvdata/euc-cn.c: Likewise.
15176 * iconvdata/euc-jisx0213.c : Likewise.
15177 * iconvdata/euc-jp.c: Likewise.
15178 * iconvdata/euc-jp-ms.c : Likewise.
15179 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15180 * iconvdata/gb18030.c : Likewise.
15181 * iconvdata/gbbig5.c (const): Likewise.
15182 * iconvdata/gbgbk.c: Likewise.
15183 * iconvdata/gbk.c : Likewise.
15184 * iconvdata/ibm1364.c : Likewise.
15185 * iconvdata/ibm930.c : Likewise.
15186 * iconvdata/ibm932.c: Likewise.
15187 * iconvdata/ibm933.c : Likewise.
15188 * iconvdata/ibm935.c : Likewise.
15189 * iconvdata/ibm937.c : Likewise.
15190 * iconvdata/ibm939.c : Likewise.
15191 * iconvdata/ibm943.c: Likewise.
15192 * iconvdata/iso_11548-1.c: Likewise.
15193 * iconvdata/iso-2022-cn.c : Likewise.
15194 * iconvdata/iso-2022-cn-ext.c : Likewise.
15195 * iconvdata/iso-2022-jp-3.c: Likewise.
15196 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15197 * iconvdata/iso-2022-kr.c : Likewise.
15198 * iconvdata/iso646.c (gconv_end): Likewise.
15199 * iconvdata/iso_6937-2.c : Likewise.
15200 * iconvdata/iso_6937.c : Likewise.
15201 * iconvdata/iso8859-1.c: Likewise.
15202 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15203 * iconvdata/shift_jisx0213.c : Likewise.
15204 * iconvdata/sjis.c : Likewise.
15205 * iconvdata/t.61.c : Likewise.
15206 * iconvdata/tcvn5712-1.c : Likewise.
15207 * iconvdata/tscii.c: Likewise.
15208 * iconvdata/uhc.c : Likewise.
15209 * iconvdata/unicode.c (gconv_end): Likewise.
15210 * iconvdata/utf-16.c (gconv_end): Likewise.
15211 * iconvdata/utf-32.c (gconv_end): Likewise.
15212 * iconvdata/utf-7.c (base64): Likewise.
15213 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15214 * iconv/gconv_close.c (__gconv_close): Likewise.
15215 * iconv/gconv_open.c (__gconv_open): Likewise.
15216 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15217 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15218 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15219 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15220 (ucs4le_internal_loop_single): Likewise.
15221 * iconv/iconv.c (iconv): Likewise.
15222 * iconv/iconv_close.c: Likewise.
15223 * iconv/loop.c (SINGLE): Likewise.
15224 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15225 * include/atomic.h: Likewise.
15226 * inet/inet6_option.c (option_alloc): Likewise.
15227 * intl/bindtextdom.c (set_binding_values): Likewise.
15228 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15229 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15230 * intl/localealias.c (read_alias_file): Likewise.
15231 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15232 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15233 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15234 * libio/fmemopen.c (fmemopen): Likewise.
15235 * libio/iofgets.c (_IO_fgets): Likewise.
15236 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15237 * libio/iofgetws.c (fgetws): Likewise.
15238 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15239 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15240 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15241 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15242 * locale/findlocale.c (_nl_find_locale): Likewise.
15243 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15244 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15246 * locale/setlocale.c (setlocale): Likewise.
15247 * login/programs/pt_chown.c (main): Likewise.
15248 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15249 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15250 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15251 (mmap, mmap64, mremap, munmap): Likewise.
15252 * math/e_exp2l.c: Likewise.
15253 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15254 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15255 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15256 * math/s_catan.c (__catan): Likewise.
15257 * math/s_catanf.c (__catanf): Likewise.
15258 * math/s_catanh.c (__catanh): Likewise.
15259 * math/s_catanhf.c (__catanhf): Likewise.
15260 * math/s_catanhl.c (__catanhl): Likewise.
15261 * math/s_catanl.c (__catanl): Likewise.
15262 * math/s_ccosh.c (__ccosh): Likewise.
15263 * math/s_ccoshf.c (__ccoshf): Likewise.
15264 * math/s_ccoshl.c (__ccoshl): Likewise.
15265 * math/s_cexp.c (__cexp): Likewise.
15266 * math/s_cexpf.c (__cexpf): Likewise.
15267 * math/s_cexpl.c (__cexpl): Likewise.
15268 * math/s_clog10.c (__clog10): Likewise.
15269 * math/s_clog10f.c (__clog10f): Likewise.
15270 * math/s_clog10l.c (__clog10l): Likewise.
15271 * math/s_clog.c (__clog): Likewise.
15272 * math/s_clogf.c (__clogf): Likewise.
15273 * math/s_clogl.c (__clogl): Likewise.
15274 * math/s_csin.c (__csin): Likewise.
15275 * math/s_csinf.c (__csinf): Likewise.
15276 * math/s_csinh.c (__csinh): Likewise.
15277 * math/s_csinhf.c (__csinhf): Likewise.
15278 * math/s_csinhl.c (__csinhl): Likewise.
15279 * math/s_csinl.c (__csinl): Likewise.
15280 * math/s_csqrt.c (__csqrt): Likewise.
15281 * math/s_csqrtf.c (__csqrtf): Likewise.
15282 * math/s_csqrtl.c (__csqrtl): Likewise.
15283 * math/s_ctan.c (__ctan): Likewise.
15284 * math/s_ctanf.c (__ctanf): Likewise.
15285 * math/s_ctanh.c (__ctanh): Likewise.
15286 * math/s_ctanhf.c (__ctanhf): Likewise.
15287 * math/s_ctanhl.c (__ctanhl): Likewise.
15288 * math/s_ctanl.c (__ctanl): Likewise.
15289 * math/w_pow.c: Likewise.
15290 * math/w_powf.c: Likewise.
15291 * math/w_powl.c: Likewise.
15292 * math/w_scalb.c (sysv_scalb): Likewise.
15293 * math/w_scalbf.c (sysv_scalbf): Likewise.
15294 * math/w_scalbl.c (sysv_scalbl): Likewise.
15295 * misc/error.c (error_tail): Likewise.
15296 * misc/pselect.c (__pselect): Likewise.
15297 * nis/nis_callback.c (__nis_create_callback): Likewise.
15298 * nis/nis_call.c (__nisfind_server): Likewise.
15299 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15300 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15301 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15302 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15303 * nis/nis_lookup.c (nis_lookup): Likewise.
15304 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15305 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15306 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15307 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15308 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15309 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15310 * nis/nss_compat/compat-initgroups.c (add_group)
15311 (internal_getgrent_r): Likewise.
15312 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15313 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15314 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15315 (internal_getspnam_r): Likewise.
15316 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15317 (_nss_nis_getaliasbyname_r): Likewise.
15318 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15319 (_nss_nis_getntohost_r): Likewise.
15320 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15321 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15322 (_nss_nis_getgrgid_r): Likewise.
15323 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15324 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15325 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15326 (_nss_nis_gethostbyname4_r): Likewise.
15327 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15328 (initgroups_netid): Likewise.
15329 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15330 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15331 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15332 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15333 (_nss_nis_getprotobynumber_r): Likewise.
15334 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15335 (_nss_nis_getsecretkey): Likewise.
15336 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15337 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15338 (_nss_nis_getpwuid_r): Likewise.
15339 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15340 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15341 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15342 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15343 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15344 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15345 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15347 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15348 (_nss_nisplus_getntohost_r): Likewise.
15349 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15350 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15351 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15352 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15354 * nis/nss_nisplus/nisplus-initgroups.c
15355 (_nss_nisplus_initgroups_dyn): Likewise.
15356 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15357 (_nss_nisplus_getnetbyaddr_r): Likewise.
15358 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15359 (_nss_nisplus_getprotobynumber_r): Likewise.
15360 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15361 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15362 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15364 * nis/nss_nisplus/nisplus-service.c
15365 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15366 (_nss_nisplus_getservbyport_r): Likewise.
15367 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15368 (_nss_nisplus_getspnam_r): Likewise.
15369 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15371 * nscd/aicache.c (addhstaiX): Likewise.
15372 * nscd/cache.c (cache_search, prune_cache): Likewise.
15373 * nscd/connections.c (register_traced_file, send_ro_fd)
15374 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15375 (main_loop_epoll): Likewise.
15376 * nscd/grpcache.c (addgrbyX): Likewise.
15377 * nscd/hstcache.c (addhstbyX): Likewise.
15378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15379 * nscd/mem.c (gc, mempool_alloc): Likewise.
15380 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15381 (addinnetgrX): Likewise.
15382 * nscd/nscd-client.h (__nscd_acquire_maplock)
15383 (__nscd_drop_map_ref): Likewise.
15384 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15385 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15386 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15388 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15389 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15390 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15391 (__nscd_get_map_ref): Likewise.
15392 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15393 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15395 * nscd/pwdcache.c (addpwbyX): Likewise.
15396 * nscd/selinux.c (preserve_capabilities): Likewise.
15397 * nscd/servicescache.c (addservbyX): Likewise.
15398 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15399 * posix/fnmatch.c (fnmatch): Likewise.
15400 * posix/getopt.c (_getopt_internal_r): Likewise.
15401 * posix/glob.c (glob, glob_in_dir): Likewise.
15402 * posix/wordexp.c (exec_comm_child): Likewise.
15403 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15404 (getanswer_r, gaih_getanswer_slice): Likewise.
15405 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15406 * resolv/res_init.c: Likewise.
15407 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15408 * resolv/res_query.c (__libc_res_nquery): Likewise.
15409 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15411 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15412 * stdio-common/perror.c (perror): Likewise.
15413 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15414 * stdio-common/tmpnam.c (tmpnam): Likewise.
15415 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15416 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15417 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15419 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15420 * stdlib/putenv.c (putenv): Likewise.
15421 * stdlib/setenv.c (__add_to_environ): Likewise.
15422 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15423 * stdlib/strtol_l.c (INTERNAL): Likewise.
15424 * string/memmem.c (memmem): Likewise.
15425 * string/strerror.c (strerror): Likewise.
15426 * string/strnlen.c (__strnlen): Likewise.
15427 * string/test-memmem.c (simple_memmem): Likewise.
15428 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15429 * sunrpc/pm_getport.c (__get_socket): Likewise.
15430 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15431 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15432 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15433 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15435 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15436 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15437 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15438 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15439 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15440 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15442 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15444 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15445 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15446 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15447 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15448 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15450 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15451 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15452 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15453 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15454 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15455 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15457 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15459 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15461 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15463 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15464 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15465 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15466 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15467 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15470 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15474 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15476 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15478 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15480 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15482 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15486 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15488 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15489 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15490 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15491 * sysdeps/posix/sleep.c: Likewise.
15492 * sysdeps/posix/tempname.c: Likewise.
15493 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15494 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15496 * sysdeps/powerpc/powerpc32/dl-machine.h
15497 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15498 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15500 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15501 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15503 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15504 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15505 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15506 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15507 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15508 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15509 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15510 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15511 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15512 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15514 (elf_machine_lazy_rel): Likewise.
15515 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15516 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15517 (elf_machine_lazy_rel): Likewise.
15518 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15519 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15520 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15521 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15522 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15523 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15524 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15527 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15528 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15529 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15530 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15531 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15532 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15533 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15534 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15535 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15536 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15537 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15539 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15540 (__posix_fallocate64_l64): Likewise.
15541 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15542 (posix_fallocate): Likewise.
15543 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15545 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15546 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15547 (getifaddrs_internal): Likewise.
15548 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15549 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15550 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15551 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15552 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15553 (__posix_fallocate64_l64): Likewise.
15554 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15556 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15557 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15558 (__get_clockfreq): Likewise.
15559 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15560 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15561 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15564 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15565 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15566 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15568 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15569 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15570 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15572 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15573 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15574 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15576 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15577 (posix_fallocate): Likewise.
15578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15579 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15580 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15581 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15582 (elf_machine_rela, elf_machine_rela_relative)
15583 (elf_machine_lazy_rel): Likewise.
15584 * time/asctime.c (asctime_internal): Likewise.
15585 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15586 * time/tzset.c (__tzset_parse_tz): Likewise.
15587 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15588 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15589 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15590 * wcsmbs/wcsmbsload.h: Likewise.
15593 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15595 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15596 (arena_get2): Remove THREAD_STATS conditionals.
15597 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15598 (__malloc_stats, int): Likewise.
15600 2014-02-08 Mike Frysinger <vapier@gentoo.org>
15602 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15603 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15605 * manual/setjmp.texi: Fix typos/grammar errors.
15607 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15608 Only return early when n is <= 0. Delete unused return statement.
15610 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15611 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15612 * debug/tst-longjmp_chk3.c: New file.
15614 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15615 (test_main): Replace code with set_fortify_handler call.
15616 * debug/test-strcpy_chk.c: Likewise.
15617 * debug/tst-chk1.c: Likewise.
15618 * debug/tst-longjmp_chk.c: Likewise.
15619 * test-skeleton.c: Include fcntl.h & paths.h
15620 (set_fortify_handler): Define.
15622 * debug/tst-longjmp_chk.c: Add header comment and include
15623 ../test-skeleton.c.
15624 (do_test): Mark static.
15625 (TEST_FUNCTION): Define.
15627 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15628 (IP_PMTUDISC_INTERFACE): Likewise.
15629 (IP_MULTICAST_IF): Likewise.
15630 (IP_MULTICAST_TTL): Likewise.
15631 (IP_MULTICAST_LOOP): Likewise.
15632 (IP_ADD_MEMBERSHIP): Likewise.
15633 (IP_DROP_MEMBERSHIP): Likewise.
15634 (IP_UNBLOCK_SOURCE): Likewise.
15635 (IP_BLOCK_SOURCE): Likewise.
15636 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15637 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15638 (IP_MSFILTER): Likewise.
15639 (MCAST_JOIN_GROUP): Likewise.
15640 (MCAST_BLOCK_SOURCE): Likewise.
15641 (MCAST_UNBLOCK_SOURCE): Likewise.
15642 (MCAST_LEAVE_GROUP): Likewise.
15643 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15644 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15645 (MCAST_MSFILTER): Likewise.
15646 (IP_MULTICAST_ALL): Likewise.
15647 (IP_UNICAST_IF): Likewise.
15649 * timezone/Makefile: Delete $(have-ksh) check.
15650 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15651 * timezone/tzselect.ksh: Add +x mode bits.
15653 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15654 (ANON_INODE_FS_MAGIC): Likewise.
15655 (BDEVFS_MAGIC): Likewise.
15656 (BINFMTFS_MAGIC): Likewise.
15657 (BTRFS_TEST_MAGIC): Likewise.
15658 (CRAMFS_MAGIC_WEND): Likewise.
15659 (DEBUGFS_MAGIC): Likewise.
15660 (ECRYPTFS_SUPER_MAGIC): Likewise.
15661 (EXT3_SUPER_MAGIC): Likewise.
15662 (EXT4_SUPER_MAGIC): Likewise.
15663 (FUTEXFS_SUPER_MAGIC): Likewise.
15664 (HOSTFS_SUPER_MAGIC): Likewise.
15665 (HUGETLBFS_MAGIC): Likewise.
15666 (MINIX3_SUPER_MAGIC): Likewise.
15667 (MTD_INODE_FS_MAGIC): Likewise.
15668 (NILFS_SUPER_MAGIC): Likewise.
15669 (OPENPROM_SUPER_MAGIC): Likewise.
15670 (PIPEFS_MAGIC): Likewise.
15671 (PSTOREFS_MAGIC): Likewise.
15672 (QNX6_SUPER_MAGIC): Likewise.
15673 (RAMFS_MAGIC): Likewise.
15674 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15675 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15676 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15677 (SECURITYFS_MAGIC): Likewise.
15678 (SELINUX_MAGIC): Likewise.
15679 (SMACK_MAGIC): Likewise.
15680 (SOCKFS_MAGIC): Likewise.
15681 (SQUASHFS_MAGIC): Likewise.
15682 (STACK_END_MAGIC): Likewise.
15683 (TMPFS_MAGIC): Likewise.
15684 (USBDEVICE_SUPER_MAGIC): Likewise.
15685 (V9FS_MAGIC): Likewise.
15686 (XENFS_SUPER_MAGIC): Likewise.
15687 (CRAMFS_MAGIC): Fix typo in comment.
15688 (EXT2_SUPER_MAGIC): Update comment.
15689 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15691 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15693 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15694 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15695 * sysdeps/unix/sysv/linux/arm: Move directory from
15696 ports/sysdeps/unix/sysv/linux/arm.
15697 * README: Update listing for arm-*-linux-gnueabi.
15699 * README: Remove mention of am33.
15701 2014-02-07 Roland McGrath <roland@hack.frob.com>
15703 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15704 than the comma operator, to avoid "rhs of comma has no effect"
15706 (__sigfillset, __sigandset, __sigorset): Likewise.
15707 * include/signal.h (__sigemptyset): Likewise.
15708 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15710 2014-02-07 Allan McRae <allan@archlinux.org>
15712 * version.h (RELEASE): Set to "development".
15713 (VERSION): Set to "2.19.90"
15714 * NEWS: Add 2.20 section.
15716 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15719 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15721 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15723 * manual/contrib.texi: Update entry for Carlos O'Donell,
15724 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15726 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15728 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15730 * sysdeps/unix/sysv/linux/kernel-features.h
15731 [__LINUX_KERNEL_VERSION >= 0x020621]
15732 (__ASSUME_PROC_PID_TASK_COMM): Define.
15734 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15737 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15738 conversion when destination buffer does not have enough space.
15739 * libio/tst-ftell-partial-wide.c: New test case.
15740 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15742 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15743 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15744 Leonard and Allan McRae.
15746 2014-02-04 David S. Miller <davem@davemloft.net>
15748 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15751 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15780 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15782 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15783 * shlib-versions: Likewise.
15785 2014-02-04 Roland McGrath <roland@hack.frob.com>
15786 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15788 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15789 (abilist-pattern): New variable, set to %-le.abilist.
15791 * Makerules (abilist-pattern): New variable.
15792 (vpath): Use $(abilist-pattern) in place of %.abilist.
15793 (check-abi-% pattern rule): Likewise.
15794 (check-abi, update-abi): Likewise.
15796 2014-02-04 Eric Wong <normalperson@yhbt.net>
15798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15800 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15802 * manual/startup.texi: Add next, previous, and top entries for
15803 the `Program Arguments' and `Environment Variables' nodes.
15805 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15807 * manual/macros.texi: Add comments before MTASC-safety macros.
15809 * manual/users.texi: Document MTASC-safety properties.
15811 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15812 (pthread_getspecific, pthread_setspecific): Format with
15813 @deftypefun, and add @safety note.
15814 * manual/signal.texi: Move comments that analyze the above
15815 functions to their home place.
15817 2014-02-03 Allan McRae <allan@archlinux.org>
15819 * po/sl.po: Update Slovenian translation from translation project.
15821 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15823 * manual/time.texi (timegm): Add missing blank after @c.
15824 Reported by Joseph Myers <joseph@codesourcery.com>.
15826 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15828 * manual/check-safety.sh: New.
15829 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15831 * manual/terminal.texi: Document MTASC-safety properties.
15833 * manual/filesys.texi: Document MTASC-safety properties.
15835 * manual/errno.texi: Document MTASC-safety properties.
15837 * manual/intro.texi: Document safety identifiers and
15840 * manual/string.texi (wcstok): Fix prototype.
15841 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15843 * manual/time.texi: Document MTASC-safety properties.
15845 * manual/string.texi: Document MTASC-safety properties.
15847 * manual/threads.texi: Document MTASC-safety properties.
15849 * manual/stdio.texi: Document MTASC-safety properties.
15851 * manual/syslog.texi: Document MTASC-safety properties.
15853 * manual/sysinfo.texi: Document MTASC-safety properties.
15855 * manual/startup.texi: Document MTASC-safety properties.
15857 * manual/socket.texi: Document MTASC-safety properties.
15859 * manual/signal.texi: Document MTASC-safety properties.
15861 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15863 * manual/setjmp.texi: Document MTASC-safety properties.
15865 * manual/search.texi: Document MTASC-safety properties.
15867 * manual/resource.texi: Document MTASC-safety properties.
15869 * manual/process.texi: Document MTASC-safety properties.
15871 * manual/platform.texi: Document MTASC-safety properties.
15873 * manual/pipe.texi: Document MTASC-safety properties.
15875 * manual/pattern.texi: Document MTASC-safety properties.
15877 * manual/message.texi: Document MTASC-safety properties.
15880 * manual/memory.texi: Document MTASC-safety properties.
15882 * manual/math.texi: Document MTASC-safety properties.
15884 * manual/locale.texi: Document MTASC-safety properties.
15886 * manual/llio.texi: Document MTASC-safety properties.
15888 * manual/libdl.texi: New.
15890 * manual/lang.texi: Document MTASC-safety properties.
15892 * manual/job.texi: Document MTASC-safety properties.
15894 * manual/getopt.texi: Document MTASC-safety properties.
15896 * manual/ctype.texi: Document MTASC-safety properties.
15898 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15901 * csu/libc-tls.c (static_map): Remove variable.
15902 (__libc_setup_tls): Use main executable's link map for TLS data.
15903 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15904 casing for LM_ID_BASE and GL(dl_nns).
15905 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15906 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15907 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15908 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15909 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15911 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15914 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15916 * manual/debug.texi: Document MTASC-safety properties.
15918 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15921 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15922 of __x86_64__ when disabling x87 inline functions.
15924 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15926 * manual/charset.texi: Document MTASC-safety properties.
15928 * manual/crypt.texi: Document MTASC-safety properties.
15930 * manual/conf.texi: Document MTASC-safety properties.
15932 * manual/arith.texi: Document MTASC-safety properties.
15934 * manual/argp.texi: Document MTASC-safety properties.
15936 * manual/macros.texi: Introduce macros to document multi
15937 thread, asynchronous signal and asynchronous cancellation
15939 * manual/intro.texi: Introduce the properties themselves.
15941 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15943 * sysdeps/sh/sh4/Makefile: New file.
15945 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15947 * math/gen-libm-test.pl ($srcdir): New variable.
15948 ($auto_input): Use it.
15950 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15953 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15954 access beyond array bounds when parsing netgroups file.
15956 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15957 the old buffer before realloc.
15959 2014-01-27 Allan McRae <allan@archlinux.org>
15961 * po/fr.po: Update French translation from translation project.
15963 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15965 * sysdeps/sh/libm-test-ulps: Regenerate.
15967 2014-01-24 David S. Miller <davem@davemloft.net>
15969 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15971 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15973 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15974 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15976 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15979 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15980 string pointers after reallocation.
15982 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15984 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15985 __SH4A__ instead of __SH_FPU_ANY__.
15987 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15989 * sysdeps/sh/fpu_control.h: New file.
15990 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15991 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15992 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15993 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15994 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15995 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15996 * sysdeps/sh/sys/ucontext.h: Remove.
15997 * sysdeps/sh/sys: Remove directory.
15999 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16001 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16002 s390/sys/ucontext.h.
16003 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16004 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16006 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16009 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16011 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16015 Adjust the vDSO correctly for internal calls.
16016 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16018 2014-01-20 Allan McRae <allan@archlinux.org>
16020 * po/ca.po: Update Catalan translation from translation project.
16022 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16024 * sysdeps/s390/sotruss-lib.c: New file.
16026 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16029 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16030 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16031 local calls issues by not having a PLT stub required for IFUNC calls.
16032 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16034 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16036 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16037 * math/test-fpucw-static.c: Likewise.
16039 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16042 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16044 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16046 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16047 implementation for powerpc.
16049 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16052 * sysdeps/posix/system.c (__libc_system): Do not enable
16053 asynchronous cancellation.
16055 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16058 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16059 handling only for numbers special also in the IEEE case.
16061 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16063 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16065 2014-01-11 Allan McRae <allan@archlinux.org>
16067 * po/bg.po: Update Bulgarian translation from translation project.
16069 * po/de.po: Update German translation from translation project.
16071 2014-01-10 Roland McGrath <roland@hack.frob.com>
16073 * sysdeps/generic/gcc-compat.h: New file.
16075 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16077 * benchtests/asin-inputs: Correct slow inputs.
16078 * benchtests/acos-inputs: Likewise.
16080 2014-01-10 Allan McRae <allan@archlinux.org>
16082 * po:sv.po: Update Swedish translation from translation project.
16084 * po/vi.po: Update Vietnamese translation from translation project.
16086 * po/eo.po: Update Esperanto translation from translation project.
16088 * po/cs.po: Update Czech translation from translation project.
16090 * po/nl.po: Update Dutch translation from translation project.
16092 * po/pl.po: Update Polish translation from translation project.
16094 * po/ru.po: Update Russian translation from translation project.
16096 * po/uk.po: Update Ukrainian translation from translation project.
16098 2014-01-08 Brooks Moses <bmoses@google.com>
16100 * elf/dl-load.c: Fix comment typo.
16102 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16104 * po/header.pot: Rename to...
16105 * po/pot.header: ... this.
16106 * po/Makefile: Use pot.header.
16108 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16109 Maxim Kuvyrkov <maxim@kugelworks.com>
16112 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16113 SRC and DEST against LEN.
16115 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16118 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16120 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16122 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16126 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16129 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16130 for large positive arguments.
16132 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16134 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16136 * math/auto-libm-test-in: Mark various tests with
16137 xfail-rounding:ldbl-128ibm.
16138 * math/auto-libm-test-out: Regenerated.
16141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16142 Increase overflow threshold.
16144 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16147 * stdio-common/vfprintf.c: Check for integer overflow.
16149 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16151 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16152 the first argument and return value of __tls_get_addr_internal.
16154 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16156 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16157 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16159 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16161 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16162 * sysdeps/s390/rtld-global-offsets.sym: New file.
16163 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16165 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16166 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16167 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16169 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16170 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16176 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16177 halfs of GPRs for high_gprs contexts.
16178 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16179 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16181 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16183 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16185 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16186 for high GPRs (uc_high_gprs) and for future extensions
16188 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16189 for future extensions (__reserved).
16190 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16192 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16193 SC_HIGHGPRS offset definition.
16194 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16195 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16197 * Versions.def: Add GLIBC_2.19 for libpthread.
16198 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16199 siglongjmp for libpthread with GLIBC_2.19 symver.
16200 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16201 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16202 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16203 * sysdeps/s390/__longjmp.c: New file.
16204 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16205 * sysdeps/s390/longjmp.c: New file.
16206 * sysdeps/s390/setjmp.S: New file.
16207 * sysdeps/s390/sigjmp.S: New file.
16208 * sysdeps/s390/v1-longjmp.c: New file.
16209 * sysdeps/s390/v1-setjmp.h: New file.
16210 * sysdeps/s390/v1-sigjmp.c: New file.
16211 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16212 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16213 GLIBC_2.19 version.
16214 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16215 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16216 versioned symbols for ____longjmp_chk.
16217 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16227 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16228 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16229 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16230 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16231 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16232 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16233 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16234 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16235 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16236 * sysdeps/s390/rtld-__longjmp.c: New file.
16237 * sysdeps/s390/rtld-setjmp.S: New file.
16239 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16243 Return -__logl (x) for small positive arguments without evaluating
16246 2014-01-06 Mike Frysinger <vapier@gentoo.org>
16248 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16250 (__ptrace_peeksiginfo_args): ... this.
16251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16253 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16255 2014-01-06 Allan McRae <allan@archlinux.org>
16257 * inet/netinet/in.h: Fix typo in comment.
16259 2014-01-05 Andreas Jaeger <aj@suse.de>
16261 * sysdeps/i386/fpu/libm-test-ulps: Update.
16263 2014-01-05 Allan McRae <allan@archlinux.org>
16265 * po/libc.pot: Regenerated.
16267 * malloc/memusagestat.c: Fix gettext call formatting.
16269 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16271 * nscd/nscd.c: Improve usage() output.
16273 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16275 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16276 * sysdeps/unix/sysv/linux/configure: Regenerated.
16277 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16278 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16280 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16283 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16284 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16286 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16288 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16289 extra tokens at end of #undef directive.
16290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16291 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16292 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16294 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16296 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16298 * math/auto-libm-test-in: Mark various tests with
16299 xfail-rounding:ldbl-128ibm.
16300 * math/auto-libm-test-out: Regenerated.
16302 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16305 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16306 numbers with subnormal high part when calculating exponent.
16309 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16315 (__ieee754_acoshl): Use __log1pl not __log1p.
16317 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16319 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16320 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16321 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16322 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16323 (reused_arena, arena_get2): Convert to GNU style.
16324 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16325 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16326 (memalign_check, __malloc_set_state): Likewise.
16327 * malloc/mallocbug.c (main): Likewise.
16328 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16329 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16330 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16331 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16332 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16333 (__posix_memalign, malloc_info): Likewise.
16334 * malloc/malloc.h: Likewise.
16335 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16336 (mallochook, memalignhook, reallochook, mabort): Likewise.
16337 * malloc/mcheck.h: Likewise.
16338 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16339 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16340 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16341 * malloc/morecore.c (__default_morecore): Likewise.
16342 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16343 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16344 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16345 (print_and_abort): Likewise.
16346 * malloc/obstack.h: Likewise.
16347 * malloc/set-freeres.c (__libc_freeres): Likewise.
16348 * malloc/tst-mallocstate.c (main): Likewise.
16349 * malloc/tst-mtrace.c (main): Likewise.
16350 * malloc/tst-realloc.c (do_test): Likewise.
16352 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16355 * nscd/netgroupcache.c (do_notfound): New function.
16356 (addgetnetgrentX): Use it.
16359 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16360 NSS_STATUS_NOTFOUND.
16362 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16364 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16367 2014-01-01 Allan McRae <allan@archlinux.org>
16369 * scripts/update-copyrights: Update configure input file suffix.
16371 * NEWS: Update copyright year.
16372 * catgets/gencat.c: Likewise.
16373 * csu/version.c: Likewise.
16374 * debug/catchsegv.sh: Likewise.
16375 * debug/pcprofiledump.c: Likewise.
16376 * debug/xtrace.sh: Likewise.
16377 * elf/ldconfig.c: Likewise.
16378 * elf/ldd.bash.in: Likewise.
16379 * elf/pldd.c: Likewise.
16380 * elf/sotruss.ksh: Likewise.
16381 * elf/sprof.c: Likewise.
16382 * iconv/iconv_prog.c: Likewise.
16383 * iconv/iconvconfig.c: Likewise.
16384 * locale/programs/locale.c: Likewise.
16385 * locale/programs/localedef.c: Likewise.
16386 * login/programs/pt_chown.c: Likewise.
16387 * malloc/memusage.sh: Likewise.
16388 * malloc/memusagestat.c: Likewise.
16389 * malloc/mtrace.pl: Likewise.
16390 * manual/libc.texinfo: Likewise.
16391 * nscd/nscd.c: Likewise.
16392 * nss/getent.c: Likewise.
16393 * nss/makedb.c: Likewise.
16394 * posix/getconf.c: Likewise.
16395 * scripts/test-installation.pl: Likewise.
16397 * All files with FSF copyright notices: Update copyright dates
16398 using scripts/update-copyrights.
16399 * intl/plural.c: Regenerated.
16400 * locale/programs/charmap-kw.h: Likewise.
16401 * locale/programs/locfile-kw.h: Likewise.
16403 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16405 * sysdeps/unix/sysv/linux/configure: Regenerated.
16406 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16407 the linux/fanotify.h header.
16408 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16409 HAVE_LINUX_FANOTIFY_H is defined.
16411 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16413 * benchtests/cos-inputs: New inputs.
16414 * benchtests/sin-inputs: Likewise.
16416 * benchtests/atan-inputs: New inputs. Fix name of multiple
16417 precision fallback inputs.
16419 * benchtests/atanh-inputs: New inputs.
16420 * benchtests/tanh-inputs: Likewise.
16422 * benchtests/acosh-inputs: New inputs.
16423 * benchtests/asinh-inputs: Likewise.
16425 * benchtests/cosh-inputs: New inputs.
16426 * benchtests/sinh-inputs: Likewise.
16428 * benchtests/acos-inputs: Add more inputs.
16429 * benchtests/asin-inputs: Likewise.
16431 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
16434 * manual/arith.texi: Fix spelling.
16435 * manual/charset.texi: Likewise.
16436 * manual/errno.texi: Likewise.
16437 * manual/filesys.texi: Likewise.
16438 * manual/lang.texi: Likewise.
16439 * manual/llio.texi: Likewise.
16440 * manual/locale.texi: Likewise.
16441 * manual/message.texi: Likewise.
16442 * manual/resource.texi: Likewise.
16443 * manual/search.texi: Likewise.
16444 * manual/setjmp.texi: Likewise.
16445 * manual/stdio.texi: Likewise.
16446 * manual/string.texi: Likewise.
16447 * manual/sysinfo.texi: Likewise.
16448 * manual/time.texi: Likewise.
16450 2013-12-27 Carlos O'Donell <carlos@redhat.com>
16452 * po/sl.po: New file.
16454 2013-12-27 Mike Frysinger <vapier@gentoo.org>
16456 * .gitignore: Add core/.gdbinit/.gdb_history.
16458 2013-12-27 Allan McRae <allan@archlinux.org>
16461 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16462 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16464 2013-12-24 Brooks Moses <bmoses@google.com>
16466 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16467 all compilers that claim C++98 compliance, not just GCC.
16468 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16471 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16473 * NEWS: Restore accidentally deleted bug-fix entries.
16475 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16476 Ondřej Bílka <neleai@seznam.cz>
16479 * malloc/malloc.c (_int_free): Perform sanity check only if we
16482 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
16485 * manual/stdio.texi (String Input Conversions): Clarify that character
16486 classes are not supported.
16488 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16492 2013-12-22 Joseph Myers <joseph@codesourcery.com>
16495 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16496 Calculate results for small negative arguments directly rather
16497 than using reflection formula with special underflow handling.
16499 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16500 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16501 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16502 (fchflags): Likewise.
16503 (revoke): Likewise.
16504 (setlogin): Likewise.
16505 (sigaltstack): Likewise.
16507 (sigblock): Remove.
16508 (sigsetmask): Likewise.
16510 (waitpid): Likewise.
16511 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16512 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16514 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16515 * sysdeps/unix/bsd/Makefile: ... here.
16516 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16517 * sysdeps/unix/bsd/Versions: ... here.
16518 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16519 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16520 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16521 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16522 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16523 * sysdeps/unix/bsd/sigblock.c: ... here.
16524 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16525 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16526 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16527 * sysdeps/unix/bsd/sigvec.c: ... here.
16528 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16529 * sysdeps/unix/bsd/tcdrain.c: ... here.
16530 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16531 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16532 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16533 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16534 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16535 * sysdeps/unix/bsd/wait.c: ... here.
16536 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16537 * sysdeps/unix/bsd/wait3.c: ... here.
16538 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16539 * sysdeps/unix/bsd/waitpid.c: ... here.
16541 2013-12-21 Joseph Myers <joseph@codesourcery.com>
16544 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16545 round-to-nearest for [!USE_AS_EXPM1L].
16546 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16547 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16548 more tests of exp and exp10. Expect some exp10 tests to miss
16549 exceptions or fail in directed rounding modes.
16550 * math/auto-libm-test-out: Regenerated.
16551 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16552 (exp10_test_tonearest): New function.
16553 (exp10_towardzero_test_data): New array.
16554 (exp10_test_towardzero): New function.
16555 (exp10_downward_test_data): New array.
16556 (exp10_test_downward): New function.
16557 (exp10_upward_test_data): New array.
16558 (exp10_test_upward): New function.
16559 (main): Call the new functions.
16560 * sysdeps/i386/fpu/libm-test-ulps: Update.
16561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16563 2013-12-20 Joseph Myers <joseph@codesourcery.com>
16565 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16566 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16567 * math/auto-libm-test-out: Regenerated.
16568 * math/libm-test.inc (acosh_test_data): Add more tests.
16569 (atanh_test_data): Likewise.
16570 (ceil_test_data): Likewise.
16571 (copysign_test_data): Likewise.
16572 * sysdeps/i386/fpu/libm-test-ulps: Update.
16573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16575 * timezone/checktab.awk: Update from tzcode 2013i.
16576 * timezone/private.h: Likewise.
16577 * timezone/scheck.c: Likewise.
16578 * timezone/tzfile.h: Likewise.
16579 * timezone/tzselect.ksh: Likewise.
16580 * timezone/zdump.c: Likewise.
16581 * timezone/zic.c: Likewise.
16583 * math/auto-libm-test-in: Add tests of cpow.
16584 * math/auto-libm-test-out: Regenerated.
16585 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16586 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16588 (func_calc_desc): Add mpc_cc_c union field.
16589 (test_functions): Add cpow.
16590 (special_fill_2pi): New function.
16591 (special_real_inputs): Add 2pi.
16592 (calc_generic_results): Handle mpc_cc_c.
16593 * sysdeps/i386/fpu/libm-test-ulps: Update.
16594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16596 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16597 csqrt, ctan and ctanh.
16598 * math/auto-libm-test-out: Regenerated.
16599 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16600 (TEST_COND_x86): Likewise.
16601 (ccos_test_data): Use AUTO_TESTS_c_c.
16602 (ccosh_test_data): Likewise.
16603 (cexp_test_data): Likewise.
16604 (clog_test_data): Likewise.
16605 (csqrt_test_data): Likewise.
16606 (ctan_test_data): Likewise.
16607 (ctan_tonearest_test_data): Likewise.
16608 (ctan_towardzero_test_data): Likewise.
16609 (ctan_downward_test_data): Likewise.
16610 (ctan_upward_test_data): Likewise.
16611 (ctanh_test_data): Likewise.
16612 (ctanh_tonearest_test_data): Likewise.
16613 (ctanh_towardzero_test_data): Likewise.
16614 (ctanh_downward_test_data): Likewise.
16615 (ctanh_upward_test_data): Likewise.
16616 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16618 (func_calc_desc): Add mpc_c_c union field.
16619 (FUNC_mpc_c_c): New macro.
16620 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16621 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16623 (special_fill_min_subnorm_p120): New function.
16624 (special_real_inputs): Add min_subnorm_p120.
16625 (calc_generic_results): Handle mpc_c_c.
16626 * sysdeps/i386/fpu/libm-test-ulps: Update.
16627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16629 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16631 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16632 (do_sin_slow): New functions.
16633 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16634 (cslow2, csloww1, csloww2): Use the new functions.
16636 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16637 Use M to change sign of result instead of X. Assume X is
16639 (csloww1): Likewise.
16643 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16644 arguments A and DA.
16648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16650 (sloww1): Don't adjust sign of DX.
16651 (csloww1): Likewise.
16652 (sloww2): Use X directly and don't adjust sign of DX.
16653 (csloww2): Likewise.
16655 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16657 * math/auto-libm-test-in: Add tests of cabs and carg.
16658 * math/auto-libm-test-out: Regenerated.
16659 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16660 (carg_test_data): Likewise.
16661 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16663 (func_calc_desc): Add mpc_c_f union field.
16664 (test_functions): Add cabs and carg.
16665 (calc_generic_results): Handle mpc_c_f.
16667 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16668 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16669 as a macro and a compat symbol.
16670 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16671 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16672 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16673 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16674 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16675 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16677 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16679 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16681 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16683 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16685 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16687 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16688 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16691 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16695 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16697 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16698 trailing whitespace removed.
16699 * scripts/config.guess: Update to version 2013-11-29.
16700 * scripts/config.sub: Update to version 2013-10-01.
16702 * math/auto-libm-test-in: Add tests of sincos.
16703 * math/auto-libm-test-out: Regenerated.
16704 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16705 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16707 (func_calc_desc): Add mpfr_f_11 union field.
16708 (test_functions): Add sincos.
16709 (calc_generic_results): Handle mpfr_f_11.
16710 * sysdeps/i386/fpu/libm-test-ulps: Update.
16711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16713 2013-12-19 Andreas Schwab <schwab@suse.de>
16715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16718 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16719 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16721 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16723 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16724 * sysdeps/i386/fpu/libm-test-ulps: Update.
16725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16728 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16729 round-to-nearest mode when using frndint.
16730 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16731 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16732 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16734 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16736 * math/auto-libm-test-out: Regenerated.
16737 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16738 (TEST_COND_x86): Likewise.
16739 (expm1_tonearest_test_data): New array.
16740 (expm1_test_tonearest): New function.
16741 (expm1_towardzero_test_data): New array.
16742 (expm1_test_towardzero): New function.
16743 (expm1_downward_test_data): New array.
16744 (expm1_test_downward): New function.
16745 (expm1_upward_test_data): New array.
16746 (expm1_test_upward): New function.
16747 (main): Run the new test functions.
16748 * sysdeps/i386/fpu/libm-test-ulps: Update.
16749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16751 * include/features.h: Update comment documenting feature test
16752 macros. Mention _DEFAULT_SOURCE in comment.
16753 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16754 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16755 _BSD_SOURCE and _SVID_SOURCE.
16756 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16757 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16758 !_SVID_SOURCE]: Likewise.
16759 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16760 (__USE_POSIX_IMPLICITLY): Define.
16761 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16762 (_POSIX_SOURCE): Undefine and redefine.
16763 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16764 (_POSIX_C_SOURCE): Likewise.
16765 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16766 (Feature Test Macros): Update documentation of default features.
16768 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16770 * benchtests/Makefile: Add bench-strtok.
16771 * benchtests/bench-strtok.c: New file: strtok benchtest.
16773 2013-12-19 Allan McRae <allan@archlinux.org>
16775 * manual/install.texi: Suppress menu for plain text output.
16776 * INSTALL: Regenerated.
16778 2013-12-18 Brooks Moses <bmoses@google.com>
16781 * misc/getauxval.c: Include errno.h.
16782 (__getauxval): Set errno to ENOENT if the requested type is not
16784 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16785 don't declare with __attribute_const__.
16786 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16787 * manual/startup.texi: Document that getauxval sets errno.
16789 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16791 * math/auto-libm-test-in: Add tests of jn and yn.
16792 * math/auto-libm-test-out: Regenerated.
16793 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16794 (yn_test_data): Likewise.
16795 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16797 (func_calc_desc): Add mpfr_if_f union field.
16798 (FUNC_mpfr_if_f): New macro.
16799 (test_functions): Add jn and yn.
16800 (calc_generic_results): Assert type of second input for
16801 mpfr_ff_f. Handle mpfr_if_f.
16802 (output_for_one_input_case): Disable all checking for arguments
16803 fitting floating-point types in case of an integer argument.
16804 * sysdeps/i386/fpu/libm-test-ulps: Update.
16805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16808 Don't expect fegetround reference in libm.so.
16810 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16812 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16813 $(config-cflags-nofma).
16815 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16817 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16818 * math/auto-libm-test-out: Regenerated.
16821 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16822 to determine exponent and adjust argument to have exponent of -1.
16823 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16825 * math/auto-libm-test-out: Regenerated.
16826 * sysdeps/i386/fpu/libm-test-ulps: Update.
16827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16829 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16831 * manual/probes.texi: Remove cases when per-thread arenas are
16834 2013-12-18 Andreas Schwab <schwab@suse.de>
16836 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16837 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16838 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16839 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16840 * sysdeps/i386/i686/multiarch/Makefile: Update.
16841 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16843 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16845 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16846 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16848 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16851 Support TZ transition times < 00:00:00.
16852 This is needed for version-3 tz-format files; it supports time
16853 stamps past 2037 for America/Godthab (the only entry in the tz
16854 database for which this change is relevant).
16855 * manual/time.texi (TZ Variable): Document transition times
16856 from -167:59:59 through -00:00:01.
16857 * time/tzset.c (tz_rule): Time of day is now signed.
16858 (__tzset_parse_tz): Parse negative time of day.
16860 Document TZ transition times >= 25:00:00.
16861 * manual/time.texi (TZ Variable): Document transition times from
16862 25:00:00 through 167:59:59. These are already supported, and this
16863 support will help with version-3 tz-format files.
16865 * manual/time.texi (TZ Variable): Modernize North America example
16866 to reflect current (i.e., 2007-and-later) daylight saving rules.
16868 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16870 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16872 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16873 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16876 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16877 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16878 * sysdeps/unix/bsd/clock.c: Likewise.
16879 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16880 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16881 * sysdeps/unix/bsd/init-posix.c: Likewise.
16882 * sysdeps/unix/bsd/poll.c: Likewise.
16883 * sysdeps/unix/bsd/ptsname.c: Likewise.
16884 * sysdeps/unix/bsd/seekdir.c: Likewise.
16885 * sysdeps/unix/bsd/setegid.c: Likewise.
16886 * sysdeps/unix/bsd/seteuid.c: Likewise.
16887 * sysdeps/unix/bsd/setgid.c: Likewise.
16888 * sysdeps/unix/bsd/setrgid.c: Likewise.
16889 * sysdeps/unix/bsd/setruid.c: Likewise.
16890 * sysdeps/unix/bsd/setsid.c: Likewise.
16891 * sysdeps/unix/bsd/setuid.c: Likewise.
16892 * sysdeps/unix/bsd/sigaction.c: Likewise.
16893 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16894 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16895 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16896 * sysdeps/unix/bsd/telldir.c: Likewise.
16897 * sysdeps/unix/bsd/times.c: Likewise.
16898 * sysdeps/unix/bsd/usleep.c: Likewise.
16900 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16901 ($(objpfx)libbsd-compat.a): Remove rule.
16903 * include/features.h (__FAVOR_BSD): Do not define.
16904 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16905 features conflicting with POSIX.
16906 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16907 (_BSD_SOURCE): Remove description of not being a subset of other
16908 feature test macros.
16909 * manual/job.texi (getpgrp): Do not document BSD version.
16910 (getpgid): Do not document by reference to BSD getpgrp.
16911 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16912 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16913 * signal/signal.h [__FAVOR_BSD]: Likewise.
16914 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16915 instead of making contents conditional on [__FAVOR_BSD].
16916 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16918 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16922 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16925 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16926 values below 2**-450, not 2**-500.
16927 * math/auto-libm-test-in: Don't allow spurious underflow from
16929 * math/auto-libm-test-out: Regenerated.
16933 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16934 values of ha and hb and sort them after adjusting subnormal
16936 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16938 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16939 values of ea and eb and sort them after adjusting subnormal
16941 * math/auto-libm-test-in: Do not expect some hypot tests of
16942 subnormals to fail. Add more hypot tests.
16943 * math/auto-libm-test-out: Regenerated.
16945 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16948 * sysdeps/sh/s_fma.c: New file.
16949 * sysdeps/sh/s_fmaf.c: New file.
16950 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16952 * sysdeps/sh/Implies: Add sh/soft-fp.
16954 2013-12-16 Roland McGrath <roland@hack.frob.com>
16956 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16957 level of indirection to members `objname', `errstring', `malloced'.
16958 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16959 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16960 it as the __longjmp argument (just pass 1 instead).
16961 (_dl_catch_error): Initialize C with argument pointers and address of
16962 volatile local ERRCODE rather than copying values out of C at return.
16964 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16966 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16967 * math/auto-libm-test-out: Regenerated.
16968 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16969 (hypot_test_data): Likewise.
16970 (pow_test_data): Likewise.
16971 (pow_tonearest_test_data): Likewise.
16972 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16974 (func_calc_desc): Add mpfr_ff_f union field.
16975 (FUNC_mpfr_ff_f): New macro.
16976 (test_functions): Add atan2, hypot and pow.
16977 (special_fill_min): New function.
16978 (special_fill_minus_min): Likewise.
16979 (special_fill_min_subnorm): Likewise.
16980 (special_fill_minus_min_subnorm): Likewise.
16981 (special_real_inputs): Add min, -min, min_subnorm and
16983 (calc_generic_results): Handle mpfr_ff_f.
16984 * sysdeps/i386/fpu/libm-test-ulps: Update.
16985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16987 2013-12-16 Will Newton <will.newton@linaro.org>
16989 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16990 (Aligned Memory Blocks): Add documentation for aligned_alloc
16991 and suggest it as an alternative to posix_memalign.
16992 (Hooks for Malloc): Document __memalign_hook is also called
16993 for aligned_alloc. (Summary of Malloc): Add summary for
16994 aligned alloc. Document __memalign_hook is also called
16997 2013-12-16 Will Newton <will.newton@linaro.org>
16999 * manual/memory.texi (Malloc Examples): Clarify default
17000 alignment documentation. Suggest posix_memalign rather
17001 than memalign or valloc.
17002 (Aligned Memory Blocks): Remove suggestion to use memalign
17003 or valloc. Remove obsolete comment about BSD.
17004 Document memalign errno values and mark the function obsolete.
17005 Document posix_memalign returned error codes. Mark valloc
17006 as obsolete. (Hooks for Malloc): __memalign_hook is also
17007 called for posix_memalign and valloc.
17008 (Summary of Malloc): Add posix_memalign to function summary.
17009 __memalign_hook is also called for posix_memalign and valloc.
17011 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17013 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17017 (sloww): Use mynumber union. Expand ternary operator into
17018 if-else statements.
17019 (cslow): use mynumber union.
17021 2013-12-16 Allan McRae <allan@archlinux.org>
17023 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17024 * configure: Regenerated.
17026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17029 * configure.ac: Added --enable-maintainer-mode. Check for
17030 autoconf when enabled.
17031 * configure: Regenerated.
17033 * nscd/nscd.service: New file.
17034 * nscd/nscd.tmpfiles: New file.
17036 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17039 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17040 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17041 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17042 (strstr): Add __strstr_sse2_unaligned ifunc.
17043 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17044 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17045 (strcasestr): Remove __strcasestr_sse42 ifunc.
17046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17050 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17052 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17053 * sysdeps/sh/bits/fenv.h: ... here.
17054 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17056 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17058 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17061 hypotf multiarch implementations.
17062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17063 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17064 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17065 multiarch hypot for PPC64.
17066 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17069 multiarch hypotf for PPC64.
17071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17072 modff multiarch implementations.
17073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17076 multiarch modf for PPC64.
17077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17080 multiarch modff for PPC64.
17082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17083 and logl multiarch implementations.
17084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17087 multiarch logb for PPC64.
17088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17091 multiarch logb for PPC64.
17092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17095 multiarch logb for PPC64.
17097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17098 isinff multiarch implementation.
17099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17103 multiarch isinf for PPC64.
17104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17107 multiarch isinff for PPC64.
17109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17110 finitef multiarch implementation.
17111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17115 multiarch finite for PPC64.
17116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17119 multiarch finitef for PPC64.
17121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17122 lrint multiarch implementation.
17123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17127 multiarch llrint for PPC64.
17128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17129 multiarch lrint for PPC64.
17131 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17132 copysignf multiarch implementation.
17133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17138 multiarch copysign for PPC64.
17139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17140 multiarch copysignf for PPC64.
17142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17143 multiarch implementation.
17144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17152 multiarch llround for PPC64.
17153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17154 multiarch trunc for PPC64.
17155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17156 multiarch truncf for PPC64.
17158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17159 multiarch implementation.
17160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17168 multiarch llround for PPC64.
17169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17170 multiarch round for PPC64.
17171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17172 multiarch roundf for PPC64.
17174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17175 multiarch implementation.
17176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17184 multiarch llround for PPC64.
17185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17186 multiarch floor for PPC64.
17187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17188 multiarch floorf for PPC64.
17190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17191 multiarch implementation.
17192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17200 multiarch llround for PPC64.
17201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17202 multiarch ceil for PPC64.
17203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17204 multiarch ceilf for PPC64.
17206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17207 multiarch implementation.
17208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17215 multiarch llround for PPC64.
17216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17217 multiarch lround for PPC64.
17219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17220 multiarch implementation.
17221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17228 multiarch isnan for PPC64.
17229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17230 multiarch isnanf for PPC64.
17232 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17233 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17234 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17235 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17236 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17239 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17240 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17245 multiarch implementations.
17246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17247 (__libc_ifunc_impl_list): Likewise.
17248 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17249 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17250 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17251 multiarch stpcpy for PPC64.
17253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17254 multiarch implementations.
17255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17256 (__libc_ifunc_impl_list): Likewise.
17257 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17258 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17259 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17260 multiarch strcpy for PPC64.
17262 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17263 redefine function name.
17264 (_wordcopy_fwd_dest_aligned): Likewise.
17265 (_wordcopy_bwd_aligned): Likewise.
17266 (_wordcopy_bwd_dest_aligned): Likewise.
17267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17268 multiarch implementations.
17269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17270 (__libc_ifunc_impl_list): Likewise.
17271 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17272 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17273 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17274 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17275 multiarch wcscpy for PPC64.
17277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17278 multiarch implementations.
17279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17280 (__libc_ifunc_impl_list): Likewise.
17281 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17282 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17283 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17284 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17285 multiarch wcscpy for PPC64.
17287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17288 multiarch implementations.
17289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17290 (__libc_ifunc_impl_list): Likewise.
17291 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17292 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17293 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17294 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17295 multiarch wcsrchr for PPC64.
17297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17298 multiarch implementations.
17299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17300 (__libc_ifunc_impl_list): Likewise.
17301 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17302 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17303 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17304 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17305 multiarch wcschr for PPC64.
17307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17308 multiarch implementations.
17309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17310 (__libc_ifunc_impl_list): Likewise.
17311 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17312 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17313 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17314 multiarch strchrnul for PPC64.
17316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17319 (__libc_ifunc_impl_list): Likewise.
17320 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17321 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17322 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17323 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17329 (__libc_ifunc_impl_list): Likewise.
17330 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17331 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17332 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17333 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17337 multiarch implementations.
17338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17339 (__libc_ifunc_impl_list): Likewise.
17340 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17341 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17342 strncasecmp for PPC64.
17343 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17344 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17345 multiarch strncasecmp_l for PPC64.
17347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17348 multiarch implementations.
17349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17350 (__libc_ifunc_impl_list): Likewise.
17351 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17352 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17353 multiarch strcasecmp for PPC64.
17354 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17357 multiarch strcasecmp_l for PPC64.
17359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17362 (__libc_ifunc_impl_list): Likewise.
17363 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17364 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17365 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17371 (__libc_ifunc_impl_list): Likewise.
17372 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17373 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17374 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17380 (__libc_ifunc_impl_list): Likewise.
17381 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17382 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17383 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17384 rawmemrchr for PPC64.
17386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17389 (__libc_ifunc_impl_list): Likewise.
17390 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17391 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17392 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17398 (__libc_ifunc_impl_list): Likewise.
17399 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17400 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17401 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17407 (__libc_ifunc_impl_list): Likewise.
17408 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17409 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17410 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17413 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17414 avoid cretion of __bzero symbol.
17415 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17417 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17419 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17422 multiarch implementations.
17423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17424 (__libc_ifunc_impl_list): Likewise.
17425 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17426 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17427 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17428 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17430 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17431 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17432 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17433 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17434 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17436 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17438 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17442 (__libc_ifunc_impl_list): Likewise.
17443 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17444 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17445 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17446 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17450 multiarch for POWER/PPC64.
17451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17452 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17453 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17454 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17459 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17462 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17463 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17464 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17465 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17466 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17467 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17468 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17469 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17470 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17471 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17472 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17473 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17474 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17475 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17476 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17485 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17487 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17489 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17491 * benchtests/Makefile (bench): Add exp2 and log2.
17492 (LDLIBS-bench-exp2): Add -lm.
17493 (LDLIBS-bench-log2): Likewise.
17494 * benchtests/exp2-inputs: New inputs file.
17495 * benchtests/log2-inputs: New inputs file.
17496 * benchtests/log-inputs: Add new inputs.
17497 * benchtests/tan-inputs: Likewise.
17499 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17501 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17503 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17504 (csloww2): ... from here.
17506 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17507 instead of structures.
17508 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17509 (POLYNOMIAL): Likewise.
17510 (TAYLOR_SLOW): Likewise.
17516 (sloww1); Likewise.
17517 (sloww2): Likewise.
17518 (bsloww1): Likewise.
17519 (bsloww2): Likewise.
17520 (cslow2): Likewise.
17521 (csloww): Likewise.
17522 (csloww1): Likewise.
17523 (csloww2): Likewise.
17525 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
17527 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17528 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17529 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17530 * malloc/hooks.c (realloc_check): Likewise.
17532 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17533 * malloc/arena.c: Remove PER_THREAD conditional.
17534 [!PER_THREAD]: Remove code.
17535 (ptmalloc_unlock_all2): Likewise.
17536 (ptmalloc_init): Likewise.
17537 (_int_new_arena): Likewise.
17538 (arena_get2): Likewise.
17539 * malloc/hooks.c (__malloc_get_state): Likewise.
17540 (__malloc_set_state): Likewise.
17541 * malloc/malloc.c: Likewise.
17542 (struct malloc_state): Likewise.
17543 (struct malloc_par): Likewise.
17544 (__libc_realloc): Likewise.
17545 (__libc_mallopt): Likewise.
17547 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17549 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17551 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
17553 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17554 macro to a function. Check for zero perturb_byte.
17555 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17557 * malloc/malloc.c: (force_reg): Remove.
17558 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17559 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17560 force_reg by atomic_forced_read.
17561 * malloc/arena.c (ptmalloc_init): Likewise.
17562 * malloc/hooks.c (top_check): Likewise.
17564 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17568 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17572 2013-12-08 Joseph Myers <joseph@codesourcery.com>
17574 * math/auto-libm-test-in: Add tests of lgamma.
17575 * math/auto-libm-test-out: Regenerated.
17576 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17577 (M_LOG_2_SQRT_PIl): Likewise.
17578 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17579 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17581 (func_calc_desc): Add mpfr_f_f1 union field.
17582 (ARGS1): New macro.
17590 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17591 (test_functions): Add lgamma.
17592 (calc_generic_results): Handle mpfr_f_f1.
17593 * sysdeps/i386/fpu/libm-test-ulps: Update.
17594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17598 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17599 __mpn_add_n for PowerPC64/POWER7.
17600 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17601 __mpn_sub_n for PowerPC64/POWER7.
17603 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17604 __mpn_addmul_1 for PowerPC64.
17605 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17606 __mpn_submul_1 for PowerPC64.
17607 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17609 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17612 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17615 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17617 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17619 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17621 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17622 add multiarch folders.
17623 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17624 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17625 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17626 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17627 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17628 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17629 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17630 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17631 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17632 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17633 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17642 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17648 multiarch __ieee754_hypot for PowerPC32.
17649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17654 multiarch __ieee754_hypotf for PowerPC32.
17656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17657 long_double_symbol only if __logbl is defined.
17658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17659 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17661 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17663 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17664 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17665 path for implementation.
17666 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17667 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17669 logb, and logbl multiarch implementations for PowerPC32.
17670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17675 multiarch logb for PowerPC32.
17676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17681 multiarch logbf for PowerPC32.
17682 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17686 multiarch logbl implementation for PowerPC32.
17688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17689 and modff multiarch implementations.
17690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17695 multiarch modf for PowerPC32.
17696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17701 multiarch modff for PowerPC32.
17703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17704 and lrintf multiarch implementations.
17705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17710 multiarch lrint for PowerPC32.
17711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17712 file: multiarch lrintf for PowerPC32.
17714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17715 and lroundf multiarch implementations.
17716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17723 multiarch lround for PowerPC32.
17724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17725 file: multiarch lroundf for PowerPC32.
17727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17728 copysign and copysignf multiarch implementations.
17729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17734 file: multiarch copysign for PowerPC32.
17735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17736 file: multiarch copysignf for PowerPC32.
17738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17739 and truncf multiarch implementations.
17740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17745 multiarch trunc for PowerPC32.
17746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17751 multiarch truncf for PowerPC32.
17753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17754 and roundf multiarch implementations.
17755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17760 multiarch round for PowerPC32.
17761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17766 multiarch roundf for PowerPC32.
17768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17769 and floorf multiarch implementations.
17770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17775 multiarch floor for PowerPC32.
17776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17781 multiarch floorf for PowerPC32.
17783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17784 and ceilf multiarch implementations.
17785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17790 multiarch ceil for PowerPC32.
17791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17796 multiarch ceilf for PowerPC32.
17798 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17800 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17801 FINITEF is defined.
17802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17803 and finitef multiarch implementations.
17804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17809 multiarch finite for PowerPC32.
17810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17813 file: multiarch finitef for PowerPC32.
17815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17816 and isinff multiarch implementations.
17817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17822 multiarch isinf for PowerPC32.
17823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17826 multiarch isinff for PowerPC32.
17828 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17829 alias when __isnan is defined.
17830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17831 and isnanf multiarch implementations.
17832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17841 multiarch isnan for PowerPC32.
17842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17847 multiarch isnanf for PowerPC32.
17849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17850 and sqrtf multiarch implementations.
17851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17856 multiarch sqrt for PowerPC32.
17857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17862 multiarch sqrtf for PowerPC32.
17864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17865 and llroundf multiarch implementations.
17866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17873 file: multiarch llround for PowerPC32.
17874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17875 file: multiarch llroundf for PowerPC32.
17877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17878 multiarch PowerPC32 fpu implementations.
17879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17884 multiarch llrint for PowerPC32.
17885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17894 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17896 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17898 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17900 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17901 multiarch wordcopy for PPC32.
17902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17905 (__libc_ifunc_impl_list): Likewise.
17906 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17907 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17908 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17909 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17910 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17911 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17913 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17921 multiarch wcscpy for PPC32.
17922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17925 (__libc_ifunc_impl_list): Likewise.
17926 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17927 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17928 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17929 sysdeps/powerpc/power6/wcscpy.c.
17931 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17939 multiarch wcsrchr for PPC32.
17940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17943 (__libc_ifunc_impl_list): Likewise.
17944 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17945 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17946 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17947 sysdeps/powerpc/power6/wcsrchr.c.
17949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17955 multiarch wcschr for PPc32.
17956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17959 (__libc_ifunc_impl_list): Likewise.
17960 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17961 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17962 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17963 sysdeps/powerpc/power6/wcschr.c.
17965 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17966 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17968 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17969 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17970 file: multiarch strchr for PPC32.
17971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17974 (__libc_ifunc_impl_list): Likewise.
17976 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17978 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17980 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17982 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17983 multiarch strchrnul for PPC32.
17984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17987 (__libc_ifunc_impl_list): Likewise.
17989 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17991 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17992 multiarch strncasecmp for PPC32.
17993 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17996 multiarch strncasecmp_l for PPC32.
17997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17998 strncasecmp multiarch objects.
17999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18000 (__libc_ifunc_impl_list): Likewise.
18002 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18004 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18005 multiarch strncasecmp for PPC32.
18006 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18008 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18009 multiarch strcasecmp_l for PPC32.
18010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18013 (__libc_ifunc_impl_list): Likewise.
18015 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18020 multiarch strncmp for PPC32.
18021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18024 (__libc_ifunc_impl_list): Likewise.
18026 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18027 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18029 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18030 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18034 (__libc_ifunc_impl_list): Likewise.
18036 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18038 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18040 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18044 (__libc_ifunc_impl_list): Likewise.
18046 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18048 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18050 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18051 multiarch rawmemchr for PPC32.
18052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18055 (__libc_ifunc_impl_list): Likewise.
18057 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18059 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18061 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18062 file: memrchr multiarch for PPC32.
18063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18066 (__libc_ifunc_impl_list): Likewise.
18068 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18069 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18071 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18072 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18073 multiarch memchr for PPC32.
18074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18077 (__libc_ifunc_impl_list): Likewise.
18079 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18080 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18082 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18084 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18085 file: multiarch mempcpy for PPC32.
18086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18089 (__libc_ifunc_impl_list): Likewise.
18091 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18092 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18093 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18094 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18095 multiarch bzero for PPC32.
18096 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18098 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18100 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18101 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18102 file: multiarch memset for PPC32.
18103 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18105 memset multiarch objects.
18106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18107 (__libc_ifunc_impl_list): Likewise.
18109 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18112 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18114 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18118 (__libc_ifunc_impl_list): Likewise.
18120 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18121 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18129 multiarch memcpy for PPC32.
18130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18133 (__libc_ifunc_impl_list): Likewise.
18135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18136 support multiarch for POWER/PPC32.
18137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18139 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18141 Implies file to make multiarch folder appers before the fpu and
18142 default folder for power4 configuration.
18144 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18146 * scripts/bench.pl: Append volatile keyword to type.
18148 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18150 * sysdeps/sh/sotruss-lib.c: New file.
18151 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18153 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18157 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18160 * math/w_tgamma.c: Include <errno.h>.
18161 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18162 * math/w_tgammaf.c: Include <errno.h>.
18163 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18164 * math/w_tgammal.c: Include <errno.h>.
18165 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18166 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18167 underflow. Add more tgamma tests.
18168 * math/auto-libm-test-out: Regenerated.
18169 * sysdeps/i386/fpu/libm-test-ulps: Update.
18170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18172 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18173 sin, sinh, tan, tanh, tgamma, y0 and y1.
18174 * math/auto-libm-test-out: Regenerated.
18175 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18176 (TEST_COND_x86): Likewise.
18177 (M_E2l): Remove macro.
18179 (M_2_SQRT_PIl): Likewise.
18180 (M_SQRT_PIl): Likewise.
18181 (M_1_DIV_El): Likewise.
18182 (log_test_data): Use AUTO_TESTS_f_f.
18183 (log10_test_data): Likewise.
18184 (log1p_test_data): Likewise.
18185 (log2_test_data): Likewise.
18186 (sin_test_data): Likewise.
18187 (sin_tonearest_test_data): Likewise.
18188 (sin_towardzero_test_data): Likewise.
18189 (sin_downward_test_data): Likewise.
18190 (sin_upward_test_data): Likewise.
18191 (sinh_test_data): Likewise.
18192 (sinh_tonearest_test_data): Likewise.
18193 (sinh_towardzero_test_data): Likewise.
18194 (sinh_downward_test_data): Likewise.
18195 (sinh_upward_test_data): Likewise.
18196 (tan_test_data): Likewise.
18197 (tan_tonearest_test_data): Likewise.
18198 (tan_towardzero_test_data): Likewise.
18199 (tan_downward_test_data): Likewise.
18200 (tan_upward_test_data): Likewise.
18201 (tanh_test_data): Likewise.
18202 (tgamma_test_data): Likewise.
18203 (y0_test_data): Likewise.
18204 (y1_test_data): Likewise.
18205 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18206 (special_real_inputs): Add pi/4.
18207 * sysdeps/i386/fpu/libm-test-ulps: Update.
18208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18210 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18212 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18213 "longjmp_target" static probes.
18214 (__longjmp): Rename to __longjmp_symbol.
18215 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18216 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18217 on which longjmp to generate.
18218 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18219 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18221 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18222 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18223 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18224 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18225 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18226 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18228 __longjmp_symbol based on which __longjmp to generate.
18229 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18231 (setjmp): Rename to setjmp_symbol.
18232 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18233 (_setjmp): Rename to _setjmp_symbol.
18234 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18235 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18236 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18237 which setjmp to generate.
18238 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18239 "longjmp_target" static probes.
18241 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18243 * benchtests/README: Add note about output arguments.
18244 * benchtests/bench-sincos.c: Remove file.
18245 * benchtests/sincos-inputs: New file.
18246 * scripts/bench.pl: Identify output arguments and define
18247 static variables for them.
18249 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18252 * Makefile (INSTALL): Add install-plain.texi as the primary
18254 * manual/install-plain.texi: New file.
18255 * manual/install.texi: Include node directive only for
18256 non-plaintext output.
18258 2013-12-04 Joseph Myers <joseph@codesourcery.com>
18260 * stdlib/longlong.h: Update from GCC.
18264 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18265 * math/w_j0f.c (y0f): Likewise.
18266 * math/w_j0l.c (__y0l): Likewise.
18267 * math/w_j1.c (y1): Likewise.
18268 * math/w_j1f.c (y1f): Likewise.
18269 * math/w_j1l.c (__y1l): Likewise
18270 * math/w_jn.c (yn): Likewise.
18271 * math/w_jnf.c (ynf): Likewise.
18272 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18273 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18274 value for Bessel function domain errors outside _SVID_ mode.
18275 Adjust sign of return value for yn (negative integer, 0).
18276 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18277 by zero in return for negative x and set sign appropriately for
18279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18280 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18281 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18282 expectations in error cases.
18283 (y1_test_data): Likewise.
18284 (yn_test_data): Likewise.
18285 * sysdeps/i386/fpu/libm-test-ulps: Update.
18286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18288 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18290 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18291 "64" to "64-v1". Add "64-v2".
18292 (abi-64-options): Rename to ...
18293 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18294 (abi-64-condition): Rename to ...
18295 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18296 (abi-64-ld-soname): Rename to ...
18297 (abi-64-v1-ld-soname): ... this.
18298 (abi-64-v2-options): Define.
18299 (abi-64-v2-condition): Likewise.
18300 (abi-64-v2-ld-soname): Likewise.
18301 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18302 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18307 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18308 Alan Modra <amodra@gmail.com>
18310 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18311 New versions for use with the ELFv2 ABI.
18312 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18313 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18315 (struct La_ppc64v2_retval): Likewise.
18316 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18317 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18318 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18319 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18320 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18322 Do not save or restore CR.
18323 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18324 (_dl_profile_resolve): Do no save or restore CR. Support extended
18325 return values for ELFv2 ABI. Fix location of FPR return registers.
18326 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18327 updated values for _CALL_ELF == 2.
18328 (La_regs, La_retval, int_retval): Likewise.
18330 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18332 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18333 (FRAME_MIN_SIZE_PARM): Likewise.
18334 (FRAME_BACKCHAIN): Likewise.
18335 (FRAME_CR_SAVE): Likewise.
18336 (FRAME_LR_SAVE): Likewise.
18337 (FRAME_TOC_SAVE): Likewise.
18338 (FRAME_PARM_SAVE): Likewise.
18339 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18340 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18341 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18342 (call_mcount_parm_offset): New macro.
18343 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18344 (PROF): Use symbolic stack frame offsets.
18345 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18346 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18347 Redefine in terms of FRAME_MIN_SIZE.
18348 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18349 (_dl_profile_resolve): Likewise. Update comment.
18350 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18351 symbols stack frame offsets.
18352 (__sigsetjmp): Likewise.
18353 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18354 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18355 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18356 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18359 (FRAME_BACKCHAIN): Remove.
18360 (FRAME_CR_SAVE): Likewise.
18361 (FRAME_LR_SAVE): Likewise.
18362 (FRAME_COMPILER_DW): Likewise.
18363 (FRAME_LINKER_DW): Likewise.
18364 (FRAME_TOC_SAVE): Likewise.
18365 (FRAME_PARM_SAVE): Likewise.
18366 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18367 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18368 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18370 (CHECK_SP): Use symbolic stack frame offsets.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18372 zone" instead of caller's parameter save area for temp storage.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18374 Likewise. Also, use symbolic stack frame offsets.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18376 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18377 our own stack frame instead of the caller's.
18378 (__socket): Use symbolic stack frame offsets.
18380 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18381 Alan Modra <amodra@gmail.com>
18383 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18385 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18386 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18387 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18389 (elf_machine_fixup_plt): Call it.
18390 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18392 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18393 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18394 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18395 r2 before calling target.
18397 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18398 Alan Modra <amodra@gmail.com>
18400 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18401 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18402 versions of macros to support ELFv2 ABI.
18403 (LOCALENTRY): New macro.
18404 (ENTRY, EALIGN): Use it.
18405 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18406 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18407 fall through into ENTRY entry point.
18408 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18409 Only define if _CALL_ELF != 2.
18411 (elf_machine_matches_host): Verify ABI version matches.
18412 (RTLD_START): Use LOCALENTRY.
18413 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18414 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18415 (PLT_ENTRY_WORDS): New macro.
18416 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18417 (elf_machine_runtime_setup): Support ELFv2 ABI.
18418 (elf_machine_fixup_plt): Likewise.
18419 (elf_machine_plt_conflict): Likewise.
18420 (resolve_ifunc): Likewise.
18421 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18422 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18425 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18427 (makecontext): Support ELFv2 ABI.
18428 * elf/elf.h (EF_PPC64_ABI): Define.
18430 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18432 * sysdeps/powerpc/powerpc64/sysdep.h
18433 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18434 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18435 (ENTRY) [ASSEMBLER]: ... but instead here ...
18436 (EALIGN) [ASSEMBLER]: ... and here.
18437 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18438 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18439 (ENTRY_2) [!ASSEMBLER]: Use it.
18440 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18441 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18442 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18443 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18444 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18446 Use PPC64_LOAD_FUNCPTR.
18448 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18450 2013-12-04 Alan Modra <amodra@gmail.com>
18452 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18453 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18454 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18455 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18458 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18459 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18460 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18461 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18462 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18464 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18467 (__makecontext): Fix incorrect CFI when backtracing out of
18468 context created via makecontext.
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18470 (__setcontext): Fix incorrect CFI during switch to new context.
18471 (__novec_setcontext): Likewise.
18473 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18476 * time/strptime_l.c (__strptime_internal): Allow modifiers
18478 * time/tst-strptime.c (day_tests): Add testcase.
18480 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18482 * scripts/bench.pl: Skip over blank lines.
18484 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18487 * manual/time.texi (Calendar Time): Clarify what timezone functions
18490 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18494 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18496 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18498 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18499 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18500 * debug/memset_chk.c (__memset_chk): Likewise.
18501 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18502 * debug/strncpy_chk.c: Likewise.
18504 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18508 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18509 (__ieee754_exp): For possibly underflowing results, check size of
18510 result and force underflow exception if required.
18511 * math/auto-libm-test-in: Add more tests of exp.
18512 * math/auto-libm-test-out: Regenerated.
18513 * sysdeps/i386/fpu/libm-test-ulps: Update.
18514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18517 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18518 * math/w_exp2f.c (__exp2f): Likewise.
18519 * math/w_exp2l.c (__exp2l): Likewise.
18520 * math/auto-libm-test-in: Do not allow missing errno on exp2
18522 * math/auto-libm-test-out: Regenerated.
18524 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
18527 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18528 handle filename validation.
18529 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18532 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18535 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18536 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18537 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18539 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18540 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18541 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18543 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18544 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18545 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18546 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18547 Add more erfc tests.
18548 * math/auto-libm-test-out: Regenerated.
18549 * sysdeps/i386/fpu/libm-test-ulps: Update.
18550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18552 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18553 exp2, expm1, j0 and j1.
18554 * math/auto-libm-test-out: Regenerated.
18555 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18556 (erfc_test_data): Likewise.
18557 (exp_test_data): Likewise.
18558 (exp_tonearest_test_data): Likewise.
18559 (exp_towardzero_test_data): Likewise.
18560 (exp_downward_test_data): Likewise.
18561 (exp_upward_test_data): Likewise.
18562 (exp10_test_data): Likewise.
18563 (exp2_test_data): Likewise.
18564 (expm1_test_data): Likewise.
18565 (j0_test_data): Likewise.
18566 (j1_test_data): Likewise.
18567 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18568 (input_flag_type): Add flag_xfail_rounding.
18569 (input_flags): Add xfail-rounding.
18570 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18571 (output_for_one_input_case): Handle flag_xfail_rounding.
18572 * sysdeps/i386/fpu/libm-test-ulps: Update.
18573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18575 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18578 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18581 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18584 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18585 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18586 (STAP_PROBE0): New macro.
18587 (STAP_PROBE1): Likewise.
18588 (STAP_PROBE2): Likewise.
18589 (STAP_PROBE3): Likewise.
18590 (STAP_PROBE4): Likewise.
18592 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
18594 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18596 2013-12-02 Steve Ellcey <sellcey@mips.com>
18598 * benchtests/Makefile (bench): Add sqrt.
18599 (LDLIBS-bench-sqrt): New.
18600 * benchtests/sqrt-input: New.
18602 2013-12-02 Pavel Simerda <psimerda@redhat.com>
18604 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18605 (GAIH_EAI): Likewise.
18606 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18607 (gaih_inet): Likewise.
18608 (getaddrinfo): Don't use GAIH_EAI.
18610 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18611 (struct gaih): Remove definition.
18613 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18615 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18616 Use HERRNOP directly.
18618 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18622 2013-11-30 Joseph Myers <joseph@codesourcery.com>
18624 * math/gen-auto-libm-tests.c (test_functions): Add more
18625 single-argument functions.
18626 (special_fill_pi_2): New function.
18627 (special_fill_minus_pi_2): Likewise.
18628 (special_fill_pi_6): Likewise.
18629 (special_fill_minus_pi_6): Likewise.
18630 (special_fill_pi_3): Likewise.
18631 (special_fill_2pi_3): Likewise.
18632 (special_fill_e): Likewise.
18633 (special_fill_1_e): Likewise.
18634 (special_fill_e_minus_1): Likewise.
18635 (special_real_inputs): Add more special inputs.
18636 (output_for_one_input_case): Do not require ERANGE on underflow to
18637 zero if round-to-nearest result does not underflow to zero, unless
18638 exact results required.
18639 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18640 atan, atanh, cbrt, cos and cosh.
18641 * math/auto-libm-test-out: Regenerated.
18642 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18643 (acos_tonearest_test_data): Likewise.
18644 (acos_towardzero_test_data): Likewise.
18645 (acos_downward_test_data): Likewise.
18646 (acos_upward_test_data): Likewise.
18647 (acosh_test_data): Likewise.
18648 (asin_test_data): Likewise.
18649 (asin_tonearest_test_data): Likewise.
18650 (asin_towardzero_test_data): Likewise.
18651 (asin_upward_test_data): Likewise.
18652 (asinh_test_data): Likewise.
18653 (atan_test_data): Likewise.
18654 (atanh_test_data): Likewise.
18655 (cbrt_test_data): Likewise.
18656 (cos_test_data): Likewise.
18657 (cos_tonearest_test_data): Likewise.
18658 (cos_towardzero_test_data): Likewise.
18659 (cos_downward_test_data): Likewise.
18660 (cos_upward_test_data): Likewise.
18661 (cosh_test_data): Likewise.
18662 (cosh_tonearest_test_data): Likewise.
18663 (cosh_towardzero_test_data): Likewise.
18664 (cosh_downward_test_data): Likewise.
18665 (cosh_upward_test_data): Likewise.
18666 * sysdeps/i386/fpu/libm-test-ulps: Update.
18667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18669 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18672 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18673 * math/w_exp10f.c (__exp10f): Likewise.
18674 * math/w_exp10l.c (__exp10l): Likewise.
18675 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18676 errno settings in existing tests.
18679 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18680 precision control set to double precision.
18681 * sysdeps/i386/fpu/w_sqrt.c: New file.
18682 * math/auto-libm-test-in: Add more tests.
18683 * math/auto-libm-test-out: Update.
18685 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18686 (sqrt_test_tonearest): New function.
18687 (sqrt_towardzero_test_data): New variable.
18688 (sqrt_test_towardzero): New function.
18689 (sqrt_downward_test_data): New variable.
18690 (sqrt_test_downward): New function.
18691 (sqrt_upward_test_data): New variable.
18692 (sqrt_test_upward): New function.
18693 (main): Call the new functions.
18695 * math/gen-auto-libm-tests.c: New file.
18696 * math/auto-libm-test-in: Likewise.
18697 * math/auto-libm-test-out: New generated file.
18698 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18700 (%beautify): Add generated representations of zero.
18701 (top level): Set $auto_input and call parse_auto_input.
18702 (beautify): Remove trailing "f" from hex float constants.
18703 (parse_args): Handle XFAIL_TEST.
18704 (convert_condition): New function.
18705 (or_value): Likewise.
18706 (or_cond_value): Likewise.
18707 (generate_testfile): Handle AUTO_TESTS_* lines.
18708 (parse_auto_input): New function.
18709 * math/libm-test.inc (XFAIL_TEST): New macro.
18710 (ERRNO_UNCHANGED): Update value.
18711 (ERRNO_EDOM): Likewise.
18712 (ERRNO_ERANGE): Likewise.
18713 (IGNORE_RESULT): Likewise.
18714 (TEST_COND_flt_32): New macro.
18715 (TEST_COND_dbl_64): Likewise.
18716 (TEST_COND_ldbl_96_intel): Likewise.
18717 (TEST_COND_ldbl_96_m68k): Likewise.
18718 (TEST_COND_ldbl_128): Likewise.
18719 (TEST_COND_ldbl_128ibm): Likewise.
18720 (TEST_COND_long32): Likewise.
18721 (TEST_COND_long64): Likewise.
18722 (TEST_COND_before_rounding): Likewise.
18723 (TEST_COND_after_rounding): Likewise.
18724 (enable_test): Handle XFAIL_TEST flag.
18725 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18726 with finite results.
18727 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18728 auto-libm-test-out.
18730 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18731 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18734 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18735 __tls_get_addr_internal instead of __tls_get_offset in order to
18736 avoid GOT pointer dependency. Make rtld export
18737 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18738 __tls_get_addr since we are a __tls_get_offset platform.
18739 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18740 GOT pointer being set up before.
18741 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18743 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18745 * manual/math.texi (Errors in Math Functions): Document accuracy
18749 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18750 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18753 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18755 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18766 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18767 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18768 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18769 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18770 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18772 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18774 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18776 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18777 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18778 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18779 atomic-feupdateenv and flt-rounds.
18780 * sysdeps/powerpc/nofpu/Versions (libc): Add
18781 __atomic_feholdexcept, __atomic_feclearexcept,
18782 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18783 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18784 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18785 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18786 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18791 * manual/arith.texi (FP Exceptions): Document that exceptions may
18792 not be raised when matherr is used.
18793 (Math Error Reporting): Document overflow in directed rounding
18794 modes. Document that errno may not be set when finite values are
18795 returned on overflow. Document intent to set errno on underflow
18796 only for underflow to zero.
18799 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18800 round-to-nearest then adjust result for other rounding modes.
18801 * include/fenv.h (fegetround): Use libm_hidden_proto.
18802 * math/fegetround.c (fegetround): Use libm_hidden_def.
18803 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18804 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18805 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18806 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18808 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18809 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18810 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18811 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18813 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18816 * nss/Versions (libnss_files): Add
18817 _nss_files_gethostbyname3_r.
18818 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18820 (HOST_DB_LOOKUP): Remove macro.
18821 (_nss_files_gethostbyname_r): Implement function without the
18822 HOST_DB_LOOKUP macro.
18823 (_nss_files_gethostbyname2_r): Likewise.
18825 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18827 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18829 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18831 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18832 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18835 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18837 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18838 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18839 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18840 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18841 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18842 __fe_nomask_env_priv and attribute_hidden.
18843 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18844 (libc_feupdateenv_test_ppc): Likewise.
18845 (libc_feresetround_ppc): Likewise.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18847 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18848 compat_symbol macro.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18850 (__fe_nomask_env): Likewise.
18851 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18853 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18855 * string/Makefile: Remove ifunc tests.
18856 * string/test-string.h: Define TEST_IFUNC.
18857 * string/test-bcopy-ifunc.c: Remove.
18858 * string/test-bzero-ifunc.c: Likewise.
18859 * string/test-memccpy-ifunc.c: Likewise.
18860 * string/test-memchr-ifunc.c: Likewise.
18861 * string/test-memcmp-ifunc.c: Likewise.
18862 * string/test-memcpy-ifunc.c: Likewise.
18863 * string/test-memmem-ifunc.c: Likewise.
18864 * string/test-memmove-ifunc.c: Likewise.
18865 * string/test-mempcpy-ifunc.c: Likewise.
18866 * string/test-memrchr-ifunc.c: Likewise.
18867 * string/test-memset-ifunc.c: Likewise.
18868 * string/test-rawmemchr-ifunc.c: Likewise.
18869 * string/test-stpcpy-ifunc.c: Likewise.
18870 * string/test-stpncpy-ifunc.c: Likewise.
18871 * string/test-strcasecmp-ifunc.c: Likewise.
18872 * string/test-strcasestr-ifunc.c: Likewise.
18873 * string/test-strcat-ifunc.c: Likewise.
18874 * string/test-strchr-ifunc.c: Likewise.
18875 * string/test-strchrnul-ifunc.c: Likewise.
18876 * string/test-strcmp-ifunc.c: Likewise.
18877 * string/test-strcpy-ifunc.c: Likewise.
18878 * string/test-strcspn-ifunc.c: Likewise.
18879 * string/test-strlen-ifunc.c: Likewise.
18880 * string/test-strncasecmp-ifunc.c: Likewise.
18881 * string/test-strncat-ifunc.c: Likewise.
18882 * string/test-strncmp-ifunc.c: Likewise.
18883 * string/test-strncpy-ifunc.c: Likewise.
18884 * string/test-strnlen-ifunc.c: Likewise.
18885 * string/test-strpbrk-ifunc.c: Likewise.
18886 * string/test-strrchr-ifunc.c: Likewise.
18887 * string/test-strspn-ifunc.c: Likewise.
18888 * string/test-strstr-ifunc.c: Likewise.
18890 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18892 * benchtests/Makefile: Remove ifunc tests.
18893 * benchtests/bench-string.h: Define TEST_IFUNC.
18894 * benchtests/bench-bcopy-ifunc.c: Remove.
18895 * benchtests/bench-bzero-ifunc.c: Likewise.
18896 * benchtests/bench-memccpy-ifunc.c: Likewise.
18897 * benchtests/bench-memchr-ifunc.c: Likewise.
18898 * benchtests/bench-memcmp-ifunc.c: Likewise.
18899 * benchtests/bench-memcpy-ifunc.c: Likewise.
18900 * benchtests/bench-memmem-ifunc.c: Likewise.
18901 * benchtests/bench-memmove-ifunc.c: Likewise.
18902 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18903 * benchtests/bench-memrchr-ifunc.c: Likewise.
18904 * benchtests/bench-memset-ifunc.c: Likewise.
18905 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18906 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18907 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18908 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18909 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18910 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18911 * benchtests/bench-strcat-ifunc.c: Likewise.
18912 * benchtests/bench-strchr-ifunc.c: Likewise.
18913 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18914 * benchtests/bench-strcmp-ifunc.c: Likewise.
18915 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18916 * benchtests/bench-strcpy-ifunc.c: Likewise.
18917 * benchtests/bench-strcspn-ifunc.c: Likewise.
18918 * benchtests/bench-strlen-ifunc.c: Likewise.
18919 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18920 * benchtests/bench-strncat-ifunc.c: Likewise.
18921 * benchtests/bench-strncmp-ifunc.c: Likewise.
18922 * benchtests/bench-strncpy-ifunc.c: Likewise.
18923 * benchtests/bench-strnlen-ifunc.c: Likewise.
18924 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18925 * benchtests/bench-strrchr-ifunc.c: Likewise.
18926 * benchtests/bench-strsep-ifunc.c: Likewise.
18927 * benchtests/bench-strspn-ifunc.c: Likewise.
18928 * benchtests/bench-strstr-ifunc.c: Likewise.
18930 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18932 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18934 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18936 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18937 * rt/aio.h: Likewise.
18938 * sysdeps/gnu/bits/utmp.h: Likewise.
18939 * sysdeps/gnu/bits/utmpx.h: Likewise.
18940 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18941 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18942 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18943 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18944 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18945 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18946 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18947 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18948 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18949 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18950 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18951 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18952 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18954 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18955 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18956 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18957 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18958 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18959 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18960 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18961 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18962 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18963 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18964 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18966 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18967 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18968 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18969 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18970 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18971 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18972 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18973 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18974 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18975 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18976 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18977 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18978 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18979 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18980 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18981 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18983 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18986 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18987 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18989 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18991 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18992 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18995 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18998 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18999 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19000 (__fesetround): Remove define.
19001 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19002 rounding and exceptions handling.
19003 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19004 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19005 (__fe_nomask_env): Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19007 __fegetround instead of fegetround.
19008 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19011 2013-11-21 Roland McGrath <roland@hack.frob.com>
19013 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19016 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19018 2013-11-21 Meador Inge <meadori@codesourcery.com>
19021 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19022 (encrypt_r): Likewise.
19023 * malloc/obstack.h (obstack_free): Likewise.
19024 * posix/unistd.h (encrypt): Likewise.
19026 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19028 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19029 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19030 DL_CALL_DT_FINI() that call the functions directly.
19031 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19032 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19033 * elf/dl-fini.c: Likewise.
19035 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19037 * malloc/hooks.c (memalign_check): Add alignment rounding.
19038 * malloc/malloc.c (_mid_memalign): New function.
19039 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19040 Implement by calling _mid_memalign.
19041 * manual/probes.texi (Memory Allocation Probes): Remove
19042 memory_valloc_retry and memory_pvalloc_retry.
19044 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19046 * locale/programs/locarchive.c (open_archive): Add const
19047 qualifier to ARCHIVEFNAME and copy default fname to
19051 * libio/tst-widetext.input: Rename Oriya to Odia.
19052 * locale/iso-639.def: Likewise.
19054 * manual/probes.texi (Mathematical Function Probes): Add
19055 documentation for sin, cos, asin and acos probes.
19056 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19057 (__sin32): Add slowasin probe.
19058 (__cos32): Add slowacos probe.
19059 (__mpsin): Add slowsin probe.
19060 (__mpcos): Add slowcos probe.
19062 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19065 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19066 thread-local __sim_exceptions_thread and global
19067 __sim_exceptions_global.
19068 (__sim_disabled_exceptions): Change to thread-local
19069 __sim_disabled_exceptions_thread and global
19070 __sim_disabled_exceptions_global.
19071 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19072 and global __sim_round_mode_global.
19073 (__simulate_exceptions): Use thread-local floating-point state and
19074 set global state from it as needed.
19075 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19076 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19077 __sim_round_mode_thread.
19078 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19079 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19080 and global __sim_exceptions_global.
19081 (__sim_disabled_exceptions): Change to thread-local
19082 __sim_disabled_exceptions_thread and global
19083 __sim_disabled_exceptions_global.
19084 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19085 and global __sim_round_mode_global.
19086 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19087 (SIM_SET_GLOBAL): Likewise.
19088 * sysdeps/powerpc/soft-fp/sfp-machine.h
19089 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19090 __sim_round_mode_thread.
19091 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19092 __sim_disabled_exceptions_thread.
19093 (__sim_exceptions): Change to __sim_exceptions_thread.
19094 (__sim_disabled_exceptions): Change to
19095 __sim_disabled_exceptions_thread.
19096 (__sim_round_mode): Change to __sim_round_mode_thread.
19097 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19098 thread-local floating-point state and set global state from it as
19100 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19101 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19102 (__sim_disabled_exceptions): Remove extern declaration.
19103 (feenableexcept): Use thread-local floating-point state and set
19104 global state from it as needed.
19105 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19106 extern declaration.
19107 (__sim_disabled_exceptions): Likewise.
19108 (__sim_round_mode): Likewise.
19109 (__fegetenv): Use thread-local floating-point state.
19110 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19111 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19112 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19113 floating-point state and set global state from it as needed.
19114 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19115 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19116 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19118 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19119 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19121 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19122 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19123 Use __sim_round_mode_thread.
19124 * math/test-fenv-tls.c: New file.
19125 * math/Makefile (tests): Add test-fenv-tls.
19126 ($(objpfx)test-fenv-tls): Depend on
19127 $(common-objpfx)nptl/libpthread.so.
19129 2013-11-19 Andreas Schwab <schwab@suse.de>
19131 * locale/programs/locale.c (show_info): Decode wordarray elements.
19132 * locale/categories.def (LC_MONETARY): Add element for
19133 _NL_MONETARY_CRNCYSTR.
19134 * locale/C-monetary.c (conversion_rate): New variable.
19135 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19138 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19140 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19141 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19143 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19145 * elf/Makefile (tst-auxv): New test.
19146 * elf/tst-auxv.c: New
19147 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19149 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19151 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19152 (hidden_proto): Caller changed.
19153 (hidden_tls_proto): New macro.
19154 (libc_hidden_tls_proto): Likewise.
19155 (rtld_hidden_tls_proto): Likewise.
19156 (libm_hidden_tls_proto): Likewise.
19157 (libresolv_hidden_tls_proto): Likewise.
19158 (librt_hidden_tls_proto): Likewise.
19159 (libdl_hidden_tls_proto): Likewise.
19160 (libnss_files_hidden_tls_proto): Likewise.
19161 (libnsl_hidden_tls_proto): Likewise.
19162 (libnss_nisplus_hidden_tls_proto): Likewise.
19163 (libutil_hidden_tls_proto): Likewise.
19165 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19168 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19169 (decompose_rpath): Defer expansion to fillin_rpath.
19170 (_dl_init_paths): Pass linkmap to fillin_rpath.
19172 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19174 * benchtests/Makefile: Add strsep.
19175 * benchtests/bench-strsep.c: New file: strsep benchtest.
19176 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19178 2013-11-18 Andreas Schwab <schwab@suse.de>
19180 * locale/programs/locale.c (show_info) [case byte]: Check for
19181 '\377' instead of '\177'.
19182 * locale/C-monetary.c (not_available): Always use "\377".
19183 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19184 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19185 detect unavailable sign_posn locale elements.
19186 * locale/localeconv.c (__localeconv): For grouping and
19187 mon_grouping handle "\177" and "\377" like no grouping.
19188 (INT_ELEM): New macro. Use it to set all numeric members.
19189 * locale/programs/ld-monetary.c (monetary_read)
19190 <tok_mon_grouping>: Normalize single -1 to the empty string.
19191 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19194 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19197 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19198 when we match (nil).
19199 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19201 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19203 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19204 (NO_TEST_INLINE): Update value.
19205 (ERRNO_UNCHANGED): Likewise.
19206 (ERRNO_EDOM): Likewise.
19207 (ERRNO_ERANGE): Likewise.
19208 (IGNORE_RESULT): Likewise.
19209 (check_float_internal): Check signs of NaN results if
19210 TEST_NAN_SIGN used.
19211 (check_complex): Pass TEST_NAN_SIGN flag through to second
19212 check_float_internal call.
19213 (copysign_test_data): Add tests with quiet NaNs as second
19214 argument. Use TEST_NAN_SIGN.
19215 (fabs_test_data): Add test of negative quiet NaN argument. Use
19217 (signbit_test_data): Add tests of quiet NaN argument.
19218 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19220 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19222 (parse_args): Handle function results specified as IGNORE.
19223 * math/libm-test.inc (IGNORE_RESULT): New macro.
19224 (check_float_internal): Do not check numerical result if flag
19226 (check_complex): Pass through IGNORE_RESULT to second
19227 check_float_internal call.
19228 (check_int): Do not check numerical result if flag IGNORE_RESULT
19230 (check_long): Likewise.
19231 (check_bool): Likewise.
19232 (check_longlong): Likewise.
19233 (lrint_test_data): Add tests of infinite and NaN arguments.
19234 (lrint_tonearest_test_data): Likewise.
19235 (lrint_towardzero_test_data): Likewise.
19236 (lrint_downward_test_data): Likewise.
19237 (lrint_upward_test_data): Likewise.
19238 (llrint_test_data): Likewise.
19239 (llrint_tonearest_test_data): Likewise.
19240 (llrint_towardzero_test_data): Likewise.
19241 (llrint_downward_test_data): Likewise.
19242 (llrint_upward_test_data): Likewise.
19243 (lround_test_data): Likewise.
19244 (llround_test_data): Likewise.
19246 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19247 (ERRNO_UNCHANGED): Update value.
19248 (ERRNO_EDOM): Likewise.
19249 (ERRNO_ERANGE): Likewise.
19250 (NO_TEST_INLINE_FLOAT): New macro.
19251 (NO_TEST_INLINE_DOUBLE): Likewise.
19252 (enable_test): New function.
19253 (RUN_TEST_f_f): Check enable_test before running test.
19254 (RUN_TEST_2_f): Likewise.
19255 (RUN_TEST_fff_f): Likewise.
19256 (RUN_TEST_c_f): Likewise.
19257 (RUN_TEST_f_f1): Likewise.
19258 (RUN_TEST_fF_f1): Likewise.
19259 (RUN_TEST_fI_f1): Likewise.
19260 (RUN_TEST_ffI_f1): Likewise.
19261 (RUN_TEST_c_c): Likewise.
19262 (RUN_TEST_cc_c): Likewise.
19263 (RUN_TEST_f_i): Likewise.
19264 (RUN_TEST_f_i_tg): Likewise.
19265 (RUN_TEST_ff_i_tg): Likewise.
19266 (RUN_TEST_f_b): Likewise.
19267 (RUN_TEST_f_b_tg): Likewise.
19268 (RUN_TEST_f_l): Likewise.
19269 (RUN_TEST_f_L): Likewise.
19270 (RUN_TEST_fFF_11): Likewise.
19271 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19273 (cosh_test_data): Likewise.
19274 (exp_test_data): Likewise.
19275 (expm1_test_data): Likewise.
19276 (hypot_test_data): Likewise.
19277 (pow_test_data): Likewise.
19278 (sinh_test_data): Likewise.
19279 (tanh_test_data): Likewise.
19280 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19283 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19284 tests with quiet NaN input and output.
19285 (acosh_test_data): Likewise.
19286 (asin_test_data): Likewise.
19287 (asinh_test_data): Likewise.
19288 (atan_test_data): Likewise.
19289 (atanh_test_data): Likewise.
19290 (atan2_test_data): Likewise.
19291 (cbrt_test_data): Likewise.
19292 (cos_test_data): Likewise.
19293 (cosh_test_data): Likewise.
19294 (erf_test_data): Likewise.
19295 (erfc_test_data): Likewise.
19296 (exp_test_data): Likewise.
19297 (exp10_test_data): Likewise.
19298 (exp2_test_data): Likewise.
19299 (expm1_test_data): Likewise.
19300 (hypot_test_data): Likewise.
19301 (j0_test_data): Likewise.
19302 (j1_test_data): Likewise.
19303 (jn_test_data): Likewise.
19304 (lgamma_test_data): Likewise.
19305 (log_test_data): Likewise.
19306 (log10_test_data): Likewise.
19307 (log1p_test_data): Likewise.
19308 (log2_test_data): Likewise.
19309 (pow_test_data): Likewise.
19310 (scalb_test_data): Likewise.
19311 (sin_test_data): Likewise.
19312 (sincos_test_data): Likewise.
19313 (sinh_test_data): Likewise.
19314 (tan_test_data): Likewise.
19315 (tanh_test_data): Likewise.
19316 (tgamma_test_data): Likewise.
19317 (y0_test_data): Likewise.
19318 (y1_test_data): Likewise.
19319 (yn_test_data): Likewise.
19322 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19323 argument being NaN and avoid computations with second argument in
19325 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19326 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19327 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19329 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19331 * locale/iso-639.def: Add Chitwani Tharu (the).
19333 2013-11-14 Andreas Schwab <schwab@suse.de>
19335 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19336 word instead of empty string.
19338 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19341 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19343 (__fe_nomask_env): Likewise.
19345 2013-11-13 Steve Ellcey <sellcey@mips.com>
19347 * benchtests/bench-timing.h: Include time.h.
19349 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19352 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19354 * sysdeps/unix/sysv/linux/configure: Regenerated.
19356 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19359 * stdlib/strtod_l.c (round_and_return): Do not consider
19360 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19361 exponent one less than half the least subnormal exponent.
19362 * stdlib/test-strtod-round-data: Add more tests.
19363 * stdlib/tst-strtod-round.c (tests): Regenerated.
19365 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19368 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19369 (__fe_mask_env): Likewise.
19370 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19371 libm_hidden_proto and add function prototype.
19372 (__fe_mask_env): Add function prototype.
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19374 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19376 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19378 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19380 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19382 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19383 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19385 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19387 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19388 of htab_find_slot().
19390 2013-11-11 David S. Miller <davem@davemloft.net>
19393 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19394 symbol in the non-vis3 case in static builds.
19395 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19396 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19397 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19398 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19400 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19403 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19406 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19408 * benchtests/Makefile: Add bench-strtod.
19409 * benchtests/bench-strtod.c: New file: strtod benchtest
19411 2013-11-11 Andreas Schwab <schwab@suse.de>
19414 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19415 terminating NUL in key length.
19417 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19419 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19420 Add artificial ODP entry for vDSO symbol for PPC64.
19421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19422 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19424 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19427 * nss/getent.c (services_keys): Recognize services starting with digit.
19429 2013-11-06 David S. Miller <davem@davemloft.net>
19432 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19433 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19435 2013-11-06 Will Newton <will.newton@linaro.org>
19437 * manual/memory.texi (Malloc Examples): Remove register
19438 keyword from examples.
19440 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
19442 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19444 2013-11-04 Joseph Myers <joseph@codesourcery.com>
19447 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19448 depending on [__GCC_IEC_559 > 0].
19449 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19450 depending on [__GCC_IEC_559_COMPLEX > 0].
19452 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
19454 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19457 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
19459 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19461 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
19464 * malloc/malloc (malloc_info): Do not handle first bin as
19467 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
19469 * locale/iso-639.def: Add Central Nahuatl (nhn).
19471 2013-11-01 Bruno Haible <bruno@clisp.org>
19474 * manual/math.texi (BSD Random): Specify range upper bound as
19477 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
19479 * locale/iso-639.def: Add Meadow Mari (mhr).
19481 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
19483 [BZ #14752], [BZ #15763]
19484 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19486 * rt/tst_shm.c: Add test for escaping directory.
19488 2013-10-31 Andreas Schwab <schwab@suse.de>
19491 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19492 followed by 'x' as part of digit sequence.
19493 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19495 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19498 * configure.ac: allow GNU Make 4.0 and greater.
19499 * configure: Regenerated.
19501 2013-10-30 Will Newton <will.newton@linaro.org>
19504 * malloc/hooks.c (memalign_check): Limit alignment to the
19505 maximum representable power of two.
19506 * malloc/malloc.c (__libc_memalign): Likewise.
19507 * malloc/tst-memalign.c (do_test): Add test for very
19508 large alignment values.
19509 * malloc/tst-posix_memalign.c (do_test): Likewise.
19511 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19514 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19515 (munmap_chunk): Likewise.
19516 (mremap_chunk): Likewise.
19518 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19521 * stdlib/div.c (div): Remove obsolete code.
19522 * stdlib/ldiv.c (ldiv): Likewise.
19523 * stdlib/lldiv.c (lldiv): Likewise.
19525 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19528 * nss/nss_files/files-XXX.c (get_contents_ret): New
19530 (get_contents): New function.
19531 (internal_getent): Use it. Expand size of LINEBUFLEN.
19533 2013-10-30 Mike Frysinger <vapier@gentoo.org>
19535 * configure.in: Moved to ...
19536 * configure.ac: ... here. Change reference to configure.in
19538 * sysdeps/arm/preconfigure.ac: ... here.
19539 configure.in to configure.ac.
19540 * sysdeps/gnu/configure.in: Moved to ...
19541 * sysdeps/gnu/configure.ac: ... here.
19542 * sysdeps/i386/configure.in: Moved to ...
19543 * sysdeps/i386/configure.ac: ... here.
19544 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19545 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19546 * sysdeps/mach/configure.in: Moved to ...
19547 * sysdeps/mach/configure.ac: ... here.
19548 * sysdeps/mach/hurd/configure.in: Moved to ...
19549 * sysdeps/mach/hurd/configure.ac: ... here.
19550 * sysdeps/powerpc/configure.in: Moved to ...
19551 * sysdeps/powerpc/configure.ac: ... here.
19552 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19553 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19554 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19555 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19556 * sysdeps/s390/s390-32/configure.in: Moved to ...
19557 * sysdeps/s390/s390-32/configure.ac: ... here.
19558 * sysdeps/s390/s390-64/configure.in: Moved to ...
19559 * sysdeps/s390/s390-64/configure.ac: ... here.
19560 * sysdeps/sh/configure.in: Moved to ...
19561 * sysdeps/sh/configure.ac: ... here.
19562 * sysdeps/sparc/configure.in: Moved to ...
19563 * sysdeps/sparc/configure.ac: ... here.
19564 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19565 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19566 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19567 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19568 * sysdeps/x86_64/configure.in: Moved to ...
19569 * sysdeps/x86_64/configure.ac: ... here.
19570 * sysdeps/x86_64/preconfigure.in: Moved to ...
19571 * sysdeps/x86_64/preconfigure.ac: ... here.
19572 * aclocal.m4: Change reference to configure.in to configure.ac.
19573 * config.h.in: Likewise.
19574 * manual/install.texi: Likewise.
19575 * manual/maint.texi: Likewise.
19576 * Makefile: Likewise.
19577 * malloc/Makefile: Likewise.
19578 * nscd/Makefile: Likewise.
19579 * Makeconfig: Change reference to configure.in and
19580 preconfigure.in to configure.ac and preconfigure.ac
19582 * INSTALL: Regenerated.
19583 * configure: Likewise.
19584 * sysdeps/gnu/configure: Likewise.
19585 * sysdeps/i386/configure: Likewise.
19586 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19587 * sysdeps/mach/configure: Likewise.
19588 * sysdeps/mach/hurd/configure: Likewise.
19589 * sysdeps/powerpc/configure: Likewise.
19590 * sysdeps/powerpc/powerpc32/configure: Likewise.
19591 * sysdeps/powerpc/powerpc64/configure: Likewise.
19592 * sysdeps/s390/s390-32/configure: Likewise.
19593 * sysdeps/s390/s390-64/configure: Likewise.
19594 * sysdeps/sh/configure: Likewise.
19595 * sysdeps/sparc/configure: Likewise.
19596 * sysdeps/unix/sysv/linux/configure: Likewise.
19597 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19598 * sysdeps/x86_64/configure: Likewise.
19599 * sysdeps/x86_64/preconfigure: Likewise.
19601 2013-10-29 Andreas Schwab <schwab@suse.de>
19603 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19605 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19607 * benchtests/pow-inputs: Add new inputs.
19609 * benchtests/exp-inputs: Add new inputs.
19611 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19612 conditional check for return value.
19613 (__cos32): Likewise.
19615 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19617 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19618 to provide a boost for large inputs with word alignment.
19619 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19620 implementation based on optimized PPC64 strcpy.
19621 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19622 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19623 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19624 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19626 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19629 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19631 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19634 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19635 * time/tst-strptime.c (day_tests): Add testcase.
19637 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19640 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19642 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19645 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19646 MAP_FAILED on error.
19648 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19651 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19652 heap for large requests.
19654 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19657 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19658 result if the result has no associated interface.
19659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19660 interface for all 127.X.Y.Z addresses.
19662 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19664 * locale/iso-639.def: Add Ligurian (lij)
19666 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19669 * sunrpc/rpc_main.c: Document rpcgen -5.
19671 2013-10-19 Michael Stahl <mstahl@redhat.com>
19673 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19675 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19678 * posix/glob.c: Match only directories when trailing slash is present.
19679 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19680 (main): Add testcase.
19682 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19685 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19687 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19689 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19690 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19691 AUTH_DES and cindex for FIPS 140-2.
19692 (DES Encryption): Add cindex FIPS 46-3.
19694 * locale/locarchive.h (struct locarhandle): Add fname.
19695 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19696 if an optional argument was specified to --list-archive,
19698 * locale/programs/locarchive.c (show_archive_content): Take new
19699 argument fname and pass it via ah.fname to open_archive.
19700 * locale/programs/localedef.h: Update decl.
19701 (open_archive): If AH->fname is non-null, open that file
19702 rather than the default file name, and don't ignore ENOENT.
19703 (create_archive): Set AH.fname to NULL.
19704 (delete_locales_from_archive): Likewise.
19705 (add_locales_to_archive): Likewise.
19706 * locale/programs/locfile.c (write_all_categories): Likewise.
19708 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19709 Aldy Hernandez <aldyh@redhat.com>
19711 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19712 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19713 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19714 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19715 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19716 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19717 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19718 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19719 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19720 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19721 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19722 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19723 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19724 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19725 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19727 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19729 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19731 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19733 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19734 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19736 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19737 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19738 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19739 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19741 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19742 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19743 * sysdeps/powerpc/preconfigure: Likewise.
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19746 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19747 Replace contents of file by #include of <fenv_libc.h>.
19748 * sysdeps/powerpc/soft-fp/sfp-machine.h
19749 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19751 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19752 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19753 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19754 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19755 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19756 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19758 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19759 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19760 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19761 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19764 Allow copysignl PLT reference to be missing.
19766 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19767 Joseph Myers <joseph@codesourcery.com
19770 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19772 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19774 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19776 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19777 * elf/tst-tls1.c: Likewise.
19778 * elf/tst-tls10.h: Likewise.
19779 * elf/tst-tls14.c: Likewise.
19780 * elf/tst-tls2.c: Likewise.
19781 * elf/tst-tls3.c: Likewise.
19782 * elf/tst-tls4.c: Likewise.
19783 * elf/tst-tls5.c: Likewise.
19784 * elf/tst-tls6.c: Likewise.
19785 * elf/tst-tls7.c: Likewise.
19786 * elf/tst-tls8.c: Likewise.
19787 * elf/tst-tls9.c: Likewise.
19788 * elf/tst-tlsmod1.c: Likewise.
19789 * elf/tst-tlsmod13.c: Likewise.
19790 * elf/tst-tlsmod13a.c: Likewise.
19791 * elf/tst-tlsmod14a.c: Likewise.
19792 * elf/tst-tlsmod16a.c: Likewise.
19793 * elf/tst-tlsmod16b.c: Likewise.
19794 * elf/tst-tlsmod2.c: Likewise.
19795 * elf/tst-tlsmod3.c: Likewise.
19796 * elf/tst-tlsmod4.c: Likewise.
19797 * elf/tst-tlsmod5.c: Likewise.
19798 * elf/tst-tlsmod6.c: Likewise.
19800 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19803 * malloc/malloc.c: remove checks for statistics.
19805 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19808 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19809 * inet/tst-network.c: Add testcase.
19811 2013-10-17 Andreas Schwab <schwab@suse.de>
19814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19815 to determine canonical name.
19817 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19819 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19820 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19822 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19824 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19825 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19826 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19827 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19828 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19829 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19830 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19831 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19832 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19833 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19834 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19838 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19839 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19843 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19844 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19849 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19860 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19863 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19864 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19865 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19866 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19867 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19868 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19869 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19871 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19872 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19873 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19874 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19876 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19878 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19881 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19882 make result into a quiet NaN.
19884 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19886 * soft-fp/adddf3.c: Fix horizontal whitespace.
19887 * soft-fp/addsf3.c: Likewise.
19888 * soft-fp/addtf3.c: Likewise.
19889 * soft-fp/divdf3.c: Likewise.
19890 * soft-fp/divsf3.c: Likewise.
19891 * soft-fp/divtf3.c: Likewise.
19892 * soft-fp/double.h: Likewise.
19893 * soft-fp/eqdf2.c: Likewise.
19894 * soft-fp/eqsf2.c: Likewise.
19895 * soft-fp/eqtf2.c: Likewise.
19896 * soft-fp/extenddftf2.c: Likewise.
19897 * soft-fp/extended.h: Likewise.
19898 * soft-fp/extendsfdf2.c: Likewise.
19899 * soft-fp/extendsftf2.c: Likewise.
19900 * soft-fp/extendxftf2.c: Likewise.
19901 * soft-fp/fixdfdi.c: Likewise.
19902 * soft-fp/fixdfsi.c: Likewise.
19903 * soft-fp/fixdfti.c: Likewise.
19904 * soft-fp/fixsfdi.c: Likewise.
19905 * soft-fp/fixsfsi.c: Likewise.
19906 * soft-fp/fixsfti.c: Likewise.
19907 * soft-fp/fixtfdi.c: Likewise.
19908 * soft-fp/fixtfsi.c: Likewise.
19909 * soft-fp/fixtfti.c: Likewise.
19910 * soft-fp/fixunsdfdi.c: Likewise.
19911 * soft-fp/fixunsdfsi.c: Likewise.
19912 * soft-fp/fixunsdfti.c: Likewise.
19913 * soft-fp/fixunssfdi.c: Likewise.
19914 * soft-fp/fixunssfsi.c: Likewise.
19915 * soft-fp/fixunssfti.c: Likewise.
19916 * soft-fp/fixunstfdi.c: Likewise.
19917 * soft-fp/fixunstfsi.c: Likewise.
19918 * soft-fp/fixunstfti.c: Likewise.
19919 * soft-fp/floatdidf.c: Likewise.
19920 * soft-fp/floatdisf.c: Likewise.
19921 * soft-fp/floatditf.c: Likewise.
19922 * soft-fp/floatsidf.c: Likewise.
19923 * soft-fp/floatsisf.c: Likewise.
19924 * soft-fp/floatsitf.c: Likewise.
19925 * soft-fp/floattidf.c: Likewise.
19926 * soft-fp/floattisf.c: Likewise.
19927 * soft-fp/floattitf.c: Likewise.
19928 * soft-fp/floatundidf.c: Likewise.
19929 * soft-fp/floatundisf.c: Likewise.
19930 * soft-fp/floatunditf.c: Likewise.
19931 * soft-fp/floatunsidf.c: Likewise.
19932 * soft-fp/floatunsisf.c: Likewise.
19933 * soft-fp/floatunsitf.c: Likewise.
19934 * soft-fp/floatuntidf.c: Likewise.
19935 * soft-fp/floatuntisf.c: Likewise.
19936 * soft-fp/floatuntitf.c: Likewise.
19937 * soft-fp/fmadf4.c: Likewise.
19938 * soft-fp/fmasf4.c: Likewise.
19939 * soft-fp/fmatf4.c: Likewise.
19940 * soft-fp/gedf2.c: Likewise.
19941 * soft-fp/gesf2.c: Likewise.
19942 * soft-fp/getf2.c: Likewise.
19943 * soft-fp/ledf2.c: Likewise.
19944 * soft-fp/lesf2.c: Likewise.
19945 * soft-fp/letf2.c: Likewise.
19946 * soft-fp/muldf3.c: Likewise.
19947 * soft-fp/mulsf3.c: Likewise.
19948 * soft-fp/multf3.c: Likewise.
19949 * soft-fp/negdf2.c: Likewise.
19950 * soft-fp/negsf2.c: Likewise.
19951 * soft-fp/negtf2.c: Likewise.
19952 * soft-fp/op-1.h: Likewise.
19953 * soft-fp/op-2.h: Likewise.
19954 * soft-fp/op-4.h: Likewise.
19955 * soft-fp/op-8.h: Likewise.
19956 * soft-fp/op-common.h: Likewise.
19957 * soft-fp/quad.h: Likewise.
19958 * soft-fp/single.h: Likewise.
19959 * soft-fp/soft-fp.h: Likewise.
19960 * soft-fp/sqrtdf2.c: Likewise.
19961 * soft-fp/sqrtsf2.c: Likewise.
19962 * soft-fp/sqrttf2.c: Likewise.
19963 * soft-fp/subdf3.c: Likewise.
19964 * soft-fp/subsf3.c: Likewise.
19965 * soft-fp/subtf3.c: Likewise.
19966 * soft-fp/truncdfsf2.c: Likewise.
19967 * soft-fp/trunctfdf2.c: Likewise.
19968 * soft-fp/trunctfsf2.c: Likewise.
19969 * soft-fp/trunctfxf2.c: Likewise.
19970 * soft-fp/unorddf2.c: Likewise.
19971 * soft-fp/unordsf2.c: Likewise.
19972 * soft-fp/unordtf2.c: Likewise.
19974 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19976 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19977 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19979 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19981 * elf/dl-libc.c: Clear initfini list after freeing.
19983 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19985 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19986 * soft-fp/addsf3.c: Likewise.
19987 * soft-fp/addtf3.c: Likewise.
19988 * soft-fp/divdf3.c: Likewise.
19989 * soft-fp/divsf3.c: Likewise.
19990 * soft-fp/divtf3.c: Likewise.
19991 * soft-fp/double.h: Likewise.
19992 * soft-fp/eqdf2.c: Likewise.
19993 * soft-fp/eqsf2.c: Likewise.
19994 * soft-fp/eqtf2.c: Likewise.
19995 * soft-fp/extenddftf2.c: Likewise.
19996 * soft-fp/extended.h: Likewise.
19997 * soft-fp/extendsfdf2.c: Likewise.
19998 * soft-fp/extendsftf2.c: Likewise.
19999 * soft-fp/extendxftf2.c: Likewise.
20000 * soft-fp/fixdfdi.c: Likewise.
20001 * soft-fp/fixdfsi.c: Likewise.
20002 * soft-fp/fixdfti.c: Likewise.
20003 * soft-fp/fixsfdi.c: Likewise.
20004 * soft-fp/fixsfsi.c: Likewise.
20005 * soft-fp/fixsfti.c: Likewise.
20006 * soft-fp/fixtfdi.c: Likewise.
20007 * soft-fp/fixtfsi.c: Likewise.
20008 * soft-fp/fixtfti.c: Likewise.
20009 * soft-fp/fixunsdfdi.c: Likewise.
20010 * soft-fp/fixunsdfsi.c: Likewise.
20011 * soft-fp/fixunsdfti.c: Likewise.
20012 * soft-fp/fixunssfdi.c: Likewise.
20013 * soft-fp/fixunssfsi.c: Likewise.
20014 * soft-fp/fixunssfti.c: Likewise.
20015 * soft-fp/fixunstfdi.c: Likewise.
20016 * soft-fp/fixunstfsi.c: Likewise.
20017 * soft-fp/fixunstfti.c: Likewise.
20018 * soft-fp/floatdidf.c: Likewise.
20019 * soft-fp/floatdisf.c: Likewise.
20020 * soft-fp/floatditf.c: Likewise.
20021 * soft-fp/floatsidf.c: Likewise.
20022 * soft-fp/floatsisf.c: Likewise.
20023 * soft-fp/floatsitf.c: Likewise.
20024 * soft-fp/floattidf.c: Likewise.
20025 * soft-fp/floattisf.c: Likewise.
20026 * soft-fp/floattitf.c: Likewise.
20027 * soft-fp/floatundidf.c: Likewise.
20028 * soft-fp/floatundisf.c: Likewise.
20029 * soft-fp/floatunsidf.c: Likewise.
20030 * soft-fp/floatunsisf.c: Likewise.
20031 * soft-fp/floatuntidf.c: Likewise.
20032 * soft-fp/floatuntisf.c: Likewise.
20033 * soft-fp/floatuntitf.c: Likewise.
20034 * soft-fp/fmadf4.c: Likewise.
20035 * soft-fp/fmasf4.c: Likewise.
20036 * soft-fp/fmatf4.c: Likewise.
20037 * soft-fp/gedf2.c: Likewise.
20038 * soft-fp/gesf2.c: Likewise.
20039 * soft-fp/getf2.c: Likewise.
20040 * soft-fp/ledf2.c: Likewise.
20041 * soft-fp/lesf2.c: Likewise.
20042 * soft-fp/letf2.c: Likewise.
20043 * soft-fp/muldf3.c: Likewise.
20044 * soft-fp/mulsf3.c: Likewise.
20045 * soft-fp/multf3.c: Likewise.
20046 * soft-fp/negdf2.c: Likewise.
20047 * soft-fp/negsf2.c: Likewise.
20048 * soft-fp/negtf2.c: Likewise.
20049 * soft-fp/op-1.h: Likewise.
20050 * soft-fp/op-2.h: Likewise.
20051 * soft-fp/op-4.h: Likewise.
20052 * soft-fp/op-8.h: Likewise.
20053 * soft-fp/op-common.h: Likewise.
20054 * soft-fp/quad.h: Likewise.
20055 * soft-fp/single.h: Likewise.
20056 * soft-fp/soft-fp.h: Likewise.
20057 * soft-fp/sqrtdf2.c: Likewise.
20058 * soft-fp/sqrtsf2.c: Likewise.
20059 * soft-fp/sqrttf2.c: Likewise.
20060 * soft-fp/subdf3.c: Likewise.
20061 * soft-fp/subsf3.c: Likewise.
20062 * soft-fp/subtf3.c: Likewise.
20063 * soft-fp/truncdfsf2.c: Likewise.
20064 * soft-fp/trunctfdf2.c: Likewise.
20065 * soft-fp/trunctfsf2.c: Likewise.
20066 * soft-fp/trunctfxf2.c: Likewise.
20067 * soft-fp/unorddf2.c: Likewise.
20068 * soft-fp/unordsf2.c: Likewise.
20069 * soft-fp/unordtf2.c: Likewise.
20071 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20074 * misc/error.c (error_tail): Fix possible buffer overflow.
20076 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20079 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20082 2013-10-14 P. J. McDermott <pj@pehjota.net>
20085 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20086 testing pipefail option.
20088 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20090 * soft-fp/double.h: Indent preprocessor directives inside #if.
20091 * soft-fp/extended.h: Likewise.
20092 * soft-fp/op-2.h: Likewise.
20093 * soft-fp/op-4.h: Likewise.
20094 * soft-fp/op-common.h: Likewise.
20095 * soft-fp/quad.h: Likewise.
20096 * soft-fp/single.h: Likewise.
20097 * soft-fp/soft-fp.h: Likewise.
20099 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20101 * iconv/iconv_prog.c: Fix typos.
20102 * stdio-common/psiginfo-data.h: Likewise.
20104 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20107 * locale/setlocale.c: Fix typo.
20109 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20112 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20113 signaling NaN arguments.
20114 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20115 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20118 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20119 unordered operands.
20120 * soft-fp/gesf2.c (__gesf2): Likewise.
20121 * soft-fp/getf2.c (__getf2): Likewise.
20122 * soft-fp/ledf2.c (__ledf2): Likewise.
20123 * soft-fp/lesf2.c (__lesf2): Likewise.
20124 * soft-fp/letf2.c (__letf2): Likewise.
20126 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20127 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20128 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20129 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20130 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20131 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20132 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20133 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20134 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20135 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20136 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20137 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20138 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20139 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20140 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20141 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20142 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20143 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20144 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20145 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20146 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20147 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20148 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20149 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20150 * soft-fp/floattidf.c (__floattidf): Likewise.
20151 * soft-fp/floattisf.c (__floattisf): Likewise.
20152 * soft-fp/floattitf.c (__floattitf): Likewise.
20153 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20154 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20155 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20156 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20157 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20158 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20159 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20160 * soft-fp/gesf2.c (__gesf2): Likewise.
20161 * soft-fp/getf2.c (__getf2): Likewise.
20162 * soft-fp/ledf2.c (__ledf2): Likewise.
20163 * soft-fp/lesf2.c (__lesf2): Likewise.
20164 * soft-fp/letf2.c (__letf2): Likewise.
20166 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20167 Undefine and redefine.
20168 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20169 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20170 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20171 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20172 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20173 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20174 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20175 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20176 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20177 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20178 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20179 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20180 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20181 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20182 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20185 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20186 without decrementing exponent if mantissa >= that for the
20187 denominator, not >.
20188 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20189 denominator, not >. Decrement exponent in < case instead of
20190 incrementing in >= case.
20191 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20192 without decrementing exponent if mantissa >= that for the
20193 denominator, not >.
20195 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20196 computing saturated result for unsigned overflow.
20198 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20199 Jeff Law <law@redhat.com>
20201 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20202 (atan2Mp): Add systemtap probe marker.
20203 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20204 (__ieee754_log): Add systemtap probe marker.
20205 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20206 (atanMp): Add systemtap probe marker.
20207 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20208 (tanMp): Add systemtap probe marker.
20209 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20210 (__slowexp): Add systemtap probe marker.
20211 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20212 (__slowpow): Add systemtap probe marker.
20213 * manual/probes.texi: Document probes.
20215 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20218 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20220 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20222 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20223 written to buffer but not flushed.
20224 * libio/iofwrite_u.c: Likewise.
20225 * libio/iopadn.c: Return bytes returned even if EOF was
20227 * libio/iowpadn.c: Likewise.
20228 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20229 if _IO_padn does not write the whole buffer.
20230 [!COMPILE_WPRINTF] (PAD): Likewise.
20232 2013-10-10 David S. Miller <davem@davemloft.net>
20234 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20237 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20239 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20240 instead of FSF address.
20241 * soft-fp/fixdfti.c: Likewise.
20242 * soft-fp/fixsfti.c: Likewise.
20243 * soft-fp/fixtfti.c: Likewise.
20244 * soft-fp/fixunsdfti.c: Likewise.
20245 * soft-fp/fixunssfti.c: Likewise.
20246 * soft-fp/fixunstfti.c: Likewise.
20247 * soft-fp/floattidf.c: Likewise.
20248 * soft-fp/floattisf.c: Likewise.
20249 * soft-fp/floattitf.c: Likewise.
20250 * soft-fp/floatuntidf.c: Likewise.
20251 * soft-fp/floatuntisf.c: Likewise.
20252 * soft-fp/floatuntitf.c: Likewise.
20253 * soft-fp/trunctfxf2.c: Likewise.
20255 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20256 * soft-fp/fixdfti.c: Likewise.
20257 * soft-fp/fixsfti.c: Likewise.
20258 * soft-fp/fixtfti.c: Likewise.
20259 * soft-fp/fixunsdfti.c: Likewise.
20260 * soft-fp/fixunssfti.c: Likewise.
20261 * soft-fp/fixunstfti.c: Likewise.
20262 * soft-fp/floattidf.c: Likewise.
20263 * soft-fp/floattisf.c: Likewise.
20264 * soft-fp/floattitf.c: Likewise.
20265 * soft-fp/floatuntidf.c: Likewise.
20266 * soft-fp/floatuntisf.c: Likewise.
20267 * soft-fp/floatuntitf.c: Likewise.
20268 * soft-fp/trunctfxf2.c: Likewise.
20270 2013-10-10 David S. Miller <davem@davemloft.net>
20272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20274 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20276 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20277 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20278 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20285 for NaNs before doing comparisons on argument.
20286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20289 2013-10-10 Will Newton <will.newton@linaro.org>
20291 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20292 passed to _int_memalign does not overflow.
20294 2013-10-10 Torvald Riegel <triegel@redhat.com>
20296 * scripts/bench.pl: Add include-sources directive.
20297 * benchtests/README: Update documentation.
20299 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20301 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20302 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20303 instead of FP_INIT_ROUNDMODE.
20304 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20305 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20308 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20309 copy class of input value.
20310 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20311 not handle exceptions.
20312 * soft-fp/negsf2.c (__negsf2): Likewise.
20313 * soft-fp/negtf2.c (__negtf2): Likewise.
20314 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20316 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20318 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20319 semicolon. From Linux kernel.
20321 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20323 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20325 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20328 * manual/socket.texi: Added statement about buffer
20329 for gethostbyname2_r.
20331 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20333 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20334 Use .p2align directive instead, throughout.
20335 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20336 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20337 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20338 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20339 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20340 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20341 * sysdeps/x86_64/strchr.S: Likewise.
20342 * sysdeps/x86_64/strrchr.S: Likewise.
20344 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20346 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20348 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20350 * sysdeps/generic/math_private.h (__mpsin1): Remove
20352 (__mpcos1): Likewise.
20353 (__mpsin): New argument __range_reduce.
20354 (__mpcos): Likewise.
20355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20356 (slow): Use __mpsin and __mpcos.
20360 (sloww1): Likewise.
20361 (sloww2): Likewise.
20362 (bsloww): Likewise.
20363 (bsloww1): Likewise.
20364 (bsloww2): Likewise.
20365 (cslow2): Likewise.
20366 (csloww): Likewise.
20367 (csloww1): Likewise.
20368 (csloww2): Likewise.
20369 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20370 range_reduce. Merge in __mpsin1.
20371 (__mpcos): Likewise.
20372 (__mpsin1): Remove.
20373 (__mpcos1): Likewise.
20375 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20377 * locale/loadlocale.c (_nl_intern_locale_data): Use
20379 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20380 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20381 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20382 obstack data is appropriately aligned.
20383 (obstack_int32_grow_fast): Likewise.
20384 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20385 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20386 (add_locale_uint32_array): Likewise.
20388 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20390 * benchtests/Makefile: Remove ARGLIST and RET variables.
20391 ($(objpfx)bench-%.c): Pass only function name to the script.
20392 * benchtests/README: Update documentation.
20393 * benchtests/acos-inputs: Add new directives.
20394 * benchtests/acosh-inputs: Likewise.
20395 * benchtests/asin-inputs: Likewise.
20396 * benchtests/asinh-inputs: Likewise.
20397 * benchtests/atan-inputs: Likewise.
20398 * benchtests/atanh-inputs: Likewise.
20399 * benchtests/cos-inputs: Likewise.
20400 * benchtests/cosh-inputs: Likewise.
20401 * benchtests/exp-inputs: Likewise.
20402 * benchtests/log-inputs: Likewise.
20403 * benchtests/pow-inputs: Likewise.
20404 * benchtests/rint-inputs: Likewise.
20405 * benchtests/sin-inputs: Likewise.
20406 * benchtests/sinh-inputs: Likewise.
20407 * benchtests/tan-inputs: Likewise.
20408 * benchtests/tanh-inputs: Likewise.
20409 * scripts/bench.pl: Add support for new directives.
20411 2013-10-07 Alan Modra <amodra@gmail.com>
20413 * README: Fix careless merge.
20415 2013-10-05 Alan Modra <amodra@gmail.com>
20417 * NEWS: Mention powerpc64le support and bugs fixed.
20418 * README: Both big-endian and little-endian powerpc64 supported.
20420 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20422 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20423 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20424 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20425 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20427 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20429 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20432 2013-10-04 Joseph Myers <joseph@codesourcery.com>
20434 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20435 Move -mhard-float appending from
20436 ports/sysdeps/powerpc/powerpc32/Makefile.
20437 [$(with-fp) = yes] (ASFLAGS): Likewise.
20438 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20439 * sysdeps/powerpc/nofpu: Move directory from
20440 ports/sysdeps/powerpc/nofpu.
20441 * sysdeps/powerpc/soft-fp: Move directory from
20442 ports/sysdeps/powerpc/soft-fp.
20443 * sysdeps/powerpc/powerpc32/405: Move directory from
20444 ports/sysdeps/powerpc/powerpc32/405.
20445 * sysdeps/powerpc/powerpc32/440: Move directory from
20446 ports/sysdeps/powerpc/powerpc32/440.
20447 * sysdeps/powerpc/powerpc32/464: Move directory from
20448 ports/sysdeps/powerpc/powerpc32/464.
20449 * sysdeps/powerpc/powerpc32/476: Move directory from
20450 ports/sysdeps/powerpc/powerpc32/476.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20452 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20454 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20456 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20458 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20460 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20461 * README: Update for powerpc-*-linux-gnu software floating point
20464 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20465 case to powerpc/powerpc32*.
20466 * sysdeps/unix/sysv/linux/configure: Regenerated.
20468 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20469 (_FPU_MASK_OM): Define as 0x04.
20470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20478 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20481 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20484 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20485 and setcontext_e500.
20487 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20489 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20491 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20493 * manual/threads.texi (Default Thread Attributes): Fix typo.
20495 2013-10-04 Will Newton <will.newton@linaro.org>
20497 * malloc/Makefile: Add tst-memalign.
20498 * malloc/tst-memalign.c: New file.
20500 * malloc/tst-posix_memalign.c: Add comments.
20501 (do_test): Add comments and call free on all potentially
20502 allocated pointers. Add space after cast.
20504 * malloc/tst-pvalloc.c: Add comments.
20505 (do_test): Add comments and call free on all potentially
20506 allocated pointers. Remove duplicate check for NULL pointer.
20507 Add space after cast.
20509 * malloc/tst-valloc.c: Add comments.
20510 (do_test): Add comments and call free on all potentially
20511 allocated pointers. Remove duplicate check for NULL pointer.
20512 Add space after cast.
20514 2013-10-04 Alan Modra <amodra@gmail.com>
20516 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20517 Use stdint types in rather than __attribute__((mode())).
20518 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20520 2013-10-04 Alan Modra <amodra@gmail.com>
20522 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20523 Correct handling of unaligned relocs for little-endian.
20524 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20526 2013-10-04 Alan Modra <amodra@gmail.com>
20528 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20529 * configure: Regenerate.
20530 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20531 * shlib-versions: Likewise.
20533 2013-10-04 Alan Modra <amodra@gmail.com>
20535 * string/tester.c (test_memrchr): Increment reported test cycle.
20537 2013-10-04 Alan Modra <amodra@gmail.com>
20539 * string/test-memcpy.c (do_one_test): When reporting errors, print
20540 string address and don't overrun end of string.
20542 2013-10-04 Alan Modra <amodra@gmail.com>
20544 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20545 insrdi. Make better use of reg selection to speed exit slightly.
20546 Schedule entry path a little better. Remove useless "are we done"
20547 checks on entry to main loop. Handle wrapping around zero address.
20548 Correct main loop count. Handle single left-over word from main
20549 loop inline rather than by using loop_small. Remove extra word
20550 case in loop_small caused by wrong loop count. Add little-endian
20552 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20556 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20557 support. Avoid rlwimi.
20558 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20560 2013-10-04 Alan Modra <amodra@gmail.com>
20562 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20563 insrdi. Formatting.
20564 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20565 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20566 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20567 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20568 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20569 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20571 2013-10-04 Alan Modra <amodra@gmail.com>
20573 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20574 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20575 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20576 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20577 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20578 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20579 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20580 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20581 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20582 use of regs. Use power7 mtocrf. Tidy function tails.
20584 2013-10-04 Alan Modra <amodra@gmail.com>
20586 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20587 Formatting. Consistently use rXXX register defines or rN defines.
20588 Use early exit labels that avoid restoring unused non-volatile regs.
20589 Make cr field use more consistent with rWORDn compares. Rename
20590 regs used as shift registers for unaligned loop, using rN defines
20591 for short lifetime/multiple use regs.
20592 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20594 addi 1,1,64 to pop stack frame. Simplify return value code.
20595 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20597 2013-10-04 Alan Modra <amodra@gmail.com>
20599 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20600 support. Correct typos, formatting. Optimize tail. Use insrdi
20601 rather than rlwimi.
20602 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20603 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20604 little-endian support. Correct typos.
20605 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20606 rather than rlwimi.
20607 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20608 in loop and entry code to keep "and." results.
20609 (strchr): Add little-endian support. Comment. Move cntlzd
20611 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20613 2013-10-04 Alan Modra <amodra@gmail.com>
20615 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20616 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20617 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20618 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20620 2013-10-04 Alan Modra <amodra@gmail.com>
20622 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20623 (rTMP): Define as r11.
20624 (strcmp): Add little-endian support. Optimise tail.
20625 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20626 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20627 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20628 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20629 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20630 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20633 2013-10-04 Alan Modra <amodra@gmail.com>
20635 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20636 little-endian support. Remove unnecessary "are we done" tests.
20637 Handle "s" wrapping around zero and extremely large "size".
20638 Correct main loop count. Handle single left-over word from main
20639 loop inline rather than by using small_loop. Correct comments.
20640 Delete "zero" tail, use "end_max" instead.
20641 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20643 2013-10-04 Alan Modra <amodra@gmail.com>
20645 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20646 support. Don't branch over align.
20647 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20648 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20649 support. Rearrange tmp reg use to suit. Comment.
20650 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20652 2013-10-04 Alan Modra <amodra@gmail.com>
20654 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20656 2013-10-04 Alan Modra <amodra@gmail.com>
20658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20659 conditional form of branch and link when obtaining pc.
20660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20662 2013-10-04 Alan Modra <amodra@gmail.com>
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20669 2013-10-04 Alan Modra <amodra@gmail.com>
20671 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20672 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20673 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20674 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20675 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20676 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20677 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20678 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20679 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20680 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20682 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20683 Alistair Popple <alistair@ozlabs.au.ibm.com>
20684 Alan Modra <amodra@gmail.com>
20687 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20688 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20689 _dl_hwcap access for little-endian.
20690 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20691 destroy vmx regs when saving unaligned.
20692 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20693 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20694 destroy vmx regs when saving unaligned.
20696 2013-10-04 Alan Modra <amodra@gmail.com>
20698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20699 Don't use a union to pack hi/low value.
20701 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20703 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20705 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20707 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20708 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20709 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20711 2013-10-04 Alan Modra <amodra@gmail.com>
20713 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20714 constants to usual value for .cst8 section, and remove redundant
20716 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20717 constant for 0x1p52. Load little-endian words of double from
20718 correct stack offsets.
20720 2013-10-04 Alan Modra <amodra@gmail.com>
20722 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20723 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20724 words of double from correct stack offsets.
20725 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20726 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20727 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20728 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20729 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20730 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20731 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20732 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20733 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20734 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20735 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20736 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20737 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20738 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20739 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20740 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20741 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20743 2013-10-04 Alan Modra <amodra@gmail.com>
20745 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20746 64-bit int/double union.
20747 (_FPU_SETCW): Likewise.
20748 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20749 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20751 2013-10-04 Alan Modra <amodra@gmail.com>
20753 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20754 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20756 2013-10-04 Alan Modra <amodra@gmail.com>
20758 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20759 use vector int constants.
20760 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20762 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20764 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20765 array with long long.
20766 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20767 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20768 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20769 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20770 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20771 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20772 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20773 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20774 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20775 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20776 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20777 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20778 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20780 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20782 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20783 (__signbit): Likewise. Correct for little-endian.
20784 (__signbitl): Call __signbit.
20785 (lrint): Correct for little-endian.
20786 (lrintf): Call lrint.
20788 2013-10-04 Alan Modra <amodra@gmail.com>
20790 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20791 union 32-bit int array member with 64-bit int array.
20792 (t515, tm256): Double rather than long double.
20793 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20795 2013-10-04 Alan Modra <amodra@gmail.com>
20797 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20799 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20801 version of math_ldbl.h.
20803 2013-10-04 Alan Modra <amodra@gmail.com>
20805 [BZ #15734], [BZ #15735]
20806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20807 all uses of ieee875 long double macros and unions. Simplify test
20808 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20809 ldbl_extract_mantissa value for ix,iy exponents. Properly
20810 normalize after ldbl_extract_mantissa, and don't add hidden bit
20811 already handled. Don't treat low word of ieee854 mantissa like
20812 low word of IBM long double and mask off bit when testing for
20814 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20815 all uses of ieee875 long double macros and unions. Simplify tests
20816 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20817 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20818 two1022, instead use their values. Recognise that tests for large
20819 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20820 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20821 Rewrite all uses of ieee875 long double macros and unions. Simplify
20822 test for 0.0L and nan. Correct negation.
20823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20824 ieee875 long double macros and unions. Correct output for large
20825 magnitude x. Correct absolute value calculation.
20826 (__erfcl): Likewise.
20827 * math/libm-test.inc: Add tests for errors discovered in IBM long
20828 double versions of fmodl, remainderl, erfl and erfcl.
20830 2013-10-04 Alan Modra <amodra@gmail.com>
20832 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20833 all uses of ieee854 long double macros and unions. Simplify tests
20834 for long doubles that are fully specified by the high double.
20835 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20837 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20838 Remove dead code too.
20839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20840 (__ieee754_ynl): Likewise.
20841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20842 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20843 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20844 Remove dead code too.
20845 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20846 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20847 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20848 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20850 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20852 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20853 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20855 Comment on variable precision.
20856 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20857 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20859 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20860 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20861 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20862 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20863 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20865 2013-10-04 Alan Modra <amodra@gmail.com>
20867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20868 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20869 all uses of ieee854 long double macros and unions.
20870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20872 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20873 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20875 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20877 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20878 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20879 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20880 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20883 Simplify sign and nan test too.
20884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20885 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20886 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20887 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20889 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20890 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20893 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20894 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20895 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20896 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20897 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20899 2013-10-04 Alan Modra <amodra@gmail.com>
20901 * stdio-common/printf_size.c (__printf_size): Don't use
20902 union ieee854_long_double in fpnum union.
20903 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20904 signbit macro to retrieve sign from long double.
20905 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20906 retrieve sign from long double.
20907 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20908 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20909 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20910 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20911 * math/test-misc.c (main): Don't use union ieee854_long_double.
20913 2013-10-04 Alan Modra <amodra@gmail.com>
20916 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20917 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20918 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20919 calculation. Remove unnecessary test for denormal exponent.
20920 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20921 Correct handling of denormals. Avoid undefined shift behaviour.
20922 Correct normalisation of low mantissa when low double is denormal.
20923 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20924 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20925 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20926 Correct normalisation of low mantissa. Test for overflow of high
20927 mantissa and normalise.
20928 (ldbl_nearbyint): Use more readable constant for two52.
20929 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20930 (__mpn_construct_long_double): Fix test for overflow of high
20931 mantissa and correct normalisation. Avoid undefined shift.
20933 2013-10-04 Alan Modra <amodra@gmail.com>
20935 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20936 (union ibm_extended_long_double): Define as an array of ieee754_double.
20937 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20938 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20939 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20940 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20944 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20949 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20951 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20952 page size instead of calling getpagesize.
20954 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20955 (LOCFILE_ALIGN_MASK): Likewise.
20956 (LOCFILE_ALIGN_UP): Likewise.
20957 (LOCFILE_ALIGNED_P): Likewise.
20958 * locale/programs/ld-collate.c (collate_output): Use the new
20959 macros instead of __alignof__ (int32_t).
20960 * locale/weight.h (findidx): Likewise.
20962 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20965 * manual/string.texi: Fix strncat and wcsncat.
20967 2013-10-03 Brooks Moses <bmoses@google.com>
20970 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20971 * Makerules: ...here, and adjust associated comments.
20973 2013-10-02 Will Newton <will.newton@linaro.org>
20975 * malloc/Makefile: Add tst-pvalloc.
20976 * malloc/tst-pvalloc.c: New file.
20978 2013-10-02 Will Newton <will.newton@linaro.org>
20980 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20981 improve test coverage.
20983 2013-10-02 Will Newton <will.newton@linaro.org>
20985 * malloc/Makefile: Add tst-posix_memalign.
20986 * malloc/tst-posix_memalign.c: New file.
20988 2013-10-01 Eric Blake <eblake@redhat.com>
20990 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20991 Use __THROWNL rather than __THROW on static functions.
20993 2013-09-30 Petr Machata <pmachata@redhat.com>
20995 * elf/elf.h (R_AARCH64_ABS16): New macro.
20996 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20997 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20998 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20999 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21000 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21001 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21002 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21003 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21004 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21005 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21006 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21007 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21008 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21009 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21010 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21011 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21012 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21013 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21014 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21015 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21016 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21017 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21018 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21019 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21020 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21021 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21022 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21023 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21024 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21025 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21026 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21027 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21028 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21029 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21030 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21031 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21032 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21033 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21034 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21035 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21036 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21037 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21038 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21039 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21040 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21041 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21042 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21043 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21044 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21045 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21046 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21047 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21048 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21049 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21050 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21051 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21052 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21053 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21054 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21055 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21056 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21057 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21058 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21059 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21060 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21061 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21062 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21063 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21064 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21065 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21066 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21067 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21068 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21069 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21070 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21071 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21072 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21073 (R_AARCH64_TLSDESC_LDR): Likewise.
21074 (R_AARCH64_TLSDESC_ADD): Likewise.
21075 (R_AARCH64_TLSDESC_CALL): Likewise.
21077 2013-09-30 Andreas Schwab <schwab@suse.de>
21080 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21081 the nss database lookup.
21082 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21085 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21087 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21089 2013-09-28 P. J. McDermott <pj@pehjota.net>
21091 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21092 ${Bash-specific parameter/pattern/string} parameter expansion.
21093 * sysdeps/unix/make-syscalls.sh: Likewise.
21095 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21097 * sysdeps/sh/stackguard-macros.h: New file.
21099 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21103 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21104 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21105 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21106 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21108 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21110 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21111 Fix thread ID register.
21113 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21115 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21116 [POSIX || UNIX98]: Require rather than permitting all symbols from
21118 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21119 element of struct sched_param.
21120 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21121 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21122 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21123 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21126 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21128 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21129 argument calculation.
21131 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21133 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21135 [POSIX] (pthread_attr_t): Do not require type.
21136 [POSIX] (pthread_cond_t): Likewise.
21137 [POSIX] (pthread_condattr_t): Likewise.
21138 [POSIX] (pthread_key_t): Likewise.
21139 [POSIX] (pthread_mutex_t): Likewise.
21140 [POSIX] (pthread_mutexattr_t): Likewise.
21141 [POSIX] (pthread_once_t): Likewise.
21142 [POSIX] (pthread_t): Likewise.
21143 [POSIX-based standards] (pthread_atfork): Expect function.
21145 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21146 Richard Sandiford <richard@codesourcery.com>
21148 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21149 (swap_endianness_p): New extern variable.
21150 (set_big_endian): New inline function.
21151 (maybe_swap_uint32): Likewise.
21152 (maybe_swap_uint32_array): Likewise.
21153 (maybe_swap_uint32_obstack): Likewise.
21154 * locale/programs/locfile.c: Include <stdbool.h>.
21155 (swap_endianness_p): New variable.
21156 (add_locale_uint32): Call maybe_swap_uint32.
21157 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21158 (write_locale_data): Call maybe_swap_uint32_array.
21159 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21161 (obstack_int32_grow_fast): Likewise.
21162 (output_weightwc): Call maybe_swap_uint32_obstack.
21163 (collate_output): Likewise.
21164 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21165 (OPT_LITTLE_ENDIAN): Likewise.
21166 (options): Add --little-endian and --big-endian options.
21167 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21168 * locale/programs/locarchive.c: Include "locfile.h".
21172 (create_archive): Use the new macros to access fields of
21173 structures directly mapped from or written to locale archives.
21174 (oldlocrecentcmp): Likewise.
21175 (enlarge_archive): Likewise.
21176 (insert_name): Likewise.
21177 (add_alias): Likewise.
21178 (add_locale): Likewise.
21179 (delete_locales_from_archive): Likewise.
21180 (show_archive_content): Likewise.
21181 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21184 2013-09-24 Roland McGrath <roland@hack.frob.com>
21186 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21187 http://www.gnu.org/doc/freemanuals.texi.
21188 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21190 2013-09-24 Will Newton <will.newton@linaro.org>
21192 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21195 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21197 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21200 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21202 * manual/threads.texi (POSIX Threads): Fix a typo.
21204 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21207 * string/tst-strcoll-overflow.c: New test case.
21208 * string/Makefile (xtests): Add tst-strcoll-overflow.
21209 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21210 cache if string sizes may cause integer overflow.
21213 * string/strcoll_l.c (coll_seq): New members rule, idx,
21214 save_idx and back_us.
21215 (get_next_seq_nocache): New function.
21216 (do_compare_nocache): New function.
21217 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21220 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21223 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21224 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21225 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21228 * elf/Makefile (tests): Add tst-ptrguard1.
21229 (tests-static): Add tst-ptrguard1-static.
21230 (tst-ptrguard1-ARGS): Define.
21231 (tst-ptrguard1-static-ARGS): Define.
21232 * elf/tst-ptrguard1.c: New file.
21233 * elf/tst-ptrguard1-static.c: New file.
21234 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21235 * sysdeps/i386/stackguard-macros.h: Likewise.
21236 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21237 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21238 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21239 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21240 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21241 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21243 2013-09-23 Hector Marco <hecmargi@upv.es>
21244 Ismael Ripoll <iripoll@disca.upv.es>
21245 Carlos O'Donell <carlos@redhat.com>
21248 * sysdeps/generic/stackguard-macros.h: Define
21249 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21250 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21251 Define __pointer_chk_guard_local.
21252 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21253 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21255 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21258 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21260 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21262 * include/string.h (__ffs): Declare as hidden.
21263 * string/ffs.c (__ffs): Define as hidden.
21264 * sysdeps/i386/ffs.c (__ffs): Likewise.
21265 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21266 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21267 * sysdeps/s390/ffs.c (__ffs): Likewise.
21268 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21270 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21272 * NEWS: Mention malloc probes.
21274 * malloc/arena.c (new_heap): New memory_heap_new probe.
21275 (grow_heap): New memory_heap_more probe.
21276 (shrink_heap): New memory_heap_less probe.
21277 (heap_trim): New memory_heap_free probe.
21278 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21279 (systrim): New memory_sbrk_less probe.
21280 * manual/probes.texi: Document them.
21282 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21283 * manual/probes.texi: Document it.
21285 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21286 (__libc_realloc): Add memory_realloc_retry probe.
21287 (__libc_memalign): Add memory_memalign_retry probe.
21288 (__libc_valloc): Add memory_valloc_retry probe.
21289 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21290 (__libc_calloc): Add memory_calloc_retry probe.
21291 * manual/probes.texi: Document them.
21293 * malloc/arena.c (get_free_list): Add probe
21294 memory_arena_reuse_free_list.
21295 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21296 and memory_arena_reuse.
21297 (arena_get2) [!PER_THREAD]: Likewise.
21298 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21299 memory_arena_reuse_realloc.
21300 * manual/probes.texi: Document them.
21302 * malloc/malloc.c (__libc_free): Add
21303 memory_mallopt_free_dyn_thresholds probe.
21304 (__libc_mallopt): Add multiple memory_mallopt probes.
21305 * manual/probes.texi: Document them.
21307 * malloc/malloc.c: Include stap-probe.h.
21308 (__libc_mallopt): Add memory_mallopt probe.
21309 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21310 * manual/probes.texi: New.
21311 * manual/Makefile (chapters): Add probes.
21312 * manual/threads.texi: Set next node.
21314 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21316 [BZ #15963, #13985]
21317 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21318 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21319 Add `Chinese' to `nan' entry name.
21321 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21323 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21324 (POLYNOMIAL): Likewise.
21325 (TAYLOR_SINCOS): Likewise.
21326 (TAYLOR_SLOW): Likewise.
21327 (__sin): Use TAYLOR_SINCOS.
21329 (slow): Use TAYLOR_SLOW.
21331 (bsloww): Likewise.
21332 (csloww): Likewise.
21334 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21336 * stdlib/strtod_l.c: Fix buffer overrun.
21338 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21340 * benchtests/Makefile (bench): Add sincos.
21341 * benchtests/bench-sincos.c: New file.
21343 * math/libm-test.inc (cos_test_data): New test inputs.
21344 (sin_test_data): Likewise.
21346 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21352 (sloww1): Likewise.
21353 (sloww2): Likewise.
21354 (bsloww1): Likewise.
21355 (bsloww2): Likewise.
21356 (cslow2): Likewise.
21357 (csloww1): Likewise.
21358 (csloww2): Likewise.
21360 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21369 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21371 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21372 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21373 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21374 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21375 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21376 * elf/cache.c (print_entry): Handle the new cache flags.
21378 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21379 Aldy Hernandez <aldyh@redhat.com>
21381 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21382 Change condition to [_SOFT_FLOAT].
21383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21395 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21398 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21401 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21403 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21404 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21405 (__longjmp): Use LOAD_GP to load saved GPRs.
21406 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21407 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21408 (__sigsetjmp): Use SAVE_GP to save GPRs.
21410 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21411 Do not append -msoft-float.
21412 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21414 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21416 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21418 2013-09-17 Joseph Myers <joseph@codesourcery.com>
21421 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21422 (_FPU_GETCW): Use initial "__" on variable and field names but not
21423 on macro parameter name.
21424 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21425 parentheses around reference to macro parameter.
21427 2013-09-13 Richard Sandiford <richard@codesourcery.com>
21429 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21431 (ctype_startup): Use uint32_t in cast and sizeof for
21434 2013-09-11 Jia Liu <proljc@gmail.com>
21436 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21438 [__FreeBSD__]: Likewise.
21440 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
21442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21443 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21444 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21445 (strchr): Remove __strchr_sse42 ifunc selection.
21446 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21447 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21449 2013-09-11 Will Newton <will.newton@linaro.org>
21451 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21452 parameter to RES. Remove hardcoded 1000 value.
21453 * benchtests/bench-skeleton.c (main): Pass RES parameter
21454 to TIMING_INIT and multiply result by 1000.
21456 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21460 2013-09-11 Andreas Schwab <schwab@suse.de>
21462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21464 (O_TMPFILE) [__USE_GNU]: Define.
21465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21468 2013-09-11 Will Newton <will.newton@linaro.org>
21471 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21474 2013-09-11 Will Newton <will.newton@linaro.org>
21477 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21480 2013-09-11 Will Newton <will.newton@linaro.org>
21483 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21486 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
21488 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21489 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21490 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21491 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21492 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21494 2013-09-10 Allan McRae <allan@archlinux.org>
21497 * manual/arith.texi (Parsing of Floats): Clarify
21501 * manual/install.texi (Running make install): Mention
21503 * INSTALL: Regenerated.
21505 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21507 * csu/init-first.c (_init): Remove the !SHARED condition around
21508 FPU control word initialization.
21509 * elf/dl-support.c (_dl_fpu_control): New variable.
21510 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21511 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21512 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21513 * math/test-fpucw-static.c: New file.
21514 * math/test-fpucw-ieee.c: New file.
21515 * math/test-fpucw-ieee-static.c: New file.
21516 * math/Makefile (tests): Add `test-fpucw-ieee' and
21518 (tests-static): New variable.
21519 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21521 [($(build-shared),yes)]
21522 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21524 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21527 2013-09-09 Allan McRae <allan@archlinux.org>
21530 * manual/string.texi (Collation Functions): Fix typo in
21532 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21535 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21538 * libio/memstream.c (open_memstream): Fix memory leak.
21539 * libio/wmemstream.c (open_wmemstream): Likewise.
21542 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21544 2013-09-09 Will Newton <will.newton@linaro.org>
21546 * malloc/Makefile: Add tst-realloc to tests.
21547 * malloc/tst-realloc.c: New file.
21549 2013-09-09 Allan McRae <allan@archlinux.org>
21552 * COPYING: Update from GNU website to fix FSF address.
21553 * COPYING.LIB: Likewise.
21555 2013-09-06 David S. Miller <davem@davemloft.net>
21557 * po/zh_TW.po: Update Chinese (traditional) translation from
21558 translation project.
21560 2013-09-06 Richard Sandiford <richard@codesourcery.com>
21561 Joseph Myers <joseph@codesourcery.com>
21563 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21565 (obstack_chunk_alloc): New macro.
21566 (obstack_chunk_free): Likewise.
21567 (record_offset): New function.
21568 (init_locale_data): Likewise.
21569 (align_locale_data): Likewise.
21570 (add_locale_empty): Likewise.
21571 (add_locale_raw_data): Likewise.
21572 (add_locale_raw_obstack): Likewise.
21573 (add_locale_string): Likewise.
21574 (add_locale_wstring): Likewise.
21575 (add_locale_uint32): Likewise.
21576 (add_locale_uint32_array): Likewise.
21577 (add_locale_char): Likewise.
21578 (start_locale_structure): Likewise.
21579 (end_locale_structure): Likewise.
21580 (start_locale_prelude): Likewise.
21581 (end_locale_prelude): Likewise.
21582 (write_locale_data): Take locale_file structure rather than an
21584 * locale/programs/locfile.h: Include "obstack.h".
21585 (struct locale_file): Change to store locale file contents instead
21587 (init_locale_data): New prototype.
21588 (align_locale_data): Likewise.
21589 (add_locale_empty): Likewise.
21590 (add_locale_raw_data): Likewise.
21591 (add_locale_raw_obstack): Likewise.
21592 (add_locale_string): Likewise.
21593 (add_locale_wstring): Likewise.
21594 (add_locale_uint32): Likewise.
21595 (add_locale_uint32_array): Likewise.
21596 (add_locale_char): Likewise.
21597 (start_locale_structure): Likewise.
21598 (end_locale_structure): Likewise.
21599 (start_locale_prelude): Likewise.
21600 (end_locale_prelude): Likewise.
21601 (write_locale_data): Update prototype.
21602 * locale/programs/3level.h (struct TABLE): Remove result field.
21603 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21604 Use new locale_file interface.
21605 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21606 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21607 * locale/programs/ld-address.c (address_output): Use new
21608 locale_file interface.
21609 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21611 (collate_finish): Don't call collseq_table_finalize.
21612 (collate_output): Use new locale_file interface.
21613 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21615 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21616 (TABLE): Move defines earlier in file.
21617 (ELEMENT): Likewise.
21618 (DEFAULT): Likewise.
21619 (wctrans_table_add): Move macro and inline function earlier in
21621 (struct wctype_table): Move type earlier in file.
21622 (add_locale_wctype_table): New static prototype.
21623 (struct locale_ctype_t): Use logical types instead of struct iovec
21624 pointers for members.
21625 (ctype_output): Use new locale_file interface.
21626 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21627 new locale_file interface.
21628 (allocate_arrays): Update for use of new locale_file interface.
21629 * locale/programs/ld-identification.c (identification_output): Use
21630 new locale_file interface.
21631 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21632 * locale/programs/ld-messages.c (messages_output): Likewise.
21633 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21634 * locale/programs/ld-name.c (name_output): Likewise.
21635 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21636 * locale/programs/ld-paper.c (paper_output): Likewise.
21637 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21638 * locale/programs/ld-time.c (time_output): Likewise.
21640 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21642 * benchtests/Makefile: Add memrchr benchmark.
21643 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21644 benchmark as memrchr.
21645 * benchtests/bench-memrchr-ifunc.c: New file.
21646 * benchtests/bench-memrchr.c: New file.
21648 2013-09-06 Will Newton <will.newton@linaro.org>
21650 * benchtests/Makefile (string-bench): Add memcpy.
21652 2013-09-05 Carlos O'Donell <carlos@redhat.com>
21653 Cong Wang <amwang@redhat.com>
21656 * sysdeps/unix/sysv/linux/bits/in.h
21657 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21658 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21659 before __USE_KERNEL_IPV6_DEFS uses.
21660 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21662 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21663 sockaddr_in6, or ipv6_mreq.
21665 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21667 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21668 memory access for final bytes in some large inputs.
21669 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21671 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21673 * string/test-memrchr.c: New file.
21674 * string/test-memrchr-ifunc.c: New file.
21675 * string/Makefile: Add new memrchr testcase.
21677 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21679 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21680 fanotify_init returns EPERM.
21682 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21684 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21686 (top level): Treat second token from macro or constant entries for
21687 allowed headers as allowed.
21688 * include/complex.h: Condition internal declarations on
21690 * include/fenv.h: Condition include of <stdbool.h> and internal
21691 declarations on [!_ISOMAC].
21693 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21696 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21698 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21700 * configure.in (--enable-versioning): Remove configure option.
21701 (libc_cv_asm_symver_directive): Remove configure test.
21702 (libc_cv_ld_version_script_option): Likewise.
21703 (VERSIONING): Remove variable and AC_SUBST.
21704 (DO_VERSIONING): Remove AC_DEFINE.
21705 * configure: Regenerated.
21706 * config.h.in (DO_VERSIONING): Remove macro.
21707 * Makerules [$(versioning) = yes]: Change conditionals to
21708 [$(build-shared) = yes].
21709 * config.make.in (versioning): Remove variable.
21710 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21711 [$(build-shared) = yes].
21712 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21713 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21714 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21715 [$(build-shared) = yes].
21716 * extra-lib.mk [$(versioning) = yes]: Likewise.
21717 * hurd/Makefile [$(versioning) = yes]: Likewise.
21718 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21720 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21722 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21723 [SHARED && !NO_HIDDEN].
21724 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21726 [SHARED && DO_VERSIONING]: Likewise..
21727 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21728 [$(build-shared) = yes].
21729 * manual/install.texi (--disable-versioning): Remove
21731 * INSTALL: Regenerated.
21732 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21734 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21735 [$(build-shared) = yes].
21736 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21737 * sysdeps/i386/i686/multiarch/strstr-c.c
21738 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21739 [SHARED && !NO_HIDDEN].
21740 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21741 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21742 * sysdeps/powerpc/powerpc32/dl-machine.c
21743 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21744 * sysdeps/powerpc/powerpc32/sysdep.h
21745 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21746 to [SHARED && PIC && !NO_HIDDEN].
21747 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21748 conditional to [SHARED].
21750 2013-09-04 Will Newton <will.newton@linaro.org>
21752 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21753 * benchtests/bench-string.h: Include bench-timing.h instead
21754 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21755 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21756 call to HP_TIMING_DIFF_INIT.
21757 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21758 instead of hp-timing.h macros.
21759 * benchtests/bench-memchr.c: Likewise.
21760 * benchtests/bench-memcmp.c: Likewise.
21761 * benchtests/bench-memcpy.c: Likewise.
21762 * benchtests/bench-memmem.c: Likewise.
21763 * benchtests/bench-memmove.c: Likewise.
21764 * benchtests/bench-memset.c: Likewise.
21765 * benchtests/bench-rawmemchr.c: Likewise.
21766 * benchtests/bench-strcasecmp.c: Likewise.
21767 * benchtests/bench-strcasestr.c: Likewise.
21768 * benchtests/bench-strcat.c: Likewise.
21769 * benchtests/bench-strchr.c: Likewise.
21770 * benchtests/bench-strcmp.c: Likewise.
21771 * benchtests/bench-strcpy.c: Likewise.
21772 * benchtests/bench-strcpy_chk.c: Likewise.
21773 * benchtests/bench-strlen.c: Likewise.
21774 * benchtests/bench-strncasecmp.c: Likewise.
21775 * benchtests/bench-strncat.c: Likewise.
21776 * benchtests/bench-strncmp.c: Likewise.
21777 * benchtests/bench-strncpy.c: Likewise.
21778 * benchtests/bench-strnlen.c: Likewise.
21779 * benchtests/bench-strpbrk.c: Likewise.
21780 * benchtests/bench-strrchr.c: Likewise.
21781 * benchtests/bench-strspn.c: Likewise.
21782 * benchtests/bench-strstr.c: Likewise.
21784 2013-09-04 Will Newton <will.newton@linaro.org>
21786 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21788 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21791 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21792 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21793 * math/libm-test.inc (lgamma_test_data): Add more tests.
21794 * sysdeps/i386/fpu/libm-test-ulps: Update.
21795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21797 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21799 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21803 Add strcmp-sse2-unaligned
21804 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21806 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21808 * Versions.def (libc): Add GLIBC_2.19.
21810 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21812 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21813 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21815 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21818 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21819 intermediate calculations in recurrence.
21820 (__ieee754_ynf): Likewise.
21821 * math/libm-test.inc (jn_test_data): Do not allow spurious
21822 underflow exception. Add more tests.
21823 (yn_test_data): Add more tests.
21824 * sysdeps/i386/fpu/libm-test-ulps: Update.
21825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21827 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21829 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21831 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21833 * csu/init-first.c: Fix then/than typos.
21834 * locale/programs/ld-collate.c: Likewise.
21835 * locale/programs/linereader.h: Likewise.
21836 * manual/charset.texi: Likewise.
21837 * manual/filesys.texi: Likewise.
21838 * manual/stdio.texi: Likewise.
21839 * manual/string.texi: Likewise.
21840 * stdlib/fmtmsg.c: Likewise.
21841 * sysdeps/i386/stpncpy.S: Likewise.
21842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21844 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21845 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21847 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21849 * elf/dl-open.c: Fix typos.
21850 * iconvdata/gbbig5.c: Likewise.
21851 * iconvdata/iso-2022-jp.c: Likewise.
21852 * iconv/gconv_int.h: Likewise.
21853 * iconv/loop.c: Likewise.
21854 * nis/rpcsvc/nis.h: Likewise.
21855 * resolv/ns_name.c: Likewise.
21856 * stdio-common/vfscanf.c: Likewise.
21857 * streams/stropts.h: Likewise.
21858 * sunrpc/rpc_thread.c: Likewise.
21859 * sysdeps/i386/strpbrk.S: Likewise.
21860 * sysdeps/ieee754/k_standard.c: Likewise.
21861 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21863 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21864 * sysdeps/mach/hurd/profil.c: Likewise.
21865 * sysdeps/s390/dl-procinfo.h: Likewise.
21866 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21867 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21868 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21869 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21872 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21874 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21875 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21877 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21879 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21880 aix specific files.
21881 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21882 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21883 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21884 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21885 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21886 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21887 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21888 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21890 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21891 Roland McGrath <roland@hack.frob.com>
21893 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21894 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21896 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21898 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21899 __executable_start symbol instead of _start.
21901 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21903 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21904 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21906 * sysdeps/gnu/ldsodefs.h: ... this new file.
21908 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21909 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21910 instead of ELFOSABI_LINUX.
21912 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21913 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21914 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21915 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21917 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21918 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21919 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21921 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21922 (ibm_extended_long_double): Add ieee_nan member.
21923 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21924 (do_test): New function.
21926 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21928 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21929 functions, renamed from truncdfsf_test, trunctfsf_test,
21931 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21933 (do_test): Run all these.
21935 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21937 * argp/argp-help.c: Fix typos.
21938 * argp/argp-parse.c: Likewise.
21939 * debug/backtracesyms.c: Likewise.
21940 * elf/elf.h: Likewise.
21941 * malloc/malloc.c: Likewise.
21942 * nis/nis_print.c: Likewise.
21943 * resolv/res_comp.c: Likewise.
21944 * stdlib/stdlib.h: Likewise.
21945 * sunrpc/clnt_tcp.c: Likewise.
21946 * sunrpc/clnt_udp.c: Likewise.
21947 * sunrpc/clnt_unix.c: Likewise.
21948 * sysdeps/unix/bsd/ptsname.c: Likewise.
21949 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21950 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21957 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21959 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21961 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21964 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21967 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21968 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21969 ($(objpfx)bug-dl-leaf): New rule.
21970 ($(objpfx)bug-dl-leaf.so): Likewise.
21971 ($(objpfx)bug-dl-leaf.out): Likewise.
21972 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21973 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21974 * dlfcn/bug-dl-leaf.c: New test.
21975 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21976 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21977 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21978 (dlclose): Likewise.
21979 (dlmopen): Likewise.
21981 2013-08-27 Roland McGrath <roland@hack.frob.com>
21983 * include/netdb.h [!_ISOMAC]:
21984 Don't include <tls.h>.
21985 (h_errno, __libc_h_errno): Move declaration and macros out of
21988 * include/resolv.h [_RESOLV_H_]:
21989 Don't include <tls.h>.
21990 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21991 * resolv/res_libc.c: Don't include <tls.h>.
21992 (_res): Use __attribute__ ((nocommon)) in place of
21993 __attribute__ ((section (".bss"))).
21995 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21996 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21998 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22000 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22001 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22003 * resolv/res_mkquery.c: Include <sys/time.h>.
22005 * inet/ifreq.c: Moved to ...
22006 * sysdeps/unix/ifreq.c: ... here.
22007 * inet/ifreq.c: New file, true stub version.
22009 * socket/sa_len.c: New file.
22010 * socket/Makefile (aux): Add it.
22011 * sysdeps/unix/sysv/linux/Makefile
22012 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22013 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22014 and #include <socket/sa_len.c>.
22015 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22016 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22018 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22019 * bits/socket.h: ... here.
22021 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22022 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22023 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22025 2013-08-27 Andreas Schwab <schwab@suse.de>
22028 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22029 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22030 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22031 * string/test-strcasecmp.c (test_main): Run tests in several
22033 * string/test-strncasecmp.c (test_main): Likewise.
22035 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22036 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22037 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22038 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22039 (__strncasecmp_ssse3) [PIC]: Likewise.
22041 2013-08-26 Roland McGrath <roland@hack.frob.com>
22043 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22045 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22046 instead of explicitly declaring xdecrypt.
22047 * nis/nss_nis/nis-publickey.c: Likewise.
22049 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22052 * nscd/aicache.c: Include res_hconf.h.
22053 (addhstaiX): Initialize res_hconf.
22055 2013-08-26 Andreas Schwab <schwab@suse.de>
22057 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22058 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22060 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22062 * nscd/aicache.c (addhstaiX): Fix indentation.
22064 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22066 * configure.ac: Quote $build_pt_chown test.
22067 * configure: Regenerated.
22069 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22072 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22073 * math/s_cexpf.c (__cexpf): Likewise.
22074 * math/s_cexpl.c (__cexpl): Likewise.
22075 * math/libm-test.inc (cexp_test_data): Correct expected return
22076 value for NaN + i0. Add another test.
22078 2013-08-22 David S. Miller <davem@davemloft.net>
22080 * po/ca.po: Update Catalan translation from translation project.
22081 * po/uk.po: Add Ukrainian translations from translation project.
22083 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22086 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22087 is infinite, not alongside NaN test.
22088 * math/s_fdimf.c (__fdimf): Likewise.
22089 * math/s_fdiml.c (__fdiml): Likewise.
22090 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22091 errno is unchanged.
22093 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22095 * argp/argp-help.c: Fix typos.
22096 * crypt/speeds.c: Likewise.
22097 * csu/check_fds.c: Likewise.
22098 * elf/dl-load.c: Likewise.
22099 * elf/dl-open.c: Likewise.
22100 * elf/reldep3.c: Likewise.
22101 * elf/reldep.c: Likewise.
22102 * elf/sprof.c: Likewise.
22103 * iconv/iconv_charmap.c: Likewise.
22104 * iconv/skeleton.c: Likewise.
22105 * iconv/strtab.c: Likewise.
22106 * io/lockf64.c: Likewise.
22107 * libio/libioP.h: Likewise.
22108 * resolv/gai_notify.c: Likewise.
22109 * resolv/ns_name.c: Likewise.
22110 * resolv/ns_samedomain.c: Likewise.
22111 * resolv/res_send.c: Likewise.
22112 * stdlib/random.c: Likewise.
22113 * sunrpc/rpc/xdr.h: Likewise.
22114 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22116 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22117 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22118 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22119 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22121 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22122 * sysdeps/mach/hurd/check_fds.c: Likewise.
22123 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22124 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22125 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22126 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22127 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22128 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22129 * sysdeps/pthread/aio_notify.c: Likewise.
22130 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22131 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22132 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22133 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22134 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22136 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22138 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22139 version if bit_Slow_SSE4_2 is set.
22140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22143 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22146 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22147 trampoline stack frame information.
22148 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22149 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22150 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22151 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22152 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22153 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22154 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22155 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22157 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22158 interrupting a syscall and set with option SA_SIGINFO.
22160 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22163 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22164 argument is infinite.
22165 * math/s_cprojf.c (__cprojf): Likewise.
22166 * math/s_cprojl.c (__cprojl): Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22168 * math/libm-test.inc (cproj_test_data): Add more tests.
22170 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22172 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22173 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22174 size. Use __ffs to determine corresponding shift.
22176 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22177 Roland McGrath <roland@hack.frob.com>
22179 * Makefile (INSTALL): Remove trailing blank lines from output of
22182 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22184 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22185 Align 32 bit compat elf_greg to 8 bytes.
22187 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22189 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22191 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22193 * string/strcoll_l.c (coll_seq): New structure.
22194 (get_next_seq_cached): New function.
22195 (get_next_seq): New function.
22196 (do_compare): New function.
22197 (STRCOLL): Use GNU style definition. Simplify implementation
22198 by using get_next_seq, get_next_seq_cached and do_compare.
22200 2013-08-16 Florian Weimer <fweimer@redhat.com>
22204 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22206 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22208 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22209 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22210 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22212 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22213 GETDENTS_64BIT_ALIGNED.
22214 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22215 * manual/filesys.texi (Reading/Closing Directory): Document
22216 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22218 * manual/conf.texi (Limits for Files): Add portability note to
22219 NAME_MAX, PATH_MAX.
22220 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22222 2013-08-13 Andreas Schwab <schwab@suse.de>
22225 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22227 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22228 LDBL_MAX_EXP >= 16384]: Add tests for it.
22230 2013-08-12 David S. Miller <davem@davemloft.net>
22232 * version.h (RELEASE): Set to "development".
22233 (VERSION): Set to "2.18.90".
22234 * NEWS: Add 2.19 section.
22236 2013-08-03 David S. Miller <davem@davemloft.net>
22238 * po/ko.po: Update Korean translation from translation project.
22240 2013-08-01 David S. Miller <davem@davemloft.net>
22242 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22243 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22246 2013-07-30 David S. Miller <davem@davemloft.net>
22248 * po/fr.po: Update French translation from translation project.
22250 2013-07-28 David S. Miller <davem@davemloft.net>
22252 * po/cs.po: Update Czech translation from translation project.
22254 * po/sv.po: Update Swedish translation from translation project.
22256 2013-07-27 David S. Miller <davem@davemloft.net>
22258 * po/eo.po: Update Esperanto translation from translation project.
22260 * po/vi.po: Update Vietnamese translation from translation project.
22262 * po/de.po: Update German translation from translation project.
22264 2013-07-26 David S. Miller <davem@davemloft.net>
22266 * po/bg.po: Update Bulgarian translation from translation project.
22268 * po/nl.po: Update Dutch translation from translation project.
22269 * po/pl.po: Update Polish translation from translation project.
22270 * po/ru.po: Update Russian translation from translation project.
22272 2013-07-24 David S. Miller <davem@davemloft.net>
22274 * po/libc.pot: Update.
22276 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22278 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22279 variable page size.
22280 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22281 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22282 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22284 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22286 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22288 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22289 Andreas Schwab <schwab@suse.de>
22290 Roland McGrath <roland@hack.frob.com>
22291 Joseph Myers <joseph@codesourcery.com>
22292 Carlos O'Donell <carlos@redhat.com>
22295 * config.h.in: Define HAVE_PT_CHOWN.
22296 * config.make.in (build-pt-chown): New variable.
22297 * configure.in (--enable-pt_chown): New configure option.
22298 * configure: Regenerate.
22299 * login/Makefile: Include Makeconfig. Build pt_chown only if
22300 build-pt-chown is enabled.
22301 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22302 pt_chown to fix pty ownership.
22303 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22305 * manual/install.texi (Configuring and compiling): Mention
22306 --enable-pt_chown. Add @findex for grantpt.
22307 * INSTALL: Regenerate.
22309 2013-07-20 David S. Miller <davem@davemloft.net>
22311 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22312 difference between 32-bit and 64-bit.
22314 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22317 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22318 Avoid system header dependency with -ffreestanding.
22319 ($(objpfx)bits/syscall%d): Likewise.
22321 2013-07-13 David S. Miller <davem@davemloft.net>
22323 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22324 underflows from atanl/atan2l due to bug 15319.
22325 (casinh_test_data): Likewise.
22327 2013-07-07 David S. Miller <davem@davemloft.net>
22329 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22331 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22333 * sysdeps/i386/fpu/libm-test-ulps: Update.
22334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22336 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22338 * configure.in (--enable-lock-elision): Fix message text.
22339 * INSTALL: Regenerate.
22340 * configure: Regenerate.
22342 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22346 2013-07-03 Andreas Jaeger <aj@suse.de>
22348 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22350 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22351 (ptrace_peeksiginfo_args): Add.
22352 (__ptrace_peeksiginfo_flags): Add.
22353 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22355 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22357 2013-07-03 Allan McRae <allan@archlinux.org>
22359 * sysdeps/i386/fpu/libm-test-ulps: Update.
22361 2013-07-02 David S. Miller <davem@davemloft.net>
22363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22365 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22369 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22371 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22374 2013-07-02 Andi Kleen <ak@linux.intel.com>
22376 * config.h.in (ENABLE_LOCK_ELISION): Add.
22377 * configure.in (--enable-lock-elision): Add option.
22378 * manual/install.texi: Document --enable lock elision.
22379 * configure: Regenerate
22380 * INSTALL: Regenerate.
22382 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22384 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22385 SSE4.2 strcasecmp for libc.a.
22386 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22388 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22391 * soft-fp/op-common.h (_FP_FMA): New macro.
22392 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22393 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22394 (_FP_MUL_MEAT_1_imm): ... here.
22395 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22396 (_FP_MUL_MEAT_1_wide): ... here.
22397 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22398 (_FP_MUL_MEAT_1_hard): ... here.
22399 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22400 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22401 (_FP_MUL_MEAT_2_wide): ... here.
22402 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22403 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22404 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22405 (_FP_MUL_MEAT_2_gmp): ... here.
22406 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22407 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22408 (_FP_MUL_MEAT_4_wide): ... here.
22409 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22410 (_FP_MUL_MEAT_4_gmp): ... here.
22411 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22412 (_FP_WFRACBITS_DW_S): Likewise.
22413 (_FP_WFRACXBITS_DW_S): Likewise.
22414 (_FP_HIGHBIT_DW_S): Likewise.
22415 (FP_FMA_S): Likewise.
22416 (_FP_FRAC_HIGH_DW_S): Likewise.
22417 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22418 (_FP_WFRACBITS_DW_D): Likewise.
22419 (_FP_WFRACXBITS_DW_D): Likewise.
22420 (_FP_HIGHBIT_DW_D): Likewise.
22421 (FP_FMA_D): Likewise.
22422 (_FP_FRAC_HIGH_DW_D): Likewise.
22423 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22424 (_FP_WFRACBITS_DW_E): Likewise.
22425 (_FP_WFRACXBITS_DW_E): Likewise.
22426 (_FP_HIGHBIT_DW_E): Likewise.
22427 (FP_FMA_E): Likewise.
22428 (_FP_FRAC_HIGH_DW_E): Likewise.
22429 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22430 (_FP_WFRACBITS_DW_Q): Likewise.
22431 (_FP_WFRACXBITS_DW_Q): Likewise.
22432 (_FP_HIGHBIT_DW_Q): Likewise.
22433 (FP_FMA_Q): Likewise.
22434 (_FP_FRAC_HIGH_DW_Q): Likewise.
22435 * soft-fp/fmasf4.c: New file.
22436 * soft-fp/fmadf4.c: Likewise.
22437 * soft-fp/fmatf4.c: Likewise.
22439 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22442 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22446 (index_Slow_SSE4_2): Likewise.
22447 (index_Prefer_PMINUB_for_stringop): Likewise.
22448 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22449 bit_Slow_SSE4_2 is set.
22450 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22451 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22453 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22455 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22456 rtld_global._dl_hwcap2.
22457 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22459 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22460 POWER8 feature descriptions defined in _dl_hwcap2.
22461 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22462 string handling for POWER8 feature bits.
22463 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22464 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22465 _dl_powerpc_cap_flags.
22466 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22467 * sysdeps/powerpc/rtld-global-offsets.sym
22468 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22469 _dl_hwcap2 in the rtld_global_ro structure.
22471 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22473 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22474 hardware capabilities in support of AT_HWCAP2.
22475 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22476 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22478 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22479 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22480 explicitly the unknown a_type display mechanism is used.
22481 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22482 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22484 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22485 to macro prototype for AT_HWCAP2 support.
22486 * sysdeps/i386/dl-procinfo.h: Likewise.
22487 * sysdeps/s390/dl-procinfo.h: Likewise.
22488 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22489 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22490 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22491 return -1 for unknown a_type display fallback.
22492 * sysdeps/sparc/dl-procinfo.h: Likewise.
22493 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22494 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22496 2013-06-28 Joseph Myers <joseph@codesourcery.com>
22498 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22499 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22501 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22504 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22505 mprotect making __stack_prot writable.
22507 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22508 Joseph Myers <joseph@codesourcery.com>
22510 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22511 as being properly aligned.
22513 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22515 * dlfcn/modstatic5.c: New file.
22516 * dlfcn/tststatic5.c: New file.
22517 * dlfcn/Makefile (tests): Add tststatic5.
22518 (tests-static): Likewise.
22519 (modules-names): Add modstatic5.
22520 (tststatic5-ENV): New variable.
22521 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22524 * elf/dl-support.c (_dl_main_map): New variable.
22525 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22526 (_dl_nns, _dl_load_adds): Set to 1.
22527 (_dl_initial_searchlist): Refer to _dl_main_map.
22528 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22529 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22530 call to _dl_get_origin.
22531 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22533 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22534 * dlfcn/modstatic3.c: New file.
22535 * dlfcn/tststatic3.c: New file.
22536 * dlfcn/tststatic4.c: New file.
22537 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22538 (tests-static): Likewise.
22539 (modules-names): Add modstatic3.
22540 (tststatic3-ENV, tststatic4-ENV): New variables.
22541 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22542 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22544 2013-06-26 Joseph Myers <joseph@codesourcery.com>
22546 * configure.in (CC): Require GCC version 4.4 or later.
22547 * configure: Regenerated.
22548 * manual/install.texi (Tools for Compilation): Update GCC version
22550 * INSTALL: Regenerated.
22552 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22555 * string/test-memcmp.c (check2): New.
22556 (main): Call check2.
22558 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22560 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22563 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22565 (dl_open_worker) [!SHARED]: ... here.
22567 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22569 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22571 2013-06-25 Richard Henderson <rth@redhat.com>
22573 * locale/programs/locarchive.c: Include <libc-internal.h>
22575 2013-06-25 Joseph Myers <joseph@codesourcery.com>
22577 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22578 trailing whitespace removed.
22580 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22583 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22584 * locale/programs/locarchive.c: Include libc-mmap.h.
22585 (prepare_address_space): Take two new outputs (the mmap base and len).
22586 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22588 (create_archive): Declare new mmap base and len values for
22589 prepare_address_space, and store the result in ah.
22590 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22591 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22592 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22593 Declare new mmap base and len values for
22594 prepare_address_space, and store the result in new_ah.
22595 (open_archive): Declare new mmap base and len values for
22596 prepare_address_space, and store the result in ah.
22597 (close_archive): If ah->mmap_base is not NULL, use that and
22598 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22599 * sysdeps/generic/libc-mmap.h: New file.
22601 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22603 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22604 (ALIGN_UP): Likewise.
22605 (PTR_ALIGN_DOWN): Likewise.
22606 (PTR_ALIGN_UP): Likewise.
22608 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22610 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22611 entry mapped to PPC_PLATFORM_POWER8.
22612 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22614 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22615 (_dl_string_platform): Add case for exporting platform position for
22617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22618 search path to sysdeps/powerpc/powerpc32/power8 directory.
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22620 search path to sysdeps/powerpc/powerpc64/power8 directory.
22621 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22622 power7 directories.
22623 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22624 power7 directories.
22626 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22628 * INSTALL: Regenerate.
22630 * nscd/connections.c (nscd_init): Fix comment.
22632 2013-06-22 Joseph Myers <joseph@codesourcery.com>
22634 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22637 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22638 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22640 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22642 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22644 (DL_DST_REQ_STATIC): Remove macro.
22646 2013-06-21 Joseph Myers <joseph@codesourcery.com>
22649 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22650 with a shift of 0 bits.
22652 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22654 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22657 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22660 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22662 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22664 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22665 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22666 accepts -fno-tree-loop-distribute-patterns.
22667 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22668 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22670 * string/memset.c (memset): Likewise.
22671 * string/test-memmove.c (simple_memmove): Disable loop transformation
22673 * string/test-memset.c (simple_memset): Likewise.
22674 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22675 * benchtests/bench-memset.c (simple_memset): Likewise.
22676 * configure: Regenerated.
22678 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22680 * math/test-misc.c (main): Ignore fesetround failure when failures
22681 of subsequent rounding tests would be ignored.
22684 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22685 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22686 * math/fegetenv.c (__fegetenv): Return 0.
22687 * math/fegetexcept.c (fegetexcept): Return 0.
22688 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22690 * math/feholdexcpt.c (feholdexcept): Return 0.
22691 * math/fesetenv.c (__fesetenv): Return 0.
22692 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22693 argument FE_TONEAREST.
22694 * math/feupdateenv.c (__feupdateenv): Return 0.
22695 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22697 2013-06-18 Roland McGrath <roland@hack.frob.com>
22699 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22700 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22701 ($(objpfx)rtld-%.os rules): Use them.
22703 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22705 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22708 2013-06-17 Roland McGrath <roland@hack.frob.com>
22710 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22711 length of target pattern, then descending length of dependency pattern.
22712 * configure.in (AWK): Require gawk 3.1.2 or newer.
22713 * manual/install.texi (Tools for Compilation): Say that we do.
22714 * configure: Regenerated.
22716 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22717 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22718 * scripts/sysd-rules.awk: ... this new script.
22719 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22720 than a glob-style pattern.
22722 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22724 * math/test-misc.c (main): Do not treat incorrectly rounded
22725 conversions as failure unless ROUNDING_TESTS passes.
22727 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22730 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22731 restore exception state around main square root computation, then
22732 check for inexactness explicitly.
22734 * math/libm-test.inc (fma_test_data): Add another test.
22736 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22738 * manual/threads.texi (Non-POSIX Extensions): New document
22739 node. Document pthread_getattr_default_np and
22740 pthread_setattr_default_np.
22742 * Versions.def (libpthread): Add GLIBC_2.18.
22743 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22752 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22763 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22766 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22768 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22769 H.J. Lu <hjl.tools@gmail.com>
22772 * sysdeps/x86_64/rtld-memset.c: Remove file.
22773 * sysdeps/x86_64/rtld-memset.S: New file.
22775 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22777 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22778 (test_in_one_mode): Take arguments for whether the rounding mode
22779 is supported for each floating-point type.
22780 (do_test): Pass new arguments to test_in_one_mode using
22783 2013-06-13 Roland McGrath <roland@hack.frob.com>
22785 * posix/tst-waitid.c (do_test): Distinguish different instances of
22786 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22787 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22788 before entering the kernel for waitpid.
22790 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22792 * NEWS: Fix note on clock function precision. Text by Roland
22795 2013-06-13 Roland McGrath <roland@hack.frob.com>
22797 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22798 it into place only when and if the sanity check passes.
22800 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22802 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22803 output for whether conversion result is exact. Take argument
22804 indicating whether type is IBM long double.
22805 (round_for_all): Change need_exact field to ibm_ld.
22806 * stdlib/tst-strtod-round.c (struct exactness): New type.
22807 (struct test): Change bool ld_ok field to struct exactness exact.
22808 (TEST): Update all definitions for change to field.
22809 (tests): Regenerate array contents.
22810 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22811 field value. Check for IBM long double here.
22812 (do_test): Update calls to test_in_one_mode.
22814 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22817 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22818 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22820 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22823 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22824 generated by the compiler on loop optimizations.
22825 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22826 general definitions.
22828 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22830 * math/bug-nextafter.c: Include <math-tests.h>.
22831 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22833 * math/bug-nexttoward.c: Include <math-tests.h>.
22834 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22836 * math/test-misc.c: Include <math-tests.h>.
22837 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22840 2013-06-12 Andreas Jaeger <aj@suse.de>
22842 * po/ia.po: Update Interlingua translation from translation
22845 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22847 * include/fenv.h: Include stdbool.h.
22848 (struct rm_ctx): New structure.
22849 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22851 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22852 (SET_RESTORE_ROUNDF): Likewise.
22853 (SET_RESTORE_ROUNDL): Likewise.
22854 (SET_RESTORE_ROUND_NOEX): Likewise.
22855 (SET_RESTORE_ROUND_NOEXF): Likewise.
22856 (SET_RESTORE_ROUND_NOEXL): Likewise.
22857 (SET_RESTORE_ROUND_53BIT): Likewise.
22858 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22859 (libc_feresetround_noexf_ctx): Likewise.
22860 (libc_feresetround_noexl_ctx): Likewise.
22861 (libc_feholdsetround_53bit_ctx): Likewise.
22862 (libc_feresetround_53bit_ctx): Likewise.
22863 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22864 (libc_feholdexcept_setround_sse_ctx): New function.
22865 (libc_fesetenv_sse_ctx): Likewise.
22866 (libc_feupdateenv_sse_ctx): Likewise.
22867 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22868 (libc_feholdexcept_setround_387_ctx): Likewise.
22869 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22870 (libc_feholdsetround_387_prec_ctx): Likewise.
22871 (libc_feholdsetround_387_ctx): Likewise.
22872 (libc_feholdsetround_387_53bit_ctx): Likewise.
22873 (libc_feholdsetround_sse_ctx): Likewise.
22874 (libc_feresetround_sse_ctx): Likewise.
22875 (libc_feresetround_387_ctx): Likewise.
22876 (libc_feupdateenv_387_ctx): Likewise.
22877 (libc_feholdexcept_setroundf_ctx): Define macro.
22878 (libc_fesetenvf_ctx): Likewise.
22879 (libc_feupdateenvf_ctx): Likewise.
22880 (libc_feholdsetroundf_ctx): Likewise.
22881 (libc_feresetroundf_ctx): Likewise.
22882 (libc_feholdexcept_setround_ctx): Likewise.
22883 (libc_fesetenv_ctx): Likewise.
22884 (libc_feupdateenv_ctx): Likewise.
22885 (libc_feholdsetround_ctx): Likewise.
22886 (libc_feresetround_ctx): Likewise.
22887 (libc_feholdexcept_setroundl_ctx): Likewise.
22888 (libc_feupdateenvl_ctx): Likewise.
22889 (libc_feholdsetroundl_ctx): Likewise.
22890 (libc_feresetroundl_ctx): Likewise.
22891 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22892 (libc_feresetround_53bit_ctx): Likewise.
22894 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22896 * locale/iso-639.def: Convert to UTF-8.
22898 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22900 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22901 (EXCEPTION_TESTS_double): Likewise.
22902 (EXCEPTION_TESTS_long_double): Likewise.
22903 (EXCEPTION_TESTS): Likewise.
22904 * math/libm-test.inc (test_exceptions): Only test exceptions if
22905 EXCEPTION_TESTS (FLOAT).
22907 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22909 * benchtests/Makefile (string-bench): Add strcpy_chk and
22911 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22912 * benchtests/bench-stpcpy_chk.c: New file.
22913 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22914 * benchtests/bench-strcpy_chk.c: New file.
22915 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22917 (do_test): Likewise.
22919 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22921 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22922 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22923 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22924 with tabs where appropriate.
22925 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22927 [PPC_PLATFORM_PPC440]: Likewise.
22928 [PPC_PLATFORM_PPC464]: Likewise.
22929 [PPC_PLATFORM_PPC476]: Likewise.
22930 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22931 ppc464, and ppc476 platform strings merging from ports/
22934 2013-06-11 Andreas Schwab <schwab@suse.de>
22937 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22938 (from_ucs4_idx): Regenerate.
22939 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22940 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22941 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22942 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22943 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22944 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22945 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22946 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22947 from FROM_LOOP and TO_LOOP specific macros.
22948 (BODY): Handle combining characters.
22949 * iconvdata/BIG5HKSCS.irreversible: Update.
22950 * iconvdata/BIG5HKSCS.precomposed: New file.
22951 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22953 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22955 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22957 * include/sys/time.h: Fix indentation and add copyright header.
22959 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22960 (do_test): Likewise.
22961 * string/test-memchr.c (do_one_test): Likewise.
22962 (do_test): Likewise.
22963 * string/test-memcmp.c (do_one_test): Likewise.
22964 (do_test): Likewise.
22965 * string/test-memcpy.c (do_one_test): Likewise.
22966 (do_test): Likewise.
22967 * string/test-memmem.c (do_one_test): Likewise.
22968 (do_test): Likewise.
22969 (do_random_tests): Likewise.
22970 * string/test-memmove.c (do_one_test): Likewise.
22971 (do_test): Likewise.
22972 * string/test-memset.c (do_one_test): Likewise.
22973 (do_test): Likewise.
22974 * string/test-rawmemchr.c (do_one_test): Likewise.
22975 (do_test): Likewise.
22976 * string/test-strcasecmp.c (do_one_test): Likewise.
22977 (do_test): Likewise.
22978 * string/test-strcasestr.c (do_one_test): Likewise.
22979 (do_test): Likewise.
22980 * string/test-strcat.c (do_one_test): Likewise.
22981 (do_test): Likewise.
22982 * string/test-strchr.c (do_one_test): Likewise.
22983 (do_test): Likewise.
22984 * string/test-strcmp.c (do_one_test): Likewise.
22985 (do_test): Likewise.
22986 * string/test-strcpy.c (do_one_test): Likewise.
22987 (do_test): Likewise.
22988 * string/test-string.h: Likewise.
22989 (test_init): Likewise.
22990 * string/test-strlen.c (do_one_test): Likewise.
22991 (do_test): Likewise.
22992 * string/test-strncasecmp.c (do_one_test): Likewise.
22993 (do_test): Likewise.
22994 * string/test-strncat.c (do_one_test): Likewise.
22995 (do_test): Likewise.
22996 * string/test-strncmp.c (do_one_test): Likewise.
22997 (do_test_limit): Likewise.
22998 (do_test): Likewise.
22999 * string/test-strncpy.c (do_one_test): Likewise.
23000 (do_test): Likewise.
23001 * string/test-strnlen.c (do_one_test): Likewise.
23002 (do_test): Likewise.
23003 * string/test-strpbrk.c (do_one_test): Likewise.
23004 (do_test): Likewise.
23005 * string/test-strrchr.c (do_one_test): Likewise.
23006 (do_test): Likewise.
23007 * string/test-strspn.c (do_one_test): Likewise.
23008 (do_test): Likewise.
23009 * string/test-strstr.c (do_one_test): Likewise.
23010 (do_test): Likewise.
23012 * benchtests/Makefile (string-bench): Add string benchmarks.
23013 * benchtests/bench-bcopy-ifunc.c: New file.
23014 * benchtests/bench-bcopy.c: New file.
23015 * benchtests/bench-bzero-ifunc.c: New file.
23016 * benchtests/bench-bzero.c: New file.
23017 * benchtests/bench-memccpy-ifunc.c: New file.
23018 * benchtests/bench-memccpy.c: New file.
23019 * benchtests/bench-memchr-ifunc.c: New file.
23020 * benchtests/bench-memchr.c: New file.
23021 * benchtests/bench-memcmp-ifunc.c: New file.
23022 * benchtests/bench-memcmp.c: New file.
23023 * benchtests/bench-memmem-ifunc.c: New file.
23024 * benchtests/bench-memmem.c: New file.
23025 * benchtests/bench-memmove-ifunc.c: New file.
23026 * benchtests/bench-memmove.c: New file.
23027 * benchtests/bench-mempcpy-ifunc.c: New file.
23028 * benchtests/bench-mempcpy.c: New file.
23029 * benchtests/bench-memset-ifunc.c: New file.
23030 * benchtests/bench-memset.c: New file.
23031 * benchtests/bench-rawmemchr-ifunc.c: New file.
23032 * benchtests/bench-rawmemchr.c: New file.
23033 * benchtests/bench-stpcpy-ifunc.c: New file.
23034 * benchtests/bench-stpcpy.c: New file.
23035 * benchtests/bench-stpncpy-ifunc.c: New file.
23036 * benchtests/bench-stpncpy.c: New file.
23037 * benchtests/bench-strcasecmp-ifunc.c: New file.
23038 * benchtests/bench-strcasecmp.c: New file.
23039 * benchtests/bench-strcasestr-ifunc.c: New file.
23040 * benchtests/bench-strcasestr.c: New file.
23041 * benchtests/bench-strcat-ifunc.c: New file.
23042 * benchtests/bench-strcat.c: New file.
23043 * benchtests/bench-strchr-ifunc.c: New file.
23044 * benchtests/bench-strchr.c: New file.
23045 * benchtests/bench-strchrnul-ifunc.c: New file.
23046 * benchtests/bench-strchrnul.c: New file.
23047 * benchtests/bench-strcmp-ifunc.c: New file.
23048 * benchtests/bench-strcmp.c: New file.
23049 * benchtests/bench-strcpy-ifunc.c: New file.
23050 * benchtests/bench-strcpy.c: New file.
23051 * benchtests/bench-strcspn-ifunc.c: New file.
23052 * benchtests/bench-strcspn.c: New file.
23053 * benchtests/bench-strlen-ifunc.c: New file.
23054 * benchtests/bench-strlen.c: New file.
23055 * benchtests/bench-strncasecmp-ifunc.c: New file.
23056 * benchtests/bench-strncasecmp.c: New file.
23057 * benchtests/bench-strncat-ifunc.c: New file.
23058 * benchtests/bench-strncat.c: New file.
23059 * benchtests/bench-strncmp-ifunc.c: New file.
23060 * benchtests/bench-strncmp.c: New file.
23061 * benchtests/bench-strncpy-ifunc.c: New file.
23062 * benchtests/bench-strncpy.c: New file.
23063 * benchtests/bench-strnlen-ifunc.c: New file.
23064 * benchtests/bench-strnlen.c: New file.
23065 * benchtests/bench-strpbrk-ifunc.c: New file.
23066 * benchtests/bench-strpbrk.c: New file.
23067 * benchtests/bench-strrchr-ifunc.c: New file.
23068 * benchtests/bench-strrchr.c: New file.
23069 * benchtests/bench-strspn-ifunc.c: New file.
23070 * benchtests/bench-strspn.c: New file.
23071 * benchtests/bench-strstr-ifunc.c: New file.
23072 * benchtests/bench-strstr.c: New file.
23074 * benchtests/Makefile: Disable parallel execution of targets.
23075 (string-bench): Add memcpy.
23076 (benchset): New variable to store a list of benchmark sets.
23077 (bench-func): Renamed from bench.
23078 (bench-set): New target.
23079 (bench): Depend on bench-func and bench-set.
23080 * benchtests/README: Add section on benchmark sets.
23081 * benchtests/bench-memcpy-ifunc.c: New file.
23082 * benchtests/bench-memcpy.c: New file.
23083 * benchtests/bench-string.h: New file.
23085 2013-06-11 Andreas Schwab <schwab@suse.de>
23088 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23089 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23090 values in the triple.
23091 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23092 terminator in the group key.
23094 2013-06-11 Andreas Jaeger <aj@suse.de>
23096 * po/zh_TW.po: Update Chinese (traditional) translation from
23097 translation project.
23099 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23101 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23102 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23103 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23105 (clock_getcpuclockid): Likewise.
23106 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23107 Add weak_alias and libc_hidden_def.
23108 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23109 * rt/clock_gettime.c (clock_gettime): Rename to
23110 __clock_gettime. Add weak_alias and libc_hidden_def.
23111 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23112 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23113 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23114 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23115 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23117 * rt/clock_settime.c (clock_settime): Rename to
23118 __clock_settime. Add weak_alias and libc_hidden_def.
23119 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23121 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23123 * mach/err_boot.sub: Remove trailing whitespace.
23124 * mach/err_ipc.sub: Likewise.
23125 * mach/err_mach.sub: Likewise.
23127 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23128 (ROUNDING_TESTS_double): Likewise.
23129 (ROUNDING_TESTS_long_double): Likewise.
23130 (ROUNDING_TESTS): Likewise.
23131 * math/libm-test.inc: Include <math-tests.h>.
23132 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23133 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23134 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23135 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23137 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23139 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23142 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23144 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23145 otherwise empty TRANS lines.
23146 * sysdeps/gnu/errlist.c: Regenerated.
23148 * catgets/gencat.c (error_print): Use (void) in function
23150 * crypt/crypt_util.c (__init_des): Likewise.
23151 * crypt/speeds.c (Stop): Likewise.
23153 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23154 * inet/ruserpass.c (token): Likewise.
23155 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23156 * intl/localealias.c (extend_alias_table): Likewise.
23157 * intl/plural-exp.c (init_germanic_plural): Likewise.
23158 * libio/fcloseall.c (__fcloseall): Likewise.
23159 * libio/genops.c (_IO_flush_all): Likewise.
23160 (_IO_flush_all_linebuffered): Likewise.
23161 (_IO_cleanup): Likewise.
23162 (_IO_iter_begin): Likewise.
23163 (_IO_iter_end): Likewise.
23164 (_IO_list_lock): Likewise.
23165 (_IO_list_unlock): Likewise.
23166 (_IO_list_resetlock): Likewise.
23167 * libio/getchar.c (getchar): Likewise.
23168 * libio/getchar_u.c (getchar_unlocked): Likewise.
23169 * libio/getwchar.c (getwchar): Likewise.
23170 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23171 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23172 * login/getpt.c (__getpt): Likewise.
23173 * login/tst-utmp.c (main): Likewise.
23174 * malloc/hooks.c (__malloc_check_init): Likewise.
23175 * malloc/malloc.c (__malloc_stats): Likewise.
23176 * malloc/mtrace.c (tr_break): Likewise.
23177 (mtrace): Likewise.
23178 (muntrace): Likewise.
23179 * misc/fstab.c (endfsent): Likewise.
23180 * misc/getclktck.c (__getclktck): Likewise.
23181 * misc/getdtsz.c (__getdtablesize): Likewise.
23182 * misc/gethostid.c (gethostid): Likewise.
23183 * misc/getpagesize.c (__getpagesize): Likewise.
23184 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23185 (__get_nprocs): Likewise.
23186 (__get_phys_pages): Likewise.
23187 (__get_avphys_pages): Likewise.
23188 * misc/getttyent.c (getttyent): Likewise.
23189 (setttyent): Likewise.
23190 (endttyent): Likewise.
23191 * misc/getusershell.c (getusershell): Likewise.
23192 (endusershell): Likewise.
23193 (setusershell): Likewise.
23194 (initshells): Likewise.
23195 * misc/hsearch.c (__hdestroy): Likewise.
23196 * misc/sync.c (sync): Likewise.
23197 * misc/syslog.c (closelog_internal): Likewise.
23198 (closelog): Likewise.
23199 * misc/ttyslot.c (ttyslot): Likewise.
23200 * misc/vhangup.c (vhangup): Likewise.
23201 * posix/fork.c (__fork): Likewise.
23202 * posix/getegid.c (__getegid): Likewise.
23203 * posix/geteuid.c (__geteuid): Likewise.
23204 * posix/getgid.c (__getgid): Likewise.
23205 * posix/getpid.c (__getpid): Likewise.
23206 * posix/getppid.c (__getppid): Likewise.
23207 * posix/getuid.c (__getuid): Likewise.
23208 * posix/pause.c (pause): Likewise.
23209 * posix/setpgrp.c (setpgrp): Likewise.
23210 * posix/setsid.c (__setsid): Likewise.
23211 * posix/test-vfork.c (noop): Likewise.
23212 * resolv/gethnamaddr.c (_endhtent): Likewise.
23213 (_gethtent): Likewise.
23214 (ht_endhostent): Likewise.
23215 (gethostent): Likewise.
23216 (dns_service): Likewise.
23217 * stdlib/drand48.c (drand48): Likewise.
23218 * stdlib/lrand48.c (lrand48): Likewise.
23219 * stdlib/mrand48.c (mrand48): Likewise.
23220 * stdlib/rand.c (rand): Likewise.
23221 * stdlib/random.c (__random): Likewise.
23222 * stdlib/setenv.c (clearenv): Likewise.
23223 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23224 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23225 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23226 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23227 (__get_nprocs): Likewise.
23228 (__get_phys_pages): Likewise.
23229 (__get_avphys_pages): Likewise.
23230 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23231 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23232 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23233 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23234 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23235 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23236 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23237 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23238 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23239 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23240 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23241 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23242 * sysdeps/posix/clock.c (clock): Likewise.
23243 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23244 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23245 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23246 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23247 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23249 (__get_nprocs_conf): Likewise.
23250 (__get_phys_pages): Likewise.
23251 (__get_avphys_pages): Likewise.
23252 * time/clock.c (clock): Likewise.
23253 * time/tzset.c (__tzname_max): Likewise.
23255 2013-06-07 Joseph Myers <joseph@codesourcery.com>
23257 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23258 (__bswap_32): Do not use "register".
23259 * crypt/crypt.c (_ufc_doit_r): Likewise.
23260 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23261 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23262 * gmon/gmon.c (__monstartup): Likewise.
23263 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23264 * hurd/hurdmalloc.c (more_memory): Likewise.
23265 (malloc): Likewise.
23267 (realloc): Likewise.
23268 (malloc_fork_prepare): Likewise.
23269 (malloc_fork_parent): Likewise.
23270 (malloc_fork_child): Likewise.
23271 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23272 (_svcauth_des): Likewise.
23273 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23274 * inet/inet_net.c (inet_network): Likewise.
23275 * inet/inet_netof.c (inet_netof): Likewise.
23276 * inet/rcmd.c (__validuser2_sa): Likewise.
23277 * io/fts.c (fts_open): Likewise.
23278 (fts_load): Likewise.
23279 (fts_close): Likewise.
23280 (fts_read): Likewise.
23281 (fts_children): Likewise.
23282 (fts_build): Likewise.
23283 (fts_stat): Likewise.
23284 (fts_sort): Likewise.
23285 (fts_alloc): Likewise.
23286 (fts_lfree): Likewise.
23287 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23288 (_IO_file_xsgetn): Likewise.
23289 (_IO_file_xsgetn_mmap): Likewise.
23290 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23291 (_IO_cookie_write): Likewise.
23292 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23293 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23294 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23295 * malloc/obstack.c (_obstack_begin): Likewise.
23296 (_obstack_begin_1): Likewise.
23297 (_obstack_newchunk): Likewise.
23298 (_obstack_allocated_p): Likewise.
23299 (obstack_free): Likewise.
23300 (_obstack_memory_used): Likewise.
23301 * misc/getttyent.c (getttynam): Likewise.
23302 (getttyent): Likewise.
23305 * misc/getusershell.c (initshells): Likewise.
23306 * misc/syslog.c (__vsyslog_chk): Likewise.
23307 * misc/ttyslot.c (ttyslot): Likewise.
23308 * nis/nis_hash.c (__nis_hash): Likewise.
23309 * posix/fnmatch_loop.c (FCT): Likewise.
23310 * posix/getconf.c (print_all): Likewise.
23312 * posix/getopt.c (exchange): Likewise.
23313 * posix/glob.c (globfree): Likewise.
23314 (prefix_array): Likewise.
23315 (__glob_pattern_type): Likewise.
23316 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23317 (NS_GET32): Likewise.
23318 (NS_PUT16): Likewise.
23319 (NS_PUT32): Likewise.
23320 * resolv/gethnamaddr.c (getanswer): Likewise.
23321 (gethostbyname2): Likewise.
23322 (gethostbyaddr): Likewise.
23323 (_gethtent): Likewise.
23324 (_gethtbyname2): Likewise.
23325 (_gethtbyaddr): Likewise.
23326 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23327 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23328 * resolv/res_init.c (__res_vinit): Likewise.
23329 (net_mask): Likewise.
23330 * resolv/res_mkquery.c (outchar): Likewise.
23332 * stdio-common/printf_fp.c (outchar): Likewise.
23334 * stdio-common/printf_fphex.c (outchar): Likewise.
23336 * stdio-common/printf_size.c (outchar): Likewise.
23338 * stdio-common/test_rdwr.c (main): Likewise.
23339 * stdio-common/tfformat.c (matches): Likewise.
23340 * stdio-common/vfprintf.c (outchar): Likewise.
23341 (printf_unknown): Likewise.
23342 (buffered_vfprintf): Likewise.
23343 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23344 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23345 (ReadFile): Likewise.
23346 * stdlib/qsort.c (SWAP): Likewise.
23347 (_quicksort): Likewise.
23348 * stdlib/setenv.c (__add_to_environ): Likewise.
23349 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23350 * stdlib/strtol_l.c (__strtol_l): Likewise.
23351 * stdlib/tst-strtod.c (main): Likewise.
23352 * stdlib/tst-strtol.c (main): Likewise.
23353 * stdlib/tst-strtoll.c (main): Likewise.
23354 * string/bits/string2.h (__strcmp_cc): Likewise.
23355 (__strcmp_cg): Likewise.
23356 (__strcspn_c1): Likewise.
23357 (__strcspn_c2): Likewise.
23358 (__strcspn_c3): Likewise.
23359 (__strspn_c1): Likewise.
23360 (__strspn_c2): Likewise.
23361 (__strspn_c3): Likewise.
23362 (__strsep_1c): Likewise.
23363 (__strsep_2c): Likewise.
23364 (__strsep_3c): Likewise.
23365 * string/memccpy.c (__memccpy): Likewise.
23366 * string/stpcpy.c (__stpcpy): Likewise.
23367 * string/strcmp.c (strcmp): Likewise.
23368 * string/strrchr.c (strrchr): Likewise.
23369 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23371 * sysdeps/mach/hurd/getcwd.c
23372 (_hurd_canonicalize_directory_name_internal): Likewise.
23373 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23374 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23375 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23376 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23377 Likewise, in both definitions.
23378 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23380 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23381 64] (__bswap_64): Likewise.
23382 * time/test_time.c (main): Likewise.
23383 * time/tzfile.c (__tzfile_read): Likewise.
23384 (__tzfile_compute): Likewise.
23385 * time/tzset.c (__tzset_parse_tz): Likewise.
23386 (tzset_internal): Likewise.
23387 (compute_change): Likewise.
23388 * wcsmbs/wcscat.c (__wcscat): Likewise.
23389 * wcsmbs/wcschr.c (wcschr): Likewise.
23390 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23391 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23392 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23393 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23394 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23395 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23396 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23397 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23398 * wcsmbs/wmemset.c (wmemset): Likewise.
23400 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23402 * scripts/config.guess: Update to version 2013-05-16.
23403 * scripts/config.sub: Update to version 2013-04-24.
23404 * scripts/install-sh: Update to version 2011-11-20.07.
23405 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23406 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23408 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
23410 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23411 * elf/sln.c: Likewise.
23412 * hurd/hurd/ioctl.h: Likewise.
23413 * hurd/hurdmalloc.c: Likewise.
23414 * hurd/xattr.c: Likewise.
23415 * include/shlib-compat.h: Likewise.
23416 * inet/ruserpass.c: Likewise.
23417 * libio/iofgets_u.c: Likewise.
23418 * libio/iofgetws_u.c: Likewise.
23419 * locale/programs/ld-identification.c: Likewise.
23420 * locale/programs/ld-time.c: Likewise.
23421 * mach/msg-destroy.c: Likewise.
23422 * nss/nss_files/files-netgrp.c: Likewise.
23423 * resolv/res_data.c: Likewise.
23424 * soft-fp/op-1.h: Likewise.
23425 * soft-fp/op-2.h: Likewise.
23426 * soft-fp/op-4.h: Likewise.
23427 * soft-fp/op-common.h: Likewise.
23428 * stdio-common/printf_fphex.c: Likewise.
23429 * stdlib/strtod_l.c: Likewise.
23430 * sunrpc/rpc/clnt.h: Likewise.
23431 * sysdeps/generic/framestate.c: Likewise.
23432 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23433 * sysdeps/i386/bsd-setjmp.S: Likewise.
23434 * sysdeps/i386/__longjmp.S: Likewise.
23435 * sysdeps/i386/setjmp.S: Likewise.
23436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23437 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23454 * sysdeps/ieee754/support.c: Likewise.
23455 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23456 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23457 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23458 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23459 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23460 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23461 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23462 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23463 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23464 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23465 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23466 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23467 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23468 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23469 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23470 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23471 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23474 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
23476 * posix/transbug.c: Remove executable mode.
23478 2013-06-05 Joseph Myers <joseph@codesourcery.com>
23480 * crypt/speeds.c: Remove trailing whitespace.
23481 * dlfcn/default.c: Likewise.
23482 * elf/ifuncdep2.c: Likewise.
23483 * elf/ifuncmain1.c: Likewise.
23484 * elf/ifuncmain1vis.c: Likewise.
23485 * elf/testobj.h: Likewise.
23486 * elf/tst-stackguard1.c: Likewise.
23487 * gmon/sys/gmon.h: Likewise.
23488 * hurd/hurdmsg.c: Likewise.
23489 * hurd/new-fd.c: Likewise.
23490 * hurd/ports-get.c: Likewise.
23491 * iconvdata/ibm1008_420.c: Likewise.
23492 * inet/tst-getni1.c: Likewise.
23493 * inet/tst-getni2.c: Likewise.
23494 * libio/ioungetc.c: Likewise.
23495 * libio/wfiledoalloc.c: Likewise.
23496 * manual/libm-err-tab.pl: Likewise.
23497 * math/w_dremf.c: Likewise.
23498 * misc/ftruncate.c: Likewise.
23499 * posix/bug-glob2.c: Likewise.
23500 * posix/tst-pcre.c: Likewise.
23501 * posix/wait4.c: Likewise.
23502 * resolv/README: Likewise.
23503 * resolv/res_debug.h: Likewise.
23504 * resolv/tst-inet_ntop.c: Likewise.
23505 * setjmp/bug269-setjmp.c: Likewise.
23506 * soft-fp/extended.h: Likewise.
23507 * soft-fp/op-1.h: Likewise.
23508 * soft-fp/op-2.h: Likewise.
23509 * soft-fp/op-4.h: Likewise.
23510 * soft-fp/op-8.h: Likewise.
23511 * soft-fp/testit.c: Likewise.
23512 * stdio-common/bug16.c: Likewise.
23513 * stdlib/random.c: Likewise.
23514 * sunrpc/rpcsvc/rquota.x: Likewise.
23515 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23516 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23517 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23518 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23519 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23520 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23521 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23522 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23523 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23524 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23525 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23544 * sysdeps/ieee754/s_lib_version.c: Likewise.
23545 * sysdeps/mach/hurd/check_fds.c: Likewise.
23546 * sysdeps/mach/hurd/getsockname.c: Likewise.
23547 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23548 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23549 * sysdeps/powerpc/bits/link.h: Likewise.
23550 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23551 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23552 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23553 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23554 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23555 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23556 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23557 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23558 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23559 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23560 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23561 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23562 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23563 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23564 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23565 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23566 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23568 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23570 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23571 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23572 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23573 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23574 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23575 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23577 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23578 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23579 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23580 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23582 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23583 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23584 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23585 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23586 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23587 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23588 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23589 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23590 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23591 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23592 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23593 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23594 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23595 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23596 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23597 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23598 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23599 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23602 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23603 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23604 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23606 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23609 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23610 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23612 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23613 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23614 * sysdeps/powerpc/sysdep.h: Likewise.
23615 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23616 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23617 * sysdeps/sh/dl-trampoline.S: Likewise.
23618 * sysdeps/sh/memset.S: Likewise.
23619 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23620 * sysdeps/sh/strlen.S: Likewise.
23621 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23622 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23623 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23624 * sysdeps/sparc/sparc32/rem.S: Likewise.
23625 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23626 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23627 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23628 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23629 * sysdeps/sparc/sparc32/urem.S: Likewise.
23630 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23631 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23632 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23633 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23635 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23636 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23637 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23638 * sysdeps/unix/bsd/times.c: Likewise.
23639 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23640 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23644 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23645 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23646 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23647 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23648 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23649 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23650 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23651 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23652 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23653 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23654 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23655 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23656 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23657 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23658 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23659 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23660 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23661 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23662 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23663 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23664 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23665 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23666 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23667 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23668 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23669 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23670 * sysdeps/x86_64/strcspn.S: Likewise.
23672 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23674 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23675 generated file. Regenerate properly from gen-translit.pl.
23676 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23677 locale/C-translit.h.
23679 2013-06-05 Andreas Schwab <schwab@suse.de>
23682 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23683 week as 6 instead of -1.
23684 * time/tst-strptime.c (day_tests): Add test case.
23686 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23688 * sysdeps/generic/math_private.h
23689 (libc_feholdexcept_setround_53bit): Replace with
23690 libc_feholdsetround_53bit.
23691 (libc_feupdateenv_53bit): Replace with
23692 libc_feresetround_53bit.
23693 (SET_RESTORE_ROUND_53BIT): Adjust.
23695 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23697 * string/test-strchrnul.c: Add copyright header.
23699 * posix/tst-getaddrinfo4.c: Increase test timeout.
23701 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23704 * math/libm-test.inc (MAX_EXP): Remove
23706 (ulp): Use MIN_EXP - MANT_DIG.
23707 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23709 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23711 * po/be.po: Revert last change.
23712 * po/zh_CN.po: Likewise.
23713 * po/header.pot: Likewise.
23715 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23717 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23718 link-libc-deps to empty as target-specific variable.
23719 * Makerules (link-libc-args): New variable.
23720 (libc-for-link): Likewise.
23721 (link-libc-deps): Likewise.
23722 (lib%.so): Depend on $(link-libc-deps). Link with
23724 (build-module): Link with $(link-libc-args).
23725 (build-module-asneeded): Likewise.
23726 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23728 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23729 target-specific variable.
23730 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23731 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23732 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23734 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23736 ($(objpfx)libpcprofile.so): Likewise.
23737 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23739 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23740 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23741 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23743 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23744 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23745 * login/Makefile ($(objpfx)libutil.so): Likewise.
23746 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23747 * math/Makefile ($(objpfx)libm.so): Likewise.
23748 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23749 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23750 variable instead of depending directly on libc.
23751 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23752 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23754 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23756 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23757 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23758 ($(objpfx)libanl.so): Likewise.
23759 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23761 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23763 * sysdeps/i386/fpu/Makefile: Remove file.
23764 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23765 ($(objpfx)libm.so): Remove dependency on ld.so.
23767 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23770 * nis/yp_xdr.c (XDRMAXNAME): Define.
23771 (XDRMAXRECORD): Define.
23772 (xdr_domainname): Use XDRMAXNAME.
23773 (xdr_mapname): Likewise.
23774 (xdr_peername): Likewise.
23775 (xdr_keydat): Use XDRMAXRECORD.
23776 (xdr_valdat): Likewise.
23778 2013-05-30 Jeff Law <law@redhat.com>
23781 * manual/errno.texi (ESTALE): Update to account for more than
23782 just NFS file systems.
23783 * sysdeps/gnu/errlist.c: Regenerated.
23785 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23788 * elf/Makefile (tests): Add tst-null-argv.
23789 (modules-names): Add tst-null-argv-lib.
23790 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23791 (tst-null-argv-ENV): Set environment for tst-null-argv.
23792 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23793 (RTLD_PROGNAME): New macro.
23794 * elf/tst-null-argv.c: New test case.
23795 * elf/tst-null-argv-lib.c: Library for test case.
23796 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23797 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23798 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23799 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23800 * elf/dl-init.c (call_init): Likewise.
23801 (_dl_init): Likewise.
23802 * elf/dl-load.c (print_search_path): Likewise.
23803 (_dl_map_object): Likewise.
23804 * elf/dl-lookup.c (do_lookup_x): Likewise.
23805 (add_dependency): Likewise.
23806 (_dl_lookup_symbol_x): Likewise.
23807 (_dl_debug_bindings): Likewise.
23808 * elf/dl-open.c (_dl_show_scope): Likewise.
23809 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23810 * elf/dl-version.c (match_symbol): Likewise.
23811 (_dl_check_map_versions): Likewise.
23812 * elf/rtld.c (dl_main): Likewise.
23813 (print_unresolved): Use RTLD_PROGNAME.
23814 (print_missing_version): Likewise.
23815 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23816 (elf_machine_rela): Likewise.
23817 * sysdeps/powerpc/powerpc32/dl-machine.c
23818 (__process_machine_rela): Likewise.
23819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23821 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23823 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23825 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23832 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23834 * po/be.po: Add descriptive title.
23835 * po/zh_CN.po: Likewise.
23836 * po/header.pot: Likewise.
23838 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23840 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23842 (enlarge_archive): Likewise.
23844 2013-05-28 Ben North <ben@redfrontdoor.org>
23846 * manual/arith.texi (frexp): It is the magnitude of the return
23847 value which lies in [0.5, 1), not the return value itself.
23849 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23853 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23855 * stdio-common/bug26.c (main): Correct fscanf template.
23857 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23858 declare _dl_skip_args.
23860 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23863 * manual/platform.texi: Add missing @end deftypefun.
23865 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23868 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23869 bit of mantissa of 2^16382.
23870 * math/libm-test.inc (hypot_test_data): Add more tests.
23872 * math/libm-test.inc: Add drem and pow10 to list of tested
23874 (pow10_test): New function.
23875 (drem_test): Likewise.
23876 (drem_test_tonearest): Likewise.
23877 (drem_test_towardzero): Likewise.
23878 (drem_test_downward): Likewise.
23879 (drem_test_upward): Likewise.
23880 (main): Call the new functions.
23882 * math/libm-test.inc (finite_test_data): Remove.
23883 (finite_test): Run tests from isfinite_test_data.
23884 (gamma_test_data): Remove.
23885 (gamma_test): Run tests from lgamma_test_data.
23886 * sysdeps/i386/fpu/libm-test-ulps: Update.
23887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23889 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23891 * manual/platform.texi: Add PowerPC PPR function set documentation.
23892 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23895 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23897 * math/libm-test.inc (MAX_EXP): Define.
23899 (ulp): New function.
23900 (check_float_internal): Use ULPDIFF.
23901 (cpow_test): Disable failing test.
23902 (check_ulp): Test ulp() implemetnation.
23903 (main): Call check_ulp before starting tests.
23905 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23907 * math/gen-libm-test.pl (generate_testfile): Do not handle
23908 START_DATA and END_DATA.
23909 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23911 (acos_tonearest_test_data): Likewise.
23912 (acos_towardzero_test_data): Likewise.
23913 (acos_downward_test_data): Likewise.
23914 (acos_upward_test_data): Likewise.
23915 (acosh_test_data): Likewise.
23916 (asin_test_data): Likewise.
23917 (asin_tonearest_test_data): Likewise.
23918 (asin_towardzero_test_data): Likewise.
23919 (asin_downward_test_data): Likewise.
23920 (asin_upward_test_data): Likewise.
23921 (asinh_test_data): Likewise.
23922 (atan_test_data): Likewise.
23923 (atanh_test_data): Likewise.
23924 (atan2_test_data): Likewise.
23925 (cabs_test_data): Likewise.
23926 (cacos_test_data): Likewise.
23927 (cacosh_test_data): Likewise.
23928 (carg_test_data): Likewise.
23929 (casin_test_data): Likewise.
23930 (casinh_test_data): Likewise.
23931 (catan_test_data): Likewise.
23932 (catanh_test_data): Likewise.
23933 (cbrt_test_data): Likewise.
23934 (ccos_test_data): Likewise.
23935 (ccosh_test_data): Likewise.
23936 (ceil_test_data): Likewise.
23937 (cexp_test_data): Likewise.
23938 (cimag_test_data): Likewise.
23939 (clog_test_data): Likewise.
23940 (clog10_test_data): Likewise.
23941 (conj_test_data): Likewise.
23942 (copysign_test_data): Likewise.
23943 (cos_test_data): Likewise.
23944 (cos_tonearest_test_data): Likewise.
23945 (cos_towardzero_test_data): Likewise.
23946 (cos_downward_test_data): Likewise.
23947 (cos_upward_test_data): Likewise.
23948 (cosh_test_data): Likewise.
23949 (cosh_tonearest_test_data): Likewise.
23950 (cosh_towardzero_test_data): Likewise.
23951 (cosh_downward_test_data): Likewise.
23952 (cosh_upward_test_data): Likewise.
23953 (cpow_test_data): Likewise.
23954 (cproj_test_data): Likewise.
23955 (creal_test_data): Likewise.
23956 (csin_test_data): Likewise.
23957 (csinh_test_data): Likewise.
23958 (csqrt_test_data): Likewise.
23959 (ctan_test_data): Likewise.
23960 (ctan_tonearest_test_data): Likewise.
23961 (ctan_towardzero_test_data): Likewise.
23962 (ctan_downward_test_data): Likewise.
23963 (ctan_upward_test_data): Likewise.
23964 (ctanh_test_data): Likewise.
23965 (ctanh_tonearest_test_data): Likewise.
23966 (ctanh_towardzero_test_data): Likewise.
23967 (ctanh_downward_test_data): Likewise.
23968 (ctanh_upward_test_data): Likewise.
23969 (erf_test_data): Likewise.
23970 (erfc_test_data): Likewise.
23971 (exp_test_data): Likewise.
23972 (exp_tonearest_test_data): Likewise.
23973 (exp_towardzero_test_data): Likewise.
23974 (exp_downward_test_data): Likewise.
23975 (exp_upward_test_data): Likewise.
23976 (exp10_test_data): Likewise.
23977 (exp2_test_data): Likewise.
23978 (expm1_test_data): Likewise.
23979 (fabs_test_data): Likewise.
23980 (fdim_test_data): Likewise.
23981 (finite_test_data): Likewise.
23982 (floor_test_data): Likewise.
23983 (fma_test_data): Likewise.
23984 (fma_towardzero_test_data): Likewise.
23985 (fma_downward_test_data): Likewise.
23986 (fma_upward_test_data): Likewise.
23987 (fmax_test_data): Likewise.
23988 (fmin_test_data): Likewise.
23989 (fmod_test_data): Likewise.
23990 (fpclassify_test_data): Likewise.
23991 (frexp_test_data): Likewise.
23992 (gamma_test_data): Likewise.
23993 (hypot_test_data): Likewise.
23994 (ilogb_test_data): Likewise.
23995 (isfinite_test_data): Likewise.
23996 (isgreater_test_data): Likewise.
23997 (isgreaterequal_test_data): Likewise.
23998 (isinf_test_data): Likewise.
23999 (isless_test_data): Likewise.
24000 (islessequal_test_data): Likewise.
24001 (islessgreater_test_data): Likewise.
24002 (isnan_test_data): Likewise.
24003 (isnormal_test_data): Likewise.
24004 (issignaling_test_data): Likewise.
24005 (isunordered_test_data): Likewise.
24006 (j0_test_data): Likewise.
24007 (j1_test_data): Likewise.
24008 (jn_test_data): Likewise.
24009 (ldexp_test_data): Likewise.
24010 (lgamma_test_data): Likewise.
24011 (lrint_test_data): Likewise.
24012 (lrint_tonearest_test_data): Likewise.
24013 (lrint_towardzero_test_data): Likewise.
24014 (lrint_downward_test_data): Likewise.
24015 (lrint_upward_test_data): Likewise.
24016 (llrint_test_data): Likewise.
24017 (llrint_tonearest_test_data): Likewise.
24018 (llrint_towardzero_test_data): Likewise.
24019 (llrint_downward_test_data): Likewise.
24020 (llrint_upward_test_data): Likewise.
24021 (log_test_data): Likewise.
24022 (log10_test_data): Likewise.
24023 (log1p_test_data): Likewise.
24024 (log2_test_data): Likewise.
24025 (logb_test_data): Likewise.
24026 (logb_downward_test_data): Likewise.
24027 (lround_test_data): Likewise.
24028 (llround_test_data): Likewise.
24029 (modf_test_data): Likewise.
24030 (nearbyint_test_data): Likewise.
24031 (nextafter_test_data): Likewise.
24032 (nexttoward_test_data): Likewise.
24033 (pow_test_data): Likewise.
24034 (pow_tonearest_test_data): Likewise.
24035 (pow_towardzero_test_data): Likewise.
24036 (pow_downward_test_data): Likewise.
24037 (pow_upward_test_data): Likewise.
24038 (remainder_test_data): Likewise.
24039 (remainder_tonearest_test_data): Likewise.
24040 (remainder_towardzero_test_data): Likewise.
24041 (remainder_downward_test_data): Likewise.
24042 (remainder_upward_test_data): Likewise.
24043 (remquo_test_data): Likewise.
24044 (rint_test_data): Likewise.
24045 (rint_tonearest_test_data): Likewise.
24046 (rint_towardzero_test_data): Likewise.
24047 (rint_downward_test_data): Likewise.
24048 (rint_upward_test_data): Likewise.
24049 (round_test_data): Likewise.
24050 (scalb_test_data): Likewise.
24051 (scalbn_test_data): Likewise.
24052 (scalbln_test_data): Likewise.
24053 (signbit_test_data): Likewise.
24054 (sin_test_data): Likewise.
24055 (sin_tonearest_test_data): Likewise.
24056 (sin_towardzero_test_data): Likewise.
24057 (sin_downward_test_data): Likewise.
24058 (sin_upward_test_data): Likewise.
24059 (sincos_test_data): Likewise.
24060 (sinh_test_data): Likewise.
24061 (sinh_tonearest_test_data): Likewise.
24062 (sinh_towardzero_test_data): Likewise.
24063 (sinh_downward_test_data): Likewise.
24064 (sinh_upward_test_data): Likewise.
24065 (sqrt_test_data): Likewise.
24066 (tan_test_data): Likewise.
24067 (tan_tonearest_test_data): Likewise.
24068 (tan_towardzero_test_data): Likewise.
24069 (tan_downward_test_data): Likewise.
24070 (tan_upward_test_data): Likewise.
24071 (tanh_test_data): Likewise.
24072 (tgamma_test_data): Likewise.
24073 (trunc_test_data): Likewise.
24074 (y0_test_data): Likewise.
24075 (y1_test_data): Likewise.
24076 (yn_test_data): Likewise.
24077 (significand_test_data): Likewise.
24079 * math/gen-libm-test.pl (@functions): Remove variable.
24080 (generate_testfile): Don't handle START and END lines.
24081 * math/libm-test.inc (START): New macro.
24083 (END_COMPLEX): Likewise.
24084 (acos_test): Use END macro without arguments.
24085 (acos_test_tonearest): Likewise.
24086 (acos_test_towardzero): Likewise.
24087 (acos_test_downward): Likewise.
24088 (acos_test_upward): Likewise.
24089 (acosh_test): Likewise.
24090 (asin_test): Likewise.
24091 (asin_test_tonearest): Likewise.
24092 (asin_test_towardzero): Likewise.
24093 (asin_test_downward): Likewise.
24094 (asin_test_upward): Likewise.
24095 (asinh_test): Likewise.
24096 (atan_test): Likewise.
24097 (atanh_test): Likewise.
24098 (atan2_test): Likewise.
24099 (cabs_test): Likewise.
24100 (cacos_test): Use END_COMPLEX macro without arguments.
24101 (cacosh_test): Likewise.
24102 (carg_test): Use END macro without arguments.
24103 (casin_test): Use END_COMPLEX macro without arguments.
24104 (casinh_test): Likewise.
24105 (catan_test): Likewise.
24106 (catanh_test): Likewise.
24107 (cbrt_test): Use END macro without arguments.
24108 (ccos_test): Use END_COMPLEX macro without arguments.
24109 (ccosh_test): Likewise.
24110 (ceil_test): Use END macro without arguments.
24111 (cexp_test): Use END_COMPLEX macro without arguments.
24112 (cimag_test): Use END macro without arguments.
24113 (clog_test): Use END_COMPLEX macro without arguments.
24114 (clog10_test): Likewise.
24115 (conj_test): Likewise.
24116 (copysign_test): Use END macro without arguments.
24117 (cos_test): Likewise.
24118 (cos_test_tonearest): Likewise.
24119 (cos_test_towardzero): Likewise.
24120 (cos_test_downward): Likewise.
24121 (cos_test_upward): Likewise.
24122 (cosh_test): Likewise.
24123 (cosh_test_tonearest): Likewise.
24124 (cosh_test_towardzero): Likewise.
24125 (cosh_test_downward): Likewise.
24126 (cosh_test_upward): Likewise.
24127 (cpow_test): Use END_COMPLEX macro without arguments.
24128 (cproj_test): Likewise.
24129 (creal_test): Use END macro without arguments.
24130 (csin_test): Use END_COMPLEX macro without arguments.
24131 (csinh_test): Likewise.
24132 (csqrt_test): Likewise.
24133 (ctan_test): Likewise.
24134 (ctan_test_tonearest): Likewise.
24135 (ctan_test_towardzero): Likewise.
24136 (ctan_test_downward): Likewise.
24137 (ctan_test_upward): Likewise.
24138 (ctanh_test): Likewise.
24139 (ctanh_test_tonearest): Likewise.
24140 (ctanh_test_towardzero): Likewise.
24141 (ctanh_test_downward): Likewise.
24142 (ctanh_test_upward): Likewise.
24143 (erf_test): Use END macro without arguments.
24144 (erfc_test): Likewise.
24145 (exp_test): Likewise.
24146 (exp_test_tonearest): Likewise.
24147 (exp_test_towardzero): Likewise.
24148 (exp_test_downward): Likewise.
24149 (exp_test_upward): Likewise.
24150 (exp10_test): Likewise.
24151 (exp2_test): Likewise.
24152 (expm1_test): Likewise.
24153 (fabs_test): Likewise.
24154 (fdim_test): Likewise.
24155 (finite_test): Likewise.
24156 (floor_test): Likewise.
24157 (fma_test): Likewise.
24158 (fma_test_towardzero): Likewise.
24159 (fma_test_downward): Likewise.
24160 (fma_test_upward): Likewise.
24161 (fmax_test): Likewise.
24162 (fmin_test): Likewise.
24163 (fmod_test): Likewise.
24164 (fpclassify_test): Likewise.
24165 (frexp_test): Likewise.
24166 (gamma_test): Likewise.
24167 (hypot_test): Likewise.
24168 (ilogb_test): Likewise.
24169 (isfinite_test): Likewise.
24170 (isgreater_test): Likewise.
24171 (isgreaterequal_test): Likewise.
24172 (isinf_test): Likewise.
24173 (isless_test): Likewise.
24174 (islessequal_test): Likewise.
24175 (islessgreater_test): Likewise.
24176 (isnan_test): Likewise.
24177 (isnormal_test): Likewise.
24178 (issignaling_test): Likewise.
24179 (isunordered_test): Likewise.
24180 (j0_test): Likewise.
24181 (j1_test): Likewise.
24182 (jn_test): Likewise.
24183 (ldexp_test): Likewise.
24184 (lgamma_test): Likewise.
24185 (lrint_test): Likewise.
24186 (lrint_test_tonearest): Likewise.
24187 (lrint_test_towardzero): Likewise.
24188 (lrint_test_downward): Likewise.
24189 (lrint_test_upward): Likewise.
24190 (llrint_test): Likewise.
24191 (llrint_test_tonearest): Likewise.
24192 (llrint_test_towardzero): Likewise.
24193 (llrint_test_downward): Likewise.
24194 (llrint_test_upward): Likewise.
24195 (log_test): Likewise.
24196 (log10_test): Likewise.
24197 (log1p_test): Likewise.
24198 (log2_test): Likewise.
24199 (logb_test): Likewise.
24200 (logb_test_downward): Likewise.
24201 (lround_test): Likewise.
24202 (llround_test): Likewise.
24203 (modf_test): Likewise.
24204 (nearbyint_test): Likewise.
24205 (nextafter_test): Likewise.
24206 (nexttoward_test): Likewise.
24207 (pow_test): Likewise.
24208 (pow_test_tonearest): Likewise.
24209 (pow_test_towardzero): Likewise.
24210 (pow_test_downward): Likewise.
24211 (pow_test_upward): Likewise.
24212 (remainder_test): Likewise.
24213 (remainder_test_tonearest): Likewise.
24214 (remainder_test_towardzero): Likewise.
24215 (remainder_test_downward): Likewise.
24216 (remainder_test_upward): Likewise.
24217 (remquo_test): Likewise.
24218 (rint_test): Likewise.
24219 (rint_test_tonearest): Likewise.
24220 (rint_test_towardzero): Likewise.
24221 (rint_test_downward): Likewise.
24222 (rint_test_upward): Likewise.
24223 (round_test): Likewise.
24224 (scalb_test): Likewise.
24225 (scalbn_test): Likewise.
24226 (scalbln_test): Likewise.
24227 (signbit_test): Likewise.
24228 (sin_test): Likewise.
24229 (sin_test_tonearest): Likewise.
24230 (sin_test_towardzero): Likewise.
24231 (sin_test_downward): Likewise.
24232 (sin_test_upward): Likewise.
24233 (sincos_test): Likewise.
24234 (sinh_test): Likewise.
24235 (sinh_test_tonearest): Likewise.
24236 (sinh_test_towardzero): Likewise.
24237 (sinh_test_downward): Likewise.
24238 (sinh_test_upward): Likewise.
24239 (sqrt_test): Likewise.
24240 (tan_test): Likewise.
24241 (tan_test_tonearest): Likewise.
24242 (tan_test_towardzero): Likewise.
24243 (tan_test_downward): Likewise.
24244 (tan_test_upward): Likewise.
24245 (tanh_test): Likewise.
24246 (tgamma_test): Likewise.
24247 (trunc_test): Likewise.
24248 (y0_test): Likewise.
24249 (y1_test): Likewise.
24250 (yn_test): Likewise.
24251 (significand_test): Likewise.
24253 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
24256 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24258 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24261 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24262 __ppc_mdoio and __ppc_mdoom.
24263 * manual/platform.texi: Document new functions __ppc_yield,
24264 __ppc_mdoio and __ppc_mdoom.
24266 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24268 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24269 (main): Mention "tls" pseudo-hwcap is legacy.
24270 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24272 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24274 * math/gen-libm-test.pl (parse_args): Output only string of
24275 arguments as text for test name, not full call or descriptions of
24276 tests for extra outputs.
24277 (generate_testfile): Do not pass function name to parse_args.
24278 Generate this_func variable from START.
24279 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24281 (struct test_ff_f_data): Likewise.
24282 (test_ff_f_data_nexttoward): Likewise.
24283 (struct test_fi_f_data): Likewise.
24284 (struct test_fl_f_data): Likewise.
24285 (struct test_if_f_data): Likewise.
24286 (struct test_fff_f_data): Likewise.
24287 (struct test_c_f_data): Likewise.
24288 (struct test_f_f1_data): Likewise. Remove field extra_name.
24289 (struct test_fF_f1_data): Likewise.
24290 (struct test_ffI_f1_data): Likewise.
24291 (struct test_c_c_data): Rename test_name field to arg_str.
24292 (struct test_cc_c_data): Likewise.
24293 (struct test_f_i_data): Likewise.
24294 (struct test_ff_i_data): Likewise.
24295 (struct test_f_l_data): Likewise.
24296 (struct test_f_L_data): Likewise.
24297 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24299 (COMMON_TEST_SETUP): New macro.
24300 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24301 (COMMON_TEST_CLEANUP): Likewise.
24302 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24303 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24305 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24306 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24308 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24309 (RUN_TEST_fff_f): Take argument string. Call new setup and
24311 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24312 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24314 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24315 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24317 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24318 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24320 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24321 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24323 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24324 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24326 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24327 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24329 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24330 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24332 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24333 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24335 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24336 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24338 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24339 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24341 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24342 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24344 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24345 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24347 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24348 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24350 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24351 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24353 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24354 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24356 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24358 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24360 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24361 to _sifields.sigfault.
24362 (si_addr_lsb): Define new macro.
24363 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24365 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24367 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24370 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24372 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24374 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24375 loading the domain.
24377 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24379 * math/gen-libm-test.pl (parse_args): Do not include expected
24380 result in test name.
24381 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24382 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24383 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24384 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24385 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24388 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24390 * benchtests/Makefile: Sort function entries.
24392 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24393 tanh, asinh, acosh, atanh.
24394 * benchtests/acos-inputs: New file.
24395 * benchtests/acosh-inputs: New file.
24396 * benchtests/asin-inputs: New file.
24397 * benchtests/asinh-inputs: New file.
24398 * benchtests/atanh-inputs: New file.
24399 * benchtests/cosh-inputs: New file.
24400 * benchtests/log-inputs: New file.
24401 * benchtests/sinh-inputs: New file.
24402 * benchtests/tanh-inputs: New file.
24404 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24407 * posix/tst-getaddrinfo4.c: New test.
24408 * posix/Makefile (tests): Add it.
24410 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24413 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24414 when no services were used.
24415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24416 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24418 2013-05-21 Andreas Schwab <schwab@suse.de>
24421 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24422 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24424 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24425 redundant variable declarations and reallocation of buffer when
24426 parsing as IPv6 address. Always set NSS status when called from
24427 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24428 buffer too small. Correct computation of needed size.
24429 * nss/Makefile (tests): Add test-digits-dots.
24430 * nss/test-digits-dots.c: New test.
24432 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24434 * benchtests/Makefile: Remove instructions for adding
24436 * benchtests/README: New file to explain how to execute and
24437 enhance the benchmark tests.
24439 2013-05-21 Andreas Schwab <schwab@suse.de>
24442 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24443 * setjmp/tst-sigsetjmp.c: New test.
24445 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24447 * sysdeps/x86_64/memset.S (memset): New implementation.
24448 (__bzero): Likewise.
24449 (__memset_tail): New function.
24451 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24453 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24454 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24455 __memcpy_sse2_unaligned ifunc selection.
24456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24457 Add memcpy-sse2-unaligned.S.
24458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24459 Add: __memcpy_sse2_unaligned.
24461 2013-05-19 Joseph Myers <joseph@codesourcery.com>
24464 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24465 math_force_eval before restoring floating-point envrionment.
24466 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24469 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24471 (__nearbyintl): Use math_force_eval before restoring
24472 floating-point environment.
24473 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24475 * math/gen-libm-test.pl (special_functions): Remove.
24476 (parse_args): Don't handle TEST_extra. Handle functions with no
24478 * math/libm-test.inc (struct test_sincos_data): Replace with
24479 struct test_fFF_11_data.
24480 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24481 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24482 (sincos_test_data): Change element type to struct
24483 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24484 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24485 RUN_TEST_LOOP_sincos.
24486 * math/README.libm-test: Don't mention special handling of
24487 individual functions.
24488 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24490 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24491 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24492 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24495 * math/gen-libm-test.pl (get_variable): Remove function.
24496 (parse_args): Don't show pointer parameters to call in test
24497 names. Use "extra output N" in test names for extra outputs
24498 rather than naming variables.
24500 2013-05-18 Joseph Myers <joseph@codesourcery.com>
24503 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24504 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24505 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24507 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24509 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24512 * math/gen-libm-test.pl (@tests): Remove variable.
24513 ($count): Likewise.
24514 (new_test): Remove function.
24515 (show_exceptions): New function.
24516 (special_functions): Use show_exceptions instead of new_test.
24517 (parse_args): Likewise.
24518 (generate_testfile): Pass only function name in generated call to
24519 print_max_error or print_complex_max_error.
24520 (get_ulps): Do not handle complex tests specially.
24521 (output_test): Rename to ...
24522 (get_all_ulps_for_test): ... this. Return a string rather than
24523 printing to a file. Require ulps to be present.
24524 (output_ulps): Generate arrays rather than #defines.
24525 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24526 (struct ulp_data): New type.
24527 (BUILD_COMPLEX_ULP): Remove macro.
24528 (compare_ulp_data): New function.
24529 (find_ulps): Likewise.
24530 (find_test_ulps): Likewise.
24531 (find_function_ulps): Likewise.
24532 (find_complex_function_ulps): Likewise.
24533 (print_max_error): Determine allowed ulps using
24534 find_function_ulps.
24535 (print_complex_max_error): Determine allowed ulps using
24536 find_complex_function_ulps.
24537 (check_float_internal): Determine max ulps using find_test_ulps.
24538 (check_float): Do not take max_ulp parameter. Update call to
24539 check_float_internal.
24540 (check_complex): Likewise.
24541 (check_int): Do not take max_ulp parameter.
24542 (check_long): Likewise.
24543 (check_bool): Likewise.
24544 (check_longlong): Likewise.
24545 (struct test_f_f_data): Remove max_ulp field.
24546 (struct test_ff_f_data): Likewise.
24547 (struct test_ff_f_data_nexttoward): Likewise.
24548 (struct test_fi_f_data): Likewise.
24549 (struct test_fl_f_data): Likewise.
24550 (struct test_if_f_data): Likewise.
24551 (struct test_fff_f_data): Likewise.
24552 (struct test_c_f_data): Likewise.
24553 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24554 (struct test_fF_f1_data): Likewise.
24555 (struct test_ffI_f1_data): Likewise.
24556 (struct test_c_c_data): Remove max_ulp field.
24557 (struct test_cc_c_data): Likewise.
24558 (struct test_f_i_data): Likewise.
24559 (struct test_ff_i_data): Likewise.
24560 (struct test_f_l_data): Likewise.
24561 (struct test_f_L_data): Likewise.
24562 (struct test_sincos_data): Likewise.
24563 (RUN_TEST_f_f): Do not handle ulps.
24564 (RUN_TEST_LOOP_f_f): Likewise.
24565 (RUN_TEST_2_f): Likewise.
24566 (RUN_TEST_LOOP_2_f): Likewise.
24567 (RUN_TEST_fff_f): Likewise.
24568 (RUN_TEST_LOOP_fff_f): Likewise.
24569 (RUN_TEST_c_f): Likewise.
24570 (RUN_TEST_LOOP_c_f): Likewise.
24571 (RUN_TEST_f_f1): Likewise.
24572 (RUN_TEST_LOOP_f_f1): Likewise.
24573 (RUN_TEST_fF_f1): Likewise.
24574 (RUN_TEST_LOOP_fF_f1): Likewise.
24575 (RUN_TEST_fI_f1): Likewise.
24576 (RUN_TEST_LOOP_fI_f1): Likewise.
24577 (RUN_TEST_ffI_f1): Likewise.
24578 (RUN_TEST_LOOP_ffI_f1): Likewise.
24579 (RUN_TEST_c_c): Likewise.
24580 (RUN_TEST_LOOP_c_c): Likewise.
24581 (RUN_TEST_cc_c): Likewise.
24582 (RUN_TEST_LOOP_cc_c): Likewise.
24583 (RUN_TEST_f_i): Likewise.
24584 (RUN_TEST_LOOP_f_i): Likewise.
24585 (RUN_TEST_f_i_tg): Likewise.
24586 (RUN_TEST_LOOP_f_i_tg): Likewise.
24587 (RUN_TEST_ff_i_tg): Likewise.
24588 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24589 (RUN_TEST_f_b): Likewise.
24590 (RUN_TEST_LOOP_f_b): Likewise.
24591 (RUN_TEST_f_b_tg): Likewise.
24592 (RUN_TEST_LOOP_f_b_tg): Likewise.
24593 (RUN_TEST_f_l): Likewise.
24594 (RUN_TEST_LOOP_f_l): Likewise.
24595 (RUN_TEST_f_L): Likewise.
24596 (RUN_TEST_LOOP_f_L): Likewise.
24597 (RUN_TEST_sincos): Likewise.
24598 (RUN_TEST_LOOP_sincos): Likewise.
24600 2013-05-17 Joseph Myers <joseph@codesourcery.com>
24604 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24605 main case of finite arguments, set rounding mode to FE_TONEAREST
24606 and discard exceptions.
24607 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24609 (remainder_tonearest_test_data): New variable.
24610 (remainder_test_tonearest): New function.
24611 (remainder_towardzero_test_data): New variable.
24612 (remainder_test_towardzero): New function.
24613 (remainder_downward_test_data): New variable.
24614 (remainder_test_downward): New function.
24615 (remainder_upward_test_data): New variable.
24616 (remainder_test_upward): New function.
24617 (main): Call the new test functions.
24619 * math/libm-test.inc (struct test_f_f1_data): Remove field
24621 (struct test_fF_f1_data): Likewise.
24622 (struct test_ffI_f1_data): Likewise.
24623 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24624 based on value of EXTRA_EXPECTED.
24625 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24626 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24627 EXTRA_VAR based on value of EXTRA_EXPECTED.
24628 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24629 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24630 EXTRA_VAR based on value of EXTRA_EXPECTED.
24631 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24632 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24633 EXTRA_VAR based on value of EXTRA_EXPECTED.
24634 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24635 * math/gen-libm-test.pl (parse_args): Don't output initializers
24636 for extra output values.
24638 * math/libm-test.inc (check_int): Expect result to be exactly
24639 equal to expected value and do not handle ulps.
24640 (check_long): Likewise.
24641 (check_longlong): Likewise.
24643 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24645 (cimag_test_data): Likewise.
24646 (conj_test_data): Likewise.
24647 (copysign_test_data): Likewise.
24648 (cproj_test_data): Likewise.
24649 (creal_test_data): Likewise.
24650 (fabs_test_data): Likewise.
24651 (fdim_test_data): Likewise.
24652 (finite_test_data): Likewise.
24653 (floor_test_data): Likewise.
24654 (fmax_test_data): Likewise.
24655 (fmin_test_data): Likewise.
24656 (fmod_test_data): Likewise.
24657 (fpclassify_test_data): Likewise.
24658 (frexp_test_data): Likewise.
24659 (ilogb_test_data): Likewise.
24660 (isfinite_test_data): Likewise.
24661 (isgreater_test_data): Likewise.
24662 (isgreaterequal_test_data): Likewise.
24663 (isinf_test_data): Likewise.
24664 (isless_test_data): Likewise.
24665 (islessequal_test_data): Likewise.
24666 (islessgreater_test_data): Likewise.
24667 (isnan_test_data): Likewise.
24668 (isnormal_test_data): Likewise.
24669 (issignaling_test_data): Likewise.
24670 (isunordered_test_data): Likewise.
24671 (ldexp_test_data): Likewise.
24672 (lrint_test_data): Likewise.
24673 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24674 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24675 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24676 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24677 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24678 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24680 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24681 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24682 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24683 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24685 (lrint_downward_test_data): Test for "inexact" exceptions.
24686 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24687 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24688 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24690 (lrint_upward_test_data): Test for "inexact" exceptions.
24691 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24693 (llrint_test_data): Test for "inexact" exceptions.
24694 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24695 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24696 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24697 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24698 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24699 (llrint_downward_test_data): Test for "inexact" exceptions.
24700 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24701 (llrint_upward_test_data): Test for "inexact" exceptions.
24702 (logb_test_data): Likewise.
24703 (logb_downward_test_data): Likewise.
24704 (nextafter_test_data): Likewise.
24705 (nexttoward_test_data): Likewise.
24706 (remainder_test_data): Likewise.
24707 (remquo_test_data): Likewise.
24708 (scalbn_test_data): Likewise.
24709 (scalbln_test_data): Likewise.
24710 (signbit_test_data): Likewise.
24711 (sqrt_test_data): Likewise.
24712 (significand_test_data): Likewise.
24714 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24717 * benchtests/bench-modf.c (struct args): Mark arg0 as
24719 * scripts/bench.pl: Mark members of struct args as volatile.
24721 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24724 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24725 negative infinity on POWER6 or lower.
24726 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24728 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24731 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24732 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24733 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24734 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24735 (_FP_SETQNAN): New macro.
24736 (_FP_SETQNAN_SEMIRAW): Likewise.
24737 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24738 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24739 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24740 (FP_EXTEND): Use _FP_FRAC_SNANP.
24741 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24742 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24744 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24746 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24749 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24751 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24752 with DIVIDE_BY_ZERO_EXCEPTION.
24753 (gamma_test_data): Likewise.
24754 (lgamma_test_data): Likewise.
24755 (log_test_data): Likewise.
24756 (log10_test_data): Likewise.
24757 (log2_test_data): Likewise.
24758 (tgamma_test_data): Likewise.
24760 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24761 (acos_test_tonearest): Likewise.
24762 (acos_test_towardzero): Likewise.
24763 (acos_test_downward): Likewise.
24764 (acos_test_upward): Likewise.
24765 (acosh_test): Likewise.
24766 (asin_test): Likewise.
24767 (asin_test_tonearest): Likewise.
24768 (asin_test_towardzero): Likewise.
24769 (asin_test_downward): Likewise.
24770 (asin_test_upward): Likewise.
24771 (asinh_test): Likewise.
24772 (atan_test): Likewise.
24773 (atanh_test): Likewise.
24774 (atan2_test): Likewise.
24775 (cabs_test): Likewise.
24776 (cacos_test): Likewise.
24777 (cacosh_test): Likewise.
24778 (casin_test): Likewise.
24779 (casinh_test): Likewise.
24780 (catan_test): Likewise.
24781 (catanh_test): Likewise.
24782 (cbrt_test): Likewise.
24783 (ccos_test): Likewise.
24784 (ccosh_test): Likewise.
24785 (cexp_test): Likewise.
24786 (clog_test): Likewise.
24787 (clog10_test): Likewise.
24788 (cos_test): Likewise.
24789 (cos_test_tonearest): Likewise.
24790 (cos_test_towardzero): Likewise.
24791 (cos_test_downward): Likewise.
24792 (cos_test_upward): Likewise.
24793 (cosh_test): Likewise.
24794 (cosh_test_tonearest): Likewise.
24795 (cosh_test_towardzero): Likewise.
24796 (cosh_test_downward): Likewise.
24797 (cosh_test_upward): Likewise.
24798 (cpow_test): Likewise.
24799 (csin_test): Likewise.
24800 (csinh_test): Likewise.
24801 (csqrt_test): Likewise.
24802 (ctan_test): Likewise.
24803 (ctan_test_tonearest): Likewise.
24804 (ctan_test_towardzero): Likewise.
24805 (ctan_test_downward): Likewise.
24806 (ctan_test_upward): Likewise.
24807 (ctanh_test): Likewise.
24808 (ctanh_test_tonearest): Likewise.
24809 (ctanh_test_towardzero): Likewise.
24810 (ctanh_test_downward): Likewise.
24811 (ctanh_test_upward): Likewise.
24812 (erf_test): Likewise.
24813 (erfc_test): Likewise.
24814 (exp_test): Likewise.
24815 (exp_test_tonearest): Likewise.
24816 (exp_test_towardzero): Likewise.
24817 (exp_test_downward): Likewise.
24818 (exp_test_upward): Likewise.
24819 (exp10_test): Likewise.
24820 (exp2_test): Likewise.
24821 (expm1_test): Likewise.
24822 (fmod_test): Likewise.
24823 (gamma_test): Likewise.
24824 (hypot_test): Likewise.
24825 (j0_test): Likewise.
24826 (j1_test): Likewise.
24827 (jn_test): Likewise.
24828 (lgamma_test): Likewise.
24829 (log_test): Likewise.
24830 (log10_test): Likewise.
24831 (log1p_test): Likewise.
24832 (log2_test): Likewise.
24833 (logb_test_downward): Likewise.
24834 (pow_test): Likewise.
24835 (pow_test_tonearest): Likewise.
24836 (pow_test_towardzero): Likewise.
24837 (pow_test_downward): Likewise.
24838 (pow_test_upward): Likewise.
24839 (remainder_test): Likewise.
24840 (remquo_test): Likewise.
24841 (sin_test): Likewise.
24842 (sin_test_tonearest): Likewise.
24843 (sin_test_towardzero): Likewise.
24844 (sin_test_downward): Likewise.
24845 (sin_test_upward): Likewise.
24846 (sincos_test): Likewise.
24847 (sinh_test): Likewise.
24848 (sinh_test_tonearest): Likewise.
24849 (sinh_test_towardzero): Likewise.
24850 (sinh_test_downward): Likewise.
24851 (sinh_test_upward): Likewise.
24852 (sqrt_test): Likewise.
24853 (tan_test): Likewise.
24854 (tan_test_tonearest): Likewise.
24855 (tan_test_towardzero): Likewise.
24856 (tan_test_downward): Likewise.
24857 (tan_test_upward): Likewise.
24858 (tanh_test): Likewise.
24859 (tgamma_test): Likewise.
24860 (y0_test): Likewise.
24861 (y1_test): Likewise.
24862 (yn_test): Likewise.
24864 * math/gen-libm-test.pl (adjust_arg): Remove function.
24865 (special_function): Remove argument $in_func. Only handle
24866 generating output for tables of tests, not inside functions.
24867 (parse_args): Likewise.
24868 (generate_testfile): Remove variable $in_func. Update call to
24870 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24871 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24872 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24873 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24874 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24875 (MAX_VALUE_INIT): Rename macro to max_value.
24876 (MIN_VALUE_INIT): Rename macro to min_value.
24877 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24878 (plus_zero): Remove variable.
24879 (minus_zero): Likewise.
24880 (plus_infty): Likewise.
24881 (minus_infty): Likewise.
24882 (qnan_value): Likewise.
24883 (max_value): Likewise.
24884 (min_value): Likewise.
24885 (min_subnorm_value): Likewise.
24887 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24889 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24890 uint64_t or uint32_t usage.
24891 * crypt/sha256-block.c: Likewise.
24892 * crypt/sha256-crypt.c: Likewise.
24893 * crypt/sha256.c: Likewise.
24894 * crypt/sha512-block.c: Likewise.
24895 * crypt/sha512-crypt.c: Likewise.
24896 * crypt/sha512.c: Likewise.
24897 * debug/backtrace-tst.c: Likewise.
24898 * debug/pcprofiledump.c: Likewise.
24899 * elf/cache.c: Likewise.
24900 * elf/dl-cache.c: Likewise.
24901 * elf/dl-misc.c: Likewise.
24902 * elf/dl-profile.c: Likewise.
24903 * elf/dl-support.c: Likewise.
24904 * elf/ldconfig.c: Likewise.
24905 * elf/sprof.c: Likewise.
24906 * iconv/dummy-repertoire.c: Likewise.
24907 * iconv/iconv_charmap.c: Likewise.
24908 * iconv/skeleton.c: Likewise.
24909 * iconvdata/8bit-generic.c: Likewise.
24910 * iconvdata/cp737.h: Likewise.
24911 * iconvdata/cp775.h: Likewise.
24912 * iconvdata/ibm1008.h: Likewise.
24913 * iconvdata/ibm1025.h: Likewise.
24914 * iconvdata/ibm1046.h: Likewise.
24915 * iconvdata/ibm1097.h: Likewise.
24916 * iconvdata/ibm1112.h: Likewise.
24917 * iconvdata/ibm1122.h: Likewise.
24918 * iconvdata/ibm1123.h: Likewise.
24919 * iconvdata/ibm1124.h: Likewise.
24920 * iconvdata/ibm1129.h: Likewise.
24921 * iconvdata/ibm1130.h: Likewise.
24922 * iconvdata/ibm1132.h: Likewise.
24923 * iconvdata/ibm1133.h: Likewise.
24924 * iconvdata/ibm1137.h: Likewise.
24925 * iconvdata/ibm1140.h: Likewise.
24926 * iconvdata/ibm1141.h: Likewise.
24927 * iconvdata/ibm1142.h: Likewise.
24928 * iconvdata/ibm1143.h: Likewise.
24929 * iconvdata/ibm1144.h: Likewise.
24930 * iconvdata/ibm1145.h: Likewise.
24931 * iconvdata/ibm1146.h: Likewise.
24932 * iconvdata/ibm1147.h: Likewise.
24933 * iconvdata/ibm1148.h: Likewise.
24934 * iconvdata/ibm1149.h: Likewise.
24935 * iconvdata/ibm1153.h: Likewise.
24936 * iconvdata/ibm1154.h: Likewise.
24937 * iconvdata/ibm1155.h: Likewise.
24938 * iconvdata/ibm1156.h: Likewise.
24939 * iconvdata/ibm1157.h: Likewise.
24940 * iconvdata/ibm1158.h: Likewise.
24941 * iconvdata/ibm1160.h: Likewise.
24942 * iconvdata/ibm1161.h: Likewise.
24943 * iconvdata/ibm1162.h: Likewise.
24944 * iconvdata/ibm1163.h: Likewise.
24945 * iconvdata/ibm1164.h: Likewise.
24946 * iconvdata/ibm1166.h: Likewise.
24947 * iconvdata/ibm1167.h: Likewise.
24948 * iconvdata/ibm12712.h: Likewise.
24949 * iconvdata/ibm1390.h: Likewise.
24950 * iconvdata/ibm1399.h: Likewise.
24951 * iconvdata/ibm16804.h: Likewise.
24952 * iconvdata/ibm4517.h: Likewise.
24953 * iconvdata/ibm4899.h: Likewise.
24954 * iconvdata/ibm4909.h: Likewise.
24955 * iconvdata/ibm4971.h: Likewise.
24956 * iconvdata/ibm5347.h: Likewise.
24957 * iconvdata/ibm803.h: Likewise.
24958 * iconvdata/ibm856.h: Likewise.
24959 * iconvdata/ibm901.h: Likewise.
24960 * iconvdata/ibm902.h: Likewise.
24961 * iconvdata/ibm9030.h: Likewise.
24962 * iconvdata/ibm9066.h: Likewise.
24963 * iconvdata/ibm921.h: Likewise.
24964 * iconvdata/ibm922.h: Likewise.
24965 * iconvdata/ibm9448.h: Likewise.
24966 * iconvdata/isiri-3342.h: Likewise.
24967 * iconvdata/jis0201.h: Likewise.
24968 * include/link.h: Likewise.
24969 * include/netdb.h: Likewise.
24970 * inet/check_native.c: Likewise.
24971 * inet/check_pf.c: Likewise.
24972 * inet/getipv4sourcefilter.c: Likewise.
24973 * inet/getnameinfo.c: Likewise.
24974 * inet/getsourcefilter.c: Likewise.
24975 * inet/htonl.c: Likewise.
24976 * inet/setipv4sourcefilter.c: Likewise.
24977 * inet/setsourcefilter.c: Likewise.
24978 * inet/test-inet6_opt.c: Likewise.
24979 * inet/tst-network.c: Likewise.
24980 * locale/C-collate.c: Likewise.
24981 * locale/C-ctype.c: Likewise.
24982 * locale/C-time.c: Likewise.
24983 * locale/C-translit.h: Likewise.
24984 * locale/loadarchive.c: Likewise.
24985 * locale/programs/3level.h: Likewise.
24986 * locale/programs/charmap.c: Likewise.
24987 * locale/programs/charmap.h: Likewise.
24988 * locale/programs/ld-address.c: Likewise.
24989 * locale/programs/ld-collate.c: Likewise.
24990 * locale/programs/ld-ctype.c: Likewise.
24991 * locale/programs/ld-identification.c: Likewise.
24992 * locale/programs/ld-measurement.c: Likewise.
24993 * locale/programs/ld-messages.c: Likewise.
24994 * locale/programs/ld-monetary.c: Likewise.
24995 * locale/programs/ld-name.c: Likewise.
24996 * locale/programs/ld-numeric.c: Likewise.
24997 * locale/programs/ld-paper.c: Likewise.
24998 * locale/programs/ld-telephone.c: Likewise.
24999 * locale/programs/ld-time.c: Likewise.
25000 * locale/programs/linereader.c: Likewise.
25001 * locale/programs/locale.c: Likewise.
25002 * locale/programs/locarchive.c: Likewise.
25003 * locale/programs/locfile.h: Likewise.
25004 * locale/programs/repertoire.c: Likewise.
25005 * locale/programs/simple-hash.c: Likewise.
25006 * locale/programs/simple-hash.h: Likewise.
25007 * malloc/memusage.c: Likewise.
25008 * malloc/memusagestat.c: Likewise.
25009 * nis/nis_defaults.c: Likewise.
25010 * nis/nis_hash.c: Likewise.
25011 * nis/nis_print.c: Likewise.
25012 * nis/nis_xdr.c: Likewise.
25013 * nscd/connections.c: Likewise.
25014 * nscd/hstcache.c: Likewise.
25015 * nscd/nscd_gethst_r.c: Likewise.
25016 * nscd/nscd_getserv_r.c: Likewise.
25017 * nscd/nscd_helper.c: Likewise.
25018 * nscd/servicescache.c: Likewise.
25019 * nss/makedb.c: Likewise.
25020 * nss/nss_db/db-XXX.c: Likewise.
25021 * nss/nss_db/db-initgroups.c: Likewise.
25022 * nss/nss_db/db-netgrp.c: Likewise.
25023 * nss/nss_files/files-network.c: Likewise.
25024 * nss/nss_files/files-parse.c: Likewise.
25025 * posix/bug-regex5.c: Likewise.
25026 * posix/fnmatch_loop.c: Likewise.
25027 * posix/regcomp.c: Likewise.
25028 * posix/regexec.c: Likewise.
25029 * posix/tst-rfc3484-2.c: Likewise.
25030 * posix/tst-rfc3484-3.c: Likewise.
25031 * posix/tst-rfc3484.c: Likewise.
25032 * resolv/nss_dns/dns-canon.c: Likewise.
25033 * resolv/nss_dns/dns-network.c: Likewise.
25034 * resolv/res_init.c: Likewise.
25035 * resolv/res_mkquery.c: Likewise.
25036 * resolv/tst-aton.c: Likewise.
25037 * stdlib/cxa_atexit.c: Likewise.
25038 * stdlib/cxa_finalize.c: Likewise.
25039 * stdlib/gen-fpioconst.c: Likewise.
25040 * stdlib/strtol_l.c: Likewise.
25041 * string/tst-endian.c: Likewise.
25042 * sunrpc/auth_des.c: Likewise.
25043 * sunrpc/clnt_udp.c: Likewise.
25044 * sunrpc/rtime.c: Likewise.
25045 * sunrpc/svcauth_des.c: Likewise.
25046 * sunrpc/xdr.c: Likewise.
25047 * sunrpc/xdr_intXX_t.c: Likewise.
25048 * sunrpc/xdr_rec.c: Likewise.
25049 * sysdeps/generic/ldconfig.h: Likewise.
25050 * sysdeps/generic/ldsodefs.h: Likewise.
25051 * sysdeps/generic/memusage.h: Likewise.
25052 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25055 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25058 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25059 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25060 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25062 * sysdeps/posix/getaddrinfo.c: Likewise.
25063 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25065 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25066 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25067 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25068 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25069 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25070 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25071 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25072 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25073 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25074 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25075 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25076 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25077 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25078 * sysdeps/x86_64/dl-tls.h: Likewise.
25079 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25080 * time/alt_digit.c: Likewise.
25081 * time/era.c: Likewise.
25082 * wcsmbs/tst-c16c32-1.c: Likewise.
25084 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25086 * math/libm-test.inc (struct test_sincos_data): New type.
25087 (RUN_TEST_LOOP_sincos): New macro.
25088 (sincos_test_data): New variable.
25089 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25091 2013-05-16 Richard Henderson <rth@redhat.com>
25093 * math/atest-exp2.c (LIMB64): New macro.
25094 (CONSTSZ): New macro.
25095 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25097 (print_mpn_fp): ... to function scope.
25098 (read_mpn_hex): Remove.
25099 (get_log2): Remove.
25100 (exp2_mpn): Use mp_log2.
25101 (main): Use mp_exp1.
25103 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25105 * math/libm-test.inc: Remove comment about not testing "inexact"
25107 (INEXACT_EXCEPTION): New macro.
25108 (NO_INEXACT_EXCEPTION): Likewise.
25109 (INVALID_EXCEPTION_OK): Update value.
25110 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25111 (OVERFLOW_EXCEPTION_OK): Likewise.
25112 (UNDERFLOW_EXCEPTION_OK): Likewise.
25113 (IGNORE_ZERO_INF_SIGN): Likewise.
25114 (ERRNO_UNCHANGED): Likewise.
25115 (ERRNO_EDOM): Likewise.
25116 (ERRNO_ERANGE): Likewise.
25117 (test_exceptions): Handle testing "inexact" exceptions.
25118 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25119 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25120 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25121 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25123 (rint_towardzero_test_data): Likewise.
25124 (rint_downward_test_data): Likewise.
25125 (rint_upward_test_data): Likewise.
25127 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25128 with OVERFLOW_EXCEPTION.
25129 (exp10_test_data): Likewise.
25130 (exp2_test_data): Likewise.
25131 (expm1_test_data): Likewise.
25132 (lgamma_test_data): Likewise.
25133 (pow_test_data): Likewise.
25134 (tgamma_test_data): Likewise.
25135 (yn_test_data): Remove duplicate test of overflow.
25137 * math/libm-test.inc (struct test_cc_c_data): New type.
25138 (RUN_TEST_LOOP_cc_c): New macro.
25139 (cpow_test_data): New variable.
25140 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25142 * math/libm-test.inc (struct test_f_L_data): New type.
25143 (RUN_TEST_LOOP_f_L): New macro.
25144 (llrint_test_data): New variable.
25145 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25146 (llrint_tonearest_test_data): New variable.
25147 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25148 (llrint_towardzero_test_data): New variable.
25149 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25150 (llrint_downward_test_data): New variable.
25151 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25152 (llrint_upward_test_data): New variable.
25153 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25154 (llround_test_data): New variable.
25155 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25157 2013-05-13 Peter Collingbourne <pcc@google.com>
25159 * math/atest-exp2.c (get_log2): Remove const attribute.
25161 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25163 * math/libm-test.inc (struct test_f_l_data): New type.
25164 (RUN_TEST_LOOP_f_l): New macro.
25165 (lrint_test_data): New variable.
25166 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25167 (lrint_tonearest_test_data): New variable.
25168 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25169 (lrint_towardzero_test_data): New variable.
25170 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25171 (lrint_downward_test_data): New variable.
25172 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25173 (lrint_upward_test_data): New variable.
25174 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25175 (lround_test_data): New variable.
25176 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25178 2013-05-15 Peter Collingbourne <pcc@google.com>
25180 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25181 (EXTRACT_WORDS64) Use where appropriate.
25182 (INSERT_WORDS64) Likewise.
25184 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25185 constraints with x constraints.
25186 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25188 * malloc/obstack.c (_obstack_compat): Add initializer.
25190 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25192 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25193 si_trapno and add si_addr_lsb to _sifields.sigfault.
25194 (si_trapno): Remove macro.
25195 (si_addr_lsb): Define new macro.
25196 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25198 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25200 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25201 instead of TEST_f_l.
25202 (llrint_test_tonearest): Likewise.
25203 (llrint_test_towardzero): Likewise.
25204 (llrint_test_downward): Likewise.
25205 (llrint_test_upward): Likewise.
25206 (llround_test): Likewise.
25208 * math/libm-test.inc (struct test_f_i_data): Add comment.
25209 (RUN_TEST_LOOP_f_b): New macro.
25210 (RUN_TEST_LOOP_f_b_tg): Likewise.
25211 (finite_test_data): New variable.
25212 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25213 (isfinite_test_data): New variable.
25214 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25215 (isinf_test_data): New variable.
25216 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25217 (isnan_test_data): New variable.
25218 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25219 (isnormal_test_data): New variable.
25220 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25221 (issignaling_test_data): New variable.
25222 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25223 (signbit_test_data): New variable.
25224 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25226 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25227 with INVALID_EXCEPTION.
25228 (acosh_test_data): Likewise.
25229 (asin_test_data): Likewise.
25230 (atanh_test_data): Likewise.
25231 (fmod_test_data): Likewise.
25232 (log_test_data): Likewise.
25233 (log10_test_data): Likewise.
25234 (log2_test_data): Likewise.
25235 (pow_test_data): Likewise.
25236 (sqrt_test_data): Likewise.
25237 (y0_test_data): Likewise.
25238 (y1_test_data): Likewise.
25239 (yn_test_data): Likewise.
25241 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25244 * math/libm-test.inc (struct test_ff_i_data): New type.
25245 (RUN_TEST_LOOP_ff_i_tg): New macro.
25246 (isgreater_test_data): New variable.
25247 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25248 (isgreaterequal_test_data): New variable.
25249 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25250 (isless_test_data): New variable.
25251 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25252 (islessequal_test_data): New variable.
25253 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25254 (islessgreater_test_data): New variable.
25255 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25256 (isunordered_test_data): New variable.
25257 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25259 2013-05-14 David S. Miller <davem@davemloft.net>
25261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25263 2013-05-14 Joseph Myers <joseph@codesourcery.com>
25265 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25267 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25269 (struct test_f_i_data): Change type of max_ulp to int.
25271 * math/libm-test.inc (test_ffI_f1_data): New type.
25272 (RUN_TEST_LOOP_ffI_f1): New macro.
25273 (remquo_test_data): New variable.
25274 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25276 * setjmp/tst-setjmp-fp.c: New file.
25277 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25278 (link-libm): New variable.
25279 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25281 * math/libm-test.inc (struct test_f_i_data): New type.
25282 (RUN_TEST_LOOP_f_i): New macro.
25283 (RUN_TEST_LOOP_f_i_tg): Likewise.
25284 (fpclassify_test_data): New variable.
25285 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25286 (ilogb_test_data): New variable.
25287 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25289 * math/libm-test.inc (scalbln_test): Correct function name in END
25292 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25293 (RUN_TEST_LOOP_fI_f1): New macro.
25294 (frexp_test_data): New variable.
25295 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25297 * math/libm-test.inc (struct test_fF_f1_data): New type.
25298 (RUN_TEST_LOOP_fF_f1): New macro.
25299 (modf_test_data): New variable.
25300 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25302 * math/libm-test.inc (struct test_f_f1_data): New type.
25303 (RUN_TEST_LOOP_f_f1): New macro.
25304 (gamma_test_data): New variable.
25305 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25306 (lgamma_test_data): New variable.
25307 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25309 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25311 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25312 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25313 (main): Comment "tls" pseudo-hwcap.
25315 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25317 * math/libm-test.inc (struct test_fl_f_data): New type.
25318 (RUN_TEST_LOOP_fl_f): New variable.
25319 (scalbln_test_data): New variable.
25320 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25322 * math/libm-test.inc (struct test_fi_f_data): New type.
25323 (RUN_TEST_LOOP_fi_f): New macro.
25324 (ldexp_test_data): New variable.
25325 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25326 (scalbn_test_data): New variable.
25327 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25329 * math/libm-test.inc (struct test_c_f_data): New type.
25330 (RUN_TEST_LOOP_c_f): New macro.
25331 (cabs_test_data): New variable.
25332 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25333 (carg_test_data): New variable.
25334 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25335 (cimag_test_data): New variable.
25336 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25337 (creal_test_data): New variable.
25338 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25340 * math/libm-test.inc (struct test_if_f_data): New type.
25341 (RUN_TEST_LOOP_if_f): New macro.
25342 (jn_test_data): New variable.
25343 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25344 (yn_test_data): New variable.
25345 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25347 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25349 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25351 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25352 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25354 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25356 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25357 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25358 (bench-deps): Add bench-timing.h.
25359 * benchtests-bench-skeleton.c: Include bench-timing.h.
25360 (main): Use TIMING_* macros instead of clock_gettime.
25361 * benchtests/bench-timing.h: New file.
25364 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25365 Renamed from _LIB_VERSION.
25366 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25368 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25370 * math/libm-test.inc (struct test_fff_f_data): New type.
25371 (RUN_TEST_LOOP_fff_f): New macro.
25372 (fma_test_data): New variable.
25373 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25374 (fma_towardzero_test_data): New variable.
25375 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25376 (fma_downward_test_data): New variable.
25377 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25378 (fma_upward_test_data): New variable.
25379 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25381 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25382 (struct test_c_c_data): New type.
25383 (RUN_TEST_LOOP_c_c): New macro.
25384 (cacos_test_data): New variable.
25385 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25386 (cacosh_test_data): New variable.
25387 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25388 (casin_test_data): New variable.
25389 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25390 (casinh_test_data): New variable.
25391 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25392 (catan_test_data): New variable.
25393 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25394 (catanh_test_data): New variable.
25395 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25396 (ccos_test_data): New variable.
25397 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25398 (ccosh_test_data): New variable.
25399 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25400 (cexp_test_data): New variable.
25401 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25402 (clog_test_data): New variable.
25403 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25404 (clog10_test_data): New variable.
25405 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25406 (conj_test_data): New variable.
25407 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25408 (cproj_test_data): New variable.
25409 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25410 (csin_test_data): New variable.
25411 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25412 (csinh_test_data): New variable.
25413 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25414 (csqrt_test_data): New variable.
25415 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25416 (ctan_test_data): New variable.
25417 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25418 (ctan_tonearest_test_data): New variable.
25419 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25420 (ctan_towardzero_test_data): New variable.
25421 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25422 (ctan_downward_test_data): New variable.
25423 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25424 (ctan_upward_test_data): New variable.
25425 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25426 (ctanh_test_data): New variable.
25427 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25428 (ctanh_tonearest_test_data): New variable.
25429 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25430 (ctanh_towardzero_test_data): New variable.
25431 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25432 (ctanh_downward_test_data): New variable.
25433 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25434 (ctanh_upward_test_data): New variable.
25435 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25436 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25439 * math/libm-test.inc (struct test_ff_f_data): New type.
25440 (struct test_ff_f_data_nexttoward): Likewise.
25441 (RUN_TEST_LOOP_2_f): New macro.
25442 (RUN_TEST_LOOP_ff_f): Likewise.
25443 (atan2_test_data): New variable.
25444 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25445 (copysign_test_data): New variable.
25446 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25447 (fdim_test_data): New variable.
25448 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25449 (fmax_test_data): New variable.
25450 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25451 (fmin_test_data): New variable.
25452 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25453 (fmod_test_data): New variable.
25454 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25455 (hypot_test_data): New variable.
25456 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25457 (nextafter_test_data): New variable.
25458 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25459 (nexttoward_test_data): New variable.
25460 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25461 (pow_test_data): New variable.
25462 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25463 (pow_tonearest_test_data): New variable.
25464 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25465 (pow_towardzero_test_data): New variable.
25466 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25467 (pow_downward_test_data): New variable.
25468 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25469 (pow_upward_test_data): New variable.
25470 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25471 (remainder_test_data): New variable.
25472 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25473 (scalb_test_data): New variable.
25474 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25475 * sysdeps/i386/fpu/libm-test-ulps: Update.
25477 2013-05-11 Joseph Myers <joseph@codesourcery.com>
25479 * math/libm-test.inc (fma_test): Use max_value instead of local
25481 (nextafter_test): Likewise.
25483 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25484 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25485 (acos_downward_test_data): New variable.
25486 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25487 (acos_upward_test_data): New variable.
25488 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25489 (acosh_test_data): New variable.
25490 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25491 (asin_test_data): New variable.
25492 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25493 (asin_tonearest_test_data): New variable.
25494 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25495 (asin_towardzero_test_data): New variable.
25496 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25497 (asin_downward_test_data): New variable.
25498 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25499 (asin_upward_test_data): New variable.
25500 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25501 (asinh_test_data): New variable.
25502 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25503 (atan_test_data): New variable.
25504 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25505 (atanh_test_data): New variable.
25506 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25507 (cbrt_test_data): New variable.
25508 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25509 (ceil_test_data): New variable.
25510 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25511 (cos_test_data): New variable.
25512 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25513 (cos_tonearest_test_data): New variable.
25514 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25515 (cos_towardzero_test_data): New variable.
25516 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25517 (cos_downward_test_data): New variable.
25518 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25519 (cos_upward_test_data): New variable.
25520 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25521 (cosh_test_data): New variable.
25522 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25523 (cosh_tonearest_test_data): New variable.
25524 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25525 (cosh_towardzero_test_data): New variable.
25526 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25527 (cosh_downward_test_data): New variable.
25528 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25529 (cosh_upward_test_data): New variable.
25530 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25531 (erf_test_data): New variable.
25532 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25533 (erfc_test_data): New variable.
25534 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25535 (exp_test_data): New variable.
25536 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25537 (exp_tonearest_test_data): New variable.
25538 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25539 (exp_towardzero_test_data): New variable.
25540 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25541 (exp_downward_test_data): New variable.
25542 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25543 (exp_upward_test_data): New variable.
25544 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25545 (exp10_test_data): New variable.
25546 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25547 (exp2_test_data): New variable.
25548 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25549 (expm1_test_data): New variable.
25550 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25551 (fabs_test_data): New variable.
25552 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25553 (floor_test_data): New variable.
25554 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25555 (j0_test_data): New variable.
25556 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25557 (j1_test_data): New variable.
25558 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25559 (log_test_data): New variable.
25560 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25561 (log10_test_data): New variable.
25562 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25563 (log1p_test_data): New variable.
25564 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25565 (log2_test_data): New variable.
25566 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25567 (logb_test_data): New variable.
25568 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25569 (logb_downward_test_data): New variable.
25570 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25571 (nearbyint_test_data): New variable.
25572 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25573 (rint_test_data): New variable.
25574 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25575 (rint_tonearest_test_data): New variable.
25576 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25577 (rint_towardzero_test_data): New variable.
25578 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25579 (rint_downward_test_data): New variable.
25580 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25581 (rint_upward_test_data): New variable.
25582 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25583 (round_test_data): New variable.
25584 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25585 (sin_test_data): New variable.
25586 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25587 (sin_tonearest_test_data): New variable.
25588 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25589 (sin_towardzero_test_data): New variable.
25590 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25591 (sin_downward_test_data): New variable.
25592 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25593 (sin_upward_test_data): New variable.
25594 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25595 (sinh_test_data): New variable.
25596 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25597 (sinh_tonearest_test_data): New variable.
25598 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25599 (sinh_towardzero_test_data): New variable.
25600 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25601 (sinh_downward_test_data): New variable.
25602 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25603 (sinh_upward_test_data): New variable.
25604 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25605 (sqrt_test_data): New variable.
25606 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25607 (tan_test_data): New variable.
25608 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25609 (tan_tonearest_test_data): New variable.
25610 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25611 (tan_towardzero_test_data): New variable.
25612 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25613 (tan_downward_test_data): New variable.
25614 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25615 (tan_upward_test_data): New variable.
25616 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25617 (tanh_test_data): New variable.
25618 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25619 (tgamma_test_data): New variable.
25620 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25621 (trunc_test_data): New variable.
25622 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25623 (y0_test_data): New variable.
25624 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25625 (y1_test_data): New variable.
25626 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25627 (significand_test_data): New variable.
25628 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25630 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25633 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25635 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25637 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25639 2013-05-10 Andreas Jaeger <aj@suse.de>
25642 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25643 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25645 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25647 * math/gen-libm-test.pl (adjust_arg): New function.
25648 (special_functions): Handle generating output in both functions
25650 (parse_args): Likewise.
25651 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25652 $in_func argument to parse_args.
25653 * math/libm-test.inc (struct test_f_f_data): New type.
25654 (IF_ROUND_INIT_): New macro.
25655 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25656 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25657 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25658 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25659 (ROUND_RESTORE_): Likewise.
25660 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25661 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25662 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25663 (ROUND_RESTORE_FE_UPWARD): Likewise.
25664 (RUN_TEST_LOOP_f_f): New macro.
25665 (acos_test_data): New variable.
25666 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25667 (acos_tonearest_test_data): New variable.
25668 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25670 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25672 * benchtests/bench-skeleton.c (startup): Fix coding style.
25674 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25677 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25678 negative infinity argument.
25679 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25680 negative infinity argument.
25681 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25682 negative infinity argument.
25683 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25686 2013-05-10 Florian Weimer <fweimer@redhat.com>
25688 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25689 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25690 * iconv/iconv_prog.c (main): Likewise.
25691 * locale/programs/charmap-dir.c (charmap_readdir)
25692 (fopen_uncompressed): Likewise.
25693 * locale/programs/locfile.c (siblings_uncached)
25694 (write_locale_data): Use lstat64 instead of lstat.
25695 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25698 2013-05-10 Andreas Jaeger <aj@suse.de>
25701 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25703 Include <locale.h>.
25705 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25707 * elf/dl-close.c (_dl_close_worker): Add comments.
25709 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25714 (__ieee754_rem_pio2l): Update comments.
25717 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25719 (__ieee754_rem_pio2l): Update comments.
25721 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25722 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25724 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25727 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25728 (M_PI_34_LOG10El): Likewise.
25729 (M_PI2_LOG10El): Likewise.
25730 (M_PI4_LOG10El): Likewise.
25731 (M_PI_LOG10El): Likewise.
25733 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25737 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25739 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25740 (MINUS_ZERO_INIT): Likewise.
25741 (PLUS_INFTY_INIT): Likewise.
25742 (MINUS_INFTY_INIT): Likewise.
25743 (QNAN_VALUE_INIT): Likewise.
25744 (MAX_VALUE_INIT): Likewise.
25745 (MIN_VALUE_INIT): Likewise.
25746 (MIN_SUBNORM_VALUE_INIT): Likewise.
25747 (plus_zero): Initialize with PLUS_ZERO_INIT.
25748 (minus_zero): Initialize with MINUS_ZERO_INIT.
25749 (plus_infty): Initialize with PLUS_INFTY_INIT.
25750 (minus_infty): Initialize with MINUS_INFTY_INIT.
25751 (qnan_value): Initialize with QNAN_VALUE_INIT.
25752 (max_value): Initialize with MAX_VALUE_INIT.
25753 (min_value): Initialize with MIN_VALUE_INIT.
25754 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25756 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25757 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25758 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25759 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25761 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25762 (RUN_TEST_2_f): Likewise.
25763 (RUN_TEST_ff_f): Likewise.
25764 (RUN_TEST_fi_f): Likewise.
25765 (RUN_TEST_fl_f): Likewise.
25766 (RUN_TEST_fff_f): Likewise.
25767 (RUN_TEST_c_f): Likewise.
25768 (RUN_TEST_f_f1): Likewise.
25769 (RUN_TEST_fF_f1): Likewise.
25770 (RUN_TEST_fI_f1): Likewise.
25771 (RUN_TEST_ffI_f1): Likewise.
25772 (RUN_TEST_c_c): Likewise.
25773 (RUN_TEST_cc_c): Likewise.
25774 (RUN_TEST_f_i): Likewise.
25775 (RUN_TEST_f_i_tg): Likewise.
25776 (RUN_TEST_ff_i_tg): Likewise.
25777 (RUN_TEST_f_b): Likewise.
25778 (RUN_TEST_f_b_tg): Likewise.
25779 (RUN_TEST_f_l): Likewise.
25780 (RUN_TEST_f_L): Likewise.
25781 (RUN_TEST_sincos): Likewise.
25782 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25783 whether to show exceptions. Do not include ");\n" in return
25785 (special_functions): Output call to RUN_TEST_sincos instead of
25786 check_float calls. Update calls to new_test.
25787 (parse_args): Output call to single RUN_TEST_* macro instead of
25788 check_* calls and other assignments. Update calls to new_test.
25794 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25795 input to result for tgamma overflow.
25796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25797 (gamma_coeff): New variable.
25798 (NCOEFF): New macro.
25799 (gamma_positive): New function.
25800 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25801 underflow here. Use gamma_positive instead of exp (lgamma) for
25803 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25804 (gamma_coeff): New variable.
25805 (NCOEFF): New macro.
25806 (gammaf_positive): New function.
25807 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25808 underflow here. Use gamma_positive instead of exp (lgamma) for
25810 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25811 (gamma_coeff): New variable.
25812 (NCOEFF): New macro.
25813 (gammal_positive): New function.
25814 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25815 underflow here. Use gamma_positive instead of exp (lgamma) for
25817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25818 (gamma_coeff): New variable.
25819 (NCOEFF): New macro.
25820 (gammal_positive): New function.
25821 (__ieee754_gammal_r): Handle positive infinity, overflow and
25822 underflow here. Handle NaN the same as positive infinity. Remove
25823 check x < 0xffffffff for negative integers. Use gamma_positive
25824 instead of exp (lgamma) for other arguments.
25825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25826 (gamma_coeff): New variable.
25827 (NCOEFF): New macro.
25828 (gammal_positive): New function.
25829 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25830 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25831 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25832 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25833 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25834 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25835 * sysdeps/generic/math_private.h (__gamma_productf): New
25837 (__gamma_product): Likewise.
25838 (__gamma_productl): Likewise.
25839 * math/Makefile (libm-calls): Add gamma_product.
25840 * math/libm-test.inc (tgamma_test): Add more tests.
25841 * sysdeps/i386/fpu/libm-test-ulps: Update.
25842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25844 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25846 * benchtests/bench-skeleton.c (main): Preheat CPU.
25848 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25850 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25852 2013-05-07 Roland McGrath <roland@hack.frob.com>
25854 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25855 and _dl_skip_args_internal.
25857 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25859 * manual/message.texi (Message Translation): Talk about users.
25860 Message to key mapping impacts design.
25862 2013-05-06 Roland McGrath <roland@hack.frob.com>
25864 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25866 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25868 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25869 * sysdeps/wordsize-64/glob64.c: ... here.
25871 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25872 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25875 * debug/getlogin_r_chk.c: Moved to ...
25876 * login/getlogin_r_chk.c: ... here.
25877 * debug/Makefile (routines): Move getlogin_r_chk to ...
25878 * login/Makefile (routines): ... here.
25879 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25880 * login/Versions (libc: GLIBC_2.4): ... here.
25882 * io/poll.c (__poll): Renamed from poll.
25883 Add libc_hidden_def.
25884 (poll): Define as weak alias.
25886 * debug/ptsname_r_chk.c: Moved to ...
25887 * login/ptsname_r_chk.c: ... here.
25888 * debug/Makefile (routines): Move ptsname_r_chk to ...
25889 * login/Makefile (routines): ... here.
25890 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25891 * login/Versions (libc: GLIBC_2.4): ... here.
25893 * posix/getlogin.c: Moved to ...
25894 * login/getlogin.c: ... here.
25895 * posix/getlogin_r.c: Moved to ...
25896 * login/getlogin_r.c: ... here.
25897 * posix/getlogin_r.c: Moved to ...
25898 * login/getlogin_r.c: ... here.
25899 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25900 * login/Makefile (routines): ... here.
25901 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25902 * login/Versions (libc: GLIBC_2.0): ... here.
25904 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25905 (setrlimit): Define as weak alias.
25907 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25908 Call __ names for open, ftruncate, and close.
25909 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25910 (truncate): Define as weak alias.
25912 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25914 * math/gen-libm-test.pl (parse_args): Initialize x before each
25915 test of frexp, modf and remquo.
25917 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25918 test signgam value.
25920 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25924 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25926 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25928 2013-05-06 Roland McGrath <roland@hack.frob.com>
25930 * elf/dl-writev.h: New file.
25931 * elf/dl-misc.c: Include it.
25932 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25933 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25935 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25937 * math/libm-test.inc (noXFails): Remove variable.
25938 (noXPasses): Likewise.
25939 (BUILD_COMPLEX_INT): Remove macro.
25940 (print_screen): Remove xfail argument.
25941 (print_screen_max_error): Likewise.
25942 (update_stats): Likewise.
25943 (print_max_error): Likewise. Update calls to other affected
25945 (print_complex_max_error): Likewise.
25946 (test_single_exception): Update calls to print_screen.
25947 (test_single_errno): Likewise.
25948 (check_float_internal): Remove xfail argument. Update calls to
25949 other affected functions.
25950 (check_float): Likewise.
25951 (check_complex): Likewise.
25952 (check_int): Likewise.
25953 (check_long): Likewise.
25954 (check_bool): Likewise.
25955 (check_longlong): Likewise.
25956 (main): Don't print noXFails and noXPasses.
25957 * math/gen-libm-test.pl (top level): Don't mention expected
25958 failure handling in comment.
25959 (new_test): Don't handle expected failures.
25960 (parse_args): Don't mention expected failure handling in comment.
25961 (generate_testfile): Don't handle expected failures.
25962 (parse_ulps): Likewise.
25963 (print_ulps_file): Likewise.
25964 (get_failure): Remove function.
25965 (output_test): Don't handle expected failures.
25966 * make/README.libm-test: Don't mention expected failure handling.
25968 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25969 (minus_zero): Likewise.
25970 (plus_infty): Likewise.
25971 (minus_infty): Likewise.
25972 (qnan_value): Likewise.
25973 (max_value): Likewise.
25974 (min_value): Likewise.
25975 (min_subnorm_value): Likewise.
25976 (initialize): Do not initialize those variables dynamically.
25978 2013-05-03 Roland McGrath <roland@hack.frob.com>
25980 * io/open.c (__open_2): Moved to ...
25981 * io/open_2.c: ... this new file.
25982 * io/open64.c (__open64_2): Moved to ...
25983 * io/open64_2.c: ... this new file.
25984 * io/openat.c (__openat_2): Moved to ...
25985 * io/openat_2.c: ... this new file.
25986 * io/openat64.c (__openat64_2): Moved to ...
25987 * io/openat64_2.c: ... this new file.
25988 * io/Makefile (routines): Add them.
25989 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25990 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25991 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25992 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25993 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25994 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25995 (__openat64): Add hidden_ver.
25996 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25997 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25999 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26000 Separately conditionalize setting of GLRO(dl_sysinfo) so
26001 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26002 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26004 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26006 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26009 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26010 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26011 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26012 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26013 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26015 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26017 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26018 test signgam value.
26020 * math/libm-test.inc (hypot_test): Do not use
26021 IGNORE_ZERO_INF_SIGN.
26023 2013-05-03 Andreas Jaeger <aj@suse.de>
26025 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26027 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26028 (PF_MAX): Adjust for VSOCK change.
26030 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26034 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26037 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26038 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26039 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26041 2013-05-02 David S. Miller <davem@davemloft.net>
26043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26045 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26047 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26049 2013-05-01 Roland McGrath <roland@hack.frob.com>
26051 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26053 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26056 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26057 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26058 Use __attribute__ ((__gnu_inline__)).
26059 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26060 Don't use __attribute__ ((__gnu_inline__)).
26062 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26065 * math/s_catan.c (__catan): Handle small real or imaginary part of
26066 input specially to avoid spurious underflow.
26067 * math/s_catanf.c (__catanf): Likewise.
26068 * math/s_catanh.c (__catanh): Likewise.
26069 * math/s_catanhf.c (__catanhf): Likewise.
26070 * math/s_catanhl.c (__catanhl): Likewise.
26071 * math/s_catanl.c (__catanl): Likewise.
26072 * math/libm-test.inc (catan_test): Add more tests.
26073 (catanh_test): Likewise.
26074 * sysdeps/i386/fpu/libm-test-ulps: Update.
26075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26077 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26081 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26084 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26085 accurately for denominator in atan2.
26086 * math/s_catanf.c (__catanf): Likewise.
26087 * math/s_catanh.c (__catanh): Likewise.
26088 * math/s_catanhf.c (__catanhf): Likewise.
26089 * math/s_catanhl.c (__catanhl): Likewise.
26090 * math/s_catanl.c (__catanl): Likewise.
26091 * math/libm-test.inc (catan_test): Add more tests.
26092 (catanh_test): Likewise.
26093 * sysdeps/i386/fpu/libm-test-ulps: Update.
26094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26096 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26098 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26100 * benchtests/Makefile (bench): Remove slow benchmarks.
26101 * benchtests/atan-inputs: Add slow benchmark inputs.
26102 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26103 (BENCH_FUNC): Accept variant offset.
26105 * benchtests/bench-skeleton.c (main): Run benchmark for each
26107 * benchtests/cos-inputs: Add slow benchmark inputs.
26108 * benchtests/exp-inputs: Likewise.
26109 * benchtests/pow-inputs: Likewise.
26110 * benchtests/sin-inputs: Likewise.
26111 * benchtests/slowatan-inputs: Remove.
26112 * benchtests/slowatan.c: Remove.
26113 * benchtests/slowcos-inputs: Remove.
26114 * benchtests/slowcos.c: Remove.
26115 * benchtests/slowexp-inputs: Remove.
26116 * benchtests/slowexp.c: Remove.
26117 * benchtests/slowpow-inputs: Remove.
26118 * benchtests/slowpow.c: Remove.
26119 * benchtests/slowsin-inputs: Remove.
26120 * benchtests/slowsin.c: Remove.
26121 * benchtests/slowtan-inputs: Remove.
26122 * benchtests/slowtan.c: Remove.
26123 * benchtests/tan-inputs: Add slow benchmark inputs.
26124 * scripts/bench.pl: Parse comments and directives.
26126 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26128 ($(objpfx)bench-%.c): Remove *-ITER.
26129 * benchtests/bench-modf.c: Remove definition of ITER.
26130 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26131 (main): Loop for DURATION seconds instead of fixed number of
26133 * scripts/bench.pl: Don't expect iterations in parameters.
26135 2013-04-29 Roland McGrath <roland@hack.frob.com>
26137 * io/fchdir.c (__fchdir): Renamed from fchdir.
26138 (fchdir): Define as weak alias.
26140 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26142 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26143 (ERRNO_EDOM): Likewise.
26144 (ERRNO_ERANGE): Likewise.
26145 (noErrnoTests): New variable.
26146 (init_max_error): Set errno to 0.
26147 (test_single_errno): New function.
26148 (test_errno): Likewise.
26149 (check_float_internal): Call test_errno. Set errno to 0.
26150 (check_complex): Refer to errno tests in comment.
26151 (check_int): Call test_errno. Set errno to 0.
26152 (check_long): Likewise.
26153 (check_bool): Likewise.
26154 (check_longlong): Likewise.
26155 (cos_test): Use ERRNO_* flags for errno tests instead of
26157 (expm1_test): Likewise.
26158 (fmod_test): Likewise.
26159 (ilogb_test): Likewise.
26160 (lgamma_test): Likewise.
26161 (pow_test): Likewise.
26162 (remainder_test): Likewise.
26163 (sin_test): Likewise.
26164 (tan_test): Likewise.
26165 (yn_test): Likewise.
26166 (initialize): Set errno to 0.
26167 (main): Print number of errno tests.
26168 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26170 2013-04-29 Andreas Jaeger <aj@suse.de>
26173 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26177 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26178 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26182 * stdlib/random.c (__initstate): Return NULL if
26186 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26187 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26190 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26194 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26196 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26197 of individual tests.
26198 (casin_test): Likewise.
26199 (casinh_test): Likewise.
26201 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26204 * math/s_catan.c (__catan): Handle arguments with large real or
26205 imaginary part separately without squaring.
26206 * math/s_catanf.c (__catanf): Likewise.
26207 * math/s_catanh.c (__catanh): Likewise.
26208 * math/s_catanhf.c (__catanhf): Likewise.
26209 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26211 (__catanhl): Handle arguments with large real or imaginary part
26212 separately without squaring.
26213 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26215 (__catanl): Handle arguments with large real or imaginary part
26216 separately without squaring.
26217 * math/libm-test.inc (catan_test): Add more tests.
26218 (catanh_test): Likewise.
26219 * sysdeps/i386/fpu/libm-test-ulps: Update.
26220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26222 2013-04-27 Andreas Jaeger <aj@suse.de>
26225 * stdlib/stdlib.h: Update guards for qecvt.
26226 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26229 2013-04-27 Allan McRae <allan@archlinux.org>
26231 * sysdeps/i386/fpu/libm-test-ulps: Update.
26233 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26236 * math/s_catan.c: Include <float.h>.
26237 (__catan): Ensure underflow exception occurs for underflowed
26239 * math/s_catanf.c: Include <float.h>.
26240 (__catanf): Ensure underflow exception occurs for underflowed
26242 * math/s_catanh.c: Include <float.h>.
26243 (__catanh): Ensure underflow exception occurs for underflowed
26245 * math/s_catanhf.c: Include <float.h>.
26246 (__catanhf): Ensure underflow exception occurs for underflowed
26248 * math/s_catanhl.c: Include <float.h>.
26249 (__catanhl): Ensure underflow exception occurs for underflowed
26251 * math/s_catanl.c: Include <float.h>.
26252 (__catanl): Ensure underflow exception occurs for underflowed
26254 * math/libm-test.inc (catan_test): Add more tests.
26255 (catanh_test): Likewise.
26258 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26259 underflowed result.
26260 * math/s_ccoshf.c (__ccoshf): Likewise.
26261 * math/s_ccoshl.c (__ccoshl): Likewise.
26262 * math/s_csin.c (__csin): Likewise.
26263 * math/s_csinf.c (__csinf): Likewise.
26264 * math/s_csinh.c (__csinh): Likewise.
26265 * math/s_csinhf.c (__csinhf): Likewise.
26266 * math/s_csinhl.c (__csinhl): Likewise.
26267 * math/s_csinl.c (__csinl): Likewise.
26268 * math/libm-test.inc (ccos_test): Add more tests.
26269 (ccosh_test): Likewise.
26270 (csin_test): Likewise.
26271 (csinh_test): Likewise.
26273 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26275 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26276 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26277 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26278 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26279 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26280 powerpc/power5+/fpu folders.
26281 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26284 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26288 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26290 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26291 additions to variable.
26292 [$(config-machine) = x86_64] (modules-names): Likewise.
26293 ($(objpfx)tst-audit3): Remove dependency.
26294 ($(objpfx)tst-audit3.out): Likewise.
26295 ($(objpfx)tst-audit4): Likewise.
26296 ($(objpfx)tst-audit4.out): Likewise.
26297 ($(objpfx)tst-audit5): Likewise.
26298 ($(objpfx)tst-audit5.out): Likewise.
26299 ($(objpfx)tst-audit6): Likewise.
26300 ($(objpfx)tst-audit6.out): Likewise.
26301 ($(objpfx)tst-audit7): Likewise.
26302 ($(objpfx)tst-audit7.out): Likewise.
26303 (tst-audit3-ENV): Remove variable.
26304 (tst-audit4-ENV): Likewise.
26305 (tst-audit5-ENV): Likewise.
26306 (tst-audit6-ENV): Likewise.
26307 (tst-audit7-ENV): Likewise.
26308 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26309 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26310 addition to variable.
26311 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26312 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26313 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26314 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26315 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26316 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26317 tst-audit3, tst-audit4 and tst-audit5.
26318 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26319 tst-audit6 and tst-audit7.
26320 [$(subdir) = elf] (modules-names): Add audit modules for those
26322 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26323 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26324 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26325 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26326 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26327 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26328 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26329 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26330 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26331 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26332 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26333 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26334 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26335 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26336 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26337 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26339 [$(subdir) = elf && $(config-cflags-avx) = yes]
26340 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26341 [$(subdir) = elf && $(config-cflags-avx) = yes]
26342 (CFLAGS-tst-auditmod4a.c): Likewise.
26343 [$(subdir) = elf && $(config-cflags-avx) = yes]
26344 (CFLAGS-tst-auditmod4b.c): Likewise.
26345 [$(subdir) = elf && $(config-cflags-avx) = yes]
26346 (CFLAGS-tst-auditmod6b.c): Likewise.
26347 [$(subdir) = elf && $(config-cflags-avx) = yes]
26348 (CFLAGS-tst-auditmod6c.c): Likewise.
26349 [$(subdir) = elf && $(config-cflags-avx) = yes]
26350 (CFLAGS-tst-auditmod7b.c): Likewise.
26351 * elf/tst-audit3.c: Move to ...
26352 * sysdeps/x86_64/tst-audit3.c: ... here.
26353 * elf/tst-audit4.c: Move to ...
26354 * sysdeps/x86_64/tst-audit4.c: ... here.
26355 * elf/tst-audit5.c: Move to ...
26356 * sysdeps/x86_64/tst-audit5.c: ... here.
26357 * elf/tst-audit6.c: Move to ...
26358 * sysdeps/x86_64/tst-audit6.c: ... here.
26359 * elf/tst-audit7.c: Move to ...
26360 * sysdeps/x86_64/tst-audit7.c: ... here.
26361 * elf/tst-auditmod3a.c: Move to ...
26362 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26363 * elf/tst-auditmod3b.c: Move to ...
26364 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26365 * elf/tst-auditmod4a.c: Move to ...
26366 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26367 * elf/tst-auditmod4b.c: Move to ...
26368 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26369 * elf/tst-auditmod5a.c: Move to ...
26370 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26371 * elf/tst-auditmod5b.c: Move to ...
26372 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26373 * elf/tst-auditmod6a.c: Move to ...
26374 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26375 * elf/tst-auditmod6b.c: Move to ...
26376 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26377 * elf/tst-auditmod6c.c: Move to ...
26378 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26379 * elf/tst-auditmod7a.c: Move to ...
26380 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26381 * elf/tst-auditmod7b.c: Move to ...
26382 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26384 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26387 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26388 define unconditionally.
26389 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26390 define unconditionally.
26391 (INT8_C, INT16_C, etc.): Likewise.
26393 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26395 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26396 __ehdr_start with hidden visibility.
26398 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26400 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26402 * math/libm-test.inc (cos_test): Use accurate hex constants.
26403 (sincost_test): Likewise.
26405 2013-04-24 Joseph Myers <joseph@codesourcery.com>
26407 * math/libm-test.inc (catan_test): Add more tests.
26408 (catanh_test): Likewise.
26410 * math/s_catanf.c (__catanf): Use suffixed floating-point
26412 * math/s_catanhf.c (__catanhf): Likewise.
26413 * math/s_catanhl.c (__catanhl): Likewise.
26414 * math/s_catanl.c (__catanl): Likewise.
26417 * math/s_catan.c (__catan): Calculate imaginary part of result
26418 with log1p not log unless computing log of number close to 0.
26419 * math/s_catanf.c (__catanf): Likewise.
26420 * math/s_catanl.c (__catanl): Likewise.
26421 * math/s_catanh.c (__catanh): Calculate real part of result with
26422 log1p not log unless computing log of number close to 0.
26423 * math/s_catanhf.c (__catanhf): Likewise.
26424 * math/s_catanhl.c (__catanhl): Likewise.
26425 * math/libm-test.inc (catan_test): Add more tests.
26426 (catanh_test): Likewise.
26427 * sysdeps/i386/fpu/libm-test-ulps: Update.
26428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26430 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26432 * benchtests/Makefile: Mention files in which fast and slow
26433 paths of math functions are implemented.
26435 2013-04-23 Roland McGrath <roland@hack.frob.com>
26437 * sysdeps/posix/timespec_get.c: New file.
26439 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26441 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26443 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26445 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26446 powerpc/power5/fpu folders.
26447 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26448 * benchtests/Makefile: Add modf testcase.
26449 * benchtests/bench-modf.c: New file: Benchmark test for mo
26451 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26454 * time/Makefile (tests): Add tst-strptime-whitespace.
26455 * time/strptime_l.c (get_number): Use ISSPACE.
26456 (__strptime_internal): Likewise.
26457 * time/tst-strptime-whitespace.c: New test case.
26459 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26461 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26463 (_nss_files_init): Set it here.
26465 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26467 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26468 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26471 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26473 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26475 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26477 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26480 2013-04-21 David S. Miller <davem@davemloft.net>
26482 * po/ru.po: Update Russion translation from translation project.
26484 2013-04-17 Adam Conrad <adconrad@0c3.net>
26486 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26489 2013-04-17 Carlos O'Donell <carlos@redhat.com>
26491 * configure.in: Remove i386 configure warning. Remove i386 case.
26492 * configure: Regenerate.
26493 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26494 Add example to error message.
26495 * sysdeps/i386/configure: Regenerate.
26497 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26499 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26501 * benchtests/cos-inputs: New file.
26502 * benchtests/slowcos-inputs: New file.
26503 * benchtests/slowcos.c: New file.
26504 * benchtests/slowtan-inputs: New file.
26505 * benchtests/slowtan.c: New file.
26506 * benchtests/tan-inputs: New file.
26508 2013-04-16 Roland McGrath <roland@hack.frob.com>
26510 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26513 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26515 * benchtests/Makefile: Include cppflags-iterator.mk to add
26516 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26518 * Makefile.in (bench-clean): New target.
26519 * benchtests/Makefile (bench-clean): Likewise.
26521 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26523 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26525 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26527 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26529 2013-04-15 Andreas Schwab <schwab@suse.de>
26531 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26533 * nscd/pwdcache.c (cache_addpw): Likewise.
26534 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26537 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26539 * benchtests/Makefile (bench): Write all output to
26540 bench-out.tmp together.
26542 2013-04-15 Andreas Schwab <schwab@suse.de>
26544 * nscd/nscd.c (main): Don't fork again after closing files.
26546 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26548 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26550 * benchtests/Rules (bench-deps): Collect dependencies into a
26551 single variable. Add Makefile to dependencies.
26552 ($(objpfx)bench-%.c): Depend on bench-deps.
26554 2013-04-12 Roland McGrath <roland@hack.frob.com>
26555 Xavier Roche <roche+kml2@exalead.com>
26558 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26559 just that it's a file descriptor.
26560 * manual/llio.texi (Synchronizing AIO Operations): Update description
26561 for EBADF error from aio_fsync.
26563 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26565 * Rules (bench): Move target definition...
26566 * benchtests/Makefile: ... here.
26568 2013-04-11 Carlos O'Donell <carlos@redhat.com>
26570 * math/libm-test.inc (cos_test): Fix PI/2 test.
26571 (sincos_test): Likewise.
26572 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26573 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26575 2013-04-11 Andreas Schwab <schwab@suse.de>
26578 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26579 accept exponent character only when digits were seen.
26580 * stdio-common/Makefile (tests): Add bug26.
26581 * stdio-common/bug26.c: New file.
26584 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26587 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26589 * Makeconfig (rtld-prefix): Define built linker prefix.
26590 * Rules (run-bench): Use it.
26591 * math/Makefile (run-regen-ulps): Likewise.
26593 * Rules (bench): Remove eval.
26595 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26596 Roland McGrath <roland@hack.frob.com>
26597 Ondrej Bilka <neleai@seznam.cz>
26600 * time/getdate.c: Include ctype.h and alloca.h.
26601 (__getdate_r): Trim leading and trailing spaces of input.
26602 * time/tst-getdate.c (tests): Add tests with leading and
26605 2013-04-08 Roland McGrath <roland@hack.frob.com>
26608 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26609 when computing value.
26611 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26613 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26614 Use testrun.sh to run libm tests.
26617 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26619 2013-04-06 Marko Myllynen <myllynen@redhat.com>
26622 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26624 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26626 * Makefile.in (regen-ulps): New target.
26627 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26628 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26629 [ifneq (no,$(PERL)] (regen-ulps): New target.
26630 [ifeq (no,$(PERL)] (regen-ulps): New target.
26631 * math/libm-test.inc (ulps_file_name): Define.
26632 (output_dir): New variable.
26633 (options): Add "output-dir" option.
26634 (parse_opt): Handle 'o' case.
26635 (main): If output_dir is non-NULL use it as a prefix
26637 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26639 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26641 [BZ #10060, #10062]
26642 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26643 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26644 fail configure if __sync_val_compare_and_swap is not inlined.
26645 * sysdeps/i386/configure: Regenerate.
26646 * configure.in: Build for i686 when configured for i386.
26647 * configure: Regenerate.
26648 * README: Remove i386 reference.
26650 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26652 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26653 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26655 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26657 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26658 (lmsnanval): New variables.
26659 (F): Add conversion tests.
26660 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26661 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26663 * stdio-common/tstdiomisc.c (F): Properly collect individual
26666 [BZ #14686, #15336]
26667 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26668 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26669 Instead, use input NaN values or generate a qNaN by arithmetic
26670 operation. Also fix bugs to comply with the standard.
26671 * math/libm-test.inc (remainder_test): Add more tests.
26673 [BZ #15335, #15342]
26674 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26676 input NaN values or generate a qNaN by arithmetic operation.
26678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26681 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26684 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26687 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26688 underflowed result.
26689 * math/s_cexpf.c (__cexpf): Likewise.
26690 * math/s_cexpl.c (__cexpl): Likewise.
26691 * math/libm-test.inc (cexp_test): Add more tests.
26693 2013-04-03 Andreas Schwab <schwab@suse.de>
26696 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26697 order arrays from heap if bigger than alloca cutoff.
26699 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26701 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26702 (SNAN_TESTS_double): Refer to GCC PR56831.
26703 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26706 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26708 * Rules (bench): Move bench.out after the run is complete.
26710 * Rules (bench): Echo currently running benchmark.
26712 * benchtests/Makefile (bench): Add atan and slowatan.
26713 * benchtests/atan-inputs: New file.
26714 * benchtests/slowatan-inputs: New file.
26715 * benchtests/slowatan.c: New file.
26717 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26718 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26722 * sysdeps/unix/sysv/linux/kernel-features.h
26723 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26724 __ASSUME_XFS_RESTRICTED_CHOWN.
26725 * sysdeps/unix/sysv/linux/pathconf.c
26726 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26727 Save and restore errno.
26729 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26732 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26733 arguments using __kernel_casinh.
26734 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26735 arguments using __kernel_casinhf.
26736 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26737 arguments using __kernel_casinhl.
26738 * math/libm-test.inc (cacosh_test): Add more tests.
26739 * sysdeps/i386/fpu/libm-test-ulps: Update.
26740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26742 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26744 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26747 * bench/Makefile (bench): Add sin and slowsin.
26748 * benchtests/sin-inputs: New file.
26749 * benchtests/slowsin-inputs: New file.
26750 * benchtests/slowsin.c: New file.
26752 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26753 (bench): Add slowexp and slowpow.
26754 (exp-ITER): Increase iterations.
26755 (pow-ITER): Likewise.
26756 * benchtests/exp-inputs: Change input.
26757 * benchtests/pow-inputs: Likewise.
26758 * benchtests/slowexp-inputs: New file.
26759 * benchtests/slowexp.c: New file.
26760 * benchtests/slowpow-inputs: New file.
26761 * benchtests/slowpow.c: New file.
26763 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26765 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26767 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26768 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26769 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26770 * benchtests/Makefile: Add rint benchtest.
26771 * benchtests/rint-inputs: Input for rint benchtest.
26773 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26775 * Versions.def (libm): Add GLIBC_2.18.
26776 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26777 hidden libm prototypes.
26778 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26779 * math/Makefile (libm-calls): Add s_issignaling.
26780 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26781 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26782 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26784 * math/math.h [__USE_GNU] (issignaling): New macro.
26785 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26786 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26787 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26788 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26791 * manual/arith.texi (issignaling): New section.
26792 * manual/libm-err-tab.pl (@all_functions): Update comment.
26793 * math/gen-libm-test.pl (parse_args): Apply special handling for
26795 * math/libm-test.inc (print_float, issignaling_test): New
26797 (check_float_internal): Add issignaling checks.
26798 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26799 default definition.
26800 * sysdeps/powerpc/math-tests.h: New file.
26801 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26803 * math/test-snan.c (TEST_FUNC): Likewise.
26805 2013-03-30 David S. Miller <davem@davemloft.net>
26807 * po/de.po: Update from translation team.
26809 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26812 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26813 imaginary part less than 1.0 and real part less than 0.5
26815 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26816 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26817 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26818 (cacos_test): Add more tests.
26819 (casin_test): Likewise.
26820 (casinh_test): Likewise.
26821 * sysdeps/i386/fpu/libm-test-ulps: Update.
26822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26824 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26826 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26827 ONE with its value.
26829 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26830 (__pow_mp): Replace ONE and MONE with their values.
26831 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26833 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26834 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26835 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26836 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26838 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26840 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26841 (__pow_mp): Replace ZERO and MZERO with their values.
26842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26843 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26846 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26847 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26850 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26852 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26854 2013-03-28 Roland McGrath <roland@hack.frob.com>
26856 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26857 Declare with __attribute__ ((weak)).
26858 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26859 Call __call_tls_dtors only if it's not NULL.
26861 2013-03-28 Roland McGrath <roland@hack.frob.com>
26863 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26864 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26865 magic __ehdr_start linker symbol if it's defined.
26866 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26867 them up here if it was already done.
26869 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26870 (_dl_aux_init): Use const in cast when setting it.
26871 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26872 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26873 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26875 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26877 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26878 * csu/libc-tls.c: Nor here.
26879 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26881 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26882 (__libc_message): Never call vsyslog.
26884 2013-03-28 Alan Modra <amodra@gmail.com>
26886 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26888 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26891 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26894 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26898 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26901 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26902 Don't add gid passed as argument.
26904 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26906 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26909 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26910 imaginary part between 1.0 and 1.5 and real part less than 0.5
26912 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26913 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26914 * math/libm-test.inc (cacos_test): Add more tests.
26915 (casin_test): Likewise.
26916 (casinh_test): Likewise.
26917 * sysdeps/i386/fpu/libm-test-ulps: Update.
26918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26920 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26922 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26925 (denorm): Likewise.
26926 (__dbl_mp): Likewise.
26927 (add_magnitudes): Likewise.
26928 (sub_magnitudes): Likewise.
26936 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26938 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26939 (__dubcos): Likewise.
26940 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26941 (__ieee754_acos): Likewise.
26942 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26943 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26944 (__exp1): Likewise.
26945 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26948 (my_log2): Likewise.
26949 (checkint): Likewise.
26950 * sysdeps/ieee754/dbl-64/e_remainder.c
26951 (__ieee754_remainder): Likewise.
26952 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26953 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26954 (bsloww): Likewise.
26955 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26957 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26958 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26959 MANTISSA_STORE_T to store computations on mantissa. Use
26960 macros for rounding and division.
26961 (denorm): Likewise.
26962 (__dbl_mp): Likewise.
26963 (add_magnitudes): Likewise.
26964 (sub_magnitudes): Likewise.
26967 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26968 powers of two in terms of TWOPOW macro.
26969 (mp_no): Make type of mantissa as MANTISSA_T.
26970 [!RADIXI]: Define RADIXI.
26971 [!TWO52]: Define TWO52.
26972 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26974 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26976 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26977 llroundl symbol when building for PPC32.
26979 2013-03-24 Mark H Weaver <mhw@netris.org>
26981 * manual/arith.texi (Normalization Functions): Fix prototypes for
26982 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26984 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26988 high value to check if expl overflow.
26989 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26990 to check for underflow and overflow.
26991 * math/libm-test.inc: Add exp test.
26993 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26996 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26999 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27001 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27004 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27006 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27007 wrap blocks consisting of several statements.
27009 * sysdeps/generic/math-tests.h: New file.
27010 * sysdeps/i386/fpu/math-tests.h: Likewise.
27011 * math/test-snan.c: Include it.
27012 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27014 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27017 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27018 (__ieee754_j0l): Do not improve calculations using cos of twice
27019 input for inputs above LDBL_MAX / 2.0L.
27020 (__ieee754_y0l): Likewise.
27021 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27022 (__ieee754_j1l): Do not improve calculations using cos of twice
27023 input for inputs above LDBL_MAX / 2.0L.
27024 (__ieee754_y1l): Likewise.
27025 * math/libm-test.inc (j0_test): Add another test.
27026 (j1_test): Likewise.
27027 (y0_test): Likewise.
27028 (y1_test): Likewise.
27029 * sysdeps/i386/fpu/libm-test-ulps: Update.
27031 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27033 * Rules ($(objpfx)bench-%.c): Include code from a C source
27036 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27039 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27040 imaginary part 1.0 and real part less than 0.5 specially.
27041 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27042 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27043 * math/libm-test.inc (cacos_test): Add more tests.
27044 (casin_test): Likewise.
27045 (casinh_test): Likewise.
27046 * sysdeps/i386/fpu/libm-test-ulps: Update.
27047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27049 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27052 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27054 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27056 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27057 * config.make.in (config-cflags-sse4): Remove variable.
27058 (config-cflags-avx): Likewise.
27059 (config-cflags-sse2avx): Likewise.
27060 (config-cflags-novzeroupper): Likewise.
27061 (config-asflags-i686): Likewise.
27062 (have-mfma4): Likewise.
27063 (have-as-vis3): Likewise.
27065 * configure.in (MIG): Do not AC_SUBST.
27066 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27067 (libc_cv_cc_sse4): Do not AC_SUBST.
27068 (libc_cv_cc_avx): Likewise.
27069 (libc_cv_cc_sse2avx): Likewise.
27070 (libc_cv_cc_novzeroupper): Likewise.
27071 (libc_cv_cc_fma4): Likewise.
27072 (libc_cv_as_i686): Likewise.
27073 (libc_cv_sparc_as_vis3): Likewise.
27074 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27076 (config-asflags-i686): Likewise.
27077 (config-cflags-avx): Likewise.
27078 (config-cflags-sse2avx): Likewise.
27079 (have-mfma4): Likewise.
27080 (config-cflags-novzeroupper): Likewise.
27081 * sysdeps/mach/configure.in (MIG): Likewise.
27082 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27083 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27085 (config-cflags-avx): Likewise.
27086 (config-cflags-sse2avx): Likewise.
27087 (have-mfma4): Likewise.
27088 (config-cflags-novzeroupper): Likewise.
27089 * configure: Regenerated.
27090 * sysdeps/i386/configure: Likewise.
27091 * sysdeps/mach/configure: Likewise.
27092 * sysdeps/sparc/configure: Likewise.
27093 * sysdeps/x86_64/configure: Likewise.
27095 2013-03-20 Roland McGrath <roland@hack.frob.com>
27098 * locale/programs/localedef.c (options): Put N_ translation marker
27099 on argument names, not just descriptions.
27101 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27103 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27105 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27108 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27110 2013-03-19 Roland McGrath <roland@hack.frob.com>
27112 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27113 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27114 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27115 [!BEFORE_ABORT] (before_abort): New function.
27116 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27117 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27118 (writev_for_fatal): New function.
27119 (WRITEV_FOR_FATAL): New macro; call that.
27120 (backtrace_and_maps): New function.
27121 (BEFORE_ABORT): New macro; call that.
27122 (struct str_list): Type removed.
27123 (__libc_message, __libc_fatal): Functions removed.
27124 Include <sysdeps/posix/libc_fatal.c> instead.
27126 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27128 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27130 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27133 2013-03-19 Andreas Schwab <schwab@suse.de>
27135 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27136 * sysdeps/gnu/configure: Regenerate.
27138 * configure.in: Substitute libc_cv_rtlddir.
27139 * configure: Regenerate.
27140 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27141 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27142 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27143 * elf/Makefile (install-others, CFLAGS-interp.c)
27144 (ldso_install, common-ldd-rewrite): Likewise.
27145 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27146 $(inst_slibdir)/$(rtld-installed-name).
27147 * scripts/rellns-sh: Add -p option.
27148 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27151 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27153 * manual/nptl.texi: Renamed to ...
27154 * manual/threads.texi: ... this.
27155 * manual/Makefile (chapters): Update.
27157 2013-03-18 Roland McGrath <roland@hack.frob.com>
27160 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27161 on argument names, not just descriptions.
27162 * malloc/memusagestat.c (options): Likewise.
27163 * nss/getent.c (options): Likewise.
27165 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27168 * iconv/iconv_prog.c (options): Put N_ translation marker
27169 on argument names, not just descriptions.
27170 * iconv/iconvconfig.c (options): Likewise.
27172 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27174 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27175 implementation which is faster on all x86_64 architectures.
27176 Tested on AMD, Intel Nehalem, SNB, IVB.
27177 * sysdeps/x86_64/strnlen.S: Likewise.
27179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27180 Remove all multiarch strlen and strnlen versions.
27181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27182 Remove strlen and strnlen related parts.
27184 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27185 Inline strlen part.
27186 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27188 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27189 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27190 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27191 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27192 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27193 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27195 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27197 * manual/memory.texi (Malloc Tunable Parameters):
27198 Sort parameters alphabetically. Add comments for missing entries.
27200 2013-03-17 David S. Miller <davem@davemloft.net>
27202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27204 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27207 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27208 for arguments at most half maximum finite value.
27209 * math/libm-test.inc (j0_test): Add more tests.
27210 (j1_test): Likewise.
27211 (y0_test): Likewise.
27212 (y1_test): Likewise.
27213 * sysdeps/i386/fpu/libm-test-ulps: Update.
27214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27217 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27218 1 / x and functions P and Q for arguments above 0x1p256L.
27219 (__ieee754_y0l): Likewise.
27220 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27221 (__ieee754_y1l): Likewise.
27222 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27223 (j1_test): Likewise.
27224 (y0_test): Likewise.
27225 (y1_test): Likewise.
27227 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27229 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27232 2013-03-15 Roland McGrath <roland@hack.frob.com>
27234 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27235 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27236 zero since it's initialized to EXEC_PAGESIZE.
27238 * sysdeps/unix/sysv/linux/ldsodefs.h
27239 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27240 * sysdeps/generic/ldsodefs.h: ... here.
27242 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27244 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27246 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27248 * math/test-snan.c: Renamed from
27249 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27250 * math/Makefile (tests): Add test-snan.
27251 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27254 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27255 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27257 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27258 __builtin_nan family of functions.
27259 * math/libm-test.inc (initialize): Initialize qnan_value with
27260 __builtin_nan family of functions.
27261 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27263 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27265 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27266 storage class. Initialize qNaN_var and sNaN_var with
27267 __builtin_nan and __builtin_nans families of functions,
27270 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27271 (sqrt_test): Remove duplicate test with qNaN input.
27272 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27273 (round_test, signbit_test, significand_test): Note missing +/-Inf
27274 as well as qNaN tests.
27276 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27277 qNaN_var. Fix a few strings, too.
27278 * math/libm-test.inc (nan_value): Rename to qnan_value.
27279 * math/gen-libm-test.pl (%beautify): Adjust to that.
27280 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27281 * math/test-misc.c (main): Likewise.
27282 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27283 to __qnan_bytes, and __qnan_union, respectively.
27284 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27286 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27287 and lqnanval, respectively.
27288 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27289 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27290 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27291 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27293 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27294 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27297 * math/test-misc.c (main): Fix copy'n'pastos.
27298 * misc/tst-efgcvt.c (special): Likewise.
27300 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27301 Remove declarations.
27303 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27305 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27306 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27307 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27308 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27310 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27312 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27313 macro to return vdso values correctly in IFUNC implementations.
27314 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27315 Optimization by using IFUNC.
27317 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27318 Richard Henderson <rth@redhat.com>
27319 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27321 * Makefile.in (bench): New target.
27322 * NEWS: Mention the benchmark framework.
27323 * Rules (bench): Likewise.
27324 (binaries-bench): Generate binaries for functions to
27326 * benchtests/Makefile: New makefile for benchmark tests.
27327 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27329 * benchtests/exp-inputs: New input file for EXP function.
27330 * benchtests/pow-inputs: New input file for POW function.
27331 * scripts/bench.pl: New script to generate source files for
27332 benchmark programs.
27334 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27336 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27338 computations on mantissa. Use macros for rounding and
27340 (denorm): Likewise.
27341 (__dbl_mp): Likewise.
27342 (add_magnitudes): Likewise.
27343 (sub_magnitudes): Likewise.
27346 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27347 powers of two in terms of TWOPOW macro.
27348 (mp_no): Make type of mantissa as MANTISSA_T.
27349 [!RADIXI]: Define RADIXI.
27350 [!TWO52]: Define TWO52.
27351 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27353 * manual/nptl.texi (cindex): Modify threads to pthreads.
27355 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27357 * sysdeps/x86_64/preconfigure: Regenerated.
27359 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27362 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27364 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27365 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27367 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27368 * math/libm-test.inc (j0_test): Do not allow one spurious
27369 underflow exception.
27370 (y1_test): Likewise.
27372 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27374 * manual/Makefile (chapters): Add nptl.
27375 * manual/debug.texi (Debugging Support): Add link to Threads
27377 * manual/nptl.texi: New file.
27379 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27381 2013-03-14 Petr Baudis <pasky@ucw.cz>
27383 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27384 for non-NULL pointer before the memory validity test. Pointed
27385 out by Holger Brunck <holger.brunck@keymile.com>.
27387 2013-03-13 Andreas Schwab <schwab@suse.de>
27389 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27392 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27394 * timezone/zic.c: Update from tzcode 2013b.
27396 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27398 * manual/install.texi (Configuring and compiling):
27399 Mention i686 and i586.
27400 * INSTALL: Regenerate.
27402 2013-03-12 Roland McGrath <roland@hack.frob.com>
27404 * sysdeps/init_array/elf-init.c: New file.
27406 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27407 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27409 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27410 __gmon_start__ as global, but as static with a .preinit_array pointer.
27411 * sysdeps/init_array/gmon-start.c: New file. Use that.
27412 * sysdeps/init_array/crti.S: New file, empty except for comments.
27413 * sysdeps/init_array/crtn.S: Likewise.
27415 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
27417 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27420 Remove Prefer_SSE_for_memop.
27421 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27422 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27423 HAS_PREFER_SSE_FOR_MEMOP.
27424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27427 Remove bzero, memset ifunc support.
27428 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27429 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27430 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27431 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27433 2013-03-11 Andreas Schwab <schwab@suse.de>
27436 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27439 (GLIBC_2.16): Remove pthread_atfork.
27441 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27443 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27444 (ptestcases.h): Likewise.
27446 2013-03-08 Roland McGrath <roland@hack.frob.com>
27448 * Makeconfig ($(common-objpfx)config.status): Depend on
27449 sysdeps/*/preconfigure{,.in} too.
27451 2013-03-08 Joseph Myers <joseph@codesourcery.com>
27453 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27454 (__free_hook): Use void * instead of __malloc_ptr_t.
27455 (__malloc_hook): Likewise.
27456 (__realloc_hook): Likewise.
27457 (__memalign_hook): Likewise.
27458 (__after_morecore_hook): Likewise.
27459 * malloc/arena.c (save_malloc_hook): Likewise.
27460 (save_free_hook): Likewise.
27461 * malloc/hooks.c (malloc_hook_ini): Likewise.
27462 (realloc_hook_ini): Likewise.
27463 (memalign_hook_ini): Likewise.
27464 * malloc/malloc.c (malloc_hook_ini): Likewise.
27465 (realloc_hook_ini): Likewise.
27466 (memalign_hook_ini): Likewise.
27467 (__free_hook): Likewise.
27468 (__malloc_hook): Likewise.
27469 (__realloc_hook): Likewise.
27470 (__memalign_hook): Likewise.
27471 (__libc_malloc): Likewise.
27472 (__libc_free): Likewise.
27473 (__libc_realloc): Likewise.
27474 (__libc_memalign): Likewise.
27475 (__libc_valloc): Likewise.
27476 (__libc_pvalloc): Likewise.
27477 (__libc_calloc): Likewise.
27478 (__posix_memalign): Likewise.
27479 * malloc/morecore.c (__sbrk): Likewise.
27480 (__default_morecore): Likewise.
27482 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27484 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27485 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27486 __malloc_ptrdiff_t.
27488 * malloc/malloc.h (__malloc_size_t): Remove macro.
27489 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27491 (old_memalign_hook): Likewise.
27492 (old_realloc_hook): Likewise.
27493 (struct hdr): Likewise.
27495 (mallochook): Likewise.
27496 (memalignhook): Likewise.
27497 (reallochook): Likewise.
27498 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27499 (tr_old_realloc_hook): Likewise.
27500 (tr_old_memalign_hook): Likewise.
27501 (tr_mallochook): Likewise.
27502 (tr_reallochook): Likewise.
27503 (tr_memalignhook): Likewise.
27505 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27508 default_ldbl_pack and using as default implementation.
27509 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27511 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27512 redundant definition.
27513 (ldbl_insert_mantissa): Likewise.
27514 (ldbl_canonicalize): Likewise.
27515 (ldbl_nearbyint): Likewise.
27516 (ldbl_pack): Rename to ldbl_pack_ppc.
27517 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27518 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27519 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27521 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27524 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27525 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27526 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27528 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27529 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27530 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27532 2013-03-07 Andreas Jaeger <aj@suse.de>
27534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27537 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27539 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27540 Include mpa.h and declare __MPEXP.
27541 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27542 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27543 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27545 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27546 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27547 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27549 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27550 (__slowpow): Use long double EXPL and LOGL functions to
27552 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27553 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27554 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27556 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27557 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27560 intermediate variable to calculate exponent.
27562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27566 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27567 [!NO__SQR]: Define __sqr.
27568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27569 and NO__SQR. Remove all code except __mul and __sqr. Include
27570 sysdeps/ieee754/dbl-64/mpa.c.
27571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27574 * posix/Makefile (tests): Add tst-pathconf.
27575 * posix/tst-pathconf.c: New test case.
27576 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27578 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27580 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
27582 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27584 2013-03-06 Andreas Jaeger <aj@suse.de>
27586 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27587 definition via __MAP_ANONYMOUS.
27589 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27590 it's not part of Linux headers.
27592 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27593 (MAP_HUGE_MASK): Define.
27595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27597 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27598 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27600 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27601 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27603 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27606 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27608 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27609 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27610 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27611 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27612 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27613 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27615 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27619 Handle f2fs and efivarfs.
27621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27624 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27625 (EFIVARFS_MAGIC): Add.
27626 (F2FS_LINK_MAX): Add.
27628 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27630 * stdio-common/vfprintf.c: Replace __builtin_expect with
27633 2013-03-06 Joseph Myers <joseph@codesourcery.com>
27636 * sysdeps/generic/bp-sym.h: Remove file.
27637 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27638 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27639 <bp-sym.h> and <bp-asm.h>.
27640 (__longjmp): Don't use BP_SYM.
27641 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27643 (memcpy): Don't use BP_SYM.
27644 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27645 <bp-sym.h> and <bp-asm.h>.
27646 (memcpy): Don't use BP_SYM.
27647 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27649 (memcpy): Don't use BP_SYM.
27650 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27652 (memset): Don't use BP_SYM.
27653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27655 (__bzero): Don't use BP_SYM.
27656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27658 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27659 <bp-sym.h> and <bp-asm.h>.
27660 (memcmp): Don't use BP_SYM. Remove comment about bounded
27662 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27663 <bp-sym.h> and <bp-asm.h>.
27664 (memcpy): Don't use BP_SYM.
27665 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27666 <bp-sym.h> and <bp-asm.h>.
27667 (memset): Don't use BP_SYM.
27668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27670 (__bzero): Don't use BP_SYM.
27671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27674 <bp-sym.h> and <bp-asm.h>.
27675 (strncmp): Don't use BP_SYM. Remove comment about bounded
27677 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27678 <bp-sym.h> and <bp-asm.h>.
27679 (memcpy): Don't use BP_SYM.
27680 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27681 <bp-sym.h> and <bp-asm.h>.
27682 (memset): Don't use BP_SYM.
27683 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27684 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27685 (__bzero): Don't use BP_SYM.
27686 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27687 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27688 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27689 <bp-sym.h> and <bp-asm.h>.
27690 (__memchr): Don't use BP_SYM.
27691 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27692 <bp-sym.h> and <bp-asm.h>.
27693 (memcmp): Don't use BP_SYM. Remove comment about bounded
27695 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27696 <bp-sym.h> and <bp-asm.h>.
27697 (memcpy): Don't use BP_SYM.
27698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27699 <bp-sym.h> and <bp-asm.h>.
27700 (__mempcpy): Don't use BP_SYM.
27701 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27702 <bp-sym.h> and <bp-asm.h>.
27703 (__memrchr): Don't use BP_SYM.
27704 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27705 <bp-sym.h> and <bp-asm.h>.
27706 (memset): Don't use BP_SYM.
27707 (__bzero): Likewise.
27708 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27709 <bp-sym.h> and <bp-asm.h>.
27710 (__rawmemchr): Don't use BP_SYM.
27711 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27712 <bp-sym.h> and <bp-asm.h>.
27713 (__STRCMP): Don't use BP_SYM.
27714 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27715 <bp-sym.h> and <bp-asm.h>.
27716 (strchr): Don't use BP_SYM.
27717 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27718 <bp-sym.h> and <bp-asm.h>.
27719 (__strchrnul): Don't use BP_SYM.
27720 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27721 <bp-sym.h> and <bp-asm.h>.
27722 (strlen): Don't use BP_SYM.
27723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27724 <bp-sym.h> and <bp-asm.h>.
27725 (strncmp): Don't use BP_SYM. Remove comment about bounded
27727 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27728 <bp-sym.h> and <bp-asm.h>.
27729 (__strnlen): Don't use BP_SYM.
27730 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27731 <bp-sym.h> and <bp-asm.h>.
27732 (__GI__setjmp): Don't use BP_SYM.
27733 (_setjmp): Likewise.
27734 (__sigsetjmp): Likewise.
27735 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27736 (L(start_addresses)): Don't use BP_SYM.
27737 (_start): Likewise.
27738 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27740 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27741 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27742 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27743 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27744 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27746 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27747 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27748 about bounded pointers.
27749 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27750 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27751 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27753 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27754 about bounded pointers. Remove GKM FIXME comments.
27755 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27756 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27758 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27759 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27760 Remove GKM FIXME comments.
27761 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27762 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27763 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27765 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27766 about bounded pointers. Remove GKM FIXME comment.
27767 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27769 (strncmp): Don't use BP_SYM. Remove comment about bounded
27771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27772 <bp-sym.h> and <bp-asm.h>.
27773 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27775 <bp-sym.h> and <bp-asm.h>.
27776 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27779 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27781 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27784 2013-03-05 David S. Miller <davem@davemloft.net>
27786 * po/es.po: Update from translation team.
27788 2013-03-05 Andreas Jaeger <aj@suse.de>
27790 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27791 <bits/mman-linux.h>.
27792 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27795 <bits/mman-linux.h> to end of file.
27796 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27798 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27799 <bits/mman-linux.h> to end of file.
27800 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27803 <bits/mman-linux.h> to end of file.
27805 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27806 (MCL_CURRENT, MCL_FUTURE): Define here.
27808 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27811 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27813 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27815 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27817 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27818 fourth parameter needed for rt_sigprocmask syscall.
27819 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27820 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27821 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27822 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27823 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27824 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27826 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27829 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27830 comment about bounded pointers.
27831 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27832 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27834 2013-03-04 Andreas Jaeger <aj@suse.de>
27836 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27837 common definitions.
27839 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27840 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27841 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27842 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27843 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27846 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27850 __ieee754_sqrl instead of __sqrl.
27852 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27854 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27855 * sysdeps/powerpc/fpu_control.h: ... here.
27856 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27857 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27858 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27859 * sysdeps/powerpc/bits/mathinline.h: ... here.
27861 2013-03-01 Roland McGrath <roland@hack.frob.com>
27863 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27864 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27865 to just [NEED_DL_SYSINFO_DSO].
27866 * elf/dl-support.c: Likewise.
27867 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27868 * elf/rtld.c (dl_main): Likewise.
27869 * elf/setup-vdso.h (setup_vdso): Likewise.
27870 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27871 * sysdeps/unix/sysv/linux/dl-sysdep.c
27872 (_dl_discover_osversion): Likewise.
27874 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27876 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27877 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27879 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27881 * NEWS: Mention libm performance improvements and non-x86 PI
27884 * csu/libc-start.c (__pthread_initialize_minimal): Change
27885 function arguments.
27886 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27888 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27891 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27892 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27893 <bp-sym.h> and <bp-asm.h>.
27894 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27897 (memcpy): Don't use BP_SYM.
27898 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27900 (__mpn_add_n): Don't use BP_SYM.
27901 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27902 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27904 (__mpn_addmul_1): Don't use BP_SYM.
27905 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27906 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27908 (_setjmp): Don't use BP_SYM.
27909 (__novmx_setjmp): Likewise.
27910 (__GI__setjmp): Likewise.
27911 (__vmx_setjmp): Likewise.
27912 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27914 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27915 (__bzero): Don't use BP_SYM.
27916 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27917 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27918 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27919 <bp-sym.h> and <bp-asm.h>.
27920 (memcpy): Don't use BP_SYM.
27921 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27922 <bp-sym.h> and <bp-asm.h>.
27923 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27924 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27925 <bp-sym.h> and <bp-asm.h>.
27926 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27927 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27929 (__mpn_lshift): Don't use BP_SYM.
27930 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27931 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27933 (memset): Don't use BP_SYM.
27934 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27935 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27936 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27938 (__mpn_mul_1): Don't use BP_SYM.
27939 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27941 <bp-sym.h> and <bp-asm.h>.
27942 (memcmp): Don't use BP_SYM.
27943 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27944 <bp-sym.h> and <bp-asm.h>.
27945 (memcpy): Don't use BP_SYM.
27946 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27947 <bp-sym.h> and <bp-asm.h>.
27948 (memset): Don't use BP_SYM.
27949 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27950 <bp-sym.h> and <bp-asm.h>.
27951 (strncmp): Don't use BP_SYM.
27952 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27953 <bp-sym.h> and <bp-asm.h>.
27954 (memcpy): Don't use BP_SYM.
27955 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27956 <bp-sym.h> and <bp-asm.h>.
27957 (memset): Don't use BP_SYM.
27958 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27959 <bp-sym.h> and <bp-asm.h>.
27960 (__memchr): Don't use BP_SYM.
27961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27962 <bp-sym.h> and <bp-asm.h>.
27963 (memcmp): Don't use BP_SYM.
27964 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27965 <bp-sym.h> and <bp-asm.h>.
27966 (memcpy): Don't use BP_SYM.
27967 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27968 <bp-sym.h> and <bp-asm.h>.
27969 (__mempcpy): Don't use BP_SYM.
27970 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27971 <bp-sym.h> and <bp-asm.h>.
27972 (__memrchr): Don't use BP_SYM.
27973 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27974 <bp-sym.h> and <bp-asm.h>.
27975 (memset): Don't use BP_SYM.
27976 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27977 <bp-sym.h> and <bp-asm.h>.
27978 (__rawmemchr): Don't use BP_SYM.
27979 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27980 <bp-sym.h> and <bp-asm.h>.
27981 (__STRCMP): Don't use BP_SYM.
27982 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27983 <bp-sym.h> and <bp-asm.h>.
27984 (strchr): Don't use BP_SYM.
27985 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27986 <bp-sym.h> and <bp-asm.h>.
27987 (__strchrnul): Don't use BP_SYM.
27988 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27989 <bp-sym.h> and <bp-asm.h>.
27990 (strlen): Don't use BP_SYM.
27991 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27992 <bp-sym.h> and <bp-asm.h>.
27993 (strncmp): Don't use BP_SYM.
27994 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27995 <bp-sym.h> and <bp-asm.h>.
27996 (__strnlen): Don't use BP_SYM.
27997 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27999 (__mpn_rshift): Don't use BP_SYM.
28000 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28001 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28002 <bp-sym.h> and <bp-asm.h>.
28003 (__sigsetjmp): Don't use BP_SYM.
28004 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28005 (L(start_addresses)): Don't use BP_SYM.
28006 (_start): Likewise.
28007 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28009 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28010 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28011 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28012 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28014 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28015 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28016 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28017 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28019 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28021 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28022 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28024 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28026 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28027 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28028 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28030 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28032 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28034 (strncmp): Don't use BP_SYM,
28035 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28037 (__mpn_sub_n): Don't use BP_SYM.
28038 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28039 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28041 (__mpn_submul_1): Don't use BP_SYM.
28042 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28044 <bp-sym.h> and <bp-asm.h>.
28045 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28047 <bp-sym.h> and <bp-asm.h>.
28048 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28051 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28054 Use ZK to minimize writes to Z.
28055 (sub_magnitudes): Simplify code a bit.
28056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28057 Use ZK to minimize writes to Z.
28058 (sub_magnitudes): Simplify code a bit.
28060 2013-02-27 Roland McGrath <roland@hack.frob.com>
28062 * csu/gmon-start.c: Add special exception to license text.
28064 2013-02-27 Richard Henderson <rth@redhat.com>
28066 * scripts/config.guess: Update from config.git.
28067 * scripts/config.sub: Likewise.
28069 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28071 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28073 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28075 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28077 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28079 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28081 2013-02-26 Roland McGrath <roland@hack.frob.com>
28083 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28084 [$(build-shared = yes].
28086 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28088 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28089 (__mul): Reduce iterations for calculating mantissa.
28091 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28093 (__mpranred): Likewise.
28096 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28097 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28099 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28101 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28102 Define __attribute__.
28104 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28106 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28108 * posix/regex_internal.h (__attribute): Remove.
28109 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28110 (re_string_context_at): Likewise.
28111 (bitset_not): Use __attribute__ and mark function as possibly
28113 (bitset_merge): Likewise.
28114 (bitset_mask): Likewise.
28115 (re_string_char_size_at): Likewise.
28116 (re_string_wchar_at): Likewise.
28117 (re_string_elem_size_at): Likewise.
28119 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28121 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28125 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28129 (denorm): Likewise.
28130 (__dbl_mp): Likewise.
28131 (add_magnitudes): Likewise.
28132 (sub_magnitudes): Likewise.
28136 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28139 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28142 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28146 up changes with default code.
28147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28150 2013-02-24 Allan McRae <allan@archlinux.org>
28152 * manual/socket.texi (The Internet Namespace): Order menu items
28153 to match that in the file.
28155 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28156 node listing of the info page menu.
28158 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28161 * sysdeps/i386/bp-asm.h: Remove file.
28162 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28163 (PARMS): Do not use macros from bp-asm.h.
28167 (__mpn_add_n): Do not use BP_SYM
28168 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28170 (PARMS): Do not use macros from bp-asm.h.
28173 (__mpn_addmul_1): Do not use BP_SYM
28174 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28176 (PARMS): Do not use macros from bp-asm.h.
28177 (SIGMSK): Likewise.
28178 (_setjmp): Likewise. Do not use BP_SYM.
28179 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28181 (PARMS): Do not use macros from bp-asm.h.
28182 (SIGMSK): Likewise.
28183 (setjmp): Likewise. Do not use BP_SYM.
28184 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28186 (PARMS): Do not use macros from bp-asm.h.
28187 (__frexp): Do not use BP_SYM.
28189 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28191 (PARMS): Do not use macros from bp-asm.h.
28192 (__frexpf): Do not use BP_SYM.
28193 (frexpf): Likewise.
28194 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28196 (PARMS): Do not use macros from bp-asm.h.
28197 (__frexpl): Do not use BP_SYM.
28198 (frexpl): Likewise.
28199 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28201 (PARMS): Do not use macros from bp-asm.h.
28202 (__remquo): Do not use BP_SYM.
28203 (remquo): Likewise.
28204 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28206 (PARMS): Do not use macros from bp-asm.h.
28207 (__remquof): Do not use BP_SYM.
28208 (remquof): Likewise.
28209 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28211 (PARMS): Do not use macros from bp-asm.h.
28212 (__remquol): Do not use BP_SYM.
28213 (remquol): Likewise.
28214 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28216 (PARMS): Do not use macros from bp-asm.h.
28219 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28220 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28222 (PARMS): Do not use macros from bp-asm.h.
28223 (strlen): Do not use BP_SYM.
28224 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28226 (PARMS): Do not use macros from bp-asm.h.
28230 (__mpn_add_n): Do not use BP_SYM.
28231 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28233 (PARMS): Do not use macros from bp-asm.h.
28236 (__mpn_addmul_1): Do not use BP_SYM.
28237 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28240 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28242 (PARMS): Do not use macros from bp-asm.h.
28245 (__mpn_lshift): Do not use BP_SYM.
28246 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28248 (PARMS): Do not use macros from bp-asm.h.
28252 (memcpy): Likewise. Do not use BP_SYM.
28253 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28254 libc_hidden_def and weak_alias.
28255 (mempcpy): Do not use BP_SYM in weak_alias.
28256 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28258 (PARMS): Do not use macros from bp-asm.h.
28261 [!BZERO_P] (CHR): Likewise.
28262 (memset): Likewise. Do not use BP_SYM.
28263 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28265 (PARMS): Do not use macros from bp-asm.h.
28268 (__mpn_mul_1): Do not use BP_SYM.
28269 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28271 (PARMS): Do not use macros from bp-asm.h.
28274 (__mpn_rshift): Do not use BP_SYM.
28275 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28277 (PARMS): Do not use macros from bp-asm.h.
28280 (strchr): Likewise. Do not use BP_SYM.
28281 (index): Do not use BP_SYM in weak_alias.
28282 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28284 (PARMS): Do not use macros from bp-asm.h.
28287 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28288 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28290 (PARMS): Do not use macros from bp-asm.h.
28291 (strlen): Do not use BP_SYM.
28292 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28294 (PARMS): Do not use macros from bp-asm.h.
28298 (__mpn_sub_n): Do not use BP_SYM.
28299 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28301 (PARMS): Do not use macros from bp-asm.h.
28304 (__mpn_submul_1): Do not use BP_SYM.
28305 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28307 (PARMS): Do not use macros from bp-asm.h.
28311 (__mpn_add_n): Do not use BP_SYM.
28312 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28315 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28317 (PARMS): Do not use macros from bp-asm.h.
28320 (memcmp): Do not use BP_SYM.
28321 (bcmp): Do not use BP_SYM in weak_alias.
28322 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28324 (PARMS): Do not use macros from bp-asm.h.
28328 (memcpy): Likewise. Do not use BP_SYM.
28329 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28331 (PARMS): Do not use macros from bp-asm.h.
28335 (memmove): Likewise. Do not use BP_SYM.
28336 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28338 (PARMS): Do not use macros from bp-asm.h.
28342 (__mempcpy): Likewise. Do not use BP_SYM.
28343 (mempcpy): Do not use BP_SYM in weak_alias.
28344 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28346 (PARMS): Do not use macros from bp-asm.h.
28349 [!BZERO_P] (CHR): Likewise.
28350 (memset): Likewise. Do not use BP_SYM.
28351 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28353 (PARMS): Do not use macros from bp-asm.h.
28355 (strcmp): Do not use BP_SYM.
28356 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28358 (PARMS): Do not use macros from bp-asm.h.
28361 [USE_AS_STRTOK_R] (SAVE): Likewise.
28362 (FUNCTION): Likewise. Do not use BP_SYM.
28363 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28365 (strtok_r): Likewise.
28366 (__GI___strtok_r): Likewise.
28367 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28368 (PARMS): Do not use macros from bp-asm.h.
28371 (__mpn_lshift): Do not use BP_SYM.
28372 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28373 (PARMS): Do not use macros from bp-asm.h.
28376 (__memchr): Do not use BP_SYM.
28377 (memchr): Do not use BP_SYM in weak_alias.
28378 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28379 (PARMS): Do not use macros from bp-asm.h.
28382 (memcmp): Do not use BP_SYM.
28383 (bcmp): Do not use BP_SYM in weak_alias.
28384 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28385 (PARMS): Do not use macros from bp-asm.h.
28388 (__mpn_mul_1): Do not use BP_SYM.
28389 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28391 (PARMS): Do not use macros from bp-asm.h.
28394 (__rawmemchr): Do not use BP_SYM.
28395 (rawmemchr): Do not use BP_SYM in weak_alias.
28396 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28397 (PARMS): Do not use macros from bp-asm.h.
28400 (__mpn_rshift): Do not use BP_SYM.
28401 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28402 (PARMS): Do not use macros from bp-asm.h.
28403 (SIGMSK): Likewise.
28404 (__sigsetjmp): Likewise. Do not use BP_SYM.
28405 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28406 (_start): Do not use BP_SYM.
28407 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28408 (PARMS): Do not use macros from bp-asm.h.
28411 (__stpcpy): Likewise. Do not use BP_SYM.
28412 (stpcpy): Do not use BP_SYM in weak_alias.
28413 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28415 (PARMS): Do not use macros from bp-asm.h.
28419 (__stpncpy): Likewise. Do not use BP_SYM.
28420 (stpncpy): Do not use BP_SYM in weak_alias.
28421 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28422 (PARMS): Do not use macros from bp-asm.h.
28425 (strchr): Likewise. Do not use BP_SYM.
28426 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28428 (PARMS): Do not use macros from bp-asm.h.
28431 (__strchrnul): Likewise. Do not use BP_SYM.
28432 (strchrnul): Do not use BP_SYM in weak_alias.
28433 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28435 (PARMS): Do not use macros from bp-asm.h.
28437 (strcspn): Do not use BP_SYM.
28438 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28440 (PARMS): Do not use macros from bp-asm.h.
28443 (strpbrk): Likewise. Do not use BP_SYM.
28444 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28446 (PARMS): Do not use macros from bp-asm.h.
28449 (strrchr): Likewise. Do not use BP_SYM.
28450 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28451 (PARMS): Do not use macros from bp-asm.h.
28453 (strspn): Do not use BP_SYM.
28454 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28455 (PARMS): Do not use macros from bp-asm.h.
28459 (FUNCTION): Likewise. Do not use BP_SYM.
28460 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28462 (strtok_r): Likewise.
28463 (__GI___strtok_r): Likewise.
28464 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28465 (PARMS): Do not use macros from bp-asm.h.
28469 (__mpn_sub_n): Do not use BP_SYM.
28470 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28472 (PARMS): Do not use macros from bp-asm.h.
28475 (__mpn_submul_1): Do not use BP_SYM.
28476 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28478 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28480 (PARMS): Do not use macros from bp-asm.h.
28485 (__clone): Do not use BP_SYM.
28486 (clone): Do not use BP_SYM in weak_alias.
28487 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28489 (PARMS): Do not use macros from bp-asm.h.
28491 (__mmap64): Do not use BP_SYM.
28492 (mmap64): Do not use BP_SYM in weak_alias.
28493 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28494 <bp-sym.h> and <bp-asm.h>.
28495 (PARMS): Do not use macros from bp-asm.h.
28496 (__posix_fadvise64_l64): Do not use BP_SYM.
28497 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28498 (PARMS): Do not use macros from bp-asm.h.
28500 (semtimedop): Do not use BP_SYM.
28501 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28504 2013-02-21 Allan McRae <allan@archlinux.org>
28506 * manual/message.texi (Charset conversion in gettext):
28507 Move @end statement to beginning of line.
28509 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28516 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28517 (denorm): Likewise.
28518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28521 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28523 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28524 tail-call to the resolved function if pltexit isn't needed.
28526 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28529 or Y being zero as being unlikely.
28530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28533 2013-02-20 Carlos O'Donell <carlos@redhat.com>
28535 * manual/nss.texi (System Databases and Name Service Switch):
28536 Remove frobnicate @pxref.
28538 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28540 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28541 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28543 2013-02-20 Petr Machata <pmachata@redhat.com>
28545 * elf/elf.h (R_ARM_TARGET1): New macro.
28546 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28547 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28548 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28549 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28550 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28551 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28552 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28553 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28554 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28555 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28556 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28557 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28558 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28559 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28560 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28561 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28562 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28563 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28564 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28565 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28566 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28567 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28568 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28569 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28570 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28571 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28572 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28573 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28574 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28575 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28576 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28577 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28578 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28579 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28580 (R_ARM_THM_GOT_BREL12): Likewise.
28581 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28582 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28583 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28584 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28585 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28586 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28587 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28588 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28589 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28591 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28593 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28594 __attribute_used__ to __attribute__ ((unused)).
28596 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28598 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28601 comment formatting.
28602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28604 2013-02-19 Joseph Myers <joseph@codesourcery.com>
28607 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28609 (ENTER): Remove both macro definitions.
28611 (CHECK_BOUNDS_LOW): Likewise.
28612 (CHECK_BOUNDS_HIGH): Likewise.
28613 (CHECK_BOUNDS_BOTH): Likewise.
28614 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28615 (RETURN_BOUNDED_POINTER): Likewise.
28616 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28617 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28618 (POP_ERRNO_LOCATION_RETURN): Likewise.
28619 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28620 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28621 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28623 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28624 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28625 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28626 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28627 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28628 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28629 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28630 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28631 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28632 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28633 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28634 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28635 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28636 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28638 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28639 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28641 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28642 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28643 * sysdeps/i386/i586/memset.S (memset): Likewise.
28644 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28646 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28648 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28649 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28650 Change uses of L(2) to L(out).
28651 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28652 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28653 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28654 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28655 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28657 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28658 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28660 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28661 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28662 (RETURN): Do not use macro LEAVE.
28663 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28664 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28665 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28666 * sysdeps/i386/i686/memset.S (memset): Likewise.
28667 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28668 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28669 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28670 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28672 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28673 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28674 L(1_2) and L(1_3) into L(1).
28675 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28676 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28677 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28678 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28679 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28680 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28681 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28682 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28683 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28685 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28686 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28687 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28688 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28689 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28690 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28691 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28692 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28693 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28694 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28695 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28696 * sysdeps/i386/strspn.S (strspn): Likewise.
28697 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28699 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28700 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28701 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28702 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28703 L(1_3) into L(1_1).
28704 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28705 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28706 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28708 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28710 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28712 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28715 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28717 * math/atest-exp.c (exp_mpn): Remove ROUND.
28718 * math/atest-exp2.c (exp_mpn): Likewise.
28719 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28721 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28722 * stdlib/tst-tls-atexit-lib.c: Likewise.
28723 * stdlib/tst-tls-atexit.c: Likewise.
28725 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28727 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28728 and __attribute_alloc_size__.
28730 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28732 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28733 __attribute_alloc_size__.
28734 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28735 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28737 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28739 * include/programs/xmalloc.h: New file.
28740 * catgets/gencat.c: Include it.
28741 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28742 * elf/pldd.c: Likewise.
28743 * iconv/iconv_charmap.c: Likewise.
28744 * iconv/iconvconfig.c: Likewise.
28745 * iconv/strtab.c: Likewise.
28746 * locale/programs/locale.c: Likewise.
28747 * locale/programs/localedef.h: Likewise.
28748 * locale/programs/simple-hash.c: Likewise.
28749 * nscd/nscd.h: Likewise.
28750 * nss/makedb.c: Likewise.
28751 * sysdeps/generic/ldconfig.h: Likewise.
28753 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28755 * Versions.def: Add GLIBC_2.18.
28756 * include/link.h (struct link_map): New member l_tls_dtor_count.
28757 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28758 (__call_tls_dtors): Likewise.
28759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28760 __cxa_thread_atexit_impl.
28761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28777 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28778 (tests): Add test case tst-tls-atexit.
28779 (modules-names): Add shared library for tst-tls-atexit.
28780 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28781 (GLIBC_PRIVATE): Add __call_tls_dtors.
28782 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28784 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28785 * stdlib/tst-tls-atexit.c: New test case.
28786 * stdlib/tst-tls-atexit-lib.c: New test case.
28788 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28790 * elf/Versions (ld): Add _dl_find_dso_for_object.
28791 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28792 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28793 (dl_open_worker): Use _dl_find_dso_for_object.
28794 * elf/dl-sym.c (do_sym): Likewise.
28795 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28797 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28799 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28800 Syntactic changes only.
28801 (_dl_runtime_profile): Do a tail-call to the resolved function.
28803 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28806 * sysdeps/x86_64/bp-asm.h: Remove file.
28807 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28808 <bp-sym.h> and <bp-asm.h>.
28809 (__clone): Do not use BP_SYM.
28810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28811 <bp-sym.h> and <bp-asm.h>.
28812 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28813 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28815 (_setjmp): Do not use BP_SYM.
28816 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28818 (setjmp): Do not use BP_SYM.
28819 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28821 (mempcpy): Do not use BP_SYM in weak_alias.
28822 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28824 (strchr): Do not use BP_SYM.
28825 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28827 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28828 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28829 (_start): Do not use BP_SYM.
28830 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28832 (strcat): Do not use BP_SYM.
28833 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28835 (STRCMP): Do not use BP_SYM.
28836 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28838 (STRCPY): Do not use BP_SYM.
28839 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28841 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28843 (FUNCTION): Do not use BP_SYM.
28844 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28846 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28848 2013-02-17 Andreas Jaeger <aj@suse.de>
28850 * time/Versions: Sort entries.
28851 * string/Versions: Likewise.
28852 * resolv/Versions: Likewise.
28853 * posix/Versions: Likewise.
28854 * iconv/Versions: Likewise.
28855 * elf/Versions: Likewise.
28856 * wcsmbs/Versions: Likewise.
28858 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28860 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28861 loop termination condition.
28863 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28864 variable to calculate EZ.
28867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28868 the lower precision input.
28870 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28873 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28874 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28875 (run-via-rtld-prefix): Do not handle %-bp tests.
28876 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28877 (all-object-suffixes): Remove .ob.
28878 (bppfx): Remove variable.
28879 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28880 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28881 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28882 [$(build-bounded) = yes] (libtype.ob): Likewise.
28883 * Makerules (elide-routines.ob): Remove variable.
28884 (do-tests-clean): Do not handle *-bp.out.
28885 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28886 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28887 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28888 (tests): Do not include $(tests-bp.out).
28889 (xtests): Do not include $(xtests-bp.out).
28890 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28891 [$(build-bounded) = yes] ($(addprefix
28892 $(objpfx),$(binaries-bounded))): Remove rule.
28893 ($(objpfx)%-bp.out): Remove rule.
28894 * config.make.in (build-bounded): Remove variable.
28895 * crypt/Makefile [$(build-bounded) = yes]
28896 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28897 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28898 append to variable.
28899 [$(build-bounded) = yes] (install-lib): Likewise.
28900 [$(build-bounded) = yes] (generated): Likewise.
28901 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28903 * intl/Makefile [$(build-bounded) = yes]
28904 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28905 * math/Makefile [$(build-bounded) = yes]
28906 ($(tests:%=$(objpfx)%-bp): Likewise.
28907 * misc/Makefile [$(build-bounded) = yes]
28908 ($(objpfx)tst-tsearch-bp): Likewise.
28909 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28910 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28912 * string/Makefile (o-objects.ob): Remove variable.
28913 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28914 (CFLAGS-.ob): Remove variable.
28915 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28916 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28917 both definitions of variable.
28918 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28919 (ASFLAGS-.ob): Remove variable.
28921 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28924 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28925 Remove __BOUNDED_POINTERS__ from condition.
28926 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28927 * string/bits/string2.h [!__NO_STRING_INLINES &&
28928 !__BOUNDED_POINTERS__]: Likewise.
28929 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28931 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28932 Remove conditional code.
28933 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28934 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28935 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28939 * csu/libc-start.c: Do not include <bp-sym.h>.
28940 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28941 * elf/dl-open.c: Do not include <bp-sym.h>.
28942 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28943 * math/fegetenv.c: Do not include <bp-sym.h>.
28944 (fegetenv): Do not use BP_SYM in versioned symbols.
28945 * nptl/sysdeps/pthread/bits/libc-lockP.h
28946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28949 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28951 (__pthread_mutex_destroy): Likewise.
28952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28953 (__pthread_mutex_lock): Likewise.
28954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28955 (__pthread_mutex_trylock): Likewise.
28956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28957 (__pthread_mutex_unlock): Likewise.
28958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28959 (__pthread_mutexattr_init): Likewise.
28960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28961 (__pthread_mutexattr_destroy): Likewise.
28962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28963 (__pthread_mutexattr_settype): Likewise.
28964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28965 (__pthread_rwlock_init): Likewise.
28966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28967 (__pthread_rwlock_destroy): Likewise.
28968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28969 (__pthread_rwlock_rdlock): Likewise.
28970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28971 (__pthread_rwlock_tryrdlock): Likewise.
28972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28973 (__pthread_rwlock_wrlock): Likewise.
28974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28975 (__pthread_rwlock_trywrlock): Likewise.
28976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28977 (__pthread_rwlock_unlock): Likewise.
28978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28979 (__pthread_key_create): Likewise.
28980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28981 (__pthread_setspecific): Likewise.
28982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28983 (__pthread_getspecific): Likewise.
28984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28987 (_pthread_cleanup_push_defer): Likewise.
28988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28989 (_pthread_cleanup_pop_restore): Likewise.
28990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28991 (pthread_setcancelstate): Likewise.
28992 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28994 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28995 (memchr): Do not use BP_SYM in weak_alias.
28996 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28997 (fegetenv): Do not use BP_SYM in versioned symbols.
28998 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28999 (fesetenv): Do not use BP_SYM in versioned symbols.
29000 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29001 (feupdateenv): Do not use BP_SYM in versioned symbols.
29002 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29003 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29004 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29005 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29006 (open64): Do not use BP_SYM in weak_alias.
29007 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29008 (fegetenv): Do not use BP_SYM in versioned symbols.
29009 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29010 (fesetenv): Do not use BP_SYM in versioned symbols.
29011 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29012 (feupdateenv): Do not use BP_SYM in versioned symbols.
29013 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29014 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29015 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29016 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29017 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29018 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29019 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29021 (__libc_start_main): Do not use BP_SYM.
29023 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29026 redundant return line.
29028 (denorm): Likewise.
29029 (dbl_mp): Likewise.
29030 (sub_magnitudes): Likewise.
29036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29038 (denorm): Likewise.
29039 (dbl_mp): Likewise.
29040 (sub_magnitudes): Likewise.
29047 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29050 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29053 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29054 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29056 of __mul for squares.
29057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29061 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29062 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29064 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29067 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29069 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29070 prototype or function definition. Rename ubp_* variables and
29071 parameters. Remove argv definitions conditional on
29072 [__BOUNDED_POINTERS__].
29073 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29074 * elf/dl-runtime.c (_dl_fixup): Likewise.
29075 * include/set-hooks.h (RUN_HOOK): Likewise.
29076 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29078 * string/strcpy.c (strcpy): Do not use __unbounded.
29079 * sysdeps/generic/frame.h (struct layout): Likewise.
29080 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29081 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29082 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29083 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29084 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29085 (__backtrace): Likewise.
29086 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29088 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29089 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29090 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29092 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29093 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29094 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29095 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29096 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29097 Do not use __unbounded.
29098 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29099 Rename __unboundedrlimits parameter to rlimits in prototype.
29100 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29101 Do not use __unbounded.
29102 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29103 not use __ptrvalue.
29104 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29105 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29106 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29107 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29108 __ptrvalue or __unbounded.
29109 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29110 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29112 (__new_msgctl): Do not use __ptrvalue.
29113 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29115 (__libc_msgrcv): Do not use __ptrvalue.
29116 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29117 startup_info): Do not use __unbounded.
29118 (__libc_start_main): Likewise. Rename ubp_* variables and
29119 parameters. Remove argv definitions conditional on
29120 [__BOUNDED_POINTERS__].
29121 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29123 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29125 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29127 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29129 (__new_shmctl): Do not use __ptrvalue.
29130 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29131 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29133 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29134 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29135 (__libc_sigaction): Likewise.
29136 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29137 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29139 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29141 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29143 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29145 * string/mempcpy.c: Implement by calling memcpy.
29147 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29155 values in the mantissa.
29157 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29158 minimize writes to Z.
29159 (sub_magnitudes): Simplify code a bit.
29161 2013-02-12 Roland McGrath <roland@hack.frob.com>
29163 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29164 from the message. The linker prefixes all warnings with that already.
29166 2013-02-12 Andreas Schwab <schwab@suse.de>
29169 * posix/regexec.c (extend_buffers): Add parameter min_len.
29170 (check_matching): Pass minimum needed length.
29171 (clean_state_log_if_needed): Likewise.
29172 (get_subexp): Likewise.
29173 * posix/Makefile (tests): Add bug-regex34.
29174 (bug-regex34-ENV): Define.
29175 * posix/bug-regex34.c: New file.
29178 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29179 elements compare against the byte sequence of it, not its name.
29180 * posix/Makefile (tests): Add bug-regex35.
29181 (bug-regex35-ENV): Define.
29182 * posix/bug-regex35.c: New file.
29184 2013-02-11 Tom de Vries <tom@codesourcery.com>
29186 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29188 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29189 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29190 (CHECK_EOL): Add undef.
29192 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29194 * bits/stdlib-bsearch.h: New file.
29195 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29196 * stdlib/stdlib.h: Likewise.
29198 2013-02-11 Roland McGrath <roland@hack.frob.com>
29200 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29201 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29203 * manual/search.texi (Array Search Function): Add missing const in
29205 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29206 declaration to use rlim_t.
29207 (Basic Scheduling Functions): Remove erroneous const from
29208 sched_getparam prototype. Remove erroneous * from
29209 sched_get_priority_max and sched_get_priority_min prototypes.
29210 (Resource Usage): Fix summary @comment on vtimes to refer to
29211 sys/vtimes.h rather than vtimes.h.
29212 Add missing *s in vtimes prototype.
29213 (Limits on Resources): Fix ulimit prototype to return long int.
29214 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29215 prototypes to use long int rather than double.
29216 (BSD Random): Fix initstate and setstate to use char *, not void *.
29217 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29218 prototype to make second argument 'struct aiocb64 *const[]'.
29219 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29220 (Status of AIO Operations): Remove erroneous const in aio_return and
29221 aio_return64 prototypes.
29222 (Synchronizing I/O): Fix sync prototype to return void.
29223 * manual/startup.texi (Suboptions): Remove an erroneous const in
29224 getsubopt prototype.
29225 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29226 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29227 use size_t rather than int.
29228 (Scanning All Users): Likewise for getpwent_r.
29229 (Setting Groups): Add missing const to setgroups prototype.
29230 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29231 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29232 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29233 'const void *' rather than 'const char *'.
29234 (Host Address Functions): Likewise for inet_ntop.
29235 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29236 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29237 ssize_t for return value.
29238 (Sending Data): Likewise for send, sendto, sendmsg.
29239 (Socket Option Functions): Add a missing const in setsockopt prototype.
29240 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29241 use wchar_t for the argument.
29242 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29243 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29245 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29246 double/float/long double for second argument.
29247 Fix return types of significand, significandf, significandl.
29248 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29249 argument in fchmod prototype.
29250 (File Owner): Use uid_t and gid_t in fchown prototype.
29251 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29252 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29253 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29254 use 'const struct dirent **' as argument types to CMP function pointer
29256 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29257 (File Times): Fix summary magic @comment for struct utimbuf and utime
29258 to refer to utime.h, not time.h.
29259 * manual/string.texi (Argz Functions): Add missing const in
29260 argz_extract and argz_next prototypes.
29261 (Finding Tokens in a String): Likewise for basename.
29262 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29263 (Copying and Concatenation): Fix typo in wmemmove prototype.
29264 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29265 (Signal Stack): Remove erroneous const in sigstack prototype.
29266 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29268 (Simple Calendar Time): Likewise for stime.
29269 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29271 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29272 say sys/sysctl.h instead.
29273 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29274 and vsyslog prototypes.
29276 2013-02-11 Tom de Vries <tom@codesourcery.com>
29278 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29281 2013-02-11 Roland McGrath <roland@hack.frob.com>
29283 * misc/sys/mman.h: Fix typo in mremap comment.
29285 2013-02-08 Roland McGrath <roland@hack.frob.com>
29287 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29288 the '\0' terminator.
29290 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29293 * debug/segfault.c: Don't include <bp-checks.h>.
29294 * sysdeps/generic/bp-checks.h: Remove file.
29295 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29296 (__GETDENTS): Don't use CHECK_N.
29297 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29298 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29299 (__getgroups): Don't use CHECK_N.
29300 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29301 (setgroups): Don't use CHECK_N.
29302 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29303 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29304 (__libc_msgrcv): Don't use CHECK_N.
29305 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29306 (__libc_msgsnd): Don't use CHECK_N.
29307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29309 (__libc_pread): Don't use CHECK_N.
29310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29311 include <bp-checks.h>.
29312 (__libc_pread64): Don't use CHECK_N.
29313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29314 include <bp-checks.h>.
29315 (__libc_pwrite): Don't use CHECK_N.
29316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29317 include <bp-checks.h>.
29318 (__libc_pwrite64): Don't use CHECK_N.
29319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29321 (__libc_pread): Don't use CHECK_N.
29322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29323 include <bp-checks.h>.
29324 (__libc_pread64): Don't use CHECK_N.
29325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29326 include <bp-checks.h>.
29327 (__libc_pwrite): Don't use CHECK_N.
29328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29329 include <bp-checks.h>.
29330 (__libc_pwrite64): Don't use CHECK_N.
29331 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29332 (do_pread): Don't use CHECK_N.
29333 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29334 (do_pread64): Don't use CHECK_N.
29335 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29336 (do_pwrite): Don't use CHECK_N.
29337 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29338 (do_pwrite64): Don't use CHECK_N.
29339 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29340 (__libc_readv): Don't use CHECK_N.
29341 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29342 (semop): Don't use CHECK_N.
29343 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29345 (semtimedop): Don't use CHECK_N.
29346 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29347 (__libc_pread): Don't use CHECK_N.
29348 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29350 (__libc_pread64): Don't use CHECK_N.
29351 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29353 (__libc_pwrite): Don't use CHECK_N.
29354 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29356 (__libc_pwrite64): Don't use CHECK_N.
29357 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29359 (__libc_msgrcv): Don't use CHECK_N.
29360 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29361 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29362 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29363 (__libc_writev): Don't use CHECK_N.
29365 2013-02-08 Roland McGrath <roland@hack.frob.com>
29367 * string/strcpy.c: Removed unused variable.
29369 * Makeconfig (+sysdep-includes): Define with := rather than =.
29370 Use an existing include/ subdir of each sysdeps dir before it.
29372 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29374 * nscd/connection.c (register_traced_file): Comment function.
29375 [HAVE_INOTIFY] (union __inev): Define.
29376 [HAVE_INOTIFY] (inotify_check_files): New function.
29377 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29378 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29380 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29382 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29384 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29385 loaded if not already and that a failure is permanent.
29387 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29390 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29391 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29393 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29396 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29397 (CHECK_1_NULL_OK): Likewise.
29398 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29399 (__fxstat): Do not use CHECK_1.
29400 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29402 (___fxstat64): Do not use CHECK_1.
29403 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29405 (__fxstatat): Do not use CHECK_1.
29406 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29408 (__fxstatat64): Do not use CHECK_1.
29409 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29411 (__fxstat): Do not use CHECK_1.
29412 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29414 (__fxstatat): Do not use CHECK_1.
29415 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29417 (__getresgid): Do not use CHECK_1.
29418 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29420 (__getresuid): Do not use CHECK_1.
29421 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29423 (__lxstat): Do not use CHECK_1.
29424 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29426 (__old_msgctl): Do not use CHECK_1.
29427 (__new_msgctl): Likewise.
29428 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29430 (__new_setrlimit): Do not use CHECK_1.
29431 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29433 (__old_shmctl): Do not use CHECK_1.
29434 (__new_shmctl): Likewise.
29435 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29437 (__xstat): Do not use CHECK_1.
29438 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29439 (__lxstat): Do not use CHECK_1.
29440 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29442 (___lxstat64): Do not use CHECK_1.
29443 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29444 (__old_msgctl): Do not use CHECK_1.
29445 (__new_msgctl): Likewise.
29446 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29448 (__gettimeofday): Do not use CHECK_1.
29449 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29450 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29451 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29453 (__gettimeofday): Do not use CHECK_1.
29454 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29455 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29456 (__new_shmctl): Do not use CHECK_1.
29457 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29459 (do_sigtimedwait): Do not use CHECK_1.
29460 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29462 (do_sigwaitinfo): Do not use CHECK_1.
29463 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29465 (msgctl): Do not use CHECK_1.
29466 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29468 (shmctl): Do not use CHECK_1.
29469 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29470 (ustat): Do not use CHECK_1.
29471 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29473 (__fxstat): Do not use CHECK_1.
29474 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29476 (__fxstatat): Do not use CHECK_1.
29477 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29479 (__lxstat): Do not use CHECK_1.
29480 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29482 (__xstat): Do not use CHECK_1.
29483 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29484 (__xstat): Do not use CHECK_1.
29485 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29486 (___xstat64): Do not use CHECK_1.
29489 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29491 (CHECK_BOUNDS_HIGH): Likewise.
29492 * string/strcpy.c: Do not include <bp-checks.h>.
29493 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29495 2013-02-07 Roland McGrath <roland@hack.frob.com>
29497 * nscd/nscd-client.h (__nscd_drop_map_ref):
29498 Add __attribute__ ((unused)).
29499 * nis/nss-nisplus.h (niserr2nss): Likewise.
29501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29502 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29504 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29505 Remove inline keyword.
29506 * include/rounding-mode.h (round_away): Likewise.
29507 * libio/wfileops.c (adjust_wide_data): Likewise.
29508 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29509 (__m128i_strloadu_tolower): Likewise.
29510 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29511 (__m128i_strloadu_tolower): Likewise.
29512 * time/mktime.c (ydhms_diff): Likewise.
29513 * locale/elem-hash.h (elem_hash): Likewise.
29514 * locale/setlocale.c (setdata): Likewise.
29515 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29516 (re_string_wchar_at): Likewise.
29517 (bitset_not, bitset_merge, bitset_mask): Likewise.
29518 [!(__GNUC__ > 3)] (inline): Remove macro.
29519 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29520 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29521 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29522 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29523 * string/memcmp.c (memcmp_bytes): Likewise.
29524 * locale/programs/locarchive.c (compute_hashval): Likewise.
29525 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29526 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29527 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29528 * nss/getent.c (print_rpc, print_protocols): Likewise.
29529 (print_passwd, print_group, print_aliases): Likewise.
29530 * nis/nss-nisplus.h (niserr2nss): Likewise.
29531 * nscd/connections.c (restart_p): Likewise.
29532 Change return type to bool.
29534 2013-02-05 Roland McGrath <roland@hack.frob.com>
29536 * Makeconfig (all-Depend-files): Add existing
29537 $(sorted-subdirs:=/Depend) files.
29538 (all-subdirs): Remove nss.
29539 * sysdeps/unix/inet/Subdirs: Add it here instead.
29540 * hesiod/Depend: New file.
29542 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29543 instead of calling alloca.
29545 * io/lseek.c (__lseek): Rename to __libc_lseek.
29546 Define __lseek as an alias.
29548 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29550 2013-02-04 Carlos O'Donell <carlos@redhat.com>
29552 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29553 else clause and remove check for non-standard endianness.
29555 2013-02-04 David S. Miller <davem@davemloft.net>
29557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29559 2013-02-04 Joseph Myers <joseph@codesourcery.com>
29562 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29563 (__ubp_memchr): Remove prototype.
29564 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29565 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29566 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29567 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29568 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29570 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29571 (__ubp_memchr): Likewise.
29572 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29573 (__ubp_memchr): Likewise.
29574 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29575 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29576 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29577 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29579 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29580 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29581 (__getcwd): Do not use CHECK_STRING.
29582 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29584 (__real_chown): Do not use CHECK_STRING.
29585 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29587 (fchownat): Do not use CHECK_STRING.
29588 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29590 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29592 (__lchown): Do not use CHECK_STRING.
29593 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29594 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29595 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29596 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29598 include <bp-checks.h>.
29599 (truncate64): Do not use CHECK_STRING.
29600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29602 (__real_chown): Do not use CHECK_STRING.
29603 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29605 (__lchown): Do not use CHECK_STRING.
29606 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29608 (__chown): Do not use CHECK_STRING.
29609 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29611 (truncate64): Do not use CHECK_STRING.
29612 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29614 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29615 (__xmknod): Do not use CHECK_STRING.
29616 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29618 (__xmknodat): Do not use CHECK_STRING.
29619 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29620 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29622 2013-02-04 Andreas Schwab <schwab@suse.de>
29625 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29626 * include/netdb.h: Likewise for h_errno.
29627 * elf/tst-stackguard1.c: Include <tls.h>.
29629 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29631 * elf/link.h (struct link_map): Extend the l_addr comment.
29632 * include/link.h (struct link_map): Likewise.
29634 2013-02-01 Joseph Myers <joseph@codesourcery.com>
29637 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29638 (BOUNDED_1): Remove macro.
29639 * debug/backtrace.c: Don't include <bp-checks.h>.
29640 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29641 (__backtrace): Likewise.
29642 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29644 (__backtrace): Don't use BOUNDED_1.
29645 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29647 (__backtrace): Don't use BOUNDED_1.
29648 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29649 (__backtrace): Don't use BOUNDED_1.
29650 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29651 (shmat): Don't use BOUNDED_N.
29653 2013-01-31 Joseph Myers <joseph@codesourcery.com>
29656 * sysdeps/generic/bp-start.h: Remove file.
29657 * csu/libc-start.c: Don't include <bp-start.h>.
29658 (LIBC_START_MAIN): Set up __environ directly instead of using
29659 INIT_ARGV_and_ENVIRON.
29660 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29664 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29666 (CHECK_FCNTL): Likewise.
29667 (CHECK_N_PAGES): Likewise.
29670 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29672 (CHECK_SIGSET_NULL_OK): Likewise.
29673 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29675 (sigpending): Don't use CHECK_SIGSET.
29676 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29679 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29681 (do_sigsuspend): Don't use CHECK_SIGSET.
29682 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29684 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29685 (do_sigwait): Don't use CHECK_SIGSET.
29686 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29688 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29689 include <bp-checks.h>.
29690 (sigpending): Don't use CHECK_SIGSET.
29691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29692 include <bp-checks.h>.
29693 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29694 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29696 (sigpending): Don't use CHECK_SIGSET.
29697 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29699 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29702 * sysdeps/generic/bp-semctl.h: Remove file.
29703 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29704 <bp-checks.h> and <bp-semctl.h>.
29705 (__old_semctl): Don't use CHECK_SEMCTL.
29706 (__new_semctl): Likewise.
29707 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29709 (__old_semctl): Don't use CHECK_SEMCTL.
29710 (__new_semctl): Likewise.
29711 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29712 <bp-checks.h> and <bp-semctl.h>.
29713 (__old_semctl): Don't use CHECK_SEMCTL.
29714 (__new_semctl): Likewise.
29715 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29716 <bp-checks.h> and <bp-semctl.h>.
29717 (semctl): Don't use CHECK_SEMCTL.
29720 * Makerules (elide-bp-thunks): Remove variable.
29721 (elide-routines.oS): Don't use $(elide-bp-thunks).
29722 (elide-routines.os): Likewise.
29723 (elide-routines.o): Likewise.
29724 (elide-routines.op): Likewise.
29725 (elide-routines.og): Likewise.
29726 (objects): Don't use $(bp-thunks).
29727 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29729 (common-generated): Do not add s-proto-bp.d.
29730 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29733 Do not generate makefile rules for bounded-pointer thunks.
29734 * sysdeps/generic/bp-thunks.h: Remove file.
29735 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29736 * sysdeps/unix/s-proto-bp.S: Likewise.
29739 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29740 parts of result separately when argument is not close to line from
29741 -i to i and one part of argument is small.
29742 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29743 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29744 * math/libm-test.inc (cacos_test): Add more tests.
29745 (casin_test): Likewise.
29746 (casinh_test): Likewise.
29747 * sysdeps/i386/fpu/libm-test-ulps: Update.
29748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29750 2013-01-31 David S. Miller <davem@davemloft.net>
29752 * po/de.po: Update from translation team.
29754 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29756 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29758 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29760 * configure.in (_AC_PROG_CC_C89): New definition.
29761 * configure: Regenerate.
29763 * configure.in (AC_PROG_CPP): New definition.
29764 * configure: Regenerate.
29766 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29768 * debug/tst-backtrace.h: New file.
29769 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29770 (ret): Remove variable.
29772 (FAIL): Remove macro.
29773 (NO_INLINE): Likewise.
29774 (fn1): Use match function instead of strstr.
29775 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29776 (ret): Remove variable.
29778 (FAIL): Remove macro.
29779 (NO_INLINE): Likewise.
29780 (fn): Use match function instead of strstr.
29781 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29782 (ret): Remove variable.
29784 (FAIL): Remove macro.
29785 (NO_INLINE): Likewise.
29786 (handle_signal): Use match function instead of strstr.
29787 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29788 (ret): Remove variable.
29790 (FAIL): Remove macro.
29791 (NO_INLINE): Likewise.
29792 (handle_signal): Use match function instead of strstr.
29794 2013-01-23 Roland McGrath <roland@hack.frob.com>
29796 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29798 2013-01-23 David S. Miller <davem@davemloft.net>
29800 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29801 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29802 argument of CAS if possible.
29803 * sysdeps/sparc/sparc64/bits/atomic.h
29804 (__arch_compare_and_exchange_val_32_acq): Likewise.
29805 (__arch_compare_and_exchange_val_64_acq): Likewise.
29807 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29809 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29810 * sysdeps/posix/ulimit.c: ... this.
29811 Include <limits.h>.
29812 * sysdeps/unix/bsd/ulimit.c: Remove file.
29814 2013-01-23 Adam Conrad <adconrad@0c3.net>
29816 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29817 (LDFLAGS-tst-array5): Likewise.
29819 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29822 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29823 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29824 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29825 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29827 2013-01-21 David S. Miller <davem@davemloft.net>
29829 * sysdeps/sparc/backtrace.c: New file.
29830 * sysdeps/sparc/sparc32/backtrace.h: New file.
29831 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29832 * sysdeps/sparc/sparc64/backtrace.h: New file.
29833 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29834 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29837 2013-01-21 Andreas Schwab <schwab@suse.de>
29840 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29843 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29849 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29850 Mark Mitchell <mark@codesourcery.com>
29851 Tom de Vries <tom@codesourcery.com>
29852 Paul Pluzhnikov <ppluzhnikov@google.com>
29854 * debug/tst-backtrace2.c: New file.
29855 * debug/tst-backtrace3.c: Likewise.
29856 * debug/tst-backtrace4.c: Likewise.
29857 * debug/tst-backtrace5.c: Likewise.
29858 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29859 (CFLAGS-tst-backtrace3.c): Likewise.
29860 (CFLAGS-tst-backtrace4.c): Likewise.
29861 (CFLAGS-tst-backtrace5.c): Likewise.
29862 (LDFLAGS-tst-backtrace2): Likewise.
29863 (LDFLAGS-tst-backtrace3): Likewise.
29864 (LDFLAGS-tst-backtrace4): Likewise.
29865 (LDFLAGS-tst-backtrace5): Likewise.
29866 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29867 tst-backtrace4 and tst-backtrace5.
29869 2013-01-18 Anton Blanchard <anton@samba.org>
29870 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29872 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29873 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29874 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29875 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29877 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29878 "+r" and remove output regs list as redundant. Add explicit inline
29879 asm to specify register of return val to work around compiler codegen
29880 bug. Remove (int) cast on return value. Add return type parameter to
29881 use in macro so that this macro does not truncate return value for
29883 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29884 pass to INTERNAL_VSYSCALL_NCS.
29885 (INLINE_VSYSCALL): Add 'long int' as return type to
29886 INTERNAL_VSYSCALL_NCS macro invocation.
29887 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29888 INTERNAL_VSYSCALL_NCS macro invocation.
29889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29891 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29894 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29895 Fix application of SIMD FP exception mask.
29897 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29898 mp_no from a power of two.
29899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29900 __mpexp_twomm1. Use __pow_mp.
29902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29905 2013-01-17 David S. Miller <davem@davemloft.net>
29907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29909 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29912 * include/complex.h: Condition contents on [!_COMPLEX_H].
29913 (__kernel_casinhf): New prototype.
29914 (__kernel_casinh): Likewise.
29915 (__kernel_casinhl): Likewise.
29916 * math/Makefile (libm_calls): Add k_casinh.
29917 * math/k_casinh.c: New file.
29918 * math/k_casinhf.c: Likewise.
29919 * math/k_casinhl.c: Likewise.
29920 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29921 finite nonzero arguments.
29922 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29923 finite nonzero arguments.
29924 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29925 finite nonzero arguments.
29926 * math/s_casinh.c: Do not include <float.h>.
29927 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29928 * math/s_casinhf.c: Do not include <float.h>.
29929 (__casinhf): Move code for finite nonzero arguments to
29931 * math/s_casinhl.c: Do not include <float.h>.
29932 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29934 (__casinhl): Move code for finite nonzero arguments to
29936 * math/libm-test.inc (cacos_test): Add more tests.
29937 * sysdeps/i386/fpu/libm-test-ulps: Update.
29938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29940 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29942 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29943 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29944 [!HAVE_MREMAP]: Remove [defined linux] case.
29945 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29947 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29949 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29951 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29953 * elf/elf.h (R_386_SIZE32): New relocation.
29954 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29956 (elf_machine_rela): Likewise.
29957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29958 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29960 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29962 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29963 (FP_FAST_FMA): Do not define.
29964 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29965 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29966 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29967 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29968 !_SOFT_FLOAT]: Likewise.
29969 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29970 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29972 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29973 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29974 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29975 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29976 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29977 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29980 2013-01-16 Andreas Schwab <schwab@suse.de>
29983 * include/stdlib.h (__mktemp): Add declaration.
29984 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29985 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29987 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29989 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29991 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29992 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29993 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29995 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29996 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29998 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30000 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30001 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30002 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30004 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30005 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30007 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30009 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30011 2013-01-15 David S. Miller <davem@davemloft.net>
30013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30014 trunc{,f} to libm-sysdep_routes.
30015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30025 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30026 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30027 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30028 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30029 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30030 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30033 nearbyint{,f} to libm-sysdep_routes.
30034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30047 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30048 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30051 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30052 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30054 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30055 libc_feholdexcept and libc_fesetenv.
30057 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30059 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30061 2013-01-14 David S. Miller <davem@davemloft.net>
30063 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30064 (SPARC_ASM_VIS2_IFUNC): Likewise.
30065 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30067 use of 'siam' instruction.
30068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30101 routines to libm-sysdep_routines.
30102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30105 fdim/fdimf to libm-sysdep_routines.
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30114 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30115 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30116 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30117 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30119 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30121 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30122 to optimize copies.
30124 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30129 local variable MPTWO.
30130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30133 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30135 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30138 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30140 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30142 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30144 * manual/pattern.texi (glob_t): Document gl_flags.
30145 (glob64_t): Likewise.
30147 2013-01-11 David S. Miller <davem@davemloft.net>
30149 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30150 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30151 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30152 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30153 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30154 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30155 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30156 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30157 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30158 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30159 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30160 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30161 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30163 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30164 sparc V9 rather than using V8 code.
30165 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30166 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30168 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30170 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30173 2013-01-11 Roland McGrath <roland@hack.frob.com>
30175 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30176 not in the main loop.
30177 * configure: Regenerated.
30179 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30181 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30182 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30184 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30185 [!__GLIBC_HAVE_LONG_LONG] case.
30186 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30187 condition to just #else.
30188 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30189 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30190 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30191 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30193 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30194 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30195 #elif condition to just #else.
30196 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30197 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30198 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30199 #elif condition to just #else.
30201 2013-01-11 Steve Ellcey <sellcey@mips.com>
30203 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30204 (EF_MIPS_ARCH_64): Fix value.
30205 (EF_MIPS_ARCH_32R2): New.
30206 (EF_MIPS_ARCH_64R2): New.
30208 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30210 * Makeconfig (+link-pie-before-libc): New.
30211 (+link-pie-after-libc): Likewise.
30212 (+link-pie-tests): Likewise.
30213 (+link-pie): Rewritten.
30214 (link-before-libc): Remove $(config-LDFLAGS).
30215 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30216 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30217 (config-LDFLAGS): Renamed to ...
30218 (rtld-LDFLAGS): This.
30219 (rtld-tests-LDFLAGS): New macro.
30220 (link-libc-rpath-link): Likewise.
30221 (link-libc-tests-rpath-link): Likewise.
30222 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30223 (link-libc): Prepand $(link-libc-rpath-link).
30224 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30225 (test-program-prefix): New macro.
30226 (test-via-rtld-prefix): Likewise.
30227 (test-program-cmd): Likewise.
30228 (host-test-program-cmd): Likewise.
30229 * Makefile ($(common-objpfx)testrun.sh): Replace
30230 $(run-program-prefix) with $(test-program-prefix).
30231 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30233 ($(common-objpfx)shlib.lds): Likewise.
30234 (build-module-helper): Likewise.
30235 ($(common-objpfx)format.lds): Likewise.
30236 * Rules (binaries-pie-tests): New.
30237 (binaries-pie-notests): Likewise.
30238 (binaries-pie): Rewritten.
30239 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30240 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30241 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30242 (make-test-out): Replace $(host-built-program-cmd) with
30243 $(host-test-program-cmd).
30244 * config.make.in (build-hardcoded-path-in-tests): New variable.
30245 * configure.in (--enable-hardcoded-path-in-tests): New configure
30247 (hardcoded_path_in_tests): New AC_SUBST.
30248 * configure: Regenerated.
30249 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30250 $(built-program-cmd) with $(test-program-cmd).
30251 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30252 (test_program_cmd): This.
30253 * elf/Makefile ($(objpfx)order.out): Run test with
30254 $(test-program-prefix).
30255 ($(objpfx)order2.out): Likewise.
30256 ($(objpfx)tst-initorder.out): Likewise.
30257 ($(objpfx)tst-initorder2.out): Likewise.
30258 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30259 $(test-program-cmd).
30260 ($(objpfx)tst-array1-static.out): Likewise.
30261 ($(objpfx)tst-array2.out): Likewise.
30262 ($(objpfx)tst-array3.out): Likewise.
30263 ($(objpfx)tst-array4.out): Likewise.
30264 ($(objpfx)tst-array5.out): Likewise.
30265 ($(objpfx)tst-array5-static.out): Likewise.
30266 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30267 $(test-program-cmd).
30268 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30269 $(run-program-prefix) with $(test-program-prefix).
30270 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30271 (test_program_prefix): This.
30272 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30273 $(run-program-prefix) with $(test-program-prefix).
30274 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30275 (test_program_prefix): This.
30276 * iconvdata/tst-tables.sh: Likewise.
30277 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30278 $(run-program-prefix) with $(test-program-prefix).
30279 ($(objpfx)tst-translit.out): Likewise.
30280 ($(objpfx)tst-gettext2.out): Likewise.
30281 ($(objpfx)tst-gettext4.out): Likewise.
30282 ($(objpfx)tst-gettext6.out): Likewise.
30283 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30284 (test_program_prefix): This.
30285 * intl/tst-gettext2.sh: Likewise.
30286 * intl/tst-gettext4.sh Likewise.
30287 * intl/tst-gettext6.sh: Likewise.
30288 * intl/tst-translit.sh: Likewise.
30289 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30290 with $(test-program-cmd).
30291 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30292 $(run-program-prefix) with $(test-program-prefix).
30293 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30294 (test_program_prefix): This.
30295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30296 $(run-program-prefix) with $(test-program-prefix).
30297 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30298 (test_program_prefix): This.
30299 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30300 * posix/Makefile ($(objpfx)globtest.out): Replace
30301 $(run-via-rtld-prefix) and $(test-wrapper) with
30302 $(test-program-prefix) and $(test-via-rtld-prefix).
30303 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30304 $(test-program-prefix).
30305 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30306 $(host-test-program-cmd).
30307 (tst-spawn-ARGS): Likewise.
30308 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30309 $(test-program-prefix).
30310 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30311 (test_via_rtld_prefix): This.
30312 (test_wrapper): Renamed to ...
30313 (test_program_prefix): This.
30314 (run_program_prefix): Replaced by test_program_prefix.
30315 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30316 (test_program_prefix): This.
30317 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30318 with $(host-test-program-cmd).
30319 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30320 $(run-program-prefix) with $(test-program-prefix).
30321 ($(objpfx)tst-printf.out): Likewise.
30322 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30323 $(test-program-cmd).
30324 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30325 (test_program_prefix): This.
30326 * stdio-common/tst-unbputc.sh: Likewise.
30327 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30328 $(run-program-prefix) with $(test-program-prefix).
30329 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30330 (test_program_prefix): This.
30331 * string/Makefile ($(objpfx)tst-svc.out): Replace
30332 $(built-program-cmd) with $(test-program-cmd).
30334 2013-01-11 Andreas Jaeger <aj@suse.de>
30337 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30338 value. Sync with Linux 3.7.
30340 2013-01-10 David S. Miller <davem@davemloft.net>
30342 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30343 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30344 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30346 2013-01-10 Roland McGrath <roland@hack.frob.com>
30348 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30350 * configure: Regenerated.
30352 2013-01-10 David S. Miller <davem@davemloft.net>
30354 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30355 sparc V9 rather than using V8 code.
30356 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30357 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30359 2013-01-10 Roland McGrath <roland@hack.frob.com>
30361 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30362 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30363 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30364 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30365 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30366 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30367 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30368 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30369 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30370 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30371 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30372 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30373 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30374 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30375 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30376 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30377 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30378 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30379 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30380 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30381 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30382 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30383 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30384 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30385 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30386 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30387 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30389 2013-01-10 David S. Miller <davem@davemloft.net>
30391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30393 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30395 * posix/Makefile (tests-static): New variable.
30396 (tests): Add $(tests-static).
30397 (tst-exec-static-ARGS): New variable.
30398 (tst-spawn-static-ARGS): Likewise.
30399 * posix/tst-exec-static.c: New file.
30400 * posix/tst-spawn-static.c: Likewise.
30401 * posix/tst-exec.c: Support run directly.
30402 * posix/tst-spawn.c: Likewise.
30404 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30406 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30408 * math/bits/mathcalls.h (llrint): Likewise.
30409 (llround): Likewise.
30410 * stdlib/stdlib.h (struct drand48_data): Likewise.
30411 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30412 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30413 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30415 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30417 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30418 (elf_greg_t): Likewise.
30419 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30420 (__jmp_buf): Likewise.
30421 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30423 (llrint): Likewise, for all definitions.
30424 (llrintl): Likewise.
30426 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30427 Remove [__GNUC__] condition.
30428 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30429 condition to just [__USE_ISOC99].
30430 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30432 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30435 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30436 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30438 (_POSIX_V6_ILP32_OFF32): Likewise.
30439 (_XBS5_ILP32_OFF32): Likewise.
30440 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30441 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30443 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30445 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30448 doubles __mpexp_twomm1. Adjust usage.
30449 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30452 2013-01-10 Andreas Schwab <schwab@suse.de>
30455 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30456 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30458 2013-01-09 David S. Miller <davem@davemloft.net>
30461 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30462 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30463 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30464 (TCP_FASTOPEN): Define.
30465 (tcp_repair_opt): New structure.
30466 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30468 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30469 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30470 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30471 (tcp_cookie_transactions): New structure.
30473 2013-01-09 Anton Blanchard <anton@samba.org>
30475 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30476 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30477 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30478 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30480 2013-01-09 Joseph Myers <joseph@codesourcery.com>
30482 * include/features.h (__USE_ANSI): Remove.
30484 2013-01-09 Roland McGrath <roland@hack.frob.com>
30486 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30488 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30490 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30492 * sysdeps/s390/fpu/libm-test-ulps: Update.
30494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30496 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30500 (denorm): Likewise.
30501 (__mp_dbl): Likewise.
30502 (__dbl_mp): Likewise.
30503 (add_magnitudes): Likewise.
30504 (sub_magnitudes): Likewise.
30510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30514 (denorm): Likewise.
30515 (__mp_dbl): Likewise.
30516 (__dbl_mp): Likewise.
30517 (add_magnitudes): Likewise.
30518 (sub_magnitudes): Likewise.
30524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30528 (denorm): Likewise.
30529 (__mp_dbl): Likewise.
30530 (__dbl_mp): Likewise.
30531 (add_magnitudes): Likewise.
30532 (sub_magnitudes): Likewise.
30539 2013-01-08 Joseph Myers <joseph@codesourcery.com>
30541 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30542 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30543 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30544 2 && __USE_EXTERN_INLINES]: Likewise.
30546 2013-01-08 Andreas Jaeger <aj@suse.de>
30549 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30551 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30552 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30554 2013-01-07 Anton Blanchard <anton@samba.org>
30556 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30557 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30558 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30559 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30560 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30561 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30562 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30563 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30565 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30566 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30567 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30568 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30569 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30570 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30571 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30572 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30573 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30574 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30575 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30576 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30577 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30579 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30580 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30581 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30582 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30583 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30585 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30586 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30588 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30589 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30590 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30591 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30594 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30598 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30600 2013-01-07 Joseph Myers <joseph@codesourcery.com>
30602 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30603 (__MALLOC_PMT): Likewise.
30604 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30605 [__GNUC__], only on [_LIBC].
30606 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30607 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30608 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30609 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30610 forward declaration.
30611 (realloc_hook_ini): Likewise.
30612 (memalign_hook_ini): Likewise.
30613 (__libc_memalign): Do not use __MALLOC_PMT in variable
30615 (__libc_valloc): Likewise.
30616 (__libc_pvalloc): Likewise.
30617 (__libc_calloc): Likewise.
30618 (__posix_memalign): Likewise.
30621 * math/s_casinh.c: Include <float.h>.
30622 (__casinh): Do not do computation with squaring and square root
30623 for large arguments.
30624 * math/s_casinhf.c: Include <float.h>.
30625 (__casinhf): Do not do computation with squaring and square root
30626 for large arguments.
30627 * math/s_casinhl.c: Include <float.h>.
30628 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30629 (__casinhl): Do not do computation with squaring and square root
30630 for large arguments.
30631 * math/libm-test.inc (casin_test): Add more tests.
30632 (casinh_test): Likewise.
30633 * sysdeps/i386/fpu/libm-test-ulps: Update.
30634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30636 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30638 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30639 (__x86_64_raw_data_cache_size): Likewise.
30640 (__x86_64_data_cache_size_half): Likewise.
30641 (__x86_64_raw_data_cache_size_half): Likewise.
30642 (__x86_64_shared_cache_size): Likewise.
30643 (__x86_64_raw_shared_cache_size): Likewise.
30644 (__x86_64_shared_cache_size_half): Likewise.
30645 (__x86_64_raw_shared_cache_size_half): Likewise.
30646 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30648 (__x86_data_cache_size): This.
30649 (__x86_64_raw_data_cache_size): Renamed to ...
30650 (__x86_raw_data_cache_size): This.
30651 (__x86_64_data_cache_size_half): Renamed to ...
30652 (__x86_data_cache_size_half): This.
30653 (__x86_64_raw_data_cache_size_half): Renamed to ...
30654 (__x86_raw_data_cache_size_half): This.
30655 (__x86_64_shared_cache_size): Renamed to ...
30656 (__x86_shared_cache_size): This.
30657 (__x86_64_raw_shared_cache_size): Renamed to ...
30658 (__x86_raw_shared_cache_size): This.
30659 (__x86_64_shared_cache_size_half): Renamed to ...
30660 (__x86_shared_cache_size_half): This.
30661 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30662 (__x86_raw_shared_cache_size_half): This.
30663 * sysdeps/x86_64/memcpy.S: Updated.
30664 * sysdeps/x86_64/memset.S: Likewise.
30665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30669 2013-01-04 David S. Miller <davem@davemloft.net>
30671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30673 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30675 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30676 1 to avoid redefinition warning.
30677 (__USE_GNU): Don't define.
30678 (init_signaling_nan): Protoize.
30680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30682 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30684 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30686 (__cpymn): Likewise.
30687 (norm): Remove commented code.
30688 (denorm): Likewise.
30689 (__mp_dbl): Likewise.
30691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30692 (__cpymn): Likewise.
30693 (norm): Remove commented code.
30694 (denorm): Likewise.
30695 (__mp_dbl): Likewise.
30698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30699 mp_no value for 1.0 and 2.0.
30700 (norm): Use RADIXI instead of radixi.d.
30701 (denorm): Likewise.
30702 (__mul): Use 0.0 instead of zero.d.
30703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30704 mp_no value for 1.0 and 2.0.
30705 (norm): Use RADIXI instead of radixi.d.
30706 (denorm): Likewise.
30707 (__mul): Use 0.0 instead of zero.d.
30709 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30712 * math/s_casinh.c (__casinh): Reduce finite argument to first
30713 quadrant then set signs of results at the end.
30714 * math/s_casinhf.c (__casinhf): Likewise.
30715 * math/s_casinhl.c (__casinhl): Likewise.
30716 * math/libm-test.inc (casin_test): Add more tests.
30717 (casinh_test): Likewise.
30718 * sysdeps/i386/fpu/libm-test-ulps: Update.
30719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30721 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30723 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30725 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30727 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30729 (denorm): Likewise.
30730 (__mp_dbl): Likewise.
30733 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30734 and adjust the header comment.
30736 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30737 variable name from declaration.
30739 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30742 Initialize COMMON_CPUID_INDEX_7 element.
30743 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30744 (CPUID_RTM): Likewise.
30745 (HAS_RTM): Likewise.
30746 (COMMON_CPUID_INDEX_7): New enum.
30748 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30751 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30752 size is zero, record memory as freed.
30754 2013-01-03 Andreas Jaeger <aj@suse.de>
30756 * po/ia.po: Add new Interlingua translation.
30758 2012-01-03 Allan McRae <allan@archlinux.org>
30760 * locale/programs/localedef.c: Fix description of '--posix' flag.
30762 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30764 * NEWS: Update dates in second copyright notice.
30765 * README: Update copyright dates in example.
30766 * manual/libc.texinfo: Update copyright dates.
30767 * scripts/test-installation.pl: Update copyright date in --version
30770 * hurd/ctty-input.c: Fix copyright notice formatting.
30771 * hurd/ctty-output.c: Likewise.
30772 * hurd/dtable.c: Likewise.
30773 * hurd/hurd-raise.c: Likewise.
30774 * hurd/hurdprio.c: Likewise.
30775 * hurd/msgportdemux.c: Likewise.
30776 * misc/sys/file.h: Likewise.
30777 * misc/sys/ioctl.h: Likewise.
30778 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30779 * sysdeps/mach/hurd/chdir.c: Likewise.
30780 * sysdeps/mach/hurd/fchdir.c: Likewise.
30781 * sysdeps/mach/hurd/rename.c: Likewise.
30782 * sysdeps/mach/hurd/rmdir.c: Likewise.
30783 * sysdeps/mach/hurd/seekdir.c: Likewise.
30784 * sysdeps/mach/hurd/setsid.c: Likewise.
30785 * sysdeps/posix/wait3.c: Likewise.
30787 * All files with FSF copyright notices: Update copyright dates
30788 using scripts/update-copyrights.
30789 * intl/plural.c: Regenerated.
30790 * locale/programs/charmap-kw.h: Likewise.
30791 * locale/programs/locfile-kw.h: Likewise.
30793 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30795 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30799 calculation loop and add branch prediction.
30801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30802 check access beyond bounds of m1np.
30804 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30806 (__inv): Remove local variable MPTWO to use the global
30808 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30811 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30812 MP3HALFS static const.
30814 2013-01-01 David S. Miller <davem@davemloft.net>
30816 * po/ca.po: Update from translation team.
30818 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30820 * scripts/update-copyrights: New file.
30821 * Makeconfig: Reformat copyright notice.
30822 * ctype/ctype.h: Likewise.
30823 * debug/swprintf_chk.c: Likewise.
30824 * elf/dl-cache.c: Likewise.
30825 * elf/dl-debug.c: Likewise.
30826 * elf/dl-object.c: Likewise.
30827 * grp/initgroups.c: Likewise.
30828 * hurd/Makefile: Likewise.
30829 * hurd/hurd/signal.h: Likewise.
30830 * hurd/hurdfault.c: Likewise.
30831 * hurd/hurdioctl.c: Likewise.
30832 * hurd/hurdlookup.c: Likewise.
30833 * hurd/intr-msg.c: Likewise.
30834 * iconv/gconv_open.c: Likewise.
30835 * libio/swprintf.c: Likewise.
30836 * locale/lc-ctype.c: Likewise.
30837 * locale/nl_langinfo.c: Likewise.
30838 * mach/Machrules: Likewise.
30839 * mach/Makefile: Likewise.
30840 * malloc/obstack.h: Likewise.
30841 * manual/Makefile: Likewise.
30842 * manual/tsort.awk: Likewise.
30843 * misc/bits/stab.def: Likewise.
30844 * nis/nis_print_group_entry.c: Likewise.
30845 * nis/nis_table.c: Likewise.
30846 * nis/nss_compat/compat-pwd.c: Likewise.
30847 * nis/nss_compat/compat-spwd.c: Likewise.
30848 * po/Makefile: Likewise.
30849 * posix/fnmatch.c: Likewise.
30850 * posix/regex.h: Likewise.
30851 * resolv/Makefile: Likewise.
30852 * resolv/nss_dns/dns-network.c: Likewise.
30853 * resolv/res_hconf.c: Likewise.
30854 * scripts/gen-sorted.awk: Likewise.
30855 * soft-fp/soft-fp.h: Likewise.
30856 * stdio-common/printf.h: Likewise.
30857 * stdlib/monetary.h: Likewise.
30858 * stdlib/random.c: Likewise.
30859 * stdlib/random_r.c: Likewise.
30860 * sysdeps/generic/Makefile: Likewise.
30861 * sysdeps/gnu/Makefile: Likewise.
30862 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30885 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30886 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30887 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30888 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30889 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30890 * sysdeps/mach/hurd/errnos.awk: Likewise.
30891 * sysdeps/mach/hurd/fork.c: Likewise.
30892 * sysdeps/mach/hurd/getcwd.c: Likewise.
30893 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30894 * sysdeps/mach/hurd/mmap.c: Likewise.
30895 * sysdeps/mach/hurd/utimes.c: Likewise.
30896 * sysdeps/mach/hurd/xmknod.c: Likewise.
30897 * sysdeps/posix/profil.c: Likewise.
30898 * sysdeps/posix/readdir_r.c: Likewise.
30899 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30900 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30901 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30902 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30904 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30906 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30909 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30910 * sysdeps/pthread/lio_listio.c: Likewise.
30911 * sysdeps/sparc/dl-procinfo.h: Likewise.
30912 * sysdeps/unix/i386/sysdep.S: Likewise.
30913 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30914 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30915 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30916 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30918 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30919 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30920 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30921 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30922 * sysdeps/wordsize-32/divdi3.c: Likewise.
30923 * time/sys/time.h: Likewise.
30924 * wcsmbs/Makefile: Likewise.
30926 2013-01-01 David S. Miller <davem@davemloft.net>
30928 * po/fr.po: Update from translation team.
30930 * catgets/gencat.c: Update copyright year.
30931 * csu/version.c: Likewise.
30932 * debug/catchsegv.sh: Likewise.
30933 * debug/pcprofiledump.c: Likewise.
30934 * debug/xtrace.sh: Likewise.
30935 * elf/ldconfig.c: Likewise.
30936 * elf/ldd.bash.in: Likewise.
30937 * elf/pldd.c: Likewise.
30938 * elf/sotruss.ksh: Likewise.
30939 * elf/sprof.c: Likewise.
30940 * iconv/iconv_prog.c: Likewise.
30941 * iconv/iconvconfig.c: Likewise.
30942 * locale/programs/locale.c: Likewise.
30943 * locale/programs/localedef.c: Likewise.
30944 * login/programs/pt_chown.c: Likewise.
30945 * malloc/memusage.sh: Likewise.
30946 * malloc/memusagestat.c: Likewise.
30947 * malloc/mtrace.pl: Likewise.
30948 * nscd/nscd.c: Likewise.
30949 * nss/getent.c: Likewise.
30950 * nss/makedb.c: Likewise.
30951 * posix/getconf.c: Likewise.
30953 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30955 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30958 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30960 * math/bits/mathcalls.h (modf): Use __nonnull.
30962 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30964 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30965 (split): Use macro CN instead of the bare value.
30966 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30969 instead of the bare value.
30970 (power1): Likewise.
30972 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30976 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30978 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30980 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30981 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30982 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30983 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30985 2012-12-28 Andreas Jaeger <aj@suse.de>
30987 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30988 values are from Linux 3.7.
30990 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30991 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30993 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30995 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30998 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31000 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31001 variables with preprocessor constants.
31002 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31003 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31006 2012-12-27 Bruno Haible <bruno@clisp.org>
31009 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31012 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31015 and use variable directly.
31016 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31018 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31020 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31023 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31025 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31026 include directive. Remove local variable MPONE.
31027 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31028 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31029 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31031 2012-12-25 David S. Miller <davem@davemloft.net>
31033 * version.h (RELEASE): Set to "development".
31034 (VERSION): Set to "2.17.90".
31035 * NEWS: Add 2.18 section.
31037 2012-12-21 David S. Miller <davem@davemloft.net>
31039 * po/hr.po: Update from translation team.
31041 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31043 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31045 2012-12-19 Steve Ellcey <sellcey@mips.com>
31047 * NEWS: Mention new memcpy for MIPS.
31049 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31051 * manual/contrib.texi (Contributors): Spelling correction.
31053 2012-12-15 David S. Miller <davem@davemloft.net>
31055 * po/ru.po: Update from translation team.
31057 2012-12-13 David S. Miller <davem@davemloft.net>
31059 * NEWS: Mention IFUNC testsuite enhancements.
31061 * po/pl.po: Update from translation team.
31062 * po/bg.po: Likewise.
31064 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31065 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31067 2012-12-11 David S. Miller <davem@davemloft.net>
31069 * po/sv.po: Update from translation team.
31071 * po/vi.po: Update from translation team.
31073 * po/cs.po: Update from translation team.
31075 * po/de.po: Update from translation team.
31076 * po/eo.po: Likewise.
31077 * po/nl.po: Likewise.
31079 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31082 * manual/argp.texi (Argp Helper Functions): Move node to follow
31083 Argp Parsing State.
31086 * manual/conf.texi (Limits on File System Capacity): Mention if
31087 terminating null is included in the max size.
31089 2012-12-10 Andreas Jaeger <aj@suse.de>
31091 * po/cs.po: Update from translation team.
31093 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31095 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31096 void pointer and cast to uintptr_t.
31097 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31099 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31100 * sysdeps/s390/s390-64/memset.S: Likewise.
31102 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31105 * menual/message.texi (Message Translation): Fix typos.
31106 (Helper programs for gettext): Likewise.
31108 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31111 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31114 2012-12-07 David S. Miller <davem@davemloft.net>
31116 * po/libc.pot: Update.
31118 2012-12-07 Richard Henderson <rth@redhat.com>
31121 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31122 normal/normal case to before the switch.
31123 (_FP_DIV): Likewise.
31125 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31126 Mike Frysinger <vapier@gentoo.org>
31128 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31129 check for __NR_fadvise64_64.
31131 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31133 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31134 0, not just to plain "0" as a statement.
31135 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31138 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31140 * NEWS: Use sourceware.org in Bugzilla URL.
31142 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31145 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31147 * stdio-common/tst-put-error.c (do_test): Add newline to the
31148 padded test to ensure flush.
31150 2012-12-05 Jeff Law <law@redhat.com>
31152 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31154 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31156 * README: Don't refer to ports add-on as distributed separately.
31157 Mention AArch64 in list of systems supported in the ports add-on.
31159 * LICENSES: Add more non-FSF copyright and license notices.
31161 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31164 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31166 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31167 10000 as width of padded output.
31169 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31171 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31174 variable LX with __attribute__ ((unused)).
31175 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31177 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31180 with __attribute__ ((unused)).
31182 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31184 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31186 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31188 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31189 (CFLAGS-nldbl-acos.c): New variable.
31190 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31191 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31192 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31193 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31194 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31195 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31196 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31197 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31198 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31199 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31200 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31201 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31202 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31203 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31204 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31205 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31206 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31207 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31208 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31209 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31210 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31211 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31212 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31213 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31214 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31215 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31216 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31217 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31218 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31219 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31220 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31221 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31222 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31223 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31224 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31225 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31226 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31227 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31228 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31229 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31230 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31231 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31232 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31233 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31234 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31235 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31236 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31237 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31238 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31239 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31240 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31241 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31242 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31243 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31244 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31245 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31246 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31247 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31248 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31249 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31250 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31251 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31252 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31253 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31254 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31255 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31256 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31257 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31258 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31259 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31260 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31261 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31262 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31263 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31264 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31265 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31266 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31267 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31268 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31269 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31270 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31271 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31272 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31273 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31274 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31275 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31276 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31277 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31278 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31279 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31280 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31281 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31282 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31283 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31284 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31285 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31286 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31289 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31292 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31293 whole low double instead of just low 47 bits when splitting values
31296 2012-12-03 Allan McRae <allan@archlinux.org>
31298 * manual/stdio.texi (Predefined Printf Handlers): Remove
31299 @hsep and @vsep usage.
31301 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31303 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31304 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31306 2012-12-03 Jeff Law <law@redhat.com>
31308 * time/sys/time.h (settimeofday): Do not mark TV argument
31311 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31313 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31314 when currently writing and seek to current position when not.
31315 * libio/Makefile (tests): Remove bug-fclose1.
31316 * libio/bug-fclose1.c: Delete.
31318 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31320 * manual/arith.texi (feenableexcept): Fix typo.
31321 (fedisableexcept): Likewise.
31323 2012-11-30 Roland McGrath <roland@hack.frob.com>
31325 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31326 second, differently-typed declaration, rather than a cast.
31328 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31330 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31331 * include/rpc/svc.h: ... here.
31333 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31336 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31337 depending n and resplen2 to catch cases where answer
31340 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31342 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31343 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31345 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31347 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31349 2012-11-29 Roland McGrath <roland@hack.frob.com>
31351 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31353 2012-11-28 Jeff Law <law@redhat.com>
31356 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31357 dataset_temporary. Track alloca usage into alloca_used.
31358 If dataset is large allocate and release it via malloc/free.
31360 2012-06-04 Florian Weimer <fweimer@redhat.com>
31363 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31365 2012-11-28 David S. Miller <davem@davemloft.net>
31367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31369 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31372 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31373 of pi/2 rounded to nearest to 64 bits.
31374 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31375 nearest to 64 bits.
31376 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31379 2012-11-28 Jeff Law <law@redhat.com>
31380 Martin Osvald <mosvald@redhat.com>
31383 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31384 * sunrpc/svc.c: Include time.h.
31385 (__svc_accept_failed): New function.
31386 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31387 any reason other than EINTR, call __svc_accept_failed.
31388 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31389 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31391 2012-11-28 Andreas Schwab <schwab@suse.de>
31393 * scripts/abilist.awk: Also handle indirect functions in .opd
31396 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31399 * sysdeps/x86/fpu/powl_helper.c: New file.
31400 * sysdeps/x86/fpu/Makefile: Likewise.
31401 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31403 (__ieee754_powl): Use __powl_helper for finite arguments except
31404 integer exponents below 8.
31405 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31407 (__ieee754_powl): Use __powl_helper for finite arguments except
31408 integer exponents below 8.
31409 * math/libm-test.inc (pow_test): Add more tests and enable some
31410 previously disabled tests.
31411 * sysdeps/i386/fpu/libm-test-ulps: Update.
31412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31414 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31415 Carlos O'Donell <carlos_odonell@mentor.com>
31417 * nss/makedb.c (is_prime): Assert that input is odd and greater
31418 than 4. Note that fact in a comment too.
31419 (next_prime): Add 4 to input.
31421 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31424 * libio/Makefile (tests): Add test case tst-fwrite-error.
31425 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31426 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31427 * libio/tst-fwrite-error.c: New test case.
31429 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31431 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31432 before casting to void *.
31433 * include/libc-internal.h (__pointer_type): New macro.
31434 (__integer_if_pointer_type_sub): Likewise.
31435 (__integer_if_pointer_type): Likewise.
31436 (cast_to_integer): Likewise.
31437 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31438 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31439 before casting to atomic64_t.
31440 (atomic_exchange_acq): Likewise.
31441 (__arch_exchange_and_add_body): Likewise.
31442 (__arch_add_body): Likewise.
31443 (atomic_add_negative): Likewise.
31444 (atomic_add_zero): Likewise.
31446 2012-11-26 Joseph Myers <joseph@codesourcery.com>
31448 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31449 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31450 (add_fdes): Likewise.
31451 (linear_search_fdes): Likewise.
31452 (binary_search_unencoded_fdes): Likewise.
31454 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31456 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31458 2012-11-24 Adam Conrad <adconrad@0c3.net>
31460 * configure.in: Autodetect C++ header directories.
31461 * configure: Regenerated.
31463 2012-11-23 Mike Frysinger <vapier@gentoo.org>
31465 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31467 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31471 2012-11-22 Joseph Myers <joseph@codesourcery.com>
31473 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31474 LDBL_MANT_DIG == 106]: Disable some tests.
31475 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31477 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31481 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31482 input for small inputs. Return +/- pi/2 for large inputs.
31483 * math/libm-test.inc (atan_test): Add more tests.
31485 * sysdeps/generic/unwind-dw2-fde-glibc.c
31486 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31487 __attribute__ ((unused)).
31490 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31491 x * y if x and y are nonzero and z is zero.
31494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31495 nonzero exponents with absolute value below 0x1p-117 to +/-
31499 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31500 up arguments below 2**-450, not just those below 2**-500.
31501 * math/libm-test.inc (hypot_test): Add another test.
31504 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31505 Return a+b for ratio over 2**120, not 2**60.
31506 * math/libm-test.inc (hypot_test): Add another test.
31508 * math/libm-test.inc (clog_test): Use
31509 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31510 (clog10_test): Likewise.
31513 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31515 2012-11-22 Andreas Schwab <schwab@suse.de>
31517 * sysdeps/i386/fpu/libm-test-ulps: Update.
31519 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31521 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31522 printf output with newline.
31524 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31527 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31528 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31529 -z nodlopen, -z initfirst and -z execstack support.
31530 * configure: Regenerated.
31532 * elf/elf.h (DF_1_NODIRECT): New macro.
31533 (DF_1_IGNMULDEF): Likewise.
31534 (DF_1_NOKSYMS): Likewise.
31535 (DF_1_NOHDR): Likewise.
31536 (DF_1_EDITED): Likewise.
31537 (DF_1_NORELOC): Likewise.
31538 (DF_1_SYMINTPOSE): Likewise.
31539 (DF_1_GLOBAUDIT): Likewise.
31540 (DF_1_SINGLETON): Likewise.
31541 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31542 DT_1_SUPPORTED_MASK bits.
31543 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31545 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31547 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31549 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31551 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31554 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31555 (sendmmsg): Move declarations...
31556 * socket/sys/socket.h: ... here.
31557 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31558 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31560 * socket/recvmmsg.c: ... this new file.
31561 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31562 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31563 definition of __sendmmsg hidden.
31564 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31565 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31566 Move ENOSYS stub into and include it from...
31567 * socket/sendmmsg.c: ... this new file.
31568 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31569 (sysdep_routines): Move recvmmsg and sendmmsg...
31570 * socket/Makefile (routines): ... here.
31571 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31572 (GLIBC_PRIVATE): Add __sendmmsg.
31573 * include/sys/socket.h (__sendmmsg): Add declarations.
31574 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31577 2012-11-20 Joseph Myers <joseph@codesourcery.com>
31579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31580 variable I1 with __attribute__ ((unused)).
31581 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31583 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31585 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31586 DUMMY variables with __attribute__ ((unused)).
31588 * bits/byteswap.h: Include <bits/types.h>.
31589 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31591 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31593 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31594 string_t. Do not manually set errno.
31595 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31596 length with __strnlen. Make sure to both set errno and return it on
31599 2012-11-19 David S. Miller <davem@davemloft.net>
31601 With help from Joseph Myers.
31602 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31603 very large arguments properly.
31604 * math/libm-test.inc (atan_test): New tests.
31605 (atan2_test): New tests.
31606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31609 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31612 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31615 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31616 [POSIX] (EADDRNOTAVAIL): Likewise.
31617 [POSIX] (EAFNOSUPPORT): Likewise.
31618 [POSIX] (EALREADY): Likewise.
31619 [POSIX] (ECONNABORTED): Likewise.
31620 [POSIX] (ECONNREFUSED): Likewise.
31621 [POSIX] (ECONNRESET): Likewise.
31622 [POSIX] (EDESTADDRREQ): Likewise.
31623 [POSIX] (EDQUOT): Likewise.
31624 [POSIX] (EHOSTUNREACH): Likewise.
31625 [POSIX] (EIDRM): Likewise.
31626 [POSIX] (EISCONN): Likewise.
31627 [POSIX] (ELOOP): Likewise.
31628 [POSIX] (EMULTIHOP): Likewise.
31629 [POSIX] (ENETDOWN): Likewise.
31630 [POSIX] (ENETUNREACH): Likewise.
31631 [POSIX] (ENOBUFS): Likewise.
31632 [POSIX] (ENODATA): Likewise.
31633 [POSIX] (ENOLINK): Likewise.
31634 [POSIX] (ENOMSG): Likewise.
31635 [POSIX] (ENOPROTOOPT): Likewise.
31636 [POSIX] (ENOSR): Likewise.
31637 [POSIX] (ENOSTR): Likewise.
31638 [POSIX] (ENOTCONN): Likewise.
31639 [POSIX] (ENOTSOCK): Likewise.
31640 [POSIX] (EOPNOTSUPP): Likewise.
31641 [POSIX] (EOVERFLOW): Likewise.
31642 [POSIX] (EPROTO): Likewise.
31643 [POSIX] (EPROTONOSUPPORT): Likewise.
31644 [POSIX] (EPROTOTYPE): Likewise.
31645 [POSIX] (ESTALE): Likewise.
31646 [POSIX] (ETIME): Likewise.
31647 [POSIX] (ETXTBSY): Likewise.
31648 [POSIX] (EWOULDBLOCK): Likewise.
31649 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31650 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31651 [POSIX] (SEEK_CUR): Likewise.
31652 [POSIX] (SEEK_END): Likewise.
31653 [POSIX || UNIX98] (mode_t): Do not require.
31654 [POSIX] (off_t): Likewise.
31655 [POSIX] (pid_t): Likewise.
31656 [POSIX] (sys/stat.h): Do not allow header.
31657 [POSIX] (unistd.h): Likewise.
31658 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31659 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31660 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31661 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31663 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31664 sigevent): Specify elements.
31665 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31667 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31668 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31670 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31671 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31672 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31673 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31674 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31675 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31676 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31677 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31678 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31679 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31680 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31681 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31682 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31683 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31685 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31687 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31689 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31691 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31692 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31693 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31694 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31695 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31696 Specify lower bound on value.
31697 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31698 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31699 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31700 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31701 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31702 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31703 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31704 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31706 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31708 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31709 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31710 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31711 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31712 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31713 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31714 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31715 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31716 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31717 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31718 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31719 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31720 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31721 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31722 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31723 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31725 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31727 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31728 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31729 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31730 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31731 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31732 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31734 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31735 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31736 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31737 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31738 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31739 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31740 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31742 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31743 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31744 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31745 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31746 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31747 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31748 specify as optional.
31749 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31750 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31751 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31752 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31753 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31754 [XPG3] (NL_LANGMAX): Likewise.
31755 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31756 [POSIX || XPG3] (NL_NMAX): Likewise.
31757 [POSIX || XPG3] (NL_SETMAX): Likewise.
31758 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31759 [XPG3] (NZERO): Likewise.
31760 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31761 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31762 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31763 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31764 (REG_ERANGE): Expect.
31765 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31767 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31768 Use (void) in prototype.
31769 [POSIX] (*_t): Allow.
31770 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31771 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31772 (WRDE_BADVAL): Expect.
31774 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31776 [XPG3 || XPG4] (O_RSYNC): Likewise.
31777 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31779 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31780 [XPG3 || XPG4] (sigqueue): Likewise.
31781 [XPG3 || XPG4] (sigtimedwait): Likewise.
31782 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31783 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31784 [XPG3 || XPG4] (vsnprintf): Likewise.
31785 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31787 [XPG3 || XPG4] (blksize_t): Likewise.
31788 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31790 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31791 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31792 [XPG3 || XPG4] (struct itimerspec): Likewise.
31793 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31794 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31795 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31796 [XPG3 || XPG4] (clockid_t): Likewise.
31797 [XPG3 || XPG4] (timer_t): Likewise.
31798 [XPG3 || XPG4] (clock_getres): Likewise.
31799 [XPG3 || XPG4] (clock_gettime): Likewise.
31800 [XPG3 || XPG4] (clock_settime): Likewise.
31801 [XPG3 || XPG4] (nanosleep): Likewise.
31802 [XPG3 || XPG4] (timer_create): Likewise.
31803 [XPG3 || XPG4] (timer_delete): Likewise.
31804 [XPG3 || XPG4] (timer_gettime): Likewise.
31805 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31806 [XPG3 || XPG4] (timer_settime): Likewise.
31807 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31808 [XPG3 || XPG4] (getlogin_r): Likewise.
31809 [XPG3 || XPG4] (pread): Likewise.
31810 [XPG3 || XPG4] (pthread_atfork): Likewise.
31811 [XPG3 || XPG4] (pwrite): Likewise.
31814 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31817 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31819 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31820 finalizing MALLSTREAM.
31822 * sysdeps/mach/hurd/syncfs.c: New file.
31824 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31827 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31828 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31829 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31830 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31831 (_nss_dns_gethostbyname4_r): Likewise.
31832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31833 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31835 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31838 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31840 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31842 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31843 * elf/cache.c (print_entry): Print ",AArch64" for
31846 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31847 * elf/cache.c (print_entry): Print ",hard-float" for
31850 2012-11-18 David S. Miller <davem@davemloft.net>
31852 With help from Joseph Myers.
31853 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31855 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31857 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31858 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31860 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31861 * math/libm-test.inc (y0_test): New tests.
31862 (y1_test): New tests.
31863 * sysdeps/i386/fpu/libm-test-ulps: Update.
31864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31867 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31869 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31871 * configure: Regenerated.
31873 2012-11-17 David S. Miller <davem@davemloft.net>
31876 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31877 nonzero exponents with absolute value below 0x1p-128 to +/-
31880 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31882 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31884 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31886 * posix/getconf-speclist.c: New file.
31887 * posix/posix-envs.def: Likewise.
31888 * posix/confstr.c (START_ENV_GROUP): New macro.
31889 (END_ENV_GROUP): Likewise.
31890 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31891 (KNOWN_PRESENT_ENV_STRING): Likewise.
31892 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31893 (UNKNOWN_ENVIRONMENT): Likewise.
31894 (confstr): Include posix-envs.def instead of handling
31895 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31896 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31897 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31898 (END_ENV_GROUP): Likewise.
31899 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31900 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31901 (UNKNOWN_ENVIRONMENT): Likewise.
31902 (__sysconf): Include posix-envs.def instead of handling associated
31903 cases directly here.
31904 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31905 preprocessing getconf-speclist.c rather than running getconf or
31906 generating empty file.
31908 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31910 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31912 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31915 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31917 2012-11-16 David S. Miller <davem@davemloft.net>
31919 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31920 smaller than LDBL_EPSILON/2.0L, just return xm1.
31922 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31924 * elf/tst-array1.c (init): Set constructor priority to 1000.
31925 (fini): Set destructor priority to 1000.
31926 * elf/tst-array2dep.c: Likewise.
31928 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31931 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31932 (_IO_new_file_xsputn): Also return EOF if none of the input
31933 data was written when overflow failed.
31934 * libio/iopadn.c (_IO_padn): Likewise.
31935 * libio/iowpadn.c (_IO_wpadn): Likewise.
31936 * stdio-common/tst-put-error.c: Add copyright notice.
31937 (do_test): Add case for printing padded string.
31938 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31939 _IO_padn returned error.
31940 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31941 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31944 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31946 * libio/libioP.h: Add comment note that the references to C++
31947 bits are now obsolete.
31949 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31951 * math/libm-test.inc (check_complex): Use asprintf.
31953 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31955 * debug/pcprofiledump.c (print_version): Update copyright year.
31956 * malloc/memusagestat.c (print_version): Likewise.
31958 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31961 * elf/Makefile (tests): Add tst-audit8.
31962 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31963 ($(objpfx)tst-audit8.out): New target.
31964 (tst-audit8-ENV): New variable.
31965 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31966 audit if l_reloc_result is NULL.
31967 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31968 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31969 * elf/tst-audit8.c: New file.
31971 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31973 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31974 * misc/Makefile (CFLAGS-select.c): Define.
31975 * posix/Makefile (CFLAGS-pause.c): Define.
31977 2012-11-13 David S. Miller <davem@davemloft.net>
31979 * crypt/Makefile: Move test targets after toplevel Rules
31980 inclusion. Grab any necessary sysdep routines when linking.
31981 * crypt/md5.c (md5_process_block): Remove define, we will always
31982 name it __md5_process_block.
31983 (md5_finish_ctx): Update md5_process_block call.
31984 (md5_stream): Likewise.
31985 (md5_process_bytes): Likewise.
31986 (md5_process_block): Rename to __md5_process_block and move to ...
31987 * crypt/md5-block.c: ... here.
31988 * crypt/sha256.c (sha256_process_block): Move to ...
31989 * crypt/sha256-block.c: ... here.
31990 * crypt/sha512.c (sha512_process_block): Move to ...
31991 * crypt/sha512-block.c: ... here.
31992 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31994 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31995 * sysdeps/sparc/sparc64/multiarch/Makefile
31996 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31998 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31999 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32001 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32002 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32003 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32004 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32005 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32006 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32007 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32008 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32009 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32011 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32012 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32014 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32016 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32018 * timezone/tzselect.ksh: Update from tzcode git revision
32019 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32020 * timezone/zdump.c: Likewise.
32021 * timezone/zic.c: Likewise.
32022 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32023 in TZVERSION setting, not $(PKGVERSION).
32024 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32025 REPORT_BUGS_TO settings.
32028 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32031 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32033 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32034 detection to immediately after _FP_ROUND().
32035 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32038 2012-11-11 David S. Miller <davem@davemloft.net>
32040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32042 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32043 __close rather than their public counterparts.
32045 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32047 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32049 [UNIX98] (sem_timedwait): Do not expect.
32050 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32051 [XPG4 || UNIX98] (sockatmark): Do not expect.
32052 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32053 (clock_getcpuclockid): Do not expect.
32054 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32055 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32057 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32058 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32059 [UNIX98] (vwscanf): Likewise.
32060 [UNIX98] (vswscanf): Likewise.
32062 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32064 * timezone/version.h: Remove file.
32065 * timezone/README: Do not refer to version.h.
32066 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32067 $(objpfx)version.h.
32068 ($(objpfx)zdump.o): Likewise.
32069 ($(objpfx)version.h): New target.
32071 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32073 * timezone/README: Don't mention modification to tzselect.ksh.
32074 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32075 work on unmodified tzselect.ksh. Substitute version numbers in
32078 * Makefile (format-me): Remove.
32079 (INSTALL): Adjust indentation. Use commands directly instead of
32080 using $(format-me).
32082 * aclocal.m4 (ACX_PKGVERSION): New macro.
32083 (ACX_BUGURL): Likewise.
32084 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32085 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32086 (REPORT_BUGS_TO): Likewise.
32087 * configure: Regenerated.
32088 * config.h.in (PKGVERSION): New macro.
32089 (REPORT_BUGS_TO): Likewise.
32090 * config.make.in (PKGVERSION): New variable.
32091 (PKGVERSION_TEXI): Likewise.
32092 (REPORT_BUGS_TO): Likewise.
32093 (REPORT_BUGS_TEXI): Likewise.
32094 * Makefile (format-me): Use -I$(common-objpfx)manual.
32095 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32096 ($(common-objpfx)manual/%): New target.
32097 (manual/%): Remove target.
32098 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32099 (print_version): Use PKGVERSION.
32100 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32101 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32102 and REPORT_BUGS_TO.
32103 ($(objpfx)xtrace): Likewise.
32104 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32105 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32106 (print_version): Use PKGVERSION.
32107 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32108 (do_version): Use PKGVERSION.
32109 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32111 (common-ldd-rewrite): Likewise.
32112 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32113 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32114 (print_version): Use PKGVERSION.
32115 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32116 * elf/pldd.c (argp_program_bug_address): Remove variable.
32117 (more_help): New function.
32118 (argp): Use more_help.
32119 (print_version): Use PKGVERSION.
32120 * elf/sln.c (main): Use PKGVERSION.
32121 (usage): Use REPORT_BUGS_TO.
32122 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32123 (top level): Use PKGVERSION.
32124 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32125 (print_version): Use PKGVERSION.
32126 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32127 (print_version): Use PKGVERSION.
32128 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32129 (print_version): Use PKGVERSION.
32130 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32131 (print_version): Use PKGVERSION.
32132 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32133 (print_version): Use PKGVERSION.
32134 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32135 (print_version): Use PKGVERSION.
32136 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32138 ($(objpfx)memusage): Likewise.
32139 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32140 (do_version): Use PKGVERSION.
32141 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32142 (print_version): Use PKGVERSION.
32143 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32144 ($PKGVERSION): New variable.
32145 ($REPORT_BUGS_TO): Likewise.
32146 (usage): Use $REPORT_BUGS_TO.
32147 (top level): Use $PKGVERSION.
32148 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32149 ($(objpfx)pkgvers.texi): New rule.
32150 ($(objpfx)stamp-pkgvers): Likewise.
32151 * manual/install.texi: Include pkgvers.texi.
32152 (--with-pkgversion): Document new configure option.
32153 (--with-bugurl): Likewise.
32154 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32155 than necessarily for this particular distribution. Use
32156 REPORT_BUGS_TO for where to report bugs.
32157 * INSTALL: Regenerated.
32158 * manual/libc.texinfo: Include pkgvers.texi.
32159 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32160 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32161 (print_version): Use PKGVERSION.
32162 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32163 (print_version): Use PKGVERSION.
32164 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32165 (print_version): Use PKGVERSION.
32166 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32167 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32169 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32170 (print_version): Use PKGVERSION.
32171 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32172 (print_version): Use PKGVERSION.
32173 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32176 * timezone/checktab.awk: Update from tzcode 2012i.
32177 * timezone/ialloc.c: Likewise.
32178 * timezone/private.h: Likewise.
32179 * timezone/scheck.c: Likewise.
32180 * timezone/tzfile.h: Likewise.
32181 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32182 (TZVERSION): Hardcode tzcode version number.
32183 * timezone/zdump.c: Update from tzcode 2012i.
32184 * timezone/zic.c: Likewise.
32185 * timezone/version.h: New file.
32186 * timezone/README: Describe version.h. Update upstream location.
32189 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32190 (mktemp): Enable declaration.
32191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32192 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32208 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32209 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32210 for copies of such integer values.
32211 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32212 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32214 2012-11-09 Andreas Jaeger <aj@suse.de>
32216 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32217 definitions and declarations that are provided by
32218 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32220 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32222 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32223 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32224 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32227 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32229 * elf/elf.h: Update comment before AArch64 relocations.
32231 2012-11-07 David S. Miller <davem@davemloft.net>
32233 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32234 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32235 (__start_context): Declare.
32236 (__makecontext_ret): Delete.
32237 (__makecontext): Hook up __start_context instead of
32239 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32240 (sysdep_routines): Add __start_context when in stdlib.
32242 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32244 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32245 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32246 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32248 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32249 (READELF): New variable. Use it instead of hardcoded "readelf".
32251 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32253 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32254 * sysdeps/x86/Makefile: Here.
32255 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32256 * sysdeps/x86/tst-xmmymm.sh: This.
32258 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32260 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32262 [UNIX98] (pthread_barrier_t): Do not expect.
32263 [UNIX98] (pthread_barrierattr_t): Likewise.
32264 [UNIX98] (pthread_spinlock_t): Likewise.
32265 [UNIX98] (pthread_barrier_destroy): Likewise.
32266 [UNIX98] (pthread_barrier_init): Likewise.
32267 [UNIX98] (pthread_barrier_wait): Likewise.
32268 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32269 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32270 [UNIX98] (pthread_barrierattr_init): Likewise.
32271 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32272 [UNIX98] (pthread_getcpuclockid): Likewise.
32273 [UNIX98] (pthread_mutex_timedlock): Likewise.
32274 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32275 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32276 [UNIX98] (pthread_sigmask): Likewise.
32277 [UNIX98] (pthread_spin_destroy): Likewise.
32278 [UNIX98] (pthread_spin_init): Likewise.
32279 [UNIX98] (pthread_spin_lock): Likewise.
32280 [UNIX98] (pthread_spin_trylock): Likewise.
32281 [UNIX98] (pthread_spin_unlock): Likewise.
32282 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32284 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32285 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32286 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32287 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32288 [XPG3 || XPG4] (pthread_key_t): Likewise.
32289 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32290 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32291 [XPG3 || XPG4] (pthread_once_t): Likewise.
32292 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32293 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32294 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32295 [XPG3 || XPG4] (pthread_t): Likewise.
32297 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32299 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32301 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32302 Change function return type to int.
32304 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32305 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32306 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32307 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32308 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32309 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32310 [!POSIX] (posix_madvise): Likewise.
32311 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32313 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32314 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32315 (mode_t): Likewise.
32316 (posix_mem_offset): Likewise.
32317 (posix_typed_mem_get_info): Likewise.
32318 (posix_typed_mem_open): Likewise.
32320 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32321 Change condition to [XOPEN2K8].
32323 * conform/conformtest.pl: Preprocess allow-header data with -x c
32324 instead of from stdin.
32325 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32326 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32327 [C99-based standards] (cerfc): Likewise.
32328 [C99-based standards] (cexp2): Likewise.
32329 [C99-based standards] (cexpm1): Likewise.
32330 [C99-based standards] (clog10): Likewise.
32331 [C99-based standards] (clog1p): Likewise.
32332 [C99-based standards] (clog2): Likewise.
32333 [C99-based standards] (clgamma): Likewise.
32334 [C99-based standards] (ctgamma): Likewise.
32335 [C99-based standards] (cerff): Likewise.
32336 [C99-based standards] (cerfcf): Likewise.
32337 [C99-based standards] (cexp2f): Likewise.
32338 [C99-based standards] (cexpm1f): Likewise.
32339 [C99-based standards] (clog10f): Likewise.
32340 [C99-based standards] (clog1pf): Likewise.
32341 [C99-based standards] (clog2f): Likewise.
32342 [C99-based standards] (clgammaf): Likewise.
32343 [C99-based standards] (ctgammaf): Likewise.
32344 [C99-based standards] (cerfl): Likewise.
32345 [C99-based standards] (cerfcl): Likewise.
32346 [C99-based standards] (cexp2l): Likewise.
32347 [C99-based standards] (cexpm1l): Likewise.
32348 [C99-based standards] (clog10l): Likewise.
32349 [C99-based standards] (clog1pl): Likewise.
32350 [C99-based standards] (clog2l): Likewise.
32351 [C99-based standards] (clgammal): Likewise.
32352 [C99-based standards] (ctgammal): Likewise.
32353 * conform/data/inttypes.h-data [C99-based standards]: Include
32354 stdint.h-data. Remove all expectations for stdint.h contents.
32355 [C99-based standards] (PRI*): Do not allow.
32356 [C99-based standards] (SCN*): Likewise.
32357 [C99-based standards] (*_t): Likewise.
32358 [C99-based-standards] (PRId8): Expect macro.
32359 [C99-based-standards] (PRIi8): Likewise.
32360 [C99-based-standards] (PRIo8): Likewise.
32361 [C99-based-standards] (PRIu8): Likewise.
32362 [C99-based-standards] (PRIx8): Likewise.
32363 [C99-based-standards] (PRIX8): Likewise.
32364 [C99-based-standards] (SCNd8): Likewise.
32365 [C99-based-standards] (SCNi8): Likewise.
32366 [C99-based-standards] (SCNo8): Likewise.
32367 [C99-based-standards] (SCNu8): Likewise.
32368 [C99-based-standards] (SCNx8): Likewise.
32369 [C99-based-standards] (PRIdLEAST8): Likewise.
32370 [C99-based-standards] (PRIiLEAST8): Likewise.
32371 [C99-based-standards] (PRIoLEAST8): Likewise.
32372 [C99-based-standards] (PRIuLEAST8): Likewise.
32373 [C99-based-standards] (PRIxLEAST8): Likewise.
32374 [C99-based-standards] (PRIXLEAST8): Likewise.
32375 [C99-based-standards] (SCNdLEAST8): Likewise.
32376 [C99-based-standards] (SCNiLEAST8): Likewise.
32377 [C99-based-standards] (SCNoLEAST8): Likewise.
32378 [C99-based-standards] (SCNuLEAST8): Likewise.
32379 [C99-based-standards] (SCNxLEAST8): Likewise.
32380 [C99-based-standards] (PRIdFAST8): Likewise.
32381 [C99-based-standards] (PRIiFAST8): Likewise.
32382 [C99-based-standards] (PRIoFAST8): Likewise.
32383 [C99-based-standards] (PRIuFAST8): Likewise.
32384 [C99-based-standards] (PRIxFAST8): Likewise.
32385 [C99-based-standards] (PRIXFAST8): Likewise.
32386 [C99-based-standards] (SCNdFAST8): Likewise.
32387 [C99-based-standards] (SCNiFAST8): Likewise.
32388 [C99-based-standards] (SCNoFAST8): Likewise.
32389 [C99-based-standards] (SCNuFAST8): Likewise.
32390 [C99-based-standards] (SCNxFAST8): Likewise.
32391 [C99-based-standards] (PRId16): Likewise.
32392 [C99-based-standards] (PRIi16): Likewise.
32393 [C99-based-standards] (PRIo16): Likewise.
32394 [C99-based-standards] (PRIu16): Likewise.
32395 [C99-based-standards] (PRIx16): Likewise.
32396 [C99-based-standards] (PRIX16): Likewise.
32397 [C99-based-standards] (SCNd16): Likewise.
32398 [C99-based-standards] (SCNi16): Likewise.
32399 [C99-based-standards] (SCNo16): Likewise.
32400 [C99-based-standards] (SCNu16): Likewise.
32401 [C99-based-standards] (SCNx16): Likewise.
32402 [C99-based-standards] (PRIdLEAST16): Likewise.
32403 [C99-based-standards] (PRIiLEAST16): Likewise.
32404 [C99-based-standards] (PRIoLEAST16): Likewise.
32405 [C99-based-standards] (PRIuLEAST16): Likewise.
32406 [C99-based-standards] (PRIxLEAST16): Likewise.
32407 [C99-based-standards] (PRIXLEAST16): Likewise.
32408 [C99-based-standards] (SCNdLEAST16): Likewise.
32409 [C99-based-standards] (SCNiLEAST16): Likewise.
32410 [C99-based-standards] (SCNoLEAST16): Likewise.
32411 [C99-based-standards] (SCNuLEAST16): Likewise.
32412 [C99-based-standards] (SCNxLEAST16): Likewise.
32413 [C99-based-standards] (PRIdFAST16): Likewise.
32414 [C99-based-standards] (PRIiFAST16): Likewise.
32415 [C99-based-standards] (PRIoFAST16): Likewise.
32416 [C99-based-standards] (PRIuFAST16): Likewise.
32417 [C99-based-standards] (PRIxFAST16): Likewise.
32418 [C99-based-standards] (PRIXFAST16): Likewise.
32419 [C99-based-standards] (SCNdFAST16): Likewise.
32420 [C99-based-standards] (SCNiFAST16): Likewise.
32421 [C99-based-standards] (SCNoFAST16): Likewise.
32422 [C99-based-standards] (SCNuFAST16): Likewise.
32423 [C99-based-standards] (SCNxFAST16): Likewise.
32424 [C99-based-standards] (PRId32): Likewise.
32425 [C99-based-standards] (PRIi32): Likewise.
32426 [C99-based-standards] (PRIo32): Likewise.
32427 [C99-based-standards] (PRIu32): Likewise.
32428 [C99-based-standards] (PRIx32): Likewise.
32429 [C99-based-standards] (PRIX32): Likewise.
32430 [C99-based-standards] (SCNd32): Likewise.
32431 [C99-based-standards] (SCNi32): Likewise.
32432 [C99-based-standards] (SCNo32): Likewise.
32433 [C99-based-standards] (SCNu32): Likewise.
32434 [C99-based-standards] (SCNx32): Likewise.
32435 [C99-based-standards] (PRIdLEAST32): Likewise.
32436 [C99-based-standards] (PRIiLEAST32): Likewise.
32437 [C99-based-standards] (PRIoLEAST32): Likewise.
32438 [C99-based-standards] (PRIuLEAST32): Likewise.
32439 [C99-based-standards] (PRIxLEAST32): Likewise.
32440 [C99-based-standards] (PRIXLEAST32): Likewise.
32441 [C99-based-standards] (SCNdLEAST32): Likewise.
32442 [C99-based-standards] (SCNiLEAST32): Likewise.
32443 [C99-based-standards] (SCNoLEAST32): Likewise.
32444 [C99-based-standards] (SCNuLEAST32): Likewise.
32445 [C99-based-standards] (SCNxLEAST32): Likewise.
32446 [C99-based-standards] (PRIdFAST32): Likewise.
32447 [C99-based-standards] (PRIiFAST32): Likewise.
32448 [C99-based-standards] (PRIoFAST32): Likewise.
32449 [C99-based-standards] (PRIuFAST32): Likewise.
32450 [C99-based-standards] (PRIxFAST32): Likewise.
32451 [C99-based-standards] (PRIXFAST32): Likewise.
32452 [C99-based-standards] (SCNdFAST32): Likewise.
32453 [C99-based-standards] (SCNiFAST32): Likewise.
32454 [C99-based-standards] (SCNoFAST32): Likewise.
32455 [C99-based-standards] (SCNuFAST32): Likewise.
32456 [C99-based-standards] (SCNxFAST32): Likewise.
32457 [C99-based-standards] (PRId64): Likewise.
32458 [C99-based-standards] (PRIi64): Likewise.
32459 [C99-based-standards] (PRIo64): Likewise.
32460 [C99-based-standards] (PRIu64): Likewise.
32461 [C99-based-standards] (PRIx64): Likewise.
32462 [C99-based-standards] (PRIX64): Likewise.
32463 [C99-based-standards] (SCNd64): Likewise.
32464 [C99-based-standards] (SCNi64): Likewise.
32465 [C99-based-standards] (SCNo64): Likewise.
32466 [C99-based-standards] (SCNu64): Likewise.
32467 [C99-based-standards] (SCNx64): Likewise.
32468 [C99-based-standards] (PRIdLEAST64): Likewise.
32469 [C99-based-standards] (PRIiLEAST64): Likewise.
32470 [C99-based-standards] (PRIoLEAST64): Likewise.
32471 [C99-based-standards] (PRIuLEAST64): Likewise.
32472 [C99-based-standards] (PRIxLEAST64): Likewise.
32473 [C99-based-standards] (PRIXLEAST64): Likewise.
32474 [C99-based-standards] (SCNdLEAST64): Likewise.
32475 [C99-based-standards] (SCNiLEAST64): Likewise.
32476 [C99-based-standards] (SCNoLEAST64): Likewise.
32477 [C99-based-standards] (SCNuLEAST64): Likewise.
32478 [C99-based-standards] (SCNxLEAST64): Likewise.
32479 [C99-based-standards] (PRIdFAST64): Likewise.
32480 [C99-based-standards] (PRIiFAST64): Likewise.
32481 [C99-based-standards] (PRIoFAST64): Likewise.
32482 [C99-based-standards] (PRIuFAST64): Likewise.
32483 [C99-based-standards] (PRIxFAST64): Likewise.
32484 [C99-based-standards] (PRIXFAST64): Likewise.
32485 [C99-based-standards] (SCNdFAST64): Likewise.
32486 [C99-based-standards] (SCNiFAST64): Likewise.
32487 [C99-based-standards] (SCNoFAST64): Likewise.
32488 [C99-based-standards] (SCNuFAST64): Likewise.
32489 [C99-based-standards] (SCNxFAST64): Likewise.
32490 [C99-based-standards] (PRIdMAX): Likewise.
32491 [C99-based-standards] (PRIiMAX): Likewise.
32492 [C99-based-standards] (PRIoMAX): Likewise.
32493 [C99-based-standards] (PRIuMAX): Likewise.
32494 [C99-based-standards] (PRIxMAX): Likewise.
32495 [C99-based-standards] (PRIXMAX): Likewise.
32496 [C99-based-standards] (SCNdMAX): Likewise.
32497 [C99-based-standards] (SCNiMAX): Likewise.
32498 [C99-based-standards] (SCNoMAX): Likewise.
32499 [C99-based-standards] (SCNuMAX): Likewise.
32500 [C99-based-standards] (SCNxMAX): Likewise.
32501 [C99-based-standards] (PRIdPTR): Likewise.
32502 [C99-based-standards] (PRIiPTR): Likewise.
32503 [C99-based-standards] (PRIoPTR): Likewise.
32504 [C99-based-standards] (PRIuPTR): Likewise.
32505 [C99-based-standards] (PRIxPTR): Likewise.
32506 [C99-based-standards] (PRIXPTR): Likewise.
32507 [C99-based-standards] (SCNdPTR): Likewise.
32508 [C99-based-standards] (SCNiPTR): Likewise.
32509 [C99-based-standards] (SCNoPTR): Likewise.
32510 [C99-based-standards] (SCNuPTR): Likewise.
32511 [C99-based-standards] (SCNxPTR): Likewise.
32512 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32514 * conform/data/stdint.h-data: Update comments to clarify
32516 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32518 [C99-based standards] (INT8_MAX): Likewise.
32519 [C99-based standards] (INT16_MIN): Likewise.
32520 [C99-based standards] (INT16_MAX): Likewise.
32521 [C99-based standards] (INT32_MIN): Likewise.
32522 [C99-based standards] (INT32_MAX): Likewise.
32523 [C99-based standards] (INT64_MIN): Likewise.
32524 [C99-based standards] (INT64_MAX): Likewise.
32525 [C99-based standards] (UINT8_MAX): Likewise.
32526 [C99-based standards] (UINT16_MAX): Likewise.
32527 [C99-based standards] (UINT32_MAX): Likewise.
32528 [C99-based standards] (UINT64_MAX): Likewise.
32529 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32530 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32531 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32532 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32533 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32534 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32535 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32536 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32537 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32538 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32539 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32540 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32541 [C99-based standards] (INT_FAST8_MIN): Likewise.
32542 [C99-based standards] (INT_FAST8_MAX): Likewise.
32543 [C99-based standards] (INT_FAST16_MIN): Likewise.
32544 [C99-based standards] (INT_FAST16_MAX): Likewise.
32545 [C99-based standards] (INT_FAST32_MIN): Likewise.
32546 [C99-based standards] (INT_FAST32_MAX): Likewise.
32547 [C99-based standards] (INT_FAST64_MIN): Likewise.
32548 [C99-based standards] (INT_FAST64_MAX): Likewise.
32549 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32550 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32551 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32552 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32553 [C99-based standards] (INTPTR_MIN): Likewise.
32554 [C99-based standards] (INTPTR_MAX): Likewise.
32555 [C99-based standards] (UINTPTR_MAX): Likewise.
32556 [C99-based standards] (INTMAX_MIN): Likewise.
32557 [C99-based standards] (INTMAX_MAX): Likewise.
32558 [C99-based standards] (UINTMAX_MAX): Likewise.
32559 [C99-based standards] (PTRDIFF_MIN): Likewise.
32560 [C99-based standards] (PTRDIFF_MAX): Likewise.
32561 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32562 [C99-based standards] (SIZE_MAX): Likewise.
32563 [C99-based standards] (WCHAR_MAX): Likewise.
32564 [C99-based standards] (WINT_MAX): Likewise.
32565 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32566 constraint on value.
32567 [C99-based standards] (WCHAR_MIN): Likewise.
32568 [C99-based standards] (WINT_MIN): Likewise.
32569 [C99-based standards] (*_t): Allow.
32570 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32571 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32572 Include math.h-data and complex.h-data. Remove all expectations
32573 of math.h and complex.h contents.
32574 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32576 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32577 (struct tm): Expect tag.
32578 [C99-based-standards] (wcstof): Expect function.
32579 [C99-based-standards] (wcstold): Likewise.
32580 [C99-based-standards] (wcstoll): Likewise.
32581 [C99-based-standards] (wcstoull): Likewise.
32582 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32583 macro-int-constant. Specify type.
32584 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32585 constraint on value.
32586 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32588 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32590 [ISO C standards]: Do not allow headers.
32591 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32592 wcs[abcdefghijklmnopqrstuvwxyz]*.
32593 [ISO C standards] (*_t): Do not allow.
32594 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32596 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32597 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32599 [ISO C standards]: Do not allow headers.
32600 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32601 is[abcdefghijklmnopqrstuvwxyz]*.
32602 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32603 to[abcdefghijklmnopqrstuvwxyz]*.
32604 [ISO C standards] (*_t): Do not allow.
32605 * conform/data/stdalign.h-data: New file.
32606 * conform/data/stdbool.h-data: Likewise.
32607 * conform/data/stdnoreturn.h-data: Likewise.
32609 2012-11-07 Roland McGrath <roland@hack.frob.com>
32612 * manual/filesys.texi (Directory Entries): Typo fix.
32613 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32615 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32617 * elf/elf.h (EM_AARCH64): New macro.
32618 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32619 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32620 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32621 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32622 (R_AARCH64_TLSDESC): Likewise.
32623 (NT_ARM_TLS): Likewise.
32624 (NT_ARM_HW_BREAK): Likewise.
32625 (NT_ARM_HW_WATCH): Likewise.
32627 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32630 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32631 (__ieee754_powl): Saturate nonzero exponents with absolute value
32632 below 0x1p-79 to +/- 0x1p-79.
32633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32634 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32635 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32636 nonzero exponents with absolute value below 0x1p-32 to +/-
32638 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32639 (__ieee754_powl): Saturate nonzero exponents with absolute value
32640 below 0x1p-79 to +/- 0x1p-79.
32641 * math/libm-test.inc (pow_test): Add more tests.
32643 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32645 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32646 _dl_s390_cap_flags with kernel. Increase string length.
32647 (_dl_s390_platforms): Add z196 and zEC12.
32649 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32651 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32652 Change XOPEN21K to XOPEN2K.
32654 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32656 * string/memmove.c: Use memcpy when possible.
32658 2012-11-06 Andreas Jaeger <aj@suse.de>
32660 * po/eo.po: Update from translation team.
32662 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32666 exponent and small x and y exponents, scale x or y up. Increase
32667 by 2 the exponent used in scaling up.
32668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32670 * math/libm-test.inc (fma_test): Add more tests.
32671 (fma_test_towardzero): Likewise.
32672 (fma_test_downward): Likewise.
32673 (fma_test_upward): Likewise.
32675 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32678 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32682 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32683 namespace for names of struct fields.
32684 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32686 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32687 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32689 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32692 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32694 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32696 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32700 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32703 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32707 definitely overflow as x * y not x * y + z.
32708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32710 * math/libm-test.inc (fma_test): Add more tests.
32711 (fma_test_towardzero): Likewise.
32712 (fma_test_downward): Likewise.
32713 (fma_test_upward): Likewise.
32715 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32719 * include/stub-tag.h: Remove file.
32720 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32722 * manual/maint.texi (Porting): Don't reference it.
32723 * Makerules ($(objpfx)stubs): Likewise.
32724 * dirent/closedir.c: Don't include <stub-tag.h>.
32725 * dirent/dirfd.c: Likewise.
32726 * dirent/fdopendir.c: Likewise.
32727 * dirent/getdents.c: Likewise.
32728 * dirent/getdents64.c: Likewise.
32729 * dirent/opendir.c: Likewise.
32730 * dirent/readdir.c: Likewise.
32731 * dirent/readdir64.c: Likewise.
32732 * dirent/readdir64_r.c: Likewise.
32733 * dirent/readdir_r.c: Likewise.
32734 * dirent/rewinddir.c: Likewise.
32735 * dirent/seekdir.c: Likewise.
32736 * dirent/telldir.c: Likewise.
32737 * gmon/profil.c: Likewise.
32738 * grp/setgroups.c: Likewise.
32739 * inet/if_index.c: Likewise.
32740 * io/access.c: Likewise.
32741 * io/chdir.c: Likewise.
32742 * io/chmod.c: Likewise.
32743 * io/chown.c: Likewise.
32744 * io/close.c: Likewise.
32745 * io/dup.c: Likewise.
32746 * io/dup2.c: Likewise.
32747 * io/dup3.c: Likewise.
32748 * io/euidaccess.c: Likewise.
32749 * io/faccessat.c: Likewise.
32750 * io/fchdir.c: Likewise.
32751 * io/fchmod.c: Likewise.
32752 * io/fchmodat.c: Likewise.
32753 * io/fchown.c: Likewise.
32754 * io/fchownat.c: Likewise.
32755 * io/fcntl.c: Likewise.
32756 * io/flock.c: Likewise.
32757 * io/fstatfs.c: Likewise.
32758 * io/fstatfs64.c: Likewise.
32759 * io/fstatvfs.c: Likewise.
32760 * io/fstatvfs64.c: Likewise.
32761 * io/futimens.c: Likewise.
32762 * io/fxstat.c: Likewise.
32763 * io/fxstat64.c: Likewise.
32764 * io/fxstatat.c: Likewise.
32765 * io/fxstatat64.c: Likewise.
32766 * io/getcwd.c: Likewise.
32767 * io/isatty.c: Likewise.
32768 * io/lchmod.c: Likewise.
32769 * io/lchown.c: Likewise.
32770 * io/link.c: Likewise.
32771 * io/linkat.c: Likewise.
32772 * io/lseek.c: Likewise.
32773 * io/lseek64.c: Likewise.
32774 * io/lxstat64.c: Likewise.
32775 * io/mkdir.c: Likewise.
32776 * io/mkdirat.c: Likewise.
32777 * io/mkfifo.c: Likewise.
32778 * io/mkfifoat.c: Likewise.
32779 * io/open.c: Likewise.
32780 * io/open64.c: Likewise.
32781 * io/openat.c: Likewise.
32782 * io/openat64.c: Likewise.
32783 * io/pipe.c: Likewise.
32784 * io/pipe2.c: Likewise.
32785 * io/poll.c: Likewise.
32786 * io/posix_fadvise.c: Likewise.
32787 * io/posix_fadvise64.c: Likewise.
32788 * io/posix_fallocate.c: Likewise.
32789 * io/posix_fallocate64.c: Likewise.
32790 * io/read.c: Likewise.
32791 * io/readlink.c: Likewise.
32792 * io/readlinkat.c: Likewise.
32793 * io/rmdir.c: Likewise.
32794 * io/sendfile.c: Likewise.
32795 * io/sendfile64.c: Likewise.
32796 * io/statfs.c: Likewise.
32797 * io/statfs64.c: Likewise.
32798 * io/statvfs.c: Likewise.
32799 * io/statvfs64.c: Likewise.
32800 * io/symlink.c: Likewise.
32801 * io/symlinkat.c: Likewise.
32802 * io/ttyname.c: Likewise.
32803 * io/ttyname_r.c: Likewise.
32804 * io/umask.c: Likewise.
32805 * io/unlink.c: Likewise.
32806 * io/unlinkat.c: Likewise.
32807 * io/utime.c: Likewise.
32808 * io/utimensat.c: Likewise.
32809 * io/write.c: Likewise.
32810 * io/xmknod.c: Likewise.
32811 * io/xmknodat.c: Likewise.
32812 * io/xstat.c: Likewise.
32813 * io/xstat64.c: Likewise.
32814 * login/getpt.c: Likewise.
32815 * login/grantpt.c: Likewise.
32816 * login/unlockpt.c: Likewise.
32817 * math/e_acoshl.c: Likewise.
32818 * math/e_acosl.c: Likewise.
32819 * math/e_asinl.c: Likewise.
32820 * math/e_atan2l.c: Likewise.
32821 * math/e_atanhl.c: Likewise.
32822 * math/e_coshl.c: Likewise.
32823 * math/e_expl.c: Likewise.
32824 * math/e_fmodl.c: Likewise.
32825 * math/e_gammal_r.c: Likewise.
32826 * math/e_hypotl.c: Likewise.
32827 * math/e_j0l.c: Likewise.
32828 * math/e_j1l.c: Likewise.
32829 * math/e_jnl.c: Likewise.
32830 * math/e_lgammal_r.c: Likewise.
32831 * math/e_log10l.c: Likewise.
32832 * math/e_log2l.c: Likewise.
32833 * math/e_logl.c: Likewise.
32834 * math/e_powl.c: Likewise.
32835 * math/e_rem_pio2l.c: Likewise.
32836 * math/e_sinhl.c: Likewise.
32837 * math/e_sqrtl.c: Likewise.
32838 * math/fclrexcpt.c: Likewise.
32839 * math/fedisblxcpt.c: Likewise.
32840 * math/feenablxcpt.c: Likewise.
32841 * math/fegetenv.c: Likewise.
32842 * math/fegetexcept.c: Likewise.
32843 * math/fegetround.c: Likewise.
32844 * math/feholdexcpt.c: Likewise.
32845 * math/fesetenv.c: Likewise.
32846 * math/fesetround.c: Likewise.
32847 * math/feupdateenv.c: Likewise.
32848 * math/fgetexcptflg.c: Likewise.
32849 * math/fraiseexcpt.c: Likewise.
32850 * math/fsetexcptflg.c: Likewise.
32851 * math/ftestexcept.c: Likewise.
32852 * math/k_cosl.c: Likewise.
32853 * math/k_rem_pio2l.c: Likewise.
32854 * math/k_sinl.c: Likewise.
32855 * math/k_tanl.c: Likewise.
32856 * math/s_asinhl.c: Likewise.
32857 * math/s_atanl.c: Likewise.
32858 * math/s_cbrtl.c: Likewise.
32859 * math/s_erfl.c: Likewise.
32860 * math/s_expm1l.c: Likewise.
32861 * math/s_log1pl.c: Likewise.
32862 * math/s_tanhl.c: Likewise.
32863 * misc/acct.c: Likewise.
32864 * misc/brk.c: Likewise.
32865 * misc/chflags.c: Likewise.
32866 * misc/chroot.c: Likewise.
32867 * misc/fchflags.c: Likewise.
32868 * misc/fgetxattr.c: Likewise.
32869 * misc/flistxattr.c: Likewise.
32870 * misc/fremovexattr.c: Likewise.
32871 * misc/fsetxattr.c: Likewise.
32872 * misc/fsync.c: Likewise.
32873 * misc/ftruncate.c: Likewise.
32874 * misc/futimes.c: Likewise.
32875 * misc/futimesat.c: Likewise.
32876 * misc/getdomain.c: Likewise.
32877 * misc/getdtsz.c: Likewise.
32878 * misc/gethostid.c: Likewise.
32879 * misc/gethostname.c: Likewise.
32880 * misc/getloadavg.c: Likewise.
32881 * misc/getpagesize.c: Likewise.
32882 * misc/getsysstats.c: Likewise.
32883 * misc/getxattr.c: Likewise.
32884 * misc/gtty.c: Likewise.
32885 * misc/ioctl.c: Likewise.
32886 * misc/lgetxattr.c: Likewise.
32887 * misc/listxattr.c: Likewise.
32888 * misc/llistxattr.c: Likewise.
32889 * misc/lremovexattr.c: Likewise.
32890 * misc/lsetxattr.c: Likewise.
32891 * misc/lutimes.c: Likewise.
32892 * misc/madvise.c: Likewise.
32893 * misc/mincore.c: Likewise.
32894 * misc/mlock.c: Likewise.
32895 * misc/mlockall.c: Likewise.
32896 * misc/mmap.c: Likewise.
32897 * misc/mprotect.c: Likewise.
32898 * misc/msync.c: Likewise.
32899 * misc/munlock.c: Likewise.
32900 * misc/munlockall.c: Likewise.
32901 * misc/munmap.c: Likewise.
32902 * misc/preadv.c: Likewise.
32903 * misc/preadv64.c: Likewise.
32904 * misc/ptrace.c: Likewise.
32905 * misc/pwritev.c: Likewise.
32906 * misc/pwritev64.c: Likewise.
32907 * misc/readv.c: Likewise.
32908 * misc/reboot.c: Likewise.
32909 * misc/remap_file_pages.c: Likewise.
32910 * misc/removexattr.c: Likewise.
32911 * misc/revoke.c: Likewise.
32912 * misc/select.c: Likewise.
32913 * misc/setdomain.c: Likewise.
32914 * misc/setegid.c: Likewise.
32915 * misc/seteuid.c: Likewise.
32916 * misc/sethostid.c: Likewise.
32917 * misc/sethostname.c: Likewise.
32918 * misc/setregid.c: Likewise.
32919 * misc/setreuid.c: Likewise.
32920 * misc/setxattr.c: Likewise.
32921 * misc/sstk.c: Likewise.
32922 * misc/stty.c: Likewise.
32923 * misc/swapoff.c: Likewise.
32924 * misc/swapon.c: Likewise.
32925 * misc/sync.c: Likewise.
32926 * misc/syncfs.c: Likewise.
32927 * misc/syscall.c: Likewise.
32928 * misc/truncate.c: Likewise.
32929 * misc/ualarm.c: Likewise.
32930 * misc/usleep.c: Likewise.
32931 * misc/ustat.c: Likewise.
32932 * misc/utimes.c: Likewise.
32933 * misc/vhangup.c: Likewise.
32934 * misc/writev.c: Likewise.
32935 * posix/_exit.c: Likewise.
32936 * posix/alarm.c: Likewise.
32937 * posix/execve.c: Likewise.
32938 * posix/fexecve.c: Likewise.
32939 * posix/fork.c: Likewise.
32940 * posix/fpathconf.c: Likewise.
32941 * posix/getaddrinfo.c: Likewise.
32942 * posix/getegid.c: Likewise.
32943 * posix/geteuid.c: Likewise.
32944 * posix/getgid.c: Likewise.
32945 * posix/getgroups.c: Likewise.
32946 * posix/getlogin.c: Likewise.
32947 * posix/getlogin_r.c: Likewise.
32948 * posix/getpgid.c: Likewise.
32949 * posix/getpid.c: Likewise.
32950 * posix/getppid.c: Likewise.
32951 * posix/getresgid.c: Likewise.
32952 * posix/getresuid.c: Likewise.
32953 * posix/getsid.c: Likewise.
32954 * posix/getuid.c: Likewise.
32955 * posix/glob64.c: Likewise.
32956 * posix/nanosleep.c: Likewise.
32957 * posix/pathconf.c: Likewise.
32958 * posix/pause.c: Likewise.
32959 * posix/posix_madvise.c: Likewise.
32960 * posix/pread.c: Likewise.
32961 * posix/pread64.c: Likewise.
32962 * posix/pwrite.c: Likewise.
32963 * posix/pwrite64.c: Likewise.
32964 * posix/sched_getaffinity.c: Likewise.
32965 * posix/sched_getp.c: Likewise.
32966 * posix/sched_gets.c: Likewise.
32967 * posix/sched_primax.c: Likewise.
32968 * posix/sched_primin.c: Likewise.
32969 * posix/sched_rr_gi.c: Likewise.
32970 * posix/sched_setaffinity.c: Likewise.
32971 * posix/sched_setp.c: Likewise.
32972 * posix/sched_sets.c: Likewise.
32973 * posix/sched_yield.c: Likewise.
32974 * posix/setgid.c: Likewise.
32975 * posix/setlogin.c: Likewise.
32976 * posix/setpgid.c: Likewise.
32977 * posix/setresgid.c: Likewise.
32978 * posix/setresuid.c: Likewise.
32979 * posix/setsid.c: Likewise.
32980 * posix/setuid.c: Likewise.
32981 * posix/sleep.c: Likewise.
32982 * posix/spawni.c: Likewise.
32983 * posix/sysconf.c: Likewise.
32984 * posix/times.c: Likewise.
32985 * posix/wait.c: Likewise.
32986 * posix/wait3.c: Likewise.
32987 * posix/wait4.c: Likewise.
32988 * posix/waitpid.c: Likewise.
32989 * resolv/gai_sigqueue.c: Likewise.
32990 * resource/getpriority.c: Likewise.
32991 * resource/getrlimit.c: Likewise.
32992 * resource/getrusage.c: Likewise.
32993 * resource/nice.c: Likewise.
32994 * resource/setpriority.c: Likewise.
32995 * resource/setrlimit.c: Likewise.
32996 * resource/ulimit.c: Likewise.
32997 * rt/aio_cancel.c: Likewise.
32998 * rt/aio_fsync.c: Likewise.
32999 * rt/aio_read.c: Likewise.
33000 * rt/aio_sigqueue.c: Likewise.
33001 * rt/aio_suspend.c: Likewise.
33002 * rt/aio_write.c: Likewise.
33003 * rt/clock_getres.c: Likewise.
33004 * rt/clock_gettime.c: Likewise.
33005 * rt/clock_nanosleep.c: Likewise.
33006 * rt/clock_settime.c: Likewise.
33007 * rt/lio_listio.c: Likewise.
33008 * rt/mq_close.c: Likewise.
33009 * rt/mq_getattr.c: Likewise.
33010 * rt/mq_notify.c: Likewise.
33011 * rt/mq_open.c: Likewise.
33012 * rt/mq_receive.c: Likewise.
33013 * rt/mq_send.c: Likewise.
33014 * rt/mq_setattr.c: Likewise.
33015 * rt/mq_timedreceive.c: Likewise.
33016 * rt/mq_timedsend.c: Likewise.
33017 * rt/mq_unlink.c: Likewise.
33018 * rt/shm_open.c: Likewise.
33019 * rt/shm_unlink.c: Likewise.
33020 * rt/timer_create.c: Likewise.
33021 * rt/timer_delete.c: Likewise.
33022 * rt/timer_getoverr.c: Likewise.
33023 * rt/timer_gettime.c: Likewise.
33024 * rt/timer_settime.c: Likewise.
33025 * setjmp/__longjmp.c: Likewise.
33026 * setjmp/setjmp.c: Likewise.
33027 * signal/kill.c: Likewise.
33028 * signal/killpg.c: Likewise.
33029 * signal/raise.c: Likewise.
33030 * signal/sigaction.c: Likewise.
33031 * signal/sigaltstack.c: Likewise.
33032 * signal/sigblock.c: Likewise.
33033 * signal/sigignore.c: Likewise.
33034 * signal/sigintr.c: Likewise.
33035 * signal/signal.c: Likewise.
33036 * signal/sigpause.c: Likewise.
33037 * signal/sigpending.c: Likewise.
33038 * signal/sigqueue.c: Likewise.
33039 * signal/sigreturn.c: Likewise.
33040 * signal/sigset.c: Likewise.
33041 * signal/sigsetmask.c: Likewise.
33042 * signal/sigstack.c: Likewise.
33043 * signal/sigsuspend.c: Likewise.
33044 * signal/sigtimedwait.c: Likewise.
33045 * signal/sigvec.c: Likewise.
33046 * signal/sigwait.c: Likewise.
33047 * signal/sigwaitinfo.c: Likewise.
33048 * signal/sysv_signal.c: Likewise.
33049 * socket/accept.c: Likewise.
33050 * socket/accept4.c: Likewise.
33051 * socket/bind.c: Likewise.
33052 * socket/connect.c: Likewise.
33053 * socket/getpeername.c: Likewise.
33054 * socket/getsockname.c: Likewise.
33055 * socket/getsockopt.c: Likewise.
33056 * socket/isfdtype.c: Likewise.
33057 * socket/listen.c: Likewise.
33058 * socket/recv.c: Likewise.
33059 * socket/recvfrom.c: Likewise.
33060 * socket/recvmsg.c: Likewise.
33061 * socket/send.c: Likewise.
33062 * socket/sendmsg.c: Likewise.
33063 * socket/sendto.c: Likewise.
33064 * socket/setsockopt.c: Likewise.
33065 * socket/shutdown.c: Likewise.
33066 * socket/sockatmark.c: Likewise.
33067 * socket/socket.c: Likewise.
33068 * socket/socketpair.c: Likewise.
33069 * stdio-common/ctermid.c: Likewise.
33070 * stdio-common/cuserid.c: Likewise.
33071 * stdio-common/remove.c: Likewise.
33072 * stdio-common/rename.c: Likewise.
33073 * stdio-common/renameat.c: Likewise.
33074 * stdio-common/tempname.c: Likewise.
33075 * stdlib/getcontext.c: Likewise.
33076 * stdlib/makecontext.c: Likewise.
33077 * stdlib/setcontext.c: Likewise.
33078 * stdlib/swapcontext.c: Likewise.
33079 * stdlib/system.c: Likewise.
33080 * streams/fattach.c: Likewise.
33081 * streams/fdetach.c: Likewise.
33082 * streams/getmsg.c: Likewise.
33083 * streams/getpmsg.c: Likewise.
33084 * streams/putmsg.c: Likewise.
33085 * streams/putpmsg.c: Likewise.
33086 * sysdeps/unix/bsd/getpt.c: Likewise.
33087 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33088 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33089 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33092 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33093 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33094 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33095 * sysvipc/msgctl.c: Likewise.
33096 * sysvipc/msgget.c: Likewise.
33097 * sysvipc/msgrcv.c: Likewise.
33098 * sysvipc/msgsnd.c: Likewise.
33099 * sysvipc/semctl.c: Likewise.
33100 * sysvipc/semget.c: Likewise.
33101 * sysvipc/semop.c: Likewise.
33102 * sysvipc/semtimedop.c: Likewise.
33103 * sysvipc/shmat.c: Likewise.
33104 * sysvipc/shmctl.c: Likewise.
33105 * sysvipc/shmdt.c: Likewise.
33106 * sysvipc/shmget.c: Likewise.
33107 * termios/tcdrain.c: Likewise.
33108 * termios/tcflow.c: Likewise.
33109 * termios/tcflush.c: Likewise.
33110 * termios/tcgetattr.c: Likewise.
33111 * termios/tcgetpgrp.c: Likewise.
33112 * termios/tcsendbrk.c: Likewise.
33113 * termios/tcsetattr.c: Likewise.
33114 * termios/tcsetpgrp.c: Likewise.
33115 * time/adjtime.c: Likewise.
33116 * time/clock.c: Likewise.
33117 * time/getitimer.c: Likewise.
33118 * time/gettimeofday.c: Likewise.
33119 * time/setitimer.c: Likewise.
33120 * time/settimeofday.c: Likewise.
33121 * time/stime.c: Likewise.
33122 * time/time.c: Likewise.
33124 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33126 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33129 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33131 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33133 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33137 FE_TONEAREST before applying Dekker multiplication and Knuth
33138 addition. Clear inexact exceptions and check for exact zero
33139 results afterwards.
33140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33141 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33143 * math/libm-test.inc (fma_test): Add more tests.
33144 (fma_test_towardzero): Likewise.
33145 (fma_test_downward): Likewise.
33146 (fma_test_upward): Likewise.
33147 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33149 (libc_fesetround): New macro.
33150 (libc_fesetroundf): Likewise.
33151 (libc_fesetroundl): Likewise.
33152 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33154 (libc_fesetround_387): Likewise.
33155 (libc_fesetroundf): New macro.
33156 (libc_fesetround): Likewise.
33157 (libc_fesetroundl): Likewise.
33158 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33160 (libc_fesetroundf): New macro.
33161 (libc_fesetround): Likewise.
33162 (libc_fesetroundl): Likewise.
33163 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33164 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33165 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33167 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33168 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33170 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33171 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33173 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33177 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33178 integer constant usable in #if and use that to give value to enum
33180 (FE_DIVBYZERO): Likewise.
33181 (FE_UNDERFLOW): Likewise.
33182 (FE_OVERFLOW): Likewise.
33183 (FE_INVALID): Likewise.
33184 (FE_INVALID_SNAN): Likewise.
33185 (FE_INVALID_ISI): Likewise.
33186 (FE_INVALID_IDI): Likewise.
33187 (FE_INVALID_ZDZ): Likewise.
33188 (FE_INVALID_IMZ): Likewise.
33189 (FE_INVALID_COMPARE): Likewise.
33190 (FE_INVALID_SOFTWARE): Likewise.
33191 (FE_INVALID_SQRT): Likewise.
33192 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33193 (FE_TONEAREST): Likewise.
33194 (FE_TOWARDZERO): Likewise.
33195 (FE_UPWARD): Likewise.
33196 (FE_DOWNWARD): Likewise.
33197 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33198 (FE_DIVBYZERO): Likewise.
33199 (FE_OVERFLOW): Likewise.
33200 (FE_UNDERFLOW): Likewise.
33201 (FE_INEXACT): Likewise.
33202 (FE_TONEAREST): Likewise.
33203 (FE_DOWNWARD): Likewise.
33204 (FE_UPWARD): Likewise.
33205 (FE_TOWARDZERO): Likewise.
33206 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33207 (FE_UNDERFLOW): Likewise.
33208 (FE_OVERFLOW): Likewise.
33209 (FE_DIVBYZERO): Likewise.
33210 (FE_INVALID): Likewise.
33211 (FE_TONEAREST): Likewise.
33212 (FE_TOWARDZERO): Likewise.
33213 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33214 (FE_OVERFLOW): Likewise.
33215 (FE_UNDERFLOW): Likewise.
33216 (FE_DIVBYZERO): Likewise.
33217 (FE_INEXACT): Likewise.
33218 (FE_TONEAREST): Likewise.
33219 (FE_TOWARDZERO): Likewise.
33220 (FE_UPWARD): Likewise.
33221 (FE_DOWNWARD): Likewise.
33222 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33223 (FE_DIVBYZERO): Likewise.
33224 (FE_OVERFLOW): Likewise.
33225 (FE_UNDERFLOW): Likewise.
33226 (FE_INEXACT): Likewise.
33227 (FE_TONEAREST): Likewise.
33228 (FE_DOWNWARD): Likewise.
33229 (FE_UPWARD): Likewise.
33230 (FE_TOWARDZERO): Likewise.
33232 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33234 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33236 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33238 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33239 commands. Quote $PWD.
33240 (blacklist_exports): Don't use remove_newlines. Replace "declare
33242 (remove_newlines): Remove.
33244 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33246 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33247 * stdlib/stdlib.h (atof): Moved to ...
33248 * include/bits/stdlib-float.h: Here. New file.
33249 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33250 * stdlib/bits/stdlib-float.h: New file.
33251 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33253 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33256 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33258 * conform/conformtest.pl (@headers): Add fenv.h.
33259 * conform/data/fenv.h-data: New file.
33260 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33261 include of <math/fenv.h>.
33263 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33264 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33265 && !UNIX98]. Enables tests for XOPEN2K8.
33266 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33267 POSIX2008]: Likewise.
33269 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33270 (struct rusage): Do not expect type or its members.
33273 * math/math.h (FP_NAN): Define macro to integer constant usable in
33274 #if and use that to give value to enum constant.
33275 (FP_INFINITE): Likewise.
33276 (FP_ZERO): Likewise.
33277 (FP_SUBNORMAL): Likewise.
33278 (FP_NORMAL): Likewise.
33280 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33282 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33283 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33286 2012-11-02 Roland McGrath <roland@hack.frob.com>
33288 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33289 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33290 autoconf-time if not.
33291 * configure.in: Remove AC_PREREQ.
33293 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33295 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33296 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33297 of the internal implementation.
33299 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33301 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33302 except include of <misc/sys/syslog.h>.
33304 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33307 function returns with a NULL context exit with zero.
33309 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33311 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33313 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33315 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33316 (run_program_cmd): This.
33317 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33318 (tst_langinfo): New variable. Use it.
33320 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33322 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33323 floating point opcodes.
33325 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33327 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33330 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33332 * sysdeps/mach/hurd/powerpc: Remove directory.
33333 * sysdeps/mach/powerpc: Likewise.
33335 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33337 * scripts/check-local-headers.sh: Ignore c++ headers.
33339 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33341 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33342 __libc_cleanup_region_start argument.
33344 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33349 x * y using scaling, not as x * y + z.
33350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33352 * math/libm-test.inc (fma_test): Add more tests.
33353 (fma_test_towardzero): Likewise.
33354 (fma_test_downward): Likewise.
33355 (fma_test_upward): Likewise.
33357 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33359 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33361 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33363 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33366 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33368 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33370 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33377 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33380 Fix the order of the list for glibc 2.17.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33384 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33388 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33392 for low part of x being zero before using __atanl (y).
33393 * math/libm-test.inc (atan2_test): Add another test.
33395 * manual/install.texi (Configuring and compiling): Document
33396 general use of test-wrapper and test-wrapper-env.
33397 * INSTALL: Regenerated.
33399 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33400 (__fma): Do not extract and scale down low bits on after-rounding
33401 systems when result rounded to normal precision would have normal
33403 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33404 (__fmal): Do not extract and scale down low bits on after-rounding
33405 systems when result rounded to normal precision would have normal
33407 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33408 (__fmal): Do not extract and scale down low bits on after-rounding
33409 systems when result rounded to normal precision would have normal
33411 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33413 (fma_test): Add more tests.
33414 (fma_test_towardzero): Likewise.
33415 (fma_test_downward): Likewise.
33416 (fma_test_upward): Likewise.
33418 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33420 * sysdeps/i386/tininess.h: Renamed to ...
33421 * sysdeps/x86/tininess.h: This.
33422 * sysdeps/x86_64/tininess.h: Removed.
33424 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33426 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33427 input. Use $(build-program-cmd).
33428 ($(objpfx)tst-array1-static.out): Likewise.
33429 ($(objpfx)tst-array2.out): Likewise.
33430 ($(objpfx)tst-array3.out): Likewise.
33431 ($(objpfx)tst-array4.out): Likewise.
33432 ($(objpfx)tst-array5.out): Likewise.
33433 ($(objpfx)tst-array5-static.out): Likewise.
33435 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33437 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33440 * nss/nsswitch.h (nss_interface_function): Provide new
33441 macro for use with NSS functions.
33442 * grp/initgroups.c: Use new macro.
33443 * nss/getXXbyYY.c: Likewise.
33444 * nss/getXXbyYY_r.c: Likewise.
33445 * nss/getXXent.c: Likewise.
33446 * nss/getXXent_r.c: Likewise.
33447 * sysdeps/posix/getaddrinfo.c: Likewise.
33449 2012-10-30 Andreas Jaeger <aj@suse.de>
33451 * po/ru.po: Update Russion translation from translation project.
33453 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33458 result and shift together with sticky bit instead of replicating
33459 round-to-nearest rounding.
33460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33462 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33463 missing underflow exceptions.
33464 (fma_test_towardzero): Add more tests.
33465 (fma_test_downward): Likewise.
33466 (fma_test_upward): Likewise.
33469 * sysdeps/generic/tininess.h: New file.
33470 * sysdeps/i386/tininess.h: Likewise.
33471 * sysdeps/sh/tininess.h: Likewise.
33472 * sysdeps/x86_64/tininess.h: Likewise.
33473 * stdlib/tst-strtod-underflow.c: Likewise.
33474 * stdlib/tst-tininess.c: Likewise.
33475 * stdlib/strtod_l.c: Include <tininess.h>.
33476 (round_and_return): Do not set errno for exact underflow cases.
33477 Force an underflow exception when setting errno for underflow.
33478 Determine underflow based on rounding to normal precision if
33479 TININESS_AFTER_ROUNDING.
33480 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33481 ERANGE for exact underflow cases.
33482 * stdlib/Makefile (tests): Add tst-tininess and
33483 tst-strtod-underflow.
33484 ($(objpfx)tst-tininess): Use $(link-libm).
33485 ($(objpfx)tst-strtod-underflow): Likewise.
33487 2012-10-30 Andreas Jaeger <aj@suse.de>
33490 * elf/Makefile (tests): Remove conditional for have-initfini-array
33491 since this is now always required and the variable does not exist
33493 (tests-static): Likewise.
33494 (modules-names): Likewise.
33496 * po/eo.po: Add Esperanto translation from translation project.
33498 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33499 merged with constructor/destructor.
33500 (init_array): Likewise.
33501 * elf/tst-array2dep.c (fini_array): Likewise.
33502 (init_array): Likewise.
33504 2012-10-29 Mike Frysinger <vapier@gentoo.org>
33506 * manual/message.texi: Delete @cartouche tags.
33508 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33510 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33512 * sysdeps/mach/hurd/fsync.c: Likewise.
33514 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33515 [_POSIX_REALTIME_SIGNALS]: Change condition to
33516 [_POSIX_REALTIME_SIGNALS > 0].
33518 2012-10-27 Andreas Jaeger <aj@suse.de>
33520 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33521 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33523 [__WORDSIZE != 64]: Likewise.
33525 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33527 * iconvdata/tst-table.sh: Remove ${SHELL}.
33528 * iconvdata/tst-tables.sh: Likewise.
33530 2012-10-25 David S. Miller <davem@davemloft.net>
33532 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33533 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33538 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33539 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33540 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33543 2012-10-25 Roland McGrath <roland@hack.frob.com>
33545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33546 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33549 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33550 Jim Blandy <jimb@codesourcery.com>
33552 * scripts/cross-test-ssh.sh: New file.
33553 * manual/install.texi (Configuring and compiling): Document use of
33555 * INSTALL: Regenerated.
33557 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33559 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33562 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33564 * Makeconfig (run-program-prefix): Fix comment.
33566 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33567 Jim Blandy <jimb@codesourcery.com>
33569 * Makeconfig (test-wrapper): New variable,
33570 (test-wrapper-env): Likewise.
33571 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33572 (run-built-tests): Define to yes.
33573 (run-program-prefix): Use $(test-wrapper).
33574 (built-program-cmd): Likewise.
33575 * Rules (make-test-out): Use $(test-wrapper-env) and
33576 $(host-built-program-cmd).
33577 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33578 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33580 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33581 $(test-wrapper-env) to tst-rtld-load-self.sh.
33582 ($(objpfx)order2.out): Use $(test-wrapper).
33583 ($(objpfx)tst-initorder.out): Likewise.
33584 ($(objpfx)tst-initorder2.out): Likewise.
33585 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33586 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33587 (test_wrapper_env): New variable. Use it to run ld.so.
33588 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33589 Use it to run ld.so.
33590 (test_wrapper_env): Likewise.
33591 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33592 $(test-wrapper) to run-iconv-test.sh.
33593 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33594 (ICONV): Use $test_wrapper.
33595 * posix/Makefile ($(objpfx)globtest.out): Pass
33596 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33597 globtest.sh, not $(run-program-prefix).
33598 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33599 (test_wrapper): Likewise.
33600 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33601 set together with run_via_rtld_prefix.
33602 (run_program_prefix): Define in terms of test_wrapper and
33603 run_via_rtld_prefix.
33605 2012-10-24 Roland McGrath <roland@hack.frob.com>
33607 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33608 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33612 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33613 Declare __clock_getres, __clock_gettime, __clock_settime,
33614 __clock_nanosleep, and __clock_getcpuclockid.
33615 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33616 Remove librt_hidden_def (clock_gettime).
33617 * sysdeps/unix/clock_gettime.c: Likewise.
33618 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33620 * rt/clock_getres.c: Define __clock_getres as an alias.
33621 * sysdeps/posix/clock_getres.c: Likewise.
33622 * rt/clock_settime.c: Define __clock_settime as an alias.
33623 * sysdeps/unix/clock_settime.c: Likewise.
33624 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33625 * sysdeps/unix/clock_nanosleep.c: Likewise.
33626 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33627 * rt/clock-compat.c: New file.
33628 * rt/Makefile (librt-routines): Add clock-compat and move
33629 $(clock-routines) to ...
33630 (routines): ... here, new variable.
33631 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33632 Don't add get_clockfreq here.
33633 * rt/Versions (libc: GLIBC_2.17): New version set.
33634 Add clock_* symbols here.
33635 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33636 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33637 (GLIBC_2.17): Add clock_* symbols.
33638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33649 * NEWS: Mention the move.
33651 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33652 Use __open, __read, __close rather than their public counterparts.
33653 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33654 (__get_clockfreq_via_cpuinfo): Likewise.
33655 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33656 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33658 * config.h.in (HAVE_IFUNC): New #undef.
33659 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33661 * configure: Regenerated.
33663 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33665 * configure.in: Move READELF check to start of file.
33666 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33667 libc_cv_asm_gnu_indirect_function in the process.
33668 * configure: Regenerated.
33670 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33672 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33673 send the output to /dev/null.
33674 (libc_cv_cc_with_libunwind): Likewise.
33675 (libc_cv_as_noexecstack): Likewise.
33676 * configure: Regenerate.
33678 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33680 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33682 * posix/globtest.sh (TMPDIR): Do not set.
33683 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33684 (testout): Likewise.
33686 2012-10-24 Andreas Jaeger <aj@suse.de>
33688 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33689 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33690 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33691 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33692 posix_fadvise64, posix_fallocate64.
33694 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33695 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33696 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33698 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33700 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33703 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33704 <bits/fcntl-linux.h>.
33705 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33708 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33709 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33710 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33711 [__WORDSIZE != 64]: Likewise.
33713 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33715 * Makeconfig (run-built-tests): New variable.
33716 * Rules [$(cross-compiling) = yes]: Change condition to
33717 [$(run-built-tests) = no].
33718 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33719 to [$(run-built-tests) = yes].
33720 * elf/Makefile [$(cross-compiling) = no]: Likewise
33721 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33722 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33723 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33724 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33725 * io/Makefile [$(cross-compiling) = no]: Likewise.
33726 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33727 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33728 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33729 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33730 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33731 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33732 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33733 * string/Makefile [$(cross-compiling) = no]: Likewise.
33735 * posix/Makefile ($(objpfx)globtest.out): Pass
33736 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33737 $(rtld-installed-name).
33738 * posix/globtest.sh (elf_objpfx): Remove variable.
33739 (rtld_installed_name): Likewise.
33740 (library_path): Likewise.
33741 (run_program_prefix): New variable. Use for running globtest
33744 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33745 Joseph Myers <joseph@codesourcery.com>
33747 * Makeconfig (host-built-program-cmd): New variable.
33748 * elf/Makefile (tst-stackguard1-ARGS): Use
33749 $(host-built-program-cmd).
33750 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33751 (tst-spawn-ARGS): Likewise.
33752 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33754 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33755 Jim Blandy <jimb@codesourcery.com>
33757 * Makeconfig (run-via-rtld-prefix): New variable.
33758 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33759 (built-program-cmd): Likewise.
33761 2012-10-22 Andreas Jaeger <aj@suse.de>
33763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33764 __O_RSYNC if it exists, otherwise to O_SYNC.
33766 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33767 Joseph Myers <joseph@codesourcery.com>
33769 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33771 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33773 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33776 2012-10-22 Andreas Jaeger <aj@suse.de>
33778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33783 bits/fcntl-linux.h.
33785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33786 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33793 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33794 Joseph Myers <joseph@codesourcery.com>
33796 * config.make.in (NM): New variable.
33798 2012-10-21 Andreas Jaeger <aj@suse.de>
33800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33801 definitions and declarations that are provided by
33802 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33804 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33807 * elf/Makefile (tests-static): Add tst-leaks1-static.
33808 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33809 ($(objpfx)tst-leaks1-static): New rule.
33810 ($(objpfx)tst-leaks1-static-mem): Likewise.
33811 (tst-leaks1-static-ENV): New macro.
33812 * elf/dl-open.c (dl_open_worker): Check the main application
33813 only if SHARED is defined.
33814 * elf/tst-leaks1-static.c: New file.
33816 2012-10-20 Andreas Jaeger <aj@suse.de>
33818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33819 generic values for Linux.
33820 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33821 and declarations that are provided by <bits/fcntl-linux.h> and
33822 include <bits/fcntl-linux.h>.
33823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33826 2012-10-20 Roland McGrath <roland@hack.frob.com>
33828 * io/fcntl.h: Move include of <bits/types.h> to the top and
33829 include it unconditionally.
33831 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33833 * wcsmbs/Makefile (tests-ifunc): New variable.
33834 (tests): Add $(tests-ifunc).
33835 * wcsmbs/test-wcschr-ifunc.c: New file.
33836 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33837 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33838 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33839 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33840 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33842 * string/Makefile (tests-ifunc): New variable.
33843 (tests): Add $(tests-ifunc).
33844 * string/test-memccpy.c (TEST_NAME): New macro.
33845 * string/test-memchr.c (TEST_NAME): Likewise.
33846 * string/test-memcmp.c (TEST_NAME): Likewise.
33847 * string/test-memcpy.c (TEST_NAME): Likewise.
33848 * string/test-memmem.c (TEST_NAME): Likewise.
33849 * string/test-memmove.c (TEST_NAME): Likewise.
33850 * string/test-memset.c (TEST_NAME): Likewise.
33851 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33852 * string/test-stpcpy.c (TEST_NAME): Likewise.
33853 * string/test-stpncpy.c (TEST_NAME): Likewise.
33854 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33855 * string/test-strcasestr.c (TEST_NAME): Likewise.
33856 * string/test-strcat.c (TEST_NAME): Likewise.
33857 * string/test-strchr.c (TEST_NAME): Likewise.
33858 * string/test-strcmp.c(TEST_NAME): Likewise.
33859 * string/test-strcpy.c (TEST_NAME): Likewise.
33860 * string/test-strcspn.c (TEST_NAME): Likewise.
33861 * string/test-strlen.c (TEST_NAME): Likewise.
33862 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33863 * string/test-strncmp.c (TEST_NAME): Likewise.
33864 * string/test-strncpy.c (TEST_NAME): Likewise.
33865 * string/test-strnlen.c (TEST_NAME): Likewise.
33866 * string/test-strpbrk.c (TEST_NAME): Likewise.
33867 * string/test-strrchr.c (TEST_NAME): Likewise.
33868 * string/test-strspn.c (TEST_NAME): Likewise.
33869 * string/test-strstr.c (TEST_NAME): Likewise.
33870 * string/test-bcopy-ifunc.c: New file.
33871 * string/test-bzero-ifunc.c: Likewise.
33872 * string/test-memccpy-ifunc.c: Likewise.
33873 * string/test-memchr-ifunc.c: Likewise.
33874 * string/test-memcmp-ifunc.c: Likewise.
33875 * string/test-memcpy-ifunc.c: Likewise.
33876 * string/test-memmem-ifunc.c: Likewise.
33877 * string/test-memmove-ifunc.c: Likewise.
33878 * string/test-mempcpy-ifunc.c: Likewise.
33879 * string/test-memset-ifunc.c: Likewise.
33880 * string/test-rawmemchr-ifunc.c: Likewise.
33881 * string/test-stpcpy-ifunc.c: Likewise.
33882 * string/test-stpncpy-ifunc.c: Likewise.
33883 * string/test-strcasecmp-ifunc.c: Likewise.
33884 * string/test-strcasestr-ifunc.c: Likewise.
33885 * string/test-strcat-ifunc.c: Likewise.
33886 * string/test-strchr-ifunc.c: Likewise.
33887 * string/test-strchrnul-ifunc.c: Likewise.
33888 * string/test-strcmp-ifunc.c: Likewise.
33889 * string/test-strcpy-ifunc.c: Likewise.
33890 * string/test-strcspn-ifunc.c: Likewise.
33891 * string/test-strlen-ifunc.c: Likewise.
33892 * string/test-strncasecmp-ifunc.c: Likewise.
33893 * string/test-strncat-ifunc.c: Likewise.
33894 * string/test-strncmp-ifunc.c: Likewise.
33895 * string/test-strncpy-ifunc.c: Likewise.
33896 * string/test-strnlen-ifunc.c: Likewise.
33897 * string/test-strpbrk-ifunc.c: Likewise.
33898 * string/test-strrchr-ifunc.c: Likewise.
33899 * string/test-strspn-ifunc.c: Likewise.
33900 * string/test-strstr-ifunc.c: Likewise.
33902 * debug/Makefile (tests-ifunc): New variable.
33903 (tests): Add $(tests-ifunc).
33904 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33905 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33906 * debug/test-stpcpy_chk-ifunc.c: New file.
33907 * debug/test-strcpy_chk-ifunc.c: Likewise.
33909 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33912 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33913 header is not read in.
33915 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33917 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33918 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33919 directly. Pass built executable to script as
33920 $(built-program-cmd).
33921 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33922 $testprogram without using LD_LIBRARY_PATH and $ldso.
33924 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33925 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33926 $(rtld-installed-name).
33927 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33928 (rtld_installed_name): Likewise.
33929 (library_path): Likewise.
33930 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33931 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33932 $(run-program-prefix) to tst-tables.sh.
33933 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33934 it to run tst-table-from and tst-table-to.
33935 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33936 Pass it to tst-table.sh.
33937 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33938 $(run-program-prefix) to tst-gettext.sh.
33939 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33941 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33943 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33944 to run tst-gettext.
33945 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33946 to run tst-gettext2.
33947 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33948 to run tst-translit.
33949 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33950 $(run-program-prefix) to tst-mtrace.sh.
33951 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33953 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33954 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33955 $(rtld-installed-name).
33956 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33957 (rtld_installed_name): Likewise.
33958 (run_program_prefix): New variable. Use it to run wordexp-test.
33960 * Makeconfig (ARCH): Remove all definitions.
33961 (machine): Likewise.
33962 [ARCH]: Remove conditional code.
33963 [!objdir]: Give error.
33964 [!objdir] (objpfx): Remove.
33965 [!objdir] (common-objpfx): Likewise.
33966 [!objdir] (common-objdir): Likewise.
33967 * configure.in (config_makefile): Remove. Hardcode Makefile in
33968 AC_CONFIG_FILES call.
33969 * configure: Regenerated.
33972 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33974 (testout): Likewise.
33976 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33977 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33978 $(rtld-installed-name).
33979 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33980 (rtld_installed_name): Likwise.
33981 (runit): Remove function.
33982 (run_getconf): New variable, Use it for running getconf binary.
33984 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33987 * string/test-memmem.c (check_result): New function.
33988 (do_one_test): Use it.
33989 (check1): New function.
33990 (test_main): Use it.
33992 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33994 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33996 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33998 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33999 (_G_LSEEK64): Likewise.
34000 (_G_MMAP64): Likewise.
34001 (_G_FSTAT64): Likewise.
34002 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34003 (_G_LSEEK64): Likewise.
34004 (_G_MMAP64): Likewise.
34005 (_G_FSTAT64): Likewise.
34006 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34007 unconditional. Call __mmap64 directly.
34008 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34009 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34010 __lseek64 directly.
34011 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34012 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34014 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34015 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34016 __lseek64 directly.
34017 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34018 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34019 __lseek64 directly.
34020 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34021 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34022 __lseek64 directly.
34023 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34024 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34025 __fxstat64 directly.
34026 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34027 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34029 (freopen64) [!_G_OPEN64]: Remove conditional code.
34030 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34032 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34033 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34035 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34036 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34038 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34039 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34041 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34042 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34044 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34045 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34047 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34048 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34050 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34052 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34055 * manual/memory.texi (Malloc Tunable Parameters): Add note
34056 about free list pointers overwriting some perturb bytes.
34057 Wording suggested by Roland McGrath.
34059 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34061 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34062 (lgamma_test): Likewise.
34063 (tgamma_test): Likewise.
34065 2012-10-16 Florian Weimer <fweimer@redhat.com>
34068 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34069 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34071 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34073 * NEWS: Mention BZ #14716.
34074 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34075 when removing AVAILABLE1_USES_J macro.
34077 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34079 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34080 (__bswap_64): __uint64_t for unsigned 64-bit int.
34082 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34084 * include/string.h (memmem): Declare libc hidden alias.
34085 * string/memmem.c (memmem): Define libc hidden alias.
34086 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34087 __read, __close instead of open, read, close.
34089 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34092 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34094 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34095 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34096 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34098 (__rawmemchr_sse2): Likewise.
34099 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34100 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34101 (__strchr_sse2): Likewise.
34102 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34103 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34104 (__strcasecmp_sse2): Likewise.
34105 (__strncasecmp_sse2): Likewise.
34106 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34107 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34108 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34109 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34110 (__strrchr_sse2): Likewise.
34111 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34113 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34114 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34115 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34116 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34117 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34118 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34119 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34120 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34121 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34122 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34123 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34124 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34125 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34126 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34127 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34128 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34129 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34130 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34131 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34132 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34133 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34134 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34135 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34136 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34137 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34138 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34139 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34140 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34141 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34142 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34144 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34146 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34147 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34148 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34149 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34151 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34153 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34154 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34155 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34156 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34158 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34160 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34161 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34162 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34163 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34164 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34165 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34166 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34167 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34169 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34171 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34173 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34175 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34176 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34177 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34179 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34181 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34183 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34185 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34187 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34188 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34189 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34190 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34191 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34192 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34193 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34194 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34195 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34196 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34197 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34198 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34200 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34201 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34202 * include/ifunc-impl-list.h: New file.
34203 * misc/ifunc-impl-list.c: Likewise.
34204 * misc/Makefile (routines): Add ifunc-impl-list.
34205 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34206 * string/test-string.h: Include <ifunc-impl-list.h>.
34207 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34208 TEST_NAME]: New variables.
34209 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34211 (test_init): Call __libc_ifunc_impl_list to initialize
34212 func_list if TEST_IFUNC and TEST_NAME are defined.
34214 * string/Makefile (strop-tests): Add bcopy and bzero.
34215 * string/test-bcopy.c: New file.
34216 * string/test-bzero.c: Likewise.
34217 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34219 * string/test-memset.c: Support bzero test if TEST_BZERO is
34221 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34223 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34225 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34228 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34230 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34231 * configure: Regenerated.
34233 * Makeconfig (+link-static-before-libc): Don't include
34234 $(link-static-libc).
34236 * libio/libio.h (_IO_pos_t): Remove.
34238 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34240 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34243 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34245 * crypt/crypt-entry.c: Include fips-private.h.
34246 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34247 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34248 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34249 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34251 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34253 * crypt/crypt-private.h: Include stdbool.h.
34254 (_ufc_setup_salt_r): Return bool.
34255 * crypt/crypt-entry.c: Include errno.h.
34256 (__crypt_r): Return NULL with EINVAL for bad salt.
34257 * crypt/crypt_util.c (bad_for_salt): New.
34258 (_ufc_setup_salt_r): Check that salt is long enough and within
34259 the specified alphabet.
34260 * crypt/badsalttest.c: New file.
34261 * crypt/Makefile (tests): Add it.
34262 ($(objpfx)badsalttest): New.
34264 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34266 * NEWS: Add entry for BZ #14602.
34268 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34270 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34272 * math/libm-test.inc: Update comment listing what functions and
34274 (isgreater_test): New function.
34275 (isgreaterequal_test): Likewise.
34276 (isless_test): Likewise.
34277 (islessequal_test): Likewise.
34278 (islessgreater_test): Likewise.
34279 (isunordered_test): Likewise.
34280 (main): Call the new functions.
34282 2012-10-09 Roland McGrath <roland@hack.frob.com>
34284 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34285 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34286 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34287 * sysdeps/i386/configure: Regenerated.
34288 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34289 * sysdeps/mach/configure: Regenerated.
34290 * sysdeps/mach/hurd/configure: Regenerated.
34291 * sysdeps/powerpc/configure: Regenerated.
34292 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34293 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34294 * sysdeps/s390/s390-32/configure: Regenerated.
34295 * sysdeps/s390/s390-64/configure: Regenerated.
34296 * sysdeps/sh/configure: Regenerated.
34297 * sysdeps/sparc/configure: Regenerated.
34298 * sysdeps/unix/sysv/linux/configure: Regenerated.
34299 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34300 * sysdeps/x86_64/configure: Regenerated.
34302 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34303 defined. Don't check if MAP is NULL.
34305 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34307 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34308 (_G_stat64): Likewise.
34309 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34310 (_G_stat64): Likewise.
34311 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34312 instead of struct _G_stat64.
34313 * libio/fileops.c (mmap_remap_check): Likewise.
34314 (decide_maybe_mmap): Likewise.
34315 (_IO_new_file_seekoff): Likewise.
34316 (_IO_file_stat): Likewise.
34317 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34319 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34320 instead of struct _G_stat64.
34321 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34323 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34326 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34328 (CHECK_EOL): New macro.
34329 (two_way_short_needle): Check beginning of haystack for EOL. Use
34331 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34332 Replace with CHECK_EOL.
34333 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34334 Replace with CHECK_EOL.
34336 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34338 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34340 * math/libm-test.inc: Update comment listing what functions and
34342 (finite_test): New function.
34343 (isinf_test): Likewise.
34344 (isnan_test): Likewise.
34345 (fpclassify_test): Test subnormal input.
34346 (isfinite_test): Likewise.
34347 (isnormal_test): Likewise.
34348 (main): Call the new functions.
34350 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34353 * Makerules (%.dynsym): Force C locale when running
34354 $(OBJDUMP) --dynamic-syms.
34356 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34358 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34361 2012-10-06 David S. Miller <davem@davemloft.net>
34363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34364 upper 32-bits of the length value in %o2 since we use branch-on-register
34365 tests which consider the entire 64-bit register.
34367 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34369 * string/test-strstr.c (check2): Add a test for page boundary.
34371 2012-10-05 David S. Miller <davem@davemloft.net>
34373 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34374 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34376 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34378 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34379 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34380 and bzero when HWCAP_SPARC_CRYPTO is present.
34382 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34385 * string/test-strstr.c (check2): New function.
34386 (test_main): Call check2.
34388 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34390 * string/bug-strcasestr1.c (do_test): Moved to ...
34391 * string/test-strcasestr.c (check1): Here. New function.
34392 (do_one_test): Break out result checking code into ...
34393 (check_result): This. New function.
34394 (do_one_test): Call check_result.
34395 (test_main): Call check1.
34396 * string/bug-strchr1.c (do_test): Moved to ...
34397 * string/test-strchr.c (check1): Here. New function.
34398 (do_one_test): Break out result checking code into ...
34399 (check_result): This. New function.
34400 (do_one_test): Call check_result.
34401 (test_main): Call check1.
34402 * string/bug-strstr1.c (main): Moved to ...
34403 * string/test-strstr.c (check1): Here. New function.
34404 (do_one_test): Break out result checking code into ...
34405 (check_result): This. New function.
34406 (do_one_test): Call check_result.
34407 (test_main): Call check1.
34408 * string/bug-strcasestr1.c: Removed.
34409 * string/bug-strchr1.c: Likewise.
34410 * string/bug-strstr1.c: Likewise.
34412 * elf/Makefile (dl-routines): Add hwcaps.
34413 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34414 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34415 (_dl_important_hwcaps): Moved to ...
34416 * elf/dl-hwcaps.c: Here. New file.
34417 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34420 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34421 if IS_IN_rtld isn't defined.
34423 * elf/dl-support.c (_dl_sysinfo_map): New.
34424 Include "get-dynamic-info.h" and "setup-vdso.h".
34425 (_dl_non_dynamic_init): Call setup_vdso.
34426 * elf/dynamic-link.h: Don't include <assert.h>.
34427 (elf_get_dynamic_info): Moved to ...
34428 * elf/get-dynamic-info.h: Here. New file.
34429 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34430 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34431 * elf/setup-vdso.h: Here. New file.
34432 * elf/rtld.c: Include "setup-vdso.h".
34433 (dl_main): Call setup_vdso.
34435 2012-10-05 Joseph Myers <joseph@codesourcery.com>
34437 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34438 creal in comment listing functions tested. List finite, isinf,
34439 isnan, isless, islessequal, isgreater, isgreaterequal,
34440 islessgreater, isunordered, lgamma_r and pow10 as functions and
34441 macros not tested. Mention which functions not tested are aliases
34442 for other functions. Fix typo. Note that signs of NaNs are not
34445 * scripts/config.guess: Update from config.git.
34446 * scripts/config.sub: Likewise.
34448 2012-10-04 Roland McGrath <roland@hack.frob.com>
34450 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34451 * misc/madvise.c (madvise): Renamed to __madvise.
34452 Make madvise a weak alias.
34453 * include/sys/mman.h: Declare __madvise.
34454 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34455 * sysdeps/unix/syscalls.list
34456 (madvise): Make __madvise the strong name, and madvise a weak alias.
34457 * sysdeps/unix/sysv/linux/syscalls.list
34458 (madvise, mmap): Remove redundant entries.
34459 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34460 * malloc/malloc.c (mtrim): Likewise.
34461 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34463 2012-10-03 Roland McGrath <roland@hack.frob.com>
34465 * sysdeps/mach/hurd/dl-cache.c: File removed.
34466 * config.h.in (USE_LDCONFIG): New #undef.
34467 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34468 * configure: Regenerated.
34469 * elf/Makefile (dl-routines): Add dl-cache only under
34470 [$(use-ldconfig) = yes].
34471 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34472 cache on [USE_LDCONFIG].
34473 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34475 * elf/rtld.c (dl_main): Likewise.
34477 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34479 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34480 _SC_LEVEL4_CACHE_LINESIZE.
34482 2012-10-03 Roland McGrath <roland@hack.frob.com>
34484 * sysdeps/unix/bsd/confstr.h: File removed.
34486 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
34488 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34491 2012-10-02 Roland McGrath <roland@hack.frob.com>
34493 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34494 Make 'mapoff' field ElfW(Off) rather than off_t.
34496 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34498 * nscd/Makefile: Remove nscd-cflags and all its users.
34499 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34500 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34503 * malloc.c (malloc_printerr): Clarify error message.
34505 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34509 Set bit_FMA_Usable if FMA is supported.
34510 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34512 (bit_FMA4_Usable): Updated.
34513 (index_FMA_Usable): New macro.
34514 (CPUID_FMA): Likewise
34515 (HAS_FMA): Defined with bit_FMA_Usable.
34517 2012-10-01 Roland McGrath <roland@hack.frob.com>
34519 * bits/types.h (__swblk_t): Type removed.
34520 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34521 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34523 (__SWBLK_T_TYPE): Likewise.
34524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34525 (__SWBLK_T_TYPE): Likewise.
34526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34527 (__SWBLK_T_TYPE): Likewise.
34528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34529 (__SWBLK_T_TYPE): Likewise.
34531 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
34532 Honza Horak <hhorak@redhat.com>
34534 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34535 (xdr_mapname): Use YPMAXMAP as maxsize.
34536 (xdr_peername): Use YPMAXPEER as maxsize.
34537 (xdr_keydat): Use YPAXRECORD as maxsize.
34538 (xdr_valdat): Use YPMAXRECORD as maxsize.
34540 2012-10-01 Roland McGrath <roland@hack.frob.com>
34542 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34544 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34545 * csu/init-first.c: ... here.
34546 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34547 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34548 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34549 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34550 * sysdeps/i386/init-first.c: File removed.
34551 * sysdeps/sh/init-first.c: File removed.
34553 2012-10-01 Joseph Myers <joseph@codesourcery.com>
34556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34557 if x * y might underflow to zero and z is zero.
34558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34560 * math/libm-test.inc (min_subnorm_value): New variable.
34561 (fma_test): Add more tests.
34562 (fma_test_towardzero): Likewise.
34563 (fma_test_downward): Likewise
34564 (fma_test_upward): Likewise.
34565 (initialize): Set min_subnorm_value.
34567 2012-09-29 Joseph Myers <joseph@codesourcery.com>
34570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34572 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34573 mode for addition resulting in exact zero.
34574 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34577 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34578 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34579 * math/libm-test.inc (fma_test): Add more tests.
34580 (fma_test_towardzero): New function.
34581 (fma_test_downward): Likewise.
34582 (fma_test_upward): Likewise.
34583 (main): Call the new functions.
34585 2012-09-28 David S. Miller <davem@davemloft.net>
34587 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34589 2012-09-28 Roland McGrath <roland@hack.frob.com>
34591 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34592 instead of SIGALRM.
34594 * sysdeps/gnu/_G_config.h: Moved to ...
34595 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34596 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34597 * sysdeps/generic/_G_config.h: ... here.
34599 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34601 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34603 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34604 Conditionalize target on [libnss_test1.so-version].
34606 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34608 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34609 (elfobjdir): Move out of conditionals.
34611 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34612 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34613 (__nss_lookup_function): Conditionalize label remove_from_tree on
34614 [!DO_STATIC_NSS || SHARED], matching its only use.
34616 2012-09-28 David S. Miller <davem@davemloft.net>
34618 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34619 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34621 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34623 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34625 when HWCAP_SPARC_CRYPTO is present.
34627 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34629 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34631 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34634 * stdio-common/vfprintf.c (process_string_arg): Revert
34637 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34639 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34641 * stdio-common/tst-sprintf.c: Include <locale.h>
34642 (main): Test sprintf's handling of incomplete multibyte
34645 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34647 * elf/dl-runtime.c (VERSYMIDX): Removed.
34648 * elf/dl-version.c (VERSYMIDX): Likewise.
34649 * elf/do-rel.h (VERSYMIDX): Likewise.
34650 (VALIDX): Likewise.
34651 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34652 * elf/rtld.c (VALIDX): Likewise.
34653 (ADDRIDX): Likewise.
34654 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34655 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34656 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34657 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34658 (VALIDX): Likewise.
34659 (ADDRIDX): Likewise.
34661 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34663 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34665 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34668 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34670 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34671 addresses are in the same scope as 192.0.2/24.
34672 * posix/gai.conf: Document new scope table defaults.
34674 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34677 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34678 for ftell. Compute offsets from write pointers instead.
34679 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34681 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34684 * libio/Makefile (tests): New test case tst-fseek.
34685 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34686 combination works in wide mode.
34687 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34688 state when the external buffer state changes.
34690 2012-09-27 David S. Miller <davem@davemloft.net>
34693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34694 pass reloc->r_addend in as the 'high' argument to
34695 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34699 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34701 * rt/tst-aio2.c: Include <pthread.h>.
34702 * rt/tst-aio3.c: Likewise.
34704 2012-09-27 Steve Ellcey <sellcey@mips.com>
34706 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34708 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34710 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34711 contents on [SHARED].
34713 2012-09-26 Marek Polacek <polacek@redhat.com>
34717 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34718 for C++ and GCC <4.3 as well as for non GCC compilers.
34720 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34724 2012-09-25 Roland McGrath <roland@hack.frob.com>
34726 * Makefile.in (all, install): Declare with .PHONY.
34727 Reported by Michael Hope <michael.hope@linaro.org>.
34729 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34731 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34732 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34734 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34736 (sydep_routines): Add the new and the internal functions.
34737 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34738 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34740 (GLIBC_2.17): Add the new function.
34741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34742 (GLIBC_2.17): Likewise.
34743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34744 (GLIBC_2.17): Likewise.
34745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34746 (GLIBC_2.17): Likewise.
34747 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34749 2012-09-25 Alan Modra <amodra@gmail.com>
34751 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34752 Add release barrier before setting once_control to say
34753 initialisation is done. Add hints on lwarx. Use macro in
34755 (clear_once_control): Add release barrier.
34757 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34760 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34762 * math/s_clog10.c (__clog10): Likewise.
34763 * math/s_clog10f.c (__clog10f): Likewise.
34764 * math/s_clog10l.c (__clog10l): Likewise.
34765 * math/s_clogf.c (__clogf): Likewise.
34766 * math/s_clogl.c (__clogl): Likewise.
34767 * math/Makefile (libm-calls): Add x2y2m1.
34768 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34769 (__x2y2m1): Likewise.
34770 (__x2y2m1l): Likewise.
34771 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34772 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34773 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34774 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34775 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34776 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34777 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34778 * sysdeps/i386/fpu/libm-test-ulps: Update.
34779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34782 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34783 int as type of variable DEPTH.
34784 (glob): Use size_t instead of int as type of variables NEWCOUNT
34787 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34789 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34790 Add s_sincosf-sse2.
34791 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34792 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34793 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34794 macros for using routine as __sincosf_ia32.
34795 Use macro for function declaration and weak_alias.
34796 * sysdeps/i386/fpu/libm-test-ulps: Update.
34798 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34801 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34802 subnormal argument.
34803 * math/s_cexpf.c (__cexpf): Likewise.
34804 * math/s_csinf.c (__csinf): Likewise.
34805 * math/s_csinhf.c (__csinhf): Likewise.
34806 * math/s_ctanf.c (__ctanf): Likewise.
34807 * math/s_ctanhf.c (__ctanhf): Likewise.
34808 * math/s_ccosh.c (__ccoshf): Likewise.
34809 * math/s_cexp.c (__cexpl): Likewise.
34810 * math/s_csin.c (__csin): Likewise.
34811 * math/s_csinh.c (__csinh): Likewise.
34812 * math/s_ctan.c (__ctan): Likewise.
34813 * math/s_ctanh.c (ctanh): Likewise.
34814 * math/s_ccoshl.c (__ccoshl): Likewise.
34815 * math/s_cexpl.c (__cexpl): Likewise.
34816 * math/s_csinl.c (__csinl): Likewise.
34817 * math/s_csinhl.c (__csinhl): Likewise.
34818 * math/s_ctanl.c (__ctanl): Likewise.
34819 * math/s_ctanhl.c (__ctanhl): Likewise.
34821 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34823 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34824 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34825 (_IO_off_t): Define to __off_t, not _G_off_t.
34826 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34827 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34828 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34829 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34830 type of __dummy and __dummy2 fields.
34831 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34832 (_G_ssize_t): Likewise.
34833 (_G_off_t): Likewise.
34834 (_G_pid_t): Likewise.
34835 (_G_uid_t): Likewise.
34836 (_G_wchar_t): Likewise.
34837 (_G_wint_t): Likewise.
34838 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34839 (_G_ssize_t): Likewise.
34840 (_G_off_t): Likewise.
34841 (_G_pid_t): Likewise.
34842 (_G_uid_t): Likewise.
34843 (_G_wchar_t): Likewise.
34844 (_G_wint_t): Likewise.
34845 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34846 (_G_ssize_t): Likewise.
34847 (_G_off_t): Likewise.
34848 (_G_pid_t): Likewise.
34849 (_G_uid_t): Likewise.
34850 (_G_wchar_t): Likewise.
34851 (_G_wint_t): Likewise.
34853 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34855 * malloc/arena.c: Include malloc-sysdep.h.
34856 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34857 is sufficient to shrink the heap or an unmap is needed.
34858 * sysdeps/generic/malloc-sysdep.h: New file. Define
34859 new function check_may_shrink_heap.
34860 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34861 new function check_may_shrink_heap.
34863 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34865 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34868 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34870 * catgets/test-gencat.sh: Add "set -e".
34871 * elf/tst-pathopt.sh: Likewise.
34872 * grp/tst_fgetgrent.sh: Likewise.
34873 * iconvdata/run-iconv-test.sh: Likewise.
34874 * intl/tst-gettext.sh: Likewise.
34875 * intl/tst-gettext2.sh: Likewise.
34876 * intl/tst-gettext4.sh: Likewise.
34877 * intl/tst-gettext6.sh: Likewise.
34878 * intl/tst-translit.sh: Likewise.
34879 * io/ftwtest-sh: Likewise.
34880 * libio/test-freopen.sh: Likewise.
34881 * malloc/tst-mtrace.sh: Likewise.
34882 * posix/globtest.sh: Likewise.
34883 * posix/tst-getconf.sh: Likewise.
34884 * posix/wordexp-tst.sh: Likewise.
34885 * stdio-common/tst-printf.sh: Likewise.
34886 * stdio-common/tst-unbputc.sh: Likewise.
34887 * stdlib/tst-fmtmsg.sh: Likewise.
34888 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34889 * catgets/Makefile: Do not specify -e option when running
34890 testsuite shell scripts.
34891 * elf/Makefile: Likewise.
34892 * grp/Makefile: Likewise.
34893 * iconvdata/Makefile: Likewise.
34894 * intl/Makefile: Likewise.
34895 * io/Makefile: Likewise.
34896 * libio/Makefile: Likewise.
34897 * malloc/Makefile: Likewise.
34898 * posix/Makefile: Likewise.
34899 * stdio-common/Makefile: Likewise.
34900 * stdlib/Makefile: Likewise.
34901 * sysdeps/x86_64/Makefile: Likewise.
34903 * io/ftwtest-sh: Add copyright header.
34904 * posix/globtest.sh: Likewise.
34905 * posix/tst-getconf.sh: Likewise.
34906 * posix/wordexp-tst.sh: Likewise.
34907 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34909 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34912 * Makeconfig (+link): Defined as $(+link-static) if
34913 $(build-shared) isn't yes.
34914 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34916 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34918 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34921 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34922 new chunk size with MALLOC_ALIGN_MASK.
34924 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34927 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34929 (__printf_fphex): Determine rounding using get_rounding_mode and
34931 * stdio-common/tst-printf-round.c (struct hex_test): New
34933 (hex_tests): New variable.
34934 (test_hex_in_one_mode): New function.
34935 (do_test): Also run tests for hex float output.
34937 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34939 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34940 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34941 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34942 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34943 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34944 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34945 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34946 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34948 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34950 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34951 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34952 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34953 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34955 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34958 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34960 * elf/tst-rtld-load-self.sh: New test.
34961 * elf/Makefile: Run it.
34963 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34965 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34966 (tst-writev-ENV): Remove.
34967 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34969 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34971 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34973 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34975 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34977 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34979 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34980 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34981 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34984 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34987 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34988 * config.make.in (have-cpp-asm-debuginfo): Removed.
34989 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34990 * configure: Regenerated.
34992 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34995 * stdio-common/printf_fp.c: Include <stdbool.h> and
34997 (___printf_fp): Determine rounding using get_rounding_mode and
34999 * stdio-common/tst-printf-round.c: New file.
35000 * stdio-common/Makefile (tests): Add tst-printf-round.
35001 (link-libm): New variable.
35002 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35004 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35007 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35008 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35010 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35013 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35015 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35016 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35017 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35018 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35020 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35023 * include/rounding-mode.h: New file.
35024 * sysdeps/generic/get-rounding-mode.h: Likewise.
35025 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35026 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35027 (MAX_VALUE): New macro.
35028 (MIN_VALUE): Likewise.
35029 (overflow_value): New function.
35030 (underflow_value): Likewise.
35031 (round_and_return): Use overflow_value and underflow_value to
35032 determine return values in overflow and underflow cases. Use
35033 round_away to determine rounding depending on rounding mode.
35034 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35035 determine return values in overflow and underflow cases.
35036 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35037 (struct test_results): New structure.
35038 (struct test): Use struct test_results to store expected results
35039 for all rounding modes.
35040 (TEST): Include expected results for all rounding modes.
35041 (test_in_one_mode): New function.
35042 (do_test): Use test_in_one_mode to compute and check results.
35043 Check results for all rounding modes.
35044 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35047 2012-12-09 Allan McRae <allan@archlinux.org>
35049 * sysdeps/i386/fpu/libm-test-ulps: Update
35051 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35053 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35054 (_G_int32_t): Likewise.
35055 (_G_uint16_t): Likewise.
35056 (_G_uint32_t): Likewise.
35057 (_G_HAVE_BOOL): Likewise.
35058 (_G_HAVE_ATEXIT): Likewise.
35059 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35060 (_G_HAVE_IO_FILE_OPEN): Likewise.
35061 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35062 (_G_int32_t): Likewise.
35063 (_G_uint16_t): Likewise.
35064 (_G_uint32_t): Likewise.
35065 (_G_HAVE_BOOL): Likewise.
35066 (_G_HAVE_ATEXIT): Likewise.
35067 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35068 (_G_HAVE_IO_FILE_OPEN): Likewise.
35069 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35070 (_G_int32_t): Likewise.
35071 (_G_uint16_t): Likewise.
35072 (_G_uint32_t): Likewise.
35073 (_G_HAVE_BOOL): Likewise.
35074 (_G_HAVE_ATEXIT): Likewise.
35075 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35076 (_G_HAVE_IO_FILE_OPEN): Likewise.
35078 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35080 * csu/libc-tls.c: Update copyright years.
35082 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35084 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35085 [!_G_USING_THUNKS]: Remove conditional code.
35086 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35087 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35089 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35090 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35091 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35092 (_G_VTABLE_LABEL_PREFIX): Likewise.
35093 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35094 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35095 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35096 (_G_VTABLE_LABEL_PREFIX): Likewise.
35097 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35098 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35099 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35100 (_G_VTABLE_LABEL_PREFIX): Likewise.
35101 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35103 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35105 * libio/Makefile: Include ../Makeconfig before tests.
35106 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35107 only if $(build-shared) is yes.
35109 * iconv/gconv_db.c: Update copyright years.
35111 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35113 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35114 unwind info if defined PIC. Fix special cases description.
35115 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35117 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35119 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35121 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35123 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35125 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35128 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35129 (LDLIBS-tst-chk4): This.
35130 (LDFLAGS-tst-chk5): Renamed to ...
35131 (LDLIBS-tst-chk5): This.
35132 (LDFLAGS-tst-chk6): Renamed to ...
35133 (LDLIBS-tst-chk6): This.
35134 (LDFLAGS-tst-lfschk4): Renamed to ...
35135 (LDLIBS-tst-lfschk4): This.
35136 (LDFLAGS-tst-lfschk5): Renamed to ...
35137 (LDLIBS-tst-lfschk5): This.
35138 (LDFLAGS-tst-lfschk6): Renamed to ...
35139 (LDLIBS-tst-lfschk6): This.
35141 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35142 on $(common-objpfx)soversions.mk.
35144 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35147 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35150 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35152 * malloc/arena.c (arena_get_retry): New function that gets
35153 another arena for the caller to try its request on.
35154 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35155 current arena cannot fulfill the request.
35156 (__libc_memalign): Likewise.
35157 (__libc_memalign): Likewise.
35158 (__libc_pvalloc): Likewise.
35159 (__libc_calloc): Likewise.
35161 2012-09-05 John Tobey <john.tobey@gmail.com>
35164 * manual/arith.texi (Operations on Complex): Fix description
35165 of carg branch cut.
35167 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35170 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35174 * manual/memory.texi (Memory): Make order of menu items match
35177 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35179 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35180 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35181 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35183 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35185 * csu/libc-tls.c (static_dtv): Renamed to ...
35186 (_dl_static_dtv): This. Make it global.
35187 (_dl_initial_dtv): Removed.
35188 (__libc_setup_tls): Updated.
35189 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35190 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35193 2012-09-06 Petr Machata <pmachata@redhat.com>
35195 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35196 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35197 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35198 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35200 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35203 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35204 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35207 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35210 * Makeconfig (link-static-before-libc): Replace $(+prector)
35212 (link-static-after-libc): Replace $(+postctor) with
35214 (link-bounded): Replace $(+prector)/$(+postctor) with
35215 $(+prectorT)/$(+postctorT).
35216 (+prectorT): New macro.
35217 (+postctorT): Likewise.
35219 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35221 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35222 (round_str): Handle values above the maximum for IBM long double
35224 * stdlib/tst-strtod-round.c (tests): Regenerated.
35226 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35228 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35230 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35231 zarch_nohighgprs around the zarch optimized routines.
35232 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35233 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35234 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35237 2012-09-05 David S. Miller <davem@davemloft.net>
35239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35241 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35242 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35243 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35244 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35247 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35249 * malloc/arena.c: Fold copyright years.
35250 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35252 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35254 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35256 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35258 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35260 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35262 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35263 change internal state upon failure.
35265 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35267 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35268 * malloc/memusage.c (mmap): Likewise.
35269 (mmap64, mremap): Likewise. Adjust name in comment.
35271 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35273 * libio/fileops.c: Fix typos in comments.
35274 * libio/oldfileops.c: Likewise.
35275 * libio/wfileops.c: Likewise.
35277 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35280 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35281 (tst-malloc-usable-ENV): Set environment for test case.
35282 * malloc/hooks.c (malloc_check_get_size): New function to get
35284 * malloc/malloc.c (musable): Use malloc_check_get_size.
35285 * malloc/tst-malloc-usable.c: New test case.
35287 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35289 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35291 2012-09-05 Allan McRae <allan@archlinux.org>
35294 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35295 determine header location.
35296 * configure: Regenerated.
35298 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35300 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35302 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35303 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35305 (test): Regenerate.
35307 2012-09-04 David S. Miller <davem@davemloft.net>
35309 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35310 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35311 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35313 2012-09-04 Florian Weimer <fweimer@redhat.com>
35315 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35318 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35320 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35323 * libio/iogetdelim.c: Include <limits.h>.
35324 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35325 + len + 1 would overflow.
35327 2012-09-03 Andreas Jaeger <aj@suse.de>
35329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35330 * sysdeps/i386/fpu/libm-test-ulps: Update.
35332 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35334 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35335 Add s_sinf-sse2, s_conf-sse2.
35337 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35338 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35339 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35340 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35342 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35343 for using routine as __sinf_ia32.
35344 Use macro for function declaration and weak_alias.
35345 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35346 for using routine as __cosf_ia32.
35347 Use macro for function declaration and weak_alias.
35349 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35350 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35352 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35353 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35356 * math/libm-test.inc (cos_test): Add more test cases.
35357 (sin_test): Likewise.
35358 (sincos_test): Likewise.
35360 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35363 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35365 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35367 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35370 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35371 first element of the GOT.
35372 (elf_machine_load_address): Return the difference between
35373 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35375 2012-09-01 Allan McRae <allan@archlinux.org>
35378 * configure.in (AWK): Require gawk version 3.0 or later.
35379 * configure: Regenerated.
35381 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35383 * sysdeps/unix/sysv/linux/kernel-features.h
35384 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35385 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35386 [__NR_clock_getres]: Make code unconditional.
35387 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35388 (clock_getcpuclockid): Remove code left unreachable by removal of
35390 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35391 code unconditional.
35392 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35393 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35394 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35395 Make code unconditional.
35396 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35397 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35398 * sysdeps/unix/sysv/linux/clock_settime.c
35399 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35401 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35402 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35404 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35407 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35408 scripts/test-installation.pl.
35410 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35411 and $ld_so_version if it is set.
35413 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35416 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35417 failure if reading from procfs failed.
35418 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35420 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35422 * sysdeps/unix/sysv/linux/kernel-features.h
35423 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35424 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35425 Remove conditional code.
35426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35427 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35428 Remove conditional code.
35429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35430 * sysdeps/unix/sysv/linux/i386/fxstat.c
35431 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35433 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35434 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35436 * sysdeps/unix/sysv/linux/i386/lxstat.c
35437 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35439 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35440 Remove conditional code.
35441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35442 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35443 Remove conditional code.
35444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35445 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35446 <kernel-features.h>.
35447 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35449 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35450 Remove conditional code.
35451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35452 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35453 Remove conditional.
35455 2012-08-27 Mike Frysinger <vapier@gentoo.org>
35458 * NEWS: Add fixed bug number.
35460 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35463 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35464 underflowing exponent in case of negative sign.
35465 * stdlib/tst-strtod-round-data: Add more tests.
35466 * stdlib/tst-strtod-round.c (tests): Regenerated.
35469 * stdlib/strtod_l.c (NDIG): Remove.
35470 (HEXNDIG): Likewise.
35471 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35472 smallest representable value.
35473 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35474 lie within an exact representation of 1/2 ulp of the result.
35475 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35477 (TENS_P9_IDX): Define unconditionally.
35478 (TENS_P9_SIZE): Likewise.
35479 (TENS_P10_IDX): Likewise.
35480 (TENS_P10_SIZE): Likewise.
35481 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35482 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35483 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35484 entries for 10^2^13 and 10^2^14.
35485 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35486 (TENS_P13_IDX): Define.
35487 (TENS_P13_SIZE): Likewise.
35488 (TENS_P14_IDX): Likewise.
35489 (TENS_P14_SIZE): Likewise.
35490 (_fpioconst_pow10): Change array size to
35491 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35493 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35494 1024]: Add entries for 10^2^13 and 10^2^14.
35495 [LAST_POW10 > _LAST_POW10]: Remove #error.
35496 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35497 (_fpioconst_pow10): Change array size to
35498 FPIOCONST_POW10_ARRAY_SIZE.
35499 * stdlib/gen-fpioconst.c: New file.
35500 * stdlib/gen-tst-strtod-round.c: Likewise.
35501 * stdlib/tst-strtod-round-data: Likewise.
35502 * stdlib/tst-strtod-round.c: Likewise.
35503 * stdlib/Makefile (tests): Add tst-strtod-round.
35506 * stdlib/strtod_l.c: Include <stdint.h>.
35507 (NDEBUG): Do not define.
35508 (round_and_return): Change EXPONENT parameter to type intmax_t.
35509 Rearrange calculations to avoid internal overflow possibilities.
35510 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35511 Rearrange calculations to avoid internal overflow possibilities.
35512 Assert that number fits inside MPNSIZE limbs.
35513 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35514 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35515 calculations and add assertions to avoid internal overflow
35516 possibilities. Add casts to avoid signed/unsigned operations.
35517 * stdlib/tst-strtod-overflow.c: New file.
35518 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35520 2012-08-25 Marek Polacek <polacek@redhat.com>
35522 * time/time.h: Fix some typos in comments.
35524 2012-08-23 Roland McGrath <roland@hack.frob.com>
35526 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35527 * posix/tst-rfc3484-2.c: Likewise.
35528 * posix/tst-rfc3484-3.c: Likewise.
35530 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35532 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35533 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35535 2012-08-23 Joseph Myers <joseph@codesourcery.com>
35537 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35538 #include of fxstatat64.c.
35540 2012-08-22 Roland McGrath <roland@hack.frob.com>
35542 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35543 * shadow/getspent_r.c: Likewise.
35544 * shadow/getspnam.c: Likewise.
35545 * shadow/getspnam_r.c: Likewise.
35546 * gshadow/getsgent.c: Likewise.
35547 * gshadow/getsgent_r.c: Likewise.
35548 * gshadow/getsgnam.c: Likewise.
35549 * gshadow/getsgnam_r.c: Likewise.
35550 * inet/getnetbyad.c: Likewise.
35551 * inet/getnetbyad_r.c: Likewise.
35552 * inet/getnetbynm.c: Likewise.
35553 * inet/getnetbynm_r.c: Likewise.
35554 * inet/getnetent.c: Likewise.
35555 * inet/getnetent_r.c: Likewise.
35556 * inet/getproto.c: Likewise.
35557 * inet/getproto_r.c: Likewise.
35558 * inet/getprtent.c: Likewise.
35559 * inet/getprtent_r.c: Likewise.
35560 * inet/getprtname.c: Likewise.
35561 * inet/getprtname_r.c: Likewise.
35562 * inet/getrpcbyname.c: Likewise.
35563 * inet/getrpcbyname_r.c: Likewise.
35564 * inet/getrpcbynumber.c: Likewise.
35565 * inet/getrpcbynumber_r.c: Likewise.
35566 * inet/getrpcent.c: Likewise.
35567 * inet/getrpcent_r.c: Likewise.
35568 * inet/getaliasent.c: Likewise.
35569 * inet/getaliasent_r.c: Likewise.
35570 * inet/getaliasname.c: Likewise.
35571 * inet/getaliasname_r.c: Likewise.
35572 * nscd/getgrgid_r.c: Likewise.
35573 * nscd/getgrnam_r.c: Likewise.
35574 * nscd/gethstbyad_r.c: Likewise.
35575 * nscd/gethstbynm3_r.c: Likewise.
35576 * nscd/getpwnam_r.c: Likewise.
35577 * nscd/getpwuid_r.c: Likewise.
35578 * nscd/getsrvbynm_r.c: Likewise.
35579 * nscd/getsrvbypt_r.c: Likewise.
35580 * nscd/gai.c: Likewise.
35582 * configure.in (build_nscd): New substituted variable, set
35583 by --disable-build-nscd and defaults to $use_nscd.
35584 * configure: Regenerated.
35585 * config.make.in (build-nscd): New substituted variable.
35586 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35587 Change conditional to require [$(build-nscd) = yes] as well.
35588 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35591 * configure.in (use_nscd): New substituted variable, set by
35592 --disable-nscd. If enabled, define USE_NSCD.
35593 * configure: Regenerated.
35594 * config.h.in: Add USE_NSCD.
35595 * config.make.in (use-nscd): New substituted variable.
35596 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35597 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35598 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35599 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35600 (CFLAGS-getgrnam_r.c): Likewise.
35601 (CFLAGS-initgroups.c): Likewise.
35602 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35603 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35605 * inet/getnetgrent_r.c
35606 (nscd_setnetgrent): New function, broken out of ...
35607 (setnetgrent): ... here. Call it.
35608 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35609 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35610 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35611 * nscd/Makefile (routines, aux): Move definitions after include of
35612 Makeconfig. Conditionalize on [$(use-nscd) != no].
35613 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35614 Conditionalize on [USE_NSCD].
35615 (is_nscd, nscd_init_cb): Likewise.
35616 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35617 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35618 * nss/nss_db/db-init.c: Likewise.
35619 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35621 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35622 (make_request): Use it.
35623 (cache_valid_p): New function.
35624 (__check_pf): Use it.
35625 * NEWS: Add item for --disable-nscd.
35627 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35629 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35630 to support sed >= 4.2.1-20-ga9bf076.
35631 * configure: Regenerated.
35633 2012-08-22 Roland McGrath <roland@hack.frob.com>
35635 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35636 Conditionalize whole body on [IREL].
35638 2012-08-22 Jeff Law <law@redhat.com>
35641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35642 if the family is PF_UNSPEC.
35644 2012-08-22 Mike Frysinger <vapier@gentoo.org>
35646 * Makerules (lib-version): Rename from V.
35647 (install-lib-nosubdir): Change V to lib-version.
35649 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35652 * powerpc32/power6/wcschr.c: New file.
35653 * powerpc32/power6/wcscpy.c: New file.
35654 * powerpc32/power6/wcsrchr.c: New file.
35655 * powerpc64/power6/wcschr.c: New file.
35656 * powerpc64/power6/wcscpy.c: New file.
35657 * powerpc64/power6/wcsrchr.c: New file.
35659 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35661 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35662 (two_way_short_needle): Use it.
35663 * string/strstr.c (AVAILABLE1_USES_J): Define.
35664 * string/strcasestr.c: Likewise.
35666 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35668 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35671 * NEWS: Add an entry.
35672 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35673 define their defaults.
35674 (two_way_short_needle): Detect end-of-string on-the-fly.
35675 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35676 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35677 * string/bug-strcasestr1.c: New test.
35678 * string/Makefile: Run it.
35680 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35683 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35684 the first character.
35686 2012-08-21 Roland McGrath <roland@hack.frob.com>
35688 * csu/elf-init.c (__libc_csu_irel): Function removed.
35689 * csu/libc-start.c (apply_irel): New function.
35690 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35692 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35694 * sysdeps/unix/sysv/linux/kernel-features.h
35695 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35696 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35697 <kernel-features.h>.
35698 [__NR_fadvise64_64]: Make code unconditional.
35699 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35700 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35701 !__NR_fadvise64_64)]: Likewise.
35702 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35703 !__NR_fadvise64_64))]: Likewise.
35704 [__NR_fadvise64]: Make code unconditional.
35705 [!__NR_fadvise64]: Remove conditional code.
35706 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35707 <kernel-features.h>.
35708 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35710 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35713 not include <kernel-features.h>.
35714 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35716 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35718 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35719 include <kernel-features.h>.
35720 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35722 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35725 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35728 slight instruction rearrangements per scrollpipe analysis.
35729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35731 2012-08-20 Roland McGrath <roland@hack.frob.com>
35733 * manual/syslog.texi (syslog; vsyslog, closelog):
35734 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35735 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35737 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35738 DSOCAPS to match condition on defining it.
35740 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35742 * sysdeps/unix/sysv/linux/kernel-features.h
35743 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35745 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35746 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35748 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35749 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35751 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35752 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35754 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35755 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35757 * sysdeps/unix/sysv/linux/kernel-features.h
35758 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35759 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35761 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35762 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35763 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35764 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35765 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35766 Make code unconditional.
35767 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35768 (__mmap64) [!__NR_mmap2]: Likewise.
35769 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35770 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35771 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35772 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35773 [__NR_mmap2]: Make code unconditional.
35774 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35775 (__mmap64) [!__NR_mmap2]: Likewise.
35777 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35779 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35781 2012-08-18 Andreas Jaeger <aj@suse.de>
35783 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35785 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35787 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35788 * include/unistd.h (__have_sock_cloexec): Likewise.
35789 (__have_pipe2): Likewise.
35790 (__have_dup3): Likewise.
35792 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35795 * include/unistd.h (__have_pipe2): Change define into an extern int.
35796 (__have_dup3): Likewise.
35797 * socket/have_sock_cloexec.c: Include fcntl.h.
35798 (__have_pipe2): New variable.
35799 (__have_dup3): Likewise.
35801 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35803 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35805 2012-08-17 Marek Polacek <polacek@redhat.com>
35807 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35808 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35810 2012-08-17 Roland McGrath <roland@hack.frob.com>
35812 * configure.in: Add AC_SUBST for sysheaders.
35813 * configure: Regenerated.
35814 * config.make.in (sysheaders): New substituted variable.
35816 * sysdeps/unix/mkfifo.c: Moved ...
35817 * sysdeps/posix/mkfifo.c: ... here.
35818 * sysdeps/unix/mkfifoat.c: Moved ...
35819 * sysdeps/posix/mkfifoat.c: ... here.
35821 * sysdeps/unix/utime.c: Moved ...
35822 * sysdeps/posix/utime.c: ... here.
35824 * sysdeps/unix/time.c: Moved ...
35825 * sysdeps/posix/time.c: ... here.
35826 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35827 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35829 * sysdeps/unix/nice.c: Moved ...
35830 * sysdeps/posix/nice.c: ... here.
35832 * sysdeps/unix/alarm.c: Moved ...
35833 * sysdeps/posix/alarm.c: ... here.
35835 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35837 2012-08-17 Jeff Law <law@redhat.com>
35839 * intl/Makefile (codeset_mo): New variable.
35840 ($(codeset_mo)): New target.
35841 (tst-codeset.out): Depend on that. Remove explicit rule.
35842 (tst-gettext3.out, tst-gettext5.out): Likewise.
35843 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35844 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35845 * intl/tst-codeset.sh: Remove.
35846 * intl/tst-gettext3.sh: Likewise.
35847 * intl/tst-gettext5.sh: Likewise.
35849 2012-08-17 Roland McGrath <roland@hack.frob.com>
35851 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35852 * sysdeps/unix/syscalls.list: ... here.
35854 * sysdeps/posix/getaddrinfo.c
35855 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35856 (gaiconf_init, gaiconf_reload): Use them.
35857 [!_STATBUF_ST_NSEC]
35858 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35859 Define using time_t rather than struct timespec.
35861 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35862 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35864 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35866 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35867 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35870 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35871 __libc_cleanup_push argument.
35873 * bits/param.h: New file.
35874 * misc/sys/param.h: New file.
35875 * include/sys/param.h: New file.
35876 * misc/Makefile (headers): Add bits/param.h.
35877 * sysdeps/generic/sys/param.h: File removed.
35878 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35879 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35880 * sysdeps/mach/hurd/bits/param.h: New file.
35881 * sysdeps/mach/hurd/sys/param.h: File removed.
35883 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35886 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35888 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35889 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35892 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35893 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35894 rather than -D_IO_MTSAFE_IO conditionally.
35895 * stdio-common/Makefile (CPPFLAGS): Likewise.
35896 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35897 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35898 Use $(libio-mtsafe).
35899 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35900 of -D_IO_MTSAFE_IO.
35901 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35902 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35903 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35904 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35905 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35906 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35907 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35908 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35909 (CFLAGS-fread_u_chk.c): Likewise.
35910 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35911 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35912 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35913 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35914 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35915 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35916 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35917 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35918 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35920 * libio/Makefile: Test [$(libc-reentrant) = yes]
35921 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35924 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35925 * sysdeps/pthread/configure: File removed.
35926 * sysdeps/pthread/Makeconfig: New file.
35927 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35928 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35930 2012-08-16 Gary Benson <gbenson@redhat.com>
35932 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35933 unmapping the first object in a namespace.
35935 2012-08-16 Roland McGrath <roland@hack.frob.com>
35937 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35938 (__internal_setnetgrent): ... this. Add internal_function to
35939 definition. Add libc_hidden_def.
35940 (setnetgrent): Update caller.
35941 (internal_endnetgrent): Renamed to ...
35942 (__internal_endnetgrent): ... this. Add internal_function to
35943 definition. Add libc_hidden_def.
35944 (endnetgrent): Update caller.
35945 (internal_getnetgrent_r): Renamed to ...
35946 (__internal_getnetgrent_r): ... this. Add internal_function to
35947 definition. Add libc_hidden_def.
35948 (__getnetgrent_r): Update caller.
35949 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35951 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35953 * stdlib/longlong.h: Update from GCC.
35955 2012-08-16 Roland McGrath <roland@hack.frob.com>
35957 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35958 on _QL, which is set by umul_ppmm but never used.
35959 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35960 variables, which are set by GMP macros but never used.
35961 * stdio-common/_itowa.c (_itowa): Likewise.
35962 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35963 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35965 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35967 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35968 struct La_sh_regs is not constant.
35969 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35970 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35971 and struct La_sparc64_regs are not constant.
35973 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35975 * sysdeps/unix/sysv/linux/kernel-features.h
35976 (__ASSUME_POSIX_TIMERS): Remove.
35977 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35979 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35980 Make code unconditional.
35981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35982 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35983 Make code unconditional.
35984 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35985 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35986 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35987 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35988 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35989 Make code unconditional.
35990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35991 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35992 (__libc_missing_posix_timers): Remove.
35994 2012-08-15 Roland McGrath <roland@hack.frob.com>
35996 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35997 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35999 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36001 * elf/dl-sym.c: Include <stdlib.h>.
36003 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36004 constants, which avoids warnings in 32-bit builds.
36006 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36007 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36009 * misc/lseek.c: File moved to ...
36010 * io/lseek.c: ... here.
36012 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36014 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36015 shifting LEN more than 31 bits at once.
36017 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36020 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36021 segmentation fault for a case of two empty input strings.
36022 * string/test-strncasecmp.c (check1): Renamed to...
36023 (bz12205): ...this.
36024 (bz14195): Add new testcase for two empty input strings and N > 0.
36025 (test_main): Call new testcase, adapt for renamed function.
36027 2012-08-15 Andreas Jaeger <aj@suse.de>
36030 * crypt/md5test2.c: New test, based on test supplied by Serge
36031 Belyshev <belyshev@depni.sinp.msu.ru>.
36032 * crypt/Makefile (xtests): Add md5test-giant..
36033 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36035 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36038 * crypt/md5.c (md5_process_block): Don't assume the buffer
36039 length is less than 2**32.
36040 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36041 length is less than 2**64.
36043 2012-08-15 Roland McGrath <roland@hack.frob.com>
36045 * string/str-two-way.h: Include <sys/param.h>.
36046 (MAX): Macro removed.
36048 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36049 Move #define and #undef of memmove to just before and after
36050 including <string.h>.
36052 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36053 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36054 and after including <string.h>. Move declarations of
36055 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36056 to before #include "string/memmove.c".
36058 * include/dirent.h: Declare __getdirentries.
36060 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36061 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36063 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36065 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36066 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36067 * sysdeps/i386/configure: Regenerated.
36068 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36069 STABS_CURRENT_FILE, and STABS_FUN.
36070 (END): Remove call to STABS_FUN_END.
36071 (STABS_CURRENT_FILE1): Delete.
36072 (STABS_CURRENT_FILE): Likewise.
36073 (STABS_FUN): Likewise.
36074 (STABS_FUN_END): Likewise.
36075 (STABS_FUN2): Likewise.
36076 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36077 * sysdeps/x86_64/configure: Regenerated.
36079 2012-08-14 Roland McGrath <roland@hack.frob.com>
36081 * elf/dl-open.c: Include <atomic.h>.
36082 * elf/dl-lookup.c: Likewise.
36084 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36086 * sysdeps/unix/sysv/linux/kernel-features.h
36087 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36088 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36090 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36092 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36093 condition on __ASSUME_CLONE_THREAD_FLAGS.
36095 2012-08-14 Andreas Jaeger <aj@suse.de>
36097 * sysdeps/i386/fpu/libm-test-ulps: Update.
36099 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36101 * include/atomic.h (atomic_exchange_and_add): Split into ...
36102 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36105 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36109 2012-08-13 Jeff Law <law@redhat.com>
36111 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36112 null byte in the output string.
36114 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36116 * sysdeps/unix/sysv/linux/kernel-features.h
36117 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36118 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36119 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36120 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36121 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36122 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36123 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36125 2012-08-09 Jeff Law <law@redhat.com>
36128 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36129 When avoid_arena is set, don't retry in the that arena. Pick the
36130 next one, whatever it might be.
36131 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36132 (arena_lock): Pass in new parameter to arena_get2.
36133 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36135 (__libc_malloc): Unify retrying after main arena failure with
36136 __libc_memalign version.
36137 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36139 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36142 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36143 to __redirect_strstr.
36144 (__strstr_sse42): Use typeof __redirect_strstr.
36145 (__strstr_ia32): Likewise.
36146 (__libc_strstr): New prototype.
36147 (strstr): Renamed to ...
36148 (__libc_strstr): This.
36149 (strstr): New strong alias of __libc_strstr.
36150 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36151 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36154 (__libc_time): New prototype.
36155 (time_ifunc): Replace time with __libc_time.
36156 (time): New strong alias and hidden definition of __libc_time.
36157 (__GI_time): Remove strong alias.
36158 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36159 Include <stddef.h>.
36160 (memmove): Redefined to __redirect_memmove.
36161 (__memmove_sse2): Use typeof __redirect_memmove.
36162 (__memmove_ssse3): Likewise.
36163 (__memmove_ssse3_back): Likewise.
36164 (__libc_memmove): New prototype.
36165 (memmove): Renamed to ...
36166 (__libc_memmove): This.
36167 (memmove): New strong alias of __libc_memmove.
36169 2012-08-08 Mark Salter <msalter@redhat.com>
36172 (R_MN10300_TLS_GD): Define.
36173 (R_MN10300_TLS_LD): Likewise.
36174 (R_MN10300_TLS_LDO): Likewise.
36175 (R_MN10300_TLS_GOTIE): Likewise.
36176 (R_MN10300_TLS_IE): Likewise.
36177 (R_MN10300_TLS_LE): Likewise.
36178 (R_MN10300_TLS_DTPMOD): Likewise.
36179 (R_MN10300_TLS_DTPOFF): Likewise.
36180 (R_MN10300_TLS_TPOFF): Likewise.
36181 (R_MN10300_SYM_DIFF): Likewise.
36182 (R_MN10300_ALIGN): Likewise.
36183 (R_MN10300_NUM): Update.
36185 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36187 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36190 2012-08-08 Roland McGrath <roland@hack.frob.com>
36192 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36194 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36195 sysdeps/unix -> sysdeps/posix move.
36196 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36198 2012-08-07 Allan McRae <allan@archlinux.org>
36201 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36202 (SUNOS_CPP): Likewise.
36203 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36205 (open_input): Call CPP using execvp.
36207 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36209 * sysdeps/unix/sysv/linux/kernel-features.h
36210 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36211 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36212 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36213 (__ASSUME_WAITID_SYSCALL): Likewise.
36214 * sysdeps/unix/sysv/linux/dl-execstack.c
36215 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36216 code unconditional.
36217 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36219 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36220 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36221 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36223 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36225 [__ASSUME_WAITID_SYSCALL]: Likewise.
36226 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36228 2012-08-07 Roland McGrath <roland@hack.frob.com>
36230 * sysdeps/unix/closedir.c: Renamed to ...
36231 * sysdeps/posix/closedir.c: ... here.
36232 * sysdeps/unix/dirfd.c: Renamed to ...
36233 * sysdeps/posix/dirfd.c: ... here.
36234 * sysdeps/unix/dirstream.h: Renamed to ...
36235 * sysdeps/posix/dirstream.h: ... here.
36236 * sysdeps/unix/fdopendir.c: Renamed to ...
36237 * sysdeps/posix/fdopendir.c: ... here.
36238 * sysdeps/unix/opendir.c: Renamed to ...
36239 * sysdeps/posix/opendir.c: ... here.
36240 * sysdeps/unix/readdir.c: Renamed to ...
36241 * sysdeps/posix/readdir.c: ... here.
36242 * sysdeps/unix/readdir_r.c: Renamed to ...
36243 * sysdeps/posix/readdir_r.c: ... here.
36244 * sysdeps/unix/rewinddir.c: Renamed to ...
36245 * sysdeps/posix/rewinddir.c: ... here.
36246 * sysdeps/unix/seekdir.c: Renamed to ...
36247 * sysdeps/posix/seekdir.c: ... here.
36248 * sysdeps/unix/telldir.c: Renamed to ...
36249 * sysdeps/posix/telldir.c: ... here.
36250 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36251 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36252 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36253 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36255 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36256 * bits/fcntl.h: ... here.
36258 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36260 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36261 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36262 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36263 (struct flock): Move l_start, l_len to the beginning.
36264 Use __pid_t for l_pid.
36265 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36266 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36267 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36268 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36269 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36270 [__USE_LARGEFILE64] (struct flock64): New type.
36271 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36273 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36274 * bits/dirent.h: ... here.
36276 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36277 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36279 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36282 Change from 2.6.0 to 2.6.16.
36283 * sysdeps/unix/sysv/linux/configure: Regenerated.
36284 * sysdeps/unix/sysv/linux/kernel-features.h
36285 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36286 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36288 (__ASSUME_UTIMES): Likewise.
36289 (__ASSUME_CLONE_STOPPED): Remove.
36290 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36291 architectures, not kernel version.
36292 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36293 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36294 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36295 (__ASSUME_WAITID_SYSCALL): Likewise.
36296 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36297 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36298 * README: State 2.6.16 as minimum Linux kernel version. Do not
36299 refer to older versions.
36301 2012-08-06 Roland McGrath <roland@hack.frob.com>
36303 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36304 Define alphasort64 as an alias.
36305 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36306 Define versionsort64 as an alias.
36307 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36308 Define scandir64 as an alias.
36309 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36310 Define scandirat64 as an alias.
36311 * dirent/alphasort64.c (alphasort64):
36312 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36313 * dirent/versionsort64.c: Likewise.
36314 * dirent/scandir64.c: Likewise.
36315 * dirent/scandirat64.c: Likewise.
36316 * sysdeps/wordsize-64/alphasort.c: File removed.
36317 * sysdeps/wordsize-64/alphasort64.c: File removed.
36318 * sysdeps/wordsize-64/scandir.c: File removed.
36319 * sysdeps/wordsize-64/scandir64.c: File removed.
36320 * sysdeps/wordsize-64/scandirat.c: File removed.
36321 * sysdeps/wordsize-64/scandirat64.c: File removed.
36322 * sysdeps/wordsize-64/versionsort.c: File removed.
36323 * sysdeps/wordsize-64/versionsort64.c: File removed.
36324 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36326 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36328 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36330 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36331 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36333 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36335 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36337 [defined __arch64__ || defined __sparcv9]
36338 (__INO_T_MATCHES_INO64_T): New macro.
36339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36340 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36341 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36342 * sysdeps/unix/sysv/linux/bits/dirent.h
36343 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36344 (_DIRENT_MATCHES_DIRENT64): New macro.
36346 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36347 Define lockf64 as an alias.
36348 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36349 Define fseeko64 as an alias.
36350 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36351 Define ftello64 as an alias.
36352 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36353 Define _IO_fgetpos64 and fgetpos64 as aliases.
36354 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36355 Define _IO_fsetpos64 and fsetpos64 as aliases.
36356 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36357 Conditionalize body on this.
36358 * libio/fseeko64.c: Likewise.
36359 * libio/ftello64.c: Likewise.
36360 * libio/iofgetpos64.c: Likewise.
36361 * libio/iofsetpos64.c: Likewise.
36362 * sysdeps/wordsize-64/lockf.c: File removed.
36363 * sysdeps/wordsize-64/lockf64.c: File removed.
36364 * sysdeps/wordsize-64/fseeko.c: File removed.
36365 * sysdeps/wordsize-64/fseeko64.c: File removed.
36366 * sysdeps/wordsize-64/ftello.c: File removed.
36367 * sysdeps/wordsize-64/ftello64.c: File removed.
36368 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36369 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36370 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36371 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36372 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36373 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36375 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36377 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36379 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36380 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36381 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36383 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36385 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36387 [defined __arch64__ || defined __sparcv9]
36388 (__OFF_T_MATCHES_OFF64_T): New macro.
36389 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36390 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36392 (__OFF_T_MATCHES_OFF64_T): New macro.
36394 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36396 * stdlib/secure-getenv.c (__secure_getenv): Replace
36397 GLIBC_2_16 with GLIBC_2_17.
36399 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36401 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36402 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36404 2012-08-03 David S. Miller <davem@davemloft.net>
36406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36408 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36412 (__ASSUME_CORRECT_SI_PID): Likewise.
36413 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36414 (__ASSUME_TMPFS_NAME): Likewise.
36415 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36416 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36417 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36418 (HAVE_AUX_SECURE): Make definition unconditional.
36419 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36420 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36422 2012-08-03 Roland McGrath <roland@hack.frob.com>
36424 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36425 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36426 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36427 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36428 __eloop_threshold instead of SYMLOOP_MAX.
36430 * sysdeps/generic/eloop-threshold.h: New file.
36431 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36433 * elf/chroot_canon.c (chroot_canon): Likewise.
36435 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36438 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36439 Change to 2.6.0 everywhere.
36440 * sysdeps/unix/sysv/linux/configure: Regenerated.
36441 * sysdeps/unix/sysv/linux/kernel-features.h
36442 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36443 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36445 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36446 (__ASSUME_FUTEX_REQUEUE): Remove.
36447 (__ASSUME_STATFS64): Define unconditionally.
36448 (__ASSUME_AT_SECURE): Likewise.
36449 (__ASSUME_CORRECT_SI_PID): Likewise.
36450 (__ASSUME_TGKILL): Define without depending on kernel version for
36452 (__ASSUME_UTIMES): Likewise.
36453 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36455 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36456 (__ASSUME_TMPFS_NAME): Likewise.
36457 * README: Update reference to Linux kernel versions.
36459 2012-08-02 Marek Polacek <polacek@redhat.com>
36462 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36463 libc_cv_asm_type_prefix with %.
36464 * configure: Regenerated.
36465 * include/libc-symbols.h: Remove comment about
36466 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36467 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36468 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36469 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36470 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36471 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36472 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36473 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36474 * elf/tst-unique2mod1.c: Likewise.
36475 * elf/tst-unique1mod2.c: Likewise.
36476 * elf/tst-unique1mod1.c: Likewise.
36477 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36478 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36479 Replace ASM_TYPE_DIRECTIVE with .type.
36480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36481 * sysdeps/i386/sysdep.h: Likewise.
36482 * sysdeps/x86_64/sysdep.h: Likewise.
36483 * sysdeps/sh/sysdep.h: Likewise.
36484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36485 Do not define ASM_TYPE_DIRECTIVE.
36486 * sysdeps/powerpc/sysdep.h: Likewise.
36487 * sysdeps/powerpc/powerpc32/sysdep.h:
36488 Replace ASM_TYPE_DIRECTIVE with .type.
36489 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36490 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36491 * sysdeps/i386/fpu/e_powf.S: Likewise.
36492 * sysdeps/i386/fpu/e_expl.S: Likewise.
36493 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36494 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36495 * sysdeps/i386/fpu/e_pow.S: Likewise.
36496 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36498 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36499 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36500 * sysdeps/i386/fpu/e_log2.S: Likewise.
36501 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36502 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36503 * sysdeps/i386/fpu/e_powl.S: Likewise.
36504 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36505 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36506 * sysdeps/i386/fpu/e_logl.S: Likewise.
36507 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36508 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36509 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36510 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36511 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36512 * sysdeps/i386/fpu/e_log.S: Likewise.
36513 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36514 * sysdeps/i386/fpu/e_logf.S: Likewise.
36515 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36516 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36517 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36518 * sysdeps/i386/fpu/e_log10.S: Likewise.
36519 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36520 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36521 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36522 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36524 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36525 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36526 * sysdeps/i386/i686/strtok.S: Likewise.
36527 * sysdeps/i386/i386-mcount.S: Likewise.
36528 * sysdeps/i386/strtok.S: Likewise.
36529 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36530 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36531 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36532 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36533 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36534 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36535 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36536 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36537 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36538 * sysdeps/x86_64/_mcount.S: Likewise.
36539 * sysdeps/x86_64/strtok.S: Likewise.
36540 * sysdeps/sh/_mcount.S: Likewise.
36542 2012-08-01 Roland McGrath <roland@hack.frob.com>
36544 * libio/iofopen.c: Include <fcntl.h>.
36545 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36546 (_IO_fopen64, fopen64): Define as aliases.
36547 * libio/iofopen64.c: Include <fcntl.h>.
36548 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36549 Conditionalize body on this.
36550 * sysdeps/wordsize-64/iofopen.c: File removed.
36551 * sysdeps/wordsize-64/iofopen64.c: File removed.
36553 2012-08-01 Marek Polacek <polacek@redhat.com>
36555 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36556 Use dlfcn directly instead of a variable.
36557 (binfmt-subdir): Do not define.
36560 2012-08-01 Joseph Myers <joseph@codesourcery.com>
36562 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36563 Remove all definitions.
36564 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36565 <kernel-features.h>.
36566 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36567 (miss_F_GETOWN_EX): Remove all definitions.
36568 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36570 [!__ASSUME_FCNTL64]: Remove conditional code.
36571 [__ASSUME_FCNTL64]: Make code unconditional.
36572 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36573 <kernel-features.h>.
36574 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36575 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36576 (lockf64) [__NR_fcntl64]: Make code unconditional.
36577 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36579 * sysdeps/unix/sysv/linux/kernel-features.h
36580 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36581 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36582 Make code unconditional.
36583 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36584 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36586 [__NR_vfork]: Make code unconditional.
36587 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36588 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36590 [__NR_vfork]: Make code unconditional.
36591 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36592 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36594 2012-08-01 Roland McGrath <roland@hack.frob.com>
36596 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36597 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36599 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36600 Define mkstemp64 as an alias.
36601 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36602 Define mkstemps64 as an alias.
36603 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36604 Define mkostemp64 as an alias.
36605 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36606 Define mkostemps64 as an alias.
36607 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36608 Conditionalize body on this.
36609 * misc/mkostemp64.c: Likewise.
36610 * misc/mkostemps64.c: Likewise.
36611 * misc/mkstemps64.c: Likewise.
36612 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36613 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36614 * sysdeps/wordsize-64/mkostemp.c: File removed.
36615 * sysdeps/wordsize-64/mkstemp.c: File removed.
36616 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36617 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36618 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36619 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36622 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36623 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36624 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36625 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36627 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36628 compat_symbol macros from <shlib-compat.h> rather than the underlying
36629 default_symbol_version and symbol_version macros, so that DEFAULT
36630 lines in shlib-versions are respected.
36631 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36633 2012-08-01 Florian Weimer <fweimer@redhat.com>
36635 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36636 Declare with warn_unused_result.
36637 (setgid, setregid, setegid, setresgid): Likewise.
36638 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36640 * WUR-REPORT: Remove set*id functions.
36642 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36644 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36646 2012-07-31 Roland McGrath <roland@hack.frob.com>
36649 * include/sys/socket.h (__libc_accept, __libc_accept4):
36650 Add attribute_hidden.
36651 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36653 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36655 * inet/getnetgrent_r.c (setup): Likewise.
36657 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36659 2012-07-31 David S. Miller <davem@davemloft.net>
36661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36663 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36666 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36667 value between 1.0 and 2.0 and smaller part has absolute value less
36669 * math/s_clog10.c (__clog10): Likewise.
36670 * math/s_clog10f.c (__clog10f): Likewise.
36671 * math/s_clog10l.c (__clog10l): Likewise.
36672 * math/s_clogf.c (__clogf): Likewise.
36673 * math/s_clogl.c (__clogl): Likewise.
36674 * math/libm-test.inc (clog_test): Add more tests.
36675 (clog10_test): Likewise.
36676 * sysdeps/i386/fpu/libm-test-ulps: Update.
36677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36679 2012-07-31 Florian Weimer <fweimer@redhat.com>
36681 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36682 Exit with zero in case no suitable GID is found, and write a
36683 message to standard error.
36685 2012-07-30 Roland McGrath <roland@hack.frob.com>
36687 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36689 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36690 (MAXPATHLEN): Removed.
36691 (NOGROUP, NODEV): New macros.
36692 (setbit, clrbit, isset, isclr): New macros.
36693 (howmany, roundup, powerof2): New macros.
36694 (DEV_BSIZE): New macro.
36696 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36697 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36699 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36700 definition on [!__NO_LONG_DOUBLE_MATH].
36702 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36703 PTR_MANGLE and PTR_DEMANGLE.
36705 * socket/accept4.c (accept4): Rename to __libc_accept4.
36706 Define accept4 as a weak alias.
36708 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36709 on [_DIRENT_HAVE_D_TYPE].
36710 * io/ftw.c (ftw_dir): Likewise.
36712 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36714 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36716 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36717 Use the BSD numbers rather than the arbitrary ones we had.
36718 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36719 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36720 (SIGXCPU, SIGXFSZ): New macros.
36723 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36724 initializer on [_LIBC_REENTRANT].
36726 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36727 definitions inside [_POSIX_MAPPED_FILES].
36729 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36731 * dirent/opendir.c: Include <fcntl.h>.
36733 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36734 (__libc_getspecific): Likewise.
36735 (__libc_key_create): Likewise.
36737 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36738 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36739 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36740 (tmpfile64): Define as alias.
36741 * sysdeps/wordsize-64/tmpfile.c: File removed.
36742 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36743 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36744 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36746 * stdio-common/vfscanf.c: Include <stdbool.h>.
36747 * nss/makedb.c: Likewise.
36748 * stdio-common/_i18n_number.h: Likewise.
36749 * argp/argp-help.c: Likewise.
36750 * posix/wordexp.c: Likewise.
36751 * sysdeps/posix/spawni.c: Likewise.
36752 * nss/nss_files/files-initgroups.c: Likewise.
36753 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36754 * nss/nss_files/files-initgroups.c: Likewise.
36755 * nss/nss_db/db-netgrp.c: Likewise.
36756 * nss/nss_db/db-initgroups.c: Likewise.
36757 * io/fchmodat.c: Include <sys/stat.h>.
36759 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36760 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36762 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36765 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36766 Add multiple inclusion protection.
36768 2012-07-27 David S. Miller <davem@davemloft.net>
36770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36772 2012-07-27 Gary Benson <gbenson@redhat.com>
36775 * elf/rtld.c: Include <stap-probe.h>.
36776 (dl_main): Added static probes "init_start" and "init_complete".
36777 * elf/dl-load.c: Include <stap-probe.h>.
36778 (lose): Take new parameter "nsid".
36779 Added static probe "map_failed".
36780 (_dl_map_object_from_fd): Pass namespace id to lose.
36781 Added static probe "map_start".
36782 (open_verify): Pass namespace id to lose.
36783 * elf/dl-open.c: Include <stap-probe.h>.
36784 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36785 and "reloc_complete".
36786 * elf/dl-close.c: Include <stap-probe.h>.
36787 (_dl_close_worker): Added static probes "unmap_start" and
36789 * elf/rtld-debugger-interface.txt: New file documenting the above.
36791 2012-07-26 Roland McGrath <roland@hack.frob.com>
36793 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36794 rather than a string variable.
36795 * sunrpc/rpc_main.c (h_output): Likewise.
36796 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36798 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36800 * inet/check_native.c: New file.
36802 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36805 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36806 if larger part has absolute value 1.0.
36807 * math/s_clog10.c (__clog10): Likewise.
36808 * math/s_clog10f.c (__clog10f): Likewise.
36809 * math/s_clog10l.c (__clog10l): Likewise.
36810 * math/s_clogf.c (__clogf): Likewise.
36811 * math/s_clogl.c (__clogl): Likewise.
36812 * math/libm-test.inc (clog_test): Add more tests.
36813 (clog10_test): Likewise.
36814 * sysdeps/i386/fpu/libm-test-ulps: Update.
36815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36817 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36818 (pltexit): Likewise.
36819 (La_regs): Likewise.
36820 (La_retval): Likewise.
36821 (int_retval): Likewise.
36822 Update #error for removed macros to refer only to definitions in
36824 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36826 (pltexit): Likewise.
36827 (La_regs): Likewise.
36828 (La_retval): Likewise.
36829 (int_retval): Likewise.
36830 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36832 (pltexit): Likewise.
36833 (La_regs): Likewise.
36834 (La_retval): Likewise.
36835 (int_retval): Likewise.
36836 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36838 (pltexit): Likewise.
36839 (La_regs): Likewise.
36840 (La_retval): Likewise.
36841 (int_retval): Likewise.
36842 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36844 (pltexit): Likewise.
36845 (La_regs): Likewise.
36846 (La_retval): Likewise.
36847 (int_retval): Likewise.
36848 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36850 (pltexit): Likewise.
36851 (La_regs): Likewise.
36852 (La_retval): Likewise.
36853 (int_retval): Likewise.
36854 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36856 (pltexit): Likewise.
36857 (La_regs): Likewise.
36858 (La_retval): Likewise.
36859 (int_retval): Likewise.
36860 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36861 macro definitions in tst-audit.h.
36862 * sysdeps/i386/tst-audit.h: New file.
36863 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36864 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36865 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36866 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36867 * sysdeps/sh/tst-audit.h: Likewise.
36868 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36869 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36870 * sysdeps/x86_64/tst-audit.h: Likewise.
36872 2012-07-26 Andreas Jaeger <aj@suse.de>
36874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36877 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36878 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36879 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36881 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36882 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36883 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36885 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36888 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36890 (si_call_addr, si_syscall, si_arch): Define new macro.
36891 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36893 (si_call_addr, si_syscall, si_arch): Define new marcro.
36894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36896 (si_call_addr, si_syscall, si_arch): Define new macro.
36897 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36899 (si_call_addr, si_syscall, si_arch): Define new macro.
36901 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36905 Change to 2.4.21 where previously 2.4.1.
36906 * sysdeps/unix/sysv/linux/configure: Regenerated.
36907 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36908 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36909 Linux kernel version.
36910 (__ASSUME_STD_AUXV): Remove.
36911 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36913 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36914 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36915 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36916 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36917 (__ASSUME_NETLINK_SUPPORT): Likewise.
36918 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36919 (__no_netlink_support): Remove conditional definition.
36920 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36922 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36923 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36924 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36925 (if_nameindex_ioctl): Remove.
36926 (if_nameindex_netlink): Do not handle __no_netlink_support.
36927 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36929 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36930 Remove conditional code.
36931 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36933 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36935 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36936 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36937 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36939 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36940 [!__ASSUME_STD_AUXV]: Remove conditional code.
36941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36942 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36943 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36945 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36946 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36948 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36950 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36951 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36953 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36955 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36958 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36961 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36962 code unconditional.
36963 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36965 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36967 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36970 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36972 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36975 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36976 code unconditional.
36977 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36979 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36981 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36984 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36985 code unconditional.
36986 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36988 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36990 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36993 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36995 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36996 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36997 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36998 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36999 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37000 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37001 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37002 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37003 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37004 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37005 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37006 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37007 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37008 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37009 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37010 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37011 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37012 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37013 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37015 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37016 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37019 2012-07-25 Florian Weimer <fweimer@redhat.com>
37021 * Versions.def: Add GLIBC_2.17.
37022 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37023 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37024 Introduce __libc_secure_getenv.
37025 * stdlib/Versions (2.17): Add secure_getenv
37026 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37027 * stdlib/secure-getenv.c: Rename __secure_getenv to
37028 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37029 symbol __secure_getenv for GLIBC_2.0.
37030 * stdlib/tst-secure-getenv.c: New.
37031 * stdlib/Makefile (tests): Add testcase.
37032 * manual/startup.texi (Environment Access): Document
37034 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37035 __libc_secure_getenv.
37036 * inet/ruserpass.c (ruserpass): Likewise.
37037 * malloc/mtrace.c (mtrace): Likewise.
37038 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37039 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37040 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37041 * sysdeps/posix/tempname.c: Likewise. Evaluate
37042 HAVE_SECURE_GETENV.
37043 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37044 __secure_getenv to __libc_secure_getenv.
37045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37058 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37060 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37061 (struct La_i86_retval): Likewise.
37062 (struct La_x86_64_regs): Likewise.
37063 (struct La_x86_64_retval): Likewise.
37064 (struct La_x32_regs): Likewise.
37065 (struct La_x32_retval): Likewise.
37066 (struct La_ppc32_regs): Likewise.
37067 (struct La_ppc32_retval): Likewise.
37068 (struct La_ppc64_regs): Likewise.
37069 (struct La_ppc64_retval): Likewise.
37070 (struct La_sh_regs): Likewise.
37071 (struct La_sh_retval): Likewise.
37072 (struct La_s390_32_regs): Likewise.
37073 (struct La_s390_32_retval): Likewise.
37074 (struct La_s390_64_regs): Likewise.
37075 (struct La_s390_64_retval): Likewise.
37076 (struct La_sparc32_regs): Likewise.
37077 (struct La_sparc32_retval): Likewise.
37078 (struct La_sparc64_regs): Likewise.
37079 (struct La_sparc64_retval): Likewise.
37080 (struct audit_ifaces): Remove architecture-specific pltenter and
37082 * sysdeps/i386/ldsodefs.h: New file.
37083 * sysdeps/powerpc/ldsodefs.h: Likewise.
37084 * sysdeps/s390/ldsodefs.h: Likewise.
37085 * sysdeps/sh/ldsodefs.h: Likewise.
37086 * sysdeps/sparc/ldsodefs.h: Likewise.
37087 * sysdeps/x86_64/ldsodefs.h: Likewise.
37089 2012-07-25 Marek Polacek <polacek@redhat.com>
37092 * math/libm-test.inc (yn_test): Add another test.
37093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37094 to ERANGE when the result is +-Inf.
37095 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37096 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37097 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37098 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37100 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37102 * conform/data/time.h-data (NULL): Use macro-constant. Require
37104 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37106 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37108 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37110 * configure.in <sysdeps resolving>: Correct printing
37112 * configure: Regenerate.
37114 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37116 * math/w_ilogb.c: Include <limits.h>.
37117 * math/w_ilogbl.c: Likewise.
37119 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37121 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37122 va_copy. Document allowing for unavailable va_copy only as
37123 pre-C99 compatibility.
37124 * manual/string.texi (Copying and Concatenation): Use va_copy
37125 instead of __va_copy in concat example.
37127 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37129 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37130 (__sendto): Use create_address_port. Initialize APORT and deallocate
37133 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37134 with O_NOLINK passed to __file_name_lookup.
37136 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37137 with O_NOLINK passed to __file_name_lookup.
37139 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37140 negative N or less than NGIDS.
37142 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37143 type to string_t. Set ERANGE as errno and return it if NAME is not big
37144 enough. Use memcpy instead of strncpy.
37146 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37148 * elf/Makefile (check-data): Remove.
37149 (localplt.data): New vpath directive.
37150 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37151 instead of $(check-data).
37152 * scripts/data/localplt-generic.data: Move to ...
37153 * sysdeps/generic/localplt.data: ... here.
37154 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37155 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37156 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37159 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37162 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37165 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37168 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37171 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37175 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37177 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37178 PPC32 and PPC64 files.
37179 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37180 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37182 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37184 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37185 __makecontext_ret to ...
37186 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37187 ... here and call exit if uc_link is NULL. New file.
37188 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37189 __makecontext_ret.S.
37190 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37191 __makecontext_ret to ...
37192 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37193 ... here and call exit if uc_link is NULL. New file.
37194 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37195 __makecontext_ret.S.
37197 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37199 * elf/elf.h (R_390_IRELATIVE): New definition.
37200 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37201 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37202 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37204 (elf_machine_lazy_rel): Likewise.
37205 * sysdeps/s390/dl-irel.h: New file.
37206 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37207 * sysdeps/s390/s390-64/memset.S: New asm code.
37208 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37209 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37210 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37211 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37212 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37213 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37215 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37216 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37217 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37218 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37219 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37220 * sysdeps/s390/s390-32/memset.S: New asm code.
37221 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37223 2012-07-17 Marek Polacek <polacek@redhat.com>
37226 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37227 * sysdeps/s390/s390-64/configure.in: Likewise.
37228 * sysdeps/sparc/configure.in: Likewise.
37229 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37230 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37231 * sysdeps/i386/configure.in: Likewise.
37232 * sysdeps/x86_64/configure.in: Likewise.
37233 * sysdeps/sh/configure.in: Likewise.
37234 * sysdeps/s390/s390-32/configure: Regenerated.
37235 * sysdeps/s390/s390-64/configure: Likewise.
37236 * sysdeps/x86_64/configure: Likewise.
37237 * sysdeps/sh/configure: Likewise.
37238 * sysdeps/powerpc/powerpc64/configure: Likewise.
37239 * sysdeps/powerpc/powerpc32/configure: Likewise.
37240 * sysdeps/sparc/configure: Likwise.
37241 * sysdeps/i386/configure: Likewise.
37243 * elf/dl-open.c: Comment fixes.
37245 2012-07-17 Joseph Myers <joseph@codesourcery.com>
37247 * Makefile [CXX] (check-data): Remove.
37248 [CXX] (c++-types.data): New vpath directive.
37249 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37250 vpath. Do not allow for C++ type data being missing.
37251 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37252 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37253 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37254 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37255 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37256 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37257 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37260 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37263 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37266 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37269 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37272 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37275 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37278 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37281 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37282 definitions to architecture-specific files.
37283 (TLS_IE): Likewise.
37284 (TLS_LD): Likewise.
37285 (TLS_GD): Likewise.
37286 * sysdeps/i386/tls-macros.h: New file.
37287 * sysdeps/powerpc/tls-macros.h: Likewise.
37288 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37289 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37290 * sysdeps/sh/tls-macros.h: Likewise.
37291 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37292 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37293 * sysdeps/x86_64/tls-macros.h: Likewise.
37295 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37297 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37298 zero value for regular exit case.
37300 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37301 (__start_context): Preserve zero value for regular exit case.
37303 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37304 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37306 * manual/setjmp.texi (setcontext): Clarify normal process
37307 termination when uc_link is the null pointer.
37308 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37311 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37313 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37314 preprocessor. Test for each exception mask separately.
37316 2012-07-16 Andreas Jaeger <aj@suse.de>
37318 * po/ru.po: Update from translation team.
37320 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37322 * conform/data/string.h-data (NULL): Use macro-constant. Require
37324 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37325 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37326 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37327 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37330 2012-07-13 Andreas Jaeger <aj@suse.de>
37332 * po/fr.po: Update from translation team.
37334 2012-07-12 Marek Polacek <polacek@redhat.com>
37337 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37338 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37341 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37345 Change to 2.4.1 where previously 2.4.0.
37346 * sysdeps/unix/sysv/linux/configure: Regenerated.
37347 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37348 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37350 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37351 (__ASSUME_AT_CLKTCK): Remove.
37352 (__ASSUME_AT_PAGESIZE): Likewise.
37353 (__ASSUME_AT_XID): Likewise.
37354 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37355 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37356 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37358 (HAVE_AUX_PAGESIZE): Likewise.
37359 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37360 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37361 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37363 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37367 the temporary buffer used to invoke __gethostbyname2_r,
37368 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37369 host_data / struct gaih_addrtuple.
37370 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37371 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37372 header file nss/nsswitch.h.
37373 * nss/nsswitch.h (global scope): Add definition of implementation
37374 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37375 resolv/nss_dns/dns-host.c).
37377 2012-07-11 Andreas Jaeger <aj@suse.de>
37379 * po/fr.po: Update from translation team.
37381 * po/sv.po: Update from translation team
37382 * po/fr.po: Another update from translation team.
37384 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37386 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37387 for subnormals or multiply small sinh result by itself.
37388 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37391 2012-07-11 David S. Miller <davem@davemloft.net>
37393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37395 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37398 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37399 (INTERNAL_MARK): Shift it here.
37401 2012-07-10 Marek Polacek <polacek@redhat.com>
37404 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37405 libc_cv_asm_global_directive with .globl.
37406 * configure: Regenerated.
37407 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37409 * sysdeps/i386/configure: Regenerated.
37410 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37412 * sysdeps/x86_64/configure: Regenerated.
37413 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37414 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37415 * elf/tst-unique2mod2.c: Likewise.
37416 * elf/tst-unique2mod1.c: Likewise.
37417 * elf/tst-unique1mod2.c: Likewise.
37418 * elf/tst-unique1mod1.c: Likewise.
37419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37420 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37422 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37423 * sysdeps/mach/sysdep.h: Likewise.
37424 * sysdeps/i386/sysdep.h: Likewise.
37425 * sysdeps/i386/i386-mcount.S: Likewise.
37426 * sysdeps/x86_64/_mcount.S: Likewise.
37427 * sysdeps/x86_64/sysdep.h: Likewise.
37428 * sysdeps/sh/_mcount.S: Likewise.
37429 * sysdeps/sh/sysdep.h: Likewise.
37430 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37431 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37432 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37433 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37434 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37435 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37436 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37437 * locale/localeinfo.h: Likewise.
37438 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37439 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37441 2012-07-09 Roland McGrath <roland@hack.frob.com>
37444 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37446 * manual/message.texi (The Uniforum approach): Likewise.
37447 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37448 (glibc iconv Implementation): Likewise.
37450 2012-07-09 Joseph Myers <joseph@codesourcery.com>
37453 * math/s_clog.c (__clog): Avoid scaling a value down where that
37454 could result in underflow.
37455 * math/s_clog10.c (__clog10): Likewise.
37456 * math/s_clog10f.c (__clog10f): Likewise.
37457 * math/s_clog10l.c (__clog10l): Likewise.
37458 * math/s_clogf.c (__clogf): Likewise.
37459 * math/s_clogl.c (__clogl): Likewise.
37460 * math/libm-test.inc (clog_test): Add more tests.
37461 (clog10_test): Likewise.
37462 * sysdeps/i386/fpu/libm-test-ulps: Update.
37463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37465 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37468 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37469 by 7 not 8 to examine high bit of fractional part.
37472 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37473 for call to __mcount_internal.
37474 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37475 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37476 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37478 2012-07-06 Joseph Myers <joseph@codesourcery.com>
37481 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37482 approximation for values within 0x1p-13f of an odd multiple of
37484 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37485 exception. Add more tests.
37486 * sysdeps/i386/fpu/libm-test-ulps: Update.
37489 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37490 inputs and return -1 for them. Do not check for +Inf in case not
37491 reachable for +Inf.
37492 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37493 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37494 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37495 and return -1 for them. Do not check for +Inf in case not
37496 reachable for +Inf.
37497 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37499 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37500 and return -1 for them. Do not check for +Inf in case not
37501 reachable for +Inf.
37502 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37503 spurious underflow.
37504 * sysdeps/i386/fpu/libm-test-ulps: Update.
37505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37507 2012-07-06 Mike Frysinger <vapier@gentoo.org>
37509 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37511 2012-07-05 Joseph Myers <joseph@codesourcery.com>
37515 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37516 could result in spurious underflow. Scale down values above
37517 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37518 * math/s_csqrtf.c (__csqrtf): Likewise.
37519 * math/s_csqrtl.c (__csqrtl): Likewise.
37520 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37521 spurious underflow.
37522 * sysdeps/i386/fpu/libm-test-ulps: Update.
37523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37525 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37527 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37529 * catgets/xopen-msg.awk: New file.
37530 * catgets/xopen-msg.sed: Removed.
37532 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37534 * intl/po2test.awk: New file.
37535 * intl/po2test.sed: Removed.
37537 2012-07-04 Joseph Myers <joseph@codesourcery.com>
37540 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37541 or multiply small sinh result by itself.
37542 * math/s_ctanf.c (__ctanf): Likewise.
37543 * math/s_ctanh.c (__ctanh): Likewise.
37544 * math/s_ctanhf.c (__ctanhf): Likewise.
37545 * math/s_ctanhl.c (__ctanhl): Likewise.
37546 * math/s_ctanl.c (__ctanl): Likewise.
37547 * math/libm-test.inc (ctan_test_tonearest): New function.
37548 (ctan_test_towardzero): Likewise.
37549 (ctan_test_downward): Likewise.
37550 (ctan_test_upward): Likewise.
37551 (ctanh_test_tonearest): Likewise.
37552 (ctanh_test_towardzero): Likewise.
37553 (ctanh_test_downward): Likewise.
37554 (ctanh_test_upward): Likewise.
37555 (main): Call these new functions.
37556 * sysdeps/i386/fpu/libm-test-ulps: Update.
37557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37559 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37561 * .gitignore: Delete /ports entry.
37563 2012-07-03 Andreas Jaeger <aj@suse.de>
37565 * po/bg.po: Update from translation team.
37566 * po/cs.po: Likewise.
37567 * po/de.po: Likewise.
37568 * po/hr.po: Likewise.
37569 * po/nl.pl: Likewise.
37570 * po/pl.po: Likewise.
37571 * po/vi.po: Likewise.
37573 2012-07-03 Joseph Myers <joseph@codesourcery.com>
37575 * Makeconfig [!+link] (+link-before-libc): New variable.
37576 [!+link] (+link-after-libc): Likewise.
37577 [!+link] (+link-tests): Likewise.
37578 [!+link] (+link): Define in terms of $(+link-before-libc) and
37579 $(+link-after-libc).
37580 [!+link-static] (+link-static-before-libc): New variable.
37581 [!+link-static] (+link-static-after-libc): Likewise.
37582 [!+link-static] (+link-static-tests): Likewise.
37583 [!+link-static] (+link-static): Define in terms of
37584 $(+link-static-before-libc) and $(+link-static-after-libc).
37585 [build-shared] (link-libc-before-gnulib): New variable.
37586 [build-shared] (link-libc-tests): Likewise.
37587 [build-shared] (link-libc): Define in terms of
37588 $(link-libc-before-gnulib).
37589 [!build-shared] (link-libc-tests): New variable.
37590 (link-libc-static-tests): New variable.
37591 [!gnulib] (gnulib-arch): New variable.
37592 [!gnulib] (gnulib-tests): Likewise.
37593 [!gnulib] (static-gnulib-arch): Likewise.
37594 [!gnulib] (static-gnulib-tests): Likewise.
37595 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37596 Define with "=" instead of ":=".
37597 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37598 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37599 * Rules (binaries-all-notests): New variable.
37600 (binaries-all-tests): Likewise.
37601 (binaries-static-notests): Likewise.
37602 (binaries-static-tests): Likewise.
37603 (binaries-all): Define using $(binaries-all-notests) and
37604 $(binaries-all-tests).
37605 (binaries-static): Define using $(binaries-static-notests) and
37606 $(binaries-static-tests).
37607 (binaries-shared-tests): New variable.
37608 (binaries-shared-notests): Likewise.
37609 (binaries-shared): Remove variable.
37610 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37611 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37612 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37613 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37614 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37615 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37616 * elf/Makefile (sln-modules): New variable.
37617 (extra-objs): Add $(sln-modules:=.o).
37618 (ldconfig-modules): Add static-stubs.
37619 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37620 * elf/static-stubs.c: New file.
37623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37624 by 7 not 8 to examine high bit of fractional part. Use volatile
37625 variables when splitting into final array of floats if
37626 __FLT_EVAL_METHOD__ != 0.
37627 * math/libm-test.inc (cos_test): Add another test.
37628 (sin_test): Likewise.
37629 * sysdeps/i386/fpu/libm-test-ulps: Update.
37632 * math/libm-test.inc (cosh_test): Add more tests.
37634 * version.h (RELEASE): Set to "development".
37635 (VERSION): Set to "2.16.90".
37637 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37639 * NEWS: Update copyright. Remove last-updated date.
37640 Mention math library bug fixes and timezone data changes.
37641 * README: Mention GNU/Hurd, x32, and HPPA support status.
37643 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37645 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37647 2012-06-27 Andreas Jaeger <aj@suse.de>
37649 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37651 2012-06-25 Andreas Jaeger <aj@suse.de>
37653 * sysdeps/s390/fpu/libm-test-ulps: Update.
37655 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37656 Thomas Schwinge <thomas@codesourcery.com>
37658 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37659 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37663 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37665 * sysdeps/mach/start.c: Remove file.
37666 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37667 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37668 * sysdeps/sh/init-first.c: Likewise.
37670 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37671 registers for frame unwinding purposes, add CFI directives.
37672 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37673 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37674 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37677 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37678 __fortify_fail returning.
37679 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37681 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37682 sysdeps/sh/____longjmp_chk.S.
37683 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37684 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37685 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37686 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37688 * sysdeps/sh/abort-instr.h: New file.
37689 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37690 process in case exit returns.
37692 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37693 initialize the GOT register before use.
37695 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37696 calculation of ARGC > 4.
37698 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37699 meaningful names to some local labels.
37701 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37702 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37704 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37705 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37706 (__arch_compare_and_exchange_val_16_acq): Likewise.
37707 (__arch_compare_and_exchange_val_32_acq): Likewise.
37708 (atomic_exchange_and_add): Fix gUSA sequence.
37709 (atomic_add): Likewise.
37710 (atomic_add_negative): Likewise.
37711 (atomic_add_zero): Likewise.
37712 (atomic_bit_test_set): Likewise.
37714 2012-06-22 Andreas Schwab <schwab@redhat.com>
37717 * include/link.h (struct link_map): Add l_free_initfini.
37718 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37720 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37721 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37722 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37725 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37727 * configure.in: Use AC_LANG_SOURCE.
37728 * configure: Regenerate.
37730 2012-06-22 Roland McGrath <roland@hack.frob.com>
37732 * configure.in (libc_cv_localstatedir): New substituted variable.
37733 * configure: Regenerated.
37734 * config.make.in (localstatedir): New variable, substituted from
37735 libc_cv_localstatedir.
37736 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37737 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37738 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37739 * sysdeps/gnu/configure: Regenerated.
37741 2012-06-21 Jeff Law <law@redhat.com>
37744 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37745 free. Simplify list management for _LIBC case.
37747 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37750 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37751 Clear sign bit of 64-bit integer value before comparing against
37754 * sysdeps/mach/configure: Regenerated.
37756 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37759 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37761 2012-06-21 Jeff Law <law@redhat.com>
37764 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37765 uint16_t for elements in the "seen" array to avoid char overflows.
37766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37767 * elf/dl-open.c (dl_open_worker): Likewise.
37769 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37771 * scripts/list-sources.sh: Scan PORTS for translations.
37772 * po/libc.pot: Regenerated.
37774 2012-06-21 Andreas Jaeger <aj@suse.de>
37777 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37779 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37780 * bits/byteswap-16.h (__bswap_16): Likewise.
37781 * bits/byteswap.h (__bswap_constant_16): Likewise.
37783 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37786 * sysdeps/i386/fpu_control.h: Removed.
37787 * sysdeps/x86_64/fpu_control.h: Moved to ...
37788 * sysdeps/x86/fpu_control.h: Here.
37790 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37791 (_FPU_SETCW): Likewise.
37793 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37796 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37797 * sysdeps/x86/fpu/bits/mathinline.h: This.
37798 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37802 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37803 functions if __x86_64__ is defined.
37805 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37807 * string/endian.h: Add !__ASSEMBLER__ condition for including
37808 conversion interfaces.
37810 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37814 of ABS(x) in calculating zero to negative powers other than odd
37816 * math/libm-test.inc (pow_test): Add more tests.
37818 2012-06-15 Andreas Jaeger <aj@suse.de>
37820 * manual/contrib.texi (Contributors): Update entry of Liubov
37821 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37824 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37826 * string/string.h: Add __wur to GNU version of strerror_r.
37828 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37831 * string/Makefile (tests): Add tst-strtok_r.
37832 * string/tst-strtok_r.c: New file.
37833 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37834 RAX_LP/RDX_LP on SAVE_PTR.
37836 2012-06-14 Roland McGrath <roland@hack.frob.com>
37838 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37840 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37842 * libm_test.inc (csqrt_test): Allow more spurious underflow
37844 (j0_test): Likewise.
37845 (j1_test): Likewise.
37846 (y0_test): Likewise.
37847 (y1_test): Likewise.
37849 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37851 * po/Makefile (libc.pot): Use UTF-8 charset.
37853 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37856 Suppress sign-conversion warning from FD_SET.
37857 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37858 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37859 not unsigned long int.
37860 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37862 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37866 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37867 __extern_always_inline instead of __extern_inline.
37868 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37869 (__signbit): Likewise.
37870 (__signbitl): Support C++ namespace.
37871 (lrintf): New inline function.
37873 (llrintf): Likewise.
37874 (llrint): Likewise.
37884 (floorf): Likewise.
37885 (nearbyint): Likewise.
37886 (nearbyintf): Likewise.
37888 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37891 non-default versions.
37893 2012-06-11 Roland McGrath <roland@hack.frob.com>
37896 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37898 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37900 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37901 (FE_UPWARD, FE_DOWNWARD): Don't define.
37902 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37903 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37905 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37907 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37908 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37910 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37912 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37914 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37915 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37917 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37920 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37921 * sysdeps/i386/fpu/Implies: New file.
37922 * sysdeps/x86_64/fpu/Implies: Likewise.
37923 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37924 * sysdeps/x86/fpu/bits/fenv.h: This.
37926 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37929 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37932 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37933 character 0xffff that matches the last element of the
37936 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37938 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37941 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37944 values higher than 25.6283.
37946 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37948 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37949 subnormal exponent extraction and add some __builtin_expect.
37950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37951 Fix for subnormal mantissa calculation.
37953 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37955 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37956 cpu2 is -1 and errno is not ENOSYS.
37958 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37961 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37962 * sysdeps/x86/bits/string.h: This.
37963 * sysdeps/x86_64/bits/string.h: Removed.
37965 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37966 if not compiling for x86-64, but compiling for >= i486.
37968 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37969 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37971 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37972 New macro from Linux kernel 3.4.0.
37973 (FP_XSTATE_MAGIC2): Likewise.
37974 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37975 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37976 (struct _fpx_sw_bytes): New struct.
37977 (struct _xsave_hdr): Likewise.
37978 (struct _ymmh_state): Likewise.
37979 (struct _xstate): Likewise.
37981 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37982 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37983 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37984 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37985 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37986 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37988 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37989 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37990 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37991 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37992 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37993 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37995 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37998 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37999 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38000 (sysdep_headers): Include sys/platform/ppc.h.
38001 * sysdeps/powerpc/test-gettimebase.c: Test for
38002 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38003 * manual/Makefile (appendices): Include platform.texi.
38004 * manual/contrib.texi (Contributors): Update @node pointers.
38005 * manual/maint.texi (Maintenance): Likewise.
38006 (Platform): New node.
38007 * manual/platform.texi: New file. Document the new features.
38009 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38010 Jakub Jelinek <jakub@redhat.com>
38013 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38014 where __builtin_expect is unavailable.
38016 2012-06-03 David S. Miller <davem@davemloft.net>
38018 * stdlib/longlong.h: Updated from GCC.
38020 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38023 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38024 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38027 (GLIBC_2.16): Likewise.
38029 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38033 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38036 (default-abi): New variable.
38037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38038 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38040 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38042 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38044 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38047 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38048 definition. Document in comment.
38050 2012-06-01 David S. Miller <davem@davemloft.net>
38052 * stdlib/longlong.h: Updated from GCC.
38054 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38057 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38058 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38059 sys/debugreg.h sys/io.h here.
38060 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38061 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38063 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38064 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38065 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38066 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38067 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38068 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38071 Define only if __x86_64__ is defined.
38073 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38077 Use int64_t for variable i.
38078 * math/libm-test.inc (fmod_test): Add more tests.
38080 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38081 z computation is not scheduled after fetestexcept.
38082 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38083 Use math_force_eval instead of asm to ensure calculation scheduled
38084 before exception test.
38085 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38086 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38088 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38091 computation is not scheduled after fetestexcept.
38093 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38096 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38097 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38099 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38101 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38104 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38107 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38109 (__WCHAR_MIN): Support __WORDSIZE == 64.
38110 (__WCHAR_MAX): Likewise.
38112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38113 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38116 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38117 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38120 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38121 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38123 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38124 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38126 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38127 Defined to 1 if __x86_64__ isn't defined.
38128 (_STAT_VER_LINUX_OLD): New.
38129 (st_atime): Remove duplicate.
38130 (st_mtime): Likewise.
38131 (st_ctime): Likewise.
38133 2012-05-31 David S. Miller <davem@davemloft.net>
38135 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38138 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38140 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38144 * elf/dl-reloc.c: Include <_itoa.h>.
38145 (_dl_reloc_bad_type): Remove use of INTUSE.
38146 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38147 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38148 * stdio-common/psiginfo.c (psiginfo): Likewise.
38149 * stdio-common/psignal.c (psignal): Likewise.
38150 * string/strsignal.c (strsignal): Likewise.
38151 * include/signal.h (_sys_siglist): Declare hidden proto.
38152 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38153 INTVARDEF with libc_hidden_data_def.
38154 * stdio-common/itoa-udigits.c: Likewise.
38155 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38156 (_itoa_lower_digits_internal): Remove declaration.
38157 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38158 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38159 (_sys_sigabbrev_internal): Remove aliases.
38160 (_sys_siglist): Define hidden alias.
38162 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38167 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38170 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38171 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38173 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38174 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38175 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38176 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38177 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38178 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38180 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38181 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38182 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38184 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38192 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38193 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38194 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38196 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38197 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38199 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38200 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38201 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38203 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38204 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38206 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38207 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38211 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38213 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38214 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38216 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38218 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38219 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38220 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38222 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38224 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38226 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38228 * math/math.h (M_El): Use two more decimal places.
38229 (M_LOG2El): Likewise.
38230 (M_LOG10El): Likewise.
38231 (M_LN2l): Likewise.
38232 (M_LN10l): Likewise.
38234 (M_PI_2l): Likewise.
38235 (M_PI_4l): Likewise.
38236 (M_1_PIl): Likewise.
38237 (M_2_PIl): Likewise.
38238 (M_2_SQRTPIl): Likewise.
38239 (M_SQRT2l): Likewise.
38240 (M_SQRT1_2l): Likewise.
38242 2012-05-31 David S. Miller <davem@davemloft.net>
38244 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38245 values between float registers.
38246 * sysdeps/sparc/sparc64/memset.S: Likewise.
38247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38249 2012-05-31 Mike Frysinger <vapier@gentoo.org>
38251 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38252 -D_FORTIFY_SOURCE=1.
38253 (CPPFLAGS-tst-longjmp_chk.c): Define.
38254 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38255 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38256 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38257 CFLAGS-tst-wchar-h.c.
38259 2012-05-31 Marek Polacek <polacek@redhat.com>
38262 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38263 __endmntent_internal): Remove declaration.
38264 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38265 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38266 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38268 2012-05-30 David S. Miller <davem@davemloft.net>
38270 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38271 (___Q_simulate_exceptions): Use real FP ops rather than writing
38273 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38276 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38279 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38280 * sysdeps/x86/bits/xtitypes.h: This.
38282 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38283 * sysdeps/x86/bits/wordsize.h: This.
38285 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38286 * sysdeps/x86/bits/huge_vall.h: This.
38288 * sysdeps/i386/bits/select.h: Removed.
38289 * sysdeps/x86_64/bits/select.h: Renamed to ...
38290 * sysdeps/x86/bits/select.h: This.
38292 * sysdeps/i386/bits/setjmp.h: Removed.
38293 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38294 * sysdeps/x86/bits/setjmp.h: This.
38296 * sysdeps/i386/bits/mathdef.h: Removed.
38297 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38298 * sysdeps/x86/bits/mathdef.h: This.
38300 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38303 * include/sys/socket.h (__connect_internal)
38304 (__libc_sa_len_internal): Remove declaration.
38305 (__connect, __libc_sa_len): Declare hidden_proto.
38306 (SA_LEN): Remove use of INTUSE.
38307 * socket/connect.c: Add libc_hidden_def.
38308 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38309 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38310 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38312 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38313 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38314 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38315 of adding _internal alias.
38317 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38320 * sysdeps/i386/bits/link.h: Removed.
38321 * sysdeps/i386/bits/linkmap.h: Likewise.
38322 * sysdeps/x86_64/bits/link.h: Renamed to ...
38323 * sysdeps/x86/bits/link.h: This.
38324 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38325 * sysdeps/x86/bits/linkmap.h: This.
38327 * sysdeps/i386/bits/endian.h: Removed.
38328 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38329 * sysdeps/x86/bits/endian.h: This.
38331 * sysdeps/i386/bits/byteswap.h: Removed.
38332 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38333 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38334 * sysdeps/x86/bits/byteswap.h: This.
38335 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38336 * sysdeps/x86/bits/byteswap-16.h: This.
38337 * sysdeps/i386/Implies: Add x86.
38338 * sysdeps/x86_64/Implies: Likewise.
38340 2012-05-30 David S. Miller <davem@davemloft.net>
38342 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38343 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38344 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38345 (FP_TRAPPING_EXCEPTIONS): Define.
38346 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38347 (FP_TRAPPING_EXCEPTIONS): Define.
38348 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38349 subnormals only when inexact has been signalled or underflow
38350 exceptions are enabled.
38351 (_FP_PACK_CANONICAL): Likewise.
38353 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38357 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38359 2012-05-30 Richard Henderson <rth@twiddle.net>
38361 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38362 with #ifndef NOT_IN_libc.
38364 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38365 marked to avoid plt entry.
38367 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38370 * Makeconfig (default-abi): New macro.
38371 (abi-includes): Likewise.
38372 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38373 $(abi-$(default-abi)-lib-soname) for soname if defined.
38374 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38376 * Makefile (installed-stubs): Likewise.
38377 * include/stubs-biarch.h: Removed.
38378 * scripts/lib-names.awk: Only handle one library at a time.
38379 * scripts/soversions.awk: Remove WORDSIZE support.
38380 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38382 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38384 (syscall-list-default-condition): Likewise.
38385 (syscall-list-default-condition): Likewise.
38386 (syscall-list-includes): Likewise.
38387 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38388 syscall-list-* with abi-*. Handle undefined abi-variants.
38389 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38390 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38391 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38392 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38393 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38394 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38396 (syscall-list-32-options): Likewise.
38397 (syscall-list-32-condition): Likewise.
38398 (syscall-list-64-options): Likewise.
38399 (syscall-list-64-condition): Likewise.
38400 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38402 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38405 (abi-64-ld-soname): New macro.
38406 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38407 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38410 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38411 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38413 2012-05-30 Joseph Myers <joseph@codesourcery.com>
38415 * sysdeps/unix/sysv/linux/kernel-features.h
38416 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38417 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38418 include <kernel-features.h>.
38419 [!__NR_ftruncate64]: Remove conditional code.
38420 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38421 [__NR_ftruncate64]: Make code unconditional.
38422 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38423 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38424 include <kernel-features.h>.
38425 [!__NR_ftruncate64]: Remove conditional code.
38426 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38427 [__NR_ftruncate64]: Make code unconditional.
38428 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38430 include <kernel-features.h>.
38431 [!__NR_ftruncate64]: Remove conditional code.
38432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38433 [__NR_ftruncate64]: Make code unconditional.
38434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38436 include <kernel-features.h>.
38437 [!__NR_ftruncate64]: Remove conditional code.
38438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38439 [__NR_ftruncate64]: Make code unconditional.
38440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38442 * configure.in (libc_cv_fpie): Weaken to a compile test using
38443 LIBC_TRY_CC_OPTION.
38444 * configure: Regenerated.
38446 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38461 2012-05-27 David S. Miller <davem@davemloft.net>
38463 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38465 (__Q_simulate_exceptions): Return void. Change to simulate
38466 exceptions by writing into the %fsr.
38467 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38468 (__Qp_handle_exceptions): Likewise.
38470 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38471 __Qp_handle_exceptions.
38472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38473 __Qp_handle_exceptions.
38474 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38475 as unused and give dummy FP_RND_NEAREST initializer.
38476 (FP_INHIBIT_RESULTS): Define.
38477 (___Q_simulate_exceptions): Update declaration.
38478 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38481 as unused and give dummy FP_RND_NEAREST initializer.
38482 (__Qp_handle_exceptions): Update declaration.
38483 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38486 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38488 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38489 the temporary FPU control word.
38490 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38491 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38492 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38493 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38494 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38495 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38496 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38497 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38498 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38499 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38500 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38502 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38504 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38507 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38509 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38510 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38511 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38512 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38514 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38515 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38518 2012-05-27 Ulrich Drepper <drepper@gmail.com>
38520 * po/h.po: Update from translation team.
38522 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38524 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38526 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38527 handling of denormals.
38528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38529 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38530 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38531 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38537 2012-05-26 Marek Polacek <polacek@redhat.com>
38540 * math/libm-test.inc (fma_test): Don't always expect underflow
38543 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38546 * elf/tst-execstack.c: Include stackinfo.h.
38547 (do_test): Adjust test case to ensure that pthread_getattr_np
38548 behaviour remains the same after marking stack executable.
38550 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38552 * sysdeps/unix/sysv/linux/kernel-features.h
38553 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38554 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38556 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38557 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38558 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38560 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38561 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38563 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38565 * configure.in: Define the default includes to being none.
38566 * configure: Regenerated.
38568 2012-05-25 Roland McGrath <roland@hack.frob.com>
38570 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38571 * sysdeps/x86_64/setjmp.S: Likewise.
38572 * sysdeps/i386/bsd-setjmp.S: Likewise.
38573 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38574 * sysdeps/i386/setjmp.S: Likewise.
38575 * sysdeps/i386/__longjmp.S: Likewise.
38576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38577 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38579 * include/stap-probe.h: New file.
38580 * configure.in: Handle --enable-systemtap.
38581 * configure: Regenerated.
38582 * config.h.in (USE_STAP_PROBE): New #undef.
38583 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38584 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38585 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38587 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38591 to 2.4.0 where earlier.
38592 * sysdeps/unix/sysv/linux/configure: Regenerated.
38593 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38594 <kernel-features.h>.
38595 [__ASSUME_32BITUIDS]: Make code unconditional.
38596 [!__ASSUME_32BITUIDS]: Remove conditional code.
38597 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38598 <kernel-features.h>.
38599 [__ASSUME_32BITUIDS]: Make code unconditional.
38600 [!__ASSUME_32BITUIDS]: Remove conditional code.
38601 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38602 [__ASSUME_32BITUIDS]: Make code unconditional.
38603 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38604 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38605 <kernel-features.h>.
38606 [__ASSUME_32BITUIDS]: Make code unconditional.
38607 [!__ASSUME_32BITUIDS]: Remove conditional code.
38608 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38609 <kernel-features.h>.
38610 [__ASSUME_32BITUIDS]: Make code unconditional.
38611 [!__ASSUME_32BITUIDS]: Remove conditional code.
38612 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38613 <kernel-features.h>.
38614 [__ASSUME_32BITUIDS]: Make code unconditional.
38615 [!__ASSUME_32BITUIDS]: Remove conditional code.
38616 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38617 <kernel-features.h>.
38618 [__ASSUME_32BITUIDS]: Make code unconditional.
38619 [!__ASSUME_32BITUIDS]: Remove conditional code.
38620 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38621 <kernel-features.h>.
38622 [__ASSUME_32BITUIDS]: Make code unconditional.
38623 [!__ASSUME_32BITUIDS]: Remove conditional code.
38624 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38625 <kernel-features.h>.
38626 [__ASSUME_32BITUIDS]: Make code unconditional.
38627 [!__ASSUME_32BITUIDS]: Remove conditional code.
38628 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38629 <kernel-features.h>.
38630 [__ASSUME_32BITUIDS]: Make code unconditional.
38631 [!__ASSUME_32BITUIDS]: Remove conditional code.
38632 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38633 <kernel-features.h>.
38634 [__ASSUME_32BITUIDS]: Make code unconditional.
38635 [!__ASSUME_32BITUIDS]: Remove conditional code.
38636 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38637 <kernel-features.h>.
38638 [__ASSUME_32BITUIDS]: Make code unconditional.
38639 [!__ASSUME_32BITUIDS]: Remove conditional code.
38640 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38641 <kernel-features.h>.
38642 [__ASSUME_32BITUIDS]: Make code unconditional.
38643 [!__ASSUME_32BITUIDS]: Remove conditional code.
38644 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38645 <kernel-features.h>.
38646 [__NR_setresgid] (__setresgid): Do not declare.
38647 [__ASSUME_32BITUIDS]: Make code unconditional.
38648 [!__ASSUME_32BITUIDS]: Remove conditional code.
38649 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38650 <kernel-features.h>.
38651 [__NR_setresuid] (__setresuid): Do not declare.
38652 [__ASSUME_32BITUIDS]: Make code unconditional.
38653 [!__ASSUME_32BITUIDS]: Remove conditional code.
38654 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38655 <kernel-features.h>.
38656 [__ASSUME_32BITUIDS]: Make code unconditional.
38657 [!__ASSUME_32BITUIDS]: Remove conditional code.
38658 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38659 <kernel-features.h>.
38660 [__ASSUME_32BITUIDS]: Make code unconditional.
38661 [!__ASSUME_32BITUIDS]: Remove conditional code.
38662 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38663 <kernel-features.h>.
38664 [__ASSUME_32BITUIDS]: Make code unconditional.
38665 [!__ASSUME_32BITUIDS]: Remove conditional code.
38666 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38667 <kernel-features.h>.
38668 [__ASSUME_32BITUIDS]: Make code unconditional.
38669 [!__ASSUME_32BITUIDS]: Remove conditional code.
38670 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38671 <kernel-features.h>.
38672 [__ASSUME_32BITUIDS]: Make code unconditional.
38673 [!__ASSUME_32BITUIDS]: Remove conditional code.
38674 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38675 <kernel-features.h>.
38676 [__ASSUME_32BITUIDS]: Make code unconditional.
38677 [!__ASSUME_32BITUIDS]: Remove conditional code.
38678 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38679 <kernel-features.h>.
38680 [__ASSUME_32BITUIDS]: Make code unconditional.
38681 [!__ASSUME_32BITUIDS]: Remove conditional code.
38682 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38683 <kernel-features.h>.
38684 [__ASSUME_32BITUIDS]: Make code unconditional.
38685 [!__ASSUME_32BITUIDS]: Remove conditional code.
38686 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38687 <kernel-features.h>.
38688 [__ASSUME_32BITUIDS]: Make code unconditional.
38689 [!__ASSUME_32BITUIDS]: Remove conditional code.
38690 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38691 <kernel-features.h>.
38692 [__ASSUME_32BITUIDS]: Make code unconditional.
38693 [!__ASSUME_32BITUIDS]: Remove conditional code.
38694 * sysdeps/unix/sysv/linux/kernel-features.h
38695 (__ASSUME_SETRESUID_SYSCALL): Remove.
38696 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38697 (__ASSUME_32BITUIDS): Likewise.
38698 (__ASSUME_LDT_WORKS): Likewise.
38699 (__ASSUME_O_DIRECTORY): Likewise.
38700 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38701 architecture but not kernel version.
38702 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38703 (__ASSUME_MMAP2_SYSCALL): Likewise.
38704 (__ASSUME_STAT64_SYSCALL): Likewise.
38705 (__ASSUME_IPC64): Likewise.
38706 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38707 <kernel-features.h>.
38708 [__ASSUME_32BITUIDS]: Make code unconditional.
38709 [!__ASSUME_32BITUIDS]: Remove conditional code.
38710 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38711 <kernel-features.h>.
38712 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38713 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38714 132096]: Remove conditional code.
38715 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38716 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38717 <kernel-features.h>.
38718 [__ASSUME_32BITUIDS]: Make code unconditional.
38719 [!__ASSUME_32BITUIDS]: Remove conditional code.
38720 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38721 <kernel-features.h>.
38722 [__ASSUME_32BITUIDS]: Make code unconditional.
38723 [!__ASSUME_32BITUIDS]: Remove conditional code.
38724 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38725 <kernel-features.h>.
38726 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38728 (__setresgid): Do not declare.
38729 [__ASSUME_32BITUIDS]: Make code unconditional.
38730 [!__ASSUME_32BITUIDS]: Remove conditional code.
38731 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38732 <kernel-features.h>.
38733 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38735 (__setresuid): Do not declare.
38736 [__ASSUME_32BITUIDS]: Make code unconditional.
38737 [!__ASSUME_32BITUIDS]: Remove conditional code.
38738 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38739 <kernel-features.h>.
38740 [__ASSUME_32BITUIDS]: Make code unconditional.
38741 [!__ASSUME_32BITUIDS]: Remove conditional code.
38742 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38743 <kernel-features.h>.
38744 [__ASSUME_32BITUIDS]: Make code unconditional.
38745 [!__ASSUME_32BITUIDS]: Remove conditional code.
38747 2012-05-25 Richard Henderson <rth@twiddle.net>
38749 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38750 dl_hwcap to ifunc resolver.
38751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38753 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38754 dl_hwcap to ifunc resolver.
38755 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38757 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38760 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38761 for |x| <= 2**-26, not 2**-57.
38762 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38765 2012-05-24 Jeff Law <law@redhat.com>
38767 * stdio-common/Makefile (tests): Add bug25.
38768 * stdio-common/bug25.c: New test.
38770 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38773 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38774 multiple of MALLOC_ALIGNMENT in size.
38775 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38777 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38779 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38781 (FILENAME_MAX): Use macro-int-constant.
38782 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38783 (_IOFBF): Use macro-int-constant.
38784 (_IOLBF): Likewise.
38785 (_IONBF): Likewise.
38786 (SEEK_CUR): Likewise.
38787 (SEEK_END): Likewise.
38788 (SEEK_SET): Likewise.
38789 (TMP_MAX): Likewise.
38790 (EOF): Use macro-int-constant. Require < 0.
38791 (NULL): Use macro-constant. Require == 0.
38792 (stdin): Require type to be FILE *.
38793 (stdout): Likewise.
38794 (stderr): Likewise.
38795 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38796 macro-int-constant.
38797 (EXIT_SUCCESS): Likewise.
38798 (NULL): Use macro-constant. Require == 0.
38799 (RAND_MAX): Use macro-int-constant.
38800 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38801 [C99-based standards] (strtof): Require function.
38802 [C99-based standards] (strtold): Likewise.
38803 [C99-based standards] (strtoll): Likewise.
38804 [C99-based standards] (strtoull): Likewise.
38805 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38806 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38807 [ISO || ISO99 || ISO11] (math.h): Likewise.
38808 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38809 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38812 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38815 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38816 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38817 * intl/dgettext.c (DCGETTEXT): Likewise.
38818 * intl/gettext.c (DCGETTEXT): Likewise.
38819 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38820 * posix/regex_internal.h (gettext): Likewise.
38821 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38822 Remove declaration.
38823 * include/argz.h (__argz_count_internal)
38824 (__argz_stringify_internal): Remove declaration.
38825 (__argz_count, __argz_stringify): Declare hidden proto.
38826 * intl/dcgettext.c: Remove use of INTDEF.
38827 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38828 * string/argz-stringify.c: Likewise.
38829 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38830 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38831 Declare hidden proto.
38832 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38833 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38834 Declare hidden proto.
38835 * include/stdio.h (__asprintf_internal): Don't declare.
38836 (__asprintf): Don't define as macro. Declare hidden proto.
38837 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38838 (__fsetlocking): Declare hidden proto.
38839 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38840 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38842 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38843 (_IO_setlinebuf): Remove use of INTUSE.
38844 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38845 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38846 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38847 Remove declaration.
38848 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38849 (_IO_do_flush): Remove use of INTUSE.
38850 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38851 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38852 (_IO_adjust_column, _IO_least_wmarker)
38853 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38854 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38855 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38856 (_IO_default_doallocate, _IO_wdefault_doallocate)
38857 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38858 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38859 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38860 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38861 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38862 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38863 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38864 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38865 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38866 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38867 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38868 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38869 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38871 (_IO_flush_all_internal, _IO_adjust_column_internal)
38872 (_IO_default_uflow_internal, _IO_default_finish_internal)
38873 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38874 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38875 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38876 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38877 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38878 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38879 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38880 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38881 (_IO_file_close_internal, _IO_file_close_it_internal)
38882 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38883 (_IO_file_init_internal, _IO_file_attach_internal)
38884 (_IO_file_fopen_internal, _IO_file_read_internal)
38885 (_IO_file_sync_internal, _IO_file_seek_internal)
38886 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38887 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38888 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38889 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38890 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38891 (_IO_list_all_internal, _IO_link_in_internal)
38892 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38893 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38894 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38895 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38896 (_IO_do_write_internal, _IO_padn_internal)
38897 (_IO_getline_info_internal, _IO_getline_internal)
38898 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38899 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38900 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38901 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38902 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38903 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38904 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38905 with libc_hidden_ver, remove use of INTUSE.
38906 * libio/genops.c: Likewise.
38907 * libio/freopen.c: Likewise.
38908 * libio/freopen64.c: Likewise.
38909 * libio/iofclose.c: Likewise.
38910 * libio/iofdopen.c: Likewise.
38911 * libio/iofflush.c: Likewise.
38912 * libio/iofflush_u.c: Likewise.
38913 * libio/iofgets.c: Likewise.
38914 * libio/iofgets_u.c: Likewise.
38915 * libio/iofopen.c: Likewise.
38916 * libio/iofopncook.c: Likewise.
38917 * libio/iofread.c: Likewise.
38918 * libio/iofread_u.c: Likewise.
38919 * libio/ioftell.c: Likewise.
38920 * libio/iofwrite.c: Likewise.
38921 * libio/iogetline.c: Likewise.
38922 * libio/iogets.c: Likewise.
38923 * libio/iogetwline.c: Likewise.
38924 * libio/iopadn.c: Likewise.
38925 * libio/iopopen.c: Likewise.
38926 * libio/ioseekoff.c: Likewise.
38927 * libio/ioseekpos.c: Likewise.
38928 * libio/iosetbuffer.c: Likewise.
38929 * libio/iosetvbuf.c: Likewise.
38930 * libio/ioungetc.c: Likewise.
38931 * libio/ioungetwc.c: Likewise.
38932 * libio/iovdprintf.c: Likewise.
38933 * libio/iovsprintf.c: Likewise.
38934 * libio/iovsscanf.c: Likewise.
38935 * libio/memstream.c: Likewise.
38936 * libio/obprintf.c: Likewise.
38937 * libio/oldfileops.c: Likewise.
38938 * libio/oldiofclose.c: Likewise.
38939 * libio/oldiofdopen.c: Likewise.
38940 * libio/oldiofopen.c: Likewise.
38941 * libio/oldiopopen.c: Likewise.
38942 * libio/oldstdfiles.c: Likewise.
38943 * libio/putc.c: Likewise.
38944 * libio/setbuf.c: Likewise.
38945 * libio/setlinebuf.c: Likewise.
38946 * libio/stdfiles.c: Likewise.
38947 * libio/strops.c: Likewise.
38948 * libio/vasprintf.c: Likewise.
38949 * libio/vscanf.c: Likewise.
38950 * libio/vsnprintf.c: Likewise.
38951 * libio/vswprintf.c: Likewise.
38952 * libio/wfiledoalloc.c: Likewise.
38953 * libio/wfileops.c: Likewise.
38954 * libio/wgenops.c: Likewise.
38955 * libio/wmemstream.c: Likewise.
38956 * libio/wstrops.c: Likewise.
38957 * libio/__fpurge.c: Likewise.
38958 * libio/__fsetlocking.c: Likewise.
38959 * assert/assert.c: Likewise.
38960 * debug/fgets_chk.c: Likewise.
38961 * debug/fgets_u_chk.c: Likewise.
38962 * debug/fread_chk.c: Likewise.
38963 * debug/fread_u_chk.c: Likewise.
38964 * debug/gets_chk.c: Likewise.
38965 * debug/obprintf_chk.c: Likewise.
38966 * debug/vasprintf_chk.c: Likewise.
38967 * debug/vdprintf_chk.c: Likewise.
38968 * debug/vsnprintf_chk.c: Likewise.
38969 * debug/vsprintf_chk.c: Likewise.
38970 * malloc/mtrace.c: Likewise.
38971 * misc/error.c: Likewise.
38972 * misc/syslog.c: Likewise.
38973 * stdio-common/asprintf.c: Likewise.
38974 * stdio-common/fxprintf.c: Likewise.
38975 * stdio-common/getw.c: Likewise.
38976 * stdio-common/isoc99_fscanf.c: Likewise.
38977 * stdio-common/isoc99_scanf.c: Likewise.
38978 * stdio-common/isoc99_vfscanf.c: Likewise.
38979 * stdio-common/isoc99_vscanf.c: Likewise.
38980 * stdio-common/isoc99_vsscanf.c: Likewise.
38981 * stdio-common/printf-prs.c: Likewise.
38982 * stdio-common/printf_fp.c: Likewise.
38983 * stdio-common/printf_fphex.c: Likewise.
38984 * stdio-common/printf_size.c: Likewise.
38985 * stdio-common/putw.c: Likewise.
38986 * stdio-common/scanf.c: Likewise.
38987 * stdio-common/sprintf.c: Likewise.
38988 * stdio-common/tmpfile.c: Likewise.
38989 * stdio-common/vfprintf.c: Likewise.
38990 * stdio-common/vfscanf.c: Likewise.
38991 * stdlib/strfmon_l.c: Likewise.
38992 * sunrpc/openchild.c: Likewise.
38993 * sunrpc/xdr_stdio.c: Likewise.
38994 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38995 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38997 2012-05-24 Roland McGrath <roland@hack.frob.com>
38999 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39001 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39002 in the third column, to generate for the shared library an IFUNC
39003 that uses _dl_vdso_vsym.
39004 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39005 * Makeconfig (object-suffixes-noshared): New variable.
39007 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39008 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39009 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39010 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39013 * include/sys/time.h (__gettimeofday): Remove macro.
39014 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39015 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39017 (__gettimeofday): Add libc_hidden_def.
39018 (gettimeofday): Add libc_hidden_weak.
39019 * sysdeps/mach/gettimeofday.c: Likewise.
39020 * sysdeps/posix/gettimeofday.c: Likewise.
39021 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39022 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39024 (__gettimeofday_internal): Remove strong_alias.
39025 (__gettimeofday): Add libc_hidden_def.
39026 (gettimeofday): Add libc_hidden_weak.
39027 * sysdeps/unix/syscalls.list (gettimeofday):
39028 Remove __gettimeofday_internal alias.
39030 2012-05-24 Daniel Jacobowitz <drow@false.org>
39031 H.J. Lu <hongjiu.lu@intel.com>
39034 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39035 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39036 (largebin_index_32_big): New.
39037 (largebin_index): Use it for 16-byte alignment.
39038 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39039 correction with front_misalign.
39041 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39069 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39070 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39072 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39076 * math/libm-test.inc (exp_test): Add test from bug 14036.
39077 (pow_test): Add test from bug 10846.
39079 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39081 (special_function): Do not include flags in test name.
39082 (parse_args): Likewise.
39083 * sysdeps/i386/fpu/libm-test-ulps: Update.
39084 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39085 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39086 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39089 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39091 * math/libm-test.inc ("Philosophy"): Update comment about
39093 (UNDERFLOW_EXCEPTION): New macro.
39094 (UNDERFLOW_EXCEPTION_OK): Likewise.
39095 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39096 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39097 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39098 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39099 (INVALID_EXCEPTION_OK): Update value.
39100 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39101 (OVERFLOW_EXCEPTION_OK): Likewise.
39102 (IGNORE_ZERO_INF_SIGN): Likewise.
39103 (test_exceptions): Handle underflow exceptions.
39104 (acos_test): Update for underflow exception expectations.
39105 (cexp_test): Likewise.
39106 (clog_test): Likewise.
39107 (clog10_test): Likewise.
39108 (csqrt_test): Likewise.
39109 (ctan_test): Likewise.
39110 (ctanh_test): Likewise.
39111 (exp_test): Likewise.
39112 (exp10_test): Likewise.
39113 (exp2_test): Likewise.
39114 (expm1_test): Likewise.
39115 (fma_test): Likewise.
39116 (j0_test): Likewise.
39117 (jn_test): Likewise.
39118 (nexttoward_test): Likewise.
39119 (pow_test): Likewise.
39120 (scalbn_test): Likewise.
39121 (scalbln_test): Likewise.
39122 (tan_test): Likewise.
39123 (y1_test): Likewise.
39124 * sysdeps/i386/fpu/libm-test-ulps: Update.
39125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39127 2012-05-23 David S. Miller <davem@davemloft.net>
39129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39130 (__libc_sigaction): Remove unused local variables.
39132 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39134 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39136 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39138 mktime: avoid signed integer overflow
39139 * time/mktime.c (__mktime_internal): Do not mishandle the case
39140 where diff == INT_MIN.
39142 mktime: simplify computation of average
39143 * time/mktime.c (ranged_convert): Use new time_t_avg function
39144 instead of rolling our own (probably-slower) code.
39146 mktime: do not assume signed right shift propagates sign bit
39147 * time/mktime.c (isdst_differ): New static function.
39148 (__mktime_internal): No need to normalize tm_isdst now.
39149 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39152 mktime: merge another wrapv change from gnulib
39153 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39154 from some compilers.
39156 mktime: remove incorrect attempt at unusual arithmetics
39157 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39158 The code didn't really work on such machines anyway.
39159 (TYPE_MINIMUM): Assume two's complement.
39160 (twos_complement_arithmetic): Verify that long_int and time_t
39161 are two's complement (or unsigned, in the latter case).
39163 mktime: check signed shifts on long_int and time_t, too
39164 * time/mktime.c (SHR): Check that shifts work as desired
39165 on the types long_int and time_t too, as SHR is used on
39168 mktime: do not assume 'long' is wide enough
39169 * time/mktime.c (verify): Move decl up.
39170 (long_int): New type.
39171 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39172 to remove assumption in the code that 'long' is wide enough to
39173 store year values. This assumption is not true on x32 and on
39174 some non-glibc platforms.
39176 mktime: merge wrapv change from gnulib
39177 * time/mktime.c (WRAPV): New macro.
39178 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39179 (guess_time_tm, __mktime_internal): Do not assume that signed
39180 integer overflow wraps around; modern compilers generate code
39181 where this assumption is no longer valid.
39183 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39185 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39186 Replace "jmp L(pseudo_end)" with "ret".
39187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39190 2012-05-23 Andreas Jaeger <aj@suse.de>
39192 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39193 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39195 2012-05-23 Andreas Jaeger <aj@suse.de>
39196 Maximilian Attems <max@stro.at>
39198 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39201 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39204 code so that pseudo_end is just ret and the stack pointer is
39205 correct also for static library in error case.
39207 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39209 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39210 move to syscalls.list.
39211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39216 * manual/install.texi (Running make install): Do not mention Linux
39217 kernel version for which pt_chown is not needed.
39218 (Linux): Do not mention problems with nscd with 2.0 kernels.
39219 * INSTALL: Regenerated.
39221 2012-05-23 Andreas Jaeger <aj@suse.de>
39223 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39224 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39226 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39228 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39229 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39230 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39232 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39234 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39236 * sysdeps/unix/sysv/linux/bits/in.h
39237 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39239 2012-05-22 Roland McGrath <roland@hack.frob.com>
39241 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39242 (PREPARE_VERSION): Just use assert instead, it will be elided
39243 under [NDEBUG] anyway.
39245 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39247 * sysdeps/unix/sysv/linux/Makefile: Include
39248 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39249 (sysdep_routines): Remove sysctl.
39250 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39251 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39252 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39253 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39254 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39256 2012-05-22 Andreas Jaeger <aj@suse.de>
39258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39259 that pseudo_end is just ret and the stack pointer is correct also
39260 for static library in error case.
39262 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39265 * nss/nsswitch.c (defconfig_entries): New variable.
39266 (__nss_database_lookup): Don't leak defconfig entries.
39267 (nss_parse_service_list): Don't leak on error paths.
39268 (free_database_entries): New function.
39269 (free_defconfig): New function.
39270 (free_mem): Move common code to free_database_entries.
39272 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39274 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39276 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39278 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39279 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39282 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39283 (INTERNAL_SYSCALL_TYPES): Likewise.
39284 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39285 (LOAD_REGS_TYPES_[1-6]): Likewise.
39286 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39287 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39289 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39291 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39292 copysignl for GLIBC_2_0.
39293 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39294 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39296 logbl for GLIBC_2_0.
39297 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39298 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39300 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39303 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39305 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39308 * time/mktime.c: Update copyright years.
39310 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39312 mktime: merge comment-quoting-style change from gnulib
39313 * time/mktime.c: Quote 'like this' in comments.
39314 The GNU coding standards suggest that we no longer quote `like this',
39315 as "`" and "'" are typically rendered asymmetrically nowadays.
39316 The typical gnulib style is to quote 'like this' when quoting
39317 code, and "like this" when quoting English.
39319 * time/mktime.c (compile-command): Add "-I.".
39321 mktime: merge mktime-internal.h change from gnulib
39322 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39324 mktime: merge time_r change from gnulib
39325 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39327 mktime: merge DEBUG change from gnulib
39328 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39329 case system <time.h> has a #define.
39331 mktime: merge <sys/types.h> change from gnulib
39332 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39333 since <time.t> is now guaranteed to define time_t.
39335 mktime: merge HAVE_CONFIG_H change from gnulib
39336 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39338 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39343 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39345 (struct rusage): Use anonymous union to pad each field to
39348 2012-05-21 David S. Miller <davem@davemloft.net>
39350 * Makefules (o-iterator): Remove .s cases.
39351 (compile-command.s): Delete.
39352 (COMPILE.s): Delete.
39353 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39355 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39357 * configure.in (libc_cv_predef_stack_protector): Only consider
39358 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39359 * configure: Regenerated.
39361 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39364 New macro. Use R*LP on int and pointer.
39365 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39366 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39367 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39368 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39370 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39371 [__WORDSIZE_TIME64_COMPAT32] instead of
39372 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39373 (struct utmp): Likewise.
39374 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39375 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39377 (__WORDSIZE_TIME64_COMPAT32): This.
39378 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39379 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39380 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39381 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39382 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39383 (__WORDSIZE_TIME64_COMPAT32): New macro.
39385 2012-05-21 Andreas Jaeger <aj@suse.de>
39387 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39388 only if [SHARED]. Add prototype for __wcschr_ia32.
39390 2012-05-21 Roland McGrath <roland@hack.frob.com>
39392 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39393 of %rbp unmolested in the jmp_buf while mangling the low bits.
39394 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39395 unmolested high bits of %rbp while demangling the low bits.
39396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39398 2012-05-21 Andreas Jaeger <aj@suse.de>
39400 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39401 * sunrpc/svc_simple.c: Use it for registerrpc.
39402 * sunrpc/xcrypt.c: Use it for passwd2des.
39404 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39406 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39408 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39409 Don't define if [__SYSCALL_WORDSIZE != 32].
39410 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39413 2012-05-21 Bruno Haible <bruno@clisp.org>
39414 Andreas Jaeger <aj@suse.de>
39416 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39417 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39418 inptr and inend for must_buffer_ch.
39419 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39420 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39421 * stdio-common/Makefile (tests): Remove bug15.
39422 (bug15-ENV): Remove macro.
39423 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39426 2012-05-19 Andreas Jaeger <aj@suse.de>
39427 Roland McGrath <roland@hack.frob.com>
39429 * manual/contrib.texi: Completely rewritten. It contains now an
39430 alphabetical list of contributors and their contributions.
39432 2012-05-21 Richard Henderson <rth@twiddle.net>
39434 * misc/getauxval.c (__getauxval): Use unsigned long int.
39435 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39436 (getauxval): Use unsigned long int.
39438 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39440 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39442 2012-05-21 Roland McGrath <roland@hack.frob.com>
39444 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39445 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39446 __alignof__ (long double).
39448 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39452 2012-05-20 Richard Henderson <rth@twiddle.net>
39454 * misc/getauxval.c: New file.
39455 * misc/sys/auxv.h: New file.
39456 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39457 (routines): Add getauxval.
39458 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39459 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39460 * elf/dl-sysdep.c (_dl_auxv): Remove.
39461 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39462 * elf/dl-support.c (_dl_auxv): New variable.
39463 (_dl_aux_init): Initialize it.
39464 * manual/startup.texi (Auxiliary Vector): New node.
39465 * sysdeps/generic/bits/hwcap.h: New file.
39466 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39467 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39468 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39469 * sysdeps/sparc/sysdep.h: ... here. Include it.
39470 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39471 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39477 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39483 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39487 2012-05-19 David S. Miller <davem@davemloft.net>
39489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39491 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39494 * math/s_ccosh.c: Include <float.h>
39495 (__ccosh): Avoid internal overflow calculating sinh and cosh
39496 values before multiplying by sin and cos values.
39497 * math/s_ccoshf.c: Likewise.
39498 * math/s_ccoshl.c: Likewise.
39499 * math/s_csin.c: Likewise.
39500 * math/s_csinf.c: Likewise.
39501 * math/s_csinl.c: Likewise.
39502 * math/s_csinh.c: Likewise.
39503 * math/s_csinhf.c: Likewise.
39504 * math/s_csinhl.c: Likewise.
39505 * math/libm-test.inc (ccos_test): Add more tests.
39506 (ccosh_test): Likewise.
39507 (csin_test): Likewise.
39508 (csinh_test): Likewise.
39509 * sysdeps/i386/fpu/libm-test-ulps: Update.
39510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39512 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39514 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39515 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39517 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39519 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39521 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39522 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39523 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39524 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39525 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39526 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39527 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39528 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39529 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39530 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39531 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39532 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39533 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39534 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39535 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39536 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39537 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39538 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39539 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39540 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39541 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39542 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39543 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39544 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39545 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39546 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39547 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39548 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39549 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39550 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39551 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39553 2012-05-18 Andreas Jaeger <aj@suse.de>
39555 * csu/.gitignore: Delete.
39557 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39559 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39560 (timex): Use __syscall_slong_t.
39562 2012-05-18 Andreas Jaeger <aj@suse.de>
39563 Carlos O'Donell <carlos_odonell@mentor.com>
39565 * manual/install.texi (Configuring and compiling): Update
39566 description about files modified in the source directory.
39567 * INSTALL: Regenerated.
39569 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39571 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39572 value. Use "or" to set return value to -1.
39573 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39574 negate return value.
39576 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39578 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39579 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39580 failure if the compiler has Graphite support disabled.
39581 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39583 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39584 (CFLAGS-memmove.c): Likewise.
39585 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39588 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39590 * sysdeps/x86_64/x32/_itoa.h: New file.
39592 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39593 getdents system call only if kernel and user dirents have the
39594 same d_ino and d_off.
39596 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39597 LLONG_MAX != LONG_MAX.
39598 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39599 (_fitoa_word): Likewise.
39601 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39603 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39604 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39605 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39607 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39608 include <bits/wordsize.h>. Check __x86_64__ instead of
39610 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39611 if __x86_64__ is defined. Use anonymous union on fpstate.
39613 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39616 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39618 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39619 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39620 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39621 Refer to _rtld_local_ro instead of _rtld_global_ro.
39622 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39624 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39626 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39628 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39629 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39630 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39632 * sysdeps/powerpc/powerpc32/dl-machine.c
39633 (__elf_machine_runtime_setup) [PROF]: Don't reference
39636 2012-05-18 Andreas Jaeger <aj@suse.de>
39638 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39639 function only available for GCCs before 3.4 since GCC 3.4
39640 introduced a builtin.
39642 (llrintf): Likewise.
39643 (llrint): Likewise.
39650 (nearbyint): Likewise.
39651 (nearbyintf): Likewise.
39655 (floorf): Likewise.
39657 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39659 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39660 on both fields and cast pointer to __syscall_ulong_t.
39662 * bits/types.h (__fsword_t): New type.
39663 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39664 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39666 (__FSWORD_T_TYPE): Likewise.
39667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39668 (__FSWORD_T_TYPE): Likewise.
39669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39670 (__FSWORD_T_TYPE): Likewise.
39671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39672 (__FSWORD_T_TYPE): Likewise.
39673 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39674 __SWORD_TYPE with __fsword_t.
39675 (statfs64): Likewise.
39677 2012-05-17 David S. Miller <davem@davemloft.net>
39679 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39681 2012-05-17 Andreas Jaeger <aj@suse.de>
39683 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39686 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39688 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39690 2012-05-17 Andreas Jaeger <aj@suse.de>
39692 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39695 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39697 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39699 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39701 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39702 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39704 2012-05-17 Andreas Jaeger <aj@suse.de>
39705 Carlos O'Donell <carlos_odonell@mentor.com>
39708 * sysdeps/x86_64/multiarch/init-arch.h
39709 (bit_YMM_Usable): Rename to...
39710 (bit_AVX_Usable): ... this.
39711 (bit_FMA4_Usable): New macro.
39712 (bit_XMM_state): New macro.
39713 (bit_YMM_state): New macro.
39714 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39715 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39716 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39717 (CPUID_OSXSAVE): New macro.
39718 (CPUID_AVX): New macro.
39719 (CPUID_FMA4): New macro.
39720 (index_YMM_Usable): Rename to...
39721 (index_AVX_Usable): ... this.
39722 (HAS_AVX): Use HAS_ARCH_FEATURE.
39723 (HAS_FMA4): Likewise.
39724 (HAS_YMM_USABLE): Remove.
39725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39726 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39728 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39729 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39730 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39731 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39732 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39734 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39736 * math/libm-test.c: Support platforms without multiple rounding modes.
39737 * math/bug-nextafter.c: Support platforms without FP exceptions.
39738 * math/bug-nexttoward.c: Likewise.
39739 * math/test-fenv.c: Likewise.
39740 * math/test-misc.c: Likewise.
39741 * stdlib/bug-getcontext.c: Likewise.
39743 2012-05-17 Andreas Jaeger <aj@suse.de>
39745 * manual/examples/search.c (critter_cmp): Change signature to
39747 * manual/string.texi (Collation Functions): Likewise.
39749 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39751 * bits/types.h: Fold copyright years.
39752 * bits/typesizes.h: Likewise.
39753 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39757 * time/time.h: Likewise.
39759 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39762 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39763 in instead of returning them. Return void.
39764 (__libc_mallinfo): Accumulate over all arenas.
39765 (__malloc_stats): Adjust for change in int_mallinfo interface.
39767 2012-05-16 Roland McGrath <roland@hack.frob.com>
39770 * configure.in (NM): Add AC_CHECK_TOOL for it.
39771 (libc_extra_cflags): New substituted variable.
39772 Check for -fstack-protector being used implicitly.
39773 * configure: Regenerated.
39774 * config.make.in (config-extra-cflags): New variable,
39775 gets @libc_extra_cflags@.
39776 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39779 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39780 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39781 * configure: Regenerated.
39782 * config.make.in (CPPUNDEFS): New substituted variable.
39783 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39784 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39785 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39787 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39789 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39790 (mq_attr): Use __syscall_slong_t.
39792 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39794 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39795 Check __x86_64__ instead of __WORDSIZE.
39796 (_STAT_VER_LINUX): Likewise.
39797 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39798 __syscall_ulong_t and __syscall_slong_t.
39799 (stat64): Likewise.
39801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39803 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39807 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39809 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39811 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39814 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39815 include <bits/wordsize.h>. Check __x86_64__ instead of
39817 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39819 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39821 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39822 include <bits/wordsize.h>. Check __x86_64__ instead of
39824 (user_regs_struct): Use "__extension__ unsigned long long"
39825 instead of "unsigned long" if __x86_64__ is defined.
39826 (user): Likewise. Pad after pointer field if __ILP32__ is
39829 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39831 * configure.in (makeinfo): Require version 4.5 or later. Allow
39833 * configure: Regenerated.
39834 * manual/install.texi (texinfo): Increase version requirement to
39836 * INSTALL: Regenerated.
39838 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39840 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39842 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39844 * sysdeps/x86_64/x32/ffs.c: New file.
39846 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39848 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39849 defined. Use __syscall_ulong_t.
39850 (shminfo): Use __syscall_ulong_t.
39851 (shm_info): Likewise.
39853 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39856 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39858 (msgqnum_t): Use __syscall_ulong_t.
39859 (msglen_t): Likewise.
39860 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39863 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39866 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39868 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39869 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39871 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39874 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39875 include <bits/wordsize.h>. Check __x86_64__ instead of
39878 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39879 "unsigned long long int" if __x86_64__ is defined.
39880 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39882 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39883 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39884 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39886 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39888 (GET_PC): Cast to uintptr_t first.
39889 (GET_FRAME): Likewise.
39890 (GET_STACK): Likewise.
39892 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39893 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39894 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39896 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39898 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39899 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39900 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39901 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39902 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39903 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39904 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39905 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39906 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39907 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39908 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39909 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39910 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39911 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39912 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39913 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39914 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39915 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39916 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39917 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39918 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39919 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39920 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39922 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39924 * Makerules (+depfiles): Also collect depfiles from .oS in
39926 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39927 .oS, $(libnldbl-routines)).
39929 * Makerules (native-compile-mkdep-flags): Define.
39930 * sunrpc/Makefile (extra-objs): Add $(addprefix
39931 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39932 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39933 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39934 calling $(make-target-directory).
39936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39938 * bits/types.h (__snseconds_t): Removed.
39939 * time/time.h (struct timespec): Replace __snseconds_t with
39941 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39942 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39945 (__SNSECONDS_T_TYPE): Likewise.
39946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39947 (__SNSECONDS_T_TYPE): Likewise.
39948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39949 (__SNSECONDS_T_TYPE): Likewise.
39951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39953 * sysdeps/mach/hurd/bits/typesizes.h
39954 (__SYSCALL_SLONG_TYPE): New macro.
39955 (__SYSCALL_ULONG_TYPE): Likewise.
39957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39959 * bits/types.h (__syscall_slong_t): New type.
39960 (__syscall_ulong_t): Likewise.
39962 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39963 (__SYSCALL_ULONG_TYPE): Likewise.
39964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39965 (__SYSCALL_SLONG_TYPE): Likewise.
39966 (__SYSCALL_ULONG_TYPE): Likewise.
39967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39968 (__SYSCALL_SLONG_TYPE): Likewise.
39969 (__SYSCALL_ULONG_TYPE): Likewise.
39970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39971 (__SYSCALL_SLONG_TYPE): Likewise.
39972 (__SYSCALL_ULONG_TYPE): Likewise.
39974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39976 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39977 Add sigaltstack-offsets.sym.
39978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39979 <sigaltstack-offsets.h>.
39980 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39981 longjmp_msg pointer.
39982 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39983 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39985 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39987 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39989 * elf/stackguard-macros.h: Remove file.
39990 * sysdeps/generic/stackguard-macros.h: New file.
39991 * sysdeps/i386/stackguard-macros.h: Likewise.
39992 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39993 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39994 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39995 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39996 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39997 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39998 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39999 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40000 <elf/stackguard-macros.h>.
40003 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40004 __aligned__ in attribute.
40005 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40006 (gregset_t): Likewise.
40008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40010 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40011 * sysdeps/x86_64/64/Implies-after: Here. New file.
40012 * sysdeps/x86_64/x32/Implies-after: New file.
40014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40016 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40017 and access return value for _dl_profile_fixup. Use R10_LP to
40020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40022 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40026 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40027 * sysdeps/x86_64/x32/sysdep.h: New file.
40029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40031 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40032 * sysdeps/x86_64/setjmp.S: Likewise.
40034 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40036 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40037 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40038 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40039 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40040 remove unused global constant.
40042 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40044 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40045 include of <not-cancel.h>.
40047 2012-05-15 Roland McGrath <roland@hack.frob.com>
40049 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40051 2012-05-15 Jeff Law <law@redhat.com>
40052 Andreas Jaeger <aj@suse.de>
40055 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40057 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40058 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40059 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40060 code changing __hst_map_handle.map.
40062 2012-05-15 Roland McGrath <roland@hack.frob.com>
40064 * configure.in (sysnames): Look for Implies-before and Implies-after
40066 * configure: Regenerated.
40068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40070 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40071 8-byte data alignment with LP_SIZE alignment.
40073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40075 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40080 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40084 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40085 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40086 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40088 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40092 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40093 (stackinfo_sub_sp): Likewise.
40095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40097 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40112 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40116 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40117 into R11_LP and load __x86_64_shared_cache_size_half into
40120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40122 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40125 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40134 powerpc32/power7/fpu/s_logb.c via #include.
40135 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40136 powerpc32/power7/fpu/s_logbf.c via #include.
40137 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40138 powerpc32/power7/fpu/s_logbl.c via #include.
40140 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40142 * README.libm: Remove file.
40144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40146 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40147 count for x32. Use R*_LP and omit operand-size suffix.
40149 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40151 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40152 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40153 * sysdeps/x86_64/x32/shlib-versions: New file.
40155 2012-05-14 Roland McGrath <roland@hack.frob.com>
40157 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40158 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40159 Use _dl_fatal_printf instead.
40161 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40163 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40164 set if not set by the user. Do not allow for being unset.
40165 * sysdeps/unix/sysv/linux/configure: Regenerated.
40167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40169 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40170 the `q' suffix from lea and replace .quad with ASM_ADDR.
40172 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40175 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40177 (PTR_DEMANGLE): Likewise.
40179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40181 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40183 (ASM_ADDR): Likewise.
40184 (RAX_LP): Likewise.
40185 (RBP_LP): Likewise.
40186 (RBX_LP): Likewise.
40187 (RCX_LP): Likewise.
40188 (RDI_LP): Likewise.
40189 (RSI_LP): Likewise.
40190 (RSP_LP): Likewise.
40193 (R10_LP): Likewise.
40194 (R10_LP): Likewise.
40195 (R11_LP): Likewise.
40196 (R12_LP): Likewise.
40197 (R13_LP): Likewise.
40198 (R14_LP): Likewise.
40199 (R15_LP): Likewise.
40201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40203 * sysdeps/x86_64/x32/dl-machine.h: New file.
40205 2012-05-14 Andreas Jaeger <aj@suse.de>
40207 * manual/Makefile (subdir): Remove export of subdir.
40208 (all): Remove target.
40209 (.PHONY): Remove all from list.
40210 (mkinstalldirs): Remove.
40211 (.PHONY): Remove installdirs from list.
40212 ($(inst_infodir)/libc.info): Use make-target-directory.
40213 (installdirs): Remove.
40214 (subdir_%): Remove.
40215 (glibc-targets): Remove.
40218 ($(objpfx)stubs ../po/manual.pot): Remove.
40219 ($(objpfx)stamp%): Remove.
40220 (make-target-directory): Remove.
40221 (subdir_install): Remove.
40222 (routines): Remove.
40229 * manual/.gitignore: Remove, it's not needed anymore.
40230 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40232 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40234 (texis): Renamed to $(objpfx)texis.
40235 (texis-path): New, contains path to generated files.
40236 (chapters.%): Use texis-path for complete path, add extra argument
40238 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40239 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40240 (summary,texi, stamp-summary): Use complete path of
40241 files. Generate files in build dir.
40242 (dir-add.texi): Build in build dir.
40243 (libm-err.texi,stamp-libm-err): Likewise.
40244 (version.texi, stamp-version): Likewise.
40245 (.%c.texi): Likewise.
40246 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40247 (mostlyclean): Remove target.
40248 (realclean): Remove target.
40249 (generated): Add new variable with contents from mostlyclean and
40250 realclean, remove entries duplicated in common-mostlyclean, add
40251 stamp-libm-err and stamp-version.
40252 (generated-dirs): Add libc directory.
40253 ($(inst_infodir)/libc.info): Install files from build dir.
40255 * manual/install.texi (Configuring and compiling): Adjust since
40256 the info files are not part of the tar ball anymore.
40258 2012-05-14 Andreas Jaeger <aj@suse.de>
40260 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40263 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40267 to 2.2.0 where earlier.
40268 * sysdeps/unix/sysv/linux/configure: Regenerated.
40269 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40270 Remove conditional code.
40271 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40272 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40273 Remove conditional code.
40274 [!__NR_lchown]: Likewise.
40275 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40276 [__NR_lchown]: Likewise.
40277 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40278 comment referencing __ASSUME_LCHOWN_SYSCALL.
40279 * sysdeps/unix/sysv/linux/i386/sigaction.c
40280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40282 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40283 Remove conditional code.
40284 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40285 (__protocol_available): Remove #if 0 code.
40286 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40288 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40289 * sysdeps/unix/sysv/linux/kernel-features.h
40290 (__ASSUME_GETCWD_SYSCALL): Don't define.
40291 (__ASSUME_REALTIME_SIGNALS): Likewise.
40292 (__ASSUME_PREAD_SYSCALL): Likewise.
40293 (__ASSUME_PWRITE_SYSCALL): Likewise.
40294 (__ASSUME_POLL_SYSCALL): Likewise.
40295 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40296 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40298 (__ASSUME_SIOCGIFNAME): Don't define.
40299 (__ASSUME_MSG_NOSIGNAL): Likewise.
40300 (__ASSUME_SENDFILE): Define unconditionally.
40301 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40302 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40304 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40305 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40306 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40307 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40308 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40309 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40310 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40312 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40324 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40330 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40335 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40336 Remove conditional code.
40337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40338 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40339 Remove conditional code.
40340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40341 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40342 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40343 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40344 Remove conditional code.
40345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40346 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40347 Remove conditional code.
40348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40349 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40350 Remove conditional code.
40351 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40352 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40353 Remove conditional code.
40354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40355 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40356 Remove conditional code.
40357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40358 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40359 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40361 * sysdeps/unix/sysv/linux/sigaction.c
40362 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40363 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40364 * sysdeps/unix/sysv/linux/sigpending.c
40365 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40366 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40367 * sysdeps/unix/sysv/linux/sigprocmask.c
40368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40370 * sysdeps/unix/sysv/linux/sigsuspend.c
40371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40373 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40374 (__libc_missing_rt_sigs): Remove.
40375 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40376 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40377 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40378 Remove conditional code.
40379 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40380 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40383 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40384 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40385 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40387 2012-05-14 Andreas Jaeger <aj@suse.de>
40389 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40390 it's not used in glibc.
40391 (__coshm1): Likewise.
40392 (__acosh1p): Likewise.
40395 * manual/string.texi (Copying and Concatenation): Add missing
40396 variable in concat example.
40397 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40399 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40403 __builtin_clzl with __builtin_clzll.
40405 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40408 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40411 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40413 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40414 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40415 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40416 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40418 2012-05-14 Mike Frysinger <vapier@gentoo.org>
40420 * NEWS: Update ia64 info.
40422 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40424 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40427 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40429 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40430 * sysdeps/unix/syscalls.list (dup3): Likewise.
40431 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40432 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40434 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40436 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40437 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40439 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40441 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40443 (TLS_IE): Use mov/add instead of movq/addq to load thread
40445 (TLS_GD_PREFIX): New.
40448 2012-05-11 David S. Miller <davem@davemloft.net>
40450 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40451 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40452 (_FPU_SETCW): Likewise.
40454 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40456 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40457 is 32-byte aligned.
40459 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40462 * iconvdata/gb18030.c: Update tables.
40463 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40464 characters specially.
40465 (BODY for TO_LOOP): Add encoding of missing ranges.
40467 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40470 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40471 * sysdeps/mach/hurd/dup3.c: Likewise.
40472 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40473 * sysdeps/powerpc/memmove.c:: Likewise.
40475 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40478 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40480 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40482 * elf/elf.h (R_X86_64_RELATIVE64): New.
40483 (R_X86_64_NUM): Updated.
40484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40485 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40486 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40487 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40488 tst-quad1pie tst-quad2pie
40489 (modules-names): Add tst-quadmod1 tst-quadmod2.
40490 ($(objpfx)tst-quad1): New dependency.
40491 ($(objpfx)tst-quad2): Likewise.
40492 ($(objpfx)tst-quad1pie): Likewise.
40493 ($(objpfx)tst-quad2pie): Likewise.
40494 * sysdeps/x86_64/tst-quad1.c: New file.
40495 * sysdeps/x86_64/tst-quad1pie.c: New file.
40496 * sysdeps/x86_64/tst-quad2.c: Likewise.
40497 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40498 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40499 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40500 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40501 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40505 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40506 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40507 * streams/stropts.h (t_scalar_t): Define type.
40509 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40510 (_PATH_PRESERVE): Set to "/var/lib".
40511 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40513 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40516 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40517 if __dir_mkfile succeeded.
40519 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40520 checking for _hurd_dtablesize. Unlock it right after having
40521 finished _hurd_dtable allocation.
40523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40525 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40526 * sysdeps/mach/hurd/configure: Regenerated.
40527 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40528 special-casing to...
40529 * sysdeps/gnu/configure.in: ... this new file.
40530 * sysdeps/unix/sysv/linux/configure: Regenerated.
40531 * sysdeps/gnu/configure: New generated file.
40533 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40534 for Linux: use nsec instead of usec, as well as:
40535 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40536 members of type struct timespec.
40537 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40539 (struct stat64): Likewise.
40540 (_STATBUF_ST_NSEC): New macro.
40541 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40543 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40544 __strtoul_internal rather than strtoul.
40546 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40548 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40553 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40554 which preserves existing values.
40555 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40557 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40559 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40560 TIMEOUT values. Return EINVAL for NFDS values either negative or
40561 greater than FD_SETSIZE.
40563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40565 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40566 allocated, call __vm_protect to finish enabling the existing space, and
40567 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40568 allocate the remainder.
40570 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40572 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40573 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40577 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40578 sysdeps/mach/hurd/readlink.c.
40580 * posix/tst-sysconf.c (posix_options): Only use
40581 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40582 _POSIX_SYNCHRONIZED_IO when they are defined
40583 * sysdeps/mach/hurd/bits/posix_opt.h:
40584 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40585 (_XOPEN_REALTIME): Undefine macro.
40586 (_XOPEN_REALTIME_THREADS): Undefine macro.
40587 (_XOPEN_SHM): Undefine macro.
40588 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40590 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40592 (_POSIX_ASYNC_IO): Undefine macro.
40593 (_POSIX_PRIORITIZED_IO): Undefine macro.
40594 (_POSIX_SPIN_LOCKS): Define macro to -1.
40596 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40597 SA_NODEFER, SA_RESETHAND.
40598 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40599 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40604 * elf/Makefile (pldd-modules): Define unconditionally.
40606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40608 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40612 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40613 Return ENOENT when name is empty.
40614 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40616 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40618 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40620 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40624 Fix mlock in all cases except non-readable pages.
40625 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40626 instead of VM_PROT_ALL as parameter to __vm_wire function.
40628 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40629 (__mkdir): When path is `/', just fail with EEXIST.
40630 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40632 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40634 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40635 <sys/uio.h> (for writev).
40636 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40637 and <sys/param.h> (for MIN).
40639 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40641 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40642 REQUESTED_TIME. Properly set the remaining time and return EINTR
40645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40647 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40648 Depend on against $(link-rpcuserlibs).
40650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40652 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40653 (__libc_stack_end): Do not use attribute_relro.
40654 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40655 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40656 to libthread-provided value.
40657 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40663 * bits/libc-lock.h (__libc_once_get): New macro.
40664 * sysdeps/mach/bits/libc-lock.h: Likewise.
40665 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40667 instead of using implementation details.
40669 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40670 * libio/freopen.c: Likewise.
40671 * libio/freopen64.c: Likewise.
40672 * misc/syslog.c: Likewise.
40673 * nscd/connections.c: Likewise.
40674 * nscd/netgroupcache.c: Likewise.
40675 * sysdeps/posix/getcwd.c: Likewise.
40677 2012-05-10 Roland McGrath <roland@hack.frob.com>
40679 * math/w_ilogbf.c: Add #include <limits.h>.
40681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40683 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40684 path instead of returning without unlocking.
40686 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40687 immediate-write ioctls.
40688 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40692 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40693 __builtin_frame_address instead of making assumptions about the
40694 location of the return address relative to DATA. Force early load of
40695 the return address.
40696 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40697 __builtin_frame_address.
40700 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40701 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40702 implement dup3 and do some further code clean-ups.
40703 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40704 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40708 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40710 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40711 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40712 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40713 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40714 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40717 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40718 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40719 when handler == SIG_ERR, not when handler != SIG_ERR.
40721 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40723 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40724 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40727 accept4 for GNU Hurd.
40728 * include/sys/socket.h (__libc_accept4): New prototype.
40729 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40730 to implement __libc_accept4.
40731 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40733 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40735 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40736 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40737 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40738 signal-defines.sym.
40740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40742 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40746 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40747 assertion on O_CLOEXEC flag.
40748 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40749 * hurd/intern-fd.c: Likewise.
40750 * hurd/port2fd.c: Likewise.
40752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40755 * bits/in.h (IPV6_PKTINFO): Define new macro.
40756 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40758 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40763 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40765 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40766 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40768 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40769 * math/libm-test.inc (logb_test) : Additional logb tests.
40771 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40772 Andreas Jaeger <aj@suse.de>
40774 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40775 * configure: Regenerated.
40776 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40777 * config.make.in (link-obsolete-rpc): New substituted variable.
40778 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40779 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40780 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40781 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40782 so that libc.a contains the symbols.
40783 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40784 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40785 * sunrpc/auth_none.c: Likewise.
40786 * sunrpc/auth_unix.c: Likewise.
40787 * sunrpc/authdes_prot.c: Likewise.
40788 * sunrpc/authuxprot.c: Likewise.
40789 * sunrpc/clnt_gen.c: Likewise.
40790 * sunrpc/clnt_perr.c: Likewise.
40791 * sunrpc/clnt_raw.c: Likewise.
40792 * sunrpc/clnt_simp.c: Likewise.
40793 * sunrpc/clnt_tcp.c: Likewise.
40794 * sunrpc/clnt_udp.c: Likewise.
40795 * sunrpc/clnt_unix.c: Likewise.
40796 * sunrpc/des_crypt.c: Likewise.
40797 * sunrpc/des_soft.c: Likewise.
40798 * sunrpc/get_myaddr.c: Likewise.
40799 * sunrpc/key_call.c: Likewise.
40800 * sunrpc/key_prot.c: Likewise.
40801 * sunrpc/netname.c: Likewise.
40802 * sunrpc/pm_getmaps.c: Likewise.
40803 * sunrpc/pm_getport.c: Likewise.
40804 * sunrpc/pmap_clnt.c: Likewise.
40805 * sunrpc/pmap_prot.c: Likewise.
40806 * sunrpc/pmap_prot2.c: Likewise.
40807 * sunrpc/pmap_rmt.c: Likewise.
40808 * sunrpc/publickey.c: Likewise.
40809 * sunrpc/rpc_cmsg.c: Likewise.
40810 * sunrpc/rpc_common.c: Likewise.
40811 * sunrpc/rpc_dtable.c: Likewise.
40812 * sunrpc/rpc_prot.c: Likewise.
40813 * sunrpc/rpc_thread.c: Likewise.
40814 * sunrpc/rtime.c: Likewise.
40815 * sunrpc/svc.c: Likewise.
40816 * sunrpc/svc_auth.c: Likewise.
40817 * sunrpc/svc_raw.c: Likewise.
40818 * sunrpc/svc_run.c: Likewise.
40819 * sunrpc/svc_tcp.c: Likewise.
40820 * sunrpc/svc_udp.c: Likewise.
40821 * sunrpc/svc_unix.c: Likewise.
40822 * sunrpc/svcauth_des.c: Likewise.
40823 * sunrpc/xcrypt.c: Likewise.
40824 * sunrpc/xdr.c: Likewise.
40825 * sunrpc/xdr_array.c: Likewise.
40826 * sunrpc/xdr_float.c: Likewise.
40827 * sunrpc/xdr_intXX_t.c: Likewise.
40828 * sunrpc/xdr_mem.c: Likewise.
40829 * sunrpc/xdr_rec.c: Likewise.
40830 * sunrpc/xdr_ref.c: Likewise.
40831 * sunrpc/xdr_sizeof.c: Likewise.
40832 * sunrpc/xdr_stdio.c: Likewise.
40834 2012-05-10 Roland McGrath <roland@hack.frob.com>
40836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40837 change. Update copyright years.
40839 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40841 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40843 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40844 Joseph Myers <joseph@codesourcery.com>
40845 Paul Pluzhnikov <ppluzhnikov@google.com>
40848 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40850 [cross-compiling] (extra-libs): Likewise.
40851 [cross-compiling] (extra-libs-others): Likewise.
40852 [cross-compiling] (librpcsvc-routines): Likewise.
40853 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40854 [cross-compiling] (omit-deps): Likewise.
40855 (sunrpc-CPPFLAGS): New variable.
40856 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40857 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40858 (cross-rpcgen-objs): New variable.
40859 (extra-objs): Append $(cross-rpcgen-objs).
40860 ($(cross-rpcgen-objs)): New rule.
40861 ($(objpfx)cross-rpcgen): Likewise.
40862 (rpcgen-cmd): Define to use $(built-program-file). Expand
40864 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40865 ($(objpfx)x%.stmp): Likewise.
40866 * sunrpc/proto.h [IS_IN_build] (_): Define.
40867 [IS_IN_build] (_libc_intl_domainname): Likewise.
40869 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40872 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40873 and R_X86_64_TPOFF64.
40875 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40877 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40878 sysdeps/unix/sysv/syscalls.list.
40881 * sysdeps/unix/sysv/syscalls.list: Remove file.
40883 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40886 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40887 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40888 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40889 (__LC_IDENTIFICATION): Make these macros useful in #if
40890 expressions, as required by C99.
40892 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40894 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40895 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40898 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40900 * stdlib/longlong.h: Updated from GCC.
40902 2012-05-09 Andreas Jaeger <aj@suse.de>
40904 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40905 default is first entry.
40906 (run_mode): Set type.
40907 (main): Remove informal message about syslog.
40908 (options): Fix typo.
40911 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40914 (llrintf): Likewise.
40915 (llrint): Likewise.
40918 (nearbyint): Likewise.
40919 (nearbyintf): Likewise.
40921 2012-05-09 Andreas Jaeger <aj@suse.de>
40922 Pedro Alves <palves@redhat.com>
40924 * nscd/nscd.c (run_mode): Use enum.
40925 (main): Cleanup coding style issue.
40927 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40928 Andreas Jaeger <aj@suse.de>
40930 * nscd/nscd.c (go_background): Replaced with...
40931 (run_mode): ... this.
40932 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40933 (options): Add -F --foreground.
40934 (main): Implement it.
40935 (parse_opt): Parse it.
40937 2012-05-09 Andreas Jaeger <aj@suse.de>
40940 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40941 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40942 -Wconversion warning.
40943 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40946 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40948 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40950 (LC_ALL): Use macro-int-constant.
40951 (LC_COLLATE): Likewise.
40952 (LC_CTYPE): Likewise.
40953 (LC_MESSAGES): Likewise.
40954 (LC_MONETARY): Likewise.
40955 (LC_NUMERIC): Likewise.
40956 (LC_TIME): Likewise.
40957 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40958 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40960 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40962 [C99-based standards] (float_t): Expect type.
40963 [C99-based standards] (double_t): Expect type.
40964 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40966 [C99-based standards] (HUGE_VALL): Likewise.
40967 [C99-based standards] (INFINITY): Likewise.
40968 [C99-based standards] (NAN): Likewise.
40969 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40970 [C99-based standards] (FP_NAN): Likewise.
40971 [C99-based standards] (FP_NORMAL): Likewise.
40972 [C99-based standards] (FP_SUBNORMAL): Likewise.
40973 [C99-based standards] (FP_ZERO): Likewise.
40974 [C99-based standards] (FP_FAST_FMA): Use
40975 optional-macro-int-constant. Specify type. Require == 1.
40976 [C99-based standards] (FP_FAST_FMAF): Likewise.
40977 [C99-based standards] (FP_FAST_FMAL): Likewise.
40978 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40979 [C99-based standards] (FP_ILOGBNAN): Likewise.
40980 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40982 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40983 [C99-based standards] (math_errhandling): Specify type.
40984 [ISO99 || ISO11] (signgam): Do not allow.
40985 [non-C99-based standards] (copysignf): Do not allow.
40986 [non-C99-based standards] (exp2f): Likewise.
40987 [non-C99-based standards] (log2f): Likewise.
40988 [non-C99-based standards] (modff): Allow.
40989 [non-C99-based standards] (erff): Do not allow.
40990 [non-C99-based standards] (erfcf): Likewise.
40991 [non-C99-based standards] (gammaf): Likewise.
40992 [non-C99-based standards] (hypotf): Likewise.
40993 [non-C99-based standards] (j0f): Likewise.
40994 [non-C99-based standards] (j1f): Likewise.
40995 [non-C99-based standards] (jnf): Likewise.
40996 [non-C99-based standards] (lgammaf): Likewise.
40997 [non-C99-based standards] (tgammaf): Likewise.
40998 [non-C99-based standards] (y0f): Likewise.
40999 [non-C99-based standards] (y1f): Likewise.
41000 [non-C99-based standards] (ynf): Likewise.
41001 [non-C99-based standards] (isnanf): Likewise.
41002 [non-C99-based standards] (acoshf): Likewise.
41003 [non-C99-based standards] (asinhf): Likewise.
41004 [non-C99-based standards] (atanhf): Likewise.
41005 [non-C99-based standards] (cbrtf): Likewise.
41006 [non-C99-based standards] (expm1f): Likewise.
41007 [non-C99-based standards] (ilogbf): Likewise.
41008 [non-C99-based standards] (log1pf): Likewise.
41009 [non-C99-based standards] (logbf): Likewise.
41010 [non-C99-based standards] (nextafterf): Likewise.
41011 [non-C99-based standards] (remainderf): Likewise.
41012 [non-C99-based standards] (rintf): Likewise.
41013 [non-C99-based standards] (scalbf): Likewise.
41014 [non-C99-based standards] (copysignl): Likewise.
41015 [non-C99-based standards] (exp2l): Likewise.
41016 [non-C99-based standards] (log2l): Likewise.
41017 [non-C99-based standards] (modfl): Allow.
41018 [non-C99-based standards] (erfl): Do not allow.
41019 [non-C99-based standards] (erfcl): Likewise.
41020 [non-C99-based standards] (gammal): Likewise.
41021 [non-C99-based standards] (hypotl): Likewise.
41022 [non-C99-based standards] (j0l): Likewise.
41023 [non-C99-based standards] (j1l): Likewise.
41024 [non-C99-based standards] (jnl): Likewise.
41025 [non-C99-based standards] (lgammal): Likewise.
41026 [non-C99-based standards] (tgammal): Likewise.
41027 [non-C99-based standards] (y0l): Likewise.
41028 [non-C99-based standards] (y1l): Likewise.
41029 [non-C99-based standards] (ynl): Likewise.
41030 [non-C99-based standards] (isnanl): Likewise.
41031 [non-C99-based standards] (acoshl): Likewise.
41032 [non-C99-based standards] (asinhl): Likewise.
41033 [non-C99-based standards] (atanhl): Likewise.
41034 [non-C99-based standards] (cbrtl): Likewise.
41035 [non-C99-based standards] (expm1l): Likewise.
41036 [non-C99-based standards] (ilogbl): Likewise.
41037 [non-C99-based standards] (log1pl): Likewise.
41038 [non-C99-based standards] (logbl): Likewise.
41039 [non-C99-based standards] (nextafterl): Likewise.
41040 [non-C99-based standards] (remainderl): Likewise.
41041 [non-C99-based standards] (rintl): Likewise.
41042 [non-C99-based standards] (scalbl): Likewise.
41043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41044 [non-C99-based standards] (FP_*): Do not allow.
41045 [C99-based standards] (FP_*): Change to
41046 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41047 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41049 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41050 (SIG_ERR): Likewise.
41051 [X/Open-based standards] (SIG_HOLD): Likewise.
41052 (SIG_IGN): Likewise.
41053 (SIGABRT): Use macro-int-constant. Specify type. Require
41055 (SIGFPE): Likewise.
41056 (SIGILL): Likewise.
41057 (SIGINT): Likewise.
41058 (SIGSEGV): Likewise.
41059 (SIGTER): Likewise.
41060 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41061 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41062 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41063 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41064 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41065 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41066 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41067 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41068 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41069 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41070 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41071 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41072 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41073 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41074 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41075 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41076 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41077 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41078 [X/Open-based standards] (SIGTRAP): Likewise.
41079 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41080 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41081 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41082 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41083 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41086 2012-05-08 Ian Wienand <ianw@vmware.com>
41089 * time/tzset.c (__tzset_parse_tz): Update default rules for
41090 daylight time changes in the Energy Policy Act of 2005.
41092 2012-05-09 Andreas Jaeger <aj@suse.de>
41095 * elf/ldconfig.c (parse_conf): Change string to make clear that
41096 ldconfig only issued a warning if ld.so.conf does not exist.
41098 2012-05-08 David S. Miller <davem@davemloft.net>
41100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41101 movxtod instead of popping the value on the stack.
41103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41105 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41107 * config.h.in: Add HAVE_ARM_PCS_VFP.
41109 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41112 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41113 checking but the checks are disabled for any reason.
41115 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41117 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41118 and ELF64_R_TYPE with ELFW(R_TYPE).
41120 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41122 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41123 (ulimit): Likewise.
41125 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41126 (settimeofday): Likewise.
41128 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41130 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41131 a struct th_u2 inside the union, and move tu_block/tu_code into
41132 a new th_u3 union of tu_block/tu_code inside of that. Move
41133 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41134 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41135 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41136 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41137 (th_stuff): Change to th_u1.tu_stuff.
41139 (th_msg): Change to th_u1.th_u2.tu_data.
41141 2012-05-07 David S. Miller <davem@davemloft.net>
41143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41146 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41147 (SETUP_PIC_REG): Use it.
41148 (SETUP_PIC_REG_LEAF): Use it.
41150 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41154 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41156 (EXPL_FINITE): Likewise.
41157 (FLDLOG): Likewise.
41158 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41159 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41161 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41163 (EXPL_FINITE): Likewise.
41164 (FLDLOG): Likewise.
41165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41166 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41168 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41169 test of -max_value argument for long double.
41170 * sysdeps/i386/fpu/libm-test-ulps: Update.
41171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41173 2012-05-06 David S. Miller <davem@davemloft.net>
41175 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41176 quad soft-float symbols whose references which are compiler
41178 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41180 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41184 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41186 (EXPL_FINITE): Likewise.
41187 (FLDLOG): Likewise.
41190 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41191 Adjust comments for base varying.
41192 (__expl_finite): Change alias to EXPL_FINITE.
41193 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41195 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41196 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41198 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41199 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41201 (EXPL_FINITE): Likewise.
41202 (FLDLOG): Likewise.
41205 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41206 Adjust comments for base varying.
41207 (__expl_finite): Change alias to EXPL_FINITE.
41208 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41213 * math/libm-test.inc (check_float_internal): Correct ulp
41214 calculation for subnormal expected results.
41216 2012-05-06 Andreas Jaeger <aj@suse.de>
41218 * Makeconfig (+math-flags): New, set to -frounding-math.
41219 (+cflags): Add +math-flags so that all of glibc gets compiled with
41222 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41224 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41226 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41232 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41233 (__ieee754_expl): Allow for and saturate large arguments.
41234 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41235 (u_threshold): Likewise.
41236 (__exp): Call __ieee754_exp before checking for overflow and
41238 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41239 (u_threshold): Likewise.
41240 (__expf): Call __ieee754_expf before checking for overflow and
41242 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41243 (u_threshold): Likewise.
41244 (__expl): Call __ieee754_expl before checking for overflow and
41246 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41247 (__ieee754_expl): Allow for and saturate large arguments.
41248 * math/libm-test.inc (exp_test): Add another test. Do not allow
41249 missing overflow exception on overflow.
41250 (expm1_test): Do not allow missing overflow exception on overflow.
41252 * sysdeps/i386/fpu/e_expl.c: Move to ...
41253 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41254 rather than using inline asm.
41255 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41256 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41257 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41259 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41262 (signal): Likewise.
41266 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41268 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41269 sysdeps/unix/common/syscalls.list.
41270 (fchmod): Likewise.
41271 (fchown): Likewise.
41272 (ftruncate): Likewise.
41273 (getrusage): Likewise.
41274 (gettimeofday): Likewise.
41275 (setpgid): Likewise.
41276 (setregid): Likewise.
41277 (setreuid): Likewise.
41278 (sigaction): Likewise.
41279 (truncate): Likewise.
41280 (vhangup): Likewise.
41281 * sysdeps/unix/common/syscalls.list: Remove file.
41282 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41283 * sysdeps/unix/sysv/linux/Implies: Likewise.
41285 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41287 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41289 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41293 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41296 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41299 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41302 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41305 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41308 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41311 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41315 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41319 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41322 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41326 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41330 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41332 * sysdeps/unix/common/bits/dirent.h: Remove file.
41333 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41335 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41336 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41337 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41338 * sysdeps/unix/bsd/isatty.c: Likewise.
41339 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41340 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41341 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41343 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41347 long double comparison inaccuracies.
41348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41351 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41353 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41356 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41359 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41360 nonzero digits before rounding a hex value.
41361 * stdlib/tst-strtod.c (tests): Add another test.
41363 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41365 * sysdeps/s390/fpu/libm-test-ulps: Update.
41367 2012-05-03 Andreas Jaeger <aj@suse.de>
41369 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41370 does not get optimized out.
41371 (malloc_opt_barrier): New.
41373 2012-05-03 Andreas Jaeger <aj@suse.de>
41374 Roland McGrath <roland@hack.frob.com>
41376 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41377 intermediate file deletion.
41378 (generated): Add .symlist files.
41380 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41383 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41384 Redirect under this condition.
41385 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41386 [__USE_GNU] (__dprintf_chk): Not under this condition.
41387 [__USE_GNU] (__vdprintf_chk): Likewise.
41388 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41389 under this condition.
41390 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41391 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41392 [__USE_XOPEN2K8] (vdprintf): Likewise.
41393 [__USE_GNU] (__dprintf_chk): Not under this condition.
41394 [__USE_GNU] (__vdprintf_chk): Likewise.
41395 [__USE_GNU] (dprintf): Likewise.
41396 [__USE_GNU] (vdprintf): Likewise.
41398 2012-05-03 Roland McGrath <roland@hack.frob.com>
41400 * elf/Makefile (common-generated): Set this instead of generated for
41401 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41402 $(all-built-dso)-derived lists.
41404 2012-05-03 Andreas Jaeger <aj@suse.de>
41406 * sysdeps/i386/fpu/libm-test-ulps: Update.
41409 * FAQ.in: Likewise.
41410 * scripts/gen-FAQ.pl: Likewise.
41411 * manual/install.texi (Installation): Point to online location of
41413 * Makefile (files-for-dist): Remove FAQ.
41416 2012-05-02 Allan McRae <allan@archlinux.org>
41418 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41419 (LDFLAGS-reldepmod5.so): Likewise.
41420 (LDFLAGS-reldep6mod1.so): Likewise.
41421 (LDFLAGS-reldep6mod4.so): Likewise.
41422 (LDFLAGS-reldep8mod3.so): Likewise.
41423 (LDFLAGS-unload4mod1.so): Likewise.
41424 (LDFLAGS-unload4mod2.so): Likewise.
41425 (LDFLAGS-tst-initorder): Likewise.
41426 (LDFLAGS-tst-initordera2.so): Likewise.
41427 (LDFLAGS-tst-initordera3.so): Likewise.
41428 (LDFLAGS-tst-initordera4.so): Likewise.
41429 (LDFLAGS-tst-initorderb2.so): Likewise.
41430 (LDFLAGS-noload): Likewise.
41431 (LDFLAGS-next): Likewise.
41432 (LDFLAGS-order2mod1.so): Likewise.
41433 (LDFLAGS-order2mod2.so): Likewise.
41434 (LDFLAGS-tst-initorder2): Likewise.
41435 (LDFLAGS-tst-initorder2a.so): Likewise.
41436 (LDFLAGS-tst-initorder2b.so): Likewise.
41437 (LDFLAGS-tst-initorder2c.so): Likewise.
41438 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41440 2012-05-02 David S. Miller <davem@davemloft.net>
41442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41444 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41447 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41449 2012-05-02 Andreas Jaeger <aj@suse.de>
41451 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41452 since we manipulate rounding mode.
41453 (CPPFLAGS-test-idouble.c): Likewise.
41454 (CPPFLAGS-test-ifloat.c): Likewise.
41455 (CFLAGS-test-ldouble.c): Likewise.
41456 (CFLAGS-test-double.c): Likewise.
41457 (CFLAGS-test-float.c): Likewise.
41458 (CFLAGS-test-misc.c): Likewise.
41459 (CFLAGS-test-test-fenv.c): Likewise.
41461 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41465 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41466 comparisons to determine direction to adjust input.
41468 2012-05-01 Roland McGrath <roland@hack.frob.com>
41470 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41471 output to the target.
41473 * scripts/localplt.awk: New file.
41474 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41475 (check-localplt-CFLAGS): Variable removed.
41476 ($(all-built-dso:=.jmprel)): New static pattern rule.
41477 (generated): Add those targets.
41478 (localplt-built-dso): New variable.
41479 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41481 * elf/check-localplt.c: File removed.
41483 * scripts/check-execstack.awk: New file.
41484 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41485 (check-execstack-CFLAGS): Variable removed.
41486 ($(objpfx)check-execstack.h): Target removed.
41487 ($(objpfx)execstack-default): New target.
41488 (generated): Add that instead of check-execstack.h.
41489 ($(all-built-dso:=.phdr)): New static pattern rule.
41490 (generated): Add those targets.
41491 * elf/check-execstack.c: File removed.
41493 * scripts/check-textrel.awk: New file.
41494 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41495 (check-textrel-CFLAGS): Variable removed.
41496 (all-built-dso): Use := to define.o
41497 ($(all-built-dso:=.dyn)): New static pattern rule.
41498 (generated): Add those targets.
41499 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41500 * config.make.in (READELF): New substituted variable.
41501 * elf/check-textrel.c: File removed.
41503 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41505 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41507 * conform/data/ctype.h-data [C99-based standards] (isblank):
41509 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41510 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41512 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41513 Specify type. Require positive value.
41514 (EILSEQ): Likewise.
41515 (ERANGE): Likewise.
41516 [ISO || POSIX] (EILSEQ): Do not expect.
41517 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41518 Specify type. Require positive value.
41519 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41520 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41521 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41522 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41523 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41524 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41525 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41526 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41527 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41528 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41529 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41530 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41531 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41532 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41533 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41534 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41535 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41536 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41537 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41538 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41539 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41540 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41541 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41542 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41543 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41544 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41545 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41546 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41547 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41548 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41549 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41550 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41551 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41552 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41553 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41554 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41555 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41556 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41557 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41558 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41559 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41560 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41561 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41562 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41563 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41564 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41565 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41566 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41567 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41568 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41569 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41570 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41571 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41572 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41573 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41574 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41575 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41576 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41577 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41578 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41579 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41580 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41581 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41582 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41583 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41584 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41585 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41586 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41587 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41588 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41589 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41590 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41591 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41592 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41593 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41594 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41595 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41597 (FLT_ROUNDS): Expect as macro, not constant.
41598 (FLT_MANT_DIG): Use macro-int-constant.
41599 (DBL_MANT_DIG): Likewise.
41600 (LDBL_MANT_DIG): Likewise.
41601 (FLT_DIG): Likewise.
41602 (DBL_DIG): Likewise.
41603 (LDBL_DIG): Likewise.
41604 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41605 (DBL_MIN_EXP): Likewise.
41606 (LDBL_MIN_EXP): Likewise.
41607 (FLT_MAX_EXP): Use macro-int-constant.
41608 (DBL_MAX_EXP): Likewise.
41609 (LDBL_MAX_EXP): Likewise.
41610 (FLT_MAX_10_EXP): Likewise.
41611 (DBL_MAX_10_EXP): Likewise.
41612 (LDBL_MAX_10_EXP): Likewise.
41613 (FLT_MAX): Use macro-constant.
41614 (DBL_MAX): Likewise.
41615 (LDBL_MAX): Likewise.
41616 (FLT_EPSILON): Use macro-constant. Give upper bound.
41617 (DBL_EPSILON): Likewise.
41618 (LDBL_EPSILON): Likewise.
41619 (FLT_MIN): Likewise.
41620 (DBL_MIN): Likewise.
41621 (LDBL_MIN): Likewise.
41622 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41623 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41624 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41625 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41626 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41627 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41628 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41629 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41630 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41631 [ISO11] (FLT_TRUE_MIN): Likewise.
41632 [ISO11] (LDBL_TRUE_MIN): Likewise.
41633 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41634 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41635 (SCHAR_MIN): Use macro-int-constant. Specify type.
41636 (SCHAR_MAX): Likewise.
41637 (UCHAR_MAX): Likewise.
41638 (CHAR_MIN): Likewise.
41639 (CHAR_MAX): Likewise.
41640 (MB_LEN_MAX): Use macro-int-constant.
41641 (SHRT_MIN): Use macro-int-constant. Specify type.
41642 (SHRT_MAX): Likewise.
41643 (USHRT_MAX): Likewise.
41644 (INT_MAX): Likewise.
41645 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41647 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41649 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41651 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41652 bound negative. Suffix upper bound with "L".
41653 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41655 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41657 [C99-based standards] (LLONG_MAX): Likewise.
41658 [C99-based standards] (ULLONG_MAX): Likewise.
41659 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41661 [ISO11] (max_align_t): Require type.
41662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41664 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41665 from $CFLAGS, without defining away __attribute__ calls.
41666 (checknamespace): Use $CFLAGS_namespace.
41668 * conform/conformtest.pl (@keywords): Only include C99 keywords
41669 for standards based on C99 or C11.
41671 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41673 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41676 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41677 usability of symbols in #if.
41679 * conform/conformtest.pl: If macro or constant types start
41680 "promoted:", expect the symbol to be of the following type
41681 promoted by the integer promotions.
41683 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41684 in one place. Also handle "macro-constant".
41686 * conform/conformtest.pl: Only accept expected macro values with
41687 "==". Parse all "macro" lines in one place.
41688 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41690 * conform/conformtest.pl: Handle braced types on "constant" lines
41691 instead of handling "typed-constant".
41692 * conform/data/signal.h-data: Use "constant" instead of
41695 * conform/conformtest.pl: Handle "optional-" at start of lines in
41696 one place rather than duplicating several cases. Handle each
41697 format of "macro" line with initial "optional-".
41699 * conform/conformtest.pl: Only accept expected constant or
41700 optional-constant values with "==". Parse all "constant" lines in
41701 one place. Parse all "optional-constant" lines in one place.
41702 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41703 * conform/data/fmtmsg.h-data: Likewise.
41704 * conform/data/netinet/in.h-data: Likewise.
41705 * conform/data/tar.h-data: Likewise.
41706 * conform/data/limits.h-data: Use "==" form on "constant" and
41707 "optional-constant" lines.
41709 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41710 Use -std=c99 for XOPEN2K.
41711 (@knownproblems): Remove.
41712 (newtoken): Don't check %isknown.
41714 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41715 Do not expect macro.
41716 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41717 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41718 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41719 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41720 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41721 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41722 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41723 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41724 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41725 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41726 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41727 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41728 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41729 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41730 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41731 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41732 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41733 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41734 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41735 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41736 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41737 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41738 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41739 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41740 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41741 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41742 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41743 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41744 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41745 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41746 [XPG3] (acosh): Likewise.
41747 [XPG3] (asinh): Likewise.
41748 [XPG3] (atanh): Likewise.
41749 [XPG3] (cbrt): Likewise.
41750 [XPG3] (expm1): Likewise.
41751 [XPG3] (ilogb): Likewise.
41752 [XPG3] (log1p): Likewise.
41753 [XPG3] (logb): Likewise.
41754 [XPG3] (nextafter): Likewise.
41755 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41756 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41757 [XPG3] (remainder): Likewise.
41758 [XPG3] (rint): Likewise.
41759 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41760 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41761 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41762 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41763 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41764 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41765 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41766 [UNIX98 || XOPEN2K] (scalb): Expect.
41767 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41768 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41769 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41770 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41771 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41772 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41773 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41774 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41775 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41776 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41777 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41778 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41779 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41780 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41781 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41782 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41783 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41784 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41785 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41786 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41787 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41788 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41789 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41790 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41791 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41792 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41793 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41794 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41795 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41796 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41797 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41798 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41799 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41800 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41801 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41802 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41803 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41804 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41805 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41806 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41807 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41808 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41809 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41810 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41811 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41812 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41813 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41814 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41815 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41816 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41817 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41818 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41819 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41820 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41821 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41822 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41823 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41824 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41825 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41826 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41827 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41828 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41829 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41830 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41831 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41832 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41833 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41834 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41835 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41836 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41837 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41838 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41839 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41840 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41841 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41842 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41843 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41844 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41845 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41846 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41847 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41848 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41849 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41850 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41851 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41852 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41853 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41854 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41855 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41856 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41857 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41858 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41859 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41860 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41861 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41862 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41863 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41864 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41865 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41866 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41867 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41868 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41869 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41870 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41871 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41872 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41873 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41874 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41875 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41876 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41877 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41878 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41879 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41880 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41881 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41882 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41883 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41884 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41885 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41886 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41887 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41888 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41889 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41890 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41891 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41892 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41893 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41894 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41895 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41896 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41897 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41898 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41899 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41900 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41901 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41902 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41903 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41905 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41906 _XOPEN_SOURCE_EXTENDED for XPG4.
41908 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41910 * Makeconfig (localtime): Remove variable.
41911 (inst_localtime-file): Likewise.
41913 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41934 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41938 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41939 comparisons to determine direction to adjust input.
41940 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41941 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41942 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41944 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41946 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41951 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41953 * math/libm-test.inc (nexttoward_test): Add more tests.
41955 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41958 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41959 in version GLIBC_2.1, not GLIBC_2.0.
41960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41963 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41966 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41968 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41969 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41970 * math/libm-test.inc (acos_test): Add more tests.
41971 (asin_test): Likewise.
41972 * sysdeps/i386/fpu/libm-test-ulps: Update.
41973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41976 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41978 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41979 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41980 * math/libm-test.inc (acos_test_tonearest): New function.
41981 (acos_test_towardzero): Likewise.
41982 (acos_test_downward): Likewise.
41983 (acos_test_upward): Likewise.
41984 (asin_test_tonearest): Likewise.
41985 (asin_test_towardzero): Likewise.
41986 (asin_test_downward): Likewise.
41987 (asin_test_upward): Likewise.
41988 (main): Call the new functions.
41989 * sysdeps/i386/fpu/libm-test-ulps: Update.
41990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41994 * math/e_exp10.c: Include <float.h>.
41995 (__ieee754_exp10): Handle underflow here rather than multiplying
41996 large negative argument by M_LN10.
41997 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41999 * math/e_exp10l.c: Include <float.h>.
42000 (__ieee754_exp10l): Handle underflow here rather than multiplying
42001 large negative argument by M_LN10l.
42002 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42003 spurious overflow exception on underflow.
42005 2012-04-29 Marek Polacek <polacek@redhat.com>
42007 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42008 (__fortify_function): New macro.
42009 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42010 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42011 __extern_always_inline.
42012 * libio/bits/stdio2.h: Likewise.
42013 * libio/bits/stdio.h: Likewise.
42014 * string/string.h: Likewise.
42015 * string/bits/string3.h: Likewise.
42016 * include/stdio.h: Likewise.
42017 * stdlib/bits/stdlib.h: Likewise.
42018 * stdlib/stdlib.h: Likewise.
42019 * rt/bits/mqueue2.h: Likewise.
42020 * rt/mqueue.h: Likewise.
42021 * posix/bits/unistd.h: Likewise.
42022 * posix/unistd.h: Likewise.
42023 * io/bits/poll2.h: Likewise.
42024 * io/bits/fcntl2.h: Likewise.
42025 * io/fcntl.h: Likewise.
42026 * io/sys/poll.h: Likewise.
42027 * misc/bits/syslog.h: Likewise.
42028 * misc/bits/syslog-ldbl.h: Likewise.
42029 * misc/sys/syslog.h: Likewise.
42030 * socket/bits/socket2.h: Likewise.
42031 * socket/sys/socket.h: Likewise.
42032 * debug/tst-chk1.c: Likewise.
42033 * wcsmbs/bits/wchar2.h: Likewise.
42034 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42035 * wcsmbs/wchar.h: Likewise.
42037 2012-04-29 Andreas Jaeger <aj@suse.de>
42039 * Makerules (tests): Remove enable-check-abi protection.
42040 (check-abi-warn): Remove.
42041 (check-abi-%): Remove check-abi-warn usage.
42043 * configure.in: Remove check-abi configure option.
42044 * configure: Regenerated.
42045 * config.make.in (enable-check-abi): Remove.
42047 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42050 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42051 double functions to double *_finite functions.
42054 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42055 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42057 * stdio-common/Makefile (tests): Add tst-sprintf3.
42058 * stdio-common/tst-sprintf3.c: New file.
42060 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42061 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42063 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42065 * conform/conformtest.pl: Remove duplicate typed-constant
42068 2012-04-28 David S. Miller <davem@davemloft.net>
42070 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42071 (check-abi-%): Remove AWK script prerequisite and explicit
42073 (check-abi): Rewrite to just diff the symlist with the abilist.
42074 (config-tls, config-abi-config): Delete, no longer used.
42075 (update-abi-%): Remove AWK script and explicit abilist directory.
42076 (update-abi): Rewrite to simply compare and conditionally copy the
42077 symlist and the sysdep abilist file. Remove update-abi-config
42079 * abilist/ld.abilist: Remove.
42080 * abilist/libBrokenLocale.abilist: Remove.
42081 * abilist/libanl.abilist: Remove.
42082 * abilist/libcrypt.abilist: Remove.
42083 * abilist/libdl.abilist: Remove.
42084 * abilist/librt.abilist: Remove.
42085 * abilist/libthread_db.abilist: Remove.
42086 * abilist/libutil.abilist: Remove.
42087 * scripts/extract-abilist.awk: Remove.
42088 * scripts/merge-abilist.awk: Remove.
42089 * sysdeps/generic/libcidn.abilist: New file.
42090 * sysdeps/generic/libnss_compat.abilist: New file.
42091 * sysdeps/generic/libnss_db.abilist: New file.
42092 * sysdeps/generic/libnss_dns.abilist: New file.
42093 * sysdeps/generic/libnss_files.abilist: New file.
42094 * sysdeps/generic/libnss_hesiod.abilist: New file.
42095 * sysdeps/generic/libnss_nis.abilist: New file.
42096 * sysdeps/generic/libnss_nisplus.abilist: New file.
42097 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42098 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42099 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42101 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42102 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42103 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42104 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42105 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42106 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42107 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42108 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42109 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42111 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42112 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42113 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42114 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42116 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42117 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42118 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42119 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42120 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42121 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42123 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42124 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42125 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42127 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42230 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42231 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42232 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42235 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42236 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42237 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42238 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42239 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42240 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42241 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42242 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42243 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42295 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42297 * conform/conformtest.pl: Fix typo in handling typed-constant from
42300 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42302 * README: Cut down references to pre-2.6 Linux kernels and
42303 Linuxthreads. Update lists of configurations in libc and ports
42304 and sort alphabetically. Say "or newer" with Linux kernel version
42307 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42309 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42312 * math/libm-test.inc (logb_test_downward): New test to expose
42313 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42316 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42319 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42321 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42322 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42324 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42326 * sysdeps/unix/i386/brk.S: Remove file.
42327 * sysdeps/unix/i386/dl-brk.S: Likewise.
42328 * sysdeps/unix/i386/pipe.S: Likewise.
42329 * sysdeps/unix/i386/sigreturn.S: Likewise.
42330 * sysdeps/unix/i386/syscall.S: Likewise.
42331 * sysdeps/unix/i386/vfork.S: Likewise.
42332 * sysdeps/unix/i386/wait.S: Likewise.
42334 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42335 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42337 * configure.in (arm*-none*): Do not allow without
42338 --enable-hacker-mode.
42339 (netbsd*): Remove case setting base_os.
42340 (386bsd*): Likewise.
42341 (freebsd*): Likewise.
42344 (sunos*): Likewise.
42345 (ultrix*): Likewise.
42346 (newsos*): Likewise.
42347 (dynix*): Likewise.
42353 (minix*): Likewise.
42354 (irix4*): Likewise.
42355 (irix6*): Likewise.
42356 (solaris[2-9]*): Likewise.
42358 * configure: Regenerated.
42360 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42363 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42364 overflow or cancellation in calculating denominator.
42365 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42367 down expression to avoid unexpected rounding in newer GCCs.
42368 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42370 2012-04-26 David S. Miller <davem@davemloft.net>
42372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42373 long-double compat symbols.
42374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42388 2012-04-25 David S. Miller <davem@davemloft.net>
42390 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42391 HWCAP_* values only after the memory barriers have been defined.
42392 (atomic_full_barrier): Define.
42393 (atomic_read_barrier): Define.
42394 (atomic_write_barrier): Define.
42396 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42398 * shlib-versions: Add libgcc_s version information.
42399 * sysdeps/generic/libgcc_s.h: Remove.
42400 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42402 * sysdeps/gnu/unwind-resume.c: Likewise.
42403 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42405 2012-04-25 David S. Miller <davem@davemloft.net>
42407 * sysdeps/unix/sparc/brk.S: Delete.
42408 * sysdeps/unix/sparc/dl-brk.S: Delete.
42409 * sysdeps/unix/sparc/pipe.S: Delete.
42410 * sysdeps/unix/sparc/sysdep.S: Delete.
42411 * sysdeps/unix/sparc/sysdep.h: Delete.
42412 * sysdeps/unix/sparc/vfork.S: Delete.
42413 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42414 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42416 (ret_ERRVAL, r0, r1, MOVE): Define.
42417 (JUMPTARGET): Remove.
42418 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42419 sysdeps/unix/sparc/sysdep.h
42420 (ENTRY, END): Remove.
42421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42423 2012-04-25 Joseph Myers <joseph@codesourcery.com>
42425 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42426 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42429 * timezone/README: Update upstream location and email address for
42431 * timezone/zdump.c: Update from tzcode 2012b.
42432 * timezone/zic.c: Likewise.
42434 * configure.in (libc_cv_as_needed): Remove test.
42435 * configure: Regenerated.
42436 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42437 conditional definition.
42438 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42439 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42440 * config.make.in (have-as-needed): Remove variable.
42442 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42443 Paul Pluzhnikov <ppluzhnikov@google.com>
42445 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42448 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42450 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42451 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42452 * sysdeps/sh/strlen.S: Likewise.
42454 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42456 * sysdeps/unix/fork.S: Remove file.
42457 * sysdeps/unix/i386/fork.S: Likewise.
42458 * sysdeps/unix/sparc/fork.S: Likewise.
42460 * sysdeps/unix/system.c: Remove file.
42461 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42463 * sysdeps/unix/getegid.S: Remove file.
42464 * sysdeps/unix/geteuid.S: Likewise.
42466 2012-04-24 Roland McGrath <roland@hack.frob.com>
42468 * scripts/check-localplt.awk: New file.
42469 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42471 * scripts/data/localplt-generic.data: Add a comment.
42473 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42474 NODE when __dir_mkfile failed.
42475 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42476 Reported by Ludovic Courtès <ludo@gnu.org>.
42478 2012-04-24 Andreas Jaeger <aj@suse.de>
42480 * Makerules (common-clean): Also remove gen-as-const-headers
42483 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42485 * Makerules (native-compile): Do not change working directory for
42486 build. Use $(OUTPUT_OPTION) in command.
42487 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42489 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42492 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42493 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42494 * math/libm-test.inc (floor_test): Add more tests.
42495 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42497 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42499 * sysdeps/unix/getdents.c: Remove file.
42500 * sysdeps/unix/sysv/getdents.c: Likewise.
42501 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42503 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42504 sysdeps/unix/mman/syscalls.list.
42506 (mprotect): Likewise.
42508 (munmap): Likewise.
42509 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42510 * sysdeps/unix/mman/syscalls.list: Remove.
42511 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42513 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42514 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42515 * configure: Regenerated.
42516 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42517 $(libgcc_s_suffix).
42518 * config.make.in (libgcc_s_suffix): Remove variable.
42520 2012-04-23 Joseph Myers <joseph@codesourcery.com>
42522 * sysdeps/unix/sysv/gethostname.c: Move to ...
42523 * sysdeps/posix/gethostname.c: ... here.
42525 * sysdeps/unix/execve.S: Remove file.
42527 * sysdeps/unix/_exit.S: Remove file.
42529 2012-04-23 Andreas Jaeger <aj@suse.de>
42532 * manual/Makefile: Remove make dist support, there's no
42533 need for a stand-alone documentation tar ball.
42534 (TEXI2DVI): Define always, it's not in Makeconfig.
42537 (edition): Removed.
42538 (glibc-doc-$(edition).tar): Removed
42542 (ETAGS): Remove, it's in Makeconfig.
42543 (move-if-change): Remove, it's in Makeconfig.
42545 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42548 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42549 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42550 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42551 (strtod_l, strtof_l, strtold_l): Remove __wur.
42552 It is not necessarily an error to ignore strtol's return value.
42553 One can reliably look at the stored endptr to decide whether
42554 the number had valid syntax.
42556 2012-04-21 Andreas Jaeger <aj@suse.de>
42559 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42561 2012-04-21 Joseph Myers <joseph@codesourcery.com>
42563 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42564 * sysdeps/unix/sysv/Versions: Remove file.
42566 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42571 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
42574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42575 version from __vm86.
42577 2012-04-20 Joseph Myers <joseph@codesourcery.com>
42579 * sysdeps/unix/common/lxstat.c: Remove file.
42580 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42582 * sysdeps/unix/sysv/Makefile: Remove file.
42584 * sysdeps/unix/sysv/direct.h: Remove file.
42586 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42587 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42588 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42589 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42590 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42591 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42592 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42594 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42596 * sysdeps/unix/xmknod.c: Remove file.
42597 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42599 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42601 * sysdeps/unix/sysv/i386/time.S: Remove file.
42603 * sysdeps/unix/fxstat.c: Remove file.
42604 * sysdeps/unix/xstat.c: Likewise.
42605 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42607 * sysdeps/unix/sysv/sigaction.c: Remove file.
42609 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42610 (sysdep_headers): Remove variable.
42611 [termio.h not in sysdep_headers] (generated): Likewise.
42612 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42613 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42614 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42615 * sysdeps/unix/sysv/tcflow.c: Likewise.
42616 * sysdeps/unix/sysv/tcflush.c: Likewise.
42617 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42618 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42619 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42620 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42621 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42623 * sysdeps/unix/siglist.c: Remove file.
42625 * sysdeps/unix/getppid.S: Remove file.
42627 * sysdeps/unix/mkdir.c: Remove file.
42628 * sysdeps/unix/rmdir.c: Likewise.
42630 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42632 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42634 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42635 errlist-compat value.
42637 2012-04-18 David S. Miller <davem@davemloft.net>
42639 * sysdeps/generic/memcopy.h (reg_char): Delete.
42640 * debug/strcat_chk.c: Use char, not reg_char.
42641 * debug/strcpy_chk.c: Likewise.
42642 * debug/strncat_chk.c: Likewise.
42643 * debug/strncpy_chk.c: Likewise.
42644 * string/memchr.c: Likewise.
42645 * string/memrchr.c: Likewise.
42646 * string/rawmemchr.c: Likewise.
42647 * string/strcat.c: Likewise.
42648 * string/strchr.c: Likewise.
42649 * string/strchrnul.c: Likewise.
42650 * string/strcmp.c: Likewise.
42651 * string/strcpy.c: Likewise.
42652 * string/strncat.c: Likewise.
42653 * string/strncmp.c: Likewise.
42654 * string/strncpy.c: Likewise.
42656 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42658 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42659 __builtin_memcopy is called when src and dest ranges are known to not
42662 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42664 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42665 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42666 fwd_align_merge macro call.
42667 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42668 bwd_align_merge macro call.
42669 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42671 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42673 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42674 bwd_align_merge macros.
42675 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42676 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42677 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42679 2012-04-18 David S. Miller <davem@davemloft.net>
42681 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42683 2012-04-18 Andreas Jaeger <aj@suse.de>
42686 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42687 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42688 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42690 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42691 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42692 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42694 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42695 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42696 Adjust for changed ldbl-128 files.
42698 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42699 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42700 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42702 2012-04-17 David S. Miller <davem@davemloft.net>
42704 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42706 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42708 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42709 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42710 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42711 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42712 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42713 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42715 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42718 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42719 * math/libm-test.inc: Add ilogb errno and exception tests.
42720 * math/w_ilogb.c: New file: ilogb wrapper.
42721 * math/w_ilogbf.c: New file: ilogbf wrapper.
42722 * math/w_ilogbl.c: New file: ilogbl wrapper.
42723 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42724 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42725 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42726 exception being thrown with 0.0 as argument.
42727 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42728 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42729 exception being thrown with 0.0 as argument.
42730 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42731 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42732 exception being thrown with 0.0 as argument.
42733 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42734 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42735 exception being thrown with 0.0 as argument.
42736 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42737 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42739 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42740 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42741 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42742 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42743 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42744 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42746 2012-04-17 Petr Baudis <pasky@ucw.cz>
42748 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42751 2012-04-16 Marek Polacek <polacek@redhat.com>
42753 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42755 2012-04-16 Marek Polacek <polacek@redhat.com>
42757 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42758 operands of fdivp instruction.
42760 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42762 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42763 * elf/tst-auditmod3b.c: Likewise.
42764 * elf/tst-auditmod4b.c: Likewise.
42765 * elf/tst-auditmod5b.c: Likewise.
42766 * elf/tst-auditmod6b.c: Likewise.
42767 * elf/tst-auditmod6c.c: Likewise.
42768 * elf/tst-auditmod7b.c: Likewise.
42769 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42770 * sysdeps/x86_64/preconfigure.in: Likewise.
42771 * sysdeps/x86_64/preconfigure: Regenerated.
42773 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42775 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42778 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42781 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42783 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42786 * locale/iso-639.def: Fix gl language name. Spotted by
42789 2012-04-12 Roland McGrath <roland@hack.frob.com>
42792 * libio/libio.h (__io_write_fn): Update comment.
42794 2012-04-12 Petr Baudis <pasky@ucw.cz>
42797 * stdio.texi (Hook Functions): The user provided writer function
42798 is not allowed to return -1.
42800 2012-04-11 David S. Miller <davem@davemloft.net>
42802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42804 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42806 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42807 Add a leading slash to rtkaio.
42809 2012-04-11 Jim Meyering <meyering@redhat.com>
42812 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42813 It is not necessarily an error to ignore fwrite's return
42814 value. One can reliably use ferror to test for errors after
42817 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42819 * bits/types.h (__snseconds_t): New type.
42820 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42822 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42824 (__SNSECONDS_T_TYPE): Likewise.
42825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42826 (__SNSECONDS_T_TYPE): Likewise.
42827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42828 (__SNSECONDS_T_TYPE): Likewise.
42830 2012-04-10 Andreas Jaeger <aj@suse.de>
42833 * manual/time.texi (Processor Time): Return type of times is
42834 elapsed real time since an arbitrary point in the past.
42835 (CPU Time): Move CLK_TCK from here...
42836 (Processor Time): ...to here. Correct description.
42837 * manual/conf.texi (Constants for Sysconf): Correct description of
42840 2012-04-10 David S. Miller <davem@davemloft.net>
42843 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42844 where the is a gap between DT_REL(A) and DT_JMPREL.
42846 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42848 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42849 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42850 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42852 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42854 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42855 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42856 (dl_main): Handle --inhibit-cache.
42857 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42859 * elf/dl-load.c (_dl_map_object): Use it.
42860 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42862 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42865 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42866 (__ieee754_powl): Saturate large exponents rather than testing for
42867 overflow of y*log2(x).
42868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42869 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42873 * math/s_ctan.c: Include <float.h>.
42874 (__ctan): Avoid internal overflow or cancellation in calculating
42876 * math/s_ctanf.c: Likewise.
42877 * math/s_ctanl.c: Likewise.
42878 * math/s_ctanh.c: Likewise.
42879 * math/s_ctanhf.c: Likewise.
42880 * math/s_ctanhl.c: Likewise.
42881 * math/libm-test.inc (ctan_test): Add more tests.
42882 (ctanh_test): Likewise.
42883 * sysdeps/i386/fpu/libm-test-ulps: Update.
42884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42886 2012-04-09 Andreas Jaeger <aj@suse.de>
42889 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42890 is an optional BSD extension.
42893 * manual/stdio.texi (Opening Streams): Document additional fopen
42896 2012-04-09 Roland McGrath <roland@hack.frob.com>
42898 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42899 %eax without telling the compiler.
42901 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42904 * manual/install.texi: Use sourceware.org.
42906 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42909 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42910 (__ieee754_pow): Generate overflow and underflow using huge*huge
42911 and tiny*tiny rather than just returning constant infinity or zero
42912 for large exponents.
42913 * math/libm-test.inc (pow_test): Require overflow exceptions for
42914 applicable cases of large exponents.
42917 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42918 (__ieee754_pow): Use iterative multiplication algorithm only for
42919 integer exponents with absolute value below 1024. Check for odd
42920 integer exponents when using algorithm for real exponents.
42921 * math/libm-test.inc (pow_test): Add more tests.
42922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42924 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42927 * math/libm-test.inc (exp_test): Do not allow overflow exception
42930 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42933 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42934 instead of __kernel_standard_f.
42936 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42938 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42939 * sysdeps/x86_64/memset_chk.S: Likewise.
42941 2012-04-08 Andreas Jaeger <aj@suse.de>
42944 * manual/startup.texi (Environment Access): Describe return value
42945 for putenv and setenv.
42948 * manual/filesys.texi (Directory Entries): Add description for
42952 * manual/filesys.texi (Directory Entries): Clarify that it's file
42953 system not operating system in the description of DT_UNKNOWN.
42956 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42958 2012-04-08 Stephen Compall <s11@member.fsf.org>
42961 * manual/llio.texi (Opening and Closing Files): Add cross
42962 reference to explain mode argument.
42964 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42966 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42967 * sysdeps/x86_64/memset_chk.S: Likewise.
42969 2012-04-07 David S. Miller <davem@davemloft.net>
42971 * elf/elf.h (R_SPARC_WDISP10): Define.
42972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42975 R_SPARC_SIZE64 and R_SPARC_H34.
42977 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42980 conditions and remove no longer applicable assertion.
42982 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42984 * bits/byteswap.h: Include <features.h>.
42985 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42986 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42988 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42990 * bits/byteswap.h (__bswap_16): Removed.
42991 Include <bits/byteswap-16.h> to get __bswap_16.
42992 * sysdeps/i386/bits/byteswap.h: Likewise.
42993 * sysdeps/s390/bits/byteswap.h: Likewise.
42994 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42995 * bits/byteswap-16.h: New file.
42996 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42997 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42998 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42999 * string/Makefile (headers): Add bits/byteswap-16.h.
43001 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43004 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43006 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43007 * nss/tst-nss-static.c: New.
43009 2012-04-06 Robert Millan <rmh@gnu.org>
43012 * manual/llio.texi (File Position Primitive): lseek
43013 refers to WHENCE when it really means OFFSET.
43015 2012-04-06 Andreas Jaeger <aj@suse.de>
43017 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43018 strncmp declarations.
43020 * abilist/libc.abilist: Add __poll and __ppoll.
43022 2012-04-05 David S. Miller <davem@davemloft.net>
43024 * scripts/check-local-headers.sh: Accept a host triplet in the
43025 path matched by the exclude regexp.
43027 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43029 * sysdeps/powerpc/powerpc32/dl-machine.h
43030 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43031 * sysdeps/s390/s390-32/dl-machine.h
43032 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43033 * sysdeps/sparc/sparc32/dl-machine.h
43034 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43035 * sysdeps/sparc/sparc64/dl-machine.h
43036 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43038 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43040 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43041 undefined symbol errors.
43043 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43046 2012-04-05 Michael Matz <matz@suse.de>
43049 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43051 2012-04-05 Andreas Jaeger <aj@suse.de>
43054 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43057 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43059 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43060 which ROUND is no valid rounding mode.
43062 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43064 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43066 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43068 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43070 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43071 an exception using FPU order intentionally.
43073 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43075 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43076 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43077 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43078 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43080 2012-04-05 Simon Josefsson <simon@josefsson.org>
43083 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43084 EINVAL when BUFLEN is too smal.
43086 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43089 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43090 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43092 2012-04-03 Andreas Jaeger <aj@suse.de>
43095 * manual/setjmp.texi (System V contexts): Fix sentence.
43098 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43099 New macro for this case.
43100 [!__GNUC__] (__bswap_64): New inline function for this case.
43101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43102 * bits/byteswap.h: Likewise.
43103 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43104 ull, guard with __GLIBC_HAVE_LONG_LONG.
43106 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43107 __GLIBC_HAVE_LONG_LONG.
43109 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43110 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43112 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43115 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43116 inptr and inend, rather than using last_ch.
43118 2012-04-02 David S. Miller <davem@davemloft.net>
43120 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43121 * stdio-common/printf-parse.h (read_int): Change return type to
43122 'int', return -1 on INT_MAX overflow.
43123 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43124 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43125 overflows INT_MAX. Check for overflow of in-format-string precision
43126 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43127 SIZE_MAX not INT_MAX for integer overflow test.
43128 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43129 skip the construct in the format string but do not record anything.
43130 * stdio-common/bug22.c: Adjust to test both width/prevision
43131 INT_MAX overflow as well as total length INT_MAX overflow. Check
43132 explicitly for proper errno values.
43134 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43136 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43138 * string/test-strcmp.c [! WIDE]: Likewise.
43139 * time/tst-mktime2.c: Likewise for INT_MAX.
43140 * string/test-string.h: #include <sys/param.h> for MIN.
43142 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43143 * sysdeps/i386/init-first.c (init): Likewise.
43144 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43145 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43146 * sysdeps/sh/init-first.c (init): Likewise.
43148 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43150 * po/ru.po: Update from translation team.
43151 * po/vi.po: Likewise.
43153 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43155 * resolv/nss_dns/dns-host.c: Merge copyright years.
43157 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43159 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43160 Optimize memcpy with prefetch if
43161 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43162 src, dst pointers have unequal 16 byte alignments.
43164 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43167 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43168 from a CNAME entry and return the minimum ttl for the query.
43169 (gaih_getanswer_slice): Likewise.
43171 2012-03-30 Jeff Law <law@redhat.com>
43173 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43175 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43176 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43178 * resolv/nss_dns/dns-host.c: Update copyright year.
43180 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43182 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43183 requests to save a system call. Fix check that all bytes are sent.
43185 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43186 comments for sendmmsg.
43188 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43191 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43192 with only 1 character between 0x0041 and 0x01b0.
43193 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43194 * wcsmbs/tst-mbsnrtowcs.c: New file.
43196 2012-03-29 David S. Miller <davem@davemloft.net>
43198 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43199 small copies by hand.
43201 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43204 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43205 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43208 2012-03-28 David S. Miller <davem@davemloft.net>
43210 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43211 that branches into memcpy.
43212 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43215 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43218 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43219 implementation too.
43220 * sysdeps/sparc/mempcpy.S: New file.
43222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43223 the IFUNC routine in the libc case.
43224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43226 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43227 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43228 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43229 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43230 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43231 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43232 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43233 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43235 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43236 loop to 256 bytes instead of 64 bytes and fix test signedness.
43238 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43239 * sysdeps/sparc/sparc32/Makefile: rather than here...
43240 * sysdeps/sparc/sparc64/Makefile: and here.
43242 2012-03-28 Ulrich Drepper <drepper@gmail.com>
43244 * malloc/mallocbug.c: Avoid warnings about unused variables.
43246 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43249 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43250 in the right place. Discard and retry query if response is
43251 larger than input buffer size.
43253 2012-03-28 Joseph Myers <joseph@codesourcery.com>
43258 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43259 x for large integer exponent.
43260 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43261 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43262 sign of result as needed afterwards.
43263 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43264 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43265 result for underflowing pow the same as for overflow.
43266 (__kernel_standard_l): Handle powl overflow and underflow here
43267 rather than calling __kernel_standard.
43268 * math/libm-test.inc (pow_test): Add more tests.
43283 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43284 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43285 (__kernel_standard_l): New function.
43286 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43288 * math/w_acosl.c (__acosl): Likewise.
43289 * math/w_asinl.c (__asinl): Likewise.
43290 * math/w_atan2l.c (__atan2l): Likewise.
43291 * math/w_atanhl.c (__atanhl): Likewise.
43292 * math/w_coshl.c (__coshl): Likewise.
43293 * math/w_exp10l.c (__exp10l): Likewise.
43294 * math/w_exp2l.c (__exp2l): Likewise.
43295 * math/w_fmodl.c (__fmodl): Likewise.
43296 * math/w_hypotl.c (__hypotl): Likewise.
43297 * math/w_j0l.c (__j0l, __y0l): Likewise.
43298 * math/w_j1l.c (__j1l, __y1l): Likewise.
43299 * math/w_jnl.c (__jnl, __ynl): Likewise.
43300 * math/w_lgammal.c (__lgammal): Likewise.
43301 * math/w_log10l.c (__log10l): Likewise.
43302 * math/w_log2l.c (__log2l): Likewise.
43303 * math/w_logl.c (__logl): Likewise.
43304 * math/w_powl.c (__powl): Likewise.
43305 * math/w_remainderl.c (__remainderl): Likewise.
43306 * math/w_scalbl.c (sysv_scalbl): Likewise.
43307 * math/w_sinhl.c (__sinhl): Likewise.
43308 * math/w_sqrtl.c (__sqrtl): Likewise.
43309 * math/w_tgammal.c (__tgammal): Likewise.
43310 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43311 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43312 * math/libm-test.inc (acos_test): Add more tests.
43313 (acosh_test): Likewise.
43314 (asin_test): Likewise.
43315 (atanh_test): Likewise.
43316 (exp_test): Likewise.
43317 (exp10_test): Likewise.
43318 (exp2_test): Likewise.
43319 (expm1_test): Likewise.
43320 (lgamma_test): Likewise.
43321 (log_test): Likewise.
43322 (log10_test): Likewise.
43323 (log1p_test): Likewise.
43324 (log2_test): Likewise.
43325 (pow_test): Do not allow some spurious overflow exceptions.
43326 (sqrt_test): Add more tests.
43327 (tgamma_test): Likewise.
43328 (y0_test): Likewise.
43329 (y1_test): Likewise.
43330 (yn_test): Likewise.
43332 2012-03-27 Anton Blanchard <anton@samba.org>
43334 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43336 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43337 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43338 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43340 2012-03-27 David S. Miller <davem@davemloft.net>
43342 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43344 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43345 have-as-vis3 check.
43347 2012-03-27 Andreas Jaeger <aj@suse.de>
43349 * sysdeps/x86_64/elf/configure.in: Moved to ...
43350 * sysdeps/x86_64/configure.in: ... here.
43351 * sysdeps/x86_64/elf/start.S: Moved to ...
43352 * sysdeps/x86_64/start.S: ... here.
43353 * sysdeps/x86_64/elf/configure: Delete.
43355 * sysdeps/x86_64/configure.in: Merge contents from
43356 sysdeps/i386/configure.in (without i686 check).
43358 * sysdeps/i386/elf/Versions: Merge into ...
43359 * sysdeps/i386/Versions: ... this.
43360 * sysdeps/i386/elf/Versions: Delete file.
43361 * sysdeps/i386/elf/start.S: Moved to ...
43362 * sysdeps/i386/start.S: ...here.
43363 * sysdeps/i386/elf/configure.in: Merge into...
43364 * sysdeps/i386/configure.in: ...here.
43365 * sysdeps/i386/elf/configure.in: Delete file.
43366 * sysdeps/i386/elf/configure: Delete file.
43368 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43369 * debug/backtracesyms.c: ... here.
43370 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43371 * debug/backtracesymsfd.c: ... here.
43372 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43373 * sysdeps/generic/ifunc-sel.h: ... here.
43375 * sysdeps/unix/i386/start.c: Delete file.
43376 * sysdeps/unix/sparc/start.c: Delete file.
43377 * sysdeps/unix/start.c: Delete file.
43379 * sysdeps/sh/elf/configure.in: Moved to ...
43380 * sysdeps/sh/configure.in: ... here.
43381 * sysdeps/sh/elf/start.S: Moved to ...
43382 * sysdeps/sh/start.S: ... here.
43383 * sysdeps/sh/elf/configure: Delete file.
43385 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43386 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43387 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43388 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43389 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43390 * sysdeps/powerpc/powerpc64/start.S: here.
43391 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43392 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43393 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43394 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43395 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43397 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43398 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43399 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43400 * sysdeps/powerpc/powerpc32/start.S: ... here.
43401 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43402 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43403 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43405 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43406 * sysdeps/powerpc/ifunc-sel.h: ... here.
43407 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43408 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43410 * sysdeps/sparc/elf/configure.in: Moved to ...
43411 * sysdeps/sparc/configure.in: ... here.
43412 * sysdeps/sparc/elf/configure: Delete file.
43413 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43414 * sysdeps/sparc/sparc32/start.S: ... here.
43415 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43416 * sysdeps/sparc/sparc64/start.S: ... here.
43417 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43418 * sysdeps/sparc/sparc32/Makefile: ... this.
43419 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43420 * sysdeps/sparc/sparc64/Makefile: ... this.
43422 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43423 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43424 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43425 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43426 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43427 * sysdeps/s390/s390-32/setjmp.S: ... here.
43428 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43429 * sysdeps/s390/s390-32/configure.in: ... here.
43430 * sysdeps/s390/s390-32/elf/configure: Delete file.
43431 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43432 * sysdeps/s390/s390-32/start.S: ... here.
43434 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43435 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43436 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43437 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43438 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43439 * sysdeps/s390/s390-64/setjmp.S: ... here.
43440 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43441 * sysdeps/s390/s390-64/configure.in: ... here
43442 * sysdeps/s390/s390-64/elf/configure: Delete file.
43443 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43444 * sysdeps/s390/s390-64/start.S: ... here.
43445 * sysdeps/s390/s390-64/elf/configure: Delete.
43447 * configure.in: Remove support for elf directories in sysdeps.
43449 * configure: Regenerated.
43450 * sysdeps/i386/configure: Regenerated.
43451 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43452 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43453 * sysdeps/s390/s390-32/configure: Regenerated.
43454 * sysdeps/s390/s390-64/configure: Regenerated.
43455 * sysdeps/sh/configure: Regenerated.
43456 * sysdeps/sparc/configure: Regenerated.
43457 * sysdeps/x86_64/configure: Regenerated.
43459 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43464 denormal result into account.
43466 2012-03-25 Roland McGrath <roland@hack.frob.com>
43468 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43469 Reported by Allan McRae <allan@archlinux.org>.
43471 2012-03-23 Jeff Law <law@redhat.com>
43473 * nss/getnssent.c (__nss_getent): Fix typo.
43475 2012-03-23 David S. Miller <davem@davemloft.net>
43477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43479 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43481 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43482 to pad to uint64_t for each field.
43483 (dl_tls_index): Replace unsigned long with uint64_t.
43485 2012-03-23 Daniel Jacobowitz <dmj@google.com>
43486 Paul Pluzhnikov <ppluzhnikov@google.com>
43489 * grp/Makefile (otherlibs): Don't set it.
43490 * inet/Makefile (otherlibs): Likewise.
43491 * login/Makefile (otherlibs): Likewise.
43492 * nscd/Makefile (otherlibs): Likewise.
43493 * posix/Makefile (otherlibs): Likewise.
43494 * pwd/Makefile (otherlibs): Likewise.
43495 * rt/Makefile (otherlibs): Likewise.
43496 * sunrpc/Makefile (otherlibs): Likewise.
43497 * nss/Makefile (otherlibs): Likewise.
43498 Add libnss_files to routines and static-only-routines.
43499 ($(objpfx)getent): Remove rule.
43500 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43501 static-only-routines.
43503 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43506 * math/s_cexp.c: Include <float.h>.
43507 (__cexp): Handle exp result overflowing not necessarily
43508 overflowing both real and imaginary parts of result.
43509 * math/s_cexpf.c: Likewise.
43510 * math/s_cexpl.c: Likewise.
43511 * math/libm-test.inc (cexp_test): Add more tests.
43512 * sysdeps/i386/fpu/libm-test-ulps: Update.
43513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43515 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43517 * include/link.h (ELFW): New macro.
43518 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43519 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43521 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43523 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43526 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43528 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43530 (struct La_x32_retval): Likewise.
43532 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43534 * sysdeps/x86_64/preconfigure.in: New file.
43535 * sysdeps/x86_64/preconfigure: New generated file.
43537 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43540 * math/e_exp2l.c: Include <float.h>.
43541 (__ieee754_exp2l): Handle overflow and underflow cases
43542 separately. Only pass fractional part of argument to
43544 * math/libm-test.inc (exp2_test): Add more tests.
43546 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43547 negating x to take absolute value.
43548 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43550 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43551 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43553 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43554 computing low part if x was negated.
43555 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43557 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43559 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43560 la_x32_gnu_pltexit.
43561 (pltexit): Cast int_retval to ptrdiff_t.
43562 * elf/tst-auditmod3b.c: Likewise.
43563 * elf/tst-auditmod4b.c: Likewise.
43564 * elf/tst-auditmod5b.c: Likewise.
43565 * elf/tst-auditmod6b.c: Likewise.
43566 * elf/tst-auditmod6c.c: Likewise.
43567 * elf/tst-auditmod7b.c: Likewise.
43569 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43570 and x32_gnu_pltexit.
43572 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43573 __ELF_NATIVE_CLASS.
43574 (La_x32_regs): New macro.
43575 (La_x32_retval): Likewise.
43576 (la_x32_gnu_pltenter): New function prototype.
43577 (la_x32_gnu_pltexit): Likewise.
43579 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43586 * configure.in (libc_cv_cc_nofma): Check for option to disable
43587 generation of FMA instructions.
43588 * configure: Regenerate.
43589 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43590 * sysdeps/ieee754/dbl-64/Makefile: New file.
43591 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43592 Remove brandred-fma4.
43593 (CFLAGS-brandred-fma4.c): Remove.
43594 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43595 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43597 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43600 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43602 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43603 LLONG_MAX != LONG_MAX.
43604 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43605 (_fitoa_word): Likewise.
43606 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43607 LLONG_MAX != LONG_MAX.
43608 * stdio-common/_itowa.h: Include <_itoa.h>.
43609 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43610 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43611 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43612 only if not defined.
43613 (_ITOA_WORD_TYPE): Likewise.
43614 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43615 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43617 2012-03-21 David S. Miller <davem@davemloft.net>
43619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43621 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43623 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43624 of x86_64 when setting libc_cv_slibdir, libdir and
43626 * sysdeps/unix/sysv/linux/configure: Regenerated.
43628 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43630 * manual/lang.texi (Old Varargs): Remove section.
43631 (How Variadic): Update menu.
43632 (va_start): Do not mention varargs.h.
43634 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43635 Joseph Myers <joseph@codesourcery.com>
43637 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43639 * configure: Regenerated.
43641 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43643 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43644 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43647 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43650 * Makefile (files-for-dist): Remove NOTES.
43651 (NOTES): Remove rule.
43652 * README: Don't refer to NOTES.
43653 * manual/creature.texi: Don't include macros.texi.
43654 * manual/intro.texi (creature.texi): Remove comment referring to
43657 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43658 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43659 * configure: Regenerated.
43660 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43661 LIBC_TRY_CC_OPTION.
43662 (libc_cv_as_i686): Likewise.
43663 (libc_cv_cc_avx): Likewise.
43664 (libc_cv_cc_sse2avx): Likewise.
43665 (libc_cv_cc_fma4): Likewise.
43666 (libc_cv_cc_novzeroupper): Likewise.
43667 * sysdeps/i386/configure: Regenerated.
43670 * sysdeps/i386/fpu/s_cexp.S: Remove.
43671 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43673 * math/libm-test.inc (cexp_test): Add more tests.
43674 * sysdeps/i386/fpu/libm-test-ulps: Update.
43675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43677 2012-03-21 Allan McRae <allan@archlinux.org>
43679 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43681 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43684 * math/w_exp2.c: Do not include <float.h>.
43685 (o_threshold, u_threshold): Remove.
43686 (__exp2): Calculate result before checking finiteness and calling
43688 * math/w_exp2f.c: Likewise.
43689 * math/w_exp2l.c: Likewise.
43690 * math/libm-test.inc (exp2_test): Require overflow exception for
43694 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43695 range of signed 64-bit integers before using fistpll. Remove
43696 checks for whether integers fit in mantissa bits.
43697 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43698 the range of signed 32-bit integers before using fistpl. Remove
43699 checks for whether integers fit in mantissa bits.
43700 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43701 (__ieee754_powl): Test for y outside the range of signed 64-bit
43702 integers before using fistpll. Reduce 64-bit values to 63-bit
43704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43705 divide-by-zero is raised for zero to large negative powers.
43706 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43707 (__ieee754_powl): Test for y outside the range of signed 64-bit
43708 integers before using fistpll. Reduce 64-bit values to 63-bit
43710 * math/libm-test.inc (pow_test): Add more tests.
43712 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43714 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43715 <stdio-common/_itoa.h>.
43716 * debug/segfault.c: Likewise.
43717 * elf/dl-cache.c: Likewise.
43718 * elf/dl-minimal.c: Likewise.
43719 * elf/dl-misc.c: Likewise.
43720 * elf/dl-sysdep.c: Likewise.
43721 * elf/dl-version.c: Likewise.
43722 * elf/rtld.c: Likewise.
43723 * hurd/hurdsock.c: Likewise.
43724 * hurd/lookup-retry.c: Likewise.
43725 * malloc/malloc.c: Likewise.
43726 * malloc/mtrace.c: Likewise.
43727 * nscd/nscd_getgr_r.c: Likewise.
43728 * nscd/nscd_getpw_r.c: Likewise.
43729 * nscd/nscd_getserv_r.c: Likewise.
43730 * posix/getopt_init.c: Likewise.
43731 * posix/wordexp.c: Likewise.
43732 * stdio-common/_itoa.c: Likewise.
43733 * stdio-common/printf_fphex.c: Likewise.
43734 * stdio-common/vfprintf.c: Likewise.
43735 * string/_strerror.c: Likewise.
43736 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43737 * sysdeps/i386/i686/hp-timing.h: Likewise.
43738 * sysdeps/mach/_strerror.c: Likewise.
43739 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43740 * sysdeps/mach/hurd/sethostid.c: Likewise.
43741 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43742 * sysdeps/mach/xpg-strerror.c: Likewise.
43743 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43744 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43745 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43746 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43747 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43748 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43749 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43750 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43751 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43752 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43753 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43754 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43755 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43756 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43757 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43758 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43759 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43760 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43761 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43762 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43763 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43765 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43767 * stdio-common/_itoa.h: Moved to ...
43768 * sysdeps/generic/_itoa.h: Here.
43770 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43772 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43773 instead of "_itoa.h" and "_itowa.h".
43774 * stdio-common/vfprintf.: Likewise.
43776 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43778 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43780 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43781 (__signbit): Likwise.
43782 (llrintf): Likwise.
43785 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43787 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43790 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43792 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43793 OVERFLOW_EXCEPTION_OK.
43794 * math/libm-test.inc ("Philosophy"): Update comment about
43796 (OVERFLOW_EXCEPTION): Define.
43797 (OVERFLOW_EXCEPTION_OK): Likewise.
43798 (INVALID_EXCEPTION_OK): Renumber.
43799 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43800 (IGNORE_ZERO_INF_SIGN): Likewise.
43801 (test_exceptions): Handle FE_OVERFLOW.
43802 (exp10_test): Expect overflow exceptions.
43803 (exp2_test): Likewise.
43804 (expm1_test): Likewise.
43805 (nextafter_test): Likewise.
43806 (pow_test): Likewise.
43807 (scalbn_test): Likewise.
43808 (scalbln_test): Likewise.
43810 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43812 * sysdeps/x86_64/bits/atomic.h
43813 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43815 (atomic_exchange_acq): Likewise.
43816 (__arch_exchange_and_add_body): Likewise.
43817 (__arch_add_body): Likewise.
43818 (atomic_add_negative): Likewise.
43819 (atomic_add_zero): Likewise.
43821 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43823 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43824 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43826 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43828 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43829 Check __x86_64__ instead of __WORDSIZE.
43831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43833 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43835 2012-03-19 David S. Miller <davem@davemloft.net>
43837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43839 * sysdeps/sparc/fpu/fenv_private.h: New file.
43840 * sysdeps/sparc/fpu/math_private.h: Use it.
43841 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43843 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43844 (libc_feholdexcept_setroundl): Remove.
43845 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43847 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43848 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43850 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43852 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43853 int64_t instead of long int.
43854 (INSERT_WORDS64): Likwise.
43856 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43858 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43859 _Unwind_GetCFA return to _Unwind_Ptr first.
43861 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43864 * math/s_clog.c: Include <float.h>.
43865 (__clog): Scale large or subnormal inputs.
43866 * math/s_clogf.c: Likewise.
43867 * math/s_clogl.c: Likewise.
43868 * math/s_clog10.c: Include <float.h>.
43869 (M_LOG10_2): Define.
43870 (__clog10): Scale large or subnormal inputs.
43871 * math/s_clog10f.c: Likewise.
43872 * math/s_clog10l.c: Likewise.
43873 * math/libm-test.inc (clog_test): Add more tests.
43874 (clog10_test): Likewise.
43875 * sysdeps/i386/fpu/libm-test-ulps: Update.
43876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43879 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43881 * math/libm-test.inc (atan2_test): Add another test.
43883 * Makerules (common-objdir-compile): Remove.
43884 * sysdeps/unix/Makefile (config-generated): Do not add
43885 $(unix-generated) to variable.
43886 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43887 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43889 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43891 [generic bits/local_lim.h] (before-compile): Do not append to
43893 [generic bits/local_lim.h] (common-generated): Likewise.
43894 [generic sys/param.h] (before-compile): Do not append to variable.
43895 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43896 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43897 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43898 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43900 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43901 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43902 [generic sys/param.h] ($(addprefix
43903 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43904 [generic sys/param.h] (common-generated): Do not append to
43906 [generic sys/param.h] (sysdep_headers): Likewise.
43907 [generic bits/errno.h] (before-compile): Do not append to
43909 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43911 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43912 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43913 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43914 [generic bits/errno.h] (common-generated): Do not append to
43916 [generic bits/ioctls.h] (before-compile): Do not append to
43918 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43920 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43921 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43922 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43924 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43925 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43926 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43927 [generic bits/ioctls.h] (common-generated): Do not append to
43929 [generic sys/syscall.h] (syscall.h): Remove variable.
43930 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43932 [generic sys/syscall.h] (before-compile): Do not append to
43934 [generic sys/syscall.h] (common-generated): Likewise.
43935 * sysdeps/unix/errnos-tmpl.c: Remove file.
43936 * sysdeps/unix/errnos.awk: Likewise.
43937 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43938 * sysdeps/unix/ioctls.awk: Likewise.
43939 * sysdeps/unix/mk-local_lim.c: Likewise.
43940 * sysdeps/unix/snarf-ioctls: Likewise.
43942 2012-03-19 Richard Henderson <rth@twiddle.net>
43944 * sysdeps/i386/fpu/fenv_private.h: New file.
43945 * sysdeps/i386/fpu/math_private.h: Use it.
43946 (math_opt_barrier, math_force_eval): Remove.
43947 (libc_feholdexcept_setround_53bit): Remove.
43948 (libc_feupdateenv_53bit): Remove.
43949 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43950 (math_opt_barrier, math_force_eval): Remove.
43951 (libc_feholdexcept): Remove.
43952 (libc_feholdexcept_setround): Remove.
43953 (libc_fetestexcept, libc_fesetenv): Remove.
43954 (libc_feupdateenv_test): Remove.
43955 (libc_feupdateenv, libc_feholdsetround): Remove.
43956 (libc_feresetround): Remove.
43958 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43959 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43961 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43962 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43963 (libc_feupdateenv_testl): New.
43964 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43965 (libc_feupdateenv_testf): New.
43966 (libc_feupdateenv): Use libc_feupdateenv_test.
43967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43970 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43971 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43972 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43973 (libc_feresetround_noex): New.
43974 (libc_feresetround_noexf): New.
43975 (libc_feresetround_noexl): New.
43976 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43977 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43978 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43979 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43984 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43985 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43986 SET_RESTORE_ROUND_NOEX.
43987 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43988 SET_RESTORE_ROUND_NOEXF.
43989 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43990 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43991 (libc_feholdsetroundf): New.
43992 (libc_feresetround, libc_feresetroundf): New.
43994 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43995 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43996 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43998 * sysdeps/generic/math_private.h: Include <fenv.h>.
43999 (default_libc_feholdexcept): New.
44000 (default_libc_feholdexcept_setround): New.
44001 (default_libc_fesetenv, default_libc_feupdateenv): New.
44002 (libc_feholdexcept): Only define if undefined.
44003 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44004 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44005 (libc_feholdexcept_setroundl): Likewise.
44006 (libc_feholdexcept_setround_53bit): Likewise.
44007 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44008 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44009 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44010 (libc_feupdateenv_53bit): Likewise.
44011 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44012 (libc_feholdexcept): Convert from macro to inline function.
44013 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44014 (libc_fesetenv, libc_feupdateenv): Likewise.
44016 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44017 not previously defined.
44018 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44019 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44020 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44021 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44022 * sysdeps/ieee754/flt-32/math_private.h: New file.
44023 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44024 math_private.h below SET_FLOAT_WORD.
44025 (__isnan, __isinf_ns, __finite): Remove.
44026 (__isnanf, __isinf_nsf, __finitef): Remove.
44028 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44032 2012-03-17 David S. Miller <davem@davemloft.net>
44035 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44038 2012-03-16 David S. Miller <davem@davemloft.net>
44040 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44044 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44046 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44047 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44048 sysdep_routines when subdir is sysvipc.
44049 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44050 __getshmlba helper.
44052 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44054 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44056 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44059 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44061 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44062 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44063 (__lround): Renamed to ...
44064 (__llround): This. Replace long int with long long int.
44065 Define lround functions as aliases of llround functions.
44066 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44068 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44070 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44071 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44072 adresses to uintptr_t. Replace "long int" and "unsigned long
44073 int" with "greg_t" on va_arg.
44075 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44077 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44078 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44080 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44081 Move e_machine check before EI_CLASS check. Handle x32
44082 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44083 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44084 SKIP_EM_IA_64 and include
44085 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44087 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44088 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44089 (add_system_dir): New macro.
44091 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44092 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44094 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44105 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44107 * math/w_j0f.c (j0f): Likewise.
44109 * math/w_j0l.c (__j0l): Likewise.
44111 * math/w_j1.c (j1): Likewise.
44113 * math/w_j1f.c (j1f): Likewise.
44115 * math/w_j1l.c (__j1l): Likewise.
44117 * math/w_jn.c (jn): Likewise.
44119 * math/w_jnf.c (jnf): Likewise.
44121 * math/w_jnl.c (__jnl): Likewise.
44123 * math/libm-test.inc (j0_test): Add more tests.
44124 (j1_test): Likewise.
44125 (jn_test): Likewise. Add trailing semicolon to existing test.
44126 (y0_test): Likewise.
44127 (y1_test): Likewise.
44128 * sysdeps/i386/fpu/libm-test-ulps: Update.
44129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44133 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44134 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44135 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44136 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44137 (__tanl): Set errno for infinite argument.
44138 * sysdeps/i386/fpu/mptan.c: Remove.
44139 * sysdeps/i386/fpu/s_tan.S: Likewise.
44140 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44141 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44142 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44143 * math/libm-test.inc (tan_test): Add more tests and enable more
44144 tests for double and long double.
44145 * sysdeps/i386/fpu/libm-test-ulps: Update.
44146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44148 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44150 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44151 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44153 2012-03-16 Roland McGrath <roland@hack.frob.com>
44155 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44156 * configure.in: Use it for both main tree and add-ons.
44157 * configure: Regenerated.
44159 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44161 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44163 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44165 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44169 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44170 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44175 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44177 != 0 for prec == 2.
44178 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44179 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44180 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44181 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44182 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44183 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44184 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44185 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44186 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44187 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44188 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44189 * math/libm-test.inc (cos_test): Add more tests and enable more
44190 tests for long double.
44191 (sin_test): Likewise.
44192 (sincos_test): Likewise.
44193 * sysdeps/i386/fpu/libm-test-ulps: Update.
44194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44196 2012-03-16 David S. Miller <davem@davemloft.net>
44198 * sysdeps/sparc/fpu/math_private.h: New file.
44200 2012-03-15 David S. Miller <davem@davemloft.net>
44202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44216 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44217 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44219 * sysdeps/sparc/sparc-ifunc.h: New file.
44220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44265 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44267 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44271 2012-03-15 Andreas Jaeger <aj@suse.de>
44274 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44275 ieee754/flt-32 implementation for sin, cos and sincos.
44276 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44277 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44278 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44279 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44280 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44281 ieee754/flt-32 implementation for tan.
44283 * math/libm-test.inc (cos_test): Enable some large input tests for
44285 (sin_test): Likewise.
44286 (sincos_test): Likewise.
44287 (tan_test): Add tests for large input.
44289 * sysdeps/i386/fpu/libm-test-ulps: Update.
44291 2012-03-15 Andreas Jaeger <aj@suse.de>
44294 * math/libm-test.inc (cos_test): Add more test cases.
44295 (sin_test): Likewise.
44296 (sincos_test): Likewise.
44298 2012-03-15 Andreas Jaeger <aj@suse.de>
44301 * math/libm-test.inc (cos_test): Add a test case for large input
44303 (sin_test): Likewise.
44304 (sincos_test): Likewise.
44306 2012-03-15 Andreas Jaeger <aj@suse.de>
44307 Joseph Myers <joseph@codesourcery.com>
44310 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44311 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44312 * sysdeps/i386/fpu/branred.c: Likewise.
44313 * sysdeps/i386/fpu/dosincos.c: Likewise.
44314 * sysdeps/i386/fpu/mpa.c: Likewise.
44315 * sysdeps/i386/fpu/s_cos.S: Likewise.
44316 * sysdeps/i386/fpu/s_sin.S: Likewise.
44317 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44318 * sysdeps/i386/fpu/sincos32.c: Likewise.
44320 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44322 (libc_feupdateenv_53bit): Define.
44323 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44325 (libc_feupdateenv_53bit): Define.
44327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44328 53 bit (without extend i386 double precision).
44330 * math/libm-test.inc (sincos_test): Add tests for large input.
44334 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44336 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44340 2012-03-15 David S. Miller <davem@davemloft.net>
44342 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44343 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44344 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44345 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44370 fmin/fmax sysdep routines.
44371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44373 2012-03-14 David S. Miller <davem@davemloft.net>
44375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44377 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44379 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44395 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44447 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44452 * sysdeps/sparc/configure.in: New file.
44453 * sysdeps/sparc/configure: Generate.
44454 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44455 * configure: Regenerate.
44456 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44457 * config.make.in (have-as-vis3): New.
44458 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44459 available use -Av9d instead of -Av9a.
44460 * sysdeps/sparc/sparc64/Makefile: Likewise.
44461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44473 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44476 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44477 fzeros/fnegs to load 0x80000000 into a float register instead of
44479 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44481 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44485 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44486 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44487 ($(inst_includedir)/bits/syscall.h): Remove rule.
44488 ($(objpfx)bits/syscall.d): Include instead of
44489 $(objpfx)syscall-list.d.
44490 (generated): Change syscall-list.h and syscall-list.d to
44491 bits/syscall.h and bits/syscall.d.
44493 2012-03-14 Roland McGrath <roland@hack.frob.com>
44496 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44498 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44501 * math/s_csqrt.c: Include <float.h>.
44502 (__csqrt): Scale large or subnormal inputs.
44503 * math/s_csqrtf.c: Likewise.
44504 * math/s_csqrtl.c: Likewise.
44505 * math/libm-test.inc (csqrt_test): Add more tests.
44506 * sysdeps/i386/fpu/libm-test-ulps: Update.
44507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44510 * math/libm-test.inc (hypot_test): Add more tests.
44512 2012-03-13 David S. Miller <davem@davemloft.net>
44515 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44516 double-precision for the calculation instead of scaling.
44518 2012-03-13 Joseph Myers <joseph@codesourcery.com>
44520 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44521 manipulate bits before adding and subtracting TWO52[sx].
44522 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44523 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44525 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44527 2012-03-13 David S. Miller <davem@davemloft.net>
44529 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44530 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44532 rtld-global-offsets.h
44533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44535 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44538 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44540 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44541 'err' in the ifdef scope in which it is actually used.
44543 * nss/nss_db/db-init.c: Include string.h
44545 2012-03-12 David S. Miller <davem@davemloft.net>
44547 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44548 masking out of the most significant byte of random value used.
44549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44550 Fix coding style in previous change.
44552 * sysdeps/unix/sysv/linux/kernel-features.h
44553 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44554 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44556 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44559 2012-03-11 David S. Miller <davem@davemloft.net>
44561 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44562 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44564 for 'resultvar' otherwise things get truncated on 64-bit.
44566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44567 Fix masking out of the most significant byte of random value used.
44569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44571 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44575 2012-03-09 David S. Miller <davem@davemloft.net>
44577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44578 variables with appropriate CPP guards.
44579 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44580 from the frame pointer, not the stack pointer. Correct layout
44581 comments. Fix test on resulting framesize and the management of
44582 the outregs buffer for pltexit. Preserve floating point return
44583 values across _dl_call_pltexit call.
44584 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44585 framesize and the management of the outregs buffer for pltexit.
44586 Preserve floating point return values across _dl_call_pltexit
44588 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44589 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44590 (la_sparc64_gnu_pltexit): New functions.
44591 (print_exit): Fix format string for return register value.
44593 2012-03-10 Joseph Myers <joseph@codesourcery.com>
44595 * sunrpc/Makefile (others): Add rpcgen.
44596 ($(objpfx)rpcgen): Remove special build rule and dependency on
44598 * sunrpc/rpcgen.c: New file.
44600 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44603 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44604 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44605 * sysdeps/i386/crti.S: Likewise.
44606 * sysdeps/i386/crtn.S: Likewise.
44607 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44608 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44609 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44610 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44611 * sysdeps/sh/crti.S: Likewise.
44612 * sysdeps/sh/crtn.S: Likewise.
44613 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44616 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44618 * locale/programs/locfile-kw.gperf: Likewise.
44619 * locale/programs/charmap-kw.h: Regenerated.
44620 * locale/programs/locfile-kw.h: Likewise.
44623 * intl/plural.y: Replace FSF snail mail address with URL.
44624 * intl/plural.c: Regenerated.
44626 2012-03-09 Richard Henderson <rth@twiddle.net>
44628 * include/math_private.h: Remove file.
44629 * math/math_private.h: Move file ...
44630 * sysdeps/generic/math_private.h: ... here.
44632 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44633 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44634 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44636 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44637 and <math_private.h>.
44638 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44639 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44640 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44641 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44642 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44643 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44644 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44646 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44647 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44650 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44652 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44653 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44654 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44655 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44656 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44657 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44659 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44660 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44662 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44663 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44664 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44665 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44667 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44668 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44670 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44671 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44672 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44674 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44675 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44676 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44678 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44679 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44680 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44681 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44682 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44683 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44684 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44685 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44686 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44687 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44688 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44689 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44690 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44691 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44692 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44693 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44694 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44695 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44696 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44697 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44698 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44699 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44701 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44702 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44704 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44705 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44706 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44707 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44708 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44709 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44710 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44711 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44712 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44717 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44718 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44719 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44720 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44721 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44722 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44725 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44726 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44727 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44728 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44729 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44730 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44731 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44732 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44733 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44735 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44736 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44737 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44738 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44739 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44740 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44741 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44742 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44743 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44744 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44745 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44746 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44747 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44748 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44749 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44750 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44751 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44752 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44754 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44755 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44756 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44757 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44758 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44759 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44760 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44761 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44762 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44763 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44764 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44765 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44766 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44767 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44768 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44769 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44770 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44771 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44772 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44773 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44774 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44775 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44776 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44777 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44778 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44779 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44780 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44781 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44782 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44783 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44784 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44785 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44786 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44787 * sysdeps/ieee754/k_standard.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44792 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44805 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44807 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44812 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44814 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44815 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44816 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44818 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44819 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44821 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44828 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44833 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44834 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44838 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44839 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44840 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44842 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44845 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44856 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44857 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44860 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44861 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44862 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44864 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44865 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44866 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44867 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44868 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44869 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44870 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44871 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44872 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44873 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44874 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44875 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44876 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44877 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44878 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44879 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44880 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44881 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44882 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44883 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44884 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44885 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44886 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44887 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44888 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44889 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44891 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44892 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44893 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44894 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44895 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44896 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44897 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44898 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44899 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44900 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44901 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44902 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44904 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44905 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44906 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44907 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44908 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44909 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44910 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44911 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44912 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44913 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44914 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44915 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44916 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44917 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44918 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44919 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44920 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44921 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44922 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44923 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44924 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44925 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44926 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44927 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44928 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44929 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44930 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44931 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44932 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44933 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44934 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44935 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44936 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44937 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44938 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44939 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44940 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44941 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44942 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44943 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44944 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44945 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44946 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44947 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44948 * sysdeps/ieee754/s_lib_version.c: Likewise.
44949 * sysdeps/ieee754/s_matherr.c: Likewise.
44950 * sysdeps/ieee754/s_signgam.c: Likewise.
44951 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44952 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44953 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44954 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44955 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44956 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44957 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44958 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44959 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44960 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44961 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44962 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44963 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44964 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44965 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44966 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44967 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44968 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44969 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44973 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44975 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44976 * sunrpc/rpc_main.c: Likewise.
44977 * sunrpc/rpc_svcout.c: Likewise.
44979 2012-03-09 David S. Miller <davem@davemloft.net>
44981 * include/math_private.h: New file.
44983 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44985 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44986 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44987 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44988 from <bits/socket_type.h>.
44989 (enum __socket_type): Don't define here.
44990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44992 bits/socket_type.h.
44995 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44996 checking __USE_GNU.
44998 * Makerules ($(inst_includedir)/%.h): New rule.
44999 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45000 (install-others): Remove variable setting.
45001 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45003 2012-03-08 Richard Henderson <rth@twiddle.net>
45005 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45006 from macro to inline function; merge with the
45007 !__LIBC_INTERNAL_MATH_INLINES version.
45008 (__ieee754_sqrtf): Likewise.
45010 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45011 to inline function.
45012 (__rintf, __floor, __floorf): Likewise.
45014 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45015 macro to inline function.
45016 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45018 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45019 not <math/math_private.h>.
45021 2012-03-08 David S. Miller <davem@davemloft.net>
45023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45025 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45027 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45029 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45031 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45032 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45034 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45036 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45037 be defined individually, they must be defined as a block. Define
45038 S for printing a string instead of hidint the different by using a
45039 macro for adding the 'l'.
45040 * stdio-common/tst-fphex-wide.c: Adjust.
45042 2012-03-07 Marek Polacek <polacek@redhat.com>
45044 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45046 2012-03-08 Marek Polacek <polacek@redhat.com>
45049 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45050 * stdio-common/tst-fphex.c: Define a few macros to make the
45051 test reusable. Use them.
45052 * stdio-common/tst-fphex-wide.c: New file.
45054 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45057 * manual/macros.texi (gnusystems): New macro.
45058 (nongnusystems): Likewise.
45059 (gnulinuxhurdsystems): Likewise.
45060 (gnuhurdsystems): Likewise..
45061 (gnulinuxsystems): Likewise.
45062 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45063 variants of the GNU system, not "GNU system".
45064 * manual/conf.texi: Likewise.
45065 * manual/errno.texi: Likewise. Update example of errno macro
45067 * manual/filesys.texi: Likewise.
45068 (getumask): Document as specific to GNU/Hurd.
45069 * manual/install.texi: Likewise. Reword some references to
45071 * manual/intro.texi: Likewise.
45072 * manual/io.texi: Likewise.
45073 (File Name Portability): Detail which constraints are inapplicable
45074 to all GNU systems and which are only inapplicable to GNU/Hurd.
45075 * manual/job.texi: Likewise.
45076 * manual/llio.texi: Likewise.
45077 (O_NOCTTY): Document as present on GNU/Linux.
45078 * manual/maint.texi: Likewise.
45079 * manual/memory.texi: Likewise.
45080 * manual/pattern.texi: Likewise.
45081 * manual/pipe.texi: Likewise.
45082 * manual/process.texi: Likewise.
45083 * manual/resource.texi: Likewise.
45084 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45086 * manual/setjmp.texi: Likewise.
45087 * manual/signal.texi: Likewise.
45088 * manual/startup.texi: Likewise.
45089 * manual/stdio.texi: Likewise.
45090 * manual/terminal.texi: Likewise.
45091 (ONLCR): Document as POSIX.
45092 (OXTABS): Document availability on GNU/Linux as XTABS.
45093 (ONOEOT): Document availability separately from other bits.
45094 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45095 * manual/time.texi: Likewise.
45096 * manual/users.texi: Likewise.
45097 * INSTALL: Regenerated.
45098 * sysdeps/gnu/errlist.c: Regenerated.
45100 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45101 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45102 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45104 * configure: Regenerated.
45106 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45108 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45109 default includes instead of AC_HEADER_CHECK.
45110 * sysdeps/i386/configure: Regenerated.
45113 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45114 * math/s_cacoshf.c (__cacoshf): Likewise.
45115 * math/s_cacoshl.c (__cacoshl): Likewise.
45116 * math/s_casinh.c (__casinh): Set signs of result from argument.
45117 * math/s_casinhf.c (__casinhf): Likewise.
45118 * math/s_casinhl.c (__casinhl): Likewise.
45119 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45120 (casinh_test): Add more tests.
45121 * sysdeps/i386/fpu/libm-test-ulps: Update.
45122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45124 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45126 * po/zh_TW.po: Update from translation team.
45128 * login/Makefile (distribute): Remove variable.
45129 * catgets/Makefile: Likewise.
45130 * mach/Makefile: Likewise.
45131 * malloc/Makefile: Likewise.
45132 * misc/Makefile: Likewise.
45133 * iconv/Makefile: Likewise.
45134 * nscd/Makefile: Likewise.
45135 * hurd/Makefile: Likewise.
45136 * manual/Makefile: Likewise.
45137 * locale/Makefile: Likewise.
45138 * intl/Makefile: Likewise.
45139 * conform/Makefile: Likewise.
45140 * nss/Makefile: Likewise.
45141 * time/Makefile: Likewise.
45142 * soft-fp/Makefile: Likewise.
45143 * dirent/Makefile: Likewise.
45144 * gmon/Makefile: Likewise.
45145 * po/Makefile: Likewise.
45146 * rt/Makefile: Likewise.
45147 * socket/Makefile: Likewise.
45148 * math/Makefile: Likewise.
45149 * signal/Makefile: Likewise.
45150 * debug/Makefile: Likewise.
45151 * elf/Makefile: Likewise.
45152 * timezone/Makefile: Likewise.
45153 * stdlib/Makefile: Likewise.
45154 * iconvdata/Makefile: Likewise.
45155 * sunrpc/Makefile: Likewise.
45156 * io/Makefile: Likewise.
45157 * argp/Makefile: Likewise.
45158 * inet/Makefile: Likewise.
45159 * hesiod/Makefile: Likewise.
45160 * grp/Makefile: Likewise.
45161 * csu/Makefile: Likewise.
45162 * wctype/Makefile: Likewise.
45163 * crypt/Makefile: Likewise.
45164 * libio/Makefile: Likewise.
45165 * string/Makefile: Likewise.
45166 * nis/Makefile: Likewise.
45167 * resolv/Makefile: Likewise.
45168 * stdio-common/Makefile: Likewise.
45169 * wcsmbs/Makefile: Likewise.
45170 * dlfcn/Makefile: Likewise.
45171 * posix/Makefile: Likewise.
45174 * timezone/Makefile: Don't install timezone files, just the programs
45177 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45179 * nss/databases.def: Add missing gshadow entry.
45181 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45183 2012-03-06 Marek Polacek <polacek@redhat.com>
45186 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45187 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45188 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45189 * stdio-common/tst-long-dbl-fphex.c: New file.
45191 2012-03-06 David S. Miller <davem@davemloft.net>
45193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45194 (set_obp_int): New function.
45195 (get_obp_int): New function.
45196 (__get_clockfreq_via_dev_openprom): Likewise.
45197 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45198 Avoid unused variable warnings on 'val' and use builtin_expect.
45199 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45201 (INLINE_CLONE_SYSCALL): Likewise.
45203 2012-03-05 David S. Miller <davem@davemloft.net>
45205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45207 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45212 only for |x| >= 40.
45213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45215 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45218 Replace gettimeofday with __vdso_gettimeofday.
45220 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45221 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45222 __vdso_clock_gettime and __vdso_getcpu.
45224 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45225 time with __vdso_time.
45227 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45229 * manual/lang.texi (size_t): Note types to which size_t may be
45230 equivalent with the GNU C Library, but do not describe when
45231 differences between them are significant.
45233 2012-03-05 Andreas Jaeger <aj@suse.de>
45235 * sysdeps/i386/fpu/libm-test-ulps: Update.
45237 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45240 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45241 (__ieee754_pow): Save and restore rounding mode and use
45242 round-to-nearest for main computations.
45243 * math/libm-test.inc (pow_test_tonearest): New function.
45244 (pow_test_towardzero): Likewise.
45245 (pow_test_downward): Likewise.
45246 (pow_test_upward): Likewise.
45247 (main): Call the new functions.
45248 * sysdeps/i386/fpu/libm-test-ulps: Update.
45249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45252 * math/libm-test.inc (cosh_test_tonearest): New function.
45253 (cosh_test_towardzero): Likewise.
45254 (cosh_test_downward): Likewise.
45255 (cosh_test_upward): Likewise.
45256 (sinh_test_tonearest): Likewise.
45257 (sinh_test_towardzero): Likewise.
45258 (sinh_test_downward): Likewise.
45259 (sinh_test_upward): Likewise.
45260 (main): Call the new functions.
45261 * sysdeps/i386/fpu/libm-test-ulps: Update.
45262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45264 2012-03-05 Tom de Vries <tom@codesourcery.com>
45266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45267 default stack guard is set in last bytes.
45268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45270 2012-03-05 Kees Cook <keescook@chromium.org>
45272 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45275 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45276 possibly allocate from heap instead of stack.
45277 * stdio-common/bug-vfprintf-nargs.c: New file.
45278 * stdio-common/Makefile (tests): Add nargs overflow test.
45280 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45284 2012-03-03 Marek Polacek <polacek@redhat.com>
45286 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45287 * math/math_private.h: Likewise.
45288 * stdlib/tst-strtod.c: Likewise.
45289 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45290 * sysdeps/x86_64/bits/atomic.h: Likewise.
45292 2012-03-02 David S. Miller <davem@davemloft.net>
45294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45298 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45299 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45300 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45301 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45303 2012-03-02 Roland McGrath <roland@hack.frob.com>
45306 * manual/examples/README: New file, says the example source files
45307 can be used under GPL>=2.
45308 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45309 line containing just "*/".
45310 * manual/examples/add.c: Add copyright header (GPL>=2).
45311 * manual/examples/argp-ex1.c: Likewise.
45312 * manual/examples/argp-ex2.c: Likewise.
45313 * manual/examples/argp-ex3.c: Likewise.
45314 * manual/examples/argp-ex4.c: Likewise.
45315 * manual/examples/atexit.c: Likewise.
45316 * manual/examples/db.c: Likewise.
45317 * manual/examples/dir.c: Likewise.
45318 * manual/examples/dir2.c: Likewise.
45319 * manual/examples/execinfo.c: Likewise.
45320 * manual/examples/filecli.c: Likewise.
45321 * manual/examples/filesrv.c: Likewise.
45322 * manual/examples/fmtmsgexpl.c: Likewise.
45323 * manual/examples/genpass.c: Likewise.
45324 * manual/examples/inetcli.c: Likewise.
45325 * manual/examples/inetsrv.c: Likewise.
45326 * manual/examples/isockad.c: Likewise.
45327 * manual/examples/longopt.c: Likewise.
45328 * manual/examples/memopen.c: Likewise.
45329 * manual/examples/memstrm.c: Likewise.
45330 * manual/examples/mkfsock.c: Likewise.
45331 * manual/examples/mkisock.c: Likewise.
45332 * manual/examples/mygetpass.c: Likewise.
45333 * manual/examples/pipe.c: Likewise.
45334 * manual/examples/popen.c: Likewise.
45335 * manual/examples/rprintf.c: Likewise.
45336 * manual/examples/search.c: Likewise.
45337 * manual/examples/select.c: Likewise.
45338 * manual/examples/setjmp.c: Likewise.
45339 * manual/examples/sigh1.c: Likewise.
45340 * manual/examples/sigusr.c: Likewise.
45341 * manual/examples/stpcpy.c: Likewise.
45342 * manual/examples/strdupa.c: Likewise.
45343 * manual/examples/strftim.c: Likewise.
45344 * manual/examples/strncat.c: Likewise.
45345 * manual/examples/subopt.c: Likewise.
45346 * manual/examples/swapcontext.c: Likewise.
45347 * manual/examples/termios.c: Likewise.
45348 * manual/examples/testopt.c: Likewise.
45349 * manual/examples/testpass.c: Likewise.
45350 * manual/examples/timeval_subtract.c: Likewise.
45353 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45355 * manual/timeval_subtract.c.texi: ... here, new file.
45357 2012-03-02 David S. Miller <davem@davemloft.net>
45359 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45361 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45364 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45365 (__sin): Save and restore rounding mode and use round-to-nearest
45366 for all computations.
45367 (__cos): Save and restore rounding mode and use round-to-nearest
45368 for all computations.
45369 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45371 (tan): Save and restore rounding mode and use round-to-nearest for
45373 * math/libm-test.inc (cos_test_tonearest): New function.
45374 (cos_test_towardzero): Likewise.
45375 (cos_test_downward): Likewise.
45376 (cos_test_upward): Likewise.
45377 (sin_test_tonearest): Likewise.
45378 (sin_test_towardzero): Likewise.
45379 (sin_test_downward): Likewise.
45380 (sin_test_upward): Likewise.
45381 (tan_test_tonearest): Likewise.
45382 (tan_test_towardzero): Likewise.
45383 (tan_test_downward): Likewise.
45384 (tan_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.
45390 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45391 small n, then large n, before computing and testing k+n.
45392 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45397 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45398 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45399 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45400 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45401 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45402 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45403 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45404 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45405 * math/libm-test.inc (scalbn_test): Add more tests.
45406 (scalbln_test): Likewise.
45408 * manual/filesys.texi (mode_t): Describe constraints on size and
45409 signedness, not exact equivalence to a particular type.
45411 (ino64_t): Likewise.
45413 (nlink_t): Likewise.
45414 (blkcnt_t): Likewise.
45415 (blkcnt64_t): Likewise.
45416 * manual/llio.texi (off_t): Likewise.
45419 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45420 (__ieee754_exp): Save and restore rounding mode and use
45421 round-to-nearest for all computations.
45422 * math/libm-test.inc (exp_test_tonearest): New function.
45423 (exp_test_towardzero): Likewise.
45424 (exp_test_downward): Likewise.
45425 (exp_test_upward): Likewise.
45426 (main): Call the new functions.
45427 * sysdeps/i386/fpu/libm-test-ulps: Update.
45428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45430 2012-03-01 Chris Demetriou <cgd@google.com>
45432 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45433 have predictable order.
45435 2012-03-01 David S. Miller <davem@davemloft.net>
45437 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45439 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45440 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45441 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45442 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45444 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45445 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45446 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45448 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45449 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45450 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45451 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45452 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45457 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45458 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45460 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45461 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45462 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45463 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45464 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45466 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45467 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45468 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45469 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45470 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45474 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45476 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45477 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45478 * sysdeps/sparc/elf/configure: Regenerated.
45480 2012-03-01 Joseph Myers <joseph@codesourcery.com>
45482 * configure.in (AS, LD): Require binutils 2.20 or later.
45483 * configure: Regenerated.
45484 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45485 as required minimum version.
45486 * INSTALL: Regenerated.
45490 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45491 before squaring exponent.
45492 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45493 bottom long double and 27 bits of top long double before squaring
45495 * math/libm-test.inc (erfc_test): Add more tests.
45496 * sysdeps/i386/fpu/libm-test-ulps: Update.
45497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45500 2012-03-01 Kai Tietz <ktietz@redhat.com>
45502 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45503 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45504 containing bit-fields.
45505 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45506 * soft-fp/single.h (_FP_UNION_S): Likewise.
45507 * soft-fp/double.h (_FP_UNION_D): Likewise.
45509 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45512 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45513 not include ../strcmp.S.
45514 [USE_AS_STRNCASECMP_L]: Likewise.
45515 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45516 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45517 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45518 (__strncasecmp_l_ia32): Define as alias to
45519 __strncasecmp_l_nonascii.
45522 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45523 * sysdeps/i386/fpu/libm-test-ulps: Update.
45524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45526 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45529 2012-02-29 Jeff Law <law@redhat.com>
45531 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45532 out of bounds read.
45534 2012-02-29 Marek Polacek <polacek@redhat.com>
45537 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45538 * elf/Makefile: Add rules to run tst-unused-dep.out.
45540 2012-02-28 David S. Miller <davem@davemloft.net>
45542 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45543 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45544 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45546 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45547 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45549 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45551 * math/libm-test.inc (llround_test): Move one test from
45552 lround_test. Use TEST_f_L in moved test.
45553 (lround_test): Move misplaced test to llround_test. Add testcase
45556 2012-02-28 Ulrich Drepper <drepper@gmail.com>
45558 * sysdeps/x86_64/fpu/e_expf.S: New file.
45559 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45561 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45564 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45565 of remain_len that may cause incomplete multi-byte character and
45567 * posix/bug-regex33.c: New file.
45568 * posix/Makefile (tests): Add bug-regex33.
45570 2012-02-28 Joseph Myers <joseph@codesourcery.com>
45572 * manual/macros.texi: New file.
45573 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45574 * manual/libc.texinfo: Include macros.texi.
45575 * manual/creatute.texi: Likewise.
45576 * manual/install.texi: Likewise.
45577 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45578 @glibcadj{} in references to the GNU C Library.
45579 * manual/charset.texi: Likewise.
45580 * manual/conf.texi: Likewise.
45581 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45582 when not using those macros.
45583 * manual/creature.texi: Likewise.
45584 * manual/crypt.texi: Likewise.
45585 * manual/errno.texi: Likewise.
45586 * manual/filesys.texi: Likewise.
45587 * manual/header.texi: Likewise.
45588 * manual/install.texi: Likewise.
45589 * manual/intro.texi: Likewise.
45590 * manual/io.texi: Likewise.
45591 * manual/job.texi: Likewise.
45592 * manual/lang.texi: Likewise.
45593 * manual/libc.texiinfo: Likewise.
45594 * manual/llio.texi: Likewise.
45595 * manual/locale.texi: Likewise.
45596 * manual/maint.texi: Likewise.
45597 * manual/math.texi: Likewise.
45598 * manual/memory.texi: Likewise.
45599 * manual/message.texi: Likewise.
45600 * manual/nss.texi: Likewise.
45601 * manual/pattern.texi: Likewise.
45602 * manual/process.texi: Likewise.
45603 * manual/resource.texi: Likewise.
45604 * manual/search.texi: Likewise.
45605 * manual/setjmp.texi: Likewise.
45606 * manual/signal.texi: Likewise.
45607 * manual/socket.texi: Likewise.
45608 * manual/startup.texi: Likewise.
45609 * manual/stdio.texi: Likewise.
45610 * manual/string.texi: Likewise.
45611 * manual/sysinfo.texi: Likewise.
45612 * manual/syslog.texi: Likewise.
45613 * manual/terminal.texi: Likewise.
45614 * manual/time.texi: Likewise.
45615 * manual/users.texi: Likewise.
45616 * INSTALL: Regenerated.
45617 * NOTES: Regenerated.
45618 * sysdeps/gnu/errlist.c: Regenerated.
45620 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45622 * include/dirent.h: Include <dirstream.h> before
45625 2012-02-28 David S. Miller <davem@davemloft.net>
45627 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45628 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45629 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45630 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45632 2012-02-27 David S. Miller <davem@davemloft.net>
45634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45636 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45637 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45640 frame pointer instead of stack pointer relative arg slot.
45641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45642 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45643 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45645 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45648 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45650 2012-02-27 David S. Miller <davem@davemloft.net>
45652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45658 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45661 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45663 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45664 later. Allow versions 5-9.
45665 * configure: Regenerated.
45666 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45667 required minimum version and 4.6 as recommended version. Do not
45668 mention bugs in GCC 2.7 and 2.8.
45669 * INSTALL: Regenerated.
45671 2012-02-27 David S. Miller <davem@davemloft.net>
45673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45677 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45678 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45679 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45680 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45683 manipulate bits before adding and subtracting TWO112[sx].
45684 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45686 2012-02-27 Roland McGrath <roland@hack.frob.com>
45689 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45690 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45691 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45692 being in POSIX, because they are in 1003.1-2008.
45694 * rt/tst-aio.c: Include <fcntl.h>.
45695 * rt/tst-aio7.c: Likewise.
45696 * rt/tst-aio64.c: Likewise.
45698 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45700 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45702 * manual/install.texi (--with-headers): Describe headers as
45703 interface headers, not private headers.
45704 (Specific advice for GNU/Linux systems): Describe use of headers
45705 from "make headers_install", not private headers from older
45707 * INSTALL: Regenerated.
45708 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45710 * sysdeps/unix/sysv/linux/configure: Regenerated.
45712 * manual/llio.texi (fclean): Remove documentation.
45714 * manual/Makefile (libc-texi-generated): New variable. Include
45716 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45717 $(libc-texi-generated), not duplicated list of files.
45718 (version.texi, stamp-version): New rules.
45719 (realclean): Remove $(libc-texi-generated), not individual files
45720 from that list. Do not remove dir-add.texinfo.
45721 * manual/libc.texinfo: Comment out uses of edition numbers and
45722 references to printed manual. Remove last-updated dates.
45723 (EDITION): Comment out.
45725 (VERSION, UPDATED): Remove.
45726 (version.texi): Include.
45728 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45730 * sysdeps/posix/spawni.c: Include <signal.h>.
45731 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45732 * sysdeps/pthread/aio_fsync.c: Likewise.
45734 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45736 * conform/Makefile (tests): Run only when not cross-compiling and
45737 when fast-check is not defined.
45739 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45740 * conform/data/limits.h-data: Fixes for POSIX2008.
45741 * conform/run-conformtest.sh: Run all tests.
45742 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45744 * include/bits/dlfcn.h: Likewise.
45745 * include/langinfo.h: Likewise.
45746 * include/monetary.h: Likewise.
45747 * include/sys/poll.h: Likewise.
45749 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45751 * posix/spawn.h: Define __need_sigset_t.
45752 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45753 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45754 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45755 to get sigevent_t only.
45756 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45757 only for __USE_GNU.
45758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45759 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45760 process_vm_writev only for __USE_GNU.
45761 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45763 * conform/Makefile: For now ignore errors from run-conformtest.
45764 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45765 POSIX to avoid namespace pollution. Don't prepend headers.
45766 * conform/data/aio.h-data: Fixes for POSIX testing.
45767 * conform/data/fcntl.h-data: Likewise.
45768 * conform/data/glob.h-data: Likewise.
45769 * conform/data/grp.h-data: Likewise.
45770 * conform/data/pthread.h-data: Likewise.
45771 * conform/data/pwd.h-data: Likewise.
45772 * conform/data/signal.h-data: Likewise.
45773 * conform/data/spawn.h-data: Likewise.
45774 * conform/data/stdio.h-data: Likewise.
45775 * conform/data/stdlib.h-data: Likewise.
45776 * conform/data/stropts.h-data: Likewise.
45777 * conform/data/sys/mman.h-data: Likewise.
45778 * conform/data/sys/stat.h-data: Likewise.
45779 * conform/data/sys/types.h-data: Likewise.
45780 * conform/data/sys/wait.h-data: Likewise.
45781 * conform/data/time.h-data: Likewise.
45782 * conform/data/unistd.h-data: Likewise.
45783 * conform/data/utime.h-data: Likewise.
45785 * io/sys/stat.h: fchmod was always in POSIX.
45786 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45787 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45788 * rt/aio.h: Define __need_timespec before including <time.h>.
45789 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45790 struct. Add forward declaration of pthread_attr_t and use it in
45792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45793 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45794 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45795 always remove CLK_TCK definition.
45797 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45799 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45801 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45803 * conform/run-conformtest.sh: New file.
45804 * conform/Makefile: Run run-conformtest for tests.
45805 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45808 * conform/data/uchar.h-data: New file.
45809 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45810 * conform/data/arpa/inet.h-data: Likewise.
45811 * conform/data/assert.h-data: Likewise.
45812 * conform/data/complex.h-data: Likewise.
45813 * conform/data/cpio.h-data: Likewise.
45814 * conform/data/ctype.h-data: Likewise.
45815 * conform/data/dirent.h-data: Likewise.
45816 * conform/data/dlfcn.h-data: Likewise.
45817 * conform/data/errno.h-data: Likewise.
45818 * conform/data/fcntl.h-data: Likewise.
45819 * conform/data/float.h-data: Likewise.
45820 * conform/data/fmtmsg.h-data: Likewise.
45821 * conform/data/fnmatch.h-data: Likewise.
45822 * conform/data/ftw.h-data: Likewise.
45823 * conform/data/glob.h-data: Likewise.
45824 * conform/data/grp.h-data: Likewise.
45825 * conform/data/iconv.h-data: Likewise.
45826 * conform/data/inttypes.h-data: Likewise.
45827 * conform/data/langinfo.h-data: Likewise.
45828 * conform/data/libgen.h-data: Likewise.
45829 * conform/data/limits.h-data: Likewise.
45830 * conform/data/locale.h-data: Likewise.
45831 * conform/data/math.h-data: Likewise.
45832 * conform/data/monetary.h-data: Likewise.
45833 * conform/data/mqueue.h-data: Likewise.
45834 * conform/data/ndbm.h-data: Likewise.
45835 * conform/data/net/if.h-data: Likewise.
45836 * conform/data/netdb.h-data: Likewise.
45837 * conform/data/netinet/in.h-data: Likewise.
45838 * conform/data/nl_types.h-data: Likewise.
45839 * conform/data/poll.h-data: Likewise.
45840 * conform/data/pthread.h-data: Likewise.
45841 * conform/data/pwd.h-data: Likewise.
45842 * conform/data/regex.h-data: Likewise.
45843 * conform/data/sched.h-data: Likewise.
45844 * conform/data/search.h-data: Likewise.
45845 * conform/data/semaphore.h-data: Likewise.
45846 * conform/data/setjmp.h-data: Likewise.
45847 * conform/data/signal.h-data: Likewise.
45848 * conform/data/spawn.h-data: Likewise.
45849 * conform/data/stdarg.h-data: Likewise.
45850 * conform/data/stdio.h-data: Likewise.
45851 * conform/data/stdlib.h-data: Likewise.
45852 * conform/data/string.h-data: Likewise.
45853 * conform/data/strings.h-data: Likewise.
45854 * conform/data/stropts.h-data: Likewise.
45855 * conform/data/sys/ipc.h-data: Likewise.
45856 * conform/data/sys/mman.h-data: Likewise.
45857 * conform/data/sys/msg.h-data: Likewise.
45858 * conform/data/sys/resource.h-data: Likewise.
45859 * conform/data/sys/select.h-data: Likewise.
45860 * conform/data/sys/sem.h-data: Likewise.
45861 * conform/data/sys/shm.h-data: Likewise.
45862 * conform/data/sys/socket.h-data: Likewise.
45863 * conform/data/sys/stat.h-data: Likewise.
45864 * conform/data/sys/statvfs.h-data: Likewise.
45865 * conform/data/sys/time.h-data: Likewise.
45866 * conform/data/sys/timeb.h-data: Likewise.
45867 * conform/data/sys/times.h-data: Likewise.
45868 * conform/data/sys/types.h-data: Likewise.
45869 * conform/data/sys/uio.h-data: Likewise.
45870 * conform/data/sys/un.h-data: Likewise.
45871 * conform/data/sys/utsname.h-data: Likewise.
45872 * conform/data/sys/wait.h-data: Likewise.
45873 * conform/data/syslog.h-data: Likewise.
45874 * conform/data/tar.h-data: Likewise.
45875 * conform/data/termios.h-data: Likewise.
45876 * conform/data/utime.h-data: Likewise.
45877 * conform/data/utmpx.h-data: Likewise.
45878 * conform/data/varargs.h-data: Likewise.
45879 * conform/data/wchar.h-data: Likewise.
45880 * conform/data/wctype.h-data: Likewise.
45881 * conform/data/wordexp.h-data: Likewise.
45883 * include/stropts.h: New file.
45884 * include/uchar.h: New file.
45885 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45886 * include/assert.h: Likewise.
45887 * include/ctype.h: Likewise.
45888 * include/dirent.h: Likewise.
45889 * include/dlfcn.h: Likewise.
45890 * include/fcntl.h: Likewise.
45891 * include/fnmatch.h: Likewise.
45892 * include/glob.h: Likewise.
45893 * include/grp.h: Likewise.
45894 * include/libio.h: Likewise.
45895 * include/locale.h: Likewise.
45896 * include/math.h: Likewise.
45897 * include/net/if.h: Likewise.
45898 * include/netdb.h: Likewise.
45899 * include/netinet/in.h: Likewise.
45900 * include/pthread.h: Likewise.
45901 * include/pwd.h: Likewise.
45902 * include/regex.h: Likewise.
45903 * include/sched.h: Likewise.
45904 * include/search.h: Likewise.
45905 * include/setjmp.h: Likewise.
45906 * include/signal.h: Likewise.
45907 * include/stdio.h: Likewise.
45908 * include/stdlib.h: Likewise.
45909 * include/string.h: Likewise.
45910 * include/sys/cdefs.h: Likewise.
45911 * include/sys/mman.h: Likewise.
45912 * include/sys/msg.h: Likewise.
45913 * include/sys/resource.h: Likewise.
45914 * include/sys/select.h: Likewise.
45915 * include/sys/socket.h: Likewise.
45916 * include/sys/stat.h: Likewise.
45917 * include/sys/statvfs.h: Likewise.
45918 * include/sys/time.h: Likewise.
45919 * include/sys/times.h: Likewise.
45920 * include/sys/uio.h: Likewise.
45921 * include/sys/utsname.h: Likewise.
45922 * include/sys/wait.h: Likewise.
45923 * include/termios.h: Likewise.
45924 * include/time.h: Likewise.
45925 * include/ulimit.h: Likewise.
45926 * include/unistd.h: Likewise.
45927 * include/utime.h: Likewise.
45928 * include/wchar.h: Likewise.
45929 * include/wctype.h: Likewise.
45930 * include/wordexp.h: Likewise.
45932 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45934 * time/time.h: TIME_UTC must be a macro.
45935 Make timespec_get available for ISO C11 only as well.
45937 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45939 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45940 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45942 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45944 * configure.in: Use -o not -a in test for unsupported multi-arch.
45946 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45948 * manual/texinfo.tex: Update to version 2012-01-19.16.
45950 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45952 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45954 2012-02-24 Roland McGrath <roland@hack.frob.com>
45957 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45958 * manual/fdl-1.3.texi: New file.
45959 * manual/fdl-1.1.texi: File removed.
45962 * manual/libc.texinfo (FDL_VERSION): New @set.
45963 Use it for mention of FDL in cover text.
45964 (Documentation License): Use it in @include file name.
45966 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45967 Roland McGrath <roland@hack.frob.com>
45970 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45971 (not LONG_LONG_MAX and LONG_LONG_MIN.
45972 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45973 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45975 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45977 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45981 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45982 manipulate bits before adding and subtracting TWO23[sx].
45983 * math/libm-test.inc (nearbyint_test): Add more tests.
45985 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45988 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45989 bits before adding and subtracting TWO23[sx].
45990 * math/libm-test.inc (rint_test): Add more tests.
45991 (rint_test_tonearest): Likewise.
45992 (rint_test_towardzero): Likewise.
45993 (rint_test_downward): Likewise.
45994 (rint_test_upward: Likewise.
45996 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45999 * include/stdc-predef.h: New file. Extracted from features.h.
46000 * include/features.h: Include stdc-predef.h.
46001 * Makefile (headers): Add stdc-predef.h.
46002 * CONFORMANCE (Compiler limitations): Update.
46004 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46006 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46008 2012-02-21 David S. Miller <davem@davemloft.net>
46010 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46011 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46013 2012-02-20 David S. Miller <davem@davemloft.net>
46015 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46016 using a normal save/restore sequence, rather than allocating a
46017 dummy stack frame just to store a frame pointer and restore.
46018 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46020 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46022 * manual/install.texi: Fix stray word in line-wrapped comment.
46024 2012-02-20 David S. Miller <davem@davemloft.net>
46026 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46027 both binutils and gcc support GOTDATA.
46029 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46030 "rd %pc" in the PIC register setup sequences.
46032 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46033 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46034 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46035 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46036 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46038 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46039 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46040 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46041 (SYSCALL_ERROR_HANDLER): Likewise.
46042 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46043 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46045 (SYSCALL_ERROR_HANDLER): Likewise.
46047 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46048 (HAVE_GCC_GOTDATA): New.
46049 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46050 relocation support in both binutils and gcc.
46051 * sysdeps/sparc/elf/configure: Regenerate.
46053 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46054 * sysdeps/sparc/sparc32/elf/configure: Delete.
46055 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46056 * sysdeps/sparc/sparc64/elf/configure: Delete.
46057 * sysdeps/sparc/elf/configure.in: New file.
46058 * sysdeps/sparc/elf/configure: Generate.
46060 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46061 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46062 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46063 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46064 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46066 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46068 * manual/install.texi: Do not mention specific glibc version
46070 * manual/libc.texinfo (VERSION, UPDATED): Update.
46071 (@copying): Use @copyright{} and range of years.
46073 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46076 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46077 [crti.S not in sysdirs] (generated): Do not append.
46078 [crti.S not in sysdirs] (omit-deps): Likewise.
46079 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46080 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46081 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46082 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46083 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46085 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46086 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46087 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46088 * csu/defs.awk: Remove file.
46089 * sysdeps/generic/initfini.c: Likewise.
46090 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46092 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46095 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46097 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46098 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46099 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46100 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46101 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46102 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46104 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46105 (__EPOLL_PACKED): Define to empty if not defined by
46107 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46111 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46113 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46114 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46115 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46116 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46118 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46122 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46124 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46126 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46127 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46128 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46131 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46133 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46134 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46136 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46138 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46139 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46141 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46143 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46146 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46148 * math/w_acos.c: Use non-signaling floating-point comparisons.
46149 * math/w_acosf.c: Likewise.
46150 * math/w_acosh.c: Likewise.
46151 * math/w_acoshf.c: Likewise.
46152 * math/w_acoshl.c: Likewise.
46153 * math/w_acosl.c: Likewise.
46154 * math/w_asin.c: Likewise.
46155 * math/w_asinf.c: Likewise.
46156 * math/w_asinl.c: Likewise.
46157 * math/w_atanh.c: Likewise.
46158 * math/w_atanhf.c: Likewise.
46159 * math/w_atanhl.c: Likewise.
46160 * math/w_exp2.c: Likewise.
46161 * math/w_exp2f.c: Likewise.
46162 * math/w_exp2l.c: Likewise.
46163 * math/w_j0.c: Likewise.
46164 * math/w_j0f.c: Likewise.
46165 * math/w_j0l.c: Likewise.
46166 * math/w_j1.c: Likewise.
46167 * math/w_j1f.c: Likewise.
46168 * math/w_j1l.c: Likewise.
46169 * math/w_jn.c: Likewise.
46170 * math/w_jnf.c: Likewise.
46171 * math/w_log.c: Likewise.
46172 * math/w_log10.c: Likewise.
46173 * math/w_log10f.c: Likewise.
46174 * math/w_log10l.c: Likewise.
46175 * math/w_log2.c: Likewise.
46176 * math/w_log2f.c: Likewise.
46177 * math/w_log2l.c: Likewise.
46178 * math/w_logf.c: Likewise.
46179 * math/w_logl.c: Likewise.
46180 * math/w_sqrt.c: Likewise.
46181 * math/w_sqrtf.c: Likewise.
46182 * math/w_sqrtl.c: Likewise.
46183 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46184 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46185 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46186 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46187 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46189 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46192 * manual/string.texi (strnlen): Use correct parameter name in
46193 equivalent expression.
46195 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46198 * manual/users.texi (seteuid): Consistently use neweuid for
46201 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46204 * manual/nss.texi (Services in the NSS configuration): Correct
46205 list of services in example configuration file.
46207 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46210 * manual/arith.texi: Remove statements about negative zero
46211 behaving identically to zero.
46213 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46216 * manual/install.texi: Do not document upgrading from libc5.
46218 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46221 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46223 2012-02-18 David S. Miller <davem@davemloft.net>
46225 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46226 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46227 %o7 across the call.
46228 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46231 SETUP_PIC_REG_LEAF.
46232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46233 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46234 * sysdeps/sparc/crtn.S: Likewise.
46236 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46238 * aout/Makefile: Remove.
46240 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46243 * manual/examples/argp-ex1.c (main): Format definition in GNU
46245 * manual/examples/argp-ex2.c (main): Likewise.
46246 * manual/examples/argp-ex3.c (main): Likewise.
46247 * manual/examples/argp-ex4.c (main): Likewise.
46248 * manual/examples/longopt.c (main): Use new-style prototype
46250 * manual/examples/strncat.c (main): Specify return type and use
46251 (void) for arguments.
46252 * manual/examples/subopt.c (main): Use char **argv argument.
46254 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46257 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46260 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46263 * manual/string.texi (strchr): Change when strchrnul is
46266 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46269 * manual/locale.texi (setlocale): Document LOCPATH.
46271 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46274 * manual/process.texi (execle): Move @dots{} before last argument.
46276 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46279 * manual/charset.texi (Generic Charset Conversion): Fix typo
46280 (LC_TYPE -> LC_CTYPE).
46282 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46285 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46286 (scalbnf): Likewise.
46287 (scalbnl): Likewise.
46288 (scalbln): Likewise.
46289 (scalblnf): Likewise.
46290 (scalblnl): Likewise.
46291 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46292 (vwarnx): Likewise.
46295 * manual/filesys.texi (telldir): Use braces around return type.
46296 * manual/llio.texi (mmap): Add space after comma.
46297 (mmap64): Likewise.
46298 * manual/math.texi (jn): Use @var{} on parameter names.
46304 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46306 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46308 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46309 (sched_get_priority_max): Likewise.
46310 * manual/signal.texi (sigvec): Add space after comma.
46311 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46313 (if_indextoname): Likewise.
46314 (if_freenameindex): Likewise.
46315 (sendto): Use ',' instead of '.' in prototype.
46316 * manual/startup.texi (syscall): Use @dots{} instead of literal
46318 * manual/stdio.texi (__fpending): Separate initial words of
46319 paragraph from @deftypefun line.
46320 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46322 (vsyslog): Use @var{} on parameter names.
46323 * manual/terminal.texi (stty): Use @var{} on parameter names.
46324 * manual/users.texi (getutmp): Use @var{} on parameter names.
46325 (getutmpx): Likewise.
46327 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46330 * manual/stdio.texi (fopen): Fix typos in description of
46333 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46336 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46337 get clock_id definition.
46339 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46342 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46343 (madvise): Cast every argument to void on its own.
46345 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46348 * manual/startup.texi (Exit Status): Fix typo.
46350 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46353 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46354 * manual/examples/argp-ex2.c: Likewise.
46355 * manual/examples/argp-ex3.c: Likewise.
46357 2012-02-16 Richard Henderson <rth@redhat.com>
46359 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46360 * sysdeps/s390/s390-32/initfini.c: Remove.
46361 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46362 * sysdeps/s390/s390-64/initfini.c: Remove.
46364 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46366 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46367 compiler output for sysdeps/generic/initfini.c.
46368 * sysdeps/sh/elf/initfini.c: Remove file.
46370 2012-02-16 David S. Miller <davem@davemloft.net>
46373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46375 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46376 * sysdeps/sparc/crti.S: New file.
46377 * sysdeps/sparc/crtn.S: New file.
46378 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46379 * sysdeps/sparc/sparc64/Makefile: Likewise.
46381 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46384 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46386 2012-02-15 Roland McGrath <roland@hack.frob.com>
46389 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46391 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46392 (write, read, close): Likewise.
46393 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46395 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46397 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46398 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46399 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46400 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46402 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46406 2012-02-14 Marek Polacek <polacek@redhat.com>
46408 * sysdeps/x86_64/crti.S: New file.
46409 * sysdeps/x86_64/crtn.S: New file.
46410 * sysdeps/x86_64/elf/initfini.c: Remove file.
46412 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46414 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46415 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46416 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46417 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46419 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46423 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46425 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46426 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46427 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46428 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46430 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46434 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46436 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46437 __feraiseexcept instead of feraiseexcept.
46439 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46440 nanosleep invocations.
46441 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46442 strings, and add error checking for a nanosleep invocations.
46444 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46446 Replace FSF snail mail address with URLs, as per GNU coding standards.
46447 Most of the snail mail addresses were wrong anyway, and omitting
46448 them makes the source code easier to maintain. Almost all of the
46449 changes are to license notices and to locale LC_IDENTIFICATION
46450 addresses, except for this one:
46451 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46452 not its snail mail address.
46454 2012-02-09 Richard Henderson <rth@twiddle.net>
46456 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46457 of kernel-features.h.
46459 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46461 2012-02-08 Marek Polacek <polacek@redhat.com>
46463 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46464 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46465 * sysdeps/gnu/_G_config.h: Likewise.
46466 * sysdeps/generic/_G_config.h: Likewise.
46468 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46470 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46474 * sysdeps/powerpc/powerpc32/crti.S: New file.
46475 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46476 * sysdeps/powerpc/powerpc64/crti.S: New file.
46477 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46479 * Makeconfig (have-initfini): Don't set.
46480 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46481 * configure.in (nopic_initfini): Don't substitute.
46482 * config.h.in (HAVE_INITFINI): Don't #undef.
46483 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46484 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46486 2012-02-08 Joseph Myers <joseph@codesourcery.com>
46488 Support crti.S and crtn.S provided directly by architectures.
46489 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46490 [crti.S in sysdirs] (omit-deps): Likewise.
46491 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46492 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46493 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46494 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46495 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46496 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46497 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46498 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46499 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46500 compiler output for sysdeps/generic/initfini.c.
46501 * sysdeps/i386/elf/Makefile: Remove file.
46502 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46504 2012-02-07 Marek Polacek <polacek@redhat.com>
46506 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46507 * sysdeps/gnu/_G_config.h: Likewise.
46508 * sysdeps/mach/hurd/_G_config.h: Likewise.
46510 2012-02-07 Marek Polacek <polacek@redhat.com>
46512 * math/Makefile (tests): Add tst-CMPLX2.
46513 * math/tst-CMPLX2.c: New file.
46515 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46517 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46519 * math/libm-test.inc (jn_test): Add missing L suffix.
46521 2012-02-06 Marek Polacek <polacek@redhat.com>
46523 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46524 * sysdeps/i386/fpu/e_powf.S: Likewise.
46525 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46526 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46527 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46528 * sysdeps/i386/fpu/e_pow.S: Likewise.
46529 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46530 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46531 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46532 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46533 * sysdeps/i386/fpu/e_log2.S: Likewise.
46534 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46535 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46536 * sysdeps/i386/fpu/e_powl.S: Likewise.
46537 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46538 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46539 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46540 * sysdeps/i386/fpu/e_logl.S: Likewise.
46541 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46542 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46543 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46544 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46545 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46546 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46547 * sysdeps/i386/fpu/e_log.S: Likewise.
46548 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46549 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46550 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46551 * sysdeps/i386/fpu/e_logf.S: Likewise.
46552 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46553 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46554 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46555 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46556 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46557 * sysdeps/i386/fpu/e_log10.S: Likewise.
46558 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46559 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46560 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46561 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46562 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46563 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46564 * sysdeps/i386/asm-syntax.h: Likewise.
46565 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46566 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46567 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46568 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46569 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46570 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46571 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46572 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46573 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46574 * sysdeps/powerpc/sysdep.h: Likewise.
46575 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46576 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46578 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46581 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46583 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46585 * sysdeps/i386/sysdep.h: Include <features.h>.
46586 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46589 2012-02-05 Joseph Myers <joseph@codesourcery.com>
46591 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46593 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46596 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46598 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46599 (SETUP_PIC_REG): Use GET_PC_THUNK.
46600 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46603 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46605 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46606 for non-PIC compilation.
46607 (SETUP_PIC_REG): Add .p2align directive.
46608 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46609 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46610 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46611 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46612 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46613 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46614 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46616 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46617 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46618 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46619 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46620 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46621 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46622 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46623 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46624 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46625 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46626 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46627 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46628 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46630 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46631 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46632 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46633 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46634 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46635 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46636 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46637 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46638 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46639 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46640 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46641 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46642 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46643 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46644 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46645 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46646 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46647 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46648 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46650 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46652 * math/tst-CMPLX.c: Include <stdio.h>.
46654 2012-01-31 Joseph Myers <joseph@codesourcery.com>
46656 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46658 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46659 * sysdeps/sparc/bits/mathdef.h: Likewise.
46661 2012-01-31 Marek Polacek <polacek@redhat.com>
46663 * libio/libio.h: Don't define _PARAMS.
46664 * locale/programs/config.h: Don't define PARAMS.
46665 * stdlib/strtol_l.c: Likewise.
46666 (__strtol_l): Remove PARAMS from the prototype.
46668 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46670 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46671 names. Just use the correct names. Remove unnecessary wrapper
46673 * malloc/arena.c: Likewise.
46674 * malloc/hooks.c: Likewise.
46676 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46677 ARENA_TEST says not to. Simplify test for creation of a new arena.
46678 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46680 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46682 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46684 (update_get_addr): New function.
46685 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46686 GET_ADDR_MODULE parameter.
46688 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46690 * crypt/cert.c: Remove __STDC__ conditionals.
46691 * crypt/crypt-entry.c: Likewise.
46692 * crypt/crypt_util.c: Likewise.
46693 * libio/filedoalloc.c: Likewise.
46694 * libio/fileops.c: Likewise.
46695 * libio/genops.c: Likewise.
46696 * libio/iofclose.c: Likewise.
46697 * libio/iofdopen.c: Likewise.
46698 * libio/iofopen.c: Likewise.
46699 * libio/iofopen64.c: Likewise.
46700 * libio/iogetdelim.c: Likewise.
46701 * libio/iopopen.c: Likewise.
46702 * libio/obprintf.c: Likewise.
46703 * libio/oldfileops.c: Likewise.
46704 * libio/oldiofclose.c: Likewise.
46705 * libio/oldiofdopen.c: Likewise.
46706 * libio/oldiofopen.c: Likewise.
46707 * libio/oldiopopen.c: Likewise.
46708 * libio/wfiledoalloc.c: Likewise.
46709 * libio/wgenops.c: Likewise.
46710 * locale/programs/xmalloc.c: Likewise.
46711 * misc/syslog.c: Likewise.
46712 * stdio-common/xbug.c: Likewise.
46713 * string/memchr.c: Likewise.
46714 * string/memcmp.c: Likewise.
46715 * string/memrchr.c: Likewise.
46716 * string/rawmemchr.c: Likewise.
46717 * sysdeps/posix/getcwd.c: Likewise.
46718 * time/strftime_l.c: Likewise.
46720 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46722 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46723 * config.make.in (config-cflags-sse2avx): Define.
46724 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46727 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46729 * scripts/config.guess: Update from upstream config git repository.
46730 * scripts/config.sub: Likewise.
46732 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46734 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46736 (R_TILEPRO_*, R_TILEGX_*): New macros.
46738 * scripts/firstversions.awk: Fix bug in version range handling.
46740 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46742 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46744 * include/sys/epoll.h: New file.
46745 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46748 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46750 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46751 Avoid unnecessary __WORDSIZE == 64 test.
46752 (fmaxf): Use VEX format if possible.
46757 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46758 * math/math_private.h: Remove libc_fegetround* and
46760 * sysdeps/i386/configure.in: Check for -msse2avx.
46761 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46762 also if SSE2AVX is defined.
46763 Remove libc_fegetround* and libc_fesetround*.
46764 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46765 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46768 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46769 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46770 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46771 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46772 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46774 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46776 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46778 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46780 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46782 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46785 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46787 * Makeconfig (libm): Define.
46788 * elf/Makefile: Add rules to build and run tst-relsort1.
46789 * elf/tst-relsort1.c: New file.
46790 * elf/tst-relsort1mod1.c: New file.
46791 * elf/tst-relsort1mod2.c: New file.
46793 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46795 * math/s_ldexp.c: Remove __STDC__ conditionals.
46796 * math/s_ldexpf.c: Likewise.
46797 * math/s_ldexpl.c: Likewise.
46798 * math/s_nextafter.c: Likewise.
46799 * math/s_nexttowardf.c: Likewise.
46800 * math/s_significand.c: Likewise.
46801 * math/s_significandf.c: Likewise.
46802 * math/s_significandl.c: Likewise.
46803 * math/w_jnl.c: Likewise.
46804 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46805 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46806 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46807 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46808 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46810 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46820 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46821 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46822 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46825 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46826 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46827 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46828 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46829 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46830 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46831 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46832 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46833 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46834 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46835 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46836 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46837 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46838 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46839 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46840 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46841 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46842 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46843 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46844 * sysdeps/ieee754/k_standard.c: Likewise.
46845 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46849 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46854 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46857 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46858 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46859 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46860 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46861 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46862 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46864 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46867 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46868 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46869 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46870 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46871 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46872 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46874 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46875 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46876 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46877 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46878 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46880 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46881 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46882 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46883 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46884 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46885 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46887 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46888 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46889 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46890 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46891 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46892 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46893 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46894 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46895 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46896 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46897 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46898 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46899 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46900 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46901 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46902 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46903 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46904 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46905 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46906 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46907 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46908 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46909 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46910 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46911 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46912 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46913 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46914 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46915 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46916 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46917 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46918 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46919 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46920 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46921 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46922 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46923 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46924 * sysdeps/ieee754/s_matherr.c: Likewise.
46925 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46926 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46930 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46932 * crypt/md5.h: Remove __STDC__ conditionals.
46933 * libio/libioP.h: Likewise.
46934 * locale/programs/config.h: Likewise.
46935 * sysdeps/generic/sysdep.h: Likewise.
46936 * sysdeps/i386/asm-syntax.h: Likewise.
46937 * sysdeps/s390/asm-syntax.h: Likewise.
46938 * sysdeps/unix/sysdep.h: Likewise.
46939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46942 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46944 * libio/libio.h: Remove __STDC__ conditionals.
46945 * malloc/obstack.h: Likewise.
46946 * math/complex.h: Likewise.
46947 * math/math.h: Likewise.
46948 * sysdeps/generic/_G_config.h: Likewise.
46949 * sysdeps/gnu/_G_config.h: Likewise.
46950 * sysdeps/mach/hurd/_G_config.h: Likewise.
46951 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46952 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46953 * sysdeps/sparc/bits/mathdef.h: Likewise.
46955 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46958 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46959 Clean up HAS_* macros.
46960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46961 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46963 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46965 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46966 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46967 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46969 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46971 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46973 * elf/tst-unique3.cc (gets): Remove declaration.
46974 * elf/tst-unique3lib.cc (gets): Likewise.
46975 * elf/tst-unique3lib2.cc (gets): Likewise.
46976 * elf/tst-unique4.cc (gets): Likewise.
46978 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46980 * include/stdio.h: Add C++ protection. Add gets declarations and
46982 * debug/tst-chk1.c: Don't declare gets here.
46983 * stdio-common/tst-gets.c: Likewise.
46985 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46987 * posix/glob: Remove directory.
46989 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46991 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46993 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46995 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46996 of the non-standard EPFNOSUPPORT.
46998 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47000 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47001 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47002 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47004 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47006 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47008 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47010 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47012 * nscd/grpcache.c (cache_addgr): Likewise.
47013 * nscd/hstcache.c (cache_addhst): Likewise.
47014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47015 * nscd/pwdcache.c (cache_addpw): Likewise.
47016 * nscd/servicescache.c (cache_addserv): Likewise.
47018 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47020 * malloc/malloc.c: Various cleanups.
47021 * malloc/hooks.c: Likewise.
47023 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47024 * stdlib/bug-fmtmsg1.c: New file.
47026 * stdlib/fmtmsg.c (init): Add missing unlock.
47027 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47029 2012-01-12 Marek Polacek <polacek@redhat.com>
47031 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47034 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47036 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47037 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47038 macro to ensure uniqueness of label name.
47039 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47040 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47042 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47044 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47046 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47047 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47048 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47051 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47053 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47055 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47056 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47057 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47059 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47062 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47063 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47066 * math/bits/math-finite.h: Add ldexp support.
47068 2012-01-10 Marek Polacek <polacek@redhat.com>
47070 * locale/programs/localedef.h (show_archive_content): Add noreturn
47073 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47075 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47077 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47079 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47081 * io/Makefile (headers): Add bits/poll2.h.
47083 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47086 typo #include statement.
47088 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47090 * include/sys/cdefs.h: Define __attribute_alloc_size.
47091 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47092 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47093 * elf/pldd.c: Likewise.
47094 * iconv/iconv_charmap.c: Likewise.
47095 * iconv/iconvconfig.c: Likewise.
47096 * iconv/strtab.c: Likewise.
47097 * locale/programs/locale.c: Likewise.
47098 * locale/programs/localedef.h: Likewise.
47099 * locale/programs/simple-hash.c: Likewise.
47100 * nscd/nscd.h: Likewise.
47101 * nss/makedb.c: Likewise.
47102 * sysdeps/generic/ldconfig.h: Likewise.
47103 * locale/programs/localedef.c: Remove xmalloc prototype.
47104 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47106 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47108 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47111 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47113 * math/Makefile (tests): Add tst-CMPLX.
47114 * math/tst-CMPLX.c: New file.
47116 * math/complex.h (CMPLXL): Fix typo.
47118 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47119 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47121 * debug/tst-chk1.c: Add poll and ppoll tests.
47122 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47123 * include/sys/poll.h: Add hidden proto for ppoll.
47124 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47125 * sysdeps/mach/hurd/ppoll.c: Likewise.
47126 * io/ppoll.c: Likewise.
47127 * debug/poll_chk.c: New file.
47128 * debug/ppoll_chk.c: New file.
47129 * include/bits/poll2.h: New file.
47130 * io/bits/poll2.h: New file.
47133 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47135 * configure.in: static is always set to yes. Remove.
47136 * config.make.in: Don't set build-static.
47137 * Makeconfig: Remove use of build-static.
47138 * dlfcn/Makefile: Likewise.
47139 * elf/Makefile: Likewise.
47140 * math/Makefile: Likewise.
47141 * misc/Makefile: Likewise.
47142 * nptl/Makefile: Likewise.
47143 * sysdeps/mach/hurd/Makefile: Likewise.
47145 * configure.in: PWD_P is not used anymore.
47146 * config.make.in: Remove PWD_P entry.
47148 * configure.in: Remove last remnants of RANLIB.
47149 No need to check for signed size_t anymore.
47150 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47152 Remove __builtin_expect test because we require at least gcc 3.4.
47153 * aclocal.m4: Likewise.
47155 * wcsmbs/mbrtoc16.c: Implement using towc function.
47156 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47157 * wcsmbs/wcsmbsload.c: Likewise.
47158 * iconv/gconv_simple.c: Likewise.
47159 * iconv/gconv_int.h: Likewise.
47160 * iconv/gconv_builtin.h: Likewise.
47161 * iconv/iconv_prog.c: Remove CHAR16 handling.
47163 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47165 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47167 * configure.in: Remove --with-elf and --enable-bounded options.
47168 Dont set base_machine for ia64. More non-ELF conditions removed.
47169 Remove testing and setting of leading underscore information.
47170 * config.make.in (build-bounded): Set to no.
47171 * config.h.in: Remove NO_UNDERSCORES entry.
47172 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47174 * csu/start.c: Remove !NO_UNDERSCORE code.
47175 * locale/localeinfo.h: Likewise.
47176 * sysdeps/generic/machine-gmon.h: Likewise.
47177 * sysdeps/generic/sysdep.h: Likewise.
47178 * sysdeps/i386/sysdep.h: Likewise.
47179 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47180 * sysdeps/mach/sysdep.h: Likewise.
47181 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47182 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47183 * sysdeps/sh/sysdep.h: Likewise.
47184 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47185 * sysdeps/unix/i386/sysdep.S: Likewise.
47186 * sysdeps/unix/sparc/start.c: Likewise.
47187 * sysdeps/unix/sparc/sysdep.S: Likewise.
47188 * sysdeps/unix/sparc/sysdep.h: Likewise.
47189 * sysdeps/unix/start.c: Likewise.
47190 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47191 * sysdeps/x86_64/sysdep.h: Likewise.
47193 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47196 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47198 * argp/argp-fmtstream.h: Use const instead __const.
47199 * argp/argp.h: Likewise.
47200 * assert/assert.h: Likewise.
47201 * bits/fenv.h: Likewise.
47202 * bits/sched.h: Likewise.
47203 * bits/sigset.h: Likewise.
47204 * bits/sigthread.h: Likewise.
47205 * catgets/nl_types.h: Likewise.
47206 * conform/data/pthread.h-data: Likewise.
47207 * crypt/crypt-private.h: Likewise.
47208 * crypt/crypt.h: Likewise.
47209 * crypt/crypt_util.c: Likewise.
47210 * ctype/ctype.h: Likewise.
47211 * debug/execinfo.h: Likewise.
47212 * debug/mbsnrtowcs_chk.c: Likewise.
47213 * debug/mbsrtowcs_chk.c: Likewise.
47214 * debug/wcsnrtombs_chk.c: Likewise.
47215 * debug/wcsrtombs_chk.c: Likewise.
47216 * debug/wcstombs_chk.c: Likewise.
47217 * dirent/dirent.h: Likewise.
47218 * dlfcn/dlfcn.h: Likewise.
47219 * elf/neededtest4.c: Likewise.
47220 * grp/grp.h: Likewise.
47221 * gshadow/gshadow.h: Likewise.
47222 * iconv/gconv.h: Likewise.
47223 * iconv/gconv_int.h: Likewise.
47224 * iconv/gconv_simple.c: Likewise.
47225 * iconv/iconv.h: Likewise.
47226 * iconv/loop.c: Likewise.
47227 * iconv/skeleton.c: Likewise.
47228 * include/aio.h: Likewise.
47229 * include/aliases.h: Likewise.
47230 * include/argz.h: Likewise.
47231 * include/arpa/inet.h: Likewise.
47232 * include/assert.h: Likewise.
47233 * include/dirent.h: Likewise.
47234 * include/dlfcn.h: Likewise.
47235 * include/execinfo.h: Likewise.
47236 * include/fcntl.h: Likewise.
47237 * include/fenv.h: Likewise.
47238 * include/glob.h: Likewise.
47239 * include/grp.h: Likewise.
47240 * include/libintl.h: Likewise.
47241 * include/mntent.h: Likewise.
47242 * include/netdb.h: Likewise.
47243 * include/pwd.h: Likewise.
47244 * include/rpc/netdb.h: Likewise.
47245 * include/sched.h: Likewise.
47246 * include/search.h: Likewise.
47247 * include/shadow.h: Likewise.
47248 * include/signal.h: Likewise.
47249 * include/stdio.h: Likewise.
47250 * include/stdlib.h: Likewise.
47251 * include/string.h: Likewise.
47252 * include/sys/socket.h: Likewise.
47253 * include/sys/stat.h: Likewise.
47254 * include/sys/statfs.h: Likewise.
47255 * include/sys/statvfs.h: Likewise.
47256 * include/sys/syslog.h: Likewise.
47257 * include/sys/time.h: Likewise.
47258 * include/sys/uio.h: Likewise.
47259 * include/time.h: Likewise.
47260 * include/unistd.h: Likewise.
47261 * include/utmp.h: Likewise.
47262 * include/wchar.h: Likewise.
47263 * include/wctype.h: Likewise.
47264 * inet/aliases.h: Likewise.
47265 * inet/arpa/inet.h: Likewise.
47266 * inet/netinet/ether.h: Likewise.
47267 * inet/netinet/in.h: Likewise.
47268 * intl/libintl.h: Likewise.
47269 * io/bits/fcntl2.h: Likewise.
47270 * io/fcntl.h: Likewise.
47271 * io/ftw.h: Likewise.
47272 * io/sys/poll.h: Likewise.
47273 * io/sys/stat.h: Likewise.
47274 * io/sys/statfs.h: Likewise.
47275 * io/sys/statvfs.h: Likewise.
47276 * io/utime.h: Likewise.
47277 * libio/bits/stdio.h: Likewise.
47278 * libio/bits/stdio2.h: Likewise.
47279 * libio/libio.h: Likewise.
47280 * libio/libioP.h: Likewise.
47281 * libio/stdio.h: Likewise.
47282 * locale/lc-ctype.c: Likewise.
47283 * locale/locale.h: Likewise.
47284 * login/utmp.h: Likewise.
47285 * malloc/arena.c: Likewise.
47286 * malloc/malloc.c: Likewise.
47287 * malloc/malloc.h: Likewise.
47288 * malloc/mcheck.c: Likewise.
47289 * malloc/mtrace.c: Likewise.
47290 * math/bits/mathcalls.h: Likewise.
47291 * math/fenv.h: Likewise.
47292 * math/math_private.h: Likewise.
47293 * misc/bits/error.h: Likewise.
47294 * misc/bits/syslog.h: Likewise.
47295 * misc/err.h: Likewise.
47296 * misc/error.h: Likewise.
47297 * misc/fstab.h: Likewise.
47298 * misc/mntent.h: Likewise.
47299 * misc/regexp.h: Likewise.
47300 * misc/search.h: Likewise.
47301 * misc/sgtty.h: Likewise.
47302 * misc/sys/mman.h: Likewise.
47303 * misc/sys/syslog.h: Likewise.
47304 * misc/sys/uio.h: Likewise.
47305 * misc/sys/xattr.h: Likewise.
47306 * misc/ttyent.h: Likewise.
47307 * nis/rpcsvc/ypclnt.h: Likewise.
47308 * nss/nss.h: Likewise.
47309 * posix/bits/unistd.h: Likewise.
47310 * posix/fnmatch.h: Likewise.
47311 * posix/glob.h: Likewise.
47312 * posix/sched.h: Likewise.
47313 * posix/spawn.h: Likewise.
47314 * posix/sys/wait.h: Likewise.
47315 * posix/unistd.h: Likewise.
47316 * posix/wordexp.h: Likewise.
47317 * pwd/pwd.h: Likewise.
47318 * resolv/netdb.h: Likewise.
47319 * resource/sys/resource.h: Likewise.
47320 * rt/aio.h: Likewise.
47321 * rt/bits/mqueue2.h: Likewise.
47322 * rt/mqueue.h: Likewise.
47323 * shadow/shadow.h: Likewise.
47324 * signal/signal.h: Likewise.
47325 * socket/send.c: Likewise.
47326 * socket/sendto.c: Likewise.
47327 * socket/sys/socket.h: Likewise.
47328 * stdio-common/printf.h: Likewise.
47329 * stdlib/bits/stdlib.h: Likewise.
47330 * stdlib/fmtmsg.h: Likewise.
47331 * stdlib/monetary.h: Likewise.
47332 * stdlib/stdlib.h: Likewise.
47333 * stdlib/ucontext.h: Likewise.
47334 * streams/stropts.h: Likewise.
47335 * string/argz.h: Likewise.
47336 * string/bits/string2.h: Likewise.
47337 * string/string.h: Likewise.
47338 * string/strings.h: Likewise.
47339 * sunrpc/rpc/auth.h: Likewise.
47340 * sunrpc/rpc/auth_des.h: Likewise.
47341 * sunrpc/rpc/clnt.h: Likewise.
47342 * sunrpc/rpc/netdb.h: Likewise.
47343 * sunrpc/rpc/pmap_clnt.h: Likewise.
47344 * sunrpc/rpc/xdr.h: Likewise.
47345 * sysdeps/generic/inttypes.h: Likewise.
47346 * sysdeps/generic/net/if.h: Likewise.
47347 * sysdeps/generic/sys/swap.h: Likewise.
47348 * sysdeps/gnu/net/if.h: Likewise.
47349 * sysdeps/gnu/utmpx.h: Likewise.
47350 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47351 * sysdeps/i386/i486/bits/string.h: Likewise.
47352 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47353 * sysdeps/s390/bits/string.h: Likewise.
47354 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47355 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47356 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47357 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47358 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47359 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47360 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47361 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47362 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47363 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47364 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47365 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47366 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47367 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47368 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47369 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47370 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47372 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47373 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47374 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47375 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47376 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47377 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47378 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47379 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47380 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47381 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47382 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47383 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47384 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47385 * sysvipc/sys/ipc.h: Likewise.
47386 * sysvipc/sys/msg.h: Likewise.
47387 * sysvipc/sys/sem.h: Likewise.
47388 * sysvipc/sys/shm.h: Likewise.
47389 * termios/termios.h: Likewise.
47390 * time/sys/time.h: Likewise.
47391 * time/time.h: Likewise.
47392 * wcsmbs/bits/wchar2.h: Likewise.
47393 * wcsmbs/uchar.h: Likewise.
47394 * wcsmbs/wchar.h: Likewise.
47395 * wctype/wctype.h: Likewise.
47398 * Makeconfig: Remove all but ELF support including AIX support.
47399 * Makerules: Likewise.
47400 * config.h.in: Likewise.
47401 * config.make.in: Likewise.
47402 * configure: Likewise.
47403 * configure.in: Likewise.
47404 * csu/Makefile: Likewise.
47405 * csu/version.c: Likewise.
47406 * debug/Makefile: Likewise.
47407 * dlfcn/Makefile: Likewise.
47408 * elf/Makefile: Likewise.
47409 * extra-lib.mk: Likewise.
47410 * iconv/Makefile: Likewise.
47411 * include/libc-symbols.h: Likewise.
47412 * include/shlib-compat.h: Likewise.
47413 * resolv/Makefile: Likewise.
47414 * resolv/res_libc.c: Likewise.
47415 * rt/Makefile: Likewise.
47416 * sysdeps/i386/asm-syntax.h: Likewise.
47417 * sysdeps/i386/sysdep.h: Likewise.
47418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47419 * sysdeps/mach/sysdep.h: Likewise.
47420 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47421 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47422 * sysdeps/s390/asm-syntax.h: Likewise.
47423 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47425 * sysdeps/sh/sysdep.h: Likewise.
47426 * sysdeps/unix/sparc/sysdep.h: Likewise.
47427 * sysdeps/wordsize-32/divdi3.c: Likewise.
47428 * sysdeps/x86_64/sysdep.h: Likewise.
47430 * argp/Versions: Remove _argp_unlock_xxx.
47433 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47434 * abilist/libBrokenLocale.abilist: Likewise.
47435 * abilist/libanl.abilist: Likewise.
47436 * abilist/libc.abilist: Likewise.
47437 * abilist/libcrypt.abilist: Likewise.
47438 * abilist/libdl.abilist: Likewise.
47439 * abilist/libm.abilist: Likewise.
47440 * abilist/libnsl.abilist: Likewise.
47441 * abilist/libpthread.abilist: Likewise.
47442 * abilist/libresolv.abilist: Likewise.
47443 * abilist/librt.abilist: Likewise.
47444 * abilist/libthread_db.abilist: Likewise.
47445 * abilist/libutil.abilist: Likewise.
47446 * abilist/libnss_db.abilist: New file.
47448 * scripts/abilist.awk: Add support for indirect functions.
47450 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47452 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47454 * shlib-versions: Remove entries for ports architectures.
47456 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47458 * elf/stackguard-macros.h: Remove support for IA-64.
47459 * elf/tst-auditmod1.c: Likewise.
47460 * sysdeps/generic/ldsodefs.h: Likewise.
47462 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47463 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47467 * configure.in: Remove --enable-omitfp support.
47469 * config.make.in: Likewise.
47470 * Makeconfig: Likewise.
47471 * manual/install.texi: Likewise.
47473 In case anyone cares, the IA-64 architecture could move to ports.
47474 * sysdeps/ia64/*: Removed.
47475 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47476 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47479 * configure.in: Remove entries for unsupported architectures.
47482 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47483 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47485 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47486 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47487 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47488 fall back to using wcrtomb.
47489 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47490 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47492 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47493 * wcsmbs/tst-c16c32-1.c: New file.
47495 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47498 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47500 * elf/tst-unique3.cc: Add explicit declaration of gets.
47501 * elf/tst-unique3lib.cc: Likewise.
47502 * elf/tst-unique3lib2.cc: Likewise.
47503 * elf/tst-unique4.cc: Likewise.
47505 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47507 2012-01-06 Joseph Myers <joseph@codesourcery.com>
47510 * assert/assert.h (static_assert): Don't define for C++.
47511 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47512 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47514 2012-01-03 Ulrich Drepper <drepper@gmail.com>
47516 * iconv/loop.c (single loop): Fix assertion in storing of
47519 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47521 2012-01-01 Ulrich Drepper <drepper@gmail.com>
47523 * posix/getconf.c: Update copyright year.
47524 * nss/getent.c: Likewise.
47525 * nss/makedb.c: Likewise.
47526 * iconv/iconvconfig.c: Likewise.
47527 * iconv/iconv_prog.c: Likewise.
47528 * elf/ldconfig.c: Likewise.
47529 * elf/pldd.c: Likewise.
47530 * elf/sotruss.ksh: Likewise.
47531 * catgets/gencat.c: Likewise.
47532 * csu/version.c: Likewise.
47533 * elf/ldd.bash.in: Likewise.
47534 * elf/sprof.c (print_version): Likewise.
47535 * locale/programs/locale.c: Likewise.
47536 * locale/programs/localedef.c: Likewise.
47537 * login/programs/pt_chown.c: Likewise.
47538 * nscd/nscd.c (print_version): Likewise.
47539 * debug/xtrace.sh: Likewise.
47540 * malloc/memusage.sh: Likewise.
47541 * malloc/mtrace.pl: Likewise.
47542 * debug/catchsegv.sh: Likewise.
47544 2011-12-30 Jakub Jelinek <jakub@redhat.com>
47546 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47549 2011-12-24 Ulrich Drepper <drepper@gmail.com>
47552 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47553 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47555 * iconv/gconv_int.h: Likewise.
47556 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47557 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47558 from libc for GLIBC_2.16.
47559 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47560 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47561 * wcsmbs/uchar.h: Really define mbstate_t.
47562 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47563 * wcsmbs/c16rtomb.c: New file.
47564 * wcsmbs/mbrtoc16.c: New file.
47565 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47566 for C/POSIX locale.
47567 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47568 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47570 * wcsmbs/wchar.h: Add missing __restrict.
47572 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47575 * time/Makefile (routines): Add timespec_get.
47576 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47577 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47578 timespec for ISO C11.
47579 * time/timespec_get.c: New file.
47580 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47581 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47584 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47585 * stdlib/stdlib.h: Declare aligned_alloc.
47586 * Versions.def: Add GLIBC_2.16 for libc.
47587 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47590 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47593 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47597 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47600 * assert/assert.h (static_assert): Define.
47602 * version.h: Update for 2.16 development version.
47605 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47608 * version.h (RELEASE): Bump for 2.15 release.
47609 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47611 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47612 Patch by Marek Polacek <mpolacek@redhat.com>.
47614 * bits/byteswap.h: Protect long long constants with __extension__.
47615 * sysdeps/i386/bits/byteswap.h: Likewise.
47616 * sysdeps/ia64/bits/byteswap.h: Likewise.
47617 * sysdeps/s390/bits/byteswap.h: Likewise.
47618 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47620 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47623 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47624 destination buffer.
47625 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47627 2011-12-23 Marek Polacek <polacek@redhat.com>
47629 * elf/dl-addr.c (determine_info): Add inline keyword.
47630 * elf/tst-auditmod4b.c (check_avx): Likewise.
47631 * elf/tst-auditmod6b.c (check_avx): Likewise.
47632 * elf/tst-auditmod6c.c (check_avx): Likewise.
47633 * elf/tst-auditmod7b.c (check_avx): Likewise.
47635 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47637 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47640 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47643 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47644 processing for last bytes.
47646 2011-08-06 Bruno Haible <bruno@clisp.org>
47649 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47650 U+0385, not to U+1FEE.
47653 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47654 entry for U+00A5 U+0301.
47656 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47659 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47660 buffer for the output is too small.
47662 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47666 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47667 SSE flags if possible.
47669 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47673 processing for last bytes.
47675 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47677 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47678 (syscall-list-default-options, syscall-list-default-condition)
47679 (syscall-list-includes): Define.
47680 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47681 list of ABIs and options and #if conditions for each ABI. Do not
47682 handle common syscalls between ABIs specially.
47683 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47685 (syscall-list-variants, syscall-list-32bit-options)
47686 (syscall-list-32bit-condition, syscall-list-64bit-options)
47687 (syscall-list-64bit-condition): Define.
47688 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47689 (syscall-list-variants, syscall-list-32bit-options)
47690 (syscall-list-32bit-condition, syscall-list-64bit-options)
47691 (syscall-list-64bit-condition): Define.
47692 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47694 (syscall-list-variants, syscall-list-32bit-options)
47695 (syscall-list-32bit-condition, syscall-list-64bit-options)
47696 (syscall-list-64bit-condition): Define.
47697 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47699 (syscall-list-variants, syscall-list-32bit-options)
47700 (syscall-list-32bit-condition, syscall-list-64bit-options)
47701 (syscall-list-64bit-condition): Define.
47703 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47705 * locale/iso-639.def: Add brx entry.
47708 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47709 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47711 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47712 __feraiseexcept_renamed.
47714 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47717 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47718 EPOLLET with unsigned values.
47719 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47720 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47722 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47723 to large cancellation.
47724 * math/s_cacoshf.c: Likewise.
47725 * math/s_cacoshl.c: Likewise.
47727 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47731 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47732 * math/s_cacoshf.c: Likewise.
47733 * math/s_cacoshl.c: Likewise.
47735 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47738 * iconv/gconv.h: Define __GCONV_SWAP.
47739 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47740 * iconvdata/utf-16.c: Likewise.
47741 * iconvdata/utf-32.c: Likewise.
47743 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47746 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47747 numerator after shifting it by one limb.
47749 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47751 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47752 under [__USE_EXTERN_INLINES].
47754 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47757 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47759 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47761 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47762 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47764 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47765 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47766 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47767 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47768 for strncasecmp/strncasecmp_l compilation.
47769 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47770 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47772 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47775 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47778 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47781 * time/tzfile.c (__tzfile_read): Check values from file header.
47783 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47785 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47786 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47787 * powerpc/powerpc32/dl-start.S: Likewise.
47788 * powerpc/powerpc32/elf/start.S: Likewise.
47789 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47790 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47791 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47792 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47793 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47794 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47795 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47796 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47797 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47798 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47799 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47800 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47801 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47802 * powerpc/powerpc32/memset.S: Likewise.
47803 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47804 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47805 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47806 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47807 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47808 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47809 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47810 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47811 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47812 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47813 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47814 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47815 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47817 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47819 * math/libm-test.inc: Added more nearbyint tests.
47820 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47825 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47827 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47830 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47832 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47833 Add wcscpy-ssse3 wcscpy-c.
47834 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47835 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47836 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47837 * sysdeps/x86_64/wcschr.S: New file.
47838 * sysdeps/x86_64/wcsrchr.S: New file.
47839 * string/test-strcmp.c: Remove checking of wcscmp function for
47841 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47842 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47843 wcsrchr-sse2 wcsrchr-c.
47844 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47845 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47846 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47847 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47848 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47849 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47850 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47851 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47852 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47853 * wcsmbc/wcschr.c (WCSCHR): New macro.
47855 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47857 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47858 * wcsmbs/test-wcsrchr.c: New file.
47859 * string/test-strrchr.c: Add wcsrchr support.
47861 * wcsmbs/test-wcscpy.c: New file.
47862 * string/test-strcpy.c: Add wcscpy support.
47865 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47867 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47870 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47873 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47875 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47877 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47878 Minor optimizations.
47880 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47881 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47882 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47884 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47886 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47887 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47888 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47889 for gcc to avoid warnings.
47890 * inet/Makefile (tests): Add tst-checks.
47891 * inet/tst-checks.c: New file.
47893 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47896 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47899 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47900 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47902 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47904 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47906 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47909 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47911 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47913 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47914 conditional on GCC version.
47915 (__arch_compare_and_exchange_val_8_acq)
47916 (__arch_compare_and_exchange_val_16_acq)
47917 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47918 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47919 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47921 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47923 * sysdeps/sh/backtrace.c: New file.
47925 2011-12-02 Andreas Schwab <schwab@redhat.com>
47927 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47930 2011-12-01 Andreas Schwab <schwab@redhat.com>
47932 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47933 falling back to utime.
47935 2011-11-30 Andreas Schwab <schwab@redhat.com>
47937 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47938 expectations for float.
47940 2011-11-29 Andreas Schwab <schwab@redhat.com>
47942 * locale/weight.h (findidx): Add parameter len.
47943 * locale/weightwc.h (findidx): Likewise.
47944 * posix/fnmatch_loop.c (FCT): Adjust caller.
47945 * posix/regcomp.c (build_equiv_class): Likewise.
47946 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47947 * posix/regexec.c (check_node_accept_bytes): Likewise.
47948 * string/strcoll_l.c (STRCOLL): Likewise.
47949 * string/strxfrm_l.c (STRXFRM): Likewise.
47951 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47953 * Makefile.in: Remove CVSOPT handling.
47954 * configure.in: Remove use of AC_REVISION.
47955 * iconvdata/Makefile (distribute): No need to filter out CVS.
47956 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47959 2011-11-16 Andreas Schwab <schwab@redhat.com>
47961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47962 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47963 [USE_AS_STRNCASECMP_L]: Likewise.
47964 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47965 NO_TLS_DIRECT_SEG_REFS.
47966 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47967 Fix argument offsets for non-PIC.
47968 [USE_AS_STRNCASECMP_L]: Likewise.
47969 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47970 NO_TLS_DIRECT_SEG_REFS.
47972 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47974 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47976 * locale/loadlocale.c (_nl_load_locale): Likewise.
47978 2011-11-15 Andreas Schwab <schwab@redhat.com>
47980 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47981 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47982 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47983 (SYSCALL_GETTIME): Set errno on error.
47985 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47986 count references to noai6ai_cached.
47988 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47990 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47992 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47993 FD_CLOEXEC for /proc/self/maps.
47995 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47996 FD_CLOEXEC for /proc/meminfo.
47998 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48001 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48002 FD_CLOEXEC for given file.
48004 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48006 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48007 FD_CLOEXEC for /etc/hosts.
48008 (_gethtent): Likewise.
48010 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48012 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48013 cancellation and set FD_CLOEXEC for /etc/netgroup.
48015 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48016 reading /etc/publickey.
48018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48019 allow cancellation when reading /etc/group.
48021 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48023 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48025 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48026 when using data file.
48028 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48030 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48031 (write_nis_obj): Use "c" and "e" in fopen.
48033 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48035 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48037 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48039 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48041 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48044 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48046 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48048 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48050 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48051 file parsing and set FD_CLOEXEC.
48053 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48055 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48057 2011-11-14 Andreas Schwab <schwab@redhat.com>
48059 * malloc/arena.c (arena_get2): Don't call reused_arena when
48060 _int_new_arena failed.
48062 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48064 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48065 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48066 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48067 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48068 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48069 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48070 to compile strcasecmp and strncasecmp.
48071 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48072 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48076 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48078 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48079 locale-defines.sym to gen-as-const-headers.
48080 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48081 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48083 to compile strcasecmp and strncasecmp.
48084 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48085 strcasecmp_l and strncasecmp_l.
48086 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48087 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48088 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48089 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48090 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48091 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48092 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48093 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48094 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48095 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48096 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48098 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48100 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48101 result of SYSDEP_GETTIME_CPU to retval.
48102 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48103 parameter list to macro. Remove trailing semicolon. Adjust users.
48105 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48108 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48110 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48112 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48113 from unused variable.
48115 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48117 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48120 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48123 * sunrpc/rpc_prot.c (rejected): Fix case value.
48125 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48126 unsigned long long int to avoid warnings in shift.
48128 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48130 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48133 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48134 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48135 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48137 * nis/nis_table.c (nis_list): Use variable of correct type for
48138 result of __follow_path call.
48140 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48142 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48143 of math functions ceil, trunc, floor, round, and sqrt, when
48144 avaliable on the platform.
48145 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48147 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48148 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48149 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48151 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48153 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48154 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48156 2011-11-11 Roland McGrath <roland@hack.frob.com>
48158 * include/unistd.h: Fix __readlink return type.
48159 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48161 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48163 * stdlib/ucontext.h: Undo last change for makecontext.
48165 2011-11-11 Andreas Schwab <schwab@redhat.com>
48167 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48169 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48170 * setjmp/setjmp.h: Mark functions as non-leaf.
48171 * setjmp/bits/setjmp2.h: Likewise.
48172 * stdlib/ucontext.h: Likewise.
48174 2011-11-10 Andreas Schwab <schwab@redhat.com>
48176 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48177 (reused_arena): Don't check arena limit.
48178 (arena_get2): Atomically check arena limit.
48180 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48182 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48183 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48185 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48188 2011-11-07 Andreas Schwab <schwab@redhat.com>
48190 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48191 handler when locking.
48193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48194 Fix size of allocated buffer.
48196 2011-11-04 Andreas Schwab <schwab@redhat.com>
48199 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48200 declarations for long double functions.
48201 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48203 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48205 2011-11-03 Andreas Schwab <schwab@redhat.com>
48207 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48210 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48213 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48215 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48217 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48219 * include/alloca.h (stackinfo_alloca_round): Define.
48220 (extend_alloca): Use it.
48221 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48222 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48225 * scripts/check-local-headers.sh: Ignore libaudit.h.
48227 * nscd/Makefile (extra-objs): Make recursively expanded.
48229 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48231 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48234 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48235 * posix/tst-rfc3484-2.c: Likewise.
48236 * posix/tst-rfc3484-3.c: Likewise.
48238 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48240 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48242 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48243 process_vm_writev from libc using GLIBC_2.15 version.
48245 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48247 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48249 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48252 2011-10-31 Ulrich Drepper <drepper@gmail.com>
48255 * nss/getent.c (initgroups_keys): Show error message in case no group
48258 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48259 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48260 __bump_nl_timestamp.
48261 * nscd/connections (nscd_init): When host database is served open
48262 netlink socket and request notification about configuration changes.
48263 (main_loop_poll): Track netlink file descriptor and bump timestamp
48264 in case data becomes available.
48265 (main_loop_epoll): Likewise.
48266 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48267 (database_pers_head): Add extra_data fileds.
48268 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48269 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48270 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48273 in6ai data, call __free_in6ai.
48274 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48275 Add -DHAVE_NETLINK.
48276 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48277 interface information. Reuse previous data if netlink timestamp
48279 (__bump_nl_timestamp): New function.
48280 (__free_in6ai): New function.
48282 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48284 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48285 close_not_cancel_no_status here.
48286 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48288 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48291 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48294 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48295 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48296 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48298 2011-07-03 Andreas Jaeger <aj@suse.de>
48301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48302 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48303 * math/libm-test.inc (sin_test): Add test case.
48305 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48308 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48309 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48311 * elf/chroot_canon.c (chroot_canon): Cleanups.
48313 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48316 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48317 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48319 * string/test-strchr.c: Make usable for strchrnul testing.
48320 * string/test-strchrnul.c: New file.
48321 * string/Makefile (strop-tests): Add strchrnul.
48323 * po/it.po: Update from translation team.
48324 * po/es.po: Likewise.
48326 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48329 the three constants needed as parameters. Drop the others.
48330 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48331 __m128i_strloadu_tolower.
48332 Create and initialize variable zero and use it in all the places
48333 where _mm_setzero_si128 was used.
48335 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48336 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48337 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48338 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48340 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48341 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48342 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48343 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48344 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48345 __mpranred, __mptan.
48346 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48347 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48348 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48349 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48350 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48351 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48352 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48353 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48354 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48356 2011-10-28 Andreas Schwab <schwab@redhat.com>
48358 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48359 redefine if SHARED.
48360 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48363 wide char related routines to wcsmbs subdir.
48365 2011-10-27 Andreas Schwab <schwab@redhat.com>
48368 * misc/sys/cdefs.h (__THROWNL): Define.
48369 * posix/unistd.h: Use __THREADNL instead of __THREAD
48370 for memory synchronization functions.
48372 2011-10-26 Roland McGrath <roland@hack.frob.com>
48375 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48377 * manual/stdio.texi (Obstack Streams): Node removed.
48379 2011-10-26 Andreas Schwab <schwab@redhat.com>
48381 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48382 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48383 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48385 * math/math_private.h (math_force_eval): Allow non-addressable
48387 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48389 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48391 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48392 file is not needed.
48394 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48395 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48397 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48398 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48399 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48400 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48401 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48403 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48404 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48405 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48406 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48407 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48408 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48409 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48410 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48411 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48412 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48413 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48414 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48416 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48417 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48418 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48419 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48420 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48421 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48423 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48424 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48426 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48427 place. Use VEX encoding when compiling for AVX.
48429 2011-10-25 Andreas Schwab <schwab@redhat.com>
48431 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48432 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48434 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48436 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48438 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48439 useless if() expression.
48440 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48449 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48450 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48451 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48452 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48454 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48457 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48458 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48460 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48462 2011-10-25 Andreas Schwab <schwab@redhat.com>
48464 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48466 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48468 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48470 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48471 .text section. Avoid duplicate constants.
48472 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48480 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48481 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48482 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48483 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48484 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48485 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48486 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48487 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48488 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48489 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48490 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48496 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48497 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48498 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48499 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48500 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48501 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48502 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48503 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48504 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48505 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48506 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48507 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48508 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48509 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48510 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48511 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48512 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48514 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48515 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48516 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48518 2011-10-24 Ulrich Drepper <drepper@gmail.com>
48520 * sysdeps/x86_64/dla.h: Move to ...
48521 * sysdeps/x86_64/fpu/dla.h: ...here.
48522 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48523 situations. Use __builtin_fma only for gcc 4.6 and up.
48525 * config.make.in: Add have-mfma4 entry.
48526 * configure.in: Substitute libc_cv_cc_fma4.
48527 * math/Makefile (dbl-only-routines): Add sincostab.
48528 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48529 Use __sincostab not sincos.
48530 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48537 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48538 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48539 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48540 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48542 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48543 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48545 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48546 define aliases when function name is a macro.
48547 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48548 sysdeps/ieee754/dbl-64/sincos.tbl.
48549 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48550 fma4-enabled routines.
48551 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48552 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48553 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48554 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48555 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48556 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48557 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48558 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48559 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48560 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48561 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48562 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48563 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48564 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48565 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48566 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48567 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48568 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48569 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48571 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48572 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48573 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48574 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48575 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48576 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48577 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48578 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48579 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48580 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48582 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48584 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48593 2011-10-24 Andreas Schwab <schwab@redhat.com>
48595 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48597 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48599 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48601 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48603 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48605 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48606 Remove unused variable magic_bits.
48607 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48609 * string/strnlen.c: Define and use STRNLEN macro.
48610 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48611 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48612 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48613 * wcsmbs/wcslen.c: Define and use WCSLEN.
48614 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48615 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48616 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48617 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48618 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48619 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48620 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48622 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48625 strnlen-sse2-no-bsf.
48626 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48628 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48629 Add strnlen support.
48630 (USE_AS_STRNLEN): New macro.
48631 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48632 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48633 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48634 * sysdeps/x86_64/wcslen.S: New file.
48636 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48639 XMM-moves are used for copying on small sizes.
48641 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48643 * wcsmbs/Makefile (strop-tests): Add wcschr.
48644 * wcsmbs/test-wcschr.c: New file.
48645 * string/test-strchr.c: Update.
48646 Add wcschr support.
48649 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48651 * wcsmbs/Makefile (strop-tests): Add wcslen.
48652 * wcsmbs/test-wcslen.c: New file.
48653 * string/test-strlen.c: Update.
48654 Add wcslen support.
48657 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48659 * po/it.po: Update from translation team.
48661 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48663 * sysdeps/x86_64/wcscmp.S: Update.
48664 Fix wrong comparison semantics.
48665 wcscmp shall use signed comparison not unsigned.
48666 Don't use substraction to avoid overflow bug.
48667 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48668 * wcsmbc/wcscmp.c: Likewise.
48669 * string/test-strcmp.c: Likewise.
48670 Add new tests to check cases with negative values.
48672 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48674 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48675 * sysdeps/x86_64/dla.h: ...here. New file.
48676 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48681 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48686 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48689 __ynl_finite aliases.
48691 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48695 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48697 [DLA_FMA] (EMULV): Use DLA_FMA.
48698 [DLA_FMA] (MUL12): Use EMULV.
48699 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48700 that are not needed.
48701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48702 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48706 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48709 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48711 * math/s_nan.c: Undef __nan.
48712 * math/s_nanf.c: Undef __nanf.
48713 * math/s_nanl.c: Undef __nanl.
48714 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48717 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48719 * math/s_catan.c: Add branch predictions.
48720 * math/s_catanf.c: Likewise.
48721 * math/s_catanh.c: Likewise.
48722 * math/s_catanhf.c: Likewise.
48723 * math/s_catanhl.c: Likewise.
48724 * math/s_catanl.c: Likewise.
48725 * math/s_cexp.c: Likewise.
48726 * math/s_cexpf.c: Likewise.
48727 * math/s_cexpl.c: Likewise.
48728 * math/s_clog.c: Likewise.
48729 * math/s_clog10.c: Likewise.
48730 * math/s_clog10f.c: Likewise.
48731 * math/s_clog10l.c: Likewise.
48732 * math/s_clogf.c: Likewise.
48733 * math/s_clogl.c: Likewise.
48734 * math/s_csqrt.c: Likewise.
48735 * math/s_csqrtf.c: Likewise.
48736 * math/s_csqrtl.c: Likewise.
48737 * math/s_ctanf.c: Likewise.
48738 * math/s_ctanh.c: Likewise.
48739 * math/s_ctanhf.c: Likewise.
48740 * math/s_ctanhl.c: Likewise.
48741 * math/s_ctanl.c: Likewise.
48743 * math/math_private.h: Define __nan, __nanf, __nanl.
48744 * math/s_cacosh.c: Include <math_private.h>.
48745 * math/s_cacoshl.c: Likewise.
48746 * math/s_casinh.c: Likewise.
48747 * math/s_casinhf.c: Likewise.
48748 * math/s_casinhl.c: Likewise.
48749 * math/s_ccos.c: Rely entire on ccosh.
48750 * math/s_ccosf.c: Rely entire on ccoshf.
48751 * math/s_ccosl.c: Rely entirely on ccoshl.
48752 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48753 Remove tests for FE_INVALID.
48754 * math/s_ccoshf.c: Likewise.
48755 * math/s_ccoshl.c: Likewise.
48756 * math/s_csin.c: Likewise.
48757 * math/s_csinf.c: Likewise.
48758 * math/s_csinh.c Likewise.
48759 * math/s_csinhf.c: Likewise.
48760 * math/s_csinhl.c: Likewise.
48761 * math/s_csinl.c: Likewise.
48762 * math/s_ctan.c: Likewise.
48763 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48764 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48767 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48770 compilation problems.
48772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48775 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48777 * sysdeps/i386/configure.in: Test for -mfma4 option.
48778 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48779 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48780 COMMON_CPUID_INDEX_80000001.
48781 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48782 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48783 use it if FMA3 is not supported.
48784 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48786 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48787 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48789 2011-10-20 Andreas Schwab <schwab@redhat.com>
48792 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48793 it would create a cycle with a link time dependency.
48795 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48797 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48799 * string/Makefile (strop-tests): Add rawmemchr.
48800 * string/test-rawmemchr.c: New file.
48802 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48804 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48805 when compiling str{,n}casecmp and when AVX is available. Hook up
48806 new optimized code in initializers.
48808 2011-10-19 Andreas Schwab <schwab@redhat.com>
48810 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48811 __feraiseexcept instead of feraiseexcept.
48813 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48815 * math/math_private.h: Define defaults for libc_fetestexcept and
48817 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48818 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48819 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48820 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48821 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48822 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48823 libc_fetestexcept and libc_feupdateenv.
48825 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48826 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48827 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48828 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48829 libc_feholdexcept_setround.
48831 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48832 Add s_nearbyint-c and s_nearbyintf-c.
48833 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48834 nearbyintf inlines.
48835 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48836 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48837 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48838 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48840 * math/math_private.h: Define defaults for libc_fegetround,
48841 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48842 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48843 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48844 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48845 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48846 standard functions.
48847 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48848 Remove comments and hacks for old compiler versions.
48849 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48850 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48851 libc_feholdexceptl.
48853 2011-10-18 Andreas Schwab <schwab@redhat.com>
48855 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48856 (__feraiseexcept_renamed): Add __NTH.
48857 (feraiseexcept): Add __NTH. Rename local variables to fix
48858 namespace violations.
48860 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48862 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48864 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48866 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48867 recently added interfaces.
48868 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48870 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48871 about macro parameter expansion.
48873 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48874 __NO_MATH_INLINES is defined. Cleanups.
48876 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48877 and __floorf is target has SSE4.1.
48878 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48879 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48880 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48881 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48883 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48885 (floorf): Likewise.
48887 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48889 2011-10-17 Andreas Schwab <schwab@redhat.com>
48891 * misc/sys/cdefs.h: Fix last change.
48893 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48896 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48898 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48900 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48902 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48903 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48905 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48906 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48907 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48908 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48909 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48910 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48911 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48912 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48913 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48914 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48915 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48916 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48917 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48918 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48919 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48920 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48921 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48923 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48924 ceil, ceilf, floor, floorf.
48926 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48927 Perform IRELATIVE relocations last.
48929 * elf/do-rel.h: Add another parameter nrelative, replacing the
48930 local variable with the same name. Change name of the function
48931 to end in Rel or Rela (uppercase).
48932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48933 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48934 elf_dynamic_do_##reloc function.
48936 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48938 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48939 is sufficient, at least on modern CPUs.
48941 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48943 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48944 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48946 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48948 * math/bits/math-finite.h: Add entries for exp.
48949 * math/e_expl.c: Add __*_finite alias.
48950 * sysdeps/i386/fpu/e_exp.S: Likewise.
48951 * sysdeps/i386/fpu/e_expf.S: Likewise.
48952 * sysdeps/i386/fpu/e_expl.c: Likewise.
48953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48954 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48955 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48956 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48957 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48958 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48959 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48961 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48962 is sufficient, at least on modern CPUs.
48964 * ctype/ctype-info.c (__ctype_init): Define.
48965 * include/ctype.h (__ctype_init): Declare.
48966 (__ctype_b_loc): The variable is always initialized.
48967 (__ctype_toupper_loc): Likewise.
48968 (__ctype_tolower_loc): Likewise.
48969 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48970 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48972 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48974 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48976 * configure.in: Also look in $cxxmachine/include for C++ system
48979 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48981 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48982 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48983 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48984 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48986 (USE_AS_WMEMCMP): New macro.
48988 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48989 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48990 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48991 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48993 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48994 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48995 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48996 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48997 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48998 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48999 (USE_AS_WMEMCMP): New macro.
49000 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49001 * sysdeps/string/test-memcmp.c: Update.
49002 Fix simple_wmemcmp.
49004 * wcsmbs/wmemcmp.c: Update.
49005 (WMEMCMP): New macro.
49008 2011-10-12 Andreas Jaeger <aj@suse.de>
49011 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49013 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49015 * libio/iofwide.c (do_length): Avoid warning.
49017 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49019 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49021 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49023 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49024 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49025 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49026 * sysdeps/i386/i686/fpu/e_log.S: New file.
49027 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49028 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49030 * ctype/ctype.h: Add support for inlined isXXX functions when
49031 compiling C++ code.
49033 2011-10-14 Andreas Schwab <schwab@redhat.com>
49035 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49039 2011-10-13 Roland McGrath <roland@hack.frob.com>
49042 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49044 2011-10-13 Andreas Schwab <schwab@redhat.com>
49046 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49047 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49050 * sysdeps/x86_64/memrchr.S: Check for zero size.
49052 * string/stratcliff.c: Add memrchr tests.
49054 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49057 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49058 rawmemchr-sse2 rawmemchr-sse2-bsf.
49059 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49060 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49061 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49062 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49063 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49064 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49065 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49066 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49067 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49068 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49069 * string/memrchr.c (MEMRCHR): New macro.
49071 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49073 Add integration with gcc's -ffinite-math-only and optimize wrapper
49075 * Versions.def: Define GLIBC_2.15 version for libm.
49076 * math/Makefile (headers): Add bits/math-finite.h.
49077 * math/bits/math-finite.h: New file.
49078 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49079 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49080 * math/e_acoshl.c: Add __*_finite alias.
49081 * math/e_acosl.c: Likewise.
49082 * math/e_asinl.c: Likewise.
49083 * math/e_atan2l.c: Likewise.
49084 * math/e_atanhl.c: Likewise.
49085 * math/e_coshl.c: Likewise.
49086 * math/e_exp10.c: Likewise.
49087 * math/e_exp10f.c: Likewise.
49088 * math/e_exp10l.c: Likewise.
49089 * math/e_exp2l.c: Likewise.
49090 * math/e_fmodl.c: Likewise.
49091 * math/e_gammal_r.c: Likewise.
49092 * math/e_hypotl.c: Likewise.
49093 * math/e_j0l.c: Likewise.
49094 * math/e_j1l.c: Likewise.
49095 * math/e_jnl.c: Likewise.
49096 * math/e_lgammal_r.c: Likewise.
49097 * math/e_log10l.c: Likewise.
49098 * math/e_log2l.c: Likewise.
49099 * math/e_logl.c: Likewise.
49100 * math/e_powl.c: Likewise.
49101 * math/e_sinhl.c: Likewise.
49102 * math/e_sqrtl.c: Likewise.
49103 * math/e_scalb.c: Completely rewritten and optimized.
49104 * math/e_scalbf.c: Likewise.
49105 * math/e_scalbl.c: Likewise.
49106 * math/w_acos.c: Likewise.
49107 * math/w_acosf.c: Likewise.
49108 * math/w_acosl.c: Likewise.
49109 * math/w_acosh.c: Likewise.
49110 * math/w_acoshf.c: Likewise.
49111 * math/w_acoshl.c: Likewise.
49112 * math/w_asin.c: Likewise.
49113 * math/w_asinf.c: Likewise.
49114 * math/w_asinl.c: Likewise.
49115 * math/w_atan2.c: Likewise.
49116 * math/w_atan2f.c: Likewise.
49117 * math/w_atan2l.c: Likewise.
49118 * math/w_atanh.c: Likewise.
49119 * math/w_atanhf.c: Likewise.
49120 * math/w_atanhl.c: Likewise.
49121 * math/w_exp10.c: Likewise.
49122 * math/w_exp10f.c: Likewise.
49123 * math/w_exp10l.c: Likewise.
49124 * math/w_fmod.c: Likewise.
49125 * math/w_fmodf.c: Likewise.
49126 * math/w_fmodl.c: Likewise.
49127 * math/w_j0.c: Likewise.
49128 * math/w_j0f.c: Likewise.
49129 * math/w_j0l.c: Likewise.
49130 * math/w_j1.c: Likewise.
49131 * math/w_j1f.c: Likewise.
49132 * math/w_j1l.c: Likewise.
49133 * math/w_jn.c: Likewise.
49134 * math/w_jnf.c: Likewise.
49135 * math/w_log.c: Likewise.
49136 * math/w_logf.c: Likewise.
49137 * math/w_logl.c: Likewise.
49138 * math/w_log10.c: Likewise.
49139 * math/w_log10f.c: Likewise.
49140 * math/w_log10l.c: Likewise.
49141 * math/w_log2.c: Likewise.
49142 * math/w_log2f.c: Likewise.
49143 * math/w_log2l.c: Likewise.
49144 * math/w_pow.c: Likewise.
49145 * math/w_powf.c: Likewise.
49146 * math/w_powl.c: Likewise.
49147 * math/w_remainder.c: Likewise.
49148 * math/w_remainderf.c: Likewise.
49149 * math/w_remainderl.c: Likewise.
49150 * math/w_scalb.c: Likewise.
49151 * math/w_scalbf.c: Likewise.
49152 * math/w_scalbl.c: Likewise.
49153 * math/w_sqrt.c: Likewise.
49154 * math/w_sqrtf.c: Likewise.
49155 * math/w_sqrtl.c: Likewise.
49156 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49157 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49159 * math/math_private.h: Declare __kernel_standard_f.
49160 * math/w_cosh.c: Remove cruft and optimize a bit.
49161 * math/w_coshf.c: Likewise.
49162 * math/w_coshl.c: Likewise.
49163 * math/w_exp2.c: Likewise.
49164 * math/w_exp2f.c: Likewise.
49165 * math/w_exp2l.c: Likewise.
49166 * math/w_hypot.c: Likewise.
49167 * math/w_hypotf.c: Likewise.
49168 * math/w_hypotl.c: Likewise.
49169 * math/w_lgamma.c: Likewise.
49170 * math/w_lgamma_r.c: Likewise.
49171 * math/w_lgammaf.c: Likewise.
49172 * math/w_lgammaf_r.c: Likewise.
49173 * math/w_lgammal.c: Likewise.
49174 * math/w_lgammal_r.c: Likewise.
49175 * math/w_sinh.c: Likewise.
49176 * math/w_sinhf.c: Likewise.
49177 * math/w_sinhl.c: Likewise.
49178 * math/w_tgamma.c: Likewise.
49179 * math/w_tgammaf.c: Likewise.
49180 * math/w_tgammal.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49182 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49183 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49184 Minor optimizations. Pretty printing. Remove cruft.
49185 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49186 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49187 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49188 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49189 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49190 * sysdeps/i386/fpu/e_asin.S: Likewise.
49191 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49192 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49193 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49194 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49195 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49196 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49197 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49198 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49199 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49200 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49201 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49202 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49203 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49204 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49205 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49206 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49207 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49208 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49209 * sysdeps/i386/fpu/e_log.S: Likewise.
49210 * sysdeps/i386/fpu/e_log10.S: Likewise.
49211 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49212 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49213 * sysdeps/i386/fpu/e_log2.S: Likewise.
49214 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49215 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49216 * sysdeps/i386/fpu/e_logf.S: Likewise.
49217 * sysdeps/i386/fpu/e_logl.S: Likewise.
49218 * sysdeps/i386/fpu/e_pow.S: Likewise.
49219 * sysdeps/i386/fpu/e_powf.S: Likewise.
49220 * sysdeps/i386/fpu/e_powl.S: Likewise.
49221 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49222 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49223 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49224 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49225 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49226 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49227 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49228 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49229 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49233 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49234 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49235 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49236 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49237 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49238 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49239 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49240 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49241 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49243 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49244 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49246 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49247 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49248 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49250 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49251 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49252 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49253 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49254 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49255 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49256 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49257 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49258 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49259 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49260 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49261 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49262 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49263 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49264 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49265 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49266 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49267 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49268 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49269 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49270 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49271 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49280 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49281 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49282 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49283 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49285 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49286 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49287 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49288 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49290 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49294 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49295 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49296 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49297 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49299 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49300 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49301 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49302 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49303 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49304 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49305 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49307 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49308 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49309 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49310 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49311 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49312 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49313 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49314 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49315 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49316 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49317 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49318 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49319 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49321 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49322 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49323 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49324 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49325 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49326 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49327 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49328 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49329 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49330 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49331 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49332 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49333 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49334 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49335 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49336 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49337 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49338 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49339 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49340 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49341 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49342 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49343 (__isnanf): Likewise.
49344 (__isinf_ns): Likewise.
49345 (__isinf_nsf): Likewise.
49346 (__finite): Likewise.
49347 (__finitef): Likewise.
49348 (__ieee754_sqrt): Define as macro.
49349 (__ieee754_sqrtf): Define as macro.
49350 (__ieee754_sqrtl): Define as macro.
49351 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49353 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49354 __FINITE_MATH_ONLY__ consistent.
49355 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49357 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49359 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49362 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49364 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49366 * po/ja.po: Update from translation team.
49368 2011-10-08 Roland McGrath <roland@hack.frob.com>
49370 * locale/programs/locarchive.c (prepare_address_space): New function.
49371 (create_archive, enlarge_archive, open_archive): Use it.
49373 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49374 inside [SHARED], where it is used.
49376 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49378 * nss/getent.c (netgroup_keys): Remove unused variable.
49379 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49381 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49383 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49384 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49386 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49387 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49388 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49389 * math/Makefile (libm-calls): Add s_isinf_ns.
49390 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49391 * math/multc3.c: Likewise.
49392 * math/s_casin.c: Likewise.
49393 * math/s_casinf.c: Likewise.
49394 * math/s_casinl.c: Likewise.
49395 * math/s_ccos.c: Likewise.
49396 * math/s_ccosf.c: Likewise.
49397 * math/s_ccosl.c: Likewise.
49398 * math/s_ctan.c: Likewise.
49399 * math/s_ctanf.c: Likewise.
49400 * math/s_ctanh.c: Likewise.
49401 * math/s_ctanhf.c: Likewise.
49402 * math/s_ctanhl.c: Likewise.
49403 * math/s_ctanl.c: Likewise.
49404 * math/w_fmod.c: Likewise.
49405 * math/w_fmodf.c: Likewise.
49406 * math/w_fmodl.c: Likewise.
49407 * math/w_remainder.c: Likewise.
49408 * math/w_remainderf.c: Likewise.
49409 * math/w_remainderl.c: Likewise.
49410 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49411 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49412 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49414 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49415 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49416 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49417 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49419 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49421 * stdio-common/printf_fphex.c: Likewise.
49422 * stdio-common/printf_size.c: Likewise.
49424 * math/e_exp10.c: Include math_private.h using <...> not "...".
49425 * math/e_exp10f.c: Likewise.
49426 * math/e_exp10l.c: Likewise.
49427 * math/e_exp2l.c: Likewise.
49428 * math/e_j0l.c: Likewise.
49429 * math/e_j1l.c: Likewise.
49430 * math/e_jnl.c: Likewise.
49431 * math/e_lgammal_r.c: Likewise.
49432 * math/e_rem_pio2l.c: Likewise.
49433 * math/e_scalb.c: Likewise.
49434 * math/e_scalbf.c: Likewise.
49435 * math/e_scalbl.c: Likewise.
49436 * math/k_cosl.c: Likewise.
49437 * math/k_sinl.c: Likewise.
49438 * math/k_tanl.c: Likewise.
49439 * math/s_cacoshf.c: Likewise.
49440 * math/s_catan.c: Likewise.
49441 * math/s_catanf.c: Likewise.
49442 * math/s_catanh.c: Likewise.
49443 * math/s_catanhf.c: Likewise.
49444 * math/s_catanhl.c: Likewise.
49445 * math/s_catanl.c: Likewise.
49446 * math/s_ccosh.c: Likewise.
49447 * math/s_ccoshf.c: Likewise.
49448 * math/s_ccoshl.c: Likewise.
49449 * math/s_cexp.c: Likewise.
49450 * math/s_cexpf.c: Likewise.
49451 * math/s_cexpl.c: Likewise.
49452 * math/s_clog.c: Likewise.
49453 * math/s_clog10.c: Likewise.
49454 * math/s_clog10f.c: Likewise.
49455 * math/s_clog10l.c: Likewise.
49456 * math/s_clogf.c: Likewise.
49457 * math/s_clogl.c: Likewise.
49458 * math/s_csin.c: Likewise.
49459 * math/s_csinf.c: Likewise.
49460 * math/s_csinh.c: Likewise.
49461 * math/s_csinhf.c: Likewise.
49462 * math/s_csinhl.c: Likewise.
49463 * math/s_csinl.c: Likewise.
49464 * math/s_csqrt.c: Likewise.
49465 * math/s_csqrtf.c: Likewise.
49466 * math/s_csqrtl.c: Likewise.
49467 * math/s_ctan.c: Likewise.
49468 * math/s_ctanf.c: Likewise.
49469 * math/s_ctanh.c: Likewise.
49470 * math/s_ctanhf.c: Likewise.
49471 * math/s_ctanhl.c: Likewise.
49472 * math/s_ctanl.c: Likewise.
49473 * math/s_ldexp.c: Likewise.
49474 * math/s_ldexpf.c: Likewise.
49475 * math/s_ldexpl.c: Likewise.
49476 * math/s_significand.c: Likewise.
49477 * math/s_significandf.c: Likewise.
49478 * math/s_significandl.c: Likewise.
49479 * math/w_acos.c: Likewise.
49480 * math/w_acosf.c: Likewise.
49481 * math/w_acosh.c: Likewise.
49482 * math/w_acoshf.c: Likewise.
49483 * math/w_acoshl.c: Likewise.
49484 * math/w_acosl.c: Likewise.
49485 * math/w_asin.c: Likewise.
49486 * math/w_asinf.c: Likewise.
49487 * math/w_asinl.c: Likewise.
49488 * math/w_atan2.c: Likewise.
49489 * math/w_atan2f.c: Likewise.
49490 * math/w_atan2l.c: Likewise.
49491 * math/w_atanh.c: Likewise.
49492 * math/w_atanhf.c: Likewise.
49493 * math/w_atanhl.c: Likewise.
49494 * math/w_cosh.c: Likewise.
49495 * math/w_coshf.c: Likewise.
49496 * math/w_coshl.c: Likewise.
49497 * math/w_dremf.c: Likewise.
49498 * math/w_exp10.c: Likewise.
49499 * math/w_exp10f.c: Likewise.
49500 * math/w_exp10l.c: Likewise.
49501 * math/w_exp2.c: Likewise.
49502 * math/w_exp2f.c: Likewise.
49503 * math/w_fmod.c: Likewise.
49504 * math/w_fmodf.c: Likewise.
49505 * math/w_fmodl.c: Likewise.
49506 * math/w_hypot.c: Likewise.
49507 * math/w_hypotf.c: Likewise.
49508 * math/w_hypotl.c: Likewise.
49509 * math/w_j0.c: Likewise.
49510 * math/w_j0f.c: Likewise.
49511 * math/w_j0l.c: Likewise.
49512 * math/w_j1.c: Likewise.
49513 * math/w_j1f.c: Likewise.
49514 * math/w_j1l.c: Likewise.
49515 * math/w_jn.c: Likewise.
49516 * math/w_jnf.c: Likewise.
49517 * math/w_jnl.c: Likewise.
49518 * math/w_lgamma.c: Likewise.
49519 * math/w_lgamma_r.c: Likewise.
49520 * math/w_lgammaf.c: Likewise.
49521 * math/w_lgammaf_r.c: Likewise.
49522 * math/w_lgammal.c: Likewise.
49523 * math/w_lgammal_r.c: Likewise.
49524 * math/w_log.c: Likewise.
49525 * math/w_log10.c: Likewise.
49526 * math/w_log10f.c: Likewise.
49527 * math/w_log10l.c: Likewise.
49528 * math/w_log2.c: Likewise.
49529 * math/w_log2f.c: Likewise.
49530 * math/w_log2l.c: Likewise.
49531 * math/w_logf.c: Likewise.
49532 * math/w_logl.c: Likewise.
49533 * math/w_pow.c: Likewise.
49534 * math/w_powf.c: Likewise.
49535 * math/w_powl.c: Likewise.
49536 * math/w_remainder.c: Likewise.
49537 * math/w_remainderf.c: Likewise.
49538 * math/w_remainderl.c: Likewise.
49539 * math/w_scalb.c: Likewise.
49540 * math/w_scalbf.c: Likewise.
49541 * math/w_scalbl.c: Likewise.
49542 * math/w_sinh.c: Likewise.
49543 * math/w_sinhf.c: Likewise.
49544 * math/w_sinhl.c: Likewise.
49545 * math/w_sqrt.c: Likewise.
49546 * math/w_sqrtf.c: Likewise.
49547 * math/w_sqrtl.c: Likewise.
49548 * math/w_tgamma.c: Likewise.
49549 * math/w_tgammaf.c: Likewise.
49550 * math/w_tgammal.c: Likewise.
49552 * po/ja.po: Update from translation team.
49554 2011-09-29 Andreas Jaeger <aj@suse.de>
49557 * sunrpc/netname.c (netname2host): Fix logic.
49561 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49563 * math/w_remainder.c (__remainder): Likewise.
49564 * math/w_remainderf.c (__remainderf): Likewise.
49565 * math/libm-test.inc (remainder_test): Add test cases.
49567 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49569 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49572 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49574 * string/test-memcmp.c: Avoid unncessary #defines.
49575 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49577 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49579 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49580 Use new sse2 version for core i3 - i7 as it's faster
49581 than sse42 version.
49582 (bit_Prefer_PMINUB_for_stringop): New.
49583 * sysdeps/x86_64/rawmemchr.S: Update.
49584 Replace with faster SSE2 version.
49585 * sysdeps/x86_64/memrchr.S: New file.
49586 * sysdeps/x86_64/memchr.S: Update.
49587 Replace with faster SSE2 version.
49589 2011-09-12 Marek Polacek <mpolacek@redhat.com>
49591 * elf/dl-load.c (lose): Add cast to avoid warning.
49593 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49595 * po/ca.po: Update from translation team.
49597 * inet/getnetgrent_r.c: Hook up nscd.
49598 * nscd/Makefile (routines): Add nscd_netgroup.
49599 (nscd-modules): Add netgroupcache.
49600 (CFLAGS-netgroupcache.c): Define.
49601 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49602 (cache_search): Add const to second parameter.
49603 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49605 (dbs): Add netgrdb entry.
49606 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49607 (verify_persistent_db): Handle netgrdb.
49608 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49609 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49611 (netgroup_response_header): Define.
49612 (innetgroup_response_header): Define.
49613 (datahead): Add netgroup_response_header and innetgroup_response_header
49615 * nscd/nscd.conf: Add entries for netgroup cache.
49616 * nscd/nscd.h (dbtype): Add netgrdb.
49617 (_PATH_NSCD_NETGROUP_DB): Define.
49618 (netgroup_iov_disabled): Declare.
49619 (xmalloc, xcalloc, xrealloc): Move declarations here.
49620 (cache_search): Adjust prototype.
49621 Add netgroup-related prototypes.
49622 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49623 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49624 (__nscd_innetgr): Declare.
49625 * nscd/selinux.c (perms): Use access_vector_t as element type and
49626 add netgroup-related initializers.
49627 * nscd/netgroupcache.c: New file.
49628 * nscd/nscd_netgroup.c: New file.
49629 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49630 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49631 For four parameters use innetgr.
49632 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49633 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49634 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49635 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49637 * nscd/connections.c (register_traced_file): Don't register file
49638 for disabled databases.
49640 2011-10-06 Ulrich Drepper <drepper@gmail.com>
49642 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49644 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49645 from tree and freeing node.
49647 2011-09-25 Jiri Olsa <jolsa@redhat.com>
49649 * nss/nsswitch.c (__nss_database_lookup): Handle
49650 nss_parse_service_list out of memory case.
49652 2011-09-15 Jiri Olsa <jolsa@redhat.com>
49654 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49655 out of memory case.
49657 2011-10-04 Andreas Schwab <schwab@redhat.com>
49659 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49660 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49662 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49663 elf_machine_rela, elf_machine_lazy_rel.
49664 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49665 (ELF_DYNAMIC_DO_REL): Likewise.
49666 (ELF_DYNAMIC_DO_RELA): Likewise.
49667 (ELF_DYNAMIC_RELOCATE): Likewise.
49668 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49669 to ELF_DYNAMIC_DO_REL.
49670 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49671 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49672 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49674 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49675 skip_ifunc, don't call ifunc function if non-zero.
49676 (elf_machine_rela): Likewise.
49677 (elf_machine_lazy_rel): Likewise.
49678 (elf_machine_lazy_rela): Likewise.
49679 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49680 (elf_machine_lazy_rel): Likewise.
49681 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49683 (elf_machine_lazy_rel): Likewise.
49684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49686 (elf_machine_lazy_rel): Likewise.
49687 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49688 (elf_machine_lazy_rel): Likewise.
49689 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49690 (elf_machine_lazy_rel): Likewise.
49691 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49692 (elf_machine_lazy_rel): Likewise.
49693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49694 (elf_machine_lazy_rel): Likewise.
49695 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49696 (elf_machine_lazy_rel): Likewise.
49697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49698 (elf_machine_lazy_rel): Likewise.
49700 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49702 * nss/nss_files/files-init.c (_nss_files_init): Use static
49703 initialization for all the *_traced_file variables.
49705 2011-09-28 Andreas Schwab <schwab@redhat.com>
49707 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49709 2011-09-27 Roland McGrath <roland@hack.frob.com>
49712 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49714 2011-09-27 Andreas Schwab <schwab@redhat.com>
49716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49717 Reread the line before reparsing it.
49719 2011-09-26 Andreas Schwab <schwab@redhat.com>
49721 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49723 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49724 Maxim Kuvyrkov <maxim@codesourcery.com>
49725 Joseph Myers <joseph@codesourcery.com>
49727 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49728 if needed for __stack_chk_guard.
49730 2011-09-19 Roland McGrath <roland@hack.frob.com>
49732 * sysdeps/posix/spawni.c (script_execute): Always define it.
49733 It will be optimized away if unused.
49734 (maybe_script_execute): New function.
49735 (__spawni): Call it.
49737 * Makerules: Don't include tls.make.
49738 (config-tls): Always set to thread.
49739 * tls.make.c: File removed.
49741 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49743 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49744 * config.make.in (CPPFLAGS-config): New substituted variable.
49746 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49751 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49752 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49754 2011-09-15 Roland McGrath <roland@hack.frob.com>
49756 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49757 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49759 (CALL_FAIL): Likewise.
49760 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49761 (CALL_FAIL): Macro removed.
49762 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49764 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49766 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49767 for __FINITE_MATH_ONLY__ == 1.
49769 2011-09-15 Andreas Schwab <schwab@redhat.com>
49771 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49772 __ieee754_sqrt instead of sqrt.
49773 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49774 __ieee754_sqrtf instead of sqrtf.
49775 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49776 __floorf instead of floorf.
49777 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49778 __floorf, __truncf instead of floorf, truncf.
49780 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49782 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49784 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49785 __extern_always_inline.
49786 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49789 2011-09-14 Andreas Schwab <schwab@redhat.com>
49791 * elf/rtld.c (dl_main): Also relocate in dependency order when
49792 doing symbol dependency testing.
49794 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49797 Always define `refsym'.
49799 2011-09-13 Andreas Schwab <schwab@redhat.com>
49801 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49802 (__FD_ELT): Renamed from __FDELT.
49803 * misc/bits/select2.h (__FD_ELT): Likewise.
49804 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49805 __FD_MASK instead of __FDELT, __FDMASK.
49806 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49808 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49811 * elf/Makefile (gen-ldd): Fix pattern.
49813 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49814 (init_tls): Likewise.
49816 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49818 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49820 2011-09-12 Andreas Schwab <schwab@redhat.com>
49822 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49823 `struct cmsghdr *' instead of `void *'.
49824 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49827 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49829 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49831 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49832 ldd_rewrite_script.
49834 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49836 * configure.in: Remove --with-tls option.
49837 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49838 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49839 out in case it is missing.
49840 * sysdeps/ia64/elf/configure.in: Likewise.
49841 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49842 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49843 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49844 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49845 * sysdeps/sh/elf/configure.in: Likewise.
49846 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49847 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49848 * sysdeps/x86_64/elf/configure.in: Likewise.
49849 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49850 * sysdeps/mach/hurd/tls.h: Likewise.
49853 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49856 * configure.in: Fix use of AC_INIT.
49858 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49860 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49862 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49864 * malloc/hooks.c: Likewise.
49867 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49868 variables statically.
49869 (narenas): Initialize.
49870 (list_lock): Initialize.
49871 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49872 initializtion of main_arena and list_lock. Small cleanups.
49873 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49874 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49875 Add initializers to main_arena and mp_.
49876 (malloc_state): Remove pagesize member. Change all users to use
49879 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49880 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49881 is always initialized.
49883 * malloc/malloc.c: Removed unused configurations and dead code.
49884 * malloc/arena.c: Likewise.
49885 * malloc/hooks.c: Likewise.
49886 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49888 * include/tls.h: Removed. USE___THREAD must always be defined.
49889 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49890 * elf/dl-libc.c: Likewise.
49891 * elf/dl-tsd.c: Likewise.
49892 * include/errno.h: Likewise.
49893 * include/netdb.h: Likewise.
49894 * include/resolv.h: Likewise.
49895 * inet/herrno-loc.c: Likewise.
49896 * inet/herrno.c: Likewise.
49897 * malloc/arena.c: Likewise.
49898 * malloc/hooks.c: Likewise.
49899 * malloc/malloc.c: Likewise.
49900 * resolv/res-state.c: Likewise.
49901 * resolv/res_libc.c: Likewise.
49902 * sysdeps/i386/dl-machine.h: Likewise.
49903 * sysdeps/ia64/dl-machine.h: Likewise.
49904 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49905 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49906 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49907 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49908 * sysdeps/sh/dl-machine.h: Likewise.
49909 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49910 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49911 * sysdeps/unix/i386/sysdep.S: Likewise.
49912 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49913 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49918 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49922 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49923 * sysdeps/x86_64/dl-machine.h: Likewise.
49924 * tls.make.c: Likewise.
49926 * configure.in: Remove --with-__thread option. Make tests for
49927 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49928 tls_model attribute fail if no support is available. Remove
49930 * Makeconfig: Adjust for dropped configure option. All features are
49932 * Makerules: Likewise.
49933 * Versions.def: Likewise.
49934 * argp/argp-fmtstream.c: Likewise.
49935 * argp/argp-fmtstream.h: Likewise.
49936 * argp/argp-help.c: Likewise.
49937 * assert/assert.c: Likewise.
49938 * config.h.in: Likewise.
49939 * config.make.in: Likewise.
49940 * configure: Likewise.
49941 * configure.in: Likewise.
49942 * csu/Versions: Likewise.
49943 * csu/init.c: Likewise.
49944 * elf/tst-audit2.c: Likewise.
49945 * elf/tst-tls10.c: Likewise.
49946 * elf/tst-tls10.h: Likewise.
49947 * elf/tst-tls11.c: Likewise.
49948 * elf/tst-tls12.c: Likewise.
49949 * elf/tst-tls14.c: Likewise.
49950 * elf/tst-tlsmod11.c: Likewise.
49951 * elf/tst-tlsmod12.c: Likewise.
49952 * elf/tst-tlsmod13.c: Likewise.
49953 * elf/tst-tlsmod13a.c: Likewise.
49954 * elf/tst-tlsmod14a.c: Likewise.
49955 * elf/tst-tlsmod15b.c: Likewise.
49956 * elf/tst-tlsmod16a.c: Likewise.
49957 * elf/tst-tlsmod16b.c: Likewise.
49958 * elf/tst-tlsmod7.c: Likewise.
49959 * elf/tst-tlsmod8.c: Likewise.
49960 * elf/tst-tlsmod9.c: Likewise.
49961 * gmon/gmon.c: Likewise.
49962 * grp/fgetgrent_r.c: Likewise.
49963 * grp/putgrent.c: Likewise.
49964 * hurd/fopenport.c: Likewise.
49965 * include/libc-symbols.h: Likewise.
49966 * include/tls.h: Likewise.
49967 * intl/gettextP.h: Likewise.
49968 * intl/loadinfo.h: Likewise.
49969 * locale/global-locale.c: Likewise.
49970 * locale/localeinfo.h: Likewise.
49971 * mach/devstream.c: Likewise.
49972 * malloc/arena.c: Likewise.
49973 * malloc/set-freeres.c: Likewise.
49974 * misc/err.c: Likewise.
49975 * misc/getttyent.c: Likewise.
49976 * misc/mntent_r.c: Likewise.
49977 * posix/getopt.c: Likewise.
49978 * posix/wordexp.c: Likewise.
49979 * pwd/fgetpwent_r.c: Likewise.
49980 * resolv/Versions: Likewise.
49981 * resolv/res_hconf.c: Likewise.
49982 * shadow/fgetspent_r.c: Likewise.
49983 * shadow/putspent.c: Likewise.
49984 * stdio-common/printf_fphex.c: Likewise.
49985 * stdio-common/tmpfile.c: Likewise.
49986 * stdlib/abort.c: Likewise.
49987 * stdlib/fmtmsg.c: Likewise.
49988 * sunrpc/auth_unix.c: Likewise.
49989 * sunrpc/clnt_perr.c: Likewise.
49990 * sunrpc/clnt_tcp.c: Likewise.
49991 * sunrpc/clnt_udp.c: Likewise.
49992 * sunrpc/clnt_unix.c: Likewise.
49993 * sunrpc/openchild.c: Likewise.
49994 * sunrpc/svc_simple.c: Likewise.
49995 * sunrpc/svc_tcp.c: Likewise.
49996 * sunrpc/svc_udp.c: Likewise.
49997 * sunrpc/svc_unix.c: Likewise.
49998 * sunrpc/xdr.c: Likewise.
49999 * sunrpc/xdr_array.c: Likewise.
50000 * sunrpc/xdr_rec.c: Likewise.
50001 * sunrpc/xdr_ref.c: Likewise.
50002 * sunrpc/xdr_stdio.c: Likewise.
50004 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50006 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50008 2011-07-03 Andreas Jaeger <aj@suse.de>
50010 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50011 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50012 regenerate with gen-libm-tests.pl.
50014 2010-05-12 Petr Baudis <pasky@suse.cz>
50017 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50018 around j0() zero points by switching to j1().
50019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50020 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50021 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50022 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50024 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50026 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50028 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50031 Patch in part by Pavel Roskin <proski@gnu.org>.
50034 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50036 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50037 Free memory block if necessary.
50040 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50041 be NULL. Don't lock in this case.
50043 2011-09-09 Roland McGrath <roland@hack.frob.com>
50045 * elf/elf.h (ELFOSABI_GNU): New macro.
50046 (ELFOSABI_LINUX): Define to that.
50048 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50050 * string/strncat.c (strncat): Undef the symbol in case it has been
50051 defined in bits/string.h.
50053 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50055 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50057 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50060 2011-08-17 Andreas Jaeger <aj@suse.de>
50062 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50064 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50065 Ian Lance Taylor <iant@google.com>
50067 * math/libm-test.inc (lround_test): New testcase.
50068 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50070 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50072 * Makefile: Remove support for automatic cvs check-ins.
50073 * Makerules: Likewise.
50074 * config.make.in: Likewise.
50075 * configure.in: Likewise.
50076 * intl/Makefile: Likewise.
50077 * locale/Makefile: Likewise.
50078 * po/Makefile: Likewise.
50079 * posix/Makefile: Likewise.
50080 * sysdeps/gnu/Makefile: Likewise.
50081 * sysdeps/mach/hurd/Makefile: Likewise.
50082 * sysdeps/sparc/sparc32/Makefile: Likewise.
50085 * posix/Makefile (bug-regex32-ENV): Define.
50086 Patch by John Stanley <jpsinthemix@verizon.net>.
50088 * misc/Makefile (headers): Add bits/select2.h.
50089 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50090 * misc/bits/select2.h: New file.
50091 * include/bits/select2.h: New file.
50092 * debug/Makefile (routines): Add fdelt_chk.
50093 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50094 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50096 * debug/fdelt_chk.c: New file.
50098 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50099 * wcsmbs/test-wmemcmp.c: Likewise.
50100 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50101 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50103 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50105 * string/Makefile (strop-tests): Add memcmp.
50106 * string/test-wmemcmp.c: New file.
50107 * string/test-memcmp.c: Add wmemcmp support.
50109 2011-09-08 Roland McGrath <roland@hack.frob.com>
50112 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50115 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50116 garbage value in a __mach_port_mod_refs call in the cases of the
50117 task-self and thread-self ports.
50119 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50121 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50123 2011-09-08 Andreas Schwab <schwab@redhat.com>
50125 * elf/dl-load.c (lose): Check for non-null L.
50127 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50129 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50131 * elf/dl-libc.c (dlerror_run): Pass back error code from
50135 * elf/dl-load.c (lose): Free l_origin if it is valid.
50137 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50139 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50140 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50141 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50142 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50143 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50144 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50146 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50148 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50149 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50150 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50151 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50152 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50153 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50154 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50155 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50156 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50157 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50159 2011-08-15 Alan Modra <amodra@gmail.com>
50162 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50163 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50164 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50165 ppc_mcount to static-only-routines.
50166 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50168 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50169 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50171 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50173 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50174 for finite and infinity parameters.
50176 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50178 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50179 and add nop instructions for throughput optimization.
50180 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50182 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50185 aligned copy for power7 with vector-scalar instructions.
50186 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50188 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50193 2011-09-07 Andreas Schwab <schwab@redhat.com>
50196 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50199 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50201 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50202 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50203 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50204 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50207 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50209 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50210 Forgot to demangle the pointer.
50212 * sysdeps/i386/sysdep.h: Define atom_text_section.
50213 * sysdeps/x86_64/sysdep.h: Likewise.
50214 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50215 section with atom_text_section.
50216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50217 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50218 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50219 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50220 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50223 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50224 already be defined. Change to take two parameters and don't assign
50225 result to variable. Adjust all users.
50226 Define INTERNAL_GETTIME if not already defined.
50227 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50230 HAVE_CLOCK_GETTIME_VSYSCALL.
50231 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50234 gettimeofday vsyscall, just use time.
50236 2011-09-06 Andreas Schwab <schwab@redhat.com>
50238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50241 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50243 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50247 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50248 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50249 syscall if possible.
50251 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50253 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50254 e_ident. Don't pass to find_mapsXX.
50255 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50257 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50260 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50261 * sysdeps/x86_64/multiarch/strchr.S: Update.
50262 Check bit_slow_BSF bit.
50263 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50264 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50265 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50267 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50270 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50272 (tryshell): Define.
50273 (__spawni): Change last parameter to be flag. Test
50274 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50275 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50276 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50277 * posix/spawni.c: Likewise.
50278 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50279 * posix/spawnp.c: Likewise. Change normal version to use
50280 SPAWN_XFLAGS_USE_PATH.
50281 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50282 SPAWN_XFLAGS_TRY_SHELL.
50285 * posix/glob.h: Remove gcc 1.x support.
50288 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50290 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50293 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50295 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50296 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50297 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50298 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50299 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50300 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50302 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50304 * sysdeps/x86_64/wcscmp.S: New file.
50306 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50307 wcscmp-c wcscmp-sse2
50308 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50309 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50310 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50311 * wcsmbs/wcscmp.c: Allow renaming.
50313 2011-09-05 David S. Miller <davem@davemloft.net>
50315 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50316 stack slot, rather than the struct return pointer slot.
50317 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50318 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50320 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50322 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50324 * po/ja.po: Update from translation team.
50327 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50328 kernel in 64-bit binaries.
50330 2011-09-01 David S. Miller <davem@davemloft.net>
50332 * elf/elf.h (HWCAP_SPARC_*): Move to..
50333 * sysdeps/sparc/sysdep.h: this new file and add new values.
50334 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50335 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50336 _DL_HWCAP_COUNT to 24.
50337 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50339 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50340 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50341 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50342 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50343 instead of magic constants.
50344 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50346 2011-08-31 David S. Miller <davem@davemloft.net>
50348 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50350 Reimplement to do errno handling inline.
50351 (SYSCALL_ERROR_HANDLER): New macro.
50352 (__SYSCALL_STRING): Do not do errno handling in asm.
50353 (__CLONE_SYSCALL_STRING): Delete.
50354 (__INTERNAL_SYSCALL_STRING): Delete.
50355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50356 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50357 (PSEUDO): Reimplement to do errno handling inline.
50358 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50359 (SYSCALL_ERROR_HANDLER): New macro.
50360 (__SYSCALL_STRING): Do not do errno handling in asm.
50361 (__CLONE_SYSCALL_STRING): Delete.
50362 (__INTERNAL_SYSCALL_STRING): Delete.
50363 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50364 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50366 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50367 (inline_syscall*): Add 'err' argument.
50368 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50369 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50370 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50371 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50373 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50374 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50376 2011-08-30 Andreas Schwab <schwab@redhat.com>
50378 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50380 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50382 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50385 2011-08-24 David S. Miller <davem@davemloft.net>
50387 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50389 2011-08-24 Andreas Schwab <schwab@redhat.com>
50391 * elf/Makefile: Add rules to build and run unload8 test.
50392 * elf/unload8.c: New file.
50393 * elf/unload8mod1.c: New file.
50394 * elf/unload8mod1x.c: New file.
50395 * elf/unload8mod2.c: New file.
50396 * elf/unload8mod3.c: New file.
50398 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50401 2011-08-23 David S. Miller <davem@davemloft.net>
50403 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50404 subtract stack bias.
50405 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50406 %sp not %fp in calculations.
50407 (_JMPBUF_UNWINDS_ADJ): Likewise.
50409 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50410 (aio_suspend): Call it to force an exception region around the
50411 AIO_MISC_WAIT() invocation.
50413 2011-08-23 Andreas Schwab <schwab@redhat.com>
50415 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50418 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50420 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50422 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50423 and <dl-machine.h>.
50424 (Elf64_FuncDesc): Remove.
50426 2011-08-22 David S. Miller <davem@davemloft.net>
50428 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50429 sigaltstack check, add missing cfi directives.
50430 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50431 missing cfi directives, and sigaltstack handling.
50433 2011-08-16 Andreas Schwab <schwab@redhat.com>
50436 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50437 object is seen twice.
50438 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50440 * elf/Makefile (distribute): Add tst-initorder2.c.
50441 (tests): Add tst-initorder2.
50442 (modules-names): Add tst-initorder2a tst-initorder2b
50443 tst-initorder2c tst-initorder2d. Add rules to build them.
50444 ($(objpfx)tst-initorder2.out): New rule.
50445 * elf/tst-initorder2.c: New file.
50446 * elf/tst-initorder2.exp: New file.
50448 2011-08-22 Andreas Schwab <schwab@redhat.com>
50450 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50452 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50453 dependencies back to end of function.
50455 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50456 $(elfobjdir)/ld.so.
50458 2011-08-21 Ulrich Drepper <drepper@gmail.com>
50460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50461 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50462 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50463 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50464 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50465 of __vdso_gettimeofday.
50466 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50467 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50469 (_libc_vdso_platform_setup): Remove initialization of
50470 __vdso_gettimeofday and __vdso_time.
50472 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50474 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50475 and fgetc_unlocked.
50476 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50479 * elf/dl-open.c (add_to_global): Report additions to the global scope
50480 for LD_DEBUG=scopes.
50481 (dl_open_worker): Also print scope of newly loaded dependencies.
50482 (_dl_show_scope): Indicate if there is no scope.
50485 * stdio-common/Makefile (tests): Add bug24.
50486 * stdio-common/bug24.c: New file.
50488 2011-08-19 Andreas Jaeger <aj@suse.de>
50491 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50492 non-existant file when using close-on-exec mode.
50494 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50497 the very first instruction.
50499 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50500 the CFI state in the end.
50501 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50502 inclusion of dl-trampoline.h.
50503 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50505 2011-08-19 Andreas Schwab <schwab@redhat.com>
50507 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50508 expectations for long double.
50510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50511 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50513 2011-08-14 David S. Miller <davem@davemloft.net>
50515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50516 artificual limit depends upon the system page size.
50518 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50520 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50521 * resolv/Makefile: Define CFLAGS-libresolv.
50523 2011-08-17 Andreas Schwab <schwab@redhat.com>
50525 * nss/makedb.c (compute_tables): Make variables used in nested
50528 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50530 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50531 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50532 if buffer was too small.
50534 * elf/pldd.c (main): Attach to all threads in the process.
50535 Rewrite /proc handling to use *at functions.
50537 2011-08-16 Ulrich Drepper <drepper@gmail.com>
50539 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50540 specifies first scope to show.
50541 (dl_open_worker): Update callers. Move printing scope of new
50542 object to before the relocation.
50543 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50544 * sysdeps/generic/ldsodefs.h: Update declaration.
50546 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50547 string for the scope number.
50549 2011-08-14 Ulrich Drepper <drepper@gmail.com>
50551 * nscd/servicescache.c (cache_addserv): Make sure written is always
50554 2011-08-14 Roland McGrath <roland@hack.frob.com>
50556 * sysdeps/i386/i486/bits/atomic.h
50557 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50558 statement expression, so as to suppress "set but not used" warning.
50559 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50561 * string/strncat.c (STRNCAT): Use prototype definition.
50563 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50564 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50566 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50567 (localedef-modules): Add localedef.
50568 (locale-modules): Add locale.
50570 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50571 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50572 to avoid a warning.
50574 2011-08-14 David S. Miller <davem@davemloft.net>
50576 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50577 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50579 2011-08-13 Ulrich Drepper <drepper@gmail.com>
50581 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50582 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50583 * elf/rtld.c (dl_main): Set l_name of vDSO.
50584 Call _dl_show_scope when DL_DEBUG_SCOPES.
50585 (process_dl_debug): Recognize scopes flag and also set it for all.
50586 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50587 Declare _dl_show_scope.
50589 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50590 (do_dlopen): Pass caller_dlopen to dl_open.
50591 (__libc_dlopen_mode): Initialize caller_dlopen.
50593 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50594 of libc. Make tolower call locale-independent. Optimize a bit by
50595 using isdigit instead of isalnum.
50596 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50598 2011-08-12 Ulrich Drepper <drepper@gmail.com>
50600 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50601 was a dependency or dynamically loaded.
50603 2011-08-11 Ulrich Drepper <drepper@gmail.com>
50605 * intl/l10nflist.c: Allow architecture-specific pop function.
50606 * sysdeps/x86_64/l10nflist.c: New file.
50608 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50611 2011-08-10 Andreas Schwab <schwab@redhat.com>
50613 * include/dirent.h: Add libc_hidden_proto for scandirat and
50614 scandirat64. Don't declare __scandirat64.
50615 * dirent/scandirat.c: Add libc_hidden_def.
50616 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50617 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50619 2011-08-10 David S. Miller <davem@davemloft.net>
50621 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50627 2011-08-09 Ulrich Drepper <drepper@gmail.com>
50629 * Versions.def [libc]: Add GLIBC_2.15.
50630 * dirent/Makefile (routines): Add scandirat and scandirat64.
50631 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50633 * dirent/dirent.h: Declare scandirat and scandirat64.
50634 * dirent/scandirat.c: New file.
50635 * dirent/scandirat64.c: New file.
50636 * sysdeps/wordsize-64/scandirat.c: New file.
50637 * sysdeps/wordsize-64/scandirat64.c: New file.
50638 * dirent/opendir.c: Define opendirat.
50639 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50641 * dirent/scandir64.c: Adjust for scandir.c change.
50642 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50643 __scandirat64, and __scandir_cancel_handler.
50644 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50645 additional parameter and use openat instead of open (outside of ld.so).
50646 Add new __opendir as wrapper around __opendirat.
50647 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50648 here without requiring old scandirat implementation.
50650 2011-08-08 Ulrich Drepper <drepper@gmail.com>
50652 * dirent/scandir.c (cancel_handler): Renamed to
50653 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50654 defined. Adjust users.
50655 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50656 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50658 2011-08-04 Ulrich Drepper <drepper@gmail.com>
50660 * string/test-string.h (IMPL): Use __STRING to expand name and then
50663 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50666 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50668 * string/Makefile: Update.
50669 (strop-tests): Append strncat.
50670 * string/test-wcscmp.c: New file.
50671 New comprehensive test for wcscmp.
50672 * string/test-strcmp.c: Update.
50673 (WIDE): New define.
50675 2011-07-22 Andreas Schwab <schwab@redhat.com>
50677 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50680 2011-07-26 Andreas Schwab <schwab@redhat.com>
50682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50683 encoding to ACE if AI_IDN.
50685 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50687 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50688 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50690 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50692 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50693 Fix overflow bug in strncat.
50694 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50696 * string/test-strncat.c: Update.
50697 Add new tests for checking overflow bugs.
50699 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50702 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50703 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50704 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50706 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50707 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50708 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50709 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50711 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50712 (USE_AS_STRCAT): Define.
50713 Add strcat and strncat support.
50714 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50716 2011-07-25 Andreas Schwab <schwab@redhat.com>
50718 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50719 __n bigger than INT_MAX+1.
50720 (__strncmp_g): Likewise.
50722 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50724 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50725 * libio/stido.h: Likewise.
50727 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50732 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50733 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50734 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50735 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50739 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50744 (_dl_x86_64_save_sse): Likewise.
50746 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50750 (_dl_x86_64_save_sse): Likewise.
50752 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50754 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50756 2011-07-21 Andreas Schwab <schwab@redhat.com>
50758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50760 (_dl_x86_64_save_sse): Use correct AVX check.
50762 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50764 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50765 bug in strncpy/strncat.
50766 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50768 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50770 * string/tester.c (test_strcat): Add tests for different alignments
50771 of source and destination.
50772 (test_strncat): Likewise.
50774 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50777 * posix/glob.c (glob): Check passed in values before using them in
50778 expressions to avoid some overflows.
50779 (glob_in_dir): Likewise.
50782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50783 check for AVX enablement so that we don't crash with old kernels and
50785 * elf/tst-audit4.c: Add same checks here.
50786 * elf/tst-audit6.c: Likewise.
50788 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50790 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50792 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50794 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50796 * po/cs.po: Update from translation team.
50797 * po/bg.po: Likewise.
50799 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50801 * misc/sys/cdefs.h: Add support for const attribute.
50802 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50803 to gnu_dev_{major,minor,makedev} functions.
50805 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50807 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50809 2011-07-20 Andreas Schwab <schwab@redhat.com>
50811 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50814 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50817 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50818 register in order to avoid conflicts with the soft frame pointer
50819 being held in r11 when necessary.
50820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50821 (INTERNAL_VSYSCALL_NCS): Likewise.
50823 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50825 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50826 * elf/dl-fini.c (_dl_fini): Adjust caller.
50827 * elf/dl-close.c (_dl_close_worker): Likewise.
50828 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50830 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50832 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50833 "aux_cache->nlibs < 0".
50835 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50836 in the reload-count case.
50838 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50841 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50842 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50843 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50844 * sysdeps/x86_64/multiarch/strcat.S: New file.
50845 * sysdeps/x86_64/multiarch/strncat.S: New file.
50846 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50847 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50848 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50849 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50850 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50851 (USE_AS_STRCAT): Define.
50852 Add strcat and strncat support.
50853 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50854 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50855 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50856 * string/strncat.c: Update.
50857 (USE_AS_STRNCAT): Define.
50858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50859 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50861 * sysdeps/x86_64/multiarch/init-arch.h
50862 (bit_Prefer_PMINUB_for_stringop): New.
50863 (index_Prefer_PMINUB_for_stringop): Likewise.
50864 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50865 bit_Prefer_PMINUB_for_stringop.
50867 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50869 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50871 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50872 of casting of buffer.
50873 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50874 buffer32 and buffer64.
50875 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50876 writes instead of casting of buffer.
50877 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50879 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50882 2011-07-19 Andreas Schwab <schwab@redhat.com>
50884 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50886 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50888 * nscd/nscd.c (termination_handler): Don't do anything for a database
50889 if it has not yet been initialized.
50891 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50893 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50895 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50897 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50899 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50901 * po/nl.po: Update from translation team.
50902 * po/sv.po: Likewise.
50904 2011-07-16 Roland McGrath <roland@hack.frob.com>
50906 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50907 now disallowed by GCC.
50909 * configure.in (use-default-link): Default to yes if a test -shared
50910 link meets our qualifications.
50911 * configure: Regenerated.
50913 * config.make.in (output-format): New variable.
50914 * configure.in: Check for ld --print-output-format support.
50915 * configure: Regenerated.
50916 * Makerules ($(common-objpfx)format.lds)
50917 [$(output-format) != unknown]: Just use $(output-format),
50918 instead of the linker-script munging.
50920 2011-07-14 Roland McGrath <roland@hack.frob.com>
50922 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50923 of $(common-objpfx)shlib.lds.
50924 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50926 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50927 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50929 * configure.in (-z relro check): Adjust test code to add a large
50930 writable data section after it.
50931 * configure: Regenerated.
50933 2011-07-11 Roland McGrath <roland@hack.frob.com>
50935 * configure.in (-z relro check): Fix test code to make the variable
50937 * configure: Regenerated.
50939 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50941 * nscd/nscd.h (struct traced_file): Define.
50942 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50943 elements. Add traced_files.
50944 (inotify_fd): Declare.
50945 (register_traced_file): Declare.
50946 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50947 (inotify_fd): Export.
50948 (resolv_conf_descr): Remove.
50949 (nscd_init): Move inotify descriptor creation to main.
50950 Don't register files for notification here.
50951 (register_traced_file): New function.
50952 (invalidate_cache): Don't use reset_res to determine whether to call
50953 res_init, go through the list of registered files.
50954 (main_loop_poll): The inotify descriptors are now stored in the
50955 structures for the traced files.
50956 (main_loop_epoll): Likewise
50957 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50958 to __nss_disable_nscd.
50959 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50960 for a database anymore. Check the records for all the registered
50962 * nss/Makefile (libnss_files-routines): Add files-init.
50963 (libnss_db-routines): Add db-init.
50964 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50965 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50966 * nss/nss_db/db-init.c: New file.
50967 * nss/nss_files/files-init.c: New file.
50968 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50969 __nss_lookup_function.
50970 (__nss_lookup_function): Call nss_load_library.
50971 (nss_load_all_libraries): New function.
50972 (__nss_disable_nscd): Take parameter with callback function for files
50973 to register. Set is_nscd. Load all the DSOs for the NSS modules
50974 used for the cached services.
50975 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50976 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50977 options for features to all the files in nscd.
50979 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50981 2011-07-10 Roland McGrath <roland@hack.frob.com>
50983 * csu/elf-init.c (__libc_csu_init): Comment typo.
50985 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50987 * po/pl.po: Update from translation team.
50988 * po/ja.po: Likewise.
50989 * po/ru.po: Likewise.
50990 * po/ko.po: Likewise.
50991 * po/fr.po: Likewise.
50993 2011-07-09 Roland McGrath <roland@hack.frob.com>
50995 * configure.in (.ctors/.dtors header and trailer check):
50996 Use an empirical test on a built program.
50997 * configure: Regenerated.
50999 * configure.in (-z relro check): Use an empirical test on a built DSO.
51000 Detect, but do not require, on ia64.
51001 * configure: Regenerated.
51003 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51004 Update tests that use readelf to use $READELF instead.
51005 * configure: Regenerated.
51007 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51009 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51010 if the result is not used.
51012 2011-07-05 Andreas Jaeger <aj@suse.de>
51015 * stdlib/tst-strtod.c: Add testcase.
51017 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51019 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51020 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51021 The latter has a higher limit. Take additional parameter to pass to
51023 (__pathconf): Pass file to __statfs_link_max.
51024 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51026 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51030 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51031 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51033 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51034 (__statfs_filesize_max): Likewise.
51035 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51037 2011-07-05 Andreas Jaeger <aj@suse.de>
51039 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51041 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51043 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51045 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51048 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51050 * Makefile (strop-tests): Add strncat.
51051 * string/test-strncat.c: New file.
51053 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51055 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51057 2011-06-21 Andreas Jaeger <aj@suse.de>
51059 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51060 Copy rule from iconvdata/Makefile.
51062 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51065 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51066 but no long options are defined, just return 'W'.
51068 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51071 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51073 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51075 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51077 (innetgr): Likewise.
51079 2011-07-05 Roland McGrath <roland@hack.frob.com>
51081 * config.make.in (install_root): Default to $(DESTDIR).
51083 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51085 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51087 2011-07-02 Roland McGrath <roland@hack.frob.com>
51089 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51091 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51092 containing directory rather than embedding absolute directory names.
51094 * scripts/check-local-headers.sh: Rewritten using awk.
51095 Match by word, not by line. Print error messages for matches.
51096 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51098 * Makerules [shlib-lds-flags empty]:
51099 ($(common-objpfx)libc_pic.opts): New target.
51100 ($(common-objpfx)libc_pic.os.clean): New target.
51101 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51103 * config.make.in (OBJCOPY): New variable.
51104 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51105 * configure: Regenerated.
51107 * config.make.in (use-default-link): New variable.
51108 * configure.in (use_default_link): Grok --with-default-link to set it.
51109 * configure: Regenerated.
51110 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51111 (shlib-lds, shlib-lds-flags): Define to empty.
51113 * Makerules (shlib-lds): New variable.
51114 (shlib-lds-flags): New variable.
51115 (build-shlib, build-moduile, build-module-asneeded): Use it.
51116 ($(common-objpfx)libc.so): Use $(shlib-lds).
51117 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51118 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51120 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51121 DT_FLAGS/DT_FLAGS_1 with zero flags.
51123 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51124 linker script munging.
51126 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51128 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51130 * crypt/sha512.c (sha512_process_block): Perform total addition using
51131 128-bit if possible.
51132 (__sha512_finish_ctx): Likewise.
51133 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51135 * crypt/sha256.c (SWAP64): Define.
51136 (sha256_process_block): Perform total addition using 64-bit if
51138 (__sha256_finish_ctx): Likewise.
51140 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51142 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51143 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51144 * nscd/hstcache.c (cache_addhst): Likewise.
51145 * nscd/grpcache.c (cache_addgr): Likewise.
51146 * nscd/aicache.c (addhstaiX): Likewise
51147 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51149 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51151 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51152 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51153 * nscd/hstcache.c (cache_addhst): Likewise.
51154 * nscd/grpcache.c (cache_addgr): Likewise.
51155 * nscd/aicache.c (addhstaiX): Likewise
51157 2011-07-01 Andreas Schwab <schwab@redhat.com>
51159 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51160 domain only when needed.
51162 2011-06-30 Andreas Schwab <schwab@redhat.com>
51164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51165 is always restored.
51167 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51169 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51170 are re-adding the entry.
51171 * nscd/servicescache.c (cache_addserv): Likewise.
51173 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51175 * sysdeps/generic/dl-irel.h: fix protection against multiple
51177 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51179 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51182 * malloc/memusage.sh: Fix quoting in message.
51183 * debug/xtrace.sh: Likewise.
51185 * configure.in: Remove support for --experimental-malloc option, make
51187 * config.make.in: Likewise.
51188 * malloc/Makefile: Likewise.
51190 2011-06-27 Andreas Schwab <schwab@redhat.com>
51192 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51193 two-byte characters.
51195 2011-06-27 Roland McGrath <roland@hack.frob.com>
51197 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51198 AC_CACHE_CHECK invocation.
51199 * configure: Regenerated.
51201 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51203 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51206 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51207 bit from old_res_options.
51209 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51211 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51212 value type for setfct.
51214 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51217 __gettimeofday instead of gettimeofday.
51219 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51221 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51223 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51225 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51230 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51233 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51234 strcpy-sse2-unaligned strncpy-sse2-unaligned
51235 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51236 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51237 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51238 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51239 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51240 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51241 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51242 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51243 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51244 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51245 (STRCPY): Support SSE2 and SSSE3 versions.
51247 2011-06-24 Ulrich Drepper <drepper@gmail.com>
51250 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51251 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51252 kernels which artificially limit size of requests.
51254 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51257 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51258 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51259 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51260 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51261 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51262 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51263 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51264 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51265 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51266 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51267 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51268 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51269 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51270 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51272 Enable unaligned load optimization for Intel Core i3, i5 and i7
51274 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51276 (index_Fast_Unaligned_Load): Define.
51277 (HAS_FAST_UNALIGNED_LOAD): Define.
51279 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51281 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51283 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51286 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51287 until it is clear that the information is realy needed.
51288 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51290 2011-06-22 Andreas Schwab <schwab@redhat.com>
51292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51294 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51297 /sys/devices/system/cpu/online if it is usable.
51299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51300 reading the information from the /proc filesystem to once a second.
51302 2011-06-21 Andreas Jaeger <aj@suse.de>
51304 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51305 NULL after inclusion of kernel headers.
51307 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51309 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51310 calls to internal_setent.
51313 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51314 addresses using gethostbyname4_r ignore IPv4 addresses.
51316 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51317 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51319 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51321 2011-06-20 David S. Miller <davem@davemloft.net>
51323 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51325 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51327 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51328 (elf_irel): Use it.
51329 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51330 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51331 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51332 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51333 * sysdeps/x86_64/dl-irel.h: Likewise.
51335 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51336 * elf/dl-sym.c: Likewise.
51338 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51340 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51341 need to dereference resplen2.
51343 2011-06-14 Andreas Schwab <schwab@redhat.com>
51345 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51347 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51349 * Makeconfig: Define vardbdir and inst_vardbdir.
51350 * nss/Makefile: Add rules to install db-Makefile.
51352 * nss/nss_db/db-XXX.c: Cleanup.
51354 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51355 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51357 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51358 * nss/makedb.c: Implement -g option to specify that value strings
51359 are generated and should not be added to table iterated over for
51361 * nss/nss_db/db-initgroups.c: New file.
51363 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51366 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51367 (internal_getgrouplist): Adjust to name change.
51368 Update use_initgroups_entry if this is not the first call.
51369 * nss/databases.def: Add initgroups entry.
51371 * nss/makedb.c (compute_tables): Check result of multiple hash table
51372 sizes to minimize maximum chain length.
51374 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51376 * Versions.def: Add entry for libnss_db.
51377 * shlib-versions: Likewise.
51378 * nss/Makefile: Add rules to build libnss_db.
51379 * nss/Versions: Add libnss_db information. Organize libnss_files
51381 * nss/db-Makefile: Add gshadow support. Change rules for the new
51382 makedb progra. Some minor improvements to generate smaller files.
51383 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51385 * nss/makedb.c: ...here.
51386 Improve database format to be smaller and require less memory at
51388 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51390 * nss/nss_db/db-netgrp.c: Likewise.
51391 * nss/nss_db/db-open.c: Likewise.
51392 * nss/nss_files/flies-XXX.x: Adjust comments.
51393 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51394 * nss/nss_files/files-grp.c: Likewise.
51395 * nss/nss_files/files-hosts.c: Likewise.
51396 * nss/nss_files/files-network.c: Likewise.
51397 * nss/nss_files/files-proto.c: Likewise.
51398 * nss/nss_files/files-pwd.c: Likewise.
51399 * nss/nss_files/files-rpc.c: Likewise.
51400 * nss/nss_files/files-service.c: Likewise.
51401 * nss/nss_files/files-sgrp.c: Likewise.
51402 * nss/nss_files/files-spwd.c: Likewise.
51403 * nss/nss_db/db-alias.c: Removed.
51404 * nss/nss_db/dummy-db.h: Removed.
51406 2011-06-02 Ulrich Drepper <drepper@gmail.com>
51408 * nss/makedb.c: Rewritten to not use database library.
51409 * nss/Makefile: Update to build new makedb program.
51411 2011-06-14 Andreas Jaeger <aj@suse.de>
51413 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51414 memset declaration.
51416 2011-06-10 Andreas Schwab <schwab@redhat.com>
51418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51421 2011-06-10 Roland McGrath <roland@hack.frob.com>
51423 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51424 * elf/Makefile ($(objpfx)ld.so): Likewise.
51426 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51427 Don't list ld.so twice in dependencies.
51429 * posix/bug-regex31.c: Include <stdlib.h>.
51431 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51433 * nis/nss_compat/compat-spwd.c
51434 (getspent_next_nss_netgr): Remove unused variable.
51435 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51437 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51438 nonmembers" output to use the right array.
51440 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51442 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51444 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51445 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51446 * catgets/gencat.c (read_input_file): Likewise.
51447 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51449 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51450 variable definition inside #if's controlling its use.
51452 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51454 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51456 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51458 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51461 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51463 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51464 * configure: Regenerated.
51466 * Makerules: Revert last change.
51467 * elf/Makefile: Likewise.
51469 2011-06-09 Roland McGrath <roland@hack.frob.com>
51471 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51472 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51473 (reloc-link): Likewise.
51475 2011-06-09 Ulrich Drepper <drepper@gmail.com>
51477 * elf/Makefile: Add rules to build pldd.
51478 * elf/pldd.c: New file.
51479 * elf/pldd-xx.c: New file.
51481 2011-06-07 Ulrich Drepper <drepper@gmail.com>
51483 * version.h: Update for 2.15 development version.
51485 2011-06-07 David S. Miller <davem@davemloft.net>
51487 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51490 elf_machine_lazy_rel): Likewise.
51491 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51493 elf_machine_lazy_rel): Likewise.
51494 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51495 dl_hwcap via passed in argument.
51496 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51499 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51501 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51503 2011-06-06 Roland McGrath <roland@hack.frob.com>
51506 * manual/fdl-1.1.texi: New file, verbatim from:
51507 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51508 * manual/lgpl-2.1.texi: New file, verbatim from:
51509 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51510 * manual/Makefile (licenses): New variable, list those new file names.
51512 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51514 * manual/fdl.texi: File removed.
51515 * manual/lesser.texi: File removed.
51516 * manual/libc.texinfo (Copying, Documentation License):
51517 Use new @include file names, put @appendix directive before @include.
51519 2011-06-04 Jakub Jelinek <jakub@redhat.com>
51522 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51523 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51524 (mq_open): Add __NTH.
51526 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51529 Assume Intel Core i3/i5/i7 processor if AVX is available.
51531 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51533 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51536 2011-05-31 Andreas Schwab <schwab@redhat.com>
51538 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51539 memory. Use alloca_account. Fix memory leak when retrying.
51541 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51543 * version.h (RELEASE): Bump for 2.14 release.
51544 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51546 * config.make.in (RANLIB): Remove entry.
51548 2011-05-30 Ulrich Drepper <drepper@gmail.com>
51550 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51551 (libc.pot): Work around missing support for .ksh extension in xgettext.
51554 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51555 if both request failed.
51556 (send_dg): In case of server errors clear resplen or *resplen2.
51559 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51560 when there are multiple maps.
51561 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51562 (_dl_fini): Remove test here.
51564 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51566 2011-05-29 Ulrich Drepper <drepper@gmail.com>
51569 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51570 bit from old_res_options.
51571 (gaih_inet): Likewise.
51574 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51577 * resolv/res_init.c (res_setoptions): Make the code more compact.
51580 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51584 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51586 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51589 * malloc/malloc.h: Declare malloc hook variables as volatile.
51591 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51595 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51596 raise in the comment.
51597 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51598 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51599 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51601 2011-05-28 Ulrich Drepper <drepper@gmail.com>
51604 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51605 grow the buffers more if it already has to be sufficient.
51606 (build_wcs_upper_buffer): Likewise.
51607 * posix/regexec.c (check_matching): Likewise.
51608 (clean_state_log_if_needed): Likewise.
51609 (extend_buffers): Don't enlarge buffers beyond size of the input
51611 Patches mostly by Emil Wojak <emil@wojak.eu>.
51612 * posix/bug-regex32.c: New file.
51613 * posix/Makefile (tests): Add bug-regex32.
51615 * locale/findlocale.c (_nl_find_locale): Return right away if
51616 _nl_explode_name failed.
51617 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51619 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51621 * debug/xtrace.sh: Unify messages.
51622 * malloc/memusage.sh: Likewise.
51625 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51626 time symbol from vDSO. Substitute with vsyscall if not available.
51627 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51630 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51631 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51632 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51633 Add sendmmsg and internal_sendmmsg.
51634 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51635 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51636 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51638 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51639 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51640 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51642 2011-05-27 Ulrich Drepper <drepper@gmail.com>
51645 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51646 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51648 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51652 * iconvdata/Makefile (tests): Add bug-iconv9.
51653 * iconvdata/bug-iconv9.c: New file.
51655 2011-05-27 Andreas Schwab <schwab@redhat.com>
51658 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51660 2011-05-25 Jakub Jelinek <jakub@redhat.com>
51662 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51663 (struct user_regs_struct): Change intcs field back to cs.
51665 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51667 * po/ja.po: Update from translation team.
51669 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51672 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51673 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51675 2011-05-20 Andreas Schwab <schwab@redhat.com>
51677 * stdlib/longlong.h: Update from GCC.
51679 2011-05-23 Andreas Schwab <schwab@redhat.com>
51681 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51683 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51684 Add parameter name.
51685 (__sysconf): Pass it down.
51687 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51690 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51692 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51693 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51694 add in in __libc_use_alloca calls. Adjust callers.
51695 (glob): Use malloc in some situations.
51697 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51698 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51701 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51703 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51704 and CLOCK_BOOTTIME_ALARM.
51707 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51710 * string/_strerror.c (__strerror_r): Print negative errors as signed
51714 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51715 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51716 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51718 * configure.in: Fix typo in redirection and correct removal of test
51719 files in two cases.
51722 * locale/setlocale.c (new_composite_name): Fix test to check for
51723 identical name of all categories.
51726 * libio/filedoalloc.c (local_isatty): New function.
51727 (_IO_file_doallocate): Use local_isatty.
51728 * stdio-common/perror.c (perror): In case a new stream is used
51729 forward the stream error.
51730 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51733 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51738 * include/alloca.h (extend_alloca_account): Define.
51741 * posix/regex.h: Fix comments with documentation of user-accessible
51742 fields after compilation and describe correct free'ing of pattern
51743 after re_compile_pattern.
51744 Patch by Reuben Thomas <rrt@sc3d.org>.
51746 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51748 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51749 and -mno-altivec to prevent the compiler from using Altivec and/or
51750 VSX instructions when the corresponding registers are not available.
51752 2011-05-19 Andreas Schwab <schwab@redhat.com>
51754 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51756 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51758 * libio/freopen.c (freopen): Use __dup2, not dup2.
51759 * libio/freopen64.c (freopen64): Likewise.
51761 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51764 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51765 * math/Makefile (tests): Add test-powl.
51766 (CFLAGS-test-powl.c): Define.
51767 * math/test-powl.c: New file.
51769 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51771 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51773 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51776 * iconvdata/gb18030.c: Update to GB18020-2005.
51778 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51780 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51781 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51782 Patch by Aharon Robbins <arnold@skeeve.com>.
51785 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51789 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51790 through underflows.
51793 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51794 point to strings before performing equality test for error_one_per_line
51798 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51801 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51802 (struct user_fpregs_struct): Avoid __uint*_t types.
51805 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51806 symbol info. Use it instead of calling _dl_addr locally.
51807 (lock_and_info): New function.
51808 (tr_freehook): Call lock_and_info and pass symbol info as additional
51809 parameter to tr_where.
51810 (tr_mallochook): Likewise.
51811 (tr_reallochook): Likewise.
51812 (tr_memalignhook): Likewise.
51814 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51815 used and couldn't be at all thread-safe.
51817 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51819 * libio/freopen.c (freopen): Don't close old file descriptor
51820 before the new one is opened. Instead dup the new file descriptor
51821 to the old one after the new stream is created.
51822 * libio/freopen64.c (freopen64): Likewise.
51823 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51824 * libio/fileops.c (_IO_new_file_close_it): Handle new
51825 _IO_FLAGS2_NOCLOSE flag.
51826 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51827 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51828 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51829 _IO_FLAGS2_NOCLOSE flag.
51830 * include/unistd.h: Add hidden_proto for dup3.
51831 Define __have_dup3.
51832 * io/dup3.c: Define hidden symbol.
51833 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51836 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51837 when an incomplete long option is used.
51838 * posix/tst-getopt_long1.c: New file.
51839 * posix/Makefile (tests): Add tst-getopt_long1.
51842 * scripts/config.guess: Update from autoconf-2.68.
51843 * scripts/config.sub: Likewise.
51846 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51848 (has_cpuclock): ...this. New function.
51849 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51850 macro here based on has_cpuclock code.
51853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51854 First byte (not low byte) is now always NUL.
51855 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51858 Use non-cancelable interfaces.
51861 * locale/iso-639.def: Add entry for Sorani.
51864 * include/stdlib.h: Move include protection to the right place.
51865 Define abort_msg_s. Declare __abort_msg with it.
51866 * stdlib/abort.c (__abort_msg): Adjust type.
51867 * assert/assert.c (__assert_fail_base): New function. Majority
51868 of code from __assert_fail. Allocate memory for __abort_msg with
51870 (__assert_fail): Now call __assert_fail_base.
51871 * assert/assert-perr.c: Remove bulk of implementation. Use
51872 __assert_fail_base.
51873 * include/assert.hL Declare __assert_fail_base.
51874 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51876 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51878 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51882 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51883 until all modules are registered in the DTV.
51884 * elf/Makefile: Add rules to build and run tst-tls19.
51885 * elf/tst-tls19.c: New file.
51886 * elf/tst-tls19mod1.c: New file.
51887 * elf/tst-tls19mod2.c: New file.
51888 * elf/tst-tls19mod3.c: New file.
51889 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51892 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51896 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51897 two-byte sequence errors.
51898 * iconvdata/Makefile (tests): Add bug-iconv8.
51899 * iconvdata/bug-iconv8.c: New file.
51902 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51905 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51908 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51909 (dummy_getcfa): New function.
51910 (init): Get _Unwind_GetCFA address, use dummy if not found.
51911 (backtrace_helper): In recursion check, also check whether CFA changes.
51912 (__backtrace): Completely initialize arg.
51914 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51915 storing incomplete byte sequence in state object. Avoid testing for
51916 guaranteed too small input if we know there is enough data available.
51918 2011-05-11 Andreas Schwab <schwab@redhat.com>
51920 * Makeconfig (+link-pie): Indent.
51921 * Rules (binaries-pie): Define if $(have-fpie) and
51923 (binaries-shared): Also filter out $(binaries-pie).
51924 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51925 * nscd/Makefile (others-pie): Add nscd.
51926 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51927 ($(objpfx)nscd): Remove command override.
51928 * login/Makefile (others-pie): Add pt_chown.
51929 ($(objpfx)pt_chown): Remove command override.
51930 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51931 remove command overrides.
51933 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51935 * libio/tst_putwc.c: Fix error messages.
51938 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51939 currently writing and seek to current position when not.
51940 * libio/Makefile (tests): Add bug-fclose1.
51941 * libio/bug-fclose1.c: New file.
51943 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51946 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51947 don't set DF_1_NODELETE here.
51948 (do_lookup_x): When entering new entry test for copy relocation
51949 and if necessary set DF_1_NODELETE flag.
51950 * elf/tst-unique4.cc: New file.
51951 * elf/tst-unique4.h: New file.
51952 * elf/tst-unique4lib.cc: New file.
51953 * elf/Makefile: Add rules to build and run tst-unique4.
51954 Patch by Piotr Bury <pbury@goahead.com>.
51956 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51959 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51962 * misc/mntent_r.c (addmntent): Flush the stream after the output
51965 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51966 (is_trusted_path_normalize): Skip initial colon. Append slash
51967 to empty buffer. Duplicate is_trusted_path code but allow
51968 constructed patch to be prefix.
51969 (is_dst): Allow $ORIGIN followed by /.
51970 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51971 Correct testing of result of is_trusted_path_normalize
51972 (decompose_rpath): Fix warning.
51974 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51977 * grp/initgroups.c (internal_getgrouplist): When we found the service
51978 list through the initgroups entry in nsswitch.conf do not always
51979 continue on a successful lookup. Don't always use the
51980 __nss_group_database value if it is set.
51981 * nss/nsswitch.conf (initgroups): Change action for successful db
51982 lookup to continue for compatibility.
51984 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51987 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51989 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51991 * iconvdata/tst-tables.sh: Likewise.
51992 * iconvdata/cp770.c: New file.
51993 * iconvdata/cp771.c: New file.
51994 * iconvdata/cp772.c: New file.
51995 * iconvdata/cp773.c: New file.
51996 * iconvdata/cp774.c: New file.
51997 * iconvdata/testdata/CP770: New file.
51998 * iconvdata/testdata/CP770..UTF8: New file.
51999 * iconvdata/testdata/CP771: New file.
52000 * iconvdata/testdata/CP771..UTF8: New file.
52001 * iconvdata/testdata/CP772: New file.
52002 * iconvdata/testdata/CP772..UTF8: New file.
52003 * iconvdata/testdata/CP773: New file.
52004 * iconvdata/testdata/CP773..UTF8: New file.
52005 * iconvdata/testdata/CP774: New file.
52006 * iconvdata/testdata/CP774..UTF8: New file.
52008 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52010 * iconvdata/gen-8bit-gap.sh: Likewise.
52011 * iconvdata/gen-8bit.sh: Likewise.
52013 * locale/iso-639.def: Add ary entry.
52016 * locale/C-translit.h.in: Add U20A1 transliteration.
52019 * locale/iso-639.def: Add wae entry.
52020 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52023 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52027 * locale/C-translit.h.in: Add entry for U20B9.
52028 Patch by pravin.d.s@gmail.com.
52030 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52033 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52034 ENAMETOOLONG use generic getcwd.
52035 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52036 in rtld. Use *stat64.
52037 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52038 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52039 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52040 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52041 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52042 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52043 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52044 __fstatat64 macros.
52045 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52046 * dirent/rewinddir.c: Add libc_hidden_def.
52047 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52048 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52050 * include/dirent.h (__alloc_dir): Add flags parameter.
52051 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52052 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52054 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52055 from fdopendir if O_CLOEXEC is already set.
52057 2011-03-15 Alan Modra <amodra@gmail.com>
52059 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52060 l_tls_firstbyte_offset non-zero. Save padding offset in
52061 l_tls_firstbyte_offset for later use.
52062 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52063 freeing static tls block.
52065 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52067 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52068 where #ifdef was intended. The intent is to prevent ARG_MAX from
52069 being defined by the kernel headers.
52071 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52074 * resolv/resolv.h: Define RES_NOTLDQUERY.
52075 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52076 no-tld-query and set RES_NOTLDQUERY.
52077 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52078 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52079 modern BIND to search name as TLD unless forbidden.
52081 2011-05-07 Petr Baudis <pasky@suse.cz>
52082 Ulrich Drepper <drepper@gmail.com>
52085 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52086 (is_trusted_path): ...to here.
52087 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52088 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52089 using is_trusted_path_normalize() in setuid scripts.
52091 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52093 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52094 __BEGIN/__END_DECLS.
52096 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52099 NSS_STATUS_NOTFOUND if no record was found.
52101 2011-05-05 Andreas Schwab <schwab@redhat.com>
52103 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52104 (headers-not-in-tirpc): Remove rpc/netdb.h
52105 * resolv/netdb.h: Revert last change.
52107 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52109 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52110 circular dependency between libgcc.a and libc.a.
52112 2011-05-05 Andreas Schwab <schwab@redhat.com>
52114 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52115 * nis/Makefile: Don't install rpcsvc/*.
52116 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52117 instead of <rpc/types.h>.
52118 (MAXHOSTNAMELEN): Define.
52120 2011-05-03 Andreas Schwab <schwab@redhat.com>
52122 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52124 2011-04-28 Maciej Babinski <mbabinski@google.com>
52127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52128 gethostbyname4_r when IPv6 results are possible.
52130 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52133 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52134 _PC_PIPE_BUF handling.
52136 2011-04-30 Bruno Haible <bruno@clisp.org>
52139 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52140 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52142 * inet/getnameinfo.c (getnameinfo): Likewise.
52144 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52146 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52147 to groups setting in database lookup.
52148 * nss/nsswitch.conf: Add initgroups entry.
52150 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52153 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52155 Patch by Eric Blake <eblake@redhat.com>.
52157 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52159 * sunrpc/Makefile (need-export-routines): Add svc_run.
52160 (routines): Remove svc_run.
52161 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52162 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52163 * sunrpc/svc_run.c (svc_run): Likewise.
52164 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52166 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52169 problem in reallocation in last patch.
52171 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52173 * sunrpc/Makefile: Move inclusion of Rules.
52175 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52177 * nss/nss_files/files-initgroups.c: New file.
52178 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52179 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52180 _nss_files_initgroups_dyn.
52182 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52184 * elf/elf.h (R_ARM_IRELATIVE): Define.
52186 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52188 * po/ru.po: Update from translation team.
52190 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52192 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52195 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52198 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52199 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52200 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52201 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52202 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52204 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52206 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52208 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52209 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52212 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52215 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52217 * stdlib/bug-getcontext.c: New file.
52218 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52220 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52222 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52223 instructions into .machine "z9-109".
52224 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52225 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52227 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52229 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52230 between environment variables and auxiliary vector.
52232 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52234 * Makefile: Add rules to build linkobj/libc.so.
52235 * include/libc-symbols.h: Define libc_hidden_nolink.
52236 * include/rpc/auth.h: Mark functions which are to be hidden.
52237 * include/rpc/auth_des.h: Likewise.
52238 * include/rpc/auth_unix.h: Likewise.
52239 * include/rpc/clnt.h: Likewise.
52240 * include/rpc/des_crypt.h: Likewise.
52241 * include/rpc/key_prot.h: Likewise.
52242 * include/rpc/pmap_clnt.h: Likewise.
52243 * include/rpc/pmap_prot.h: Likewise.
52244 * include/rpc/pmap_rmt.h: Likewise.
52245 * include/rpc/rpc_msg.h: Likewise.
52246 * include/rpc/svc.h: Likewise.
52247 * include/rpc/svc_auth.h: Likewise.
52248 * include/rpc/xdr.h: Likewise.
52249 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52250 * nss/Makefile: Likewise.
52251 * sunrpc/Makefile: Don't install headers. Build library with normal
52252 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52253 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52254 for the compat linking library. Remove use of INTDEF/INTUSE.
52255 * sunrpc/auth_none.c: Likewise.
52256 * sunrpc/auth_unix.c: Likewise.
52257 * sunrpc/authdes_prot.c: Likewise.
52258 * sunrpc/authuxprot.c: Likewise.
52259 * sunrpc/clnt_gen.c: Likewise.
52260 * sunrpc/clnt_perr.c: Likewise.
52261 * sunrpc/clnt_raw.c: Likewise.
52262 * sunrpc/clnt_simp.c: Likewise.
52263 * sunrpc/clnt_tcp.c: Likewise.
52264 * sunrpc/clnt_udp.c: Likewise.
52265 * sunrpc/clnt_unix.c: Likewise.
52266 * sunrpc/des_crypt.c: Likewise.
52267 * sunrpc/des_soft.c: Likewise.
52268 * sunrpc/get_myaddr.c: Likewise.
52269 * sunrpc/key_call.c: Likewise.
52270 * sunrpc/key_prot.c: Likewise.
52271 * sunrpc/netname.c: Likewise.
52272 * sunrpc/pm_getmaps.c: Likewise.
52273 * sunrpc/pm_getport.c: Likewise.
52274 * sunrpc/pmap_clnt.c: Likewise.
52275 * sunrpc/pmap_prot.c: Likewise.
52276 * sunrpc/pmap_prot2.c: Likewise.
52277 * sunrpc/pmap_rmt.c: Likewise.
52278 * sunrpc/publickey.c: Likewise.
52279 * sunrpc/rpc_cmsg.c: Likewise.
52280 * sunrpc/rpc_common.c: Likewise.
52281 * sunrpc/rpc_dtable.c: Likewise.
52282 * sunrpc/rpc_prot.c: Likewise.
52283 * sunrpc/rpc_thread.c: Likewise.
52284 * sunrpc/rtime.c: Likewise.
52285 * sunrpc/svc.c: Likewise.
52286 * sunrpc/svc_auth.c: Likewise.
52287 * sunrpc/svc_authux.c: Likewise.
52288 * sunrpc/svc_raw.c: Likewise.
52289 * sunrpc/svc_run.c: Likewise.
52290 * sunrpc/svc_simple.c: Likewise.
52291 * sunrpc/svc_tcp.c: Likewise.
52292 * sunrpc/svc_udp.c: Likewise.
52293 * sunrpc/svc_unix.c: Likewise.
52294 * sunrpc/svcauth_des.c: Likewise.
52295 * sunrpc/xcrypt.c: Likewise.
52296 * sunrpc/xdr.c: Likewise.
52297 * sunrpc/xdr_array.c: Likewise.
52298 * sunrpc/xdr_float.c: Likewise.
52299 * sunrpc/xdr_intXX_t.c: Likewise.
52300 * sunrpc/xdr_mem.c: Likewise.
52301 * sunrpc/xdr_rec.c: Likewise.
52302 * sunrpc/xdr_ref.c: Likewise.
52303 * sunrpc/xdr_sizeof.c: Likewise.
52304 * sunrpc/xdr_stdio.c: Likewise.
52306 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52309 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52310 * sysdeps/ia64/dl-tls.h: Likewise.
52311 * sysdeps/powerpc/dl-tls.h: Likewise.
52312 * sysdeps/s390/dl-tls.h: Likewise.
52313 * sysdeps/sh/dl-tls.h: Likewise.
52314 * sysdeps/sparc/dl-tls.h: Likewise.
52315 * sysdeps/x86_64/dl-tls.h: Likewise.
52316 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52318 2011-03-14 Andreas Schwab <schwab@redhat.com>
52320 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52321 rpath element also skip the following colon.
52322 (expand_dynamic_string_token): Add is_path parameter and pass
52323 down to DL_DST_REQUIRED and _dl_dst_substitute.
52324 (decompose_rpath): Call expand_dynamic_string_token with
52325 non-zero is_path. Ignore empty rpaths.
52326 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52329 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52334 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52337 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52338 Patch by Filipe David Manana <fdmanana@apache.org>.
52340 2011-04-07 Andreas Schwab <schwab@redhat.com>
52342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52343 Maintain aligned stack.
52344 (CHECK_RSP): Remove unused macro.
52346 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52348 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52349 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52351 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52353 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52355 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52357 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52360 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52361 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52362 * sysdeps/x86_64/memmove.c: New file.
52363 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52364 (memcpy): Renamed to ...
52365 (__new_memcpy): This.
52366 (memcpy): Provide GLIBC_2_14 memcpy.
52367 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52368 (memcpy): Provide GLIBC_2_2_5 memcpy.
52370 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52373 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52375 2011-03-30 Andreas Schwab <schwab@redhat.com>
52377 * misc/syncfs.c: New file.
52378 * misc/Makefile (routines): Add syncfs.
52379 * posix/unistd.h: Declare syncfs.
52380 * sysdeps/unix/syscalls.list: Add syncfs.
52382 2011-04-01 Andreas Schwab <schwab@redhat.com>
52384 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52391 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52392 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52394 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52398 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52400 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52404 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52405 sync_file_range.c with -fexceptions.
52406 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52407 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52408 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52409 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52410 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52411 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52413 sync_file_range as cancellation point
52414 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52415 now a wrapper around __call_sync_file_range with cancellation handling.
52416 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52417 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52418 function name to __call_sync_file_range.
52419 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52420 Add call_sync_file_range.
52422 2011-04-01 Andreas Schwab <schwab@redhat.com>
52424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52427 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52429 * iconv/iconv.h: Fix typo in comment.
52430 * io/fcntl.h: Likewise.
52431 * libio/stdio.h: Likewise.
52432 * posix/spawn.h: Likewise.
52433 * posix/unistd.h: Likewise.
52434 * stdlib/stdlib.h: Likewise.
52435 * time/time.h: Likewise.
52436 * wcsmbs/wchar.h: Likewise.
52438 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52439 open_by_handle): Add.
52440 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52441 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52442 Augment a few comments.
52443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52445 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52447 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52448 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52451 * io/fcntl.h (AT_EMPTY_PATH): Define.
52453 2011-03-30 Ulrich Drepper <drepper@gmail.com>
52455 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52456 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52457 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52459 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52460 * Versions.def: Add GLIBC_2.14.
52461 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52464 2011-03-22 Ulrich Drepper <drepper@gmail.com>
52466 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52468 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52470 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52473 * string/test-strncmp.c (do_page_test): New function.
52474 (check2): Likewise.
52475 (test_main): Call check2.
52476 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52478 2011-03-20 Ulrich Drepper <drepper@gmail.com>
52481 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52482 Handle cache information in CPU leaf 4.
52483 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52485 2011-03-18 Ulrich Drepper <drepper@gmail.com>
52488 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52489 character representation.
52490 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52492 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52494 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52495 END(__isnan) to END(__isnanf) to match function entry point/label
52496 EALIGN(__isnanf,...).
52498 2011-03-10 Jakub Jelinek <jakub@redhat.com>
52500 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52502 2011-03-10 Ulrich Drepper <drepper@gmail.com>
52505 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52506 copy from the symbol referenced in the relocation to initialize the
52508 Patch by Piotr Bury <pbury@goahead.com>.
52509 * elf/Makefile: Add rules to build and tst-unique3.
52510 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52511 * elf/tst-unique3.cc: New file.
52512 * elf/tst-unique3.h: New file.
52513 * elf/tst-unique3lib.cc: New file.
52514 * elf/tst-unique3lib2.cc: New file.
52516 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52518 2011-03-10 Mike Frysinger <vapier@gentoo.org>
52520 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52521 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52524 2011-03-06 Ulrich Drepper <drepper@gmail.com>
52526 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52527 to-be-loaded object along a path to loader is ld.so.
52529 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52530 Ulrich Drepper <drepper@gmail.com>
52532 * sysdeps/x86_64/memset.S: After aligning destination, code
52533 branches to different locations depending on the value of
52534 misalignment, when multiarch is enabled. Fix this.
52536 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52538 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52539 Set _x86_64_preferred_memory_instruction for AMD processsors.
52540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52541 Set bit_Prefer_SSE_for_memop for AMD processors.
52543 2011-03-04 Ulrich Drepper <drepper@gmail.com>
52545 * libio/fmemopen.c (fmemopen): Optimize a bit.
52547 2011-03-03 Andreas Schwab <schwab@redhat.com>
52549 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52551 2011-03-03 Roland McGrath <roland@redhat.com>
52553 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52555 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52557 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52558 __bzero_ultra1 instead of __memset_ultra1.
52560 2011-02-23 Andreas Schwab <schwab@redhat.com>
52561 Ulrich Drepper <drepper@gmail.com>
52564 * include/link.h (struct link_map): Add l_orig_initfini.
52565 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52566 returning unsuccessfully.
52567 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52568 close of a file loaded at startup, restore the original l_initfini
52570 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52571 list, store the pointer.
52572 * elf/Makefile ($(objpfx)noload-mem): New rule.
52573 (noload-ENV): Define.
52574 (tests): Add $(objpfx)noload-mem.
52575 * elf/noload.c: Include <memcheck.h>.
52576 (main): Call mtrace. Close all opened handles.
52578 2011-02-17 Andreas Schwab <schwab@redhat.com>
52581 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52582 dependencies are missing.
52584 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52586 Fix __if_freereq crash: Unlike the generic version which uses free,
52588 * sysdeps/mach/hurd/ifreq.h: New file.
52590 2011-01-27 Petr Baudis <pasky@suse.cz>
52591 Ulrich Drepper <drepper@gmail.com>
52594 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52595 to extend_alloca().
52596 * stdio-common/bug23.c: New file.
52597 * stdio-common/Makefile (tests): Add bug23.
52599 2010-09-28 Andreas Schwab <schwab@redhat.com>
52600 Ulrich Drepper <drepper@gmail.com>
52603 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52604 before performing relro protection. At old place add assertion
52605 to make sure nothing changed.
52607 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52608 Glauber de Oliveira Costa <glommer@gmail.com>
52610 * elf/elf.h: Add new ARM TLS relocs.
52612 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52615 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52617 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52619 * sysdeps/wordsize-64/tst-writev.c: New file.
52621 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52623 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52624 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52625 insns in _dl_start to prevent a TOC reference before relocs are
52628 2011-02-15 Ulrich Drepper <drepper@gmail.com>
52631 * Makeconfig: Remove RANLIB definition.
52632 * Makerules: Don't use RANLIB.
52633 * aclocal.m4: Remove ranlib test.
52634 * configure.in: No need to check for ranlib.
52635 * elf/rtld-Rules: Don't use RANLIB.
52637 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52639 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52641 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52642 inclusion protection macro.
52644 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52645 SIGRTMIN and SIGRTMAX and print information in that case only when
52646 SIGRTMIN is defined.
52648 2011-02-11 Jakub Jelinek <jakub@redhat.com>
52650 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52651 arginfo fn returning -1.
52653 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52654 and thousands string is zero terminated.
52656 2011-02-03 Andreas Schwab <schwab@redhat.com>
52658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52659 sysdeps/unix/sysv/linux/bits/socket.h.
52661 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52663 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52664 (__CPU_COUNT): Remove old macros.
52665 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52666 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52667 (__CPU_ALLOC, __CPU_FREE): Add macros.
52668 (__sched_cpualloc, __sched_cpufree): Add declarations.
52670 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52672 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52673 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52674 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52675 (readdhstai): Return value of addhstaiX call.
52676 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52677 (addgrbyX): Return value returned by cache_addgr.
52678 (readdgrbyname): Return value returned by addgrbyX.
52679 (readdgrbygid): Likewise.
52680 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52681 (addpwbyX): Return value returned by cache_addpw.
52682 (readdpwbyname): Return value returned by addhstbyX.
52683 (readdpwbyuid): Likewise.
52684 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52685 (addservbyX): Return value returned by cache_addserv.
52686 (readdservbyname): Return value returned by addservbyX:
52687 (readdservbyport): Likewise.
52688 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52689 (addhstbyX): Return value returned by cache_addhst.
52690 (readdhstbyname): Return value returned by addhstbyX.
52691 (readdhstbyaddr): Likewise.
52692 (readdhstbynamev6): Likewise.
52693 (readdhstbyaddrv6): Likewise.
52694 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52695 (readdinitgroups): Return value returned by addinitgroupsX.
52696 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52697 (prune_cache): Keep track of timeout value of re-added entries.
52698 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52699 * nscd/nscd.h: Adjust prototypes of readd* functions.
52701 2011-02-04 Roland McGrath <roland@redhat.com>
52703 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52704 (nis_stats): Likewise.
52705 * nis/nis_modify.c (nis_modify): Likewise.
52706 * nis/nis_remove.c (nis_remove): Likewise.
52707 * nis/nis_add.c (nis_add): Likewise.
52709 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52711 * posix/fnmatch_loop.c: Add some consts.
52713 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52715 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52718 * config.make.in (config-cflags-novzeroupper): Define.
52719 * configure.in: Substitute libc_cv_cc_novzeroupper.
52720 * elf/Makefile (AVX-CFLAGS): Define.
52721 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52722 (CFLAGS-tst-auditmod4a.c): Likewise.
52723 (CFLAGS-tst-auditmod4b.c): Likewise.
52724 (CFLAGS-tst-auditmod6b.c): Likewise.
52725 (CFLAGS-tst-auditmod6c.c): Likewise.
52726 (CFLAGS-tst-auditmod7b.c): Likewise.
52727 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52729 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52731 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52732 function to the callback.
52733 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52735 2011-02-02 Andreas Schwab <schwab@redhat.com>
52737 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52740 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52743 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52745 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52747 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52750 * elf/Makefile: Add rules to build and run new test.
52751 * elf/tst-initorder.c: New file.
52752 * elf/tst-initorder.exp: New file.
52753 * elf/tst-initordera1.c: New file.
52754 * elf/tst-initordera2.c: New file.
52755 * elf/tst-initordera3.c: New file.
52756 * elf/tst-initordera4.c: New file.
52757 * elf/tst-initorderb1.c: New file.
52758 * elf/tst-initorderb2.c: New file.
52759 * elf/tst-order-a1.c: New file.
52760 * elf/tst-order-a2.c: New file.
52761 * elf/tst-order-a3.c: New file.
52762 * elf/tst-order-a4.c: New file.
52763 * elf/tst-order-b1.c: New file.
52764 * elf/tst-order-b2.c: New file.
52765 * elf/tst-order-main.c: New file.
52766 New test case by George Gensure <werkt0@gmail.com>.
52768 2010-10-01 Andreas Schwab <schwab@redhat.com>
52770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52771 decoding ACE if AI_CANONIDN.
52773 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52775 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52777 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52779 * version.h (RELEASE): Bump for 2.13 release.
52780 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52782 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52784 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52786 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52787 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52788 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52789 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52790 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52791 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52793 * posix/getconf.c: Update copyright year.
52794 * catgets/gencat.c: Likewise.
52795 * csu/version.c: Likewise.
52796 * debug/catchsegv.sh: Likewise.
52797 * debug/xtrace.sh: Likewise.
52798 * elf/ldconfig.c: Likewise.
52799 * elf/ldd.bash.in: Likewise.
52800 * elf/sprof.c (print_version): Likewise.
52801 * iconv/iconv_prog.c: Likewise.
52802 * iconv/iconvconfig.c: Likewise.
52803 * locale/programs/locale.c: Likewise.
52804 * locale/programs/localedef.c: Likewise.
52805 * malloc/memusage.sh: Likewise.
52806 * malloc/mtrace.pl: Likewise.
52807 * nscd/nscd.c (print_version): Likewise.
52808 * nss/getent.c: Likewise.
52810 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52811 PF_CAIF, and PF_ALG.
52812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52814 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52816 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52817 (modules-names): Use them.
52818 (ifunc-test-modules, ifunc-pie-tests): Define.
52819 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52820 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52821 (test-extras): Likewise.
52822 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52823 $(compile-command.c).
52824 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52825 (all-built-dso): Define.
52826 (check-textrel.out, check-execstack.out): Depend on it.
52828 * configure.in: Don't override --enable-multi-arch.
52830 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52833 * nscd/hstcache.c (tryagain): Define.
52834 (cache_addhst): Return tryagain not notfound for temporary errors.
52835 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52838 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52841 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52842 to make the syscall.
52843 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52846 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52847 and fall back to matching as normal character if the string ends before
52848 the matching ']' is found. This is what POSIX requires.
52849 * posix/testfnm.c: Adjust test result.
52850 * posix/globtest.sh: Adjust test result. Add new test.
52851 * posix/tst-fnmatch.input: Likewise.
52852 * posix/tst-fnmatch2.c: Add new test.
52854 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52856 * elf/Makefile (check-execstack): Revert last change. Depend on
52858 (check-execstack.h): New target.
52859 (generated): Add check-execstack.h.
52860 * elf/check-execstack.c: Include "check-execstack.h".
52861 (main): Revert last change.
52862 (handle_file): Return zero if GNU_STACK is absent and
52863 DEFAULT_STACK_PERMS doesn't include PF_X.
52865 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52867 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52868 in child fails because the descriptor is already closed.
52869 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52870 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52871 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52874 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52878 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52879 temporary buffer used to handle multi lookups locally.
52880 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52882 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52884 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52887 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52889 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52890 alignment for SSE2.
52892 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52895 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52896 characters. When rounding increased number of integer digits recompute
52898 * stdio-common/tst-grouping.c: New file.
52899 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52901 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52903 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52904 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52906 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52908 * bits/select.h: Likewise.
52910 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52912 * po/ja.po: Update from translation team.
52914 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52917 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52918 implementation just like for lxstat, fxstatat, et al.
52920 2010-12-27 Jim Meyering <meyering@redhat.com>
52923 * posix/regexec.c (build_trtable): Return failure indication upon
52924 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52926 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52929 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52930 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52931 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52932 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52935 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52938 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52939 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52941 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52943 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52944 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52945 script has SORT_BY_INIT_PRIORITY.
52946 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52947 NO_CTORS_DTORS_SECTIONS is defined.
52948 * elf/soinit.c: Likewise.
52949 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52950 NO_CTORS_DTORS_SECTIONS is defined.
52951 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52952 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52953 * sysdeps/sh/init-first.c: Likewise.
52954 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52956 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52958 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52959 always use the slow path.
52961 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52963 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52964 similar rule which adds the sysdep directories to the header search in
52965 order to pick up the correct platform stackinfo.h.
52966 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52967 perform test if it is, otherwise return successfully without testing.
52968 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52969 DEFAULT_STACK_PERMS define in stackinfo.h.
52970 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52971 defined in stackinfo.h.
52972 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52973 DEFAULT_STACK_PERMS defined in stackinfo.h.
52974 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52975 * sysdeps/ia64/stackinfo.h: Likewise.
52976 * sysdeps/s390/stackinfo.h: Likewise.
52977 * sysdeps/sh/stackinfo.h: Likewise.
52978 * sysdeps/sparc/stackinfo.h: Likewise.
52979 * sysdeps/x86_64/stackinfo.h: Likewise.
52980 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52981 PF_X for powerpc64. Retain PF_X for powerpc32.
52983 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52985 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52987 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52988 GETDENTS_64BIT_ALIGNED.
52990 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52992 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52994 2010-12-10 Andreas Schwab <schwab@redhat.com>
52996 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52999 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53000 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53002 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53003 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53005 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53008 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53011 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53013 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53015 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53017 * po/it.po: Update from translation team.
53019 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53024 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53026 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53028 2010-11-24 Andreas Schwab <schwab@redhat.com>
53030 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53032 (gaih_getanswer_slice): Likewise.
53034 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53038 2010-05-31 Petr Baudis <pasky@suse.cz>
53041 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53042 silently even in the chroot mode.
53044 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53046 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53047 last patch a bit. Pretty printing
53049 2010-05-31 Petr Baudis <pasky@suse.cz>
53052 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53053 initialization of skip_initgroups_dyn.
53055 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53057 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53060 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53062 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53064 2010-11-11 Andreas Schwab <schwab@redhat.com>
53066 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53067 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53068 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53069 ($(objpfx)tst-fnmatch-mem): New rule.
53070 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53071 * posix/tst-fnmatch.c (main): Call mtrace.
53073 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53076 Support Intel processor model 6 and model 0x2c.
53078 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53080 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53083 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53086 * string/test-strncasecmp.c (check_result): New function.
53087 (do_one_test): Use it.
53088 (check1): New function.
53089 (test_main): Use it.
53090 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53091 Support strcasecmp and strncasecmp.
53093 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53096 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53097 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53099 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53101 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53105 * sysdeps/x86_64/multiarch/bzero.S: New file.
53106 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53107 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53108 * sysdeps/x86_64/multiarch/memset.S: New file.
53109 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53111 Set bit_Prefer_SSE_for_memop for Intel processors.
53112 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53114 (index_Prefer_SSE_for_memop): Define.
53115 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53117 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53119 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53120 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53122 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53125 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53126 (__x86_64_raw_data_cache_size_half): Likewise.
53127 (__x86_64_raw_shared_cache_size): Likewise.
53128 (__x86_64_raw_shared_cache_size_half): Likewise.
53130 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53131 (__x86_64_raw_data_cache_size_half): Likewise.
53132 (__x86_64_raw_shared_cache_size): Likewise.
53133 (__x86_64_raw_shared_cache_size_half): Likewise.
53134 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53135 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53136 and __x86_64_raw_shared_cache_size_half. Round
53137 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53138 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53139 to multiple of 256 bytes.
53141 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53144 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53145 of inacessible symlinks. Verify result of symlink before returning it.
53146 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53147 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53149 2010-10-28 Erich Ritz <erichritz@gmail.com>
53151 * math/math.h (isinf): Fix typo in comment.
53153 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53155 * po/da.po: Update from translation team.
53157 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53159 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53160 is added to the list.
53162 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53163 Ulrich Drepper <drepper@gmail.com>
53165 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53166 the global list here. Move code to...
53167 (_dl_add_to_namespace_list): ...here. New function.
53168 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53169 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53170 * elf/dl-load.c (lose): Don't remove the element from the list.
53171 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53172 (_dl_map_object): Likewise.
53174 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53177 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53178 into all bytes of SSE register.
53179 Patch by Richard Li <richardpku@gmail.com>.
53181 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53184 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53187 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53189 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53190 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53191 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53192 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53197 2010-10-22 Andreas Schwab <schwab@redhat.com>
53199 * include/dlfcn.h (__RTLD_SECURE): Define.
53200 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53201 mode & __RTLD_SECURE instead.
53202 (open_path): Rename preloaded parameter to secure.
53203 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53204 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53205 * elf/dl-deps.c (openaux): Likewise.
53206 * elf/rtld.c (struct map_args): Remove is_preloaded.
53207 (map_doit): Don't use it.
53208 (dl_main): Likewise.
53209 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53210 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53212 2010-09-09 Andreas Schwab <schwab@redhat.com>
53214 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53215 (sysd-rules-targets): Remove duplicates.
53216 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53217 rtld-%.$o dependency.
53219 2010-10-18 Andreas Schwab <schwab@redhat.com>
53221 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53222 _dl_map_object do it.
53224 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53226 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53227 fast fma builtins, define the macros in the C99 standard.
53228 (FP_FAST_FMAF): Likewise.
53229 (FP_FAST_FMAL): Likewise.
53230 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53232 * bits/mathdef.h: Update copyright year.
53233 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53235 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53237 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53238 builtins, define the macros in the C99 standard.
53239 (FP_FAST_FMAF): Likewise.
53240 (FP_FAST_FMAL): Likewise.
53241 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53243 (FP_FAST_FMAF): Likewise.
53245 2010-10-15 Jakub Jelinek <jakub@redhat.com>
53248 * math/libm-test.inc (fma_test): Some new testcases.
53249 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53250 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53251 y and infinite z. Do multiplication by C already in long double.
53252 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53254 y and infinite z. Do bitwise or of inexact bit into u.d.
53255 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53256 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53257 * sysdeps/i386/fpu/s_fma.S: Removed.
53258 * sysdeps/i386/fpu/s_fmal.S: Removed.
53260 2010-10-16 Jakub Jelinek <jakub@redhat.com>
53263 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53265 computation is not scheduled after fetestexcept. Fix value
53266 of minimum denormal long double.
53268 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53271 * math/libm-test.inc (fma_test): Add some more tests.
53272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53275 2010-10-15 Andreas Schwab <schwab@redhat.com>
53277 * scripts/data/localplt-s390-linux-gnu.data: New file.
53278 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53280 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53283 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53284 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53286 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53288 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53290 if one of x and y is very large and the other is subnormal.
53291 * sysdeps/s390/fpu/s_fmaf.c: New file.
53292 * sysdeps/s390/fpu/s_fma.c: New file.
53293 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53294 * sysdeps/powerpc/fpu/s_fma.S: New file.
53295 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53296 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53297 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53299 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53302 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53304 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53305 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53306 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53307 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53308 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53309 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53310 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53312 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53315 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53316 * posix/bug-regex31.input: Add test case.
53318 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53320 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53321 * posix/bug-regex31.input: New file.
53324 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53325 (parse_sub_exp): Fix last change, use postorder.
53327 * posix/bug-regex31.c: New file.
53328 * posix/Makefile: Add rules to build and run bug-regex31.
53330 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53333 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53336 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53337 to have entries in sys_siglist.
53340 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53343 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53346 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53347 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53348 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53349 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53350 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53351 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53352 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53353 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53354 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53355 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53356 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53357 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53358 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53359 * math/ftestexcept.c (fetestexcept): Likewise.
53360 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53361 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53362 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53363 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53364 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53365 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53366 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53368 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53371 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53374 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53376 * string/bug-strstr1.c: New file.
53377 * string/Makefile: Add rules to build and run bug-strstr1.
53379 2010-10-05 Eric Blake <eblake@redhat.com>
53382 * string/str-two-way.h (two_way_long_needle): Always clear memory
53383 when skipping input due to the shift table.
53385 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53388 * malloc/mcheck.c: Handle large requests.
53391 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53392 for strncmp and strncasecmp.
53393 * string/stratcliff.c: Add tests for strcmp and strncmp.
53394 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53396 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53398 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53401 2010-09-30 Andreas Jaeger <aj@suse.de>
53403 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53404 (CGROUP_SUPER_MAGIC): Define.
53405 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53406 Handle btrfs and cgroup file systems.
53407 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53410 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
53412 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53413 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53415 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53418 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53419 trying to locate the ELF header.
53421 2010-09-27 Andreas Schwab <schwab@redhat.com>
53424 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53425 Mask out sign-bit copies when constructing f_fsid.
53427 2010-09-24 Petr Baudis <pasky@suse.cz>
53429 * debug/stack_chk_fail_local.c: Add missing licence exception.
53430 * debug/warning-nop.c: Likewise.
53432 2010-09-15 Joseph Myers <joseph@codesourcery.com>
53434 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53435 implementing getdents64 using getdents syscall, set d_type if
53436 __ASSUME_GETDENTS32_D_TYPE.
53438 2010-09-16 Andreas Schwab <schwab@redhat.com>
53440 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53441 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53443 2010-09-21 Ulrich Drepper <drepper@redhat.com>
53446 * posix/unistd.h: Undo change of feature selection for ftruncate from
53449 2010-09-20 Ulrich Drepper <drepper@redhat.com>
53451 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53454 2010-09-20 Andreas Schwab <schwab@redhat.com>
53456 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53460 2010-09-14 Andreas Schwab <schwab@redhat.com>
53462 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53463 variables after CHECK_SP call.
53464 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53466 2010-09-13 Andreas Schwab <schwab@redhat.com>
53467 Ulrich Drepper <drepper@redhat.com>
53469 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53470 re-relocationg ld.so.
53471 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53472 _dl_init_paths call.
53473 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53476 2010-09-14 Ulrich Drepper <drepper@redhat.com>
53478 * resolv/res_init.c (__res_vinit): Count the default server we added.
53480 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53481 Ulrich Drepper <drepper@redhat.com>
53484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53485 (____longjmp_chk): Use %ebx for saving value across system call.
53488 2010-09-06 Andreas Schwab <schwab@redhat.com>
53490 * manual/Makefile: Don't mix pattern rules with normal rules.
53492 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53494 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53496 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53497 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53498 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53499 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53503 2010-09-04 Ulrich Drepper <drepper@redhat.com>
53506 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53507 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53509 2010-09-02 Ulrich Drepper <drepper@redhat.com>
53511 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53512 * sysdeps/x86_64/addmul_1.S: Likewise.
53513 * sysdeps/x86_64/lshift.S: Likewise.
53514 * sysdeps/x86_64/mul_1.S: Likewise.
53515 * sysdeps/x86_64/rshift.S: Likewise.
53516 * sysdeps/x86_64/sub_n.S: Likewise.
53517 * sysdeps/x86_64/submul_1.S: Likewise.
53519 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53521 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53522 Define __sched_param instead of SCHED_* and sched_param when
53523 <bits/sched.h> is included with __need_schedparam defined.
53524 * bits/sched.h [__need_schedparam]
53525 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53526 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53527 (__defined_schedparam): Define to 1.
53528 (__sched_param): New structure, identical to sched_param.
53529 (__need_schedparam): Undefine.
53531 2010-08-31 Mike Frysinger <vapier@gentoo.org>
53533 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53534 (epoll_create1): Declare.
53536 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53538 2010-08-31 Andreas Schwab <schwab@redhat.com>
53541 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53542 shifting retval into place.
53544 2010-09-01 Ulrich Drepper <drepper@redhat.com>
53546 * nis/rpcsvc/nis.h: Update copyright notice.
53547 * nis/rpcsvc/nis.x: Likewise.
53548 * nis/rpcsvc/nis_callback.h: Likewise.
53549 * nis/rpcsvc/nis_callback.x: Likewise.
53550 * nis/rpcsvc/nis_object.x: Likewise.
53551 * nis/rpcsvc/nis_tags.h: Likewise.
53552 * nis/rpcsvc/yp.h: Likewise.
53553 * nis/rpcsvc/yp.x: Likewise.
53554 * nis/rpcsvc/ypupd.h: Likewise.
53555 * nis/yp_xdr.c: Likewise.
53556 * nis/ypupdate_xdr.c: Likewise.
53558 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53559 mainly the body of pmap_getport. Add parameters to specify timeouts.
53560 (pmap_getport): Use __libc_rpc_getport.
53561 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53562 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53563 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53565 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53570 2010-08-27 Roland McGrath <roland@redhat.com>
53572 * sysdeps/i386/i686/multiarch/Makefile
53573 (CFLAGS-varshift.c): New variable.
53575 2010-08-27 Ulrich Drepper <drepper@redhat.com>
53577 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53578 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53582 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53584 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53586 * sysdeps/x86_64/strlen.S: Unroll the loop.
53587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53588 strlen-sse2 strlen-sse2-bsf.
53589 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53590 __strlen_no_bsf if bit_Slow_BSF is set.
53591 (__strlen_sse42): Removed.
53592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53593 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53595 2010-08-25 Roland McGrath <roland@redhat.com>
53597 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53598 * sysdeps/x86_64/multiarch/varshift.c: New file.
53599 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53600 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53601 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53602 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53604 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53607 strlen-sse2 strlen-sse2-bsf.
53608 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53609 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53610 (__strlen_sse2): Removed.
53611 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53612 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53614 bit_Slow_BSF for Atom.
53615 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53616 (index_Slow_BSF): Define.
53617 (HAS_SLOW_BSF): Define.
53619 2010-08-25 Ulrich Drepper <drepper@redhat.com>
53622 * resolv/res_init.c (__res_vinit): When no server address at all
53623 is given default to loopback.
53625 2010-08-24 Roland McGrath <roland@redhat.com>
53627 * configure.in: Remove config-name.h generation.
53628 * configure: Regenerated.
53629 * config-name.in: File removed.
53630 * scripts/config-uname.sh: New file.
53631 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53632 ($(objdir)config-name.h): New target.
53634 * sunrpc/rpc_parse.h: Avoid nested comment.
53636 2010-08-24 Richard Henderson <rth@redhat.com>
53637 Ulrich Drepper <drepper@redhat.com>
53638 H.J. Lu <hongjiu.lu@intel.com>
53640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53642 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53643 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53644 _mm_alignr_epi8 with _mm_loadu_si128.
53645 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53646 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53647 (__m128i_shift_right): Removed.
53648 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53649 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53650 * sysdeps/x86_64/multiarch/varshift.h: New file.
53651 * sysdeps/x86_64/multiarch/varshift.S: New file.
53653 2010-08-21 Mike Frysinger <vapier@gentoo.org>
53655 * configure.in: Move assembler checks to before sysdep dir checking.
53657 2010-08-20 Petr Baudis <pasky@suse.cz>
53659 * LICENSES: Sync the sunrpc license.
53661 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53663 * sunrpc/auth_des.c: Update copyright notice once again.
53664 * sunrpc/auth_none.c: Likewise.
53665 * sunrpc/auth_unix.c: Likewise.
53666 * sunrpc/authdes_prot.c: Likewise.
53667 * sunrpc/authuxprot.c: Likewise.
53668 * sunrpc/bindrsvprt.c: Likewise.
53669 * sunrpc/clnt_gen.c: Likewise.
53670 * sunrpc/clnt_perr.c: Likewise.
53671 * sunrpc/clnt_raw.c: Likewise.
53672 * sunrpc/clnt_simp.c: Likewise.
53673 * sunrpc/clnt_tcp.c: Likewise.
53674 * sunrpc/clnt_udp.c: Likewise.
53675 * sunrpc/clnt_unix.c: Likewise.
53676 * sunrpc/des_crypt.c: Likewise.
53677 * sunrpc/des_soft.c: Likewise.
53678 * sunrpc/get_myaddr.c: Likewise.
53679 * sunrpc/getrpcport.c: Likewise.
53680 * sunrpc/key_call.c: Likewise.
53681 * sunrpc/key_prot.c: Likewise.
53682 * sunrpc/openchild.c: Likewise.
53683 * sunrpc/pm_getmaps.c: Likewise.
53684 * sunrpc/pm_getport.c: Likewise.
53685 * sunrpc/pmap_clnt.c: Likewise.
53686 * sunrpc/pmap_prot.c: Likewise.
53687 * sunrpc/pmap_prot2.c: Likewise.
53688 * sunrpc/pmap_rmt.c: Likewise.
53689 * sunrpc/rpc/auth.h: Likewise.
53690 * sunrpc/rpc/auth_unix.h: Likewise.
53691 * sunrpc/rpc/clnt.h: Likewise.
53692 * sunrpc/rpc/des_crypt.h: Likewise.
53693 * sunrpc/rpc/key_prot.h: Likewise.
53694 * sunrpc/rpc/netdb.h: Likewise.
53695 * sunrpc/rpc/pmap_clnt.h: Likewise.
53696 * sunrpc/rpc/pmap_prot.h: Likewise.
53697 * sunrpc/rpc/pmap_rmt.h: Likewise.
53698 * sunrpc/rpc/rpc.h: Likewise.
53699 * sunrpc/rpc/rpc_des.h: Likewise.
53700 * sunrpc/rpc/rpc_msg.h: Likewise.
53701 * sunrpc/rpc/svc.h: Likewise.
53702 * sunrpc/rpc/svc_auth.h: Likewise.
53703 * sunrpc/rpc/types.h: Likewise.
53704 * sunrpc/rpc/xdr.h: Likewise.
53705 * sunrpc/rpc_clntout.c: Likewise.
53706 * sunrpc/rpc_cmsg.c: Likewise.
53707 * sunrpc/rpc_common.c: Likewise.
53708 * sunrpc/rpc_cout.c: Likewise.
53709 * sunrpc/rpc_dtable.c: Likewise.
53710 * sunrpc/rpc_hout.c: Likewise.
53711 * sunrpc/rpc_main.c: Likewise.
53712 * sunrpc/rpc_parse.c: Likewise.
53713 * sunrpc/rpc_parse.h: Likewise.
53714 * sunrpc/rpc_prot.c: Likewise.
53715 * sunrpc/rpc_sample.c: Likewise.
53716 * sunrpc/rpc_scan.c: Likewise.
53717 * sunrpc/rpc_scan.h: Likewise.
53718 * sunrpc/rpc_svcout.c: Likewise.
53719 * sunrpc/rpc_tblout.c: Likewise.
53720 * sunrpc/rpc_util.c: Likewise.
53721 * sunrpc/rpc_util.h: Likewise.
53722 * sunrpc/rpcinfo.c: Likewise.
53723 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53724 * sunrpc/rpcsvc/key_prot.x: Likewise.
53725 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53726 * sunrpc/rpcsvc/mount.x: Likewise.
53727 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53728 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53729 * sunrpc/rpcsvc/rex.x: Likewise.
53730 * sunrpc/rpcsvc/rstat.x: Likewise.
53731 * sunrpc/rpcsvc/rusers.x: Likewise.
53732 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53733 * sunrpc/rpcsvc/spray.x: Likewise.
53734 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53735 * sunrpc/rtime.c: Likewise.
53736 * sunrpc/svc.c: Likewise.
53737 * sunrpc/svc_auth.c: Likewise.
53738 * sunrpc/svc_authux.c: Likewise.
53739 * sunrpc/svc_raw.c: Likewise.
53740 * sunrpc/svc_run.c: Likewise.
53741 * sunrpc/svc_simple.c: Likewise.
53742 * sunrpc/svc_tcp.c: Likewise.
53743 * sunrpc/svc_udp.c: Likewise.
53744 * sunrpc/svc_unix.c: Likewise.
53745 * sunrpc/svcauth_des.c: Likewise.
53746 * sunrpc/xcrypt.c: Likewise.
53747 * sunrpc/xdr.c: Likewise.
53748 * sunrpc/xdr_array.c: Likewise.
53749 * sunrpc/xdr_float.c: Likewise.
53750 * sunrpc/xdr_mem.c: Likewise.
53751 * sunrpc/xdr_rec.c: Likewise.
53752 * sunrpc/xdr_ref.c: Likewise.
53753 * sunrpc/xdr_sizeof.c: Likewise.
53754 * sunrpc/xdr_stdio.c: Likewise.
53756 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53759 2010-08-19 Andreas Schwab <schwab@redhat.com>
53761 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53763 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53765 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53766 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53767 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53768 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53769 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53770 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53771 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53772 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53773 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53774 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53775 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53776 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53777 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53778 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53780 2010-07-26 Anton Blanchard <anton@samba.org>
53782 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53783 * malloc/arena.c (heap_trim): Likewise.
53785 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53787 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53790 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53792 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53794 * sysdeps/i386/elf/Makefile: New file.
53796 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53798 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53799 from fanotify_init.
53800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53803 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53805 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53807 * sysdeps/multiarch/strcmp.S: Likewise.
53809 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53811 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53812 strncase_l-nonascii.
53813 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53814 Add strncase_l-ssse3.
53815 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53816 * sysdeps/x86_64/strcmp.S: Likewise.
53817 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53818 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53819 * sysdeps/x86_64/strncase.S: New file.
53820 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53821 * sysdeps/x86_64/strncase_l.S: New file.
53822 * string/Makefile (strop-tests): Add strncasecmp.
53823 * string/test-strncasecmp.c: New file.
53825 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53828 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53829 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53831 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53833 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53835 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53837 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53838 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53839 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53841 2010-05-01 Alan Modra <amodra@gmail.com>
53843 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53844 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53845 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53846 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53847 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53848 tidying. Don't tail-call __sigjmp_save for static lib.
53849 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53851 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53852 (CALL_MCOUNT): Add eh info, and nop after bl.
53853 (TAIL_CALL_SYSCALL_ERROR): New macro.
53854 (PSEUDO_RET): Use it.
53855 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53856 Correct save location of integer regs and cr.
53857 (_dl_profile_resolve): Correct cr save location. Delete nops
53858 after bl when SHARED. Reduce cfi size a little by better
53859 placement of cfi directives.
53860 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53861 make a stack frame. Instead use parm save area as a temp.
53862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53863 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53865 Don't make a stack frame for parent, use parm save area.
53866 Increase child stack frame to 112 bytes. Don't save unused reg,
53867 and adjust reg usage. Set up cfi on error recovery and
53868 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53870 (__makecontext): Add dummy nop after jump to exit.
53871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53872 Use correct parm save area and cr save, reduce stack frame.
53873 Correct cfi for possible PSEUDO_RET frame setup.
53874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53875 Branch to local label emitted by PSEUDO_RET rather than
53878 2010-08-12 Andreas Schwab <schwab@redhat.com>
53881 * locale/programs/locale.c (print_assignment): New function.
53882 (show_locale_vars): Use it.
53884 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53886 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53888 (struct statfs64): Likewise.
53889 (_STATFS_F_FLAGS): Define.
53890 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53891 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53892 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53893 (ST_VALID): Define locally.
53894 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53895 __statvfs_getflags, use the provided value.
53896 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53897 __ASSUME_STATFS_F_FLAGS.
53899 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53901 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53902 Add sys/fanotify.h.
53903 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53904 fanotify_mask for GLIBC_2.13.
53905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53906 fanotify_init and fanotify_mark.
53907 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53908 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53910 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53912 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53913 prlimit64 for GLIBC_2.13.
53914 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53916 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53920 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53922 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53924 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53927 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53928 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53930 * nss/Makefile: Add rules to build and run tst-nss-test1.
53931 * shlib-versions: Add entry for libnss_test1.
53932 * nss/nss_test1.c: New file.
53933 * nss/tst-nss-test1.c: New file.
53935 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53936 (__nss_configure_lookup): Set appropriate entry in
53937 __nss_configure_lookup to true.
53938 * nss/nsswitch.h: Define enum with indeces of databases in
53939 databases and __nss_database_custom arrays. Declare
53940 __nss_database_custom.
53941 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53942 to avoid using nscd when custom rules are installed.
53943 * nss/getXXbyYY_r.c: Likewise.
53944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53946 * nss/nss_files/files-parse.c: Whitespace fixes.
53948 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53951 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53952 * posix/fnmatch_loop.c: Likewise.
53954 2010-07-17 Andi Kleen <ak@linux.intel.com>
53956 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53957 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53958 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53959 * Versions.def [GLIBC_2.13]: Add.
53961 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53963 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53964 Also fail if tpwd after pwuid call is NULL.
53966 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53968 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53969 when converting to ms.
53971 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53973 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53974 EOPNOTSUPP errors with ENOTTY.
53975 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53976 EOPNOTSUPP errors with ENOTTY.
53978 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53980 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53981 Add strcasecmp_l-ssse3.
53982 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53984 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53985 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53986 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53988 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53990 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53992 * string/Makefile (strop-tests): Add strcasecmp.
53993 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53994 strcasecmp_l-nonascii.
53995 (gen-as-const-headers): Add locale-defines.sym.
53996 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53997 * sysdeps/x86_64/strcasecmp.S: New file.
53998 * sysdeps/x86_64/strcasecmp_l.S: New file.
53999 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54000 * sysdeps/x86_64/locale-defines.sym: New file.
54001 * string/test-strcasecmp.c: New file.
54003 * string/test-strcasestr.c: Test both ends of the range of characters.
54004 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54006 2010-07-29 Roland McGrath <roland@redhat.com>
54009 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54011 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54013 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54016 2010-07-27 Andreas Schwab <schwab@redhat.com>
54018 * manual/memory.texi (Malloc Tunable Parameters): Document
54021 2010-07-26 Roland McGrath <roland@redhat.com>
54024 * configure.in (-fgnu89-inline check): Set and substitute
54025 gnu89_inline, not libc_cv_gnu89_inline.
54026 * configure: Regenerated.
54027 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54029 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54031 * string/test-strnlen.c: New file.
54032 * string/Makefile (strop-tests): Add strnlen.
54033 * string/tester.c (test_strnlen): Add a few more test cases.
54034 * string/tst-strlen.c: Better error reporting.
54036 * sysdeps/x86_64/strnlen.S: New file.
54038 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54040 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54041 lower-latency instructions.
54043 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54045 * string/test-strcasestr.c: New file.
54046 * string/test-strstr.c: New file.
54047 * string/Makefile (strop-tests): Add strstr and strcasestr.
54048 * string/str-two-way.h: Don't undefine MAX.
54049 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54051 2010-07-21 Andreas Schwab <schwab@redhat.com>
54053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54054 strcasestr-nonascii.
54055 (CFLAGS-strcasestr-nonascii.c): Define.
54056 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54057 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54058 Remove unused attribute.
54060 2010-07-20 Roland McGrath <roland@redhat.com>
54062 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54063 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54064 ld.so.cache was broken. With it, there is no way to disable dsocaps
54065 like LD_HWCAP_MASK can disable hwcaps.
54067 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54069 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54071 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54073 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54074 call in strcasestr.
54075 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54076 __strcasestr_sse42_nonascii.
54077 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54078 strcasestr-nonascii.c.
54079 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54081 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54083 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54084 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54085 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54086 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54088 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54090 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54093 2010-07-06 Andreas Schwab <schwab@redhat.com>
54096 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54099 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54101 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54102 _PC_PIPE_BUF using F_GETPIPE_SZ.
54104 2010-07-05 Roland McGrath <roland@redhat.com>
54106 * manual/arith.texi (Rounding Functions): Fix rint description
54107 implicit in round description.
54109 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54111 * elf/Makefile: Fix linking for a few tests to make recent linker
54114 2010-06-30 Andreas Schwab <schwab@redhat.com>
54116 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54117 $(common-objpfx)libc_nonshared.a.
54119 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54121 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54122 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54123 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54124 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54125 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54126 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54127 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54128 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54143 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54144 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54145 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54146 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54147 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54148 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54149 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54150 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54151 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54152 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54153 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54154 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54170 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54172 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54173 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54174 * string/memmove.c (memmove): Renamed to ...
54175 (MEMMOVE): ...this. Default to memmove.
54176 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54177 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54180 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54181 mempcpy-ssse3-back memmove-ssse3-back.
54182 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54183 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54185 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54186 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54187 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54188 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54189 * sysdeps/x86_64/multiarch/memmove.c: New file.
54190 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54191 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54192 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54193 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54194 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54195 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54197 (index_Fast_Copy_Backward): Define.
54198 (HAS_ARCH_FEATURE): Define.
54199 (HAS_FAST_REP_STRING): Define.
54200 (HAS_FAST_COPY_BACKWARD): Define.
54202 2010-06-21 Andreas Schwab <schwab@redhat.com>
54204 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54205 Restore proper fallback handling.
54207 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54210 * posix/group_member.c (__group_member): Correct checking loop.
54212 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54213 OOM in getpwuid_r correctly. Return error number when the caller
54214 should return, otherwise -1.
54215 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54216 call returning > 0 value.
54217 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54219 2010-06-07 Andreas Schwab <schwab@redhat.com>
54221 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54222 libc_nonshared.a from targets in modules-names.
54224 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54226 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54229 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54231 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54232 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54233 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54234 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54236 2010-06-02 Andreas Schwab <schwab@redhat.com>
54238 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54240 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54242 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54244 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54245 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54249 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54251 2010-06-14 Roland McGrath <roland@redhat.com>
54253 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54255 2010-06-07 Jakub Jelinek <jakub@redhat.com>
54257 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54258 __REDIRECT followed by __THROW.
54259 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54260 * posix/getopt.h (getopt): Likewise.
54262 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54264 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54265 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54266 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54268 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54269 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54271 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54273 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54275 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54279 Properly check family and model.
54281 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54283 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54285 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54287 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54289 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54291 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54294 2010-05-19 Andreas Schwab <schwab@redhat.com>
54296 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54299 2010-05-21 Andreas Schwab <schwab@redhat.com>
54301 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54302 and internal_recvmmsg.
54303 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54304 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54305 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54306 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54308 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54309 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54310 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54312 2010-05-20 Andreas Schwab <schwab@redhat.com>
54314 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54316 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54318 POWER7 optimizations.
54319 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54320 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54322 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54324 * version.h: Update for 2.13 development version.
54326 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54328 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54329 exceptions. Return 0.
54331 2010-05-07 Roland McGrath <roland@redhat.com>
54333 * elf/ldconfig.c (main): Add a const.
54335 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54337 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54338 (args_options): Add no-idn option.
54339 (ahosts_keys_int): Add idn_flags to ai_flags.
54340 (parse_option): Handle 'i' option to clear idn_flags.
54342 * malloc/malloc.c (_int_free): Possible race in the most recently
54343 added check. Only act on the data if no current modification
54346 See ChangeLog.17 for earlier changes.