1 2014-12-17 Andreas Schwab <schwab@suse.de>
3 * nscd/mem.c (gc): Add size_t cast to match printf format.
5 2014-12-16 Roland McGrath <roland@hack.frob.com>
7 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8 (init): Apply PTR_MANGLE to pointers before storing them.
9 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12 2014-12-16 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16 define as weak alias of __memrchr.
17 (__memrchr): Do not define as strong alias of memrchr.
18 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
27 (if_indextoname): Rename to __if_indextoname and define as weak
28 alias of __if_indextoname. Use libc_hidden_weak.
29 (if_freenameindex): Rename to __if_freenameindex and define as
30 weak alias of __if_freenameindex.
31 (if_nameindex): Rename to __if_nameindex and define as weak alias
33 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34 __if_nametoindex and define as weak alias of __if_nametoindex.
36 (if_freenameindex): Rename to __if_freenameindex and define as
37 weak alias of __if_freenameindex.
38 (if_nameindex): Rename to __if_nameindex and define as weak alias
40 (if_indextoname): Rename to __if_indextoname and define as weak
41 alias of __if_indextoname. Use libc_hidden_weak.
42 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
43 __if_nametoindex and define as weak alias of __if_nametoindex.
45 (if_freenameindex): Rename to __if_freenameindex and define as
46 weak alias of __if_freenameindex. Use libc_hidden_weak.
47 (if_nameindex_netlink): Use __if_freenameindex instead of
49 (if_nameindex): Rename to __if_nameindex and define as weak alias
50 of __if_nameindex. Use libc_hidden_weak.
51 (if_indextoname): Rename to __if_indextoname and define as weak
52 alias of __if_indextoname. Use libc_hidden_weak.
53 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
55 [!_ISOMAC] (__if_freenameindex): Likewise.
56 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
58 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
60 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
61 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
62 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
63 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
64 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
65 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
66 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
68 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
70 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
71 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
73 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
75 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
76 subscript above bounds'
78 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
81 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
83 * libio/tst-fopenloc.c: Use test-skeleton.c.
85 * stdlib/tst-bsearch.c: Use test-skeleton.c.
86 (entry): Rename to ITEM.
87 (do_test, comp): Adjust.
89 * stdio-common/tst-fseek.c: Use test-skeleton.c.
91 2014-12-16 Torvald Riegel <triegel@redhat.com>
93 * string/tester.c: Include <libc-internal.h>.
94 (test_memset): Ignore -Wmemset-transposed-args.
96 2014-12-16 Torvald Riegel <triegel@redhat.com>
98 * misc/tst-mntent2.c (do_test): Fix warning.
100 2014-12-16 Torvald Riegel <triegel@redhat.com>
102 * elf/tst-unique4lib.cc(a): Mark as used.
104 2014-12-16 Florian Weimer <fweimer@redhat.com>
107 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
110 2014-12-16 Allan McRae <allan@archlinux.org>
112 * stdio-common/Makefile (tests): Re-add bug26.
114 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
117 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
120 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
122 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
123 (__lll_lock_wait): Likewise.
124 (__lll_timedlock_wait): Likewise.
125 (__lll_timedwait_tid): Likewise.
126 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
127 (__lll_robust_timedlock_wait): Likewise.
128 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
129 (lll_cond_trylock): Likewise.
130 (__lll_lock): Likewise.
131 (__lll_robust_lock): Likewise.
132 (__lll_cond_lock): Likewise.
133 (lll_robust_cond_lock): Likewise.
134 (__lll_timedlock): Likewise.
135 (__lll_robust_timedlock): Likewise.
136 (__lll_unlock): Likewise.
137 (__lll_robust_unlock): Likewise.
138 (lll_wait_tid): Likewise.
139 (lll_timedwait_tid): Likewise.
141 2014-12-15 Torvald Riegel <triegel@redhat.com>
143 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
145 2014-12-15 Torvald Riegel <triegel@redhat.com>
147 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
149 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
151 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
152 * stdio-common/tst-sprintf.c: Likewise.
154 2014-12-15 Torvald Riegel <triegel@redhat.com>
156 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
158 2014-12-15 Jeff Law <law@redhat.com>
161 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
162 on the heap. (CVE-2012-3406)
163 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
164 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
165 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
167 2014-12-15 Will Newton <will.newton@linaro.org>
169 * manual/install.texi: Bump required version of texinfo
171 * INSTALL: Regenerated.
172 * configure.ac: Check for makeinfo version 4.7 and above.
173 * configure: Regenerated.
175 2014-12-12 Roland McGrath <roland@hack.frob.com>
177 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
178 PREFIX, string constant to insert between directory and name.
179 * sysdeps/posix/shm_open.c: Update caller.
180 * sysdeps/posix/shm_unlink.c: Likewise.
181 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
182 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
183 (SEM_SHM_PREFIX): New macro.
184 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
185 [$(have-thread-library) = no].
186 * nptl/Makefile (libpthread-routines): Add shm-directory.
187 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
188 * sysdeps/nptl/shm-directory.h: New file.
189 * sysdeps/posix/shm-directory.c
190 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
191 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
192 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
194 (__where_is_shmfs): Function removed.
195 (mountpoint, defaultmount, defaultdir, __namedsem_once):
197 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
199 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
201 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
202 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
203 unconditional for use inside libpthread.
204 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
206 2014-12-12 Roland McGrath <roland@hack.frob.com>
208 * nptl/pthread_getaffinity.c: New file.
209 * nptl/pthread_setaffinity.c: New file.
210 * nptl/pthread_getname.c: New file.
211 * nptl/pthread_setname.c: New file.
213 * nptl/pthread_create.c (START_THREAD_DEFN)
214 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
216 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
217 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219 * resolv/res_send.c (send_vc): Disable warning resplen may
220 be used uninitialized.
222 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
225 (ATTR_NULL): New define checks ATTR against NULL.
226 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
227 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
229 2014-12-11 James Lemke <jwlemke@codesourcery.com>
233 (mem2mem_check): Revert my previous change.
234 (malloc_check_get_size): Revert my previous change.
235 (mem2chunk_check): Revert my previous change.
237 2014-12-11 Roland McGrath <roland@hack.frob.com>
239 * sysdeps/posix/shm-directory.c: New file.
240 * sysdeps/posix/shm-directory.h: New file.
241 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
242 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
243 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
244 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
245 Transmute EPERM to EACCES.
246 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
248 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
249 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
251 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
253 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
254 pointer and cast to uintptr_t.
255 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
256 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
257 Add cast to avoid warning.
258 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
260 2014-12-11 Joseph Myers <joseph@codesourcery.com>
262 * nptl/semaphore.h: Move to ...
263 * sysdeps/pthread/semaphore.h: ... here.
264 * Makefile (installed-headers): Change nptl/semaphore.h to
265 sysdeps/pthread/semaphore.h.
267 2014-12-11 Roland McGrath <roland@hack.frob.com>
269 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
270 generated error format strings.
272 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
273 -Wformat-extra-args warnings for scanf formats.
274 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
275 test of zero-length format (duh).
276 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
277 corner-case scanf format test.
278 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
279 generated fprintf format string.
280 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
281 corner-case sprintf format tests.
282 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
283 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
284 -Wformat-extra-args warnings throughout.
285 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
286 (CFLAGS-scanf4.c): Likewise.
287 (CFLAGS-scanf7.c): Likewise.
288 (CFLAGS-tst-sprintf.c): Likewise.
289 (CFLAGS-tst-printf.c): Likewise.
290 (CFLAGS-tst-printfsz.c): Likewise.
292 2014-12-11 Joseph Myers <joseph@codesourcery.com>
294 * include/cpio.h: New file.
295 * include/fmtmsg.h: Likewise.
297 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
298 corresponding format argument to size_t.
299 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
301 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
302 corresponding format argument to size_t.
303 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
305 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
306 corresponding format argument to size_t.
307 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
308 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
309 (CFLAGS-tst-mbswcs2.c): Likewise.
310 (CFLAGS-tst-mbswcs3.c): Likewise.
311 (CFLAGS-tst-mbswcs4.c): Likewise.
312 (CFLAGS-tst-mbswcs5.c): Likewise.
313 (CFLAGS-tst-trans.c): Likewise
315 2014-12-11 Roland McGrath <roland@hack.frob.com>
317 * posix/regexbug1.c (main): Use "%s" format with regerror results,
318 rather than assuming they won't contain any '%'s.
320 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
322 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
323 inhibit_loop_to_libcall to avoid recursive calls.
324 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
325 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
327 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
329 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
332 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
334 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
335 integer value instead of boolean.
337 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
339 * malloc/malloc.c: Fix powerof2 check.
341 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
343 * locale/programs/locfile.h (maybe_swap_uint32):
344 Remove inline and add unused attribute.
346 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
349 Truncating assembler expression to a .long expression.
351 2014-12-11 Andreas Schwab <schwab@suse.de>
353 * elf/rtld.c (struct map_args): Constify str member.
354 (do_preload): Constify fname argument.
356 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
359 constants definition.
361 2014-12-11 Andreas Schwab <schwab@suse.de>
364 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
365 FORCE_ELISION instead of DO_ELISION.
366 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
368 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
371 * iconvdata/gconv-modules: Remove duplicate entry.
373 2014-12-11 Will Newton <will.newton@linaro.org>
375 Merge gettext 0.19.3 into intl/.
377 This involves a number of cosmetic changes to comments
378 and ANSI function definitions and prototypes throughout
379 all the files. The gettext copyright header is used but
380 with the date ranges taken from the glibc copy.
382 * NEWS: Add gettext merge to 2.21.
383 * intl/bindtextdom.c: Switch to gettext copyright.
384 Use ANSI definitions and prototypes.
385 Use gl_* locking primitives rather than __libc_* ones.
386 Use __builtin_expect rather than __glibc_likely/unlikely.
387 * intl/dcgettext.c: Switch to gettext copyright.
388 Use ANSI definitions and prototypes.
389 * intl/dcigettext.c: Switch to gettext copyright.
390 Use ANSI definitions and prototypes.
391 (INTDIV0_RAISES_SIGFPE): New define.
392 Use gl_* locking primitives rather than __libc_* ones.
393 Include eval-plural.h instead of plural-eval.c.
394 Use __builtin_expect rather than __glibc_likely/unlikely.
395 * intl/dcngettext.c: Switch to gettext copyright.
396 Use ANSI definitions and prototypes.
397 * intl/dgettext.c: Likewise.
398 * intl/dngettext.c: Likewise.
399 * intl/plural-eval.c: Renamed to...
400 * intl/eval-plural.h: ...this.
401 * intl/explodename.c: Switch to gettext copyright.
402 Use ANSI definitions and prototypes.
403 (_nl_explode_name): Use strchr instead of __rawmemchr.
404 * intl/finddomain.c: Switch to gettext copyright.
405 Use ANSI definitions and prototypes.
406 Use gl_* locking primitives rather than __libc_* ones.
407 (_nl_find_domain): Use malloc rather than alloca for
408 allocation of temporary locale name.
409 * intl/gettext.c: Switch to gettext copyright.
410 Use ANSI definitions and prototypes.
411 * intl/gettextP.h: Switch to gettext copyright.
412 Use ANSI definitions and prototypes.
413 Use gl_* locking primitives rather than __libc_* ones.
414 * intl/gmo.h: Switch to gettext copyright.
415 (struct sysdep_string): Move struct segment_pair outside of
417 * intl/hash-string.c: Use ANSI definitions and prototypes.
418 * intl/hash-string.h: Switch to gettext copyright.
419 Use ANSI definitions and prototypes.
420 * intl/l10nflist.c: Switch to gettext copyright.
421 Use ANSI definitions and prototypes.
422 (_nl_normalize_codeset): Avoid integer overflow.
423 * intl/loadinfo.h: Switch to gettext copyright.
424 Use ANSI definitions and prototypes.
425 (LIBINTL_DLL_EXPORTED): New define.
426 (PATH_SEPARATOR): New define.
427 * intl/loadmsgcat.c: Switch to gettext copyright.
428 * intl/localealias.c: Switch to gettext copyright.
429 Use ANSI definitions and prototypes.
430 (_nl_expand_alias): Use PATH_SEPARATOR.
431 * intl/ngettext.c: Switch to gettext copyright.
432 Use ANSI definitions and prototypes.
433 * intl/plural-exp.c: Likewise.
434 * intl/plural-exp.h: Switch to gettext copyright.
435 Use ANSI definitions and prototypes.
436 (struct expression): Move definition of enum operator outside
437 of struct definition.
438 * intl/plural.c: Regenerate.
439 * intl/plural.y: Switch to gettext copyright.
440 Use ANSI definitions and prototypes.
442 * intl/textdomain.c: Switch to gettext copyright.
443 Use ANSI definitions and prototypes.
444 Use gl_* locking primitives rather than __libc_* ones.
446 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
448 * debug/warning-nop.c: Add used atrribute.
450 2014-12-10 Joseph Myers <joseph@codesourcery.com>
452 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
454 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
455 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
456 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
458 2014-12-10 Joseph Myers <joseph@codesourcery.com>
459 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
462 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
463 Undefine after defining function. Define as weak alias of
464 __wcschr. Use libc_hidden_weak.
465 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
466 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
467 (libc_hidden_def): Also define __GI___wcschr alias.
468 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
469 __wcschr and define as weak alias of __wcschr.
470 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
472 [!WCSCHR] (DEFAULT_WCSCHR): Define.
473 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
474 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
475 libc_hidden_weak. Do not use libc_hidden_def.
476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
477 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
480 [IS_IN (libc)] (wcschr): Define as macro expanding to
482 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
483 [IS_IN (libc)] (__wcschr_power6): Likewise.
484 [IS_IN (libc)] (__wcschr_power7): Likewise.
485 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
487 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
489 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
490 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
491 __wcschr and define as weak alias of __wcschr. Use
492 libc_hidden_builtin_def.
493 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
494 as weak alias of __wcschr. Use libc_hidden_weak.
495 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
497 * time/era.c (_nl_init_era_entries): Likewise.
498 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
500 (test-xfail-XPG3/time.h/linknamespace): Likewise.
501 (test-xfail-XPG4/time.h/linknamespace): Likewise.
503 2014-12-10 Joseph Myers <joseph@codesourcery.com>
505 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
506 format for long int variable.
508 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
511 * manual/search.texi: (Array Sort Function): Remove claim how to make
514 2014-12-10 Andreas Schwab <schwab@suse.de>
517 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
518 user-controlled locks.
520 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
522 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
525 2014-12-10 Joseph Myers <joseph@codesourcery.com>
527 * configure.ac (--disable-werror): New configure option.
528 (enable_werror): New AC_SUBST.
529 * configure: Regenerated.
530 * config.make.in (enable-werror): New variable.
531 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
533 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
534 * manual/install.texi (Configuring and compiling): Document
536 * INSTALL: Regenerated.
537 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
538 (CFLAGS-tst-chk2.c): Likewise.
539 (CFLAGS-tst-chk3.c): Likewise.
540 (CFLAGS-tst-chk4.cc): Likewise.
541 (CFLAGS-tst-chk5.cc): Likewise.
542 (CFLAGS-tst-chk6.cc): Likewise.
543 (CFLAGS-tst-lfschk1.c): Likewise.
544 (CFLAGS-tst-lfschk2.c): Likewise.
545 (CFLAGS-tst-lfschk3.c): Likewise.
546 (CFLAGS-tst-lfschk4.cc): Likewise.
547 (CFLAGS-tst-lfschk5.cc): Likewise.
548 (CFLAGS-tst-lfschk6.cc): Likewise.
550 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
551 (main): Disable -Wdeprecated-declarations around calls to
552 register_printf_function.
554 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
555 (do_test): Disable -Wdiv-by-zero around some calls to
556 fwrite_unlocked and fread_unlocked.
558 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
559 (DIAG_POP_NEEDS_COMMENT): Likewise.
560 (_DIAG_STR1): Likewise.
561 (_DIAG_STR): Likewise.
562 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
563 * stdio-common/bug21.c: Include <libc-internal.h>.
564 (do_test): Disable -Wformat around call to sscanf.
565 * stdio-common/scanf14.c: Include <libc-internal.h>.
566 (main): Disable -Wformat around some calls to scanf functions.
568 2014-12-09 Torvald Riegel <triegel@redhat.com>
570 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
572 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
574 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
575 stack variable alignment.
577 2014-12-06 Joseph Myers <joseph@codesourcery.com>
580 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
581 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
582 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
583 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
584 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
585 __getrlimit instead of getrlimit.
586 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
587 __gettimeofday instead of gettimeofday.
588 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
590 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
592 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
593 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
595 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
596 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
598 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
601 for wide-character tests.
603 2014-12-04 Roland McGrath <roland@hack.frob.com>
605 * io/openat64.c: #include <libc-internal.h>
606 (__openat64): Prototypify. Use ignore_value on MODE.
607 * io/openat.c: Likewise.
608 * misc/reboot.c: #include <libc-internal.h>
609 (reboot): Prototypify. Use ignore_value on HOWTO.
610 * misc/ptrace.c: #include <libc-internal.h>
611 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
613 2014-12-04 Joseph Myers <joseph@codesourcery.com>
615 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
616 XPG4, UNIX98 and XOPEN2K.
617 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
619 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
621 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
623 * libio/fileops.c: Use ISO C style for function definitions.
624 * libio/iofopen.c: Likewise.
625 * libio/wfileops.c: Likewise.
628 * libio/fileops.c (_IO_new_file_underflow): Unset cached
630 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
631 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
632 (fgets_func): Function pointer to fgets and fgetws.
633 (do_ftell_test): Add test to verify ftell value after read
635 (do_test): Set fgets_func.
637 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
638 O_TRUNC flag for w and w+ modes.
639 (do_rewind_test): Likewise.
640 (do_ftell_test): Likewise.
641 (do_write_test): Likewise.
644 * libio/fileops.c (do_ftell): Seek only when there are
646 * libio/wfileops.c (do_ftell_wide): Likewise.
647 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
649 (do_one_test): Call it.
651 2014-12-03 Joseph Myers <joseph@codesourcery.com>
653 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
654 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
655 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
657 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
658 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
659 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
661 2014-12-02 Joseph Myers <joseph@codesourcery.com>
663 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
665 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
668 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
669 as weak alias of __getifaddrs. Use libc_hidden_weak.
670 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
671 __freeifaddrs. Use libc_hidden_weak.
672 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
673 define as weak alias of __getifaddrs. Use libc_hidden_weak.
674 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
675 __freeifaddrs. Use libc_hidden_weak.
676 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
677 __getifaddrs and define as weak alias of __getifaddrs. Use
679 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
680 __freeifaddrs. Use libc_hidden_weak.
681 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
683 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
684 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
686 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
689 * sysdeps/mips/start.S (__start): Use indirect jump to call
692 2014-12-02 Joseph Myers <joseph@codesourcery.com>
694 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
696 * nptl/tst-mutex1.c: Include <stdbool.h>.
697 [!ATTR] (ATTR_NULL): New macro.
698 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
699 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
700 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
702 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
706 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
707 Change conditional to [__USE_MISC].
710 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
712 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
714 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
716 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
718 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
719 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
720 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
721 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
722 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
723 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
724 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
725 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
726 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
728 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
730 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
732 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
733 Remove strpbrk objects.
734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
735 (__libc_ifunc_impl_list): Remove strpbrk implementation.
736 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
737 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
738 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
739 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
741 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
742 Remove strcspn objects.
743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
744 (__libc_ifunc_impl_list): Remove strcspn implementation.
745 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
746 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
747 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
748 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
750 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
751 Remove strspn objetcs.
752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
753 (__libc_ifunc_impl_list): Remove strspn implementation.
754 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
755 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
756 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
757 * sysdeps/powerpc/powerpc64/strspn.S: New file.
759 2014-12-01 James Lemke <jwlemke@codesourcery.com>
763 (mem2mem_check): Add a terminator to the chain of checking blocks.
764 (malloc_check_get_size): Use it here.
765 (mem2chunk_check): Ditto.
767 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
769 * sysdeps/powerpc/powerpc64/strtok.S: New file.
770 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
772 2014-11-29 Carlos O'Donell <carlos@redhat.com>
774 * bits/ioctl-types.h: Indent preprocessor directives correctly.
776 * nptl/nptl-init.c: Include libc-internal.h.
777 (__pthread_initialize_minimal_internal): Use ROUND_UP.
779 * elf/ldconfig.c (search_dir): Expand comment.
781 2014-11-29 Joseph Myers <joseph@codesourcery.com>
783 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
785 (linknamespace-symlist-stdlibs-tests): Likewise.
786 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
787 instead of $(objpfx)symlist-stdlibs.
788 (linknamespace-libs-isoc): New variable.
789 (linknamespace-libs): Use $(linknamespace-libs-isoc).
790 (linknamespace-libs-ISO): New variable.
791 (linknamespace-libs-ISO99): Likewise.
792 (linknamespace-libs-ISO11): Likewise.
793 (linknamespace-libs-XPG3): Likewise.
794 (linknamespace-libs-XPG4): Likewise.
795 (linknamespace-libs-POSIX): Likewise.
796 (linknamespace-libs-UNIX98): Likewise.
797 (linknamespace-libs-XOPEN2K): Likewise.
798 (linknamespace-libs-POSIX2008): Likewise.
799 (linknamespace-libs-XOPEN2K8): Likewise.
800 ($(objpfx)symlist-stdlibs): Replace by
801 $(linknamespace-symlist-stdlibs-tests). Use
802 $(linknamespace-libs-$*) as set of libraries.
803 ($(linknamespace-header-tests)): Update dependencies. Use
804 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
805 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
806 * conform/linknamespace.pl: Remove comment about considering
807 definitions of symbols from irrelevant libraries.
809 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
812 * elf/dl-tls.c: Include <atomic.h>.
813 (oom): Remove #ifdef SHARED/#endif.
814 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
815 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
816 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
818 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
819 * nptl/Makefile (tests): Add tst-stack4.
820 (modules-names): Add tst-stack4mod.
821 ($(objpfx)tst-stack4): New.
822 (tst-stack4mod.sos): Likewise.
823 ($(objpfx)tst-stack4.out): Likewise.
824 ($(tst-stack4mod.sos)): Likewise.
826 * nptl/tst-stack4.c: New file.
827 * nptl/tst-stack4mod.c: Likewise.
829 2014-11-27 J. Brown <jb999@gmx.de>
831 * sysdeps/x86/bits/string.h: Add recent CPUs.
833 2014-11-27 Joseph Myers <joseph@codesourcery.com>
835 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
838 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
841 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
844 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
846 * nscd/connections.c: Include libc-internal.h because of macro
849 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
851 * string/bits/string3.h (__warn_memset_zero_len): Don't
852 declare for gcc newer than 5.0.
853 (memset): Don't test for zero-length __LEN for gcc newer than
856 2014-11-27 Joseph Myers <joseph@codesourcery.com>
858 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
859 size_t for %zu format.
861 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
864 2014-11-26 Joseph Myers <joseph@codesourcery.com>
866 * include/libc-internal.h (ignore_value): New macro.
867 * nscd/connections.c (restart): Wrap calls to setuid and setgid
870 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
873 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
874 pthread_cleanup_push to void *.
876 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
881 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
884 * libio/bug-rewind.c (do_test): Check fwscanf return values.
885 * libio/bug-rewind2.c (do_test): Likewise.
887 * debug/test-stpcpy_chk-ifunc.c: Remove file.
888 * debug/test-strcpy_chk-ifunc.c: Likewise.
889 * wcsmbs/test-wcschr-ifunc.c: Likewise.
890 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
891 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
892 * wcsmbs/test-wcslen-ifunc.c: Likewise.
893 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
894 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
895 * Rules [$(multi-arch) = no] (tests): Do not filter out
897 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
898 * debug/Makefile (tests-ifunc): Remove variable.
899 (tests): Do not add $(tests-ifunc).
900 * wcsmbs/Makefile (tests-ifunc): Remove variable.
901 (tests): Do not add $(tests-ifunc).
902 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
903 [TEST_IFUNC]: Remove conditionals.
904 * string/test-string.h (TEST_IFUNC): Remove macro.
905 [TEST_IFUNC]: Remove conditionals.
907 * string/test-strchr.c [!WIDE] (L): New macro.
908 [WIDE] (L): Likewise.
909 (check1): Use CHAR instead of char. Use L on string and character
912 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
914 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
916 * sysdeps/powerpc/bits/atomic.h
917 (__arch_atomic_exchange_and_add_32_acq): Add definition.
918 (__arch_atomic_exchange_and_add_32_rel): Likewise.
919 (atomic_exchange_and_add_acq): Likewise.
920 (atomic_exchange_and_add_rel): Likewise.
921 * sysdeps/powerpc/powerpc32/bits/atomic.h
922 (__arch_atomic_exchange_and_add_64_acq): Add definition.
923 (__arch_atomic_exchange_and_add_64_rel): Likewise.
924 * sysdeps/powerpc/powerpc64/bits/atomic.h
925 (__arch_atomic_exchange_and_add_64_acq): Add definition.
926 (__arch_atomic_exchange_and_add_64_rel): Likewise.
928 2014-11-26 Torvald Riegel <triegel@redhat.com>
930 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
931 Change synchronization of __sched_fifo_min_prio and
932 __sched_fifo_max_prio.
933 * nptl/pthread_mutexattr_getprioceiling.c
934 (pthread_mutexattr_getprioceiling): Likewise.
935 * nptl/pthread_mutexattr_setprioceiling.c
936 (pthread_mutexattr_setprioceiling): Likewise.
937 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
938 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
941 2014-11-26 Joseph Myers <joseph@codesourcery.com>
943 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
946 2014-11-25 Joseph Myers <joseph@codesourcery.com>
948 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
949 third argument const.
951 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
953 fnmatch: work around GCC compiler warning bug with uninit var
954 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
955 This works around a bug with x86-64 GCC 4.9.2 and earlier
956 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
957 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
958 used uninitialized in this function [-Wmaybe-uninitialized]".
960 2014-11-25 Joseph Myers <joseph@codesourcery.com>
962 * posix/bug-regex31.c (main): Return RES not 0.
964 2014-11-25 Anton Blanchard <anton@samba.org>
966 * sysdeps/powerpc/bits/atomic.h
967 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
969 2014-11-24 Sterling Augustine <saugustine@google.com>
971 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
973 2014-11-24 Ryan Cumming <etaoins@gmail.com>
976 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
978 2014-11-24 Joseph Myers <joseph@codesourcery.com>
981 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
982 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
984 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
985 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
987 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
989 * string/strncpy.c (strncpy): Improve performance by using memset.
991 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
993 * string/strcpy.c (strcpy):
994 Improve performance by using strlen and memcpy.
996 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
998 * string/strcoll_l.c (get_next_seq): __always_inline.
999 * string/strcoll_l.c (do_compare): __always_inline.
1001 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1003 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1005 * include/mqueue.h: Likewise.
1006 * include/stdlib.h: Likewise.
1008 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1009 (get_null_defines): Adjust.
1010 * sunrpc/Makefile: Adjust comment.
1011 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1012 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1013 (CFLAGS-interp.c): Likewise.
1014 (CFLAGS-ldconfig.c): Likewise.
1015 (CPPFLAGS-.os): Likewise.
1016 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1017 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1018 * extra-modules.mk (extra-modules.mk): Likewise.
1019 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1020 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1021 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1022 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1023 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1024 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1025 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1026 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1027 * iconvdata/Makefile (CPPFLAGS): Likewise.
1028 (cpp-srcs-left): Add libof for all iconvdata routines.
1029 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1030 * include/assert.h: Likewise.
1031 * include/ctype.h: Likewise.
1032 * include/errno.h: Likewise.
1033 * include/libc-symbols.h: Likewise.
1034 * include/math.h: Likewise.
1035 * include/netdb.h: Likewise.
1036 * include/resolv.h: Likewise.
1037 * include/stdio.h: Likewise.
1038 * include/stdlib.h: Likewise.
1039 * include/string.h: Likewise.
1040 * include/sys/stat.h: Likewise.
1041 * include/wctype.h: Likewise.
1042 * intl/l10nflist.c: Likewise.
1043 * libidn/idn-stub.c: Likewise.
1044 * libio/libioP.h: Likewise.
1045 * nptl/libc_multiple_threads.c: Likewise.
1046 * nptl/pthreadP.h: Likewise.
1047 * posix/regex_internal.h: Likewise.
1048 * resolv/res_hconf.c: Likewise.
1049 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1050 * sysdeps/arm/memmove.S: Likewise.
1051 * sysdeps/arm/sysdep.h: Likewise.
1052 * sysdeps/generic/_itoa.h: Likewise.
1053 * sysdeps/generic/symbol-hacks.h: Likewise.
1054 * sysdeps/gnu/errlist.awk: Likewise.
1055 * sysdeps/gnu/errlist.c: Likewise.
1056 * sysdeps/i386/i586/memcpy.S: Likewise.
1057 * sysdeps/i386/i586/memset.S: Likewise.
1058 * sysdeps/i386/i686/memcpy.S: Likewise.
1059 * sysdeps/i386/i686/memmove.S: Likewise.
1060 * sysdeps/i386/i686/mempcpy.S: Likewise.
1061 * sysdeps/i386/i686/memset.S: Likewise.
1062 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1063 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1064 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1065 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1066 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1067 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1068 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1069 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1072 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1073 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1074 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1075 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1076 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1077 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1078 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1079 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1080 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1081 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1082 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1083 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1084 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1085 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1086 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1088 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1089 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1090 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1091 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1097 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1098 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1099 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1100 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1101 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1102 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1103 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1104 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1105 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1108 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1109 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1110 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1111 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1112 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1113 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1114 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1115 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1116 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1117 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1118 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1119 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1120 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1121 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1122 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1124 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1125 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1126 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1127 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1128 * sysdeps/posix/closedir.c: Likewise.
1129 * sysdeps/posix/opendir.c: Likewise.
1130 * sysdeps/posix/readdir.c: Likewise.
1131 * sysdeps/posix/rewinddir.c: Likewise.
1132 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1133 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1134 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1135 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1136 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1137 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1138 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1140 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1141 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1142 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1144 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1145 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1146 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1147 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1148 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1149 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1150 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1152 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1154 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1155 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1167 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1168 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1169 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1170 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1171 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1172 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1173 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1174 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1175 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1176 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1177 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1178 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1179 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1180 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1181 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1182 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1183 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1184 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1185 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1186 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1187 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1188 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1190 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1192 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1194 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1195 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1196 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1197 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1198 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1199 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1201 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1202 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1203 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1204 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1205 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1206 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1207 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1208 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1209 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1210 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1211 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1212 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1213 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1214 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1215 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1216 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1217 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1218 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1219 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1220 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1221 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1222 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1223 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1224 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1228 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1230 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1231 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1233 * sysdeps/unix/alpha/sysdep.S: Likewise.
1234 * sysdeps/unix/alpha/sysdep.h: Likewise.
1235 * sysdeps/unix/make-syscalls.sh: Likewise.
1236 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1238 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1239 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1240 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1241 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1242 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1243 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1244 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1245 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1246 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1247 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1249 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1250 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1251 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1252 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1253 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1254 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1255 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1256 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1257 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1258 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1259 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1260 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1261 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1262 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1265 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1266 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1269 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1274 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1275 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1276 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1277 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1278 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1279 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1280 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1286 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1287 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1288 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1289 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1292 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1294 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1295 * sysdeps/x86_64/memcpy.S: Likewise.
1296 * sysdeps/x86_64/memmove.c: Likewise.
1297 * sysdeps/x86_64/memset.S: Likewise.
1298 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1300 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1301 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1302 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1305 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1306 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1307 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1308 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1309 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1310 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1313 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1314 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1315 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1316 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1317 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1318 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1319 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1322 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1323 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1324 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1325 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1326 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1327 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1328 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1329 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1330 * sysdeps/x86_64/strcmp.S: Likewise.
1332 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1334 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1335 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1336 * elf/rtld-Rules: Likewise.
1337 * elf/setup-vdso.h: Likewise.
1338 * include/assert.h: Likewise.
1339 * include/bits/stdlib-float.h: Likewise.
1340 * include/errno.h: Likewise.
1341 * include/sys/stat.h: Likewise.
1342 * include/unistd.h: Likewise.
1343 * sysdeps/aarch64/setjmp.S: Likewise.
1344 * sysdeps/alpha/setjmp.S: Likewise.
1345 * sysdeps/arm/__longjmp.S: Likewise.
1346 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1347 * sysdeps/arm/setjmp.S: Likewise.
1348 * sysdeps/arm/sysdep.h: Likewise.
1349 * sysdeps/generic/_itoa.h: Likewise.
1350 * sysdeps/generic/dl-sysdep.h: Likewise.
1351 * sysdeps/generic/ldsodefs.h: Likewise.
1352 * sysdeps/i386/dl-tls.h: Likewise.
1353 * sysdeps/i386/setjmp.S: Likewise.
1354 * sysdeps/m68k/setjmp.c: Likewise.
1355 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1356 * sysdeps/mach/hurd/opendir.c: Likewise.
1357 * sysdeps/posix/getcwd.c: Likewise.
1358 * sysdeps/posix/opendir.c: Likewise.
1359 * sysdeps/posix/profil.c: Likewise.
1360 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1361 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1362 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1364 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1365 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1366 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1367 * sysdeps/s390/dl-tls.h: Likewise.
1368 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1369 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1370 * sysdeps/sh/sh3/setjmp.S: Likewise.
1371 * sysdeps/sh/sh4/setjmp.S: Likewise.
1372 * sysdeps/unix/alpha/sysdep.h: Likewise.
1373 * sysdeps/unix/arm/sysdep.S: Likewise.
1374 * sysdeps/unix/i386/sysdep.S: Likewise.
1375 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1376 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1377 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1378 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1380 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1381 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1382 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1383 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1384 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1385 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1386 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1387 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1390 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1393 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1394 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1395 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1398 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1399 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1402 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1403 * sysdeps/x86_64/setjmp.S: Likewise.
1405 * include/math.h: Use IS_IN instead of IS_IN_libm.
1406 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1407 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1409 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1410 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1415 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1416 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1417 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1418 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1420 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1421 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1422 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1424 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1425 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1426 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1427 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1428 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1429 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1430 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1431 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1432 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1433 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1434 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1435 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1436 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1437 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1438 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1449 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1450 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1451 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1452 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1453 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1454 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1460 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1461 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1462 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1463 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1465 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1466 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1467 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1468 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1469 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1470 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1471 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1472 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1473 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1475 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1477 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1478 * nptl/pthreadP.h: Likewise.
1479 * nptl_db/structs.def: Likewise.
1480 * sysdeps/arm/sysdep.h: Likewise.
1481 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1482 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1483 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1484 * sysdeps/unix/alpha/sysdep.h: Likewise.
1485 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1486 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1487 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1488 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1489 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1490 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1491 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1492 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1493 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1494 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1495 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1496 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1497 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1498 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1503 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1506 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1507 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1508 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1510 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1512 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1513 * nptl/pthreadP.h: Likewise.
1514 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1515 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1516 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1517 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1518 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1519 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1520 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1521 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1522 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1523 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1524 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1525 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1532 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1535 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1536 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1537 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1539 * dlfcn/dladdr.c: Use IS_IN.
1540 * dlfcn/dladdr1.c: Likewise.
1541 * dlfcn/dlclose.c: Likewise.
1542 * dlfcn/dlerror.c: Likewise.
1543 * dlfcn/dlinfo.c: Likewise.
1544 * dlfcn/dlmopen.c: Likewise.
1545 * dlfcn/dlopen.c: Likewise.
1546 * dlfcn/dlsym.c: Likewise.
1547 * dlfcn/dlvsym.c: Likewise.
1549 * include/ifaddrs.h: Use IS_IN.
1550 * inet/check_pf.c: Likewise.
1551 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1552 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1554 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1556 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1557 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1559 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1560 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1563 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1565 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1566 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1567 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1568 * include/libc-symbols.h (IS_IN_LIB): New macro.
1569 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1570 * include/netdb.h: Likewise.
1571 * include/stap-probe.h: Remove all uses of IN_LIB.
1573 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1574 instead of IN_MODULE.
1575 * include/libc-symbols.h (IN_MODULE): Define using
1577 (PASTE_NAME, PASTE_NAME1): New macros.
1578 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1580 (STAP_PROBE_ASM): Likewise.
1582 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1584 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1585 __mach_init in dlopened libc.
1587 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1589 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1590 * sysdeps/arm/preconfigure: Regenerate.
1592 2014-11-21 Roland McGrath <roland@hack.frob.com>
1594 * nptl/pthread_create.c (__pthread_create_2_1): Set
1595 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1596 when copying values from IATTR into PD.
1598 2014-11-21 Will Newton <will.newton@linaro.org>
1599 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1601 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1602 Refactor inline-asm. Also add comment.
1604 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1605 ElfW macro instead of hardcoded Elf64 types.
1606 (la_aarch64_gnu_pltenter): Likewise.
1607 * sysdeps/aarch64/dl-machine.h
1608 (elf_machine_runtime_setup): Use ElfW(Addr).
1610 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1611 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1612 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1613 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1614 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1615 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1616 (R_AARCH64_TLS_DTPMOD): This.
1617 (R_AARCH64_TLS_DTPREL64): Rename to ...
1618 (R_AARCH64_TLS_DTPREL): This.
1619 (R_AARCH64_TLS_TPREL64): Rename to ...
1620 (R_AARCH64_TLS_TPREL): This.
1621 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1622 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1623 R_AARCH64_TLS_TPREL64.
1624 (elf_machine_rela): Likewise.
1626 2014-11-21 Torvald Riegel <triegel@redhat.com>
1628 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1629 by setting it to 0. 64b atomics are not supported currently.
1631 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1634 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1635 search domain names.
1637 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1641 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1643 * posix/tst-getaddrinfo5.c: New.
1644 * posix/Makefile (tests): Add it.
1646 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1650 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1651 after parsing line but before break_if_match.
1652 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1653 if there is a protocol mismatch.
1655 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1657 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1658 because the potential race is on the user-supplied stream.
1660 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1662 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1663 string literal if not passed a buffer.
1664 * manual/job.texi (ctermid): Update reasoning, note deviation
1665 from posix, suggest mtasurace when not passed a buffer, for
1666 future non-preliminary safety notes.
1668 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1670 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1671 of not passing it a buffer.
1672 Reported by Peng Haitao.
1674 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1676 * manual/Makefile ($(objpfx)stamp-summary): Require
1677 check-safety.sh to pass.
1678 * manual/check-safety.sh: Wish for verification that every
1679 @deftypefn and @deftypefun is followed by a @safety remark.
1681 2014-11-20 Roland McGrath <roland@hack.frob.com>
1683 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1685 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1686 PTHREAD_CANCEL_ASYNCHRONOUS.
1687 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1690 * nptl/default-sched.h: New file.
1691 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1692 * nptl/pthread_create.c: Include it.
1693 (__pthread_create_2_1): Use collect_default_sched instead of making
1694 Linux syscalls here directly.
1696 2014-11-20 Torvald Riegel <triegel@redhat.com>
1698 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1699 __pthread_once): Use C11 atomics.
1701 2014-11-20 Torvald Riegel <triegel@redhat.com>
1703 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1705 2014-11-20 Torvald Riegel <triegel@redhat.com>
1707 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1708 atomic_thread_fence_acquire, atomic_thread_fence_release,
1709 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1710 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1711 atomic_compare_exchange_weak_relaxed,
1712 atomic_compare_exchange_weak_acquire,
1713 atomic_compare_exchange_weak_release,
1714 atomic_exchange_acquire, atomic_exchange_release,
1715 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1716 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1717 atomic_fetch_and_acquire,
1718 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1720 2014-11-20 Torvald Riegel <triegel@redhat.com>
1722 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1723 USE_ATOMIC_COMPILER_BUILTINS): Define.
1724 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1725 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1726 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1727 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1728 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1729 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1730 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1732 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1734 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1735 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1736 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1738 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1740 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1742 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1744 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1746 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1747 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1748 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1750 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1752 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1754 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1755 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1756 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1758 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1759 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1760 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1761 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1762 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1763 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1765 2014-11-19 Roland McGrath <roland@hack.frob.com>
1767 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1768 the sched_priority value here. It was already checked when the user
1769 called pthread_attr_setschedparam.
1771 * nptl/tst-bad-schedattr.c: New file.
1772 * nptl/Makefile (tests): Add it.
1774 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1775 Florian Weimer <fweimer@redhat.com>
1776 Joseph Myers <joseph@codesourcery.com>
1777 Adam Conrad <adconrad@0c3.net>
1778 Andreas Schwab <schwab@suse.de>
1779 Brooks <bmoses@google.com>
1782 * wordexp-test.c (__dso_handle): Add prototype.
1783 (__register_atfork): Likewise.
1784 (__app_register_atfork): New function.
1785 (registered_forks): New global.
1786 (register_fork): New function.
1787 (test_case): Add 3 new tests for WRDE_CMDSUB.
1788 (main): Call __app_register_atfork.
1789 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1790 fork count is non-zero fail the test.
1791 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1793 (parse_dollars): Remove check for WRDE_NOCMD.
1794 (parse_dquote): Likewise.
1796 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1798 * Makeconfig (built-modules): List non-library modules to be
1800 (module-cppflags): Include libc-modules.h for
1801 everything except shlib-versions.v.i.
1803 (before-compile): Add libc-modules.h.
1804 ($(common-objpfx)libc-modules.h,
1805 $(common-objpfx)libc-modules.stmp): New targets.
1806 (common-generated): Add libc-modules.h and libc-modules.stmp.
1807 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1808 * include/libc-symbols.h: Don't include libc-modules.h.
1809 * include/libc-modules.h: Remove file.
1810 * scripts/gen-libc-modules.awk: New script to generate
1812 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1813 Depend on libc-modules.stmp.
1815 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1817 * Makeconfig (in-module): Get value of libof set for the
1819 (CPPFLAGS): Use $(in-module).
1820 * Makerules: Don't suffix routine names for nonlib.
1821 * include/libc-modules.h: New file.
1822 * include/libc-symbols.h: Include libc-modules.h
1823 (IS_IN): New macro to replace IS_IN_* macros.
1824 * elf/Makefile: Set libof-* for each routine.
1825 * elf/rtld-Rules: Likewise.
1826 * extra-modules.mk: Likewise.
1827 * iconv/Makefile: Likewise.
1828 * iconvdata/Makefile: Likewise.
1829 * locale/Makefile: Likewise.
1830 * malloc/Makefile: Likewise.
1831 * nss/Makefile: Likewise.
1832 * sysdeps/gnu/Makefile: Likewise.
1833 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1834 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1835 * sysdeps/s390/s390-64/Makefile: Likewise.
1836 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1837 CPPFLAGS for nscd instead of nonlib.
1839 2014-11-18 Roland McGrath <roland@hack.frob.com>
1841 * nptl/createthread.c: New file.
1843 * nptl/createthread.c: Moved ...
1844 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1846 * nptl/createthread.c: Add proper top-line comment.
1847 (do_clone): Folded into ...
1848 (create_thread): ... here. Take new arguments STOPPED_START and
1849 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1850 increment __nptl_threads, do event-reporting logic, do
1851 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1852 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1853 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1854 just send SIGCANCEL.
1855 * nptl/pthread_create.c: Forward-declare create_thread before
1856 including createthread.c.
1857 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1858 declaration, and new macro START_THREAD_SELF to replace argument.
1859 Remove return statement.
1860 (report_thread_creation): New function.
1861 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1862 synchronization logic, and __nptl_nthreads increment here, around
1863 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1864 PD->parent_cancelhandling here, before create_thread. When
1865 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1866 __deallocate_stack, and ENOMEM translation here.
1868 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1871 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1872 (mptwo): Rename to __mptwo.
1873 (__inv): Use __mptwo instead of mptwo.
1874 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1875 (mptwo): Rename to __mptwo.
1876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1877 of mpone and __mptwo instead of mptwo.
1878 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1881 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1882 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1883 of mpone and __mptwo instead of mptwo.
1884 (__mpranred): Use __mpone instead of mpone.
1885 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1887 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1888 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1889 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1890 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1891 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1892 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1893 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1894 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1895 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1896 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1897 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1898 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1899 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1900 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1901 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1902 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1903 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1904 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1905 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1907 2014-11-18 Tom de Vries <tom@codesoucery.com>
1909 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1910 replace BSD Handler xref with BSD Signal Handling.
1912 2014-11-17 Richard Henderson <rth@redhat.com>
1914 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1915 (_FP_PACK_RAW_2): Remove.
1916 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1917 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1918 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1919 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1920 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1921 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1922 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1923 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1924 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1925 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1926 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1927 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1928 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1929 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1930 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1931 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1933 2014-11-14 Roland McGrath <roland@hack.frob.com>
1935 * signal/signal.h [__USE_MISC]
1936 (struct sigvec): Remove type.
1937 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1938 (sigvec): Remove declaration.
1939 * sysdeps/posix/sigvec.c: Moved ...
1940 * signal/sigvec.c: ... here, replacing old file.
1941 (struct sigvec): New type, copied from old signal.h definition.
1942 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1943 (__sigvec): Convert definition to prototype.
1944 (sigvec): Replace weak_alias with compat_symbol.
1945 * signal/Versions (libc: GLIBC_2.21): New version set.
1946 * include/signal.h: Remove __sigvec declaration.
1947 * sysdeps/unix/bsd/sigvec.c: Remove file.
1948 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1949 * manual/signal.texi (BSD Handler): Remove subsection.
1950 Move siginterrupt up to ...
1951 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1952 (Blocking in BSD): Fold subsection into its parent.
1953 * NEWS: Mention sigvec removal.
1955 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1958 (DLA_FMS): Make definition conditional only on [__FMA4__].
1959 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1962 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1963 Make definition conditional only on [PROF].
1964 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1966 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1967 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1969 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1971 * include/signal.h (__sigpause): Move declaration above call to
1973 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1975 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1976 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1978 2014-11-14 David S. Miller <davem@davemloft.net>
1980 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1981 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1983 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1985 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1986 * configure: Regenerated.
1987 * manual/install.texi (Tools for Compilation): Document a
1988 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1989 compiler verified to work.
1990 * INSTALL: Regenerated.
1992 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1993 redeclare with asm name.
1994 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1995 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1996 including <string.h>.
1997 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1999 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2000 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2001 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2002 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2003 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2005 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2007 * stdlib/strtol.c (__strtol): Use prototype definition.
2010 * stdlib/strtol.c (SYM__): New macro.
2012 (__strtol): Likewise.
2013 (strtol): Rename to __strtol and define as weak alias of
2014 __strtol. Use libc_hidden_weak.
2016 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2018 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2019 Use numbered labels in inline assembly.
2021 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2023 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2024 Add setjmp LIBC_PROBE.
2025 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2027 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2028 Add longjmp, longjmp_target LIBC_PROBE.
2029 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2032 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2035 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2036 to get rid of unused variable warning.
2038 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2040 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2041 Check for unwind_backtrace == NULL only in SHARED case.
2042 (__backchain_backtrace): Compile only in SHARED case.
2043 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2045 (__backchain_backtrace): Declare as static.
2047 2014-11-12 Roland McGrath <roland@hack.frob.com>
2049 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2050 (__libc_multiple_threads_ptr): Variable moved ...
2051 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2053 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2055 * conform/GlibcConform.pm: New file.
2056 * conform/conformtest.pl: Use GlibcConform module.
2057 * conform/linknamespace.pl: New file.
2058 * conform/list-header-symbols.pl: Likewise.
2059 * conform/Makefile (linknamespace-symlists-base): New variable.
2060 (linknamespace-symlists-tests): Likewise.
2061 (linknamespace-header-base): Likewise.
2062 (linknamespace-header-tests): Likewise.
2063 (tests-special): Add new tests.
2064 ($(linknamespace-symlists-tests)): New rule.
2065 (linknamespace-libs): New variable.
2066 ($(objpfx)symlist-stdlibs): New rule.
2067 ($(linknamespace-header-tests)): Likewise.
2068 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2069 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2070 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2071 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2072 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2073 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2074 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2075 (test-xfail-ISO/math.h/linknamespace): Likewise.
2076 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2077 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2078 (test-xfail-ISO/time.h/linknamespace): Likewise.
2079 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2080 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2081 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2082 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2083 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2084 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2085 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2086 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2087 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2088 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2089 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2090 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2091 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2092 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2093 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2094 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2095 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2096 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2097 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2098 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2099 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2100 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2101 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2102 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2103 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2104 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2105 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2106 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2107 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2108 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2109 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2110 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2111 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2112 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2113 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2114 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2115 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2116 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2117 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2118 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2119 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2120 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2121 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2122 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2123 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2124 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2125 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2126 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2127 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2128 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2129 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2130 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2131 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2132 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2133 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2134 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2135 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2136 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2137 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2138 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2139 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2140 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2141 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2142 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2143 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2144 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2145 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2146 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2147 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2148 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2149 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2150 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2151 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2152 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2153 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2154 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2155 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2156 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2157 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2158 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2159 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2160 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2161 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2162 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2163 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2164 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2165 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2166 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2167 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2168 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2169 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2170 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2171 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2172 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2173 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2174 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2175 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2176 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2177 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2178 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2179 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2180 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2181 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2182 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2183 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2184 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2185 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2186 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2187 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2188 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2189 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2190 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2191 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2192 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2193 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2194 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2195 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2196 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2197 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2198 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2199 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2200 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2201 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2202 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2203 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2204 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2205 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2206 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2207 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2208 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2209 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2210 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2211 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2212 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2213 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2214 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2215 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2216 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2217 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2218 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2219 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2220 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2221 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2222 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2223 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2224 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2225 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2226 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2227 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2228 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2231 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2235 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2236 (memmem): Rename to __memmem and define as weak alias of
2237 __memmem. Use libc_hidden_weak.
2238 (__memmem): Use libc_hidden_def.
2239 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2240 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2244 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2245 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2246 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2247 and define as weak alias of __fgets_unlocked. Use
2249 (__fgets_unlocked): Use libc_hidden_def.
2250 * include/stdio.h (__fgets_unlocked): Declare. Use
2252 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2253 __fgets_unlocked instead of fgets_unlocked.
2254 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2255 (GET_NPROCS_CONF_PARSER): Likewise.
2256 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2257 (GET_NPROCS_CONF_PARSER): Likewise.
2260 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2261 weak alias of __wmemset. Use libc_hidden_weak.
2262 (__wmemset): Use libc_hidden_def.
2263 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2264 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2268 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2269 with asm name __mempcpy.
2270 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2273 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2274 and define as weak alias of __rawmemchr.
2275 (__rawmemchr): Do not define as strong alias of rawmemchr.
2278 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2280 (qsort): Call __qsort_r instead of qsort_r.
2281 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2282 (__qsort_r): Declare. Call libc_hidden_proto.
2283 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2285 * nscd/gai.c (__qsort_r): Define to qsort_r.
2286 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2287 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2288 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2291 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2292 define as weak alias of __malloc_info.
2295 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2296 as weak alias of __rewinddir. Don't use libc_hidden_def.
2297 (__rewinddir): Use libc_hidden_def.
2298 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2299 as weak alias of __rewinddir. Don't use libc_hidden_def.
2300 (__rewinddir): Use libc_hidden_def.
2301 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2302 weak alias of __rewinddir. Don't use libc_hidden_def.
2303 (__rewinddir): Use libc_hidden_def.
2304 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2305 (__rewinddir): Use libc_hidden_proto.
2306 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2308 (__getcwd): Use __rewinddir instead of rewinddir.
2311 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2312 alias of __fileno. Use libc_hidden_weak.
2313 (__fileno): Use libc_hidden_def.
2314 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2315 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2317 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2319 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2320 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2322 (fread_unlocked): Don't use libc_hidden_ver.
2323 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2324 and define as weak alias of __fread_unlocked. Don't use
2326 (__fread_unlocked): Use libc_hidden_def.
2327 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2328 (ftello): Don't use libc_hidden_proto.
2329 (__ftello): Declare. Use libc_hidden_proto.
2330 (fread_unlocked): Don't use libc_hidden_proto.
2331 (__fread_unlocked): Declare. Use libc_hidden_proto.
2332 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2333 and __ftello instead of fileno, fread_unlocked and ftello.
2335 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2337 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2339 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2341 (_dl_start_user): Likewise.
2342 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2344 2014-11-12 Carlos O'Donell <carlos@redhat.com>
2345 Siddhesh Poyarekar <siddhesh@redhat.com>
2347 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2348 Move argv and envp down instead of moving argc up.
2349 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2351 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
2354 * test-skeleton.c (main): Return successful if one of
2355 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2356 * string/tst-strcoll-overflow.c: Define expected status.
2358 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2361 * locale/iso-639.def: Define Bhili and Tulu language codes.
2363 2014-11-11 Alan Hayward <alan.hayward@arm.com>
2365 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2367 2014-11-10 Renlin Li <Renlin.Li@arm.com>
2370 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2372 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2374 * configure.ac: Updated check of minimal required version to
2376 * manual/install.texi (Tools for Compilation): Updated version
2378 * configure: Regenerated.
2379 * INSTALL: Likewise.
2381 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2383 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2386 2014-11-07 Joseph Myers <joseph@codesourcery.com>
2388 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2389 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2390 (__waitpid): Don't define as alias. Use libc_hidden_def not
2392 (waitpid): Define as alias of __waitpid.
2393 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2395 (__waitpid): Don't define as alias. Use libc_hidden_def not
2397 (waitpid): Define as alias of __waitpid.
2398 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2399 __libc_waitpid alias.
2400 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2401 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2403 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2404 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2405 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2407 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2409 (__waitpid): Don't define as alias. Use libc_hidden_def not
2411 (waitpid): Define as alias of __waitpid.
2413 2014-11-06 Carlos O'Donell <carlos@redhat.com>
2415 * manual/llio.texi: Add comment that write safety has been
2418 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2419 (localplt-build-dso): Add elf/ld.so.
2420 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2421 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2424 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2429 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2430 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2431 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2432 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2433 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2434 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2435 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2436 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2437 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2439 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2441 2014-11-05 Joseph Myers <joseph@codesourcery.com>
2444 * include/libc-symbols.h (INTUSE): Remove macro.
2446 (INTVARDEF): Likewise.
2447 (_INTVARDEF): Likewise.
2448 (INTDEF2): Likewise.
2449 (INTVARDEF2): Likewise.
2450 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2451 rtld_hidden_def instead of INTVARDEF.
2452 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2453 (_dl_starting_up_internal): Remove declaration.
2454 (_dl_starting_up): Use rtld_hidden_proto.
2455 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2457 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2458 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2460 * elf/dl-writev.h (_dl_writev): Likewise.
2461 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2462 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2463 _dl_starting_up_internal.
2465 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2470 2014-11-05 Will Newton <will.newton@linaro.org>
2472 * benchtests/Makefile: (bench-malloc): Add malloc thread
2473 scalability benchmark.
2474 * benchtests/bench-malloc-threads.c: New file.
2476 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
2478 * sysdeps/aarch64/strchrnul.S: New file.
2480 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2482 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2484 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2486 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2488 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2490 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2492 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2495 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
2497 * catgets/test-gencat.c: Use test-skeleton.c.
2498 * catgets/tst-catgets.c: Likewise.
2499 * csu/tst-empty.c: Likewise.
2500 * elf/tst-audit2.c: Likewise.
2501 * elf/tst-global1.c: Likewise.
2502 * elf/tst-pathopt.c: Likewise.
2503 * elf/tst-piemod1.c: Likewise.
2504 * elf/tst-tls10.c: Likewise.
2505 * elf/tst-tls11.c: Likewise.
2506 * elf/tst-tls12.c: Likewise.
2507 * gnulib/tst-gcc.c: Likewise.
2508 * iconvdata/tst-e2big.c: Likewise.
2509 * iconvdata/tst-loading.c: Likewise.
2510 * iconv/tst-iconv1.c: Likewise.
2511 * iconv/tst-iconv2.c: Likewise.
2512 * inet/test-inet6_opt.c: Likewise.
2513 * inet/tst-gethnm.c: Likewise.
2514 * inet/tst-network.c: Likewise.
2515 * inet/tst-ntoa.c: Likewise.
2516 * intl/tst-codeset.c: Likewise.
2517 * intl/tst-gettext2.c: Likewise.
2518 * intl/tst-gettext3.c: Likewise.
2519 * intl/tst-ngettext.c: Likewise.
2520 * intl/tst-translit.c: Likewise.
2521 * io/test-stat.c: Likewise.
2522 * libio/test-fmemopen.c: Likewise.
2523 * libio/tst-freopen.c: Likewise.
2524 * libio/tst-sscanf.c: Likewise.
2525 * libio/tst-ungetwc1.c: Likewise.
2526 * libio/tst-ungetwc2.c: Likewise.
2527 * libio/tst-widetext.c: Likewise.
2528 * localedata/tst-ctype.c: Likewise.
2529 * localedata/tst-digits.c: Likewise.
2530 * localedata/tst-leaks.c: Likewise.
2531 * localedata/tst-mbswcs1.c: Likewise.
2532 * localedata/tst-mbswcs2.c: Likewise.
2533 * localedata/tst-mbswcs3.c: Likewise.
2534 * localedata/tst-mbswcs4.c: Likewise.
2535 * localedata/tst-mbswcs5.c: Likewise.
2536 * localedata/tst-setlocale.c: Likewise.
2537 * localedata/tst-trans.c: Likewise.
2538 * localedata/tst-wctype.c: Likewise.
2539 * localedata/tst-xlocale1.c: Likewise.
2540 * login/tst-grantpt.c: Likewise.
2541 * malloc/tst-calloc.c: Likewise.
2542 * malloc/tst-malloc.c: Likewise.
2543 * malloc/tst-mallocstate.c: Likewise.
2544 * malloc/tst-mcheck.c: Likewise.
2545 * malloc/tst-mtrace.c: Likewise.
2546 * malloc/tst-obstack.c: Likewise.
2547 * math/atest-exp2.c: Likewise.
2548 * math/atest-exp.c: Likewise.
2549 * math/atest-sincos.c: Likewise.
2550 * math/test-matherr.c: Likewise.
2551 * math/test-misc.c: Likewise.
2552 * math/test-powl.c: Likewise.
2553 * math/tst-definitions.c: Likewise.
2554 * misc/tst-dirname.c: Likewise.
2555 * misc/tst-efgcvt.c: Likewise.
2556 * misc/tst-fdset.c: Likewise.
2557 * misc/tst-hsearch.c: Likewise.
2558 * misc/tst-mntent2.c: Likewise.
2559 * nptl/tst-sem7.c: Likewise.
2560 * nptl/tst-sem8.c: Likewise.
2561 * nptl/tst-sem9.c: Likewise.
2562 * nss/test-netdb.c: Likewise.
2563 * posix/tst-fnmatch.c: Likewise.
2564 * posix/tst-getlogin.c: Likewise.
2565 * posix/tst-gnuglob.c: Likewise.
2566 * posix/tst-mmap.c: Likewise.
2567 * pwd/tst-getpw.c: Likewise.
2568 * resolv/tst-inet_ntop.c: Likewise.
2569 * rt/tst-timer.c: Likewise.
2570 * stdio-common/test-fseek.c: Likewise.
2571 * stdio-common/test-popen.c: Likewise.
2572 * stdio-common/test-vfprintf.c: Likewise.
2573 * stdio-common/tst-cookie.c: Likewise.
2574 * stdio-common/tst-fileno.c: Likewise.
2575 * stdio-common/tst-gets.c: Likewise.
2576 * stdio-common/tst-obprintf.c: Likewise.
2577 * stdio-common/tst-perror.c: Likewise.
2578 * stdio-common/tst-sprintf2.c: Likewise.
2579 * stdio-common/tst-sprintf3.c: Likewise.
2580 * stdio-common/tst-sprintf.c: Likewise.
2581 * stdio-common/tst-swprintf.c: Likewise.
2582 * stdio-common/tst-tmpnam.c: Likewise.
2583 * stdio-common/tst-unbputc.c: Likewise.
2584 * stdio-common/tst-wc-printf.c: Likewise.
2585 * stdlib/tst-environ.c: Likewise.
2586 * stdlib/tst-fmtmsg.c: Likewise.
2587 * stdlib/tst-limits.c: Likewise.
2588 * stdlib/tst-rand48-2.c: Likewise.
2589 * stdlib/tst-rand48.c: Likewise.
2590 * stdlib/tst-random2.c: Likewise.
2591 * stdlib/tst-random.c: Likewise.
2592 * stdlib/tst-strtol.c: Likewise.
2593 * stdlib/tst-strtoll.c: Likewise.
2594 * stdlib/tst-tls-atexit.c: Likewise.
2595 * stdlib/tst-xpg-basename.c: Likewise.
2596 * string/test-ffs.c: Likewise.
2597 * string/tst-bswap.c: Likewise.
2598 * string/tst-inlcall.c: Likewise.
2599 * string/tst-strtok.c: Likewise.
2600 * string/tst-strxfrm.c: Likewise.
2601 * sysdeps/x86_64/tst-audit10.c: Likewise.
2602 * sysdeps/x86_64/tst-audit3.c: Likewise.
2603 * sysdeps/x86_64/tst-audit4.c: Likewise.
2604 * sysdeps/x86_64/tst-audit5.c: Likewise.
2605 * time/tst-ftime_l.c: Likewise.
2606 * time/tst-getdate.c: Likewise.
2607 * time/tst-mktime3.c: Likewise.
2608 * time/tst-mktime.c: Likewise.
2609 * time/tst-posixtz.c: Likewise.
2610 * time/tst-strptime2.c: Likewise.
2611 * time/tst-strptime3.c: Likewise.
2612 * wcsmbs/tst-btowc.c: Likewise.
2613 * wcsmbs/tst-mbrtowc.c: Likewise.
2614 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2615 * wcsmbs/tst-wchar-h.c: Likewise.
2616 * wcsmbs/tst-wcpncpy.c: Likewise.
2617 * wcsmbs/tst-wcrtomb.c: Likewise.
2618 * wcsmbs/tst-wcsnlen.c: Likewise.
2619 * wcsmbs/tst-wcstof.c: Likewise.
2621 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2624 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2626 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2628 (_dl_mcount): Use rtld_hidden_proto.
2629 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2631 * elf/rtld.c (_rtld_global_ro): Likewise.
2634 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2635 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2636 of _dl_init_internal.
2637 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2638 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2639 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2640 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2641 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2642 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2643 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2644 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2645 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2646 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2647 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2648 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2649 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2650 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2651 * sysdeps/tile/dl-start.S (_start): Likewise.
2652 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2653 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2656 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2657 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2658 (rtld_progname): Make macro definition unconditional.
2659 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2661 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2662 (dl_main): Likewise.
2663 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2664 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2665 instead of _dl_argv_internal.
2666 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2667 __GI__dl_argv instead of INTUSE(_dl_argv).
2668 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2669 __GI__dl_argv instead of _dl_argv_internal.
2671 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2672 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2674 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2675 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2677 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2678 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2680 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2681 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2683 2014-11-04 Andreas Schwab <schwab@suse.de>
2685 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2687 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2689 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2690 mtvsrd instruction in binary form.
2692 2014-11-03 Andreas Schwab <schwab@suse.de>
2695 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2696 for less than MB_LEN_MAX use a local buffer of that size.
2697 * libio/tst-fputws.c: New file.
2698 * libio/Makefile (tests): Add tst-fputws.
2700 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2702 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2703 the size of the fpu_fr.fpu_dregs[] array.
2705 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2707 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2708 (__nanosleep): Do not define as alias.
2709 (nanosleep): Define as alias of __nanosleep.
2710 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2711 __libc_nanosleep name.
2713 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2715 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2716 install.texi in comment.
2718 2014-10-31 Torvald Riegel <triegel@redhat.com>
2720 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2721 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2722 ... add here and use lwsync or sync ...
2723 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2724 ... and add here using lwsync.
2726 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2728 * elf/dl-machine-reject-phdr.h: New file.
2729 * elf/dl-load.c: #include that.
2730 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2731 if that returned true.
2733 2014-10-31 Roland McGrath <roland@hack.frob.com>
2736 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2737 gen-as-const-headers chunk. Add a big scare comment after the last
2738 safe place to touch before-compile.
2740 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2742 * manual/install.texi (Tools for Compilation): Update autoconf
2743 version requirements.
2744 * INSTALL: Regenerated.
2746 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2747 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2748 (__libc_pselect): Likewise.
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2756 2014-10-31 Torvald Riegel <triegel@redhat.com>
2758 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2759 correct barrier instruction.
2760 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2762 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2765 2014-10-30 Roland McGrath <roland@hack.frob.com>
2767 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2768 after defining inlines. Instead, just use parens to defeat macro
2769 expansion of __isctype in its declaration.
2771 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2773 * include/sys/uio.h (__libc_readv): Remove declaration.
2774 (__libc_writev): Likewise.
2775 * misc/readv.c (__libc_readv): Rename to __readv.
2776 (__readv): Do not define as alias.
2777 (readv): Define as alias of __readv.
2778 * misc/writev.c (__libc_writev): Rename to __writev.
2779 (__writev): Do not define as alias.
2780 (writev): Define as alias of __writev.
2781 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2782 (__readv): Do not define as alias.
2783 (readv): Define unconditionally as alias of __readv.
2784 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2785 (__writev): Do not define as alias.
2786 (writev): Define unconditionally as alias of __writev.
2787 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2789 (writev): Do not define __libc_writev name.
2791 2014-10-30 Roland McGrath <roland@hack.frob.com>
2793 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2794 (convert_charseq): New function, broken out of ...
2795 (use_from_charmap): ... here. Call it.
2796 (use_to_charmap): Use convert_charseq and free instead of duplicating
2797 its code with a variable-length stack struct.
2799 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2801 * include/fcntl.h (__libc_creat): Remove declaration.
2802 * io/creat.c (__libc_creat): Rename to creat.
2803 (creat): Do not define as alias.
2804 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2805 of creat instead of __libc_creat.
2806 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2808 (creat): Do not define as alias.
2809 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2811 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2816 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2818 * manual/llio.texi: Add comments discussing why write() may be
2819 considered MT-unsafe on Linux.
2821 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2823 * dl-load.c (local_strdup): Remove.
2824 (expand_dynamic_string_token): Use __strdup.
2825 (decompose_rpath): Likewise.
2826 (_dl_map_object): Likewise.
2828 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2831 * sysdeps/generic/unwind-dw2-fde.c
2832 (__register_frame_info_bases_internal): Do not declare.
2833 (__register_frame_info_table_bases_internal): Likewise.
2834 (__deregister_frame_info_bases_internal): Likewise.
2835 (__register_frame_info_bases): Declare and use hidden_proto before
2836 definition. Use hidden_def instead of INTDEF.
2837 (__register_frame_info_table_bases): Likewise.
2838 (__deregister_frame_info_bases): Likewise.
2839 (__register_frame_info): Do not use INTUSE.
2840 (__register_frame): Likewise.
2841 (__register_frame_info_table): Likewise.
2842 (__register_frame_table): Likewise.
2843 (__deregister_frame_info): Likewise.
2844 (__deregister_frame): Likewise.
2846 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2848 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2849 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2851 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2853 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2856 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2859 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2860 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2861 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2862 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2863 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2864 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2865 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2866 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2867 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2868 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2871 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2873 (setfsuid): Likewise.
2874 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2875 (setfsuid): Likewise.
2876 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2877 (setfsuid): Likewise.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2880 (setfsuid): Likewise.
2881 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2882 (setfsuid): Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2885 (setfsuid): Likewise.
2887 2014-10-27 Andreas Schwab <schwab@suse.de>
2890 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2891 check for Slow_SSE4_2 feature bit.
2892 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2893 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2894 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2895 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2897 2014-10-24 Roland McGrath <roland@hack.frob.com>
2899 * configure.ac: Validate compiler version with a empirical test of
2900 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2902 * configure: Regenerated.
2904 * inet/htons.c (htons): Prototypify.
2905 * inet/htonl.c (htonl): Likewise.
2907 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2909 * string/strncat.c (strncat): Improve performance by using strlen.
2911 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2913 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2915 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2917 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2918 Call libc_fetestexcept_aarch64.
2920 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2922 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2923 Call libc_feholdexcept_aarch64.
2925 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2927 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2928 Call get_rounding_mode.
2930 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2932 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2935 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2937 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2940 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2943 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2944 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2945 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2946 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2947 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2948 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2949 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2950 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2951 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2952 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2953 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2954 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2955 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2956 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2957 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2958 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2959 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2960 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2961 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2962 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2963 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2964 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2965 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2966 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2967 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2968 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2969 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2970 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2971 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2972 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2973 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2974 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2975 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2976 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2977 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2979 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2981 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2982 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2983 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2985 (geteuid): Likewise.
2988 (getresgid): Likewise.
2989 (getresuid): Likewise.
2990 (getgroups): Likewise.
2991 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2992 (geteuid): Likewise.
2995 (getresgid): Likewise.
2996 (getresuid): Likewise.
2997 (getgroups): Likewise.
2998 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2999 (geteuid): Likewise.
3002 (getresgid): Likewise.
3003 (getresuid): Likewise.
3004 (getgroups): Likewise.
3005 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3007 (geteuid): Likewise.
3010 (getresgid): Likewise.
3011 (getresuid): Likewise.
3012 (getgroups): Likewise.
3013 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3014 (geteuid): Likewise.
3017 (getresgid): Likewise.
3018 (getresuid): Likewise.
3019 (getgroups): Likewise.
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3022 (geteuid): Likewise.
3025 (getgroups): Likewise.
3028 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3029 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3030 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3031 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3032 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3033 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3034 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3035 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3036 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3037 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3038 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3040 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3042 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3045 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3049 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3052 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3057 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3059 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3062 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3064 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3067 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3069 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3070 Remove unused include.
3072 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3074 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3075 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3076 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3077 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3079 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3080 Helge Deller <deller@gmx.de>
3083 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3084 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3085 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3087 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3090 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3091 Remove macro definition.
3092 (__ashrdi3_v_glibc20): Likewise.
3093 (__lshrdi3_v_glibc20): Likewise.
3094 (__cmpdi2_v_glibc20): Likewise.
3095 (__ucmpdi2_v_glibc20): Likewise.
3096 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3097 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3098 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3099 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3100 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3101 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3103 2014-10-22 Roland McGrath <roland@hack.frob.com>
3105 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3106 old GNU extension [0] syntax.
3107 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3108 alloca rather than an array member with variable length.
3109 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3110 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3111 (parse_opt): ... here. Likewise use alloca there.
3112 Validate the -i argument before checking for rootness.
3113 (send_shutdown): New function, broken out of ...
3114 (parse_opt): ... here.
3116 2014-10-22 Roland McGrath <roland@hack.frob.com>
3118 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3119 macro to get at the _rt_local_ro field.
3120 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3121 ([PIC] case) or _dl_hwcap ([!PIC] case).
3122 * sysdeps/arm/setjmp.S: Likewise.
3124 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3125 * sysdeps/arm/configure.ac: New check to define it.
3126 * sysdeps/arm/configure: Regenerated.
3127 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3128 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3129 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3130 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3131 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3132 Use move/movt pair instead of a load.
3133 (LDST_GLOBAL): Macro removed.
3134 (LDR_GLOBAL): New macro replaces it.
3135 (LDR_HIDDEN): New macro.
3136 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3137 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3139 * setjmp/tst-setjmp-static.c: New file.
3140 * setjmp/Makefile (tests): Add it.
3141 (tests-static): New variable.
3143 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3146 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3148 2014-10-21 Joseph Myers <joseph@codesourcery.com>
3151 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3153 2014-10-21 Roland McGrath <roland@hack.frob.com>
3155 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3157 2014-10-20 Roland McGrath <roland@hack.frob.com>
3159 * io/fts.c (dirent_not_directory): New function.
3160 (fts_build): Call it.
3162 2014-10-20 Roland McGrath <roland@hack.frob.com>
3164 * nptl/version.c (__nptl_main): Use normal __write rather than
3166 (banner): Update copyright years.
3168 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3170 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3171 * nptl/pthread_cond_timedwait.c: Likewise.
3172 * nptl/pthread_mutex_timedlock.c: Likewise.
3173 * nptl/sem_timedwait.c: Likewise.
3175 * sysdeps/nptl/bits/libc-lock.h
3176 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3177 (__libc_lock_init_recursive): Return void, not 0.
3178 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3179 (__libc_rwlock_init): Likewise.
3180 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3182 2014-10-20 Torvald Riegel <triegel@redhat.com>
3185 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3186 (__pthread_once_slow): ... here.
3187 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3188 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3190 2014-10-20 Torvald Riegel <triegel@redhat.com>
3193 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3194 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3195 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3196 * nptl/pthread_once.c (__pthread_once): Likewise.
3199 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3202 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3204 (writev): Use __libc_writev as strong name.
3205 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3206 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3208 2014-10-17 Roland McGrath <roland@hack.frob.com>
3210 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3212 * sysdeps/i386/nptl/tls.h
3213 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3214 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3216 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3217 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3218 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3219 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3220 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3221 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3223 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3224 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3226 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3228 (__pthread_mutex_init): ... here. Call it.
3229 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3230 Conditionalize PI cases on [__NR_futex].
3231 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3232 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3233 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3235 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3236 conditional on [SIGSETXID].
3237 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3238 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3239 is defined. Likewise for SIGSETXID.
3240 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3241 Conditionalize definitions on [SIGSETXID].
3242 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3243 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3244 unblocking on [SIGCANCEL].
3246 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3247 [__NR_set_robust_list].
3249 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3251 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3252 (do_compare): Likewise.
3254 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3257 * string/strcoll_l.c: Don't include stdio.h.
3258 (coll_seq): Remove members idxarr and rulearr.
3259 (get_next_seq_cached): Remove function.
3260 (get_next_seq): Likewise.
3261 (get_next_seq_nocache): Rename to get_next_seq.
3262 (do_compare): Remove function.
3263 (do_compare_nocache): Rename to do_compare.
3264 (STRCOLL): Remove weight and rules cache.
3266 2014-10-16 Roland McGrath <roland@hack.frob.com>
3268 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3269 * sysdeps/arm/sfp-machine.h: ... to here.
3270 * sysdeps/arm/Implies: Remove arm/soft-fp.
3272 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3274 * conform/data/sys/utsname.h-data (*_t): Allow.
3275 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3276 [POSIX] (WEXITED): Do not expect constant.
3277 [POSIX] (WSTOPPED): Likewise.
3278 [POSIX] (WNOHANG): Likewise.
3279 [POSIX] (WNOWAIT): Likewise.
3280 [POSIX] (siginfo_t): Do not expect type or elements.
3281 [POSIX] (pid_t): Do not expect type.
3282 [POSIX] (signal.h): Do not allow header.
3283 [POSIX] (sys/resource.h): Likewise.
3284 [POSIX] (si_*): Do not allow pattern.
3285 [POSIX] (W*): Likewise.
3286 [POSIX] (P_*): Likewise.
3287 [POSIX] (BUS_*): Likewise.
3288 [POSIX] (CLD_*): Likewise.
3289 [POSIX] (FPE_*): Likewise.
3290 [POSIX] (ILL_*): Likewise.
3291 [POSIX] (POLL_*): Likewise.
3292 [POSIX] (SEGV_*): Likewise.
3293 [POSIX] (SI_*): Likewise.
3294 [POSIX] (TRAP_*): Likewise.
3295 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3298 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3301 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3302 infinite loop when __recvmsg returns 0.
3304 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3306 * CANCEL-FCT-WAIVE: Remove file.
3307 * CANCEL-FILE-WAIVE: Likewise.
3310 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3311 instead of INTVARDEF.
3312 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3313 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3314 rtld_hidden_data_def instead of INTVARDEF.
3315 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3316 * elf/dl-deps.c (expand_dst): Likewise.
3317 * elf/dl-load.c (_dl_dst_count): Likewise.
3318 (_dl_dst_substitute): Likewise.
3319 (decompose_rpath): Likewise.
3320 (_dl_init_paths): Likewise.
3321 (open_path): Likewise.
3322 (_dl_map_object): Likewise.
3323 * elf/rtld.c (dl_main): Likewise.
3324 (process_dl_audit): Likewise.
3325 (process_envvars): Likewise.
3326 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3328 (__libc_enable_secure): Use rtld_hidden_proto.
3330 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3333 (add_path): New function broken out of _dl_rtld_di_serinfo.
3334 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3336 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3338 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3339 parentheses around macro arguments.
3340 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3341 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3342 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3343 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3344 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3345 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3346 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3347 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3348 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3349 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3350 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3351 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3352 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3353 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3354 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3355 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3356 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3357 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3358 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3359 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3360 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3362 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3363 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3364 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3365 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3366 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3367 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3368 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3369 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3370 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3371 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3372 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3373 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3374 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3375 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3377 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3378 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3379 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3381 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3382 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3383 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3384 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3385 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3386 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3387 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3388 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3389 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3391 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3392 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3393 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3395 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3396 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3397 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3398 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3399 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3400 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3401 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3402 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3403 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3404 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3405 (_FP_FRAC_SRS_1): Likewise.
3406 (_FP_FRAC_CLZ_1): Likewise.
3407 (_FP_MUL_MEAT_1_imm): Likewise.
3408 (_FP_MUL_MEAT_1_wide): Likewise.
3409 (_FP_MUL_MEAT_1_hard): Likewise.
3410 (_FP_SQRT_MEAT_1): Likewise.
3411 (_FP_FRAC_ASSEMBLE_1): Likewise.
3412 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3413 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3414 (__FP_CLZ_2): Likewise.
3415 (_FP_MUL_MEAT_2_wide): Likewise.
3416 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3417 (_FP_MUL_MEAT_2_gmp): Likewise.
3418 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3419 (_FP_SQRT_MEAT_2): Likewise.
3420 (_FP_FRAC_ASSEMBLE_2): Likewise.
3421 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3422 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3423 (_FP_FRAC_CLZ_4): Likewise.
3424 (_FP_MUL_MEAT_4_wide): Likewise.
3425 (_FP_MUL_MEAT_4_gmp): Likewise.
3426 (_FP_SQRT_MEAT_4): Likewise.
3427 (_FP_FRAC_ASSEMBLE_4): Likewise.
3428 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3429 * soft-fp/op-common.h (_FP_CMP): Likewise.
3430 (_FP_CMP_EQ): Likewise.
3431 (_FP_CMP_UNORD): Likewise.
3432 (_FP_TO_INT): Likewise.
3433 (_FP_FROM_INT): Likewise.
3434 [!__FP_CLZ] (__FP_CLZ): Likewise.
3435 (_FP_DIV_HELP_imm): Likewise.
3436 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3439 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3440 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3441 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3442 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3443 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3444 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3445 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3446 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3447 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3448 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3449 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3450 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3451 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3452 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3453 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3454 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3457 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3458 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3460 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3461 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3463 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3464 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3465 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3466 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3467 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3468 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3469 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3470 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3471 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3472 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3473 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3474 (FP_UNPACK_RAW_SP): Likewise.
3475 (FP_PACK_RAW_S): Likewise.
3476 (FP_PACK_RAW_SP): Likewise.
3477 (FP_UNPACK_S): Likewise.
3478 (FP_UNPACK_SP): Likewise.
3479 (FP_UNPACK_SEMIRAW_S): Likewise.
3480 (FP_UNPACK_SEMIRAW_SP): Likewise.
3481 (FP_PACK_S): Likewise.
3482 (FP_PACK_SP): Likewise.
3483 (FP_PACK_SEMIRAW_S): Likewise.
3484 (FP_PACK_SEMIRAW_SP): Likewise.
3485 (_FP_SQRT_MEAT_S): Likewise.
3486 (FP_CMP_S): Likewise.
3487 (FP_CMP_EQ_S): Likewise.
3488 (FP_CMP_UNORD_S): Likewise.
3489 (FP_TO_INT_S): Likewise.
3490 (FP_FROM_INT_S): Likewise.
3492 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3494 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3495 (FP_EX_INVALID_IMZ): Likewise.
3496 (FP_EX_INVALID_IMZ_FMA): Likewise.
3497 (FP_EX_INVALID_ISI): Likewise.
3498 (FP_EX_INVALID_ZDZ): Likewise.
3499 (FP_EX_INVALID_IDI): Likewise.
3500 (FP_EX_INVALID_SQRT): Likewise.
3501 (FP_EX_INVALID_CVI): Likewise.
3502 (FP_EX_INVALID_VC): Likewise.
3503 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3504 "invalid" exceptions.
3505 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3506 (_FP_ADD_INTERNAL): Likewise.
3507 (_FP_MUL): Likewise.
3508 (_FP_FMA): Likewise.
3509 (_FP_DIV): Likewise.
3510 (_FP_CMP_CHECK_NAN): Likewise.
3511 (_FP_SQRT): Likewise.
3512 (_FP_TO_INT): Likewise.
3513 (FP_EXTEND): Likewise.
3515 2014-10-09 Allan McRae <allan@archlinux.org>
3517 * po/fr.po: Update French translation from translation project.
3519 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3522 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3524 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3525 (__cxa_atexit): Use libc_hidden_proto.
3526 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3529 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3531 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3532 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3533 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3534 [!_ISOMAC] (__iswctype_internal): Likewise.
3535 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3536 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3538 (fcntl): Remove __fcntl_internal alias.
3539 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3540 __connect_internal alias.
3541 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3544 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3545 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3547 (_FP_CHECK_FLUSH_ZERO): New macro.
3548 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3549 (_FP_CMP): Likewise.
3550 (_FP_CMP_EQ): Likewise.
3551 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3553 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3554 (FP_TRUNC): Likewise.
3556 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3557 treated as invalid conversion, not as normal exponent.
3559 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3560 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3561 (_FP_CMP_EQ): Likewise.
3562 (_FP_CMP_UNORD): Likewise.
3563 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3564 (FP_CMP_EQ_D): Likewise.
3565 (FP_CMP_UNORD_D): Likewise.
3566 * soft-fp/extended.h (FP_CMP_E): Likewise.
3567 (FP_CMP_EQ_E): Likewise.
3568 (FP_CMP_UNORD_E): Likewise.
3569 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3570 (FP_CMP_EQ_Q): Likewise.
3571 (FP_CMP_UNORD_Q): Likewise.
3572 * soft-fp/single.h (FP_CMP_S): Likewise.
3573 (FP_CMP_EQ_S): Likewise.
3574 (FP_CMP_UNORD_S): Likewise.
3575 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3576 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3577 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3578 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3579 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3580 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3581 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3582 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3583 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3584 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3585 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3586 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3587 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3589 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3591 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3592 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3594 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3596 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3597 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3598 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3599 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3601 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3603 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3604 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3606 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3608 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3609 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3610 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3611 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3614 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3615 a subnormal result, set the underflow exception if trapping on
3616 underflow is enabled.
3617 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3618 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3619 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3621 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3622 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3623 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3624 * soft-fp/extendxftf2.c (__extendxftf2): Use
3625 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3627 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3628 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3629 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3630 FP_HANDLE_EXCEPTIONS.
3631 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3632 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3633 FP_HANDLE_EXCEPTIONS.
3634 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3635 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3636 FP_HANDLE_EXCEPTIONS.
3637 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3638 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3639 FP_HANDLE_EXCEPTIONS.
3641 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3644 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3645 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3647 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3648 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3650 (__adjtimex): Define using libc_hidden_ver.
3651 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3653 (ntp_gettime): Call __adjtimex directly.
3654 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3656 (ntp_gettimex): Call __adjtimex directly.
3657 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3658 __adjtimex_internal alias.
3660 2014-10-08 Roland McGrath <roland@hack.frob.com>
3663 * nscd/nscd.c (more_help): Rewrite list of tables collection
3664 using xstrdup and asprintf.
3666 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3668 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3669 Roland McGrath <roland@hack.frob.com>
3671 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3672 (do_lookup_unique): ... local function 'enter' here; update callers.
3674 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3676 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3677 compat_symbol calls on [SHARED].
3678 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3679 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3681 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3682 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3683 (oldsetrlimit): Remove.
3684 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3686 (lchown): New syscall entry.
3687 (oldsetrlimit): Remove.
3688 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3689 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3690 (oldsetrlimit): Remove.
3691 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3694 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3695 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3696 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3697 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3698 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3699 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3701 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3706 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3708 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3709 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3710 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3711 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3712 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3714 (__old_sem_post): Likewise.
3716 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3718 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3719 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3720 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3721 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3722 Use INLINE_VSYSCALL macro.
3723 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3724 __vdso_clock_gettime.
3725 * sysdeps/unix/sysv/linux/tile/init-first.c
3726 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3727 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3728 __vdso_clock_gettime.
3730 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3731 to set up frame more cleanly.
3733 * sysdeps/tile/memcmp.c: New file.
3735 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3737 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3738 * sysdeps/tile/tilegx/strcasestr.c: New file.
3739 * sysdeps/tile/tilegx/strnlen.c: New file.
3740 * sysdeps/tile/tilegx/strstr.c: New file.
3742 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3744 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3746 * nptl/tst-setuid3.c: Write errors to stdout.
3748 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3751 (preload): New functions broken out of _dl_map_object_deps.
3752 (_dl_map_object_deps): Remove a nested function. Update call sites.
3754 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3757 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3758 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3760 2014-10-01 Steve Ellcey <sellcey@mips.com>
3762 * sysdeps/mips/strcmp.S: New.
3764 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3767 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3769 (mkdirat): Likewise.
3770 (readlinkat): Likewise.
3771 (renameat): Likewise.
3772 (symlinkat): Likewise.
3773 (unlinkat): Likewise.
3774 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3775 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3776 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3777 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3778 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3779 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3780 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3782 2014-09-30 Will Newton <will.newton@linaro.org>
3784 * math/math.h: Define long double math functions if
3785 _LIBC_TEST is defined.
3786 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3788 * localedata/Makefile: Move assignment to tests-special
3789 into an ifdef testing run-built-tests.
3790 * timezone/Makefile: Likewise.
3792 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3794 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3795 with $(BASH) not $(SHELL).
3797 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3798 Matthew LeGendre <legendre1@llnl.gov>
3801 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3804 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3806 * stdio-common/printf_fp.c
3807 (hack_digit): New function, broken out of ...
3808 (__printf_fp): ... local function here. Update call sites.
3809 hack_digit now takes an additional parameter that is a pointer
3810 to a struct of the referenced locals. Those locals moved inside
3811 the struct and references updated.
3813 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3815 * aclocal.m4: Require autoconf 2.69.
3816 * configure: Regenerated.
3817 * sysdeps/aarch64/configure: Likewise.
3818 * sysdeps/alpha/configure: Likewise.
3819 * sysdeps/arm/armv7/configure: Likewise.
3820 * sysdeps/arm/configure: Likewise.
3821 * sysdeps/ia64/configure: Likewise.
3822 * sysdeps/mach/configure: Likewise.
3823 * sysdeps/mips/configure: Likewise.
3824 * sysdeps/s390/configure: Likewise.
3825 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3828 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3830 * sysdeps/ia64/configure.ac: Likewise.
3832 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3835 specify symbol version for ld.so. Do not include entry for
3837 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3839 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3842 * Makeconfig [$(build-shared) = yes]
3843 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3845 [$(build-shared) = yes && $(soversions.mk-done) = t]
3846 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3847 [$(build-shared) = yes && $(soversions.mk-done) = t]
3848 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3850 [$(build-shared) = yes && $(soversions.mk-done) = t]
3851 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3853 [$(build-shared) = yes && $(soversions.mk-done) = t]
3854 (common-generated): Don't append gnu/lib-names.h and
3855 gnu/lib-names.stmp here.
3856 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3857 (lib-names-h-abi): New variable.
3858 [$(build-shared) = yes && $(soversions.mk-done) = t]
3859 (lib-names-stmp-abi): Likewise.
3860 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3861 abi-variants] (before-compile): Append
3862 $(common-objpfx)$(lib-names-h-abi).
3863 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3864 abi-variants] (common-generated): Append gnu/lib-names.h.
3865 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3866 abi-variants] (install-others-nosubdir): Depend on
3867 $(inst_includedir)/$(lib-names-h-abi).
3868 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3869 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3870 [$(build-shared) = yes && $(soversions.mk-done) = t]
3871 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3872 [$(build-shared) = yes && $(soversions.mk-done) = t]
3873 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3874 [$(build-shared) = yes && $(soversions.mk-done) = t]
3875 (common-generated): Append $(lib-names-h-abi) and
3876 $(lib-names-stmp-abi).
3877 * scripts/lib-names.awk: Do not handle multi being set.
3878 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3880 (abi-lp64_be-ld-soname): Likewise.
3881 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3883 (abi-hard-ld-soname): Likewise.
3884 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3885 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3887 (abi-o32_hard-ld-soname): Likewise.
3888 (abi-o32_soft_2008-ld-soname): Likewise.
3889 (abi-o32_hard_2008-ld-soname): Likewise.
3890 (abi-n32_soft-ld-soname): Likewise.
3891 (abi-n32_hard-ld-soname): Likewise.
3892 (abi-n32_soft_2008-ld-soname): Likewise.
3893 (abi-n32_hard_2008-ld-soname): Likewise.
3894 (abi-n64_soft-ld-soname): Likewise.
3895 (abi-n64_hard-ld-soname): Likewise.
3896 (abi-n64_soft_2008-ld-soname): Likewise.
3897 (abi-n64_hard_2008-ld-soname): Likewise.
3898 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3900 (abi-64-v2-ld-soname): Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3903 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3905 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3907 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3909 (abi-64-ld-soname): Likewise.
3910 (abi-x32-ld-soname): Likewise.
3911 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3913 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3915 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3918 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3919 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3920 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3921 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3922 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3923 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3924 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3925 syscall entry for GLIBC_2.2 symbol version.
3926 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3929 (setrlimit): Likewise.
3930 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3933 2014-09-23 Will Newton <will.newton@linaro.org>
3935 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3936 _LINUX_ARM_SYSDEP_H include guard too.
3937 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3940 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3942 * sysdeps/unix/sysv/linux/eventfd.c:
3943 Make first argument unsigned.
3944 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3945 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3947 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3949 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3950 * socket/sys/socket.h: Likewise
3951 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3953 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3955 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3957 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3959 * time/tst-ftime.c: New test.
3960 * time/Makefile (tests): Add tst-ftime.
3962 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3964 * soft-fp/extended.h: Fix comment formatting.
3965 * soft-fp/op-1.h: Likewise.
3966 * soft-fp/op-2.h: Likewise.
3967 * soft-fp/op-4.h: Likewise.
3968 * soft-fp/op-8.h: Likewise.
3969 * soft-fp/op-common.h: Likewise.
3970 * soft-fp/soft-fp.h: Likewise.
3972 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3974 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3977 * Makeconfig (soversions-default-setname): Remove variable.
3978 ($(common-objpfx)soversions.i): Don't pass default_setname to
3980 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3981 oldest_abi to abi-versions.awk.
3982 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3983 * config.make.in (oldest-abi): Remove variable.
3984 * configure.ac (--enable-oldest-abi): Remove configure option.
3985 * configure: Regenerated.
3986 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3988 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3989 * scripts/soversions.awk: Do not handle default_setname variable.
3990 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3992 * sysdeps/mach/hurd/configure: Regenerated.
3993 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3995 * sysdeps/unix/sysv/linux/configure: Regenerated.
3997 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3999 * elf/Makefile (CFLAGS-interp.c): Remove.
4000 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4002 * elf/interp.c: Include generated runtime-linker.h
4004 * Makerules (lib%.so): Don't include $(+interp) in
4006 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4007 * dlfcn/eval.c: Remove file.
4009 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4013 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4017 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4019 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4020 Jakub Jelinek <jakub@redhat.com>
4023 * libio/stdio.h: Check definition of __fortify_function
4024 instead of __extern_always_inline to include bits/stdio2.h.
4025 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4026 check if __extern_always_inline is defined.
4027 [__USE_MISC || __USE_XOPEN]: Likewise.
4028 [__USE_ISOC99] Likewise.
4029 * misc/sys/cdefs.h (__fortify_function): Define only if
4030 __extern_always_inline is defined.
4031 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4032 __extern_always_inline and __extern_inline only for g++-4.3
4033 and newer or a compatible gcc.
4035 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4038 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4039 last change to handle zero prefix length.
4041 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4043 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4046 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4049 2014-09-13 Allan McRae <allan@archlinux.org>
4051 * po/ru.po: Update Russian translation from translation project.
4053 2014-09-12 Roland McGrath <roland@hack.frob.com>
4055 * locale/programs/locale.c (show_locale_vars): Inline local function
4056 into its sole call site. Clean up some style nits.
4057 (print_item): New function, broken out of ...
4058 (show_info): ... local function here. Clean up style nits.
4060 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4062 (set_class_defaults): ... local function set_default here.
4063 Define set_default as a macro locally to pass constant parameters.
4064 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4065 rather than a shared local.
4067 * stdlib/rpmatch.c (try): New function, broken out of ...
4068 (rpmatch): ... local function here. Also, prototypify definition.
4070 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4072 * scripts/soversions.awk: Do not handle configuration names.
4073 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4074 vendor and os variables to soversions.awk.
4075 * configure.ac: Do not modify gnu-* host_os.
4076 * configure: Regenerated
4077 * shlib-versions: Remove first column with configuration names.
4078 * nptl/shlib-versions: Likewise.
4079 * nptl_db/shlib-versions: Likewise.
4080 * sysdeps/hppa/shlib-versions: Likewise.
4081 * sysdeps/m68k/shlib-versions: Likewise.
4082 * sysdeps/mach/hurd/shlib-versions: Likewise.
4083 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4084 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4085 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4086 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4087 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4088 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4089 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4090 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4093 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4094 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4095 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4096 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4097 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4098 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4099 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4100 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4103 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4106 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4108 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4110 * shlib-versions: Remove OS-specific entries. Moved to files in
4112 * sysdeps/mach/hurd/shlib-versions: New file.
4113 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4115 * nptl/shlib-versions: Remove architecture-specific entries.
4116 Moved to files in sysdeps.
4117 * shlib-versions: Likewise.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4120 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4121 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4122 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4125 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4126 (UDP_NO_CHECK6_RX): Likewise.
4128 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4130 * sysdeps/posix/sysconf.c (__sysconf): Spell
4131 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4133 2014-08-12 Florian Weimer <fweimer@redhat.com>
4135 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4137 * iconv/Versions (__gconv_transliterate): Export for use from
4139 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4140 (struct __gconv_trans_data, __gconv_trans_fct,
4141 __gconv_trans_context_fct, __gconv_trans_query_fct,
4142 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4144 (struct __gconv_step_data): Remove __trans member.
4145 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4146 longer hidden. Remove unused trans_data argument.
4147 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4148 (__gconv_translit_find): Remove declaration.
4149 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4151 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4152 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4153 trans_data argument. Add hidden definition.
4154 (__gconv_translit_find): Remove.
4155 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4156 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4157 * iconv/skeleton.c: Remove transliteration initialization.
4158 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4159 __gconv_step_data initialization.
4160 * libio/iofwide.c (__libio_translit_): Remove.
4161 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4162 * wcsmbs/btowc.c (__btowc): Likewise.
4163 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4164 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4165 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4166 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4167 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4168 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4169 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4170 * wcsmbs/wctob.c (wctob): Likewise.
4172 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4175 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4176 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4178 * sysdeps/x86/Makefile: Adjust.
4180 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4181 Roland McGrath <roland@hack.frob.com>
4183 * locale/weight.h: Add include guard.
4184 (findidx): Make static rather than auto; take new parameters
4185 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4186 * locale/weightwc.h: Likewise.
4187 * posix/fnmatch_loop.c
4188 (FCT): Change type of EXTRA from int32_t to wint_t.
4189 Don't include either header inside the function.
4190 Call FINDIDX rather than findidx, and pass new arguments.
4191 #undef FINDIDX at the end of the file.
4192 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4193 FINDIDX before including fnmatch_loop.c for the non-wide version.
4194 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4195 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4196 for the wide version.
4197 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4198 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4199 Pass new arguments to findidx.
4200 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4201 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4202 Don't #include it inside the function. Pass new arguments to findidx.
4203 * posix/regex_internal.h
4204 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4205 (re_string_elem_size_at): Don't #include it inside the function.
4206 Pass new arguments to findidx.
4207 * string/strcoll_l.c: #include WEIGHT_H at top level.
4208 (get_next_seq): Don't #include it inside the function.
4209 Pass new arguments to findidx.
4210 (get_next_seq_nocache): Likewise.
4211 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4212 (STRXFRM): Don't #include it inside the function.
4213 Pass new arguments to findidx.
4215 2014-09-11 Florian Weimer <fweimer@redhat.com>
4218 * malloc/malloc.c (unlink): Turn asserts into a call to
4221 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4224 * libio/wfileops (do_ftell_wide): Free OUT.
4226 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4228 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4230 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4233 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4234 group if the current group is empty.
4236 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4238 * benchtests/bench-memset.c (test_main): Add more test from size
4239 from 32 to 512 bytes.
4240 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4241 Add POWER8 memset object.
4242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4243 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4244 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4246 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4248 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4249 multiarch POWER8 memset optimization.
4250 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4251 POWER8 memset optimization.
4253 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4254 Remove bzero multiarch objects.
4255 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4256 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4257 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4258 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4260 [__bzero]: Redefine to specific name.
4261 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4262 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4263 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4265 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4266 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4268 2014-09-10 Florian Weimer <fweimer@redhat.com>
4270 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4271 warnings into errors.
4273 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4274 __cxa_thread_atexit_impl prototype.
4276 2014-09-09 Steve Ellcey <sellcey@mips.com>
4278 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4279 Fix capitalization of error message.
4281 2014-09-09 Steve Ellcey <sellcey@mips.com>
4283 * sysdeps/mips/preconfigure: Modify ABI tests.
4285 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4287 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4289 2014-09-07 Roland McGrath <roland@hack.frob.com>
4290 Carlos O'Donell <carlos@systemhalted.org>
4292 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4293 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4294 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4295 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4296 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4297 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4298 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4299 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4300 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4301 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4302 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4303 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4304 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4305 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4306 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4307 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4308 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4309 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4310 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4311 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4312 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4313 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4314 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4315 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4316 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4317 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4318 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4319 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4320 Deconditionalize the code that was previously under [RESET_PID].
4321 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4322 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4323 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4324 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4327 2014-09-08 Allan McRae <allan@archlinux.org>
4329 * version.h (RELEASE): Set to "development".
4330 (VERSION): Set to "2.20.90"
4332 2014-09-07 Allan McRae <allan@archlinux.org
4334 * version.h (RELEASE): Set to "stable".
4335 (VERSION): Set to "2.20"
4336 * include/features.h (__GLIBC_MINOR__): Set to 20.
4338 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4341 * po/ko.po: Update Korean translation from translation project.
4343 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4346 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4347 macro for handling signed relocations.
4349 2014-09-03 Florian Weimer <fweimer@redhat.com>
4352 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4353 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4355 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4356 * iconvdata/ibm935.c (BODY): Likewise.
4357 * iconvdata/ibm937.c (BODY): Likewise.
4358 * iconvdata/ibm939.c (BODY): Likewise.
4359 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4361 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4363 * iconvdata/run-iconv-test.sh: New test loop for checking for
4366 2014-09-02 Khem Raj <raj.khem@gmail.com>
4368 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4371 2014-09-01 Allan McRae <allan@archlinux.org>
4373 * po/eo.po: Update Esperanto translation from translation project.
4375 * po/ca.po: Update Catalan translation from translation project.
4377 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4379 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4382 2014-08-27 Mark Wielaard <mjw@redhat.com>
4385 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4386 to call set_thread_area instead of hand written asm.
4387 (__NR_set_thread_area): Removed define.
4388 (TLS_FLAG_WRITABLE): Likewise.
4389 (__ASSUME_SET_THREAD_AREA): Remove check.
4390 (TLS_EBX_ARG): Remove define.
4391 (TLS_LOAD_EBX): Likewise.
4393 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4395 Simplify atomicity of socket creation in bind.
4397 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4398 looking up the name after linking the file.
4400 2014-08-27 Allan McRae <allan@archlinux.org>
4402 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4404 2014-08-26 Florian Weimer <fweimer@redhat.com>
4407 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4408 trans_compare, open_translit, __gconv_translit_find):
4409 Remove module loading code.
4411 2014-08-26 Allan McRae <allan@archlinux.org>
4413 * po/vi.po: Update Vietnamese translation from translation project.
4415 * po/uk.po: Update Ukrainian translation from translation project.
4417 * po/fr.po: Update French translation from translation project.
4419 * po/ru.po: Update Russian translation from translation project.
4421 * po/pl.po: Update Polish translation from translation project.
4423 * po/cs.po: Update Czech translation from translation project.
4425 * po/de.po: Update German translation from translation project.
4427 * po/bg.po: Update Bulgarian translation from translation project.
4429 * po/sv.po: Update Sweedish translation from translation project.
4431 * po/nl.po: Update Dutch translation from translation project.
4433 * po/es.po: Update Spanish translation from translation project.
4435 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4437 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4439 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4440 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4441 (CPPFLAGS-iconvconfig): Likewise.
4442 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4444 * include/libc-symbols.h: Remove unnecessary check for
4446 * nptl/pthreadP.h: Likewise.
4447 * sysdeps/aarch64/setjmp.S: Likewise.
4448 * sysdeps/alpha/setjmp.S: Likewise.
4449 * sysdeps/arm/sysdep.h: Likewise.
4450 * sysdeps/i386/setjmp.S: Likewise.
4451 * sysdeps/m68k/setjmp.c: Likewise.
4452 * sysdeps/posix/getcwd.c: Likewise.
4453 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4454 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4455 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4456 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4457 * sysdeps/sh/sh3/setjmp.S: Likewise.
4458 * sysdeps/sh/sh4/setjmp.S: Likewise.
4459 * sysdeps/unix/alpha/sysdep.h: Likewise.
4460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4462 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4463 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4468 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4471 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4473 * sysdeps/x86_64/setjmp.S: Likewise.
4475 2014-08-13 Joseph Myers <joseph@codesourcery.com>
4478 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4480 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4481 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4483 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4485 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4488 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4489 and __x86_64__ when disabling x87 inline functions.
4491 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4494 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4495 asm statement with __cpuid_count.
4497 2014-08-12 Mike Frysinger <vapier@gentoo.org>
4499 * configure.ac: Change __ehdr_start code to dereference the struct.
4500 Run readelf on the output to look for relocations.
4501 * configure: Regenerated.
4503 2014-08-12 Joseph Myers <joseph@codesourcery.com>
4506 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4508 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4510 2014-08-12 Roland McGrath <roland@hack.frob.com>
4512 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4514 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4517 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4518 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4520 2014-08-12 Sean Anderson <seanga2@gmail.com>
4522 * malloc/malloc.c: Fix typo in comment.
4524 2014-08-09 Allan McRae <allan@archlinux.org>
4526 * Regenerate libc.po.
4528 2014-08-08 Mike Frysinger <vapier@gentoo.org>
4530 * intl/tst-gettext2.sh: Check every lang file for creation.
4532 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4534 * sysdeps/aarch64/fpu/math_private.h
4535 (libc_feholdsetround_noex_aarch64_ctx): New function.
4537 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4539 * sysdeps/arm/armv6/strcpy.S (strcpy):
4540 Fix performance issue in misaligned cases.
4542 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4544 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4545 Move definition from termios.h.
4546 (struct termio): Likewise.
4547 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4548 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4549 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4550 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4553 Move definition to ioctl-types.h
4554 (struct termio): Likewise.
4555 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4556 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4557 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4558 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4561 2014-08-05 Richard Henderson <rth@redhat.com>
4563 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4565 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4567 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4568 Use __feraiseexcept.
4569 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4570 Protect libm symbols with IS_IN_libm.
4572 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4574 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4576 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4578 2014-08-04 Will Newton <will.newton@linaro.org>
4580 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4583 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4585 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4586 variants for each function.
4588 2014-08-04 Roland McGrath <roland@hack.frob.com>
4590 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4592 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4593 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4595 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4596 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4597 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4598 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4599 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4600 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4601 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4602 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4603 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4604 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4605 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4607 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4608 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4609 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4625 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4626 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4627 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4629 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4630 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4631 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4632 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4633 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4634 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4635 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4636 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4637 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4638 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4639 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4640 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4641 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4642 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4643 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4644 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4645 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4646 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4647 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4649 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4650 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4652 2014-08-04 Roland McGrath <roland@hack.frob.com>
4654 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4655 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4656 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4657 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4658 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4659 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4661 2014-08-04 Roland McGrath <roland@hack.frob.com>
4663 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4664 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4665 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4666 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4668 2014-08-04 Roland McGrath <roland@hack.frob.com>
4670 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4671 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4672 (__libc_vfork): Define function under this name.
4673 (__vfork): Define as an alias.
4674 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4675 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4677 2014-08-04 Roland McGrath <roland@hack.frob.com>
4679 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4680 that was previously under [RESET_PID].
4681 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4683 2014-08-04 Andreas Schwab <schwab@suse.de>
4685 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4687 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4689 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4692 2014-08-01 Roland McGrath <roland@hack.frob.com>
4694 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4696 2014-08-01 Richard Henderon <rth@redhat.com>
4698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4699 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4700 typo in exact zero test.
4701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4702 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4705 2014-08-01 Roland McGrath <roland@hack.frob.com>
4707 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4708 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4709 * sysdeps/arm/sysdep.h: ... here.
4710 [!__ASSEMBLER__]: Include <stdint.h>.
4712 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4714 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4715 (HAVE_WCTYPE_H): Likewise.
4716 (HAVE_ISWCTYPE): Likewise.
4717 (ENABLE_NLS): Likewise.
4718 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4719 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4721 * posix/regex_internal.c: Check if DEBUG is defined and is
4724 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4725 (HAVE_MBSRTOWCS): Likewise.
4726 * posix/fnmatch.c: Include string.h unconditionally.
4728 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4730 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4733 2014-07-31 Roland McGrath <roland@hack.frob.com>
4735 * sysdeps/generic/safe-fatal.h: New file.
4736 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4737 * nptl/forward.c: Include it.
4738 (__pthread_unwind): Use __safe_fatal as default action, rather
4739 than a bogus use of INTERNAL_SYSCALL that could never work.
4741 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4742 * configure.ac (libc_cv_builtin_trap): New test.
4743 * configure: Regenerated.
4744 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4745 (ABORT_INSTRUCTION): Define using __builtin_trap.
4747 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4748 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4749 * sysdeps/nptl/nptl-signals.h: New file.
4750 * nptl/pthreadP.h: Include <nptl-signals.h>.
4752 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4754 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4755 (ONE_DIRECTION): Define.
4756 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4757 (ONE_DIRECTION): Define.
4758 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4759 (ONE_DIRECTION): Define.
4761 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4763 * sysdeps/s390/Makefile: Delete file.
4764 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4765 * sysdeps/s390/__longjmp.c: Delete file.
4766 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4767 Remove fields __flags and __reserved.
4768 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4770 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4771 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4772 * sysdeps/s390/rtld-setjmp.S: Likewise.
4773 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4774 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4775 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4776 * sysdeps/s390/s390-32/setjmp.S: ... here.
4778 (__sigsetjmp): Remove setting __flags field.
4779 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4780 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4781 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4782 * sysdeps/s390/s390-64/setjmp.S: ... here.
4784 (__sigsetjmp): Remove setting __flags field.
4785 * sysdeps/s390/setjmp.S: Delete file.
4786 * sysdeps/s390/sigjmp.c: Likewise.
4787 * sysdeps/s390/v1-longjmp.c: Likewise.
4788 * sysdeps/s390/v1-setjmp.h: Likewise.
4789 * sysdeps/s390/v1-sigjmp.c: Likewise.
4790 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4791 Remove v1-longjmp_chk.
4792 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4793 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4794 Include debug/longjmp_chk.c and add versioning.
4795 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4796 Include nptl/pt-longjmp.c and add versioning.
4797 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4798 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4799 Include __longjmp.c.
4800 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4802 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4803 (__getcontext): Remove setting __flags field.
4805 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4806 Don't restore upper high grps.
4807 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4809 (__swapcontext): Remove setting uc_flags field.
4810 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4812 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4813 Include __longjmp.c.
4814 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4816 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4817 (__getcontext): Remove setting __flags field.
4819 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4820 (__swapcontext): Remove setting uc_flags field.
4821 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4822 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4823 Remove fields uc_high_gprs and __reserved.
4824 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4825 New file with reverted content.
4826 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4827 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4829 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4832 2014-07-31 Andreas Schwab <schwab@suse.de>
4834 * config.h.in (HAVE_IFUNC): Define to 0.
4835 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4838 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4841 memmove-avx-unaligned, memcpy-avx-unaligned and
4842 mempcpy-avx-unaligned.
4843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4844 Add tests for AVX memcpy functions.
4845 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4846 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4848 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4849 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4851 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4852 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4854 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4855 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4856 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4858 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4861 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4864 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4867 * manual/llio.texi: Add section about open file description locks.
4868 * manual/examples/ofdlocks.c: Example of open file description
4870 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4871 F_OFD_SETLK, and F_OFD_SETLKW.
4873 2014-07-23 Allan McRae <allan@archlinux.org>
4875 * po/es.po: Update Spanish translation from translation project.
4877 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4879 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4881 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4884 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4885 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4886 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4888 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4891 * math/fesetenv.c (__fesetenv)
4892 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4893 * math/feupdateenv.c (__feupdateenv)
4894 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4896 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4897 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4898 (__ASSUME_SOCKETCALL): Do not define.
4900 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4901 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4902 (__ASSUME_SOCKETCALL): Do not define.
4903 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4904 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4905 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4906 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4907 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4908 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4909 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4910 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4913 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4914 (__ASSUME_SOCKETCALL): Do not define.
4915 (__ASSUME_IPC64): Define unconditionally.
4916 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4917 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4918 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4919 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4920 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4921 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4922 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4925 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4926 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4927 (__ASSUME_SOCKETCALL): Do not define.
4928 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4929 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4930 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4931 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4932 (__ASSUME_REQUEUE_PI): Define unconditionally.
4933 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4934 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4935 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4936 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4937 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4938 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4940 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4941 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4942 (__ASSUME_SOCKETCALL): Do not define.
4943 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4944 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4945 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4946 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4947 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4948 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4950 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4951 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4952 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4953 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4954 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4955 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4956 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4957 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4958 (__ASSUME_GETCPU_SYSCALL): Likewise.
4960 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4961 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4962 cases for individual architectures.
4963 * sysdeps/gnu/configure: Regenerated.
4964 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4965 LIBC_SLIBDIR_RTLDDIR.
4966 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4967 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4968 LIBC_SLIBDIR_RTLDDIR.
4969 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4971 LIBC_SLIBDIR_RTLDDIR.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4974 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4975 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4977 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4978 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4980 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4981 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4982 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4983 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4985 * sysdeps/aarch64/shlib-versions: Move to ...
4986 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4987 * sysdeps/alpha/shlib-versions: Move to ...
4988 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4989 * sysdeps/arm/shlib-versions: Move to ...
4990 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4991 * sysdeps/hppa/shlib-versions: Move all contents except for
4992 libgcc_s entry to ...
4993 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4995 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4996 * sysdeps/ia64/shlib-versions: Move to ...
4997 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4999 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5000 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5001 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5002 * sysdeps/microblaze/shlib-versions: Move to ...
5003 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5004 * sysdeps/mips/shlib-versions: Move to ...
5005 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5007 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5008 * sysdeps/tile/shlib-versions: Move to ...
5009 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5010 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5012 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5013 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5015 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5017 2014-07-17 Will Newton <will.newton@linaro.org>
5019 * sysdeps/arm/bits/atomic.h
5020 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5021 (__arch_compare_and_exchange_bool_16_int): Likewise.
5022 (__arch_compare_and_exchange_bool_64_int): Likewise.
5024 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5025 into an #else block.
5027 2014-07-16 Roland McGrath <roland@hack.frob.com>
5029 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5030 just Linux configurations. Test empirically that the compiler sets
5031 __ARM_EABI__, rather than using the tuple to decide.
5032 * sysdeps/arm/preconfigure: Regenerated.
5033 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5034 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5035 contents appended ...
5036 * sysdeps/arm/configure.ac: ... here.
5037 * sysdeps/arm/configure: Regenerated.
5039 2014-07-15 Roland McGrath <roland@hack.frob.com>
5041 * nptl/pthread_kill.c: New file.
5042 * nptl/pthread_sigmask.c: New file.
5043 * nptl/pthread_sigqueue.c: New file.
5045 * sysdeps/nptl/lowlevellock.h: New file.
5046 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5047 * sysdeps/nptl/lowlevellock-futex.h: New file.
5049 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5050 Remove dead declarations.
5052 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5054 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5055 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5057 * sysdeps/x86_64/configure.ac: Likewise.
5058 * sysdeps/i386/configure: Regenerated.
5059 * sysdeps/x86_64/configure: Likewise.
5060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5061 memset-avx2 only if config-cflags-avx2 is yes.
5062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5063 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5065 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5066 only if HAVE_AVX2_SUPPORT is defined.
5067 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5069 2014-07-14 Alan Modra <amodra@gmail.com>
5072 * elf/elf.h (DT_PPC64_NUM): Correct value.
5073 * NEWS: Add to fixed bug list.
5075 2014-07-13 Jim Meyering <meyering@fb.com>
5078 regex: don't deref NULL upon heap allocation failure
5079 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5080 failure in one more place.
5081 To trigger the segfault, configure grep -with-included-regex,
5082 build it, and run these commands:
5083 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5085 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5087 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5089 2014-07-11 Richard Henderson <rth@redhat.com>
5091 * sysdeps/aarch64/libm-test-ulps: Update.
5093 2014-07-10 Florian Weimer <fweimer@redhat.com>
5096 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5097 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5098 (__nptl_setxid): Initialize error member. Call
5099 __nptl_setxid_error.
5100 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5101 * nptl/descr.h (struct xid_command): Add error member.
5102 * nptl/tst-setuid3.c: New file.
5103 * nptl/Makefile (tests): Add it.
5105 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5109 (__lll_trylock): Use __lll_base_trylock.
5110 (__lll_cond_trylock): Likewise.
5112 2014-07-10 Roland McGrath <roland@hack.frob.com>
5114 * nptl/pthread_create.c (start_thread): Use atomic_or and
5115 lll_futex_wake directly rather than lll_robust_dead.
5116 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5117 (lll_robust_dead): Macro removed.
5118 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5119 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5120 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5121 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5122 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5123 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5124 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5125 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5126 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5129 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5130 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5131 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5132 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5134 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5135 Use atomic_compare_and_exchange_val_acq directly rather than
5137 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5138 (__lll_robust_trylock, lll_robust_trylock): Removed.
5139 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5140 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5141 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5142 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5143 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5144 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5145 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5146 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5147 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5148 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5149 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5150 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5151 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5152 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5154 2014-07-02 Florian Weimer <fweimer@redhat.com>
5156 * manual/locale.texi (Locale Names): New section documenting
5157 locale name syntax. Adjust menu and node chaining accordingly.
5158 (Choosing Locale): Reference Locale Names, Locale Categories.
5159 Mention setting LC_ALL=C. Reflect that name syntax is now
5161 (Locale Categories): New section title. Reference Locale Names.
5162 LC_ALL is an environment variable, but not a category.
5163 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5164 description, now in Locale Name. Reference that section. Locale
5165 name syntax is now documented.
5167 2014-07-02 Florian Weimer <fweimer@redhat.com>
5170 * locale/findlocale.c (name_present, valid_locale_name): New
5172 (_nl_find_locale): Use the loc_name variable to store name
5173 candidates. Call name_present and valid_locale_name to check and
5174 validate locale names. Return an error if the locale is invalid.
5176 2014-07-02 Florian Weimer <fweimer@redhat.com>
5178 * locale/setlocale.c (setlocale): Use strdup for allocating
5179 composite name copy.
5181 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5183 Sync up with gnulib.
5184 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5185 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5186 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5187 and _GL_ARG_NONNULL.
5188 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5189 [!_LIBC]: Include code for Windows and Cygwin.
5190 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5191 Include prototype for int strerror_r.
5192 [!_LIBC] (is_open): New function.
5193 (flush_stdout): New function.
5194 (print_errno_message): Use it.
5196 (error_at_line): Likewise.
5197 (error_tail) Add function attribute macros. Use
5200 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5202 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5204 * io/ftw.c: Include sys/param.h unconditionally.
5206 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5209 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5211 (freecache): New function to free CACHE on exit.
5213 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5216 2014-07-09 David S. Miller <davem@davemloft.net>
5218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5220 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5221 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5222 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5223 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5224 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5225 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5226 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5227 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5228 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5229 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5230 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5231 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5232 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5234 2014-07-09 Andreas Schwab <schwab@suse.de>
5236 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5238 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5239 (do_test): Likewise.
5241 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5243 2014-07-09 Will Newton <will.newton@linaro.org>
5245 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5246 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5247 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5248 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5249 * sysdeps/hppa/start.S (_start): Likewise.
5251 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5253 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5255 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5258 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5260 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5261 after checking that it is non-NULL.
5263 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5265 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267 * sysdeps/powerpc/memmove.c: Remove file.
5268 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5269 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5270 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5271 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5272 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5273 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5274 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5275 string memmove instead of removed powerpc one.
5277 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5278 [weak_alias]: Fix compiler warning due trailing data.
5279 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5280 [weak_alias]: Likewise.
5281 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5282 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5285 (__libc_ifunc_impl_list): Add memmove functions.
5287 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5289 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5291 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5293 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5295 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5297 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5299 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5301 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5303 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5305 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5307 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5309 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5311 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5313 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5315 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5317 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5319 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5321 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5324 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5326 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5327 to avoid alignment traps in non-cacheable memory.
5328 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5332 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5333 file: multiarch power7 memmove.
5334 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5335 multiarch default memmove.
5336 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5337 multiarch memove for powerpc32/power4.
5339 * string/bcopy.c: Use full path to include memmove.c.
5340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5342 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5343 bcopy for powerpc64.
5344 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5345 bcopy for powerpc64.
5346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5347 and memmove implementations.
5348 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5349 optimized multiarch memmove for POWER7/powerpc64.
5350 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5351 default multiarch memmove for powerpc64.
5352 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5353 multiarch for powerpc64.
5354 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5355 for POWER7/powerpc64.
5356 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5357 memmove for POWER7/powerpc64.
5359 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5362 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5363 __ELF_NATIVE_CLASS equal to 64.
5365 2014-07-07 Roland McGrath <roland@hack.frob.com>
5367 * sysdeps/nptl/lowlevellock.h: File removed.
5369 * NEWS: NPTL is no longer an add-on!
5370 * nptl/internaltypes.h: Moved ...
5371 * sysdeps/nptl/internaltypes.h: ... here.
5372 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5373 * sysdeps/nptl/fork.c: Likewise.
5374 * sysdeps/nptl/gai_misc.h: Likewise.
5375 * sysdeps/nptl/librt-cancellation.c: Likewise.
5376 * sysdeps/nptl/jmp-unwind.c: Likewise.
5377 * sysdeps/nptl/setxid.h: Likewise.
5378 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5379 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5380 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5381 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5382 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5383 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5384 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5385 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5386 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5387 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5388 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5389 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5390 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5391 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5392 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5393 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5394 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5395 * nptl/Makeconfig: Moved ...
5396 * sysdeps/nptl/Makeconfig: ... here.
5397 * nptl/configure: File removed.
5398 * nptl/ANNOUNCE: File removed.
5399 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5400 * sysdeps/unix/sysv/linux/configure: Regenerated.
5402 * nptl/Makefile (routines): Add libc_pthread_init,
5403 libc_multiple_threads, register-atfork and unregister-atfork.
5404 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5405 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5406 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5407 pthread-pi-defines.sym, structsem.sym.
5408 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5409 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5410 [$(subdir) = nptl] (tests): Add tst-setgetname.
5411 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5412 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5413 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5414 [!LIBC_SIGACTION]: Remove aliases.
5415 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5416 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5417 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5418 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5419 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5420 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5421 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5423 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5424 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5425 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5426 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5427 __libc_allocate_rtsig_private.
5428 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5429 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5430 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5431 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5432 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5433 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5434 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5435 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5436 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5437 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5438 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5439 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5440 * nptl/internaltypes.h: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5442 * sysdeps/nptl/jmp-unwind.c: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5444 * nptl/libc-lowlevellock.c: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5446 * nptl/libc_multiple_threads.c: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5448 * nptl/libc_pthread_init.c: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5450 * nptl/lowlevelbarrier.sym: ... here.
5451 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5452 * nptl/lowlevelcond.sym: ... here.
5453 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5454 * nptl/lowlevellock.c: ... here.
5455 * nptl/lowlevellock.h: Moved ...
5456 * sysdeps/nptl/lowlevellock.h: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5458 * nptl/lowlevelrobustlock.c: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5460 * nptl/lowlevelrobustlock.sym: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5462 * nptl/lowlevelrwlock.sym: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5464 * nptl/pt-fork.c: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5466 * nptl/pthread-pi-defines.sym: ... here.
5467 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5468 * nptl/pthread_attr_getaffinity.c: ... here.
5469 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5470 * nptl/pthread_attr_setaffinity.c: ... here.
5471 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5472 * nptl/pthread_mutex_cond_lock.c: ... here.
5473 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5475 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5476 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5477 * nptl/pthread_once.c: ... here, replacing old file.
5478 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5479 * nptl/pthread_yield.c: ... here.
5480 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5481 * nptl/register-atfork.c: ... here.
5482 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5483 * nptl/sem_post.c: ... here.
5484 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5485 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5486 * nptl/sem_timedwait.c: ... here.
5487 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5488 * nptl/sem_trywait.c: ... here.
5489 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5490 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5491 * nptl/sem_wait.c: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5493 * nptl/structsem.sym: ... here.
5494 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5495 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5496 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5497 * nptl/unregister-atfork.c: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5499 * nptl/unwindbuf.sym: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5501 * sysdeps/nptl/fork.c: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5503 * sysdeps/nptl/fork.h: ... here.
5504 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5505 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5506 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5508 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5509 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5510 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5512 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5514 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5516 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5517 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5518 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5519 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5520 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5522 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5524 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5526 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5528 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5530 * sysdeps/unix/sysv/linux/raise.c: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5532 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5534 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5536 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5538 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5540 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5541 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5542 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5543 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5544 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5545 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5547 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5549 * sysdeps/generic/memcopy.h: Add comment for
5550 MEMCPY_OK_FOR_FWD_MEMMOVE.
5552 2014-07-04 Will Newton <will.newton@linaro.org>
5554 * string/memchr.c: Merge from gnulib.
5555 [_LIBC]: Remove conditionals.
5556 (__ptr_t): Remove define.
5557 (LONG_MAX_32_BITS): Likewise.
5558 (LONG_MAX): Likewise.
5559 (MEMCHR): Use ANSI prototype and optimize algorithm.
5561 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5563 2014-07-03 Roland McGrath <roland@hack.frob.com>
5565 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5566 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5568 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5569 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5570 in a bare environment with no <stdlib.h> installed.
5571 * sysdeps/nptl/configure: Regenerated.
5573 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5575 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5576 AC_EGREP_CPP for kernel header checks, so they only succeed if
5577 including <linux/version.h> actually works right.
5578 * sysdeps/unix/sysv/linux/configure: Regenerated.
5580 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5581 value so it's not diagnosed as unused.
5583 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5584 thing) with "ifeq ($(subdir),rt)".
5586 2014-07-03 Richard Henderson <rth@redhat.com>
5588 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5589 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5590 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5592 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5593 (math_force_eval): New.
5595 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5596 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5598 * sysdeps/alpha/fpu/s_round.c: Remove file.
5599 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5601 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5602 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5603 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5604 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5605 (_dl_start, print_statistics): Likewise.
5606 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5607 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5609 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5610 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5611 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5612 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5613 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5614 (HP_SMALL_TIMING_AVAIL): Define.
5615 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5616 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5617 (HP_SMALL_TIMING_AVAIL): Define.
5618 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5619 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5621 * sysdeps/aarch64/hp-timing.h: New file.
5623 * sysdeps/generic/hp-timing.h: Remove dead comment.
5624 * sysdeps/generic/hp-timing-common.h: New file.
5625 * sysdeps/alpha/hp-timing.h: Include it.
5626 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5627 * sysdeps/i386/i686/hp-timing.h: Likewise.
5628 * sysdeps/ia64/hp-timing.h: Likewise.
5629 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5630 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5631 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5632 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5633 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5634 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5637 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5638 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5639 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5640 * elf/rtld.c (_dl_start_final): Likewise.
5641 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5642 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5643 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5644 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5645 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5646 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5647 (HP_TIMING_DIFF_INIT): Remove.
5648 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5649 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5650 (HP_TIMING_DIFF_INIT): Remove.
5651 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5652 * sysdeps/i386/i686/hp-timing.c: Remove file.
5653 * sysdeps/x86_64/hp-timing.c: Remove file.
5654 * sysdeps/ia64/hp-timing.c: Remove file.
5655 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5656 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5657 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5658 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5660 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5661 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5662 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5663 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5664 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5665 (HP_TIMING_ACCUM): Remove.
5666 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5667 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5668 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5670 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5671 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5672 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5673 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5674 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5675 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5676 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5677 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5679 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5681 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5683 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5685 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5687 Sync up with gettext.
5688 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5689 [_MSC_VER]: Include malloc.h
5690 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5691 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5692 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5693 TEMP_FAILURE_RETRY. Cast return of alloca.
5694 [!_LIBC] Call gl_rwlock_init.
5695 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5697 2014-07-02 Roland McGrath <roland@hack.frob.com>
5699 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5700 before checking its value.
5702 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5704 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5706 * debug/memcpy_chk.c: Don't include pagecopy.h.
5707 * debug/mempcpy_chk.c: Likewise.
5708 * string/memcpy.c: Likewise.
5709 * string/memmove.c: Likewise.
5710 * sysdeps/powerpc/memmove.c: Likewise.
5711 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5712 definition of PAGE_COPY_FWD_MAYBE here...
5713 * sysdeps/generic/pagecopy.h: ... from here.
5714 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5716 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5717 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5719 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5723 (__libc_ifunc_impl_list): Likewise.
5724 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5725 multiarch strcat for PPC64.
5726 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5727 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5729 2014-07-02 Roland McGrath <roland@hack.frob.com>
5731 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5733 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5735 * intl/loadmsgcat.c: Remove declaration of
5736 get_sysdep_segment_value.
5737 (get_sysdep_segment_value): Use ISO C style.
5738 (_nl_load_domain): Use ISO C style. Get rid of redundant
5739 semicolon. Fix typo and formatting in comment.
5740 (_nl_unload_domain): Use ISO C style.
5742 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5744 2014-07-02 Will Newton <will.newton@linaro.org>
5746 * malloc/obstack.c: Merge from gnulib master.
5747 [HAVE_CONFIG_H]: Remove conditional code.
5748 [!_LIBC]: Include config.h.
5749 [!ELIDE_CODE]: Don't include inttypes.h, include
5750 stdint.h unconditionally.
5751 (print_and_abort): Mark as _Noreturn.
5752 (_obstack_allocated_p): Mark as __attribute_pure__.
5753 (obstack_free): Rename to __obstack_free.
5754 [!__attribute__]: Remove conditional code.
5755 * malloc/obstack.h: Merge from gnulib master.
5756 [__cplusplus]: Move conditional down.
5757 [!__attribute_pure__]: Define __attribute_pure__ here
5758 if it is not already defined.
5759 (_obstack_memory_used): Mark as __attribute_pure__.
5760 [!__obstack_free]: Define as obstack_free.
5761 [__GNUC__]: Remove check for ancient NeXT gcc.
5763 2014-07-02 Will Newton <will.newton@linaro.org>
5764 Paul Eggert <eggert@cs.ucla.edu>
5766 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5768 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5770 * resolv/gethnamaddr.c: Add comment warning that the file is
5773 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5775 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5778 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5779 entry for aio_cancel and aio_cancel64.
5780 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5781 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5782 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5783 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5784 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5785 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5786 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5787 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5788 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5789 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5790 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5791 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5792 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5794 2014-07-01 Roland McGrath <roland@hack.frob.com>
5796 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5797 * nptl/pthread_mutex_lock.c: Likewise.
5798 * nptl/pthread_mutex_timedlock.c: Likewise.
5799 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5801 2014-07-01 Richard henderson <rth@redhat.com>
5803 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5804 (__isnan, __isnanl): Remove.
5805 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5807 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5809 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5811 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5813 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5815 * resolv/nss_dns/dns-host.c (getanswer_r)
5816 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5818 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5820 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5821 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5823 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5824 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5826 2014-07-01 Roland McGrath <roland@hack.frob.com>
5828 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5829 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5831 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5832 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5834 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5835 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5837 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5838 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5840 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5841 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5842 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5843 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5845 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5846 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5847 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5851 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5853 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5856 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5860 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5864 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5865 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5866 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5867 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5868 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5869 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5870 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5871 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5872 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5874 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5877 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5878 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5879 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5880 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5881 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5883 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5885 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5886 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5887 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5890 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5894 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5896 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5897 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5899 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5901 * sysdeps/arm/libm-test-ulps: Regenerated.
5903 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5904 Roland McGrath <roland@hack.frob.com>
5906 * test-skeleton.c (signal_handler): Kill the whole process group
5907 before killing the child individually.
5908 (main): Report any failure on `setpgid'.
5910 2014-06-30 Roland McGrath <roland@hack.frob.com>
5912 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5913 from _TLS_H to _ARM_NPTL_TLS_H.
5914 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5915 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5917 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5920 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5921 (__expm1l): Return argument unchanged when small but not
5924 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5926 (_FP_UNPACK_RAW_1_P): Likewise.
5927 (_FP_PACK_RAW_1): Likewise.
5928 (_FP_PACK_RAW_1_P): Likewise.
5929 (_FP_MUL_MEAT_1_wide): Likewise.
5930 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5931 (_FP_MUL_MEAT_1_hard): Likewise.
5932 (_FP_DIV_MEAT_1_imm): Likewise.
5933 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5934 (_FP_DIV_MEAT_1_udiv): Likewise.
5935 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5936 (_FP_UNPACK_RAW_2): Likewise.
5937 (_FP_UNPACK_RAW_2_P): Likewise.
5938 (_FP_PACK_RAW_2): Likewise.
5939 (_FP_PACK_RAW_2_P): Likewise.
5940 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5941 (_FP_MUL_MEAT_2_wide): Likewise.
5942 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5943 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5944 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5945 (_FP_MUL_MEAT_2_gmp): Likewise.
5946 (_FP_DIV_MEAT_2_udiv): Likewise.
5947 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5948 (_FP_FRAC_SRL_4): Likewise.
5949 (_FP_FRAC_SRST_4): Likewise.
5950 (_FP_FRAC_SRS_4): Likewise.
5951 (_FP_UNPACK_RAW_4): Likewise.
5952 (_FP_UNPACK_RAW_4_P): Likewise.
5953 (_FP_PACK_RAW_4): Likewise.
5954 (_FP_PACK_RAW_4_P): Likewise.
5955 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5956 (_FP_MUL_MEAT_4_wide): Likewise.
5957 (_FP_MUL_MEAT_4_gmp): Likewise.
5958 (umul_ppppmnnn): Likewise.
5959 (_FP_DIV_MEAT_4_udiv): Likewise.
5960 (__FP_FRAC_ADD_4): Likewise.
5961 (__FP_FRAC_SUB_3): Likewise.
5962 (__FP_FRAC_SUB_4): Likewise.
5963 (__FP_FRAC_DEC_3): Likewise.
5964 (__FP_FRAC_DEC_4): Likewise.
5965 (__FP_FRAC_ADDI_4): Likewise.
5966 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5967 (_FP_FRAC_SRL_8): Likewise.
5968 (_FP_FRAC_SRS_8): Likewise.
5970 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5972 (FP_UNPACK_RAW_EP): Likewise.
5973 (FP_PACK_RAW_E): Likewise.
5974 (FP_PACK_RAW_EP): Likewise.
5975 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5976 (_FP_ISSIGNAN): Likewise.
5977 (_FP_ADD_INTERNAL): Likewise.
5978 (_FP_FMA): Likewise.
5979 (_FP_CMP): Likewise.
5980 (_FP_SQRT): Likewise.
5981 (_FP_TO_INT): Likewise.
5982 (_FP_FROM_INT): Likewise.
5983 (FP_EXTEND): Likewise.
5984 (_FP_DIV_MEAT_N_loop): Likewise.
5986 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5988 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5991 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5994 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5995 result with correct sign in case of exponents that produce
5996 overflow except for X very close to 1.
5998 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6000 mktime: merge #if/#ifdef usage from glibc
6001 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6002 as that works with both Glibc's and Gnulib's style.
6003 See thread starting at Siddhesh Poyarekar's bug report at:
6004 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6006 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6008 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6009 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6010 * sysdeps/tile/tilegx/memmove.c: Remove file.
6012 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6014 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6015 abi-name definition.
6016 * scripts/soversions.awk: Do not handle or generate ABI lines.
6017 * shlib-versions: Remove ABI entries.
6018 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6019 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6021 2014-06-27 Roland McGrath <roland@hack.frob.com>
6023 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6024 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6025 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6026 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6027 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6028 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6029 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6031 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6033 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6042 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6044 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6047 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6049 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6057 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6059 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6062 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6064 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6066 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6068 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6071 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6073 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6074 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6076 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6077 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6079 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6080 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6081 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6082 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6084 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6086 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6087 Identical file removed.
6088 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6090 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6092 Identical file removed.
6093 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6094 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6095 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6097 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6099 Identical file removed.
6100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6101 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6102 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6103 Identical file removed.
6104 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6105 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6106 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6107 Identical file removed.
6108 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6109 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6111 Identical file removed.
6112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6114 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6116 Identical file removed.
6117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6119 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6120 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6121 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6123 Identical file removed.
6124 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6126 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6128 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6129 Identical file removed.
6130 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6132 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6134 Identical file removed.
6135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6137 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6139 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6140 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6141 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6142 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6144 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6145 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6146 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6148 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6149 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6150 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6151 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6152 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6154 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
6157 * nscd/nscd.c (monitor_child): Return exit status of child
6158 instead of return value from wait syscall.
6160 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6162 * configure.ac (libc_commonpagesize): Remove variable.
6163 (libc_relro_required): Likewise.
6164 (libc_cv_z_relro): Remove configure test.
6165 * configure: Regenerated.
6166 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6168 (libc_relro_required): Likewise.
6169 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6170 (libc_relro_required): Likewise.
6171 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6172 (libc_relro_required): Likewise.
6173 * sysdeps/arm/preconfigure: Regenerated.
6174 * sysdeps/ia64/preconfigure: Remove file.
6175 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6177 (libc_relro_required): Likewise.
6181 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6182 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6183 recompute overflowing results in original rounding mode.
6184 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6185 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6186 recompute overflowing results in original rounding mode.
6187 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6188 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6189 recompute overflowing results in original rounding mode.
6190 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6191 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6192 recompute overflowing results in original rounding mode.
6193 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6194 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6195 recompute overflowing results in original rounding mode.
6196 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6197 (libc_feholdsetround_ctx): New macro.
6198 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6199 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6202 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6204 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6205 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6206 corresponding .cpsetup call.
6208 2014-06-26 Roland McGrath <roland@hack.frob.com>
6210 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6211 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6212 * sysdeps/arm/Makefile [$(subdir) = csu]
6213 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6214 (static-only-routines): Add aeabi_read_tp here.
6215 (shared-only-routines): Add libc-aeabi_read_tp here.
6216 (CFLAGS-libc-start.c): Add -fexceptions here.
6217 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6218 (sysdep_routines, static-only-routines, shared-only-routines):
6219 Don't add to these here.
6220 (CFLAGS-libc-start.c): Likewise.
6222 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6223 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6224 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6225 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6226 * sysdeps/arm/Makefile [$(subdir) = rt]
6227 (librt-sysdep_routines, librt-shared-only-routines):
6228 Append rt-aeabi_unwind_cpp_pr1 here.
6229 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6230 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6231 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6232 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6233 Append nptl-aeabi_unwind_cpp_pr1 here.
6234 (tests): Filter out tst-cleanupx4 here.
6235 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6236 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6237 Don't do those here.
6239 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6241 * scripts/list-sources.sh: Do not handle ports specially.
6243 2014-06-26 Roland McGrath <roland@hack.frob.com>
6245 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6246 * sysdeps/arm/feupdateenv.c: Likewise.
6248 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6250 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6252 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6253 trailing whitespace removed.
6254 * scripts/config.guess: Update to version 2014-03-23.
6255 * scripts/config.sub: Update to version 2014-05-01
6256 * scripts/install-sh: Update to version 2013-12-25.23.
6257 * scripts/move-if-change: Update from gnulib.
6259 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6261 * debug/memmove_chk.c: Remove pagecopy.h include.
6263 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6265 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6266 identical to gnulib mktime.
6268 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6270 * configure.ac: Do not test for machine being rs6000. Do not test
6272 * configure: Regenerated.
6274 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6276 * configure: Regenerated.
6277 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6278 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6279 Remove configure test.
6280 * sysdeps/arm/configure: Regenerated.
6281 * sysdeps/nptl/configure.ac: Do not check
6282 libc_cv_asm_cfi_directives.
6283 * sysdeps/nptl/configure: Regenerated.
6284 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6285 * sysdeps/x86_64/nptl/configure: Remove generated file.
6286 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6288 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6290 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6292 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6293 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6294 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6297 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6298 instead of whether it is defined.
6299 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6300 * sysdeps/hppa/dl-machine.h: Likewise.
6301 * sysdeps/ia64/dl-machine.h: Likewise.
6302 * sysdeps/m68k/dl-machine.h: Likewise.
6303 * sysdeps/microblaze/dl-machine.h: Likewise.
6304 * sysdeps/mips/dl-machine.: Likewise.
6305 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6306 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6307 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6308 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6309 * sysdeps/sh/dl-machine.h: Likewise.
6310 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6311 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6312 * sysdeps/tile/dl-machine.h: Likewise.
6313 * sysdeps/x86_64/dl-machine.h: Likewise.
6315 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6317 (verify_persistent_db): Likewise.
6319 2014-06-26 Roland McGrath <roland@hack.frob.com>
6321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6322 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6324 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6327 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6330 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6332 Identical file removed.
6333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6334 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6336 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6338 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6340 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6342 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6345 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6347 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6349 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6352 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6354 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6356 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6358 Identical file removed.
6359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6360 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6362 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6365 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6368 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6370 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6372 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6374 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6376 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6379 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6382 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6384 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6387 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6389 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6391 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6393 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6394 * sysdeps/unix/sysv/linux/s390/Versions
6395 (libpthread: GLIBC_2.19): New version set.
6396 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6397 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6398 (librt: GLIBC_2.3.3): New version set.
6399 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6400 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6401 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6402 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6403 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6404 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6405 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6406 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6407 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6408 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6409 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6410 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6411 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6412 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6413 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6414 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6415 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6416 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6417 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6418 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6419 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6421 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6423 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6424 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6425 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6427 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6428 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6429 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6430 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6432 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6433 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6435 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6437 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6439 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6441 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6443 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6445 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6446 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6447 (__libc_vfork): Define the function under this name.
6448 [!NOT_IN_libc] (__vfork): Make this an alias.
6449 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6450 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6451 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6452 (__libc_vfork): Define the function under this name.
6453 [!NOT_IN_libc] (__vfork): Make this an alias.
6454 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6455 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6456 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6457 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6459 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6461 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6462 code that was previously under [RESET_PID].
6463 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6464 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6467 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6468 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6469 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6470 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6471 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6472 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6473 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6474 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6475 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6476 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6477 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6479 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6480 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6481 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6482 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6483 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6485 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6486 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6487 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6488 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6489 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6491 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6492 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6493 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6494 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6495 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6496 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6497 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6498 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6499 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6500 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6501 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6502 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6503 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6504 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6505 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6506 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6507 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6509 2014-06-25 Roland McGrath <roland@hack.frob.com>
6511 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6512 that was previously under [RESET_PID].
6513 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6515 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6517 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6518 not undefine and redefine.
6519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6520 [O_CLOEXEC]: Make code unconditional.
6521 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6522 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6523 <kernel-features.h>.
6524 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6525 conditional variable definition.
6526 (shm_open) [O_CLOEXEC]: Make code unconditional.
6527 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6530 * configure.ac (USE_REGPARMS): Don't define here.
6531 * configure: Regenerated.
6532 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6533 * sysdeps/i386/configure: Regenerated.
6535 * nptl/createthread.c: Don't include kernel-features.h.
6536 * nptl/pthread_cancel.c: Likewise.
6537 * nptl/pthread_condattr_setclock.c: Likewise.
6538 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6539 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6540 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6541 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6542 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6543 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6544 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6547 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6548 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6549 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6550 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6551 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6552 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6553 * nscd/gai.c: Likewise.
6554 * nss/nss_db/db-open.c: Likewise.
6555 * sysdeps/generic/ldsodefs.h: Likewise.
6556 * sysdeps/sh/nptl/tls.h: Likewise.
6557 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6558 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6559 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6560 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6561 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6562 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6563 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6564 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6566 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6567 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6568 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6569 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6570 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6571 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6572 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6573 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6574 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6575 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6576 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6577 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6578 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6579 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6580 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6581 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6582 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6583 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6584 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6585 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6586 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6587 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6588 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6589 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6590 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6591 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6592 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6593 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6594 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6595 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6596 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6597 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6598 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6599 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6600 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6601 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6602 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6603 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6604 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6605 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6606 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6607 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6608 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6609 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6610 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6611 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6612 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6613 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6614 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6637 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6638 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6639 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6640 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6641 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6642 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6643 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6644 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6645 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6646 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6647 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6648 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6649 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6650 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6651 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6652 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6654 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6655 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6656 * sysdeps/unix/sysv/linux/system.c: Likewise.
6657 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6658 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6659 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6660 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6661 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6662 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6663 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6665 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6666 * configure: Regenerated.
6667 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6669 * configure.ac (base_machine): Do not set specially for particular
6671 * configure: Regenerated.
6672 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6673 settings from configure.ac.
6674 * sysdeps/i386/preconfigure: New file.
6675 * sysdeps/s390/preconfigure: Likewise.
6676 * sysdeps/sh/preconfigure: Likewise.
6677 * sysdeps/sparc/preconfigure: Likewise.
6679 2014-06-25 Roland McGrath <roland@hack.frob.com>
6681 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6682 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6683 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6684 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6685 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6686 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6687 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6688 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6689 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6690 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6691 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6692 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6693 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6694 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6695 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6696 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6697 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6698 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6699 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6701 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6702 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6703 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6704 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6705 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6706 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6707 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6708 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6709 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6710 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6711 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6712 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6713 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6714 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6715 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6716 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6717 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6718 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6719 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6720 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6721 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6722 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6723 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6724 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6725 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6726 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6728 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6730 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6731 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6732 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6733 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6734 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6735 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6736 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6737 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6738 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6741 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6743 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6746 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6749 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6751 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6754 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6756 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6760 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6763 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6766 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6768 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6771 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6773 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6775 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6777 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6779 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6782 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6785 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6787 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6790 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6792 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6794 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6796 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6799 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6802 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6804 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6807 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6809 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6811 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6813 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6815 * timezone/checktab.awk: Update from tzcode 2014e.
6816 * timezone/private.h: Likewise.
6817 * timezone/tzfile.h: Likewise.
6818 * timezone/zdump.c: Likewise.
6819 * timezone/zic.c: Likewise.
6821 * sysdeps/unix/sysv/linux/kernel-features.h
6822 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6824 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6825 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6826 Remove conditional code.
6828 2014-06-25 Will Newton <will.newton@linaro.org>
6830 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6831 (_dl_arm_cap_flags): Add HWCAP2 values.
6832 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6833 (_DL_HWCAP_COUNT): Increase to 37.
6834 (_DL_HWCAP_LAST): New define.
6835 (_DL_HWCAP2_LAST): New define.
6836 (_dl_procinfo): Add support for printing
6838 (_dl_string_hwcap): Use _dl_hwcap_string.
6840 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6844 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6846 * README: Do not mention ports directory.
6848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6850 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6851 <kernel-features.h>.
6852 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6853 conditional variable definition.
6854 (__futimes): Update comment.
6855 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6856 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6859 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6860 arguments close to 0.
6861 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6863 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6865 * math/auto-libm-test-in: Add more tests of exp10.
6866 * math/auto-libm-test-out: Regenerated.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6869 * sysdeps/unix/sysv/linux/kernel-features.h
6870 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6871 * sysdeps/unix/sysv/linux/readv.c: Do not include
6872 <kernel-features.h>.
6873 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6874 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6875 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6877 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6879 * sysdeps/unix/sysv/linux/writev.c: Do not include
6880 <kernel-features.h>.
6881 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6882 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6883 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6885 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6888 2014-06-25 Will Newton <will.newton@linaro.org>
6890 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6891 comment changes throughout the file. Remove checks
6892 for HAVE_*_H definitions that are not required.
6893 (__gen_tempname): Call abort if an unknown kind value is
6896 2014-06-25 Andreas Schwab <schwab@suse.de>
6899 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6900 scalbln, scalblnf, scalblnl in libc.
6902 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6905 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6906 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6907 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6909 2014-06-24 Roland McGrath <roland@hack.frob.com>
6911 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6912 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6913 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6914 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6916 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6917 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6919 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6920 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6921 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6922 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6923 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6924 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6925 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6926 * sysdeps/x86/bits/semaphore.h: ... here.
6927 * sysdeps/x86/nptl/elide.h: Moved ...
6928 * sysdeps/x86/elide.h: ... here.
6929 * sysdeps/x86_64/nptl/Implies: File removed.
6930 * sysdeps/i386/nptl/Implies: File removed.
6932 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6935 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6936 return the argument for normal arguments with exponent below -64.
6937 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6939 * math/auto-libm-test-in: Add another test of expm1.
6940 * math/auto-libm-test-out: Regenerated.
6943 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6944 calling __erfcl for arguments at least 16.
6945 * math/auto-libm-test-in: Add more tests of erf.
6946 * math/auto-libm-test-out: Regenerated.
6948 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6949 individual architectures.
6950 * sysdeps/unix/sysv/linux/configure: Regenerated.
6951 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6952 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6953 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6954 (ldd_rewrite_script): Define variable.
6955 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6960 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6961 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6962 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6963 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6964 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6965 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6966 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6967 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6969 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6972 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6973 Rename member __data.d to __data.__elision_data.
6975 2014-06-24 Wilco <wdijkstr@arm.com>
6977 * NEWS: Add 16918 to fixed bug list.
6979 2014-06-24 Wilco <wdijkstr@arm.com>
6981 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6983 2014-06-24 Wilco <wdijkstr@arm.com>
6985 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6986 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6987 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6988 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6989 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6990 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6991 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6994 2014-06-24 Wilco <wdijkstr@arm.com>
6996 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6998 2014-06-24 Wilco <wdijkstr@arm.com>
7000 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7001 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7002 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7003 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7005 2014-06-24 Wilco <wdijkstr@arm.com>
7008 * sysdeps/arm/feupdateenv.c (feupdateenv):
7009 Rewrite to reduce FPSCR accesses and fix return value.
7011 2014-06-24 Wilco <wdijkstr@arm.com>
7013 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7014 Optimize to avoid unnecessary FPSCR writes.
7015 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7016 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7017 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7018 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7020 2014-06-24 Wilco <wdijkstr@arm.com>
7022 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7023 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7024 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7025 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7026 Call libc_fetestexcept_vfp.
7027 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7028 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7029 __SOFTFP__ ifdef so that they can be built for softfp.
7031 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7033 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7034 argument type signed char.
7036 * Makerules (check-abi): Dump diff of symlist if the test
7039 2014-06-23 Roland McGrath <roland@hack.frob.com>
7041 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7044 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7045 Remove unused variable ST.
7047 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7051 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7052 small arguments before calling __expm1.
7053 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7054 small arguments before calling __expm1f.
7055 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7056 small arguments before calling __expm1l.
7057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7059 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7060 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7061 spurious underflow for some cosh tests.
7062 * math/auto-libm-test-out: Regenerated.
7063 * sysdeps/i386/fpu/libm-test-ulps: Update.
7066 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7067 (__ieee754_y1): Set errno if return value overflows.
7068 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7069 (__ieee754_y1f): Set errno if return value overflows.
7070 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7071 (__ieee754_y1l): Set errno if return value overflows.
7072 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7073 (__ieee754_y1l): Set errno if return value overflows.
7074 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7075 * math/auto-libm-test-out: Regenerated.
7077 * math/gen-auto-libm-tests.c: Document use of
7078 ignore-zero-inf-sign.
7079 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7080 (input_flags): Add ignore-zero-inf-sign.
7081 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7082 * math/gen-libm-test.pl (generate_testfile): Handle
7083 ignore-zero-inf-sign.
7084 * math/auto-libm-test-in: Mark some cpow tests with
7085 ignore-zero-inf-sign and some with xfail-rounding.
7086 * math/auto-libm-test-out: Regenerated.
7087 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7088 * sysdeps/i386/fpu/libm-test-ulps: Update.
7089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7092 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7093 overflowing or underflowing operations take place with sign of
7095 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7096 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7097 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7098 (__ieee754_pow): Recompute overflowing and underflowing results in
7099 original rounding mode.
7100 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7101 (__powl_helper): Allow negative argument X and scale negated value
7102 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7103 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7104 overflowing or underflowing operations take place with sign of
7106 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7108 * math/auto-libm-test-in: Add more tests of pow.
7109 * math/auto-libm-test-out: Regenerated.
7110 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7111 (pow_tonearest_test_data): Remove.
7112 (pow_test_tonearest): Likewise.
7113 (pow_towardzero_test_data): Likewise.
7114 (pow_test_towardzero): Likewise.
7115 (pow_downward_test_data): Likewise.
7116 (pow_test_downward): Likewise.
7117 (pow_upward_test_data): Likewise.
7118 (pow_test_upward): Likewise.
7119 (main): Don't call removed functions.
7120 * sysdeps/i386/fpu/libm-test-ulps: Update.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7123 2014-06-23 Roland McGrath <roland@hack.frob.com>
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7299 2014-06-23 Will Newton <will.newton@linaro.org>
7300 Wilco <wdijkstr@arm.com>
7302 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7303 implementation. Include get-rounding-mode.h.
7304 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7305 [!libc_feholdsetround_noex_ctx]: Define
7306 libc_feholdsetround_noex_ctx.
7307 [!libc_feholdsetround_noexf_ctx]: Define
7308 libc_feholdsetround_noexf_ctx.
7309 [!libc_feholdsetround_noexl_ctx]: Define
7310 libc_feholdsetround_noexl_ctx.
7311 (libc_feholdsetround_ctx): New function.
7312 (libc_feresetround_ctx): New function.
7313 (libc_feholdsetround_noex_ctx): New function.
7314 (libc_feresetround_noex_ctx): New function.
7316 2014-06-23 Roland McGrath <roland@hack.frob.com>
7318 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7319 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7320 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7321 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7322 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7323 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7325 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7326 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7327 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7328 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7329 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7330 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7331 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7332 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7333 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7334 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7335 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7337 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7340 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7345 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7347 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7349 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7350 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7351 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7354 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7355 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7357 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7359 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7362 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7363 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7364 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7365 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7366 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7367 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7368 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7369 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7370 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7371 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7373 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7376 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7378 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7380 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7382 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7384 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7386 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7389 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7391 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7392 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7393 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7396 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7397 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7398 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7399 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7400 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7402 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7403 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7404 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7405 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7406 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7407 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7408 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7409 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7411 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7412 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7413 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7415 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7416 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7417 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7418 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7419 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7420 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7421 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7422 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7423 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7429 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7431 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7433 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7434 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7435 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7436 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7437 (IPV6_PMTUDISC_INTERFACE): Likewise.
7438 (IPV6_PMTUDISC_OMIT): Likewise.
7440 2014-06-23 Andreas Schwab <schwab@suse.de>
7442 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7443 Remove unused errout label.
7445 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7447 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7448 macro: hardware supports Vector Crypto instructions.
7450 2014-06-23 Will Newton <will.newton@linaro.org>
7452 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7453 rather than __builtin_expect.
7455 * elf/dl-lookup.c (undefined_msg): Remove variable.
7456 (_dl_lookup_symbol_x): Replace undefined_msg with string
7459 * elf/dl-lookup.c (do_lookup_unique): New function.
7460 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7461 to a separate function.
7463 2014-06-23 Andreas Schwab <schwab@suse.de>
7466 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7467 before reading the next line.
7469 2014-06-23 Will Newton <will.newton@linaro.org>
7471 * test-skeleton.c (signal_handler): Use printf and %m
7472 rather than perror. Use printf rather than fprintf to
7473 stderr. Use puts rather than fputs to stderr.
7476 2014-06-22 Ludovic Courtès <ludo@gnu.org>
7478 * nscd/nscd.c (thread_info_t): Remove typedef.
7479 (thread_info): Remove variable.
7481 2014-06-21 Allan McRae <allan@archlinux.org>
7483 * NEWS: Mention CVE-2014-4043.
7485 2014-06-20 Roland McGrath <roland@hack.frob.com>
7487 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7488 * nptl/smp.h: ... here.
7490 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7492 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7493 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7494 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7495 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7497 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7498 * nptl/stack-aliasing.h: New file.
7499 * sysdeps/i386/i686/stack-aliasing.h: New file.
7500 * sysdeps/i386/i686/nptl/Makefile: File removed.
7501 * sysdeps/x86_64/stack-aliasing.h: New file.
7502 * sysdeps/x86_64/nptl/Makefile
7503 (CFLAGS-pthread_create.c): Variable removed.
7505 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7506 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7508 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7509 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7512 2014-06-21 Joseph Myers <joseph@codesourcery.com>
7514 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7515 (__ASSUME_SIGFRAME_V2): Remove macro.
7516 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7517 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7518 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7519 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7520 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7521 Declare as function. Remove conditional macro definitions.
7522 (__default_rt_sa_restorer): Likewise.
7523 (__default_sa_restorer_v1): Remove declaration.
7524 (__default_sa_restorer_v2): Likewise.
7525 (__default_rt_sa_restorer_v1): Likewise.
7526 (__default_rt_sa_restorer_v2): Likewise.
7527 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7528 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7529 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7531 2014-06-20 Roland McGrath <roland@hack.frob.com>
7533 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7534 (libpthread-routines): Add sysdep.
7535 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7536 * sysdeps/unix/sysv/linux/sparc/Versions
7537 (libpthread: GLIBC_2.3.3): New version set.
7538 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7539 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7540 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7541 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7542 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7543 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7545 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7547 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7548 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7549 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7551 * sysdeps/sparc/nptl/sem_init.c: ... here.
7552 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7553 * sysdeps/sparc/nptl/sem_post.c: ... here.
7554 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7555 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7556 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7557 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7558 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7559 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7560 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7561 (libpthread-routines): Add cpu_relax.
7562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7564 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7565 (librt: GLIBC_2.3.3): New version set.
7566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7567 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7568 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7569 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7572 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7575 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7577 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7579 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7581 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7583 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7586 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7594 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7598 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7602 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7609 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7615 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7617 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7620 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7622 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7624 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7626 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7628 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7629 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7630 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7631 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7632 * nscd/nscd.c: Likewise.
7633 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7634 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7635 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7636 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7638 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7639 <kernel-features.h>.
7640 (init_mq_netlink): Remove conditional have_sock_cloexec
7641 definitions. Remove code conditional on have_sock_cloexec < 0.
7642 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7643 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7644 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7645 <kernel-features.h>.
7646 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7647 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7649 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7652 Add tests for memset_chk and memset.
7654 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7657 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7660 * elf/tst-dl-iter-static.c: New file.
7661 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7663 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7666 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7668 * sysdeps/unix/sysv/linux/kernel-features.h
7669 (__ASSUME_F_GETOWN_EX): Remove macro.
7670 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7671 <kernel-features.h>.
7672 (miss_F_GETOWN_EX): Remove variable or macro.
7673 (do_fcntl): Do not check miss_F_GETOWN_EX.
7674 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7679 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7680 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7682 * sysdeps/unix/sysv/linux/kernel-features.h
7683 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7684 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7685 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7686 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7688 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7691 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7692 Fix calculation of the symbol's value.
7693 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7694 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7695 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7696 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7697 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7698 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7699 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7700 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7701 (modules-names): Add `tst-armtlsdescmod',
7702 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7703 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7704 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7705 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7706 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7707 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7708 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7709 ($(objpfx)tst-armtlsdescloc): New dependency.
7710 ($(objpfx)tst-armtlsdescextnow): Likewise.
7711 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7712 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7714 * sysdeps/arm/configure: Regenerate.
7716 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7718 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7719 (__atfct_seterrno_2): Likewise.
7720 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7721 <kernel-features.h>.
7722 (__ASSUME_ATFCTS): Do not undefine and redefine.
7723 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7724 (__have_atfcts): Remove conditional definition.
7725 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7726 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7727 unreachable if [__ASSUME_ATFCTS].
7728 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7729 not undefine and redefine.
7730 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7731 <kernel-features.h>.
7732 (faccessat) [__NR_faccessat]: Make code unconditional.
7733 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7734 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7735 <kernel-features.h>.
7736 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7737 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7738 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7739 <kernel-features.h>.
7740 (fchownat) [__NR_fchownat]: Make code unconditional.
7741 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7742 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7743 <kernel-features.h>.
7744 (futimesat) [__NR_futimesat]: Make code unconditional.
7745 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7746 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7747 <kernel-features.h>.
7748 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7749 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7750 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7751 <kernel-features.h>.
7752 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7753 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7754 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7755 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7756 <kernel-features.h>.
7757 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7758 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7759 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7760 <kernel-features.h>.
7761 (linkat) [__NR_linkat]: Make code unconditional.
7762 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7763 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7764 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7765 <kernel-features.h>.
7766 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7767 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7768 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7769 <kernel-features.h>.
7770 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7771 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7772 * sysdeps/unix/sysv/linux/openat.c: Do not include
7773 <kernel-features.h>.
7774 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7775 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7776 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7777 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7779 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7780 <kernel-features.h>.
7781 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7782 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7783 result of INLINE_SYSCALL directly, not via int variable.
7784 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7785 <kernel-features.h>.
7786 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7787 (renameat) [__NR_renameat]: Make code unconditional.
7788 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7789 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7790 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7791 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7792 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7793 (__ASSUME_ATFCTS): Do not undefine and redefine.
7794 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7795 <kernel-features.h>.
7796 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7797 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7798 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7799 <kernel-features.h>.
7800 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7801 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7802 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7803 (__ASSUME_ATFCTS): Do not undefine and redefine.
7804 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7805 <kernel-features.h>.
7806 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7807 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7808 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7809 <kernel-features.h>.
7810 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7811 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7813 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7815 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7817 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7820 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7821 constructed tree before returning error.
7822 * posix/bug-regexp36.c: Expand test case.
7824 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7827 * math/libm-test.inc (scalbln_test_date):
7828 Add errno expectations.
7829 * math/w_scalblnf.c: New File.
7830 Add wrapper which checks for setting errno to ERANGE.
7831 Add weak_alias for corresponding scalbln function.
7832 * math/w_scalbln.c: Likewise.
7833 * math/w_scalblnl.c: Likewise.
7834 * math/Makefile (libm-calls): Add w_scalbln.
7835 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7836 Remove weak_alias for corresponding scalbln function.
7837 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7841 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7842 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7843 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7844 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7845 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7846 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7847 Remove long_double_symbol for scalblnl function in libm, libc.
7848 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7849 Add wrapper which checks for setting errno to ERANGE.
7850 Add long_double_symbol for scalblnl function in libm, libc.
7851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7852 Remove long_double_symbol for scalblnl in libm.
7853 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7854 Add wrapper which checks for setting errno to ERANGE.
7855 Add long_double_symbol for scalblnl function in libm.
7856 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7857 Do not use wrapper because of own implementation.
7859 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7861 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7862 3 bytes for __pad1 for x32.
7863 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7865 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7866 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7869 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7870 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7871 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7872 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7874 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7877 * posix/regcomp.c (parse_expression): Deallocate partially
7878 constructed tree before returning error.
7879 * posix/Makefile.c (tests): Add bug-regex36.
7880 (generated): Add bug-regex36.mtrace.
7881 (tests-special): Add $(objpfx)bug-regex36-mem.out
7882 (bug-regex36-ENV): New variable.
7883 ($(objpfx)bug-regex36-mem.out): New rule.
7884 * posix/bug-regex36.c: New file.
7886 2014-06-19 Will Newton <will.newton@linaro.org>
7888 * malloc/malloc.c (systrim): If extra is zero then return
7891 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7893 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7895 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7897 * sysdeps/aarch64/strchr.S: New file.
7899 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7902 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7903 from arguments -2 or below.
7904 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7905 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7907 2014-06-18 Andreas Schwab <schwab@suse.de>
7910 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7911 of a bracket expr not to run off the end of the string.
7912 * posix/Makefile (tests): Add tst-fnmatch3.
7913 * posix/tst-fnmatch3.c: New file.
7915 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7917 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7918 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7919 [$(cross-compiling) = no]: Likewise.
7920 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7921 [$(cross-compiling) = no]: Likewise.
7923 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7926 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7927 double, adjusted for any remainder from the high double.
7928 * math/libm-test.inc (nearbyint): Add tests.
7931 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7933 * nptl/sysdeps/powerpc/Makefile: Moved ...
7934 * sysdeps/powerpc/nptl/Makefile: ... here.
7935 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7936 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7937 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7938 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7939 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7940 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7941 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7942 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7943 * nptl/sysdeps/powerpc/tls.h: Moved ...
7944 * sysdeps/powerpc/nptl/tls.h: ... here.
7946 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7949 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7950 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7951 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7952 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7953 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7954 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7955 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7956 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7957 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7959 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7961 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7963 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7965 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7968 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7971 2014-06-16 Florian Weimer <fweimer@redhat.com>
7974 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7975 non-executed part of the test.
7977 2014-06-16 Andreas Schwab <schwab@suse.de>
7979 * string/bits/string2.h (strdup, strndup): Update feature guard.
7981 2014-06-14 David S. Miller <davem@davemloft.net>
7983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7985 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7987 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7988 that was previously under [RESET_PID].
7989 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7991 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7992 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7993 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7994 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7995 (__libc_vfork): New strong alias.
7996 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7998 2014-06-14 Andi Kleen <ak@linux.intel.com>
8000 * sysdeps/generic/elide.h: New file.
8002 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8004 * Makefile (installed-headers): Adjust path of pthread.h header.
8006 2014-06-13 Roland McGrath <roland@hack.frob.com>
8008 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8009 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8010 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8011 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8013 * nptl/sysdeps/s390/Makefile: Moved ...
8014 * sysdeps/s390/nptl/Makefile: ... here.
8015 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8016 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8017 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8018 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8019 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8020 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8021 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8022 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8023 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8024 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8025 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8026 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8027 * nptl/sysdeps/s390/tls.h: Moved ...
8028 * sysdeps/s390/nptl/tls.h: ... here.
8030 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8031 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8033 2014-06-13 David S. Miller <davem@davemloft.net>
8035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8038 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8042 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8043 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8044 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8045 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8046 Remove RESET_PID cpp guards.
8047 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8048 Remove RESET_PID cpp guards.
8049 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8051 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8053 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8056 2014-06-13 Andi Kleen <ak@linux.intel.com>
8058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8059 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8060 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8061 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8062 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8063 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8065 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8066 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8067 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8070 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8071 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8072 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8074 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8075 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8076 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8077 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8079 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8080 (pthread_rwlock_rdlock): Add elision.
8081 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8082 (pthread_rwlock_wrlock): Add elision.
8083 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8084 (pthread_rwlock_trywrlock): Add elision.
8085 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8086 (pthread_rwlock_tryrdlock): Add elision.
8087 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8088 (pthread_rwlock_tryrdlock): Add elision unlock.
8089 * nptl/sysdeps/pthread/pthread.h:
8090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8091 (PTHREAD_RWLOCK_INITIALIZER,
8092 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8093 Handle new elision field.
8094 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8095 * sysdeps/arm/nptl/bits/pthreadtypes.h
8096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8097 * sysdeps/sh/nptl/bits/pthreadtypes.h
8098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8099 * sysdeps/tile/nptl/bits/pthreadtypes.h
8100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8101 * sysdeps/a/nptl/bits/pthreadtypes.h
8102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8103 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8105 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8107 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8109 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8111 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8113 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8115 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8117 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8118 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8119 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8120 (elision_init): Set try_xbegin to zero when no RTM.
8121 * sysdeps/x86/nptl/bits/pthreadtypes.h
8122 (pthread_rwlock_t): Change __pad1 to __rwelision.
8123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8125 2014-06-13 Andi Kleen <ak@linux.intel.com>
8127 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8128 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8129 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8130 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8132 2014-06-13 Meador Inge <meadori@codesourcery.com>
8135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8136 that the cached result has been set before returning it.
8138 2014-06-12 Roland McGrath <roland@hack.frob.com>
8140 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8141 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8142 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8143 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8144 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8145 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8147 * nptl/sysdeps/sparc/Makefile: Moved ...
8148 * sysdeps/sparc/nptl/Makefile: ... here.
8149 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8150 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8151 * nptl/sysdeps/sparc/tls.h: Moved ...
8152 * sysdeps/sparc/nptl/tls.h: ... here.
8153 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8154 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8155 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8156 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8157 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8158 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8159 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8160 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8161 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8162 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8163 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8164 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8165 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8166 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8167 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8168 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8169 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8172 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8173 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8175 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8178 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8179 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8182 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8184 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8185 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8187 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8188 (struct list_links): Type removed.
8189 (struct thread_node, struct timer_node): Replace struct list_links
8190 with struct list_head.
8191 (list_unlink_ip): Likewise.
8192 * sysdeps/pthread/timer_routines.c
8193 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8194 (list_append, list_insbefore): Likewise.
8195 (list_init): Function removed.
8196 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8197 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8198 * sysdeps/pthread/Makefile: ... here, new file.
8200 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8201 * sysdeps/nptl/Implies: ... here.
8202 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8203 * nptl/sysdeps/pthread/list.h: Moved ...
8204 * include/list.h: ... here.
8205 * nptl/sysdeps/pthread/createthread.c: Moved ...
8206 * nptl/createthread.c: ... here.
8207 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8208 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8209 * nptl/pt-longjmp.c: ... here.
8210 * nptl/sysdeps/pthread/Makefile: Moved ...
8211 * sysdeps/nptl/Makefile: ... here.
8212 * nptl/sysdeps/pthread/Subdirs: Moved ...
8213 * sysdeps/nptl/Subdirs: ... here.
8214 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8215 * sysdeps/nptl/aio_misc.h: ... here.
8216 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8217 * sysdeps/nptl/bits/libc-lock.h: ... here.
8218 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8219 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8220 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8221 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8222 * nptl/sysdeps/pthread/configure: Moved ...
8223 * sysdeps/nptl/configure: ... here.
8224 * nptl/sysdeps/pthread/configure.ac: Moved ...
8225 * sysdeps/nptl/configure.ac: ... here.
8226 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8227 * sysdeps/nptl/gai_misc.h: ... here.
8228 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8229 * sysdeps/nptl/librt-cancellation.c: ... here.
8230 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8231 * sysdeps/nptl/malloc-machine.h: ... here.
8232 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8233 * sysdeps/nptl/pthread-functions.h: ... here.
8234 * nptl/sysdeps/pthread/pthread.h: Moved ...
8235 * sysdeps/nptl/pthread.h: ... here.
8236 * nptl/sysdeps/pthread/setxid.h: Moved ...
8237 * sysdeps/nptl/setxid.h: ... here.
8238 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8239 * sysdeps/nptl/sigfillset.c: ... here.
8240 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8241 * sysdeps/nptl/tcb-offsets.h: ... here.
8242 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8243 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8244 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8245 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8246 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8247 * sysdeps/pthread/allocalim.h: ... here.
8248 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8249 * sysdeps/pthread/bits/sigthread.h: ... here.
8250 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8251 * sysdeps/pthread/flockfile.c: ... here.
8252 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8253 * sysdeps/pthread/ftrylockfile.c: ... here.
8254 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8255 * sysdeps/pthread/funlockfile.c: ... here.
8256 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8257 * sysdeps/pthread/posix-timer.h: ... here.
8258 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8259 * sysdeps/pthread/timer_create.c: ... here.
8260 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8261 * sysdeps/pthread/timer_delete.c: ... here.
8262 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8263 * sysdeps/pthread/timer_getoverr.c: ... here.
8264 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8265 * sysdeps/pthread/timer_gettime.c: ... here.
8266 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8267 * sysdeps/pthread/timer_routines.c: ... here.
8268 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8269 * sysdeps/pthread/timer_settime.c: ... here.
8270 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8271 * sysdeps/pthread/tst-timer.c: ... here.
8272 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8273 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8275 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8276 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8278 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8279 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8280 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8281 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8282 Update #include target.
8283 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8284 * sysdeps/i386/i686/nptl/Makefile: ... here.
8285 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8286 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8287 Update #include target.
8288 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8289 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8290 * nptl/sysdeps/i386/Makefile: Moved ...
8291 * sysdeps/i386/nptl/Makefile: ... here.
8292 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8293 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8294 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8295 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8296 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8297 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8298 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8299 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8300 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8301 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8302 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8303 * nptl/sysdeps/i386/tls.h: Moved ...
8304 * sysdeps/i386/nptl/tls.h: ... here.
8306 * sysdeps/sh/Makefile [$(subdir) = csu]
8307 (gen-as-const-headers): Add tcb-offsets.sym.
8308 * nptl/sysdeps/sh/Makefile: File removed.
8309 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8310 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8311 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8312 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8313 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8314 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8315 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8316 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8317 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8318 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8319 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8320 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8321 * nptl/sysdeps/sh/tls.h: Moved ...
8322 * sysdeps/sh/nptl/tls.h: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8324 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8326 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8328 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8329 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8330 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8331 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8332 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8333 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8334 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8336 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8338 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8340 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8342 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8344 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8352 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8354 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8355 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8356 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8357 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8358 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8360 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8362 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8364 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8366 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8367 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8368 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8369 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8370 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8372 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8374 * posix/spawn_faction_addopen.c: Include string.h.
8376 2014-06-11 Roland McGrath <roland@hack.frob.com>
8378 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8379 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8380 * nptl/sysdeps/x86_64/Makefile: Moved ...
8381 * sysdeps/x86_64/nptl/Makefile: ... here.
8382 * nptl/sysdeps/x86_64/configure: Moved ...
8383 * sysdeps/x86_64/nptl/configure: ... here.
8384 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8385 * sysdeps/x86_64/nptl/configure.ac: ... here.
8386 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8387 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8388 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8389 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8390 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8391 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8392 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8393 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8394 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8395 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8396 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8397 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8398 * nptl/sysdeps/x86_64/tls.h: Moved ...
8399 * sysdeps/x86_64/nptl/tls.h: ... here.
8400 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8401 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8402 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8403 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8405 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8407 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8411 2014-06-11 Joseph Myers <joseph@codesourcery.com>
8413 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8415 [POSIX] (off_t): Likewise.
8416 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8417 [POSIX] (S_ISBLK): Require macro.
8418 [POSIX] (S_ISCHR): Likewise.
8419 [POSIX] (S_ISDIR): Likewise.
8420 [POSIX] (S_ISFIFO): Likewise.
8421 [POSIX] (S_ISREG): Likewise.
8422 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8424 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8426 [POSIX] (time_t): Likewise.
8427 [POSIX] (timer_t): Likewise.
8429 2014-06-11 Florian Weimer <fweimer@redhat.com>
8432 * posix/spawn_int.h (struct __spawn_action): Make the path string
8433 non-const to support deallocation.
8434 * posix/spawn_faction_addopen.c
8435 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8436 * posix/spawn_faction_destroy.c
8437 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8438 path in all spawn_do_open actions.
8439 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8440 posix_spawn_file_actions_addopen.
8442 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8444 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8445 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8446 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8447 conditional code always true.
8448 (__libc_vfork): New alias.
8450 2014-06-11 Roland McGrath <roland@hack.frob.com>
8452 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8453 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8455 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8457 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8458 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8460 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8461 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8463 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8464 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8466 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8468 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8469 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8470 multiarch strcmp for PPC64.
8471 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8472 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8474 multiarch optimizations.
8475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8476 (__libc_ifunc_impl_list): Likewise.
8478 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8480 * benchtests/scripts/validate_benchout.py: New script.
8481 * benchtests/Makefile (bench-func): Call it.
8482 * benchtests/scripts/benchout.schema.json: New file.
8484 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8486 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8487 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8488 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8489 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8490 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8491 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8492 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8493 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8494 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8495 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8496 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8497 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8498 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8499 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8500 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8501 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8606 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8608 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8611 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8622 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8624 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8627 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8630 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8632 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8635 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8637 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8639 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8640 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8641 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8643 2014-06-10 Wilco <wdijkstr@arm.com>
8645 * math/test-fenv-return.c: New file.
8646 * math/Makefile: Add new test test-fenv-return.
8648 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8651 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8653 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8654 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8655 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8656 0.0L for an argument of 1.0L.
8657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8659 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8660 value when x - 1 is zero.
8661 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8662 * sysdeps/i386/fpu/libm-test-ulps: Update.
8663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8665 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8668 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8670 2014-06-09 Roland McGrath <roland@hack.frob.com>
8672 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8673 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8675 2014-06-09 Roland McGrath <roland@hack.frob.com>
8677 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8678 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8680 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8681 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8683 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8684 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8686 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8687 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8689 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8690 if not already defined.
8691 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8692 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8693 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8694 (TLS_INIT_TP): Use it.
8695 (TLS_DEFINE_INIT_TP): New macro.
8696 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8698 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8700 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8702 [POSIX] (IXANY): Likewise.
8703 [POSIX] (OLCUC): Likewise.
8704 [POSIX || POSIX2008] (CBAUD): Do not allow.
8705 [POSIX || POSIX2008] (DEFECHO): Likewise.
8706 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8707 [POSIX || POSIX2008] (ECHOKE): Likewise.
8708 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8709 [POSIX || POSIX2008] (EXTA): Likewise.
8710 [POSIX || POSIX2008] (EXTB): Likewise.
8711 [POSIX || POSIX2008] (FLUSHO): Likewise.
8712 [POSIX || POSIX2008] (LOBLK): Likewise.
8713 [POSIX || POSIX2008] (PENDIN): Likewise.
8714 [POSIX || POSIX2008] (SWTCH): Likewise.
8715 [POSIX || POSIX2008] (VDISCARD): Likewise.
8716 [POSIX || POSIX2008] (VDSUSP): Likewise.
8717 [POSIX || POSIX2008] (VLNEXT): Likewise.
8718 [POSIX || POSIX2008] (VREPRINT): Likewise.
8719 [POSIX || POSIX2008] (VSTATUS): Likewise.
8720 [POSIX || POSIX2008] (VWERASE): Likewise.
8721 (B*): Change to B[0123456789]*.
8722 * conform/data/time.h-data [POSIX || UNIX98]
8723 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8724 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8725 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8726 [POSIX] (tm_*): Do not allow.
8728 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8730 * Makefile (install): Don't set LANGUAGE.
8731 * Makefile.in (install): Likewise.
8732 * assert/Makefile (test-assert-ENV): Remove variable.
8733 (test-assert-perr-ENV): Likewise.
8734 * elf/Makefile (neededtest4-ENV): Likewise.
8735 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8736 [$(cross-compiling) = no]: Don't set LANGUAGE.
8737 * io/ftwtest-sh (LANG): Remove variable.
8738 * libio/Makefile (tst-widetext-ENV): Likewise.
8739 * manual/install.texi (Running make install): Don't refer to
8740 environment settings for make install.
8741 * INSTALL: Regenerated.
8742 * nptl/tst-tls6.sh: Don't set LANG.
8743 * posix/globtest.sh (LANG): Remove variable.
8744 * string/Makefile (tester-ENV): Likewise.
8745 (inl-tester-ENV): Likewise.
8746 (noinl-tester-ENV): Likewise.
8747 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8748 [$(cross-compiling) = no]: Don't set LANGUAGE.
8749 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8750 without explicit environment settings.
8752 2014-06-06 Roland McGrath <roland@hack.frob.com>
8754 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8755 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8756 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8757 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8759 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8761 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8762 other files in the crypt directory.
8763 * crypt/crypt.c: Remove duplicate includes.
8764 * crypt/crypt-entry.c: Likewise.
8765 * crypt/crypt_util.c: Likewise.
8767 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8769 * Makeconfig (run-program-env): New variable.
8770 (run-program-prefix-before-env): Likewise.
8771 (run-program-prefix-after-env): Likewise.
8772 (run-program-prefix): Define in terms of new variables.
8773 (built-program-cmd-before-env): New variable.
8774 (built-program-cmd-after-env): Likewise.
8775 (built-program-cmd): Define in terms of new variables.
8776 (test-program-prefix-before-env): New variable.
8777 (test-program-prefix-after-env): Likewise.
8778 (test-program-prefix): Define in terms of new variables.
8779 (test-program-cmd-before-env): New variable.
8780 (test-program-cmd-after-env): Likewise.
8781 (test-program-cmd): Define in terms of new variables.
8782 * Rules (make-test-out): Use $(run-program-env).
8783 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8784 (help): Do not mention environment variables. Mention
8785 --timeoutfactor option.
8786 (timeoutfactor): New variable.
8787 (blacklist_exports): Remove function.
8788 (exports): Remove variable.
8789 (command): Do not include ${exports}.
8790 * manual/install.texi (Configuring and compiling): Do not mention
8791 test wrappers preserving environment variables. Mention that last
8792 assignment to a variable must take precedence.
8793 * INSTALL: Regenerated.
8794 * benchtests/Makefile (run-bench): Use $(run-program-env).
8795 * catgets/Makefile ($(objpfx)test1.cat): Use
8796 $(built-program-cmd-before-env), $(run-program-env) and
8797 $(built-program-cmd-after-env).
8798 ($(objpfx)test2.cat): Do not specify environment variables
8800 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8801 $(run-program-env) and $(built-program-cmd-after-env).
8802 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8803 $(run-program-env) and $(test-program-cmd-after-env).
8804 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8806 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8807 run_program_env and test_program_cmd_after_env arguments.
8808 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8809 * elf/tst-pathopt.sh: Use run_program_env argument.
8810 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8811 $(test-wrapper-env) and $(run-program-env).
8812 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8813 run_program_env arguments.
8814 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8815 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8816 $(test-program-prefix-before-env), $(run-program-env) and
8817 $(test-program-prefix-after-env).
8818 ($(objpfx)tst-gettext2.out): Likewise.
8819 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8820 run_program_env and test_program_prefix_after_env arguments.
8821 * intl/tst-gettext2.sh: Likewise.
8822 * intl/tst-gettext4.sh: Do not set environment variables
8824 * intl/tst-gettext6.sh: Likewise.
8825 * intl/tst-translit.sh: Likewise.
8826 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8827 $(test-program-prefix-before-env), $(run-program-env) and
8828 $(test-program-prefix-after-env).
8829 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8830 run_program_env and test_program_prefix_after_env arguments.
8831 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8832 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8833 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8834 explicitly with each use of ${test_wrapper_env}.
8835 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8836 $(test-program-prefix-before-env), $(run-program-env) and
8837 $(test-program-prefix-after-env).
8838 * posix/tst-getconf.sh: Do not set environment variables
8840 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8841 run_program_env and test_program_prefix_after_env arguments.
8842 * stdio-common/tst-printf.sh: Do not set environment variables
8844 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8845 $(test-program-prefix-before-env), $(run-program-env) and
8846 $(test-program-prefix-after-env).
8847 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8848 run_program_env and test_program_prefix_after_env arguments.
8849 Split $test calls into $test_pre and $test.
8850 * timezone/Makefile (build-testdata): Use
8851 $(built-program-cmd-before-env), $(run-program-env) and
8852 $(built-program-cmd-after-env).
8854 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8856 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8857 strlen for non SHARED builds.
8859 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8861 * nptl/allocatestack.c (check_list): Inlined function...
8862 (__reclaim_stacks): ... here.
8864 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8867 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8870 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8872 * Rules (make-test-out): Include
8873 LOCPATH=$(common-objpfx)localedata in default environment.
8874 * debug/Makefile (tst-chk1-ENV): Remove variable.
8875 (tst-chk2-ENV): Likewise.
8876 (tst-chk3-ENV): Likewise.
8877 (tst-chk4-ENV): Likewise.
8878 (tst-chk5-ENV): Likewise.
8879 (tst-chk6-ENV): Likewise.
8880 (tst-lfschk1-ENV): Likewise.
8881 (tst-lfschk2-ENV): Likewise.
8882 (tst-lfschk3-ENV): Likewise.
8883 (tst-lfschk4-ENV): Likewise.
8884 (tst-lfschk5-ENV): Likewise.
8885 (tst-lfschk6-ENV): Likewise.
8886 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8887 (tst-iconv7-ENV): Likewise.
8888 * intl/Makefile (LOCPATH-ENV): Likewise.
8889 (tst-codeset-ENV): Likewise.
8890 (tst-gettext3-ENV): Likewise.
8891 (tst-gettext5-ENV): Likewise.
8892 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8893 (tst-fopenloc-ENV): Likewise.
8894 (tst-fgetws-ENV): Remove variable.
8895 (tst-ungetwc1-ENV): Likewise.
8896 (tst-ungetwc2-ENV): Likewise.
8897 (bug-ungetwc2-ENV): Likewise.
8898 (tst-swscanf-ENV): Likewise.
8899 (bug-ftell-ENV): Likewise.
8900 (tst-fgetwc-ENV): Likewise.
8901 (tst-fseek-ENV): Likewise.
8902 (tst-ftell-partial-wide-ENV): Likewise.
8903 (tst-ftell-active-handler-ENV): Likewise.
8904 (tst-ftell-append-ENV): Likewise.
8905 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8906 (tst-regexloc-ENV): Likewise.
8907 (bug-regex1-ENV): Likewise.
8908 (tst-regex-ENV): Likewise.
8909 (tst-regex2-ENV): Likewise.
8910 (bug-regex5-ENV): Likewise.
8911 (bug-regex6-ENV): Likewise.
8912 (bug-regex17-ENV): Likewise.
8913 (bug-regex18-ENV): Likewise.
8914 (bug-regex19-ENV): Likewise.
8915 (bug-regex20-ENV): Likewise.
8916 (bug-regex22-ENV): Likewise.
8917 (bug-regex23-ENV): Likewise.
8918 (bug-regex25-ENV): Likewise.
8919 (bug-regex26-ENV): Likewise.
8920 (bug-regex30-ENV): Likewise.
8921 (bug-regex32-ENV): Likewise.
8922 (bug-regex33-ENV): Likewise.
8923 (bug-regex34-ENV): Likewise.
8924 (bug-regex35-ENV): Likewise.
8925 (tst-rxspencer-ENV): Likewise.
8926 (tst-rxspencer-no-utf8-ENV): Likewise.
8927 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8928 (tst-sscanf-ENV): Likewise.
8929 (tst-swprintf-ENV): Likewise.
8930 (tst-swscanf-ENV): Likewise.
8931 (test-vfprintf-ENV): Likewise.
8932 (scanf13-ENV): Likewise.
8933 (bug14-ENV): Likewise.
8934 (tst-grouping-ENV): Likewise.
8935 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8936 (tst-strtod3-ENV): Likewise.
8937 (tst-strtod4-ENV): Likewise.
8938 (tst-strtod5-ENV): Likewise.
8939 (testmb2-ENV): Likewise./
8940 * string/Makefile (tst-strxfrm-ENV): Likewise.
8941 (tst-strxfrm2-ENV): Likewise.
8942 (bug-strcoll1-ENV): Likewise.
8943 (test-strcasecmp-ENV): Likewise.
8944 (test-strncasecmp-ENV): Likewise.
8945 * time/Makefile (tst-strptime-ENV): Likewise.
8946 (tst-ftime_l-ENV): Likewise.
8947 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8948 (tst-mbrtowc-ENV): Likewise.
8949 (tst-wcrtomb-ENV): Likewise.
8950 (tst-mbrtowc2-ENV): Likewise.
8951 (tst-c16c32-1-ENV): Likewise.
8952 (tst-mbsnrtowcs-ENV): Likewise.
8954 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8956 * manual/resource.texi (How to get information about the memory
8957 subsystem?): Fix typo.
8958 Reported by Peon de la Parra Ivan <peon@keba.com>
8960 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8963 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8964 (pthread_spin_lock): Branch out of spin loop to proper location.
8965 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8966 (pthread_spin_lock): Likewise.
8968 * nptl/tst-spin4.c: New test.
8969 * nptl/Makefile (tests): Add tst-spin4.
8971 2014-06-03 Andreas Schwab <schwab@suse.de>
8974 * resolv/res_send.c (send_dg): Reload file descriptor after
8977 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8979 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8981 2014-06-03 Richard Henderson <rth@redhat.com>
8983 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8984 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8985 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8986 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8987 in the SAVE_PID block.
8988 (__libc_vfork): New alias.
8989 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8991 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8992 child in registers, not on the stack. Remove RESET_PID conditionals.
8993 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8995 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8997 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8999 2014-06-03 Wilco <wdijkstr@arm.com>
9001 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9002 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9003 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9004 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9005 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9008 2014-06-03 Wilco <wdijkstr@arm.com>
9010 * sysdeps/aarch64/fpu/math_private.h
9011 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9012 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9013 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9014 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9017 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9019 * crypt/crypt-private.h: Include ufc-crypt.h.
9020 (__b64_from_24bit): Declare extern.
9021 * crypt/crypt_util.c(__b64_from_24bit): New function.
9022 (b64t): New static const variable.
9023 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9024 (b64t): Remove variable.
9025 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9026 * crypt/sha256-crypt.c: Include crypt-private.h.
9027 (b64t): Remove variable.
9028 (__sha256_crypt_r): Remove b64_from_24bit and replace
9029 with __b64_from_24bit.
9030 * crypt/sha512-crypt.c: Likewise.
9032 2014-06-02 Roland McGrath <roland@hack.frob.com>
9034 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9035 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9036 Label the code __libc_vfork rather than __vfork.
9037 [!NOT_IN_libc] (vfork): Define as weak alias.
9038 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9039 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9040 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9042 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9044 * malloc/malloc.c (malloc_info): Fix format specifier for
9047 2014-06-02 Wilco <wdijkstr@arm.com>
9049 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9052 2014-06-02 Wilco <wdijkstr@arm.com>
9055 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9056 Rewrite to reduce FPCR/FPSR accesses.
9058 2014-06-01 David S. Miller <davem@davemloft.net>
9060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9062 2014-05-31 David S. Miller <davem@davemloft.net>
9064 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9065 to occur in round to nearest mode when |x| >= 2.0
9067 2014-05-30 Richard Henderson <rth@twiddle.net>
9069 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9070 (PSEUDO_RET_NOERRNO): Remove.
9071 (ret): Don't redefine.
9072 (ret_NOERRNO): Define in terms of ret.
9073 (ret_ERRVAL): Likewise.
9075 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9076 use of PSEUDO_RET; perform the error check directly.
9078 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9080 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9083 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9085 * malloc/malloc (malloc_info): Fix formatting.
9087 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9088 Roland McGrath <roland@hack.frob.com>
9090 * malloc/malloc (malloc_info): Also print mmapped statistics.
9092 2014-05-30 Roland McGrath <roland@hack.frob.com>
9094 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9095 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9097 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9099 * malloc/malloc.c (malloc_info): Inline mi_arena.
9101 2014-05-29 Richard Henderson <rth@twiddle.net>
9103 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9104 Remove comma before expanding ASM_ARGS_##nr.
9105 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9106 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9108 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9109 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9110 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9111 (ASM_ARGS_1): Add leading comma.
9113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9114 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9115 to __errno_location.
9116 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9117 Remove the expected plt for __errno_location.
9119 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9120 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9123 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9124 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9125 it and break it down.
9126 (DOCARGS_0, DOCARGS_1): Do nothing.
9127 (DOCARGS_2): Update to store into the new stack frame.
9128 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9129 (UNDOCARGS_1): Update to restore from the new stack frame.
9130 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9131 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9134 (SINGLE_THREAD_P): New parameter for result regno.
9135 (PSEUDO): Update to match; use cbz instead of beq.
9137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9138 Use ENTRY to define the _nocancel entry point. Share the syscall
9139 and syscall error check paths with the cancel path.
9142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9143 whitespace; tabs before and after asm mnemonics.
9145 2014-05-29 Eric Wong <normalperson@yhbt.net>
9148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9149 Call fstat64 or stat64 internally, depending on arguments passed.
9150 Replace stat buffer argument with file descriptor argument.
9151 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9152 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9153 Pass fd to __internal_statvfs instead of calling fstat64.
9154 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9155 Pass fd to __internal_statvfs64 instead of calling fstat64.
9156 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9157 Pass -1 to __internal_statvfs instead of calling stat64.
9158 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9159 Pass -1 to __internal_statvfs64 instead of calling stat64.
9161 2014-05-28 Roland McGrath <roland@hack.frob.com>
9163 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9164 that was previously under [RESET_PID].
9165 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9167 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9168 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9170 2014-05-27 Roland McGrath <roland@hack.frob.com>
9172 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9174 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9175 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9177 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9179 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9181 2014-05-27 Andreas Schwab <schwab@suse.de>
9183 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9185 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9186 * elf/rtld.c (init_tls, dl_main): Likewise.
9187 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9188 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9189 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9190 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9191 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9192 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9193 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9194 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9195 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9196 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9197 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9198 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9199 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9200 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9201 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9202 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9203 * sysdeps/generic/tls.h: Update description.
9205 2014-05-27 Will Newton <will.newton@linaro.org>
9208 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9209 and restore r2 rather than just restoring.
9211 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9214 * libio/tst-ftell-append.c: New test case.
9215 * libio/Makefile (tests): Add test case.
9216 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9218 * libio/wfileops.c (do_ftell_wide): Likewise.
9220 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9224 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9228 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9229 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9230 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9231 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9232 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9233 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9240 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9241 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9242 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9243 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9244 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9246 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9247 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9249 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9251 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9253 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9255 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9258 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9259 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9260 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9283 conditional [RESET_PID].
9284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9292 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9293 (__libc_vfork): New strong alias.
9294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9301 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9302 (__libc_vfork): New strong alias.
9303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9308 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9310 * malloc/malloc.c (mi_arena): New function.
9311 (malloc_info): Remove nested function mi_arena. Call non-nosted
9314 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9316 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9318 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9319 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9320 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9321 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9323 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9326 2014-05-26 Andreas Schwab <schwab@suse.de>
9329 * locale/programs/repertoire.c (repertoire_read): Add slash
9330 between I18NPATH element and file name.
9331 * locale/programs/locfile.c (locfile_read): Likewise.
9333 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9335 * nptl/pthread_mutexattr_settype.c
9336 (__pthread_mutexattr_settype):
9337 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9339 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9341 * nptl/tst-mutex5 (do_test):
9342 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9344 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9346 * benchtests/README: Document 'init' directive.
9347 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9349 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9350 (parse_file): Recognize 'init' directive.
9352 2014-05-26 Kyle McMartin <kyle@redhat.com>
9355 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9356 alignment of struct pthread.
9358 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9361 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9362 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9363 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9364 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9366 2014-05-25 Richard Henderson <rth@twiddle.net>
9368 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9369 (SINGLE_THREAD_P_PIC): Remove.
9370 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9371 (SINGLE_THREAD_P_PIC): Remove.
9373 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9374 branch to syscall error ...
9376 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9377 from __local_syscall_error to .Lsyscall_error.
9378 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9379 (SYSCALL_ERROR): Update label name.
9381 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9382 Do not use DOARGS/UNDOARGS.
9383 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9384 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9385 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9386 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9387 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9392 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9393 define if !NOT_IN_libc.
9394 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9395 define with non-default symbol versions.
9397 2014-05-23 Richard Henderson <rth@twiddle.net>
9399 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9400 (vfork, __vfork): Define via compat_symbol.
9402 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9403 [!HAVE_IFUNC] (vfork_compat): Remove.
9404 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9406 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9409 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9410 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9413 2014-05-23 Richard Henderson <rth@twiddle.net>
9415 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9416 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9417 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9418 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9420 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9421 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9422 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9423 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9424 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9425 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9426 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9427 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9428 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9429 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9430 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9431 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9432 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9433 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9434 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9435 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9436 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9439 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9447 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9449 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9450 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9451 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9452 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9453 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9454 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9455 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9456 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9457 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9459 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9460 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9461 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9462 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9463 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9464 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9465 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9466 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9467 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9468 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9469 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9470 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9471 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9473 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9475 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9477 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9478 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9479 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9480 before exiting on error.
9481 (__libc_vfork): New strong alias.
9482 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9483 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9485 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9486 that was previously under [RESET_PID].
9487 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9489 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9491 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9494 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9495 value when x - 1 is zero.
9496 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9497 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9498 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9499 0.0L for an argument of 1.0L.
9500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9502 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9503 value when x - 1 is zero.
9504 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9505 * sysdeps/i386/fpu/libm-test-ulps: Update.
9506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9508 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9510 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9511 alphasort and versionsort.
9513 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9515 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9517 [copysignf]: Likewise.
9519 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9521 * crypt/md5-crypt.c: Fix formatting.
9523 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9525 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9526 (b64_from_24bit): New function.
9528 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9531 libc_hidden_builtin_def to ifunc.
9532 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9533 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9535 2014-05-21 Roland McGrath <roland@hack.frob.com>
9537 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9538 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9540 2014-05-21 Joseph Myers <joseph@codesourcery.com>
9542 * nscd/Depend (linuxthreads): Remove.
9544 * resolv/Depend (linuxthreads): Remove.
9545 * rt/Depend (linuxthreads): Remove.
9547 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9548 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9549 $(common-objpfx)elf/.
9550 (link-libc-before-gnulib): Likewise.
9551 (elfobjdir): Remove variable.
9552 * Makefile (install): Use $(elf-objpfx) instead of
9553 $(common-objpfx)elf/.
9554 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9556 (link-libc-deps): Likewise.
9557 ($(common-objpfx)libc.so): Likewise.
9558 ($(common-objpfx)linkobj/libc.so): Likewise.
9559 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9560 instead of $(common-objpfx)elf/.
9561 (symbolic-link-list): Likewise.
9562 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9563 [$(cross-compiling) = no]: Likewise.
9564 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9566 (static-gnulib-arch): Likewise.
9567 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9568 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9569 $(common-objpfx)elf/.
9571 2014-05-21 Richard Henderson <rth@redhat.com>
9573 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9574 (SINGLE_THREAD_P): Use the correct width load. Fold
9575 into the ldr offset.
9577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9578 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9580 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9582 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9583 (libgcc_s_resume): Use __attribute_used__.
9584 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9587 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9589 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9590 optimization when used with float constants.
9592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9594 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9597 * locale/nl_langinfo_l.c: Make direct reference to every
9598 _nl_current_CATEGORY symbol.
9599 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9600 (tests-static): Add tst-langinfo-static.
9601 (tests-special): Add tst-langinfo-static.out.
9602 ($(objpfx)tst-langinfo.out): Redirect output.
9603 ($(objpfx)tst-langinfo-static.out): New.
9604 * localedata/tst-langinfo.sh: Send output to stdout.
9605 * localedata/tst-langinfo-static.c: New file.
9608 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9609 when the shift amount is modulo the limb size.
9611 2014-05-20 Richard Henderson <rth@redhat.com>
9614 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9615 Change type of sa_flags from unsigned int to int.
9618 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9620 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9622 2014-05-20 Will Newton <will.newton@linaro.org>
9624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9625 Test the return value of the system call in the nocancel case.
9627 2014-05-20 Will Newton <will.newton@linaro.org>
9628 Yvan Roux <yvan.roux@linaro.org>
9630 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9631 #include of asm/ptrace.h.
9632 (PTRACE_GET_THREAD_AREA): Remove #undef.
9633 (PTRACE_GETHBPREGS): Likewise.
9634 (PTRACE_SETHBPREGS): Likewise.
9635 (struct user_regs_struct): New structure.
9636 (struct user_fpsimd_struct): New structure.
9637 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9638 #include of asm/ptrace.h and second #include of sys/user.h.
9639 (PTRACE_GET_THREAD_AREA): Remove #undef.
9640 (PTRACE_GETHBPREGS): Likewise.
9641 (PTRACE_SETHBPREGS): Likewise.
9642 (ELF_NGREG): Use new struct user_regs_struct.
9643 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9645 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9650 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9654 membar to avoid block loads/stores to overlap previous stores.
9656 2014-05-17 Richard Henderson <rth@redhat.com>
9658 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9659 Create the __##syscall_name##_nocancel entry point.
9660 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9661 Remove; let the sysdep-cancel.h code create it.
9663 2014-05-17 David S. Miller <davem@davemloft.net>
9665 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9666 Protect with __USE_GNU.
9667 (TIOCSET_TEMPT): Likewise.
9668 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9669 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9670 these are already provided in bits/ioctl-types.h
9672 2014-05-16 Roland McGrath <roland@hack.frob.com>
9674 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9675 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9677 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9678 Use wait4 regardless of [__NR_waitpid].
9680 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9683 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9684 (_FP_NANSIGN_Q): Set the quiet bit.
9686 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9688 * benchtests/Makefile
9689 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9690 not $(common-objpfx)math/libm.so.
9691 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9692 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9693 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9694 $(common-objpfx)dlfcn/libdl.so.
9695 ($(objpfx)tst-audit8): Depend on $(libm), not
9696 $(common-objpfx)math/libm.so.
9697 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9698 not $(common-objpfx)dlfcn/libdl.so.
9700 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9701 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9702 [$(build-shared) = yes].
9703 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9704 $(common-objpfx)nptl/libpthread.so.
9705 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9706 $(common-objpfx)math/libm.so$(libm.so-version) or
9707 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9708 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9709 $(common-objpfx)dlfcn/libdl.so.
9710 * setjmp/Makefile (link-libm): Remove variable.
9711 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9712 * stdio-common/Makefile (link-libm): Remove variable.
9713 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9714 * stdlib/Makefile (link-libm): Remove variable.
9715 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9716 ($(objpfx)tst-strtod-round): Likewise.
9717 ($(objpfx)tst-tininess): Likewise.
9718 ($(objpfx)tst-strtod-underflow): Likewise.
9719 ($(objpfx)tst-strtod6): Likewise.
9720 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9721 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9722 $(common-objpfx)dlfcn/libdl.so.
9724 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9726 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9727 BSD terminal modes definitions.
9729 2014-05-16 Roland McGrath <roland@hack.frob.com>
9731 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9732 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9734 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9735 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9736 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9737 Don't do #include_next.
9738 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9739 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9740 Don't do #include_next.
9741 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9742 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9743 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9744 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9746 2014-05-16 Allan McRae <allan@archlinux.org>
9748 * po/sv.po: Update Swedish translation from translation project.
9750 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9753 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9756 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9757 errno if the TIOCGPTN ioctl fails with an error different than
9759 * login/tst-ptsname.c: New file.
9760 * login/Makefile (tests): Add tst-ptsname.
9763 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9766 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9770 herrno to return EAI_AGAIN.
9772 2014-05-14 Roland McGrath <roland@hack.frob.com>
9774 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9775 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9776 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9777 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9779 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9780 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9781 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9783 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9785 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9786 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9801 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9802 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9803 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9805 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9807 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9810 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9812 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9814 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9816 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9822 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9824 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9826 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9830 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9832 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9834 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9836 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9839 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9845 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9857 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9860 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9864 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9865 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9866 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9867 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9868 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9869 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9870 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9871 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9872 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9873 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9874 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9875 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9876 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9877 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9878 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9879 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9880 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9881 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9882 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9883 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9884 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9885 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9886 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9887 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9888 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9890 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9891 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9892 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9893 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9894 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9896 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9897 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9899 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9900 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9901 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9902 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9903 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9907 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9909 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9910 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9912 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9913 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9915 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9916 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9917 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9920 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9921 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9922 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9924 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9926 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9927 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9929 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9930 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9932 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9934 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9935 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9937 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9938 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9945 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9946 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9947 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9948 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9952 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9954 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9955 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9957 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9958 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9960 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9961 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9962 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9965 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9966 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9967 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9969 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9970 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9971 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9972 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9974 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9975 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9977 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9979 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9980 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9981 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9982 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9983 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9985 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9990 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9991 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9992 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9993 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9995 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9996 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9997 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10000 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10003 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10006 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10009 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10011 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10012 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10013 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10016 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10018 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10020 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10021 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10022 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10025 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10026 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10030 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10031 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10032 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10033 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10034 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10036 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10040 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10041 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10042 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10043 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10044 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10045 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10046 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10047 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10048 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10049 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10050 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10052 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10053 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10055 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10056 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10058 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10059 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10060 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10061 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10062 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10063 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10064 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10066 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10068 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10070 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10071 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10072 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10074 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10077 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10079 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10082 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10084 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10086 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10091 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10094 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10096 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10098 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10100 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10101 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10102 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10103 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10104 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10105 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10106 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10107 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10108 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10109 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10110 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10112 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10113 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10114 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10115 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10116 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10118 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10119 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10120 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10121 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10122 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10123 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10124 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10125 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10126 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10127 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10132 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10133 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10134 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10135 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10136 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10137 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10138 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10139 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10140 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10141 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10142 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10143 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10144 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10145 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10169 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10170 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10173 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10174 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10175 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10176 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10178 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10179 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10180 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10183 that was previously under [RESET_PID].
10184 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10185 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10186 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10188 * sysdeps/i386/nptl/Implies: New file.
10189 * sysdeps/x86_64/nptl/Implies: New file.
10190 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10191 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10192 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10193 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10195 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10196 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10197 (__libc_vfork): New strong alias.
10198 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10199 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10201 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10202 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10203 (__libc_vfork): New strong alias.
10204 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10205 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10207 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10208 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10209 (__libc_vfork): New strong alias.
10210 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10211 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10212 * nptl/pt-vfork.c: New file.
10213 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10214 (libpthread: GLIBC_2.20): New version set (empty).
10216 2014-05-14 Will Newton <will.newton@linaro.org>
10218 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10221 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10224 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10225 arguments with exponent 65 or above.
10226 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10227 arguments 0x1p113L or above.
10228 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10229 to arguments 0x1p107L or above.
10230 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10231 positive arguments with exponent 65 or above.
10232 * math/auto-libm-test-in: Add more tests of log1p.
10233 * math/auto-libm-test-out: Regenerated.
10236 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10237 non-finite arguments is +0.
10238 * math/s_cacosf.c (__cacosf): Likewise.
10239 * math/s_cacosl.c (__cacosl): Likewise.
10240 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10241 * sysdeps/i386/fpu/libm-test-ulps: Update.
10242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10245 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10247 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10248 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10249 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10250 for explicit high bit of mantissa when testing for argument equal
10252 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10253 * sysdeps/i386/fpu/libm-test-ulps: Update.
10254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10257 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10258 (__erf): Scale by 16 instead of 8 in potentially underflowing
10259 case. Ensure exception if result actually underflows.
10260 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10261 (__erff): Scale by 16 instead of 8 in potentially underflowing
10262 case. Ensure exception if result actually underflows.
10263 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10264 (efx8): Remove variable.
10265 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10266 case. Ensure exception if result actually underflows.
10267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10268 (efx8): Remove variable.
10269 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10270 case. Ensure exception if result actually underflows.
10271 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10272 (efx8): Remove variable.
10273 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10274 case. Ensure exception if result actually underflows.
10275 * math/auto-libm-test-in: Add more tests of erf.
10276 * math/auto-libm-test-out: Regenerated.
10278 2014-05-14 Andreas Schwab <schwab@suse.de>
10280 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10281 Remove code conditionalized on USE___THREAD.
10283 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10284 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10287 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10289 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10290 Define unconditionally.
10291 (__ASSUME_O_CLOEXEC): Likewise.
10292 (__ASSUME_SOCK_CLOEXEC): Likewise.
10293 (__ASSUME_IN_NONBLOCK): Likewise.
10294 (__ASSUME_PIPE2): Likewise.
10295 (__ASSUME_EVENTFD2): Likewise.
10296 (__ASSUME_SIGNALFD4): Likewise.
10297 (__ASSUME_DUP3): Likewise.
10298 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10299 (__ASSUME_DUP3): Do not define.
10300 (__ASSUME_EVENTFD2): Likewise.
10301 (__ASSUME_IN_NONBLOCK): Likewise.
10302 (__ASSUME_O_CLOEXEC): Likewise.
10303 (__ASSUME_PIPE2): Likewise.
10304 (__ASSUME_SIGNALFD4): Likewise.
10305 (__ASSUME_SOCK_CLOEXEC): Likewise.
10306 (__ASSUME_UTIMES): Undefine.
10307 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10308 (__ASSUME_UTIMES): Do not define.
10309 (__ASSUME_O_CLOEXEC): Likewise.
10310 (__ASSUME_SOCK_CLOEXEC): Likewise.
10311 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10312 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10314 (__ASSUME_PIPE2): Likewise.
10315 (__ASSUME_EVENTFD2): Likewise.
10316 (__ASSUME_SIGNALFD4): Likewise.
10317 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10318 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10320 (__ASSUME_EVENTFD2): Likewise.
10321 (__ASSUME_SIGNALFD4): Likewise.
10322 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10323 (__ASSUME_32BITUIDS): Likewise.
10324 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10325 (__ASSUME_IPC64): Likewise.
10326 (__ASSUME_ST_INO_64_BIT): Likewise.
10327 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10328 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10329 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10330 (__ASSUME_UTIMES): Do not define.
10331 (__ASSUME_PSELECT): Likewise.
10332 (__ASSUME_PPOLL): Likewise.
10333 (__ASSUME_O_CLOEXEC): Likewise.
10334 (__ASSUME_SOCK_CLOEXEC): Likewise.
10335 (__ASSUME_IN_NONBLOCK): Likewise.
10336 (__ASSUME_PIPE2): Likewise.
10337 (__ASSUME_EVENTFD2): Likewise.
10338 (__ASSUME_SIGNALFD4): Likewise.
10339 (__ASSUME_DUP3): Likewise.
10340 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10341 (__ASSUME_UTIMES): Likewise.
10342 (__ASSUME_O_CLOEXEC): Likewise.
10343 (__ASSUME_SOCK_CLOEXEC): Likewise.
10344 (__ASSUME_IN_NONBLOCK): Likewise.
10345 (__ASSUME_PIPE2): Likewise.
10346 (__ASSUME_EVENTFD2): Likewise.
10347 (__ASSUME_SIGNALFD4): Likewise.
10348 (__ASSUME_DUP3): Likewise.
10349 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10350 (__ASSUME_UTIMES): Likewise.
10351 (__ASSUME_O_CLOEXEC): Likewise.
10352 (__ASSUME_SOCK_CLOEXEC): Likewise.
10353 (__ASSUME_IN_NONBLOCK): Likewise.
10354 (__ASSUME_PIPE2): Likewise.
10355 (__ASSUME_EVENTFD2): Likewise.
10356 (__ASSUME_SIGNALFD4): Likewise.
10357 (__ASSUME_DUP3): Likewise.
10358 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10360 (__ASSUME_UTIMES): Likewise.
10361 (__ASSUME_EVENTFD2): Likewise.
10362 (__ASSUME_SIGNALFD4): Likewise.
10363 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10364 (__ASSUME_O_CLOEXEC): Likewise.
10365 (__ASSUME_SOCK_CLOEXEC): Likewise.
10366 (__ASSUME_IN_NONBLOCK): Likewise.
10367 (__ASSUME_PIPE2): Likewise.
10368 (__ASSUME_EVENTFD2): Likewise.
10369 (__ASSUME_SIGNALFD4): Likewise.
10370 (__ASSUME_DUP3): Likewise.
10371 (__ASSUME_UTIMES): Undefine.
10373 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10374 feclearexcept. Remove symbol versioning code.
10375 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10376 symbol versioning code.
10377 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10378 symbol versioning code.
10379 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10380 feupdateenv. Remove symbol versioning code.
10381 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10382 fegetexceptflag. Remove symbol versioning code.
10383 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10384 fesetexceptflag. Remove symbol versioning code.
10385 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10386 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10387 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10388 (__posix_fadvise64_l32): Remove prototype.
10389 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10392 2014-05-13 Roland McGrath <roland@hack.frob.com>
10394 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10395 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10396 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10397 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10399 2014-05-13 Sami Kerola <kerolasa@iki.fi>
10401 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10402 current working directory
10404 2014-05-13 Roland McGrath <roland@hack.frob.com>
10406 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10407 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10408 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10409 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10410 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10411 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10412 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10413 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10414 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10415 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10416 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10417 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10418 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10419 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10420 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10421 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10422 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10423 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10424 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10425 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10426 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10427 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10428 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10429 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10430 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10431 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10432 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10433 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10434 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10435 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10436 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10437 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10438 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10439 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10440 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10441 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10442 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10443 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10444 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10445 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10446 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10447 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10449 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10450 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10452 * sysdeps/unix/sysv/linux/arm/Makefile
10453 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10454 Add rt-aeabi_unwind_cpp_pr1.
10455 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10456 Add nptl-aeabi_unwind_cpp_pr1.
10457 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10458 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10459 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10460 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10461 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10462 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10464 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10465 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10466 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10467 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10469 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10470 Deconditionalize the code that was previously under [RESET_PID].
10471 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10473 * sysdeps/generic/exit-thread.h: New file.
10474 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10475 * include/unistd.h (__exit_thread): Remove declaration.
10476 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10477 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10478 * csu/libc-start.c: Include <exit-thread.h>.
10479 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10480 * nptl/pthread_create.c: Include <exit-thread.h>.
10481 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10482 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10483 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10484 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10485 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10486 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10487 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10488 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10489 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10490 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10491 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10492 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10493 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10494 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10495 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10496 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10497 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10499 2014-05-13 Andreas Schwab <schwab@suse.de>
10501 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10503 2014-05-12 Joseph Myers <joseph@codesourcery.com>
10505 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10506 (__ASSUME_UTIMES): Do not condition on kernel version.
10507 (__ASSUME_PSELECT): Define unconditionally.
10508 (__ASSUME_PPOLL): Likewise.
10509 (__ASSUME_ATFCTS): Likewise.
10510 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10511 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10512 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10513 (__ASSUME_UTIMENSAT): Define unconditionally.
10514 (__ASSUME_PRIVATE_FUTEX): Likewise.
10515 (__ASSUME_FALLOCATE): Likewise.
10516 (__ASSUME_O_CLOEXEC): Likewise.
10517 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10518 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10519 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10520 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10521 (__ASSUME_IN_NONBLOCK): Likewise.
10522 (__ASSUME_PIPE2): Likewise.
10523 (__ASSUME_EVENTFD2): Likewise.
10524 (__ASSUME_SIGNALFD4): Likewise.
10525 (__ASSUME_DUP3): Likewise.
10526 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10527 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10528 (__ASSUME_AT_RANDOM): Likewise.
10529 (__ASSUME_PREADV): Likewise.
10530 (__ASSUME_PWRITEV): Likewise.
10531 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10532 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10533 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10534 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10535 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10537 (__ASSUME_O_CLOEXEC): Define unconditionally.
10538 (__ASSUME_PSELECT): Do not undefine conditionally.
10539 (__ASSUME_PPOLL): Likewise.
10540 (__ASSUME_ATFCTS): Likewise.
10541 (__ASSUME_SET_ROBUST_LIST): Likewise.
10542 (__ASSUME_UTIMENSAT): Likewise.
10543 (__ASSUME_FDATASYNC): Define unconditionally.
10544 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10545 (__ASSUME_SIGFRAME_V2): Likewise.
10546 )__ASSUME_EVENTFD2): Likewise.
10547 (__ASSUME_SIGNALFD4): Likewise.
10548 (__ASSUME_PSELECT): Do not undefine conditionally.
10549 (__ASSUME_PPOLL): Likewise.
10550 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10551 (__ASSUME_PSELECT): Define unconditionally.
10552 (__ASSUME_PPOLL): Likewise.
10553 (__ASSUME_O_CLOEXEC): Likewise.
10554 (__ASSUME_SOCK_CLOEXEC): Likewise.
10555 (__ASSUME_IN_NONBLOCK): Likewise.
10556 (__ASSUME_PIPE2): Likewise.
10557 (__ASSUME_EVENTFD2): Likewise.
10558 (__ASSUME_SIGNALFD4): Likewise.
10559 (__ASSUME_DUP3): Likewise.
10560 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10561 (__ASSUME_O_CLOEXEC): Likewise.
10562 (__ASSUME_SOCK_CLOEXEC): Likewise.
10563 (__ASSUME_IN_NONBLOCK): Likewise.
10564 (__ASSUME_PIPE2): Likewise.
10565 (__ASSUME_EVENTFD2): Likewise.
10566 (__ASSUME_SIGNALFD4): Likewise.
10567 (__ASSUME_DUP3): Likewise.
10568 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10569 (__ASSUME_EVENTFD2): Likewise.
10570 (__ASSUME_SIGNALFD4): Likewise.
10571 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10573 2014-05-12 Andreas Schwab <schwab@suse.de>
10576 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10577 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10578 than maximum RPC packet size.
10579 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10580 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10581 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10582 (_nss_nis_getservbyport_r): Likewise.
10584 2014-05-12 Will Newton <will.newton@linaro.org>
10586 * malloc/Makefile (tests): Add tst-mallopt.
10587 * malloc/tst-mallopt.c: New file.
10589 2014-05-09 Roland McGrath <roland@hack.frob.com>
10591 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10592 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10594 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10596 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10597 (tst-tlsmod6.so): Likewise.
10599 2014-05-09 Roland McGrath <roland@hack.frob.com>
10601 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10603 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10606 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10607 and <dl-procinfo.h>.
10608 (__fegetenv): Save SSE state in envp->__eip if supported.
10609 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10610 envp->__eip if supported.
10611 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10612 and <dl-procinfo.h>.
10613 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10614 __data_offset and __data_selector in environment to 0. Set SSE
10615 state if supported.
10616 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10618 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10620 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10622 2014-05-09 Will Newton <will.newton@linaro.org>
10624 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10625 and libc_relro_required for ARM.
10626 * sysdeps/arm/preconfigure: Regenerate.
10628 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10629 Stefan Liebler <stli@linux.vnet.ibm.com>
10631 * config.make.in (enable-lock-elision): New Makefile variable.
10632 * configure.ac: Likewise.
10633 * configure: Regenerate.
10634 * sysdeps/s390/configure.ac:
10635 Add check for gcc transactions support.
10636 * sysdeps/s390/configure: Regenerate.
10637 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10638 Build elision files if enabled.
10639 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10640 Add lock elision support for s390.
10641 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10642 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10643 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10644 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10645 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10646 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10647 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10649 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10651 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10653 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10655 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10656 (__lll_timedlock_elision, __lll_lock_elision)
10657 (__lll_unlock_elision, __lll_trylock_elision)
10658 (lll_timedlock_elision, lll_lock_elision)
10659 (lll_unlock_elision, lll_trylock_elision): Add.
10660 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10661 (pthread_mutex_t): Add lock elision support for s390.
10663 2014-05-14 Wilco <wdijkstr@arm.com>
10665 * sysdeps/arm/fclrexcpt.c: Cleanup.
10666 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10667 * sysdeps/arm/feenablxcpt.c: Cleanup.
10668 * sysdeps/arm/fegetenv.c: Cleanup.
10669 * sysdeps/arm/fegetexcept.c: Cleanup.
10670 * sysdeps/arm/fegetround.c: Cleanup.
10671 * sysdeps/arm/feholdexcpt.c: Cleanup.
10672 * sysdeps/arm/fesetenv.c: Cleanup.
10673 * sysdeps/arm/fesetround.c: Cleanup.
10674 * sysdeps/arm/feupdateenv.c: Cleanup.
10675 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10676 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10677 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10678 * sysdeps/arm/ftestexcept.c: Cleanup.
10679 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10680 * sysdeps/arm/setfpucw.c: Cleanup.
10682 2014-05-09 Will Newton <will.newton@linaro.org>
10684 * sysdeps/arm/armv7/strcmp.S: New file.
10685 * NEWS: Mention addition of ARMv7 optimized strcmp.
10687 2014-05-08 Roland McGrath <roland@hack.frob.com>
10689 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10690 look for %.ac rather than %.in.
10692 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10693 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10694 * sysdeps/mach/hurd/configure: Regenerated.
10695 * sysdeps/unix/sysv/linux/configure: Regenerated.
10697 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10699 2014-05-07 Steve Ellcey <sellcey@mips.com>
10702 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10706 2014-05-07 Andreas Schwab <schwab@suse.de>
10708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10709 when skipping over non-matching result from nscd.
10711 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10714 * nptl/sockperf.c (client): Check socket return value.
10717 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10718 nscd security class.
10720 2014-05-06 Roland McGrath <roland@hack.frob.com>
10722 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10723 * sysdeps/arm/unwind.h: ... here.
10725 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10728 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10731 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10733 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10734 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10735 multiarch strncpy for PPC64.
10736 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10737 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10739 multiarch optimizations.
10740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10741 (__libc_ifunc_impl_list): Likewise.
10742 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10743 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10744 multiarch stpncpy for PPC64.
10745 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10746 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10748 2014-05-06 Andreas Schwab <schwab@suse.de>
10751 * gmon/mcount.c (_MCOUNT_DECL): Use
10752 atomic_compare_and_exchange_bool_acq instead of
10753 catomic_compare_and_exchange_bool_acq.
10755 2014-05-05 Roland McGrath <roland@hack.frob.com>
10757 * elf/Makefile (others, install-bin): Remove pldd.
10758 (pldd-modules): Variable removed.
10759 ($(objpfx)pldd): Target removed.
10760 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10761 (others, install-bin): Append pldd here.
10762 ($(objpfx)pldd): New target.
10764 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10765 to 0, so the first #if test emitted later doesn't see it undefined.
10766 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10767 * sysdeps/gnu/errlist.c: Regenerated.
10769 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10771 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10772 [libc_hidden_builtin_def]: Define to empty value.
10773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10774 [libc_hidden_builtin_def]: Likewise.
10775 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10776 [libc_hidden_builtin_def]: Likewise.
10777 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10778 [libc_hidden_builtin_def]: Likewise.
10779 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10780 __redirect_memcpy and define ifunc as default hidden symbol.
10781 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10782 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10784 2014-05-04 Adam Conrad <adconrad@0c3.net>
10786 * locale/iso-4217.def: Reintroduce XDR currency.
10788 2014-05-04 Allan McRae <allan@archlinux.org>
10790 * po/eo.po: Update Esperanto translation from translation project.
10792 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10794 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10795 and FEATURE_INDEX_MAX to 1.
10796 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10798 2014-05-01 Steve Ellcey <sellcey@mips.com>
10800 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10801 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10802 * iconvdata/big5.c (ONE_DIRECTION): Define.
10803 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10804 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10805 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10806 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10807 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10808 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10809 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10810 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10811 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10812 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10813 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10814 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10815 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10816 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10817 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10818 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10819 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10820 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10821 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10822 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10823 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10824 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10825 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10826 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10827 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10828 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10829 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10830 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10831 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10832 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10833 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10834 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10835 * iconvdata/johab.c (ONE_DIRECTION): Define.
10836 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10837 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10838 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10839 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10840 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10841 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10842 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10843 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10844 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10845 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10847 2014-05-01 Roland McGrath <roland@hack.frob.com>
10849 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10850 (_IO_JUMPS_OFFSET): Define to 0.
10852 * nptl/sysdeps/pthread/bits/libc-lock.h
10853 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10854 (__libc_lock_define_initialized_recursive): Always define using
10855 initializer. Modern compilers treat uninitialized (implicit zero) and
10856 explicit zero initializers the same (i.e. put the datum in bss).
10858 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10860 * nscd/nscd-client.h: Include <string.h>.
10862 2014-05-01 David S. Miller <davem@davemloft.net>
10865 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10866 multiple zero bytes exist at the end of a string.
10867 Reported by Aurelien Jarno <aurelien@aurel32.net>
10869 * string/test-strcmp.c (check): Add explicit test for situations where
10870 there are multiple zero bytes after the first.
10872 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10875 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10876 when compiling wprintf.
10877 * stdio-common/tstdiomisc.c (t3): New function.
10880 2014-05-01 Steve Ellcey <sellcey@mips.com>
10882 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10883 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10884 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10885 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10887 2014-05-01 Steve Ellcey <sellcey@mips.com>
10889 * stdlib/longlong.h: Updated from GCC.
10891 2014-05-01 Will Newton <will.newton@linaro.org>
10892 Bernard Ogden <bernie.ogden@linaro.org>
10894 * NEWS: Update fixed bug list.
10897 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10899 2014-04-30 David S. Miller <davem@davemloft.net>
10901 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10902 (libc_feholdexcept_setround_sparc_ctx): New function.
10903 (libc_fesetenv_sparc_ctx): Likewise.
10904 (libc_feupdateenv_sparc_ctx): Likewise.
10905 (libc_feholdsetround_sparc_ctx): Likewise.
10906 (libc_feholdexcept_setround_ctx): Define.
10907 (libc_feholdexcept_setroundf_ctx): Likewise.
10908 (libc_feholdexcept_setroundl_ctx): Likewise.
10909 (libc_fesetenv_ctx): Likewise.
10910 (libc_fesetenvf_ctx): Likewise.
10911 (libc_fesetenvl_ctx): Likewise.
10912 (libc_feupdateenv_ctx): Likewise.
10913 (libc_feupdateenvf_ctx): Likewise.
10914 (libc_feupdateenvl_ctx): Likewise.
10915 (libc_feresetround_ctx): Likewise.
10916 (libc_feresetroundf_ctx): Likewise.
10917 (libc_feresetroundl_ctx): Likewise.
10918 (libc_feholdsetround_ctx): Likewise.
10919 (libc_feholdsetroundf_ctx): Likewise.
10920 (libc_feholdsetroundl_ctx): Likewise.
10922 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10923 with __USE_GNU instead of XOPEN cpp guards.
10925 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10929 with XOPEN cpp guards.
10931 2014-04-30 Julian Brown <julian@codesourcery.com>
10934 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10937 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10940 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10942 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10943 * sysdeps/unix/sysv/linux/configure: Regenerated.
10944 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10945 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10946 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10947 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10948 * README: Update reference to required Linux kernel version.
10949 * manual/install.texi (Linux): Update reference to required Linux
10950 kernel headers version.
10951 * INSTALL: Regenerated.
10953 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10955 [POSIX] (limits.h): Likewise.
10956 [POSIX] (math.h): Likewise.
10957 [POSIX] (sys/wait.h): Likewise.
10958 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10960 [POSIX] (stddef.h): Do not allow header inclusion.
10962 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10964 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10966 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10968 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10969 Return immediately after lll_futex_wake.
10971 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10974 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10976 (datahead_init_pos): Call datahead_init_common early.
10977 (datahead_init_neg): Likewise.
10979 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10980 datahead_init_neg): New functions.
10981 * nscd/aicache.c (addhstaiX): Use them.
10982 * nscd/grpcache.c (cache_addgr): Likewise.
10983 * nscd/hstcache.c (cache_addhst): Likewise.
10984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10985 * nscd/netgroupcache.c (do_notfound): Likewise.
10986 (addgetnetgrentX): Likewise.
10987 (addinnetgrX): Likewise.
10988 * nscd/pwdcache.c (cache_addpw): Likewise.
10989 * nscd/servicescache.c (cache_addserv): Likewise.
10991 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10992 Atsushi Onoe <atsushi@onoe.org>
10997 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10998 one response is valid.
10999 * resolv/res_send.c (send_dg): Check for validity of other
11000 response if the current response is a referral.
11002 2014-04-29 Steve Ellcey <sellcey@mips.com>
11004 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11006 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11009 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11010 Always divide by positive zero when computing -Inf result.
11011 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11012 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11014 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11016 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11017 FPSCR if value do not change.
11018 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11019 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11020 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11021 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11022 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11023 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11026 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11028 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11029 * sysdeps/unix/sysv/linux/hppa: Move directory from
11030 ports/systeps/unix/sysv/linux/hppa.
11031 * README: Update listing for hppa-*-linux-gnu.
11033 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11036 * manual/stdio.texi (Hook functions): Fix types of stream hook
11039 * socket/sys/socket.h: Fix typo in comment.
11041 2014-04-28 Wilco <wdijkstr@arm.com>
11043 * sysdeps/arm/fenv_private.h: New file.
11044 * sysdeps/arm/math_private.h: New file.
11045 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11047 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11049 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11051 (La_x86_64_retval): Likewise.
11053 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11055 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11056 fpsr if value didn't change.
11057 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11058 to fpcr if value didn't change.
11059 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11060 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11061 fpsr or fpcr if value didn't change.
11062 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11063 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11064 fpcr if value didn't change.
11065 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11066 to fpsr if value didn't change.
11068 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11070 * nptl/tst-sem3.c: Use test-skeleton.c
11071 (main): Rename to do_test. Use return instead of
11073 * nptl/tst-sem4.c: Use test-skeleton.c
11074 (main): Rename to do_test.
11076 2014-04-22 David S. Miller <davem@davemloft.net>
11078 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11079 (struct sigaction): New struct member __glibc_reserved0, change
11080 type of sa_flags to int.
11082 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11084 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11085 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11087 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11089 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11090 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11092 2014-04-22 Will Newton <will.newton@linaro.org>
11093 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11095 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11096 (__longjmp): Add longjmp and longjmp_target SystemTap
11098 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11099 (__sigsetjmp): Add setjmp SystemTap probe.
11101 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11103 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11104 match manual order.
11106 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11108 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11110 * sysdeps/powerpc/fpu/fenv_private.h
11111 (libc_feholdexcept_setroundl_ctx): Define to
11112 libc_feholdexcept_setround_ppc_ctx.
11113 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11114 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11115 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11116 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11118 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11120 * sysdeps/aarch64/math-tests.h: New file.
11122 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11124 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11127 Check and set bit_AVX2_Usable.
11128 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11130 (bit_AVX2): Likewise.
11131 (index_AVX2_Usable): Likewise.
11132 (CPUID_AVX2): Likewise.
11133 (HAS_AVX2): Likewise.
11135 2014-04-17 Will Newton <will.newton@linaro.org>
11137 * manual/setjmp.texi (System V contexts): Add note that
11138 calling setcontext on a context created by a call to a
11139 signal handler is undefined. Update text to note that
11140 setcontext from a signal handler is possible but not
11144 * stdlib/tst-setcontext.c: Include signal.h.
11145 (main): Check that the signal stack before and
11146 after swapcontext is the same.
11148 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11149 Re-implement to restore registers in user code and avoid
11150 rt_sigreturn system call.
11152 2014-04-17 Wilco <wdijkstr@arm.com>
11154 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11155 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11156 * math/test-fenv.c: Skip exception trap tests on targets which only
11157 support non-stop mode.
11159 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11160 Wilco Dijkstra <wilco.dijkstra@arm.com>
11162 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11163 (libc_feholdsetround_aarch64_ctx)
11164 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11165 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11166 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11167 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11168 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11169 (libc_feresetround_noexl_ctx): Define.
11171 2014-04-16 Richard Henderson <rth@redhat.com>
11173 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11175 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11178 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11179 const from the non-libc, non-ldso copy.
11181 * sysdeps/alpha/libm-test-ulps: Regenerate.
11183 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11184 Wilco Dijkstra <wilco.dijkstra@arm.com>
11186 * sysdeps/aarch64/fpu/math_private.h: New file.
11188 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11190 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11192 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11195 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11196 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11198 Intel MPX bound registers before _dl_profile_fixup.
11199 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11200 registers after _dl_profile_fixup. Save and restore bound
11201 registers bnd0/bnd1 when calling _dl_call_pltexit.
11202 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11203 (LR_BND_OFFSET): Likewise.
11204 (LRV_BND0_OFFSET): Likewise.
11205 (LRV_BND1_OFFSET): Likewise.
11207 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11209 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11211 * sysdeps/mach/hurd/i386/tls.h: ... here.
11212 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11213 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11216 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11218 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11220 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11222 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11224 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11227 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11228 * sysdeps/s390/configure: Regenerate.
11231 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11232 Set round-to-nearest internally to reduce error accumulation.
11234 2014-04-16 Alan Modra <amodra@gmail.com>
11238 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11239 * math/libm-test.inc (frexp_test_data): Add tests.
11240 * NEWS: Update fixed bug list.
11242 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11244 * benchtests/Makefile: Depend on libraries in build directory.
11245 (bench-math): Separate out math tests.
11246 (bench-pthread): Separate out pthread tests.
11247 (bench): Include math and pthread tests.
11249 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11252 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11253 _dl_debug_initialize.
11255 * configure.ac: Remove SELinux header check.
11256 * configure: Regenerate.
11257 * nscd/selinux.c (perms): Array of const char* to permission names.
11258 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11259 default policy. Call string_to_security_class and string_to_av_perm to
11260 translate strings. Enforce default policy and call avs_has_perm with
11261 results of translated strings.
11263 2014-04-13 David S. Miller <davem@davemloft.net>
11265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11267 2014-04-12 Allan McRae <allan@archlinux.org>
11270 * manual/string.texi (Collation Functions): Fix qsort argument
11272 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11274 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11276 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11277 Make the test a no-op if there are no exceptions defined.
11279 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11281 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11282 enable-hardcoded-path-in-tests
11284 2014-04-11 Will Newton <will.newton@linaro.org>
11286 * benchtests/Makefile (extra-objs): Add json-lib.o.
11287 (bench-func): Tidy up JSON output.
11288 * benchtests/bench-skeleton.c: Include json-lib.h.
11289 (main): Use JSON library functions to do output of
11291 * benchtests/bench-timing-type.c (main): Output the
11292 timing type simply, leaving formatting to the user.
11293 * benchtests/json-lib.c: New file.
11294 * benchtests/json-lib.h: Likewise.
11296 2014-04-11 Torvald Riegel <triegel@redhat.com>
11299 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11300 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11301 memory barriers. Add comments.
11302 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11303 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11304 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11305 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11306 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11307 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11309 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11311 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11312 * sysdeps/s390/s390-64/configure.ac: ... this ...
11313 * sysdeps/s390/configure.ac: ... to here.
11314 * sysdeps/s390/s390-32/configure: Delete file.
11315 * sysdeps/s390/s390-64/configure: Delete file.
11316 * sysdeps/s390/configure: Regenerate.
11318 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11320 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11322 2014-04-11 Will Newton <will.newton@linaro.org>
11324 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11325 to zero if it is not defined elsewhere. (mtrim): Test
11326 the value of MALLOC_DEBUG with #if rather than #ifdef.
11328 2014-04-10 Torvald Riegel <triegel@redhat.com>
11330 * benchtests/pthread_once-inputs: New file.
11331 * benchtests/pthread_once-source.c: New file.
11332 * benchtests/README: Update documentation.
11334 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11335 H.J. Lu <hongjiu.lu@intel.com>
11338 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11339 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11340 * sysdeps/x86_64/configure: Regenerated.
11341 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11343 (REGISTER_SAVE_RAX): Likewise.
11344 (REGISTER_SAVE_RCX): Likewise.
11345 (REGISTER_SAVE_RDX): Likewise.
11346 (REGISTER_SAVE_RSI): Likewise.
11347 (REGISTER_SAVE_RDI): Likewise.
11348 (REGISTER_SAVE_R8): Likewise.
11349 (REGISTER_SAVE_R9): Likewise.
11350 (REGISTER_SAVE_BND0): Likewise.
11351 (REGISTER_SAVE_BND1): Likewise.
11352 (REGISTER_SAVE_BND2): Likewise.
11353 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11354 bound registers when calling _dl_fixup.
11356 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11358 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11359 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11361 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11362 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11363 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11364 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11365 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11366 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11367 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11369 2014-04-09 Peter Brett <peter@peter-b.co.uk>
11372 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11373 pathconf(_PC_NAME_MAX).
11375 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11377 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11378 Remove macro usage.
11379 (__PTHREAD_SPINS): Move definition to ...
11380 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11381 (__PTHREAD_SPINS): ... here.
11382 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11383 (__PTHREAD_SPIN): Likewise.
11384 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11385 (__PTHREAD_SPIN): Likewise.
11386 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11387 (__PTHREAD_SPIN): Likewise.
11388 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11389 (__PTHREAD_SPIN): Likewise.
11390 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11391 (__PTHREAD_SPIN): Likewise.
11392 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11393 (__PTHREAD_SPIN): Likewise.
11394 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11395 (__PTHREAD_SPIN): Likewise.
11396 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11397 (__PTHREAD_SPIN): Likewise.
11398 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11399 (__PTHREAD_SPIN): Likewise.
11400 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11401 (__PTHREAD_SPIN): Likewise.
11402 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11403 (__PTHREAD_SPIN): Likewise.
11404 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11405 (__PTHREAD_SPIN): Likewise.
11407 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11408 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11409 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11410 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11412 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11413 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11414 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11415 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11416 correct imply path.
11417 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11418 strlen symbol for non multi-arch builds.
11419 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11420 missing hidden_def and weak_alias.
11422 2014-04-08 Carlos O'Donell <carlos@redhat.com>
11424 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11426 2014-04-07 Will Newton <will.newton@linaro.org>
11428 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11429 and contents. [!_LIBC] Remove #ifndef and contents.
11430 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11431 * string/memccpy.c (__memccpy): Use ANSI prototype.
11432 * string/memfrob.c (memfrob): Likewise.
11433 * string/strcoll.c (STRCOLL): Likewise.
11434 * string/strlen.c (strlen): Likewise.
11435 * string/strtok.c (STRTOK): Likewise.
11436 * string/strcat.c: Remove unused #include of memcopy.h.
11437 (strcat): Use ANSI prototype.
11438 * string/strchr.c: Remove unused #include of memcopy.h.
11439 (strchr): Use ANSI prototype.
11440 * string/strcmp.c: Remove unused #include of memcopy.h.
11441 (strcmp): Use ANSI prototype.
11442 * string/strcpy.c: Remove unused #include of memcopy.h.
11443 (strcpy): Use ANSI prototype.
11445 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11447 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11448 * config.make.in (config-extra-cppflags): Set it from
11449 libc_extra_cppflags.
11450 * configure.ac (libc_extra_cflags): Make it accumulate over
11451 configure fragments.
11452 (libc_extra_cppflags): New flag.
11453 * configure. Regenerate.
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11455 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11456 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11461 result for FE_DOWNWARD rounding mode.
11462 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11466 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11468 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11469 in function argument name.
11471 2014-04-03 David Svoboda <svoboda@cert.org>
11474 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11477 2014-04-03 Roland McGrath <roland@hack.frob.com>
11479 * elf/dl-unmap-segments.h: New file.
11480 * sysdeps/generic/ldsodefs.h
11481 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11482 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11483 * elf/dl-fptr.c: Likewise.
11484 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11485 * sysdeps/aarch64/tlsdesc.c: Likewise.
11486 * sysdeps/arm/tlsdesc.c: Likewise.
11487 * sysdeps/i386/tlsdesc.c: Likewise.
11488 * sysdeps/tile/dl-runtime.c: Likewise.
11489 * sysdeps/x86_64/tlsdesc.c: Likewise.
11490 * elf/dl-load.h: New file.
11491 * elf/dl-load.c: Include it.
11492 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11493 Macros moved to dl-load.h.
11494 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11495 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11496 Use _dl_unmap_segments in place of __munmap.
11497 Break out segment-mapping loop into ...
11498 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11500 2014-04-03 Will Newton <will.newton@linaro.org>
11502 * elf/dl-lookup.c (do_lookup_x): Remove comment
11503 referring to nested function and move variable
11504 declarations down to before first use.
11506 2014-04-02 Joseph Myers <joseph@codesourcery.com>
11510 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11512 * math/s_catanf.c (__catanf): Likewise.
11513 * math/s_catanh.c (__catanh): Likewise.
11514 * math/s_catanhf.c (__catanhf): Likewise.
11515 * math/s_catanhl.c (__catanhl): Likewise.
11516 * math/s_catanl.c (__catanl): Likewise.
11517 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11518 by positive zero when computing -Inf result.
11519 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11520 (catanh_test): Likewise.
11521 * sysdeps/i386/fpu/libm-test-ulps: Update.
11522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11526 instead of using underflowing value in computing result.
11527 * math/s_clog10.c (__clog10): Likewise.
11528 * math/s_clog10f.c (__clog10f): Likewise.
11529 * math/s_clog10l.c (__clog10l): Likewise.
11530 * math/s_clogf.c (__clogf): Likewise.
11531 * math/s_clogl.c (__clogl): Likewise.
11532 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11533 (clog10_test): Likewise.
11534 * sysdeps/i386/fpu/libm-test-ulps: Update.
11535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11537 2014-04-02 Alan Modra <amodra@gmail.com>
11540 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11541 output when value is near a power of two. Use int64_t for lx and
11542 remove casts. Use decimal rather than hex exponent constants.
11543 Don't use long double multiplication when double will suffice.
11544 * math/libm-test.inc (nextafter_test_data): Add tests.
11545 * NEWS: Add 16739 and 16786 to bug list.
11547 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11549 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11551 2014-04-01 Will Newton <will.newton@linaro.org>
11553 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11554 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11556 2014-04-01 Florian Weimer <fweimer@redhat.com>
11559 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11560 * nptl/tst-setuid2.c: New file.
11561 * nptl/Makefile (xtests): Add tst-setuid2.
11563 2014-04-01 Alan Modra <amodra@gmail.com>
11566 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11568 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11572 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11573 set errno as appropriate.
11574 * math/w_scalbf.c (__scalbf): Likewise.
11575 * math/w_scalbl.c (__scalbl): Likewise.
11576 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11577 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11578 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11579 Add more NaN tests.
11582 * math/w_atan2.c: Include <errno.h>.
11583 (__atan2): Set errno for result underflowing to zero.
11584 * math/w_atan2f.c: Include <errno.h>.
11585 (__atan2f): Set errno for result underflowing to zero.
11586 * math/w_atan2l.c: Include <errno.h>.
11587 (__atan2l): Set errno for result underflowing to zero.
11588 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11590 * math/auto-libm-test-out: Regenerated.
11592 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11594 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11595 Encode instruction correctly in little endian.
11596 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11598 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11600 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11602 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11605 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11608 * sysdeps/unix/sysv/linux/kernel-features.h
11609 [__sparc__ && !__arch64__ && !__sparc_v9__]
11610 (__ASSUME_SET_ROBUST_LIST): Do not define.
11611 [__sparc__ && !__arch64__ && !__sparc_v9__]
11612 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11613 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11615 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11616 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11617 (__ASSUME_REQUEUE_PI): Likewise.
11618 (__ASSUME_SET_ROBUST_LIST): Likewise.
11619 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11620 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11622 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11623 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11625 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11627 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11629 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11630 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11632 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11633 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11637 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11638 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11639 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11641 2014-03-31 Will Newton <will.newton@linaro.org>
11643 * benchtests/Makefile (bench): Add ffs and ffsll to list
11645 * benchtests/ffs-inputs: New file.
11646 * benchtests/ffsll-inputs: Likewise.
11648 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11651 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11652 too large before casting to int.
11653 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11654 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11655 * math/libm-test.inc (scalb_test_data): Add more tests.
11657 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11659 * benchtests/Makefile (DETAILED_OPT): New make option.
11660 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11662 * benchtests/bench-skeleton.c: Include stdbool.h.
11663 (main): Store and print timings per input.
11664 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11665 member to each argument value.
11666 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11667 (_print_arg_data): Initialize per-input timing to 0.
11669 * benchtests/Makefile (timing-type): New binary.
11670 (bench-clean): Also remove bench-timing-type.
11671 (bench): New target for timing-type.
11672 (bench-func): Print output in JSON format.
11673 * benchtests/bench-skeleton.c (main): Print output in JSON
11675 * benchtests/bench-timing-type.c: New file.
11676 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11677 (TIMING_PRINT_STATS): Remove.
11678 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11681 * benchtests/bench-modf.c: Remove.
11682 * benchtests/modf-inputs: New inputs file.
11684 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11687 * math/s_clog10.c (M_PI_LOG10E): New macro.
11688 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11689 imaginary parts are 0.
11690 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11691 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11692 imaginary parts are 0.
11693 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11694 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11695 imaginary parts are 0.
11696 * math/libm-test.inc (clog10_test_data): Update expected results
11697 for when real and imaginary parts are 0.
11699 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11701 * elf/dl-load.c: Finish conversion of __builtin_expect into
11702 __glibc_{un}likely.
11704 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11707 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11708 1+x for argument with exponent below -67.
11709 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11711 * math/auto-libm-test-in: Add more tests of exp.
11712 * math/auto-libm-test-out: Regenerated.
11714 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11717 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11718 (nscd_getnetgrent): Use it.
11721 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11724 2014-03-27 Andi Kleen <ak@linux.intel.com>
11726 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11727 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11728 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11729 (lll_robust_unlock): Remove out of line section. Use cfi
11731 (LLL_STUB_UNWIND_INFO*): Remove.
11732 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11733 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11734 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11735 (lll_robust_unlock): Remove out of line section. Use cfi
11737 (LLL_STUB_UNWIND_INFO*): Remove.
11739 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11742 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11745 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11747 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11749 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11752 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11754 * math/test-fenv-preserve.c: New file.
11755 * math/Makefile (tests): Add test-fenv-preserve.
11757 2014-03-26 Will Newton <will.newton@linaro.org>
11759 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11761 2014-03-25 Roland McGrath <roland@hack.frob.com>
11763 * scripts/versionlist.awk: Partition the version sets and emit all
11764 GLIBC_* (sorted) before all others (sorted).
11766 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11768 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11769 GLIBC_2.2.5 version.
11771 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11773 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11776 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11781 2014-03-25 Andreas Schwab <schwab@suse.de>
11783 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11784 label to be used after in6ailist is initialized.
11786 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11788 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11789 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11791 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11795 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11797 (fp_formats): Update initializers.
11798 (init_fp_formats): Initialize new field.
11799 (output_for_one_input_case): Allow underflow for results up to
11801 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11802 * math/auto-libm-test-in: Don't mark some underflows from asin and
11804 * math/auto-libm-test-out: Regenerated.
11805 * sysdeps/i386/fpu/libm-test-ulps: Update.
11806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11808 2014-03-25 Andreas Schwab <schwab@suse.de>
11810 * libio/Makefile (tst-ftell-partial-wide-ENV)
11811 (tst-ftell-active-handler-ENV): Define.
11813 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11815 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11817 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11819 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11821 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11823 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11824 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11825 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11827 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11830 * elf/dl-load.c (open_verify): Add mode parameter.
11831 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11832 (open_path): Change from boolean 'secure' to complete flag 'mode'
11833 (_dl_map_object): Adjust.
11834 * elf/Makefile (tests): Add tst-dlopen-aout.
11835 * elf/tst-dlopen-aout.c: New test.
11837 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11840 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11841 (struct stat): Rename member pad0 to __glibc_reserved0.
11844 * sysdeps/s390/s390-32/bits/wordsize.h
11845 (__WORDSIZE32_SIZE_ULONG): New define.
11846 * sysdeps/s390/s390-64/bits/wordsize.h
11847 (__WORDSIZE32_SIZE_ULONG): Likewise.
11848 * sysdeps/generic/stdint.h (SIZE_MAX):
11849 Define as UL if __WORDSIZE32_SIZE_ULONG.
11852 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11853 (__glibc_reserved0): New variable.
11854 (sa_flags): Change type to int.
11856 * posix/Makefile (before-compile): Use += before-compile instead
11859 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11860 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11862 2014-03-20 Andreas Schwab <schwab@suse.de>
11865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11866 non-matching result from nscd.
11868 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11870 * scripts/bench.py: Moved to ...
11871 * benchtests/scripts/bench.py: ... here.
11872 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11874 2014-03-24 Andreas Schwab <schwab@suse.de>
11877 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11878 alloca_account and account alloca use for struct in6ailist.
11880 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11883 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11884 rounding mode to recompute results that overflow to infinity or
11886 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11888 * math/auto-libm-test-out: Regenerated.
11889 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11890 (ccosh_test): Likewise.
11891 (csin_test_data): Use plus_oflow.
11892 (csin_test): Use ALL_RM_TEST.
11893 (csinh_test_data): Use plus_oflow.
11894 (csinh_test): Use ALL_RM_TEST.
11895 * sysdeps/i386/fpu/libm-test-ulps: Update.
11896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11898 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11900 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11901 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11902 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11905 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11906 when x - 1 is zero.
11907 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11908 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11909 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11912 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11913 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11915 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11916 * sysdeps/i386/fpu/libm-test-ulps: Update.
11917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11919 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11921 * scripts/bench.pl: Remove file.
11922 * scripts/bench.py: New benchmark script.
11923 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11924 * benchtests/README: Mention python dependency.
11925 * scripts/pylintrc: New file.
11926 * scripts/pylint: New file.
11928 * bits/mathdef.h: Use #ifdef instead of #if.
11929 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11930 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11931 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11932 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11933 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11934 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11936 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11937 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11939 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11941 and strpbrk-ppc64 objects.
11942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11943 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11944 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11945 multiarch strpbrk for POWER7.
11946 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11947 multiarch strpbrk for PPC64.
11948 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11950 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11951 strpbrk for POWER7.
11953 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11955 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11956 (atan_test): Likewise.
11957 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11958 (atanh_test): Use ALL_RM_TEST.
11959 (atan2_test_data): Likewise.
11960 (cabs_test): Likewise.
11961 (cacosh_test): Likewise.
11962 (carg_test): Likewise.
11963 (casin_test): Likewise.
11964 (casinh_test): Likewise.
11965 (cbrt_test): Likewise.
11966 (csqrt_test): Likewise.
11967 (erf_test): Likewise.
11968 (erfc_test): Likewise.
11969 (pow10_test): Likewise.
11970 (exp2_test): Likewise.
11971 (hypot_test): Likewise.
11972 (j0_test): Likewise.
11973 (j1_test): Likewise.
11974 (lgamma_test): Likewise.
11975 (gamma_test): Likewise.
11976 (sincos_test): Likewise.
11977 (tanh_test): Likewise.
11978 (y0_test): Likewise.
11979 (y1_test): Likewise.
11980 * sysdeps/i386/fpu/libm-test-ulps: Update.
11981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11983 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11985 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11987 and strcspn-ppc64 objects.
11988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11989 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11990 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11991 multiarch strcspn for POWER7.
11992 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11993 multiarch strcspn for PPC64.
11994 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11996 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11997 strcspn for POWER7.
11999 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12001 * math/gen-libm-test.pl (generate_testfile): Expect only function
12002 name as argument to AUTO_TESTS_* and pass results for all rounding
12003 modes to parse_args.
12004 (parse_auto_input): Separate inputs of automatic tests from
12005 outputs before storing in %auto_tests.
12006 * math/libm-test.inc (acos_test_data): Update call to
12008 (acos_test): Use ALL_RM_TEST.
12009 (acos_tonearest_test_data): Remove.
12010 (acos_test_tonearest): Likewise.
12011 (acos_towardzero_test_data): Likewise.
12012 (acos_test_towardzero): Likewise.
12013 (acos_downward_test_data): Likewise.
12014 (acos_test_downward): Likewise.
12015 (acos_upward_test_data): Likewise.
12016 (acos_test_upward): Likewise.
12017 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12018 (asin_test_data): Likewise.
12019 (asin_test): Use ALL_RM_TEST.
12020 (asin_tonearest_test_data): Remove.
12021 (asin_test_tonearest): Likewise.
12022 (asin_towardzero_test_data): Likewise.
12023 (asin_test_towardzero): Likewise.
12024 (asin_downward_test_data): Likewise.
12025 (asin_test_downward): Likewise.
12026 (asin_upward_test_data): Likewise.
12027 (asin_test_upward): Likewise.
12028 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12029 (atan_test_data): Likewise.
12030 (atanh_test_data): Likewise.
12031 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12032 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12033 (carg_test_data): Likewise.
12034 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12035 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12036 (ccosh_test_data): Likewise.
12037 (cexp_test_data): Likewise.
12038 (clog_test_data): Likewise.
12039 (clog10_test_data): Likewise.
12040 (cos_test_data): Update call to AUTO_TESTS_f_f.
12041 (cos_test): Use ALL_RM_TEST.
12042 (cos_tonearest_test_data): Remove.
12043 (cos_test_tonearest): Likewise.
12044 (cos_towardzero_test_data): Likewise.
12045 (cos_test_towardzero): Likewise.
12046 (cos_downward_test_data): Likewise.
12047 (cos_test_downward): Likewise.
12048 (cos_upward_test_data): Likewise.
12049 (cos_test_upward): Likewise.
12050 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12051 (cosh_test): Use ALL_RM_TEST.
12052 (cosh_tonearest_test_data): Remove.
12053 (cosh_test_tonearest): Likewise.
12054 (cosh_towardzero_test_data): Likewise.
12055 (cosh_test_towardzero): Likewise.
12056 (cosh_downward_test_data): Likewise.
12057 (cosh_test_downward): Likewise.
12058 (cosh_upward_test_data): Likewise.
12059 (cosh_test_upward): Likewise.
12060 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12061 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12062 (ctan_test_data): Likewise.
12063 (ctan_test): Use ALL_RM_TEST.
12064 (ctan_tonearest_test_data): Remove.
12065 (ctan_test_tonearest): Likewise.
12066 (ctan_towardzero_test_data): Likewise.
12067 (ctan_test_towardzero): Likewise.
12068 (ctan_downward_test_data): Likewise.
12069 (ctan_test_downward): Likewise.
12070 (ctan_upward_test_data): Likewise.
12071 (ctan_test_upward): Likewise.
12072 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12073 (ctanh_test): Use ALL_RM_TEST.
12074 (ctanh_tonearest_test_data): Remove.
12075 (ctanh_test_tonearest): Likewise.
12076 (ctanh_towardzero_test_data): Likewise.
12077 (ctanh_test_towardzero): Likewise.
12078 (ctanh_downward_test_data): Likewise.
12079 (ctanh_test_downward): Likewise.
12080 (ctanh_upward_test_data): Likewise.
12081 (ctanh_test_upward): Likewise.
12082 (erf_test_data): Update call to AUTO_TESTS_f_f.
12083 (erfc_test_data): Likewise.
12084 (exp_test_data): Likewise.
12085 (exp_test): Use ALL_RM_TEST.
12086 (exp_tonearest_test_data): Remove.
12087 (exp_test_tonearest): Likewise.
12088 (exp_towardzero_test_data): Likewise.
12089 (exp_test_towardzero): Likewise.
12090 (exp_downward_test_data): Likewise.
12091 (exp_test_downward): Likewise.
12092 (exp_upward_test_data): Likewise.
12093 (exp_test_upward): Likewise.
12094 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12095 (exp10_test): Use ALL_RM_TEST.
12096 (exp10_tonearest_test_data): Remove.
12097 (exp10_test_tonearest): Likewise.
12098 (exp10_towardzero_test_data): Likewise.
12099 (exp10_test_towardzero): Likewise.
12100 (exp10_downward_test_data): Likewise.
12101 (exp10_test_downward): Likewise.
12102 (exp10_upward_test_data): Likewise.
12103 (exp10_test_upward): Likewise.
12104 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12105 (expm1_test_data): Likewise.
12106 (expm1_test): Use ALL_RM_TEST.
12107 (expm1_tonearest_test_data): Remove.
12108 (expm1_test_tonearest): Likewise.
12109 (expm1_towardzero_test_data): Likewise.
12110 (expm1_test_towardzero): Likewise.
12111 (expm1_downward_test_data): Likewise.
12112 (expm1_test_downward): Likewise.
12113 (expm1_upward_test_data): Likewise.
12114 (expm1_test_upward): Likewise.
12115 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12116 (fma_test): Use ALL_RM_TEST.
12117 (fma_towardzero_test_data): Remove.
12118 (fma_test_towardzero): Likewise.
12119 (fma_downward_test_data): Likewise.
12120 (fma_test_downward): Likewise.
12121 (fma_upward_test_data): Likewise.
12122 (fma_test_upward): Likewise.
12123 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12124 (j0_test_data): Update call to AUTO_TESTS_f_f.
12125 (j1_test_data): Likewise.
12126 (jn_test_data): Update call to AUTO_TESTS_if_f.
12127 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12128 (log_test_data): Update call to AUTO_TESTS_f_f.
12129 (log10_test_data): Likewise.
12130 (log1p_test_data): Likewise.
12131 (log2_test_data): Likewise.
12132 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12133 (pow_tonearest_test_data): Likewise.
12134 (sin_test_data): Update call to AUTO_TESTS_f_f.
12135 (sin_test): Use ALL_RM_TEST.
12136 (sin_tonearest_test_data): Remove.
12137 (sin_test_tonearest): Likewise.
12138 (sin_towardzero_test_data): Likewise.
12139 (sin_test_towardzero): Likewise.
12140 (sin_downward_test_data): Likewise.
12141 (sin_test_downward): Likewise.
12142 (sin_upward_test_data): Likewise.
12143 (sin_test_upward): Likewise.
12144 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12145 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12146 (sinh_test): Use ALL_RM_TEST.
12147 (sinh_tonearest_test_data): Remove.
12148 (sinh_test_tonearest): Likewise.
12149 (sinh_towardzero_test_data): Likewise.
12150 (sinh_test_towardzero): Likewise.
12151 (sinh_downward_test_data): Likewise.
12152 (sinh_test_downward): Likewise.
12153 (sinh_upward_test_data): Likewise.
12154 (sinh_test_upward): Likewise.
12155 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12156 (sqrt_test): Use ALL_RM_TEST.
12157 (sqrt_tonearest_test_data): Remove.
12158 (sqrt_test_tonearest): Likewise.
12159 (sqrt_towardzero_test_data): Likewise.
12160 (sqrt_test_towardzero): Likewise.
12161 (sqrt_downward_test_data): Likewise.
12162 (sqrt_test_downward): Likewise.
12163 (sqrt_upward_test_data): Likewise.
12164 (sqrt_test_upward): Likewise.
12165 (tan_test_data): Update call to AUTO_TESTS_f_f.
12166 (tan_test): Use ALL_RM_TEST.
12167 (tan_tonearest_test_data): Remove.
12168 (tan_test_tonearest): Likewise.
12169 (tan_towardzero_test_data): Likewise.
12170 (tan_test_towardzero): Likewise.
12171 (tan_downward_test_data): Likewise.
12172 (tan_test_downward): Likewise.
12173 (tan_upward_test_data): Likewise.
12174 (tan_test_upward): Likewise.
12175 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12176 (tgamma_test_data): Likewise.
12177 (y0_test_data): Likewise.
12178 (y1_test_data): Likewise.
12179 (yn_test_data): Update call to AUTO_TESTS_if_f.
12180 (main): Do not call removed functions.
12182 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12184 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12185 (ldexp_test_data): Remove.
12186 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12188 (scalb_test): Use ALL_RM_TEST.
12190 2014-03-19 Andreas Schwab <schwab@suse.de>
12192 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12194 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12197 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12198 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12199 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12201 (__ASSUME_PREADV): Undefine.
12202 (__ASSUME_PWRITEV): Likewise.
12204 2014-03-18 Roland McGrath <roland@hack.frob.com>
12206 * bits/mman-linux.h: Add comment about non-Linux use.
12207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12208 bits/mman-linux.h resting place.
12210 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12211 * bits/mman-linux.h: ... here.
12213 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12215 * conform/conformtest.pl: Add standard definition when calling C
12216 preprocessor on data files.
12217 (checknamespace): Remove unused variable.
12219 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12221 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12222 minus_oflow, plus_uflow and minus_uflow in expected results.
12223 * math/libm-test.inc (scalbn_test_data): Add more tests of
12224 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12226 (scalbn_test): Use ALL_RM_TEST.
12227 (scalbln_test_data): Add more tests of negative arguments. Use
12228 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12229 (scalbln_test): Use ALL_RM_TEST.
12231 2014-03-18 Roland McGrath <roland@hack.frob.com>
12233 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12235 2014-03-18 Will Newton <will.newton@linaro.org>
12237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12238 inaccurate comment.
12240 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12242 * Makerules [!subdir] (check-abi): Exit with error status if a
12245 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12247 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12248 for rint. Include results for all rounding modes.
12249 (nearbyint_test): Use ALL_RM_TEST.
12250 (rint_test_data): Include all tests used for nearbyint.
12252 2014-03-17 Will Newton <will.newton@linaro.org>
12254 * nptl/sysdeps/pthread/pthread.h: Revert previous
12257 * sysdeps/generic/ldsodefs.h: Revert previous
12260 * libio/genops.c: Revert previous change.
12261 * libio/libioP.h: Likewise.
12262 * stdio-common/vfprintf.c: Likewise.
12264 * sysdeps/generic/math_private.h: Revert previous
12267 * sysdeps/generic/math_private.h: Check whether
12268 HAVE_RM_CTX is defined with #ifdef rather
12271 * argp/argp-fmtstream.h: Check whether
12272 __STRICT_ANSI__ is defined with #ifdef rather
12274 * argp/argp.h: Likewise.
12276 * libio/genops.c: Check whether
12277 _IO_JUMPS_OFFSET is defined with #ifdef rather
12279 * libio/libioP.h: Likewise.
12280 * stdio-common/vfprintf.c: Likewise.
12282 * sysdeps/generic/ldsodefs.h: Check whether
12283 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12286 * nptl/sysdeps/pthread/pthread.h: Check
12287 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12290 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12292 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12294 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12298 * libio/fileops.c (_IO_file_open): Seek to end of file but
12299 don't cache the offset.
12300 (get_file_offset): Remove function.
12301 (do_ftell): Use cached offset when available.
12302 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12303 don't cache the offset.
12304 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12306 (do_one_test): Call it.
12307 (do_ftell_test): Fix up expected old offset for a+ mode.
12308 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12311 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12312 up test status with function return status.
12313 (do_write_test): Likewise.
12314 (do_append_test): Likewise.
12316 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12317 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12320 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12322 * math/gen-libm-test.pl (parse_args): Handle results specified for
12323 each rounding mode separately.
12324 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12325 tests and results from lrint_tonearest_test_data,
12326 lrint_towardzero_test_data, lrint_downward_test_data and
12327 lrint_upward_test_data.
12328 (lrint_test): Use ALL_RM_TEST.
12329 (lrint_tonearest_test_data): Remove.
12330 (lrint_test_tonearest): Likewise.
12331 (lrint_towardzero_test_data): Likewise.
12332 (lrint_test_towardzero): Likewise.
12333 (lrint_downward_test_data): Likewise.
12334 (lrint_test_downward): Likewise.
12335 (lrint_upward_test_data): Likewise.
12336 (lrint_test_upward): Likewise.
12337 (llrint_test_data): Merge in per-rounding-mode tests and results
12338 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12339 llrint_downward_test_data and llrint_upward_test_data.
12340 (llrint_test): Use ALL_RM_TEST.
12341 (llrint_tonearest_test_data): Remove.
12342 (llrint_test_tonearest): Likewise.
12343 (llrint_towardzero_test_data): Likewise.
12344 (llrint_test_towardzero): Likewise.
12345 (llrint_downward_test_data): Likewise.
12346 (llrint_test_downward): Likewise.
12347 (llrint_upward_test_data): Likewise.
12348 (llrint_test_upward): Likewise.
12349 (rint_test_data): Merge in per-rounding-mode tests and results
12350 from rint_tonearest_test_data, rint_towardzero_test_data,
12351 rint_downward_test_data and rint_upward_test_data. Add
12352 per-rounding-mode results for tests not in those arrays.
12353 (rint_test): Use ALL_RM_TEST.
12354 (rint_tonearest_test_data): Remove.
12355 (rint_test_tonearest): Likewise.
12356 (rint_towardzero_test_data): Likewise.
12357 (rint_test_towardzero): Likewise.
12358 (rint_downward_test_data): Likewise.
12359 (rint_test_downward): Likewise.
12360 (rint_upward_test_data): Likewise.
12361 (rint_test_upward): Likewise.
12362 (main): Don't call removed functions.
12364 2014-03-14 Roland McGrath <roland@hack.frob.com>
12366 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12367 "Compiled on ..." crapola. It is anti-useful.
12369 2014-03-14 Joseph Myers <joseph@codesourcery.com>
12371 * scripts/evaluate-test.sh: Handle fourth argument to determine
12372 whether test run should stop on failure.
12373 * Makeconfig (stop-on-test-failure): New variable.
12374 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12375 $(stop-on-test-failure).
12376 * Makefile (tests): Give a summary of results from testing and
12377 exit with failure status if they include an ERROR or FAIL.
12378 (xtests): Likewise.
12379 * manual/install.texi (Configuring and compiling): Mention
12380 stop-on-test-failure=y.
12381 * INSTALL: Regenerated.
12383 2014-03-14 Roland McGrath <roland@hack.frob.com>
12385 * scripts/versionlist.awk: New file.
12386 * Makerules [$(build-shared) = yes]
12387 (postclean-generated): Add Versions.def, not Versions.def.v and
12389 ($(common-objpfx)Versions.def.v.i): Target removed.
12390 ($(common-objpfx)Versions.def): New target.
12391 ($(common-objpfx)Versions.all): Depend on that rather that
12392 $(common-objpfx)Versions.def.v.
12393 * Versions.def: File removed.
12395 * Makeconfig (+gccwarn): Add -Wundef.
12396 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12397 a dl-sysdep.h breaking its contract.
12398 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12399 * include/stackinfo.h: New file.
12400 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12401 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12402 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12403 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12404 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12405 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12406 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12407 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12408 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12409 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12410 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12411 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12412 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12413 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12414 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12416 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12419 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12421 * math/libm-test.inc (round_test_data): Add more tests.
12424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12426 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12429 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12431 * math/libm-test.inc (ceil_test_data): Add more tests.
12433 * math/libm-test.inc (trunc_test_data): Add more tests related to
12436 2014-03-14 Roland McGrath <roland@hack.frob.com>
12438 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12439 with #if rather than #ifdef.
12440 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12442 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12444 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12445 first. Disable AVX-512 GCC support if assembler doesn't support
12447 * sysdeps/x86_64/configure: Regenerated.
12449 2014-03-13 Carlos O'Donell <carlos@redhat.com>
12451 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12452 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12453 (__old_pthread_attr_setstack): Likewise.
12454 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12455 [!_STACK_GROWS_DOWN]: Likewise.
12457 2014-03-13 Mike Frysinger <vapier@gentoo.org>
12459 * config.make.in (have-bash2): Delete.
12460 * configure.ac (libc_cv_have_bash2): Delete.
12461 * configure: Regenerate.
12462 * elf/Makefile (common-ldd-rewrite): Rename to ...
12463 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12464 (sh-ldd-rewrite): Delete.
12465 (bash-ldd-rewrite): Delete.
12466 (have-bash2): Delete checks.
12467 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12470 * config.make.in (have-ksh): Delete.
12472 * configure.ac (libc_cv_have_ksh): Delete.
12473 * configure: Regenerate.
12475 * elf/Makefile: Delete $(have-ksh) check.
12476 ($(objpfx)sotruss): Change KSH to BASH.
12477 * elf/sotruss.ksh: Rename to ...
12478 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12479 function style to match POSIX. Drop ksh vim mode setting.
12481 * manual/time.texi (Specifying the Time Zone with TZ): Change
12482 Tuesday to Thursday.
12484 * debug/tst-longjmp_chk2.c: Update header comment.
12485 (stackoverflow_handler): Add comment. Call assert on pass value.
12487 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12490 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12491 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12492 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12493 (La_x86_64_vector): Add zmm.
12494 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12495 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12496 ($(objpfx)tst-audit10): New target.
12497 ($(objpfx)tst-audit10.out): Likewise.
12498 (tst-audit10-ENV): New.
12499 (AVX512-CFLAGS): Likewise.
12500 (CFLAGS-tst-audit10.c): Likewise.
12501 (CFLAGS-tst-auditmod10a.c): Likewise.
12502 (CFLAGS-tst-auditmod10b.c): Likewise.
12503 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12504 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12505 * sysdeps/x86_64/configure: Regenerated.
12506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12507 AVX-512 zmm register support.
12508 (_dl_x86_64_save_sse): Likewise.
12509 (_dl_x86_64_restore_sse): Likewise.
12510 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12511 size vector registers.
12512 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12513 (ZMM_SIZE): Likewise.
12514 * sysdeps/x86_64/tst-audit10.c: New file.
12515 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12516 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12518 2014-03-13 Roland McGrath <roland@hack.frob.com>
12520 * configure.ac (HAVE_EHDR_START): New check.
12521 * configure: Regenerated.
12522 * config.h.in (HAVE_EHDR_START): New #undef.
12523 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12524 assuming the lowest-addressed segment maps the start of the file.
12526 2014-03-13 Joseph Myers <joseph@codesourcery.com>
12528 * INSTALL: Regenerated.
12530 2014-03-13 Will Newton <will.newton@linaro.org>
12532 * manual/setjmp.texi (System V contexts): Improve
12533 clarity and grammar of documentation.
12535 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12538 * elf/Makefile (tests): Add tst-pie2.
12539 (tests-pie): Add tst-pie2.
12540 * elf/tst-pie2.c: New file.
12541 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12543 * elf/rtld.c (map_doit): Load executable as lt_executable.
12544 (dl_main): Likewise.
12546 2014-03-12 Joseph Myers <joseph@codesourcery.com>
12549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12550 (__ASSUME_PSELECT): Undefine.
12552 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12556 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12558 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12559 selector for static builds.
12561 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12564 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12567 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12569 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12570 IFUNC selector for static builds.
12572 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12574 * sysdeps/mips/math_private.h [__mips_hard_float]
12575 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12576 libc_feresetround_mips_ctx.
12577 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12578 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12579 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12582 * math/s_nextafter.c (__nextafter): Do not return value from
12583 overflowing computation.
12584 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12585 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12586 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12590 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12591 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12593 2014-03-11 Roland McGrath <roland@hack.frob.com>
12595 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12596 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12597 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12598 the new mov targetting sp.
12600 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12603 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12604 Define it for static builds as well.
12605 (NO_BZERO_IMPL): Likewise.
12607 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12609 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12610 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12611 multiarch strspn for PPC64.
12612 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12613 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12615 (__libc_ifunc_impl_list): Likewise.
12616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12617 multiarch optimizations
12618 * string/strspn.c (strspn): Using macro to redefine symbol name.
12620 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12621 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12623 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12624 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12625 multiarch strncat for PPC64.
12626 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12627 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12629 (__libc_ifunc_impl_list): Likewise.
12630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12631 multiarch optimizations
12633 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12636 * nscd/nscd.service: Make service type forking.
12638 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12640 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12641 sign in non default rounding modes.
12642 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12644 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12646 * math/libm-test.inc (ALL_RM_TEST): New macro.
12647 (ceil_test): Use ALL_RM_TEST.
12648 (cimag_test): Likewise.
12649 (conj_test): Likewise.
12650 (copysign_test): Likewise.
12651 (cproj_test): Likewise.
12652 (creal_test): Likewise.
12653 (fabs_test): Likewise.
12654 (floor_test): Likewise.
12655 (fmax_test): Likewise.
12656 (fmin_test): Likewise.
12657 (fmod_test): Likewise.
12658 (fpclassify_test): Likewise.
12659 (frexp_test): Likewise.
12660 (ilogb_test): Likewise.
12661 (isfinite_test): Likewise.
12662 (finite_test): Likewise.
12663 (isgreater_test): Likewise.
12664 (isgreaterequal_test): Likewise.
12665 (isinf_test): Likewise.
12666 (isless_test): Likewise.
12667 (islessequal_test): Likewise.
12668 (islessgreater_test): Likewise.
12669 (isnan_test): Likewise.
12670 (isnormal_test): Likewise.
12671 (issignaling_test): Likewise.
12672 (isunordered_test): Likewise.
12673 (logb_test): Likewise.
12674 (logb_downward_test_data): Remove.
12675 (logb_test_downward): Likewise.
12676 (lround_test): Use ALL_RM_TEST.
12677 (llround_test): Likewise.
12678 (modf_test): Likewise.
12679 (nexttoward_test): Likewise.
12680 (remainder_test): Likewise.
12681 (drem_test): Likewise.
12682 (remainder_tonearest_test_data): Likewise.
12683 (remainder_test_tonearest): Likewise.
12684 (drem_test_tonearest): Likewise.
12685 (remainder_towardzero_test_data): Likewise.
12686 (remainder_test_towardzero): Likewise.
12687 (drem_test_towardzero): Likewise.
12688 (remainder_downward_test_data): Likewise.
12689 (remainder_test_downward): Likewise.
12690 (drem_test_downward): Likewise.
12691 (remainder_upward_test_data): Likewise.
12692 (remainder_test_upward): Likewise.
12693 (drem_test_upward): Likewise.
12694 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12695 (round_test): Use ALL_RM_TEST.
12696 (signbit_test): Likewise.
12697 (trunc_test): Likewise.
12698 (significand_test): Likewise.
12699 (main): Don't call removed functions.
12701 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12704 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12705 || __USE_XOPEN2K8].
12706 (ILL_ILLOPN): Likewise.
12707 (ILL_ILLADR): Likewise.
12708 (ILL_ILLTRP): Likewise.
12709 (ILL_PRVOPC): Likewise.
12710 (ILL_PRVREG): Likewise.
12711 (ILL_COPROC): Likewise.
12712 (ILL_BADSTK): Likewise.
12713 (FPE_INTDIV): Likewise.
12714 (FPE_INTOVF): Likewise.
12715 (FPE_FLTDIV): Likewise.
12716 (FPE_FLTOVF): Likewise.
12717 (FPE_FLTUND): Likewise.
12718 (FPE_FLTRES): Likewise.
12719 (FPE_FLTINV): Likewise.
12720 (FPE_FLTSUB): Likewise.
12721 (SEGV_MAPERR): Likewise.
12722 (SEGV_ACCERR): Likewise.
12723 (BUS_ADRALN): Likewise.
12724 (BUS_ADRERR): Likewise.
12725 (BUS_OBJERR): Likewise.
12726 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12727 (TRAP_TRACE): Likewise.
12728 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12730 (CLD_KILLED): Likewise.
12731 (CLD_DUMPED): Likewise.
12732 (CLD_TRAPPED): Likewise.
12733 (CLD_STOPPED): Likewise.
12734 (CLD_CONTINUED): Likewise.
12735 (POLL_IN): Likewise.
12736 (POLL_OUT): Likewise.
12737 (POLL_MSG): Likewise.
12738 (POLL_ERR): Likewise.
12739 (POLL_PRI): Likewise.
12740 (POLL_HUP): Likewise.
12741 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12743 (ILL_ILLOPN): Likewise.
12744 (ILL_ILLADR): Likewise.
12745 (ILL_ILLTRP): Likewise.
12746 (ILL_PRVOPC): Likewise.
12747 (ILL_PRVREG): Likewise.
12748 (ILL_COPROC): Likewise.
12749 (ILL_BADSTK): Likewise.
12750 (FPE_INTDIV): Likewise.
12751 (FPE_INTOVF): Likewise.
12752 (FPE_FLTDIV): Likewise.
12753 (FPE_FLTOVF): Likewise.
12754 (FPE_FLTUND): Likewise.
12755 (FPE_FLTRES): Likewise.
12756 (FPE_FLTINV): Likewise.
12757 (FPE_FLTSUB): Likewise.
12758 (SEGV_MAPERR): Likewise.
12759 (SEGV_ACCERR): Likewise.
12760 (BUS_ADRALN): Likewise.
12761 (BUS_ADRERR): Likewise.
12762 (BUS_OBJERR): Likewise.
12763 (BUS_MCEERR_AR): Likewise.
12764 (BUS_MCEERR_AO): Likewise.
12765 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12766 (TRAP_TRACE): Likewise.
12767 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12769 (CLD_KILLED): Likewise.
12770 (CLD_DUMPED): Likewise.
12771 (CLD_TRAPPED): Likewise.
12772 (CLD_STOPPED): Likewise.
12773 (CLD_CONTINUED): Likewise.
12774 (POLL_IN): Likewise.
12775 (POLL_OUT): Likewise.
12776 (POLL_MSG): Likewise.
12777 (POLL_ERR): Likewise.
12778 (POLL_PRI): Likewise.
12779 (POLL_HUP): Likewise.
12780 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12781 (ILL_ILLOPN): Likewise.
12782 (ILL_ILLADR): Likewise.
12783 (ILL_ILLTRP): Likewise.
12784 (ILL_PRVOPC): Likewise.
12785 (ILL_PRVREG): Likewise.
12786 (ILL_COPROC): Likewise.
12787 (ILL_BADSTK): Likewise.
12788 (FPE_INTDIV): Likewise.
12789 (FPE_INTOVF): Likewise.
12790 (FPE_FLTDIV): Likewise.
12791 (FPE_FLTOVF): Likewise.
12792 (FPE_FLTUND): Likewise.
12793 (FPE_FLTRES): Likewise.
12794 (FPE_FLTINV): Likewise.
12795 (FPE_FLTSUB): Likewise.
12796 (SEGV_MAPERR): Likewise.
12797 (SEGV_ACCERR): Likewise.
12798 (BUS_ADRALN): Likewise.
12799 (BUS_ADRERR): Likewise.
12800 (BUS_OBJERR): Likewise.
12801 (BUS_MCEERR_AR): Likewise.
12802 (BUS_MCEERR_AO): Likewise.
12803 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12804 (TRAP_TRACE): Likewise.
12805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12807 (CLD_KILLED): Likewise.
12808 (CLD_DUMPED): Likewise.
12809 (CLD_TRAPPED): Likewise.
12810 (CLD_STOPPED): Likewise.
12811 (CLD_CONTINUED): Likewise.
12812 (POLL_IN): Likewise.
12813 (POLL_OUT): Likewise.
12814 (POLL_MSG): Likewise.
12815 (POLL_ERR): Likewise.
12816 (POLL_PRI): Likewise.
12817 (POLL_HUP): Likewise.
12818 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12820 (ILL_ILLOPN): Likewise.
12821 (ILL_ILLADR): Likewise.
12822 (ILL_ILLTRP): Likewise.
12823 (ILL_PRVOPC): Likewise.
12824 (ILL_PRVREG): Likewise.
12825 (ILL_COPROC): Likewise.
12826 (ILL_BADSTK): Likewise.
12827 (ILL_BADIADDR): Likewise.
12828 (ILL_BREAK): Likewise.
12829 (FPE_INTDIV): Likewise.
12830 (FPE_INTOVF): Likewise.
12831 (FPE_FLTDIV): Likewise.
12832 (FPE_FLTOVF): Likewise.
12833 (FPE_FLTUND): Likewise.
12834 (FPE_FLTRES): Likewise.
12835 (FPE_FLTINV): Likewise.
12836 (FPE_FLTSUB): Likewise.
12837 (FPE_DECOVF): Likewise.
12838 (FPE_DECDIV): Likewise.
12839 (FPE_DECERR): Likewise.
12840 (FPE_INVASC): Likewise.
12841 (FPE_INVDEC): Likewise.
12842 (SEGV_MAPERR): Likewise.
12843 (SEGV_ACCERR): Likewise.
12844 (SEGV_PSTKOVF): Likewise.
12845 (BUS_ADRALN): Likewise.
12846 (BUS_ADRERR): Likewise.
12847 (BUS_OBJERR): Likewise.
12848 (BUS_MCEERR_AR): Likewise.
12849 (BUS_MCEERR_AO): Likewise.
12850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12851 (TRAP_TRACE): Likewise.
12852 (TRAP_BRANCH): Likewise.
12853 (TRAP_HWBKPT): Likewise.
12854 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12856 (CLD_KILLED): Likewise.
12857 (CLD_DUMPED): Likewise.
12858 (CLD_TRAPPED): Likewise.
12859 (CLD_STOPPED): Likewise.
12860 (CLD_CONTINUED): Likewise.
12861 (POLL_IN): Likewise.
12862 (POLL_OUT): Likewise.
12863 (POLL_MSG): Likewise.
12864 (POLL_ERR): Likewise.
12865 (POLL_PRI): Likewise.
12866 (POLL_HUP): Likewise.
12867 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12868 (ILL_ILLOPN): Likewise.
12869 (ILL_ILLADR): Likewise.
12870 (ILL_ILLTRP): Likewise.
12871 (ILL_PRVOPC): Likewise.
12872 (ILL_PRVREG): Likewise.
12873 (ILL_COPROC): Likewise.
12874 (ILL_BADSTK): Likewise.
12875 (FPE_INTDIV): Likewise.
12876 (FPE_INTOVF): Likewise.
12877 (FPE_FLTDIV): Likewise.
12878 (FPE_FLTOVF): Likewise.
12879 (FPE_FLTUND): Likewise.
12880 (FPE_FLTRES): Likewise.
12881 (FPE_FLTINV): Likewise.
12882 (FPE_FLTSUB): Likewise.
12883 (SEGV_MAPERR): Likewise.
12884 (SEGV_ACCERR): Likewise.
12885 (BUS_ADRALN): Likewise.
12886 (BUS_ADRERR): Likewise.
12887 (BUS_OBJERR): Likewise.
12888 (BUS_MCEERR_AR): Likewise.
12889 (BUS_MCEERR_AO): Likewise.
12890 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12891 (TRAP_TRACE): Likewise.
12892 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12894 (CLD_KILLED): Likewise.
12895 (CLD_DUMPED): Likewise.
12896 (CLD_TRAPPED): Likewise.
12897 (CLD_STOPPED): Likewise.
12898 (CLD_CONTINUED): Likewise.
12899 (POLL_IN): Likewise.
12900 (POLL_OUT): Likewise.
12901 (POLL_MSG): Likewise.
12902 (POLL_ERR): Likewise.
12903 (POLL_PRI): Likewise.
12904 (POLL_HUP): Likewise.
12905 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12906 (ILL_ILLOPN): Likewise.
12907 (ILL_ILLADR): Likewise.
12908 (ILL_ILLTRP): Likewise.
12909 (ILL_PRVOPC): Likewise.
12910 (ILL_PRVREG): Likewise.
12911 (ILL_COPROC): Likewise.
12912 (ILL_BADSTK): Likewise.
12913 (FPE_INTDIV): Likewise.
12914 (FPE_INTOVF): Likewise.
12915 (FPE_FLTDIV): Likewise.
12916 (FPE_FLTOVF): Likewise.
12917 (FPE_FLTUND): Likewise.
12918 (FPE_FLTRES): Likewise.
12919 (FPE_FLTINV): Likewise.
12920 (FPE_FLTSUB): Likewise.
12921 (SEGV_MAPERR): Likewise.
12922 (SEGV_ACCERR): Likewise.
12923 (BUS_ADRALN): Likewise.
12924 (BUS_ADRERR): Likewise.
12925 (BUS_OBJERR): Likewise.
12926 (BUS_MCEERR_AR): Likewise.
12927 (BUS_MCEERR_AO): Likewise.
12928 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12929 (TRAP_TRACE): Likewise.
12930 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12932 (CLD_KILLED): Likewise.
12933 (CLD_DUMPED): Likewise.
12934 (CLD_TRAPPED): Likewise.
12935 (CLD_STOPPED): Likewise.
12936 (CLD_CONTINUED): Likewise.
12937 (POLL_IN): Likewise.
12938 (POLL_OUT): Likewise.
12939 (POLL_MSG): Likewise.
12940 (POLL_ERR): Likewise.
12941 (POLL_PRI): Likewise.
12942 (POLL_HUP): Likewise.
12943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12944 (ILL_ILLOPN): Likewise.
12945 (ILL_ILLADR): Likewise.
12946 (ILL_ILLTRP): Likewise.
12947 (ILL_PRVOPC): Likewise.
12948 (ILL_PRVREG): Likewise.
12949 (ILL_COPROC): Likewise.
12950 (ILL_BADSTK): Likewise.
12951 (FPE_INTDIV): Likewise.
12952 (FPE_INTOVF): Likewise.
12953 (FPE_FLTDIV): Likewise.
12954 (FPE_FLTOVF): Likewise.
12955 (FPE_FLTUND): Likewise.
12956 (FPE_FLTRES): Likewise.
12957 (FPE_FLTINV): Likewise.
12958 (FPE_FLTSUB): Likewise.
12959 (SEGV_MAPERR): Likewise.
12960 (SEGV_ACCERR): Likewise.
12961 (BUS_ADRALN): Likewise.
12962 (BUS_ADRERR): Likewise.
12963 (BUS_OBJERR): Likewise.
12964 (BUS_MCEERR_AR): Likewise.
12965 (BUS_MCEERR_AO): Likewise.
12966 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12967 (TRAP_TRACE): Likewise.
12968 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12970 (CLD_KILLED): Likewise.
12971 (CLD_DUMPED): Likewise.
12972 (CLD_TRAPPED): Likewise.
12973 (CLD_STOPPED): Likewise.
12974 (CLD_CONTINUED): Likewise.
12975 (POLL_IN): Likewise.
12976 (POLL_OUT): Likewise.
12977 (POLL_MSG): Likewise.
12978 (POLL_ERR): Likewise.
12979 (POLL_PRI): Likewise.
12980 (POLL_HUP): Likewise.
12981 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12982 (ILL_ILLOPN): Likewise.
12983 (ILL_ILLADR): Likewise.
12984 (ILL_ILLTRP): Likewise.
12985 (ILL_PRVOPC): Likewise.
12986 (ILL_PRVREG): Likewise.
12987 (ILL_COPROC): Likewise.
12988 (ILL_BADSTK): Likewise.
12989 (ILL_DBLFLT): Likewise.
12990 (ILL_HARDWALL): Likewise.
12991 (FPE_INTDIV): Likewise.
12992 (FPE_INTOVF): Likewise.
12993 (FPE_FLTDIV): Likewise.
12994 (FPE_FLTOVF): Likewise.
12995 (FPE_FLTUND): Likewise.
12996 (FPE_FLTRES): Likewise.
12997 (FPE_FLTINV): Likewise.
12998 (FPE_FLTSUB): Likewise.
12999 (SEGV_MAPERR): Likewise.
13000 (SEGV_ACCERR): Likewise.
13001 (BUS_ADRALN): Likewise.
13002 (BUS_ADRERR): Likewise.
13003 (BUS_OBJERR): Likewise.
13004 (BUS_MCEERR_AR): Likewise.
13005 (BUS_MCEERR_AO): Likewise.
13006 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13007 (TRAP_TRACE): Likewise.
13008 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13010 (CLD_KILLED): Likewise.
13011 (CLD_DUMPED): Likewise.
13012 (CLD_TRAPPED): Likewise.
13013 (CLD_STOPPED): Likewise.
13014 (CLD_CONTINUED): Likewise.
13015 (POLL_IN): Likewise.
13016 (POLL_OUT): Likewise.
13017 (POLL_MSG): Likewise.
13018 (POLL_ERR): Likewise.
13019 (POLL_PRI): Likewise.
13020 (POLL_HUP): Likewise.
13021 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13022 (ILL_ILLOPN): Likewise.
13023 (ILL_ILLADR): Likewise.
13024 (ILL_ILLTRP): Likewise.
13025 (ILL_PRVOPC): Likewise.
13026 (ILL_PRVREG): Likewise.
13027 (ILL_COPROC): Likewise.
13028 (ILL_BADSTK): Likewise.
13029 (FPE_INTDIV): Likewise.
13030 (FPE_INTOVF): Likewise.
13031 (FPE_FLTDIV): Likewise.
13032 (FPE_FLTOVF): Likewise.
13033 (FPE_FLTUND): Likewise.
13034 (FPE_FLTRES): Likewise.
13035 (FPE_FLTINV): Likewise.
13036 (FPE_FLTSUB): Likewise.
13037 (SEGV_MAPERR): Likewise.
13038 (SEGV_ACCERR): Likewise.
13039 (BUS_ADRALN): Likewise.
13040 (BUS_ADRERR): Likewise.
13041 (BUS_OBJERR): Likewise.
13042 (BUS_MCEERR_AR): Likewise.
13043 (BUS_MCEERR_AO): Likewise.
13044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13045 (TRAP_TRACE): Likewise.
13046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13048 (CLD_KILLED): Likewise.
13049 (CLD_DUMPED): Likewise.
13050 (CLD_TRAPPED): Likewise.
13051 (CLD_STOPPED): Likewise.
13052 (CLD_CONTINUED): Likewise.
13053 (POLL_IN): Likewise.
13054 (POLL_OUT): Likewise.
13055 (POLL_MSG): Likewise.
13056 (POLL_ERR): Likewise.
13057 (POLL_PRI): Likewise.
13058 (POLL_HUP): Likewise.
13059 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13060 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13063 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13064 before #include of <time.h>.
13065 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13066 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13067 (test-xfail-UNIX98/sched.h/conform): Likewise.
13069 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13071 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13072 error absence of trapping exception support.
13073 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13075 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13077 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13078 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13079 * timezone/Makefile (testdata): Move definition above include of
13081 (test-zones): New variable.
13082 (tests-special): Add zone files.
13083 (build-testdata): Use $(evaluate-test).
13085 * elf/Makefile (tests-special): Rename tests to end with .out.
13086 ($(objpfx)noload-mem): Likewise.
13087 ($(objpfx)tst-leaks1-mem): Likewise.
13088 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13089 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13090 $(objpfx)test-iconvconfig.out.
13091 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13092 set -e inside subshell and redirect output to file.
13093 * iconvdata/Makefile (generated): Rename tests to end with .out.
13095 (tests-special): Rename tests to end with .out.
13096 ($(objpfx)mtrace-tst-loading): Likewise.
13097 * intl/Makefile (generated): Likewise.
13098 (tests-special): Likewise.
13099 ($(objpfx)mtrace-tst-gettext): Likewise.
13100 * misc/Makefile (generated): Likewise.
13101 (tests-special): Likewise.
13102 ($(objpfx)tst-error1-mem): Likewise.
13103 * nptl/Makefile (tests-special): Likewise.
13104 ($(objpfx)tst-stack3-mem): Likewise.
13105 (generated): Likewise.
13106 * posix/Makefile (generated): Likewise.
13107 (tests-special): Likewise.
13108 (xtests-special): Likewise.
13109 ($(objpfx)tst-fnmatch-mem): Likewise.
13110 ($(objpfx)bug-regex2-mem): Likewise.
13111 ($(objpfx)bug-regex14-mem): Likewise.
13112 ($(objpfx)bug-regex21-mem): Likewise.
13113 ($(objpfx)bug-regex31-mem): Likewise.
13114 ($(objpfx)tst-vfork3-mem): Likewise.
13115 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13116 ($(objpfx)tst-pcre-mem): Likewise.
13117 ($(objpfx)tst-boost-mem): Likewise.
13118 ($(objpfx)bug-ga2-mem): Likewise.
13119 ($(objpfx)bug-glob2-mem): Likewise.
13120 * resolv/Makefile (generate): Likewise.
13121 (tests-special): Likewise.
13122 (xtests-special): Likewise.
13123 (generated): Likewise.
13124 ($(objpfx)mtrace-tst-leaks): Likewise.
13125 ($(objpfx)mtrace-tst-leaks2): Likewise.
13127 * scripts/merge-test-results.sh: New file.
13128 * Makefile (tests-special-notdir): New variable.
13129 (tests): Run merge-test-results.sh.
13130 (xtests): Likewise.
13131 * Rules (tests-special-notdir): New variable.
13132 (xtests-special-notdir): Likewise.
13133 (tests): Run merge-test-results.sh
13134 (xtests): Likewise.
13136 * Makeconfig (test-xfail-name): New variable.
13137 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13138 compute variable name for expected failures.
13139 * conform/Makefile (conformtest-headers-data): New variable.
13140 (conformtest-standards): Likewise.
13141 (conformtest-headers-ISO): Likewise.
13142 (conformtest-headers-ISO99): Likewise.
13143 (conformtest-headers-ISO11): Likewise.
13144 (conformtest-headers-POSIX): Likewise.
13145 (conformtest-headers-XPG3): Likewise.
13146 (conformtest-headers-XPG4): Likewise.
13147 (conformtest-headers-UNIX98): Likewise.
13148 (conformtest-headers-XOPEN2K): Likewise.
13149 (conformtest-headers-POSIX2008): Likewise.
13150 (conformtest-headers-XOPEN2K8): Likewise.
13151 (conformtest-header-list-base): Likewise.
13152 (conformtest-header-list-tests): Likewise.
13153 (conformtest-header-base): Likewise.
13154 (conformtest-header-tests): Likewise.
13155 (tests-special): Add $(conformtest-header-list-tests). If
13156 [$(fast-check) && !$(cross-compiling)], add
13157 $(conformtest-header-tests) instead of
13158 $(objpfx)run-conformtest.out.
13159 (generated): Add $(conformtest-header-list-base). If
13160 [$(fast-check) && !$(cross-compiling)], add
13161 $(conformtest-header-base). Remove previous setting.
13162 ($(conformtest-header-list-tests)): New target.
13163 (test-xfail-run-conformtest): Remove variable.
13164 ($(objpfx)run-conformtest.out): Remove target.
13165 (test-xfail-ISO11/complex.h/conform): New variable.
13166 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13167 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13168 (test-xfail-XPG3/varargs.h/conform): Likewise.
13169 (test-xfail-XPG4/varargs.h/conform): Likewise.
13170 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13171 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13172 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13173 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13174 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13175 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13176 (test-xfail-XPG3/ftw.h/conform): Likewise.
13177 (test-xfail-XPG3/grp.h/conform): Likewise.
13178 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13179 (test-xfail-XPG3/limits.h/conform): Likewise.
13180 (test-xfail-XPG3/pwd.h/conform): Likewise.
13181 (test-xfail-XPG3/search.h/conform): Likewise.
13182 (test-xfail-XPG3/signal.h/conform): Likewise.
13183 (test-xfail-XPG3/stdio.h/conform): Likewise.
13184 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13185 (test-xfail-XPG3/string.h/conform): Likewise.
13186 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13187 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13188 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13189 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13190 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13191 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13192 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13193 (test-xfail-XPG3/termios.h/conform): Likewise.
13194 (test-xfail-XPG3/time.h/conform): Likewise.
13195 (test-xfail-XPG3/unistd.h/conform): Likewise.
13196 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13197 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13198 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13199 (test-xfail-XPG4/netdb.h/conform): Likewise.
13200 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13201 (test-xfail-XPG4/signal.h/conform): Likewise.
13202 (test-xfail-XPG4/stdio.h/conform): Likewise.
13203 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13204 (test-xfail-XPG4/stropts.h/conform): Likewise.
13205 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13206 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13207 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13208 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13209 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13210 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13211 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13212 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13213 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13214 (test-xfail-XPG4/termios.h/conform): Likewise.
13215 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13216 (test-xfail-XPG4/unistd.h/conform): Likewise.
13217 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13218 (test-xfail-POSIX/sched.h/conform): Likewise.
13219 (test-xfail-POSIX/signal.h/conform): Likewise.
13220 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13221 (test-xfail-POSIX/tar.h/conform): Likewise.
13222 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13223 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13224 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13225 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13226 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13227 (test-xfail-UNIX98/sched.h/conform): Likewise.
13228 (test-xfail-UNIX98/signal.h/conform): Likewise.
13229 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13230 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13231 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13232 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13233 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13234 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13235 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13236 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13237 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13238 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13239 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13240 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13241 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13242 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13243 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13244 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13245 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13246 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13247 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13248 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13249 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13250 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13251 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13252 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13253 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13254 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13255 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13256 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13257 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13258 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13259 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13260 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13261 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13262 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13263 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13264 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13265 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13266 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13267 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13268 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13269 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13270 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13271 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13272 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13273 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13274 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13275 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13276 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13277 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13278 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13279 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13280 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13281 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13282 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13283 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13284 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13285 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13286 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13287 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13288 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13289 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13290 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13291 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13292 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13293 (conformtest-cc-flags): Likewise.
13294 ($(conformtest-header-tests): New target.
13295 * conform/check-header-lists.sh: New file.
13296 * conform/run-conformtest.sh: Remove.
13298 * conform/conformtest.pl: Allow ' and \ in values given for
13300 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13302 [POSIX] (sys/types.h): Likewise.
13303 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13305 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13307 * conform/data/signal.h-data (SIGIO): Remove expectation.
13308 [XPG3] (SIGBUS): Do not expect.
13309 [POSIX || XPG3] (SIGPOLL): Likewise.
13310 [POSIX || XPG3] (SIGPROF): Likewise.
13311 [POSIX || XPG3] (SIGSYS): Likewise.
13312 [XPG3] (SIGTRAP): Likewise.
13313 [POSIX || XPG3] (SIGURG): Likewise.
13314 [POSIX || XPG3] (SIGVTALRM): Likewise.
13315 [POSIX || XPG3] (SIGXCPU): Likewise.
13316 [POSIX || XPG3] (SIGXFSZ): Likewise.
13317 [POSIX] (SA_SIGINFO): Expect.
13318 [XPG3] (siginfo_t): Do not expect type or contents.
13319 [POSIX] (si_pid): Do not expect element.
13320 [POSIX] (si_uid): Likewise.
13321 [POSIX] (si_addr): Likewise.
13322 [POSIX] (si_status): Likewise.
13323 [POSIX] (si_band): Likewise.
13324 [XPG4] (si_value): Likewise.
13325 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13326 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13327 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13328 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13329 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13330 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13331 [POSIX || XPG3] (ILL_COPROC): Likewise.
13332 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13333 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13334 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13335 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13336 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13337 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13338 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13339 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13340 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13341 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13342 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13343 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13344 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13345 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13346 [POSIX || XPG3] (CLD_EXITED): Likewise.
13347 [POSIX || XPG3] (CLD_KILLED): Likewise.
13348 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13349 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13350 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13351 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13352 [POSIX || XPG3] (POLL_IN): Likewise.
13353 [POSIX || XPG3] (POLL_OUT): Likewise.
13354 [POSIX || XPG3] (POLL_MSG): Likewise.
13355 [POSIX || XPG3] (POLL_ERR): Likewise.
13356 [POSIX || XPG3] (POLL_PRI): Likewise.
13357 [POSIX || XPG3] (POLL_HUP): Likewise.
13358 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13359 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13360 (SIG*): Do not allow.
13361 [XPG3] (si_*): Likewise.
13362 [XPG3] (SI_*): Likewise.
13363 [XPG3 || XPG4] (sigev_*): Likewise.
13364 [XPG3 || XPG4] (SIGEV_*): Likewise.
13365 [XPG3 || XPG4] (sival_*): Likewise.
13366 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13367 [POSIX || XPG3] (BUS_*): Likewise.
13368 [POSIX || XPG3] (CLD_*): Likewise.
13369 [POSIX || XPG3] (FPE_*): Likewise.
13370 [POSIX || XPG3] (ILL_*): Likewise.
13371 [POSIX || XPG3] (POLL_*): Likewise.
13372 [POSIX || XPG3] (SEGV_*): Likewise.
13373 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13374 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13375 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13376 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13377 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13378 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13379 Specify type and value.
13380 (TVERSLEN): Likewise.
13381 (REGTYPE): Likewise.
13382 (AREGTYPE): Likewise.
13383 (LNKTYPE): Likewise.
13384 (SYMTYPE): Likewise.
13385 (CHRTYPE): Likewise.
13386 (BLKTYPE): Likewise.
13387 (DIRTYPE): Likewise.
13388 (FIFOTYPE): Likewise.
13389 (CONTTYPE): Likewise.
13393 (TUREAD): Likewise.
13394 (TUWRITE): Likewise.
13395 (TUEXEC): Likewise.
13396 (TGREAD): Likewise.
13397 (TGWRITE): Likewise.
13398 (TGEXEC): Likewise.
13399 (TOREAD): Likewise.
13400 (TOWRITE): Likewise.
13401 (TOEXEC): Likewise.
13402 [POSIX] (TSVTX): Expect constant.
13404 2014-03-06 Joseph Myers <joseph@codesourcery.com>
13406 * Makefile (tests): Change dependencies to ....
13407 (tests-special): ... additions to this variable.
13408 (tests): Depend on $(tests-special).
13409 * Makerules (check-abi-list): New variable.
13410 (check-abi): Depend on $(check-abi-list).
13411 [$(subdir) = elf] (tests-special): Add
13412 $(objpfx)check-abi-libc.out.
13413 [$(build-shared) = yes && subdir] (tests-special): Add
13415 [$(build-shared) = yes && subdir] (tests): Do not depend on
13417 * Rules (tests): Depend on $(tests-special).
13418 (xtests): Depend on $(xtests-special).
13419 * catgets/Makefile (tests): Change dependencies to ....
13420 (tests-special): ... additions to this variable.
13421 * conform/Makefile (tests): Change dependencies to ....
13422 (tests-special): ... additions to this variable.
13423 * elf/Makefile (tests): Change dependencies to ....
13424 (tests-special): ... additions to this variable.
13425 * grp/Makefile (tests): Change dependencies to ....
13426 (tests-special): ... additions to this variable.
13427 * iconv/Makefile (xtests): Change dependencies to ....
13428 (xtests-special): ... additions to this variable.
13429 * iconvdata/Makefile (tests): Change dependencies to ....
13430 (tests-special): ... additions to this variable.
13431 * intl/Makefile (tests): Change dependencies to ....
13432 (tests-special): ... additions to this variable. Also add
13433 $(objpfx)tst-gettext.out.
13434 * io/Makefile (tests): Change dependencies to ....
13435 (tests-special): ... additions to this variable.
13436 * libio/Makefile (tests): Change dependencies to ....
13437 (tests-special): ... additions to this variable.
13438 * malloc/Makefile (tests): Change dependencies to ....
13439 (tests-special): ... additions to this variable.
13440 * misc/Makefile (tests): Change dependencies to ....
13441 (tests-special): ... additions to this variable.
13442 * nptl/Makefile (tests): Change dependencies to ....
13443 (tests-special): ... additions to this variable.
13444 * nptl_db/Makefile (tests): Change dependencies to ....
13445 (tests-special): ... additions to this variable.
13446 * posix/Makefile (tests): Change dependencies to ....
13447 (tests-special): ... additions to this variable.
13448 (xtests): Change dependencies to ....
13449 (xtests-special): ... additions to this variable.
13450 * resolv/Makefile (tests): Change dependencies to ....
13451 (tests-special): ... additions to this variable.
13452 (xtests): Change dependencies to ....
13453 (xtests-special): ... additions to this variable.
13454 * stdio-common/Makefile (tests): Change dependencies to ....
13455 (tests-special): ... additions to this variable.
13456 (do-tst-unbputc): Remove target.
13457 (do-tst-printf): Likewise.
13458 * stdlib/Makefile (tests): Change dependencies to ....
13459 (tests-special): ... additions to this variable.
13460 * string/Makefile (tests): Change dependencies to ....
13461 (tests-special): ... additions to this variable.
13462 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13463 (tests-special): ... additions to this variable.
13465 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13467 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13469 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13470 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13472 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13473 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13474 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13475 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13476 * conform/data/libgen.h-data [XPG3]: Likewise.
13477 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13478 * conform/data/ndbm.h-data [XPG3]: Likewise.
13479 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13480 * conform/data/netdb.h-data [XPG3]: Likewise.
13481 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13482 * conform/data/poll.h-data [XPG3]: Likewise.
13483 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13484 * conform/data/strings.h-data [XPG3]: Likewise.
13485 * conform/data/stropts.h-data [XPG3]: Likewise.
13486 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13487 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13488 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13490 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13491 * conform/data/sys/time.h-data [XPG3]: Likewise.
13492 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13493 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13494 * conform/data/sys/un.h-data [XPG3]: Likewise.
13495 * conform/data/syslog.h-data [XPG3]: Likewise.
13496 * conform/data/ucontext.h-data [XPG3]: Likewise.
13497 * conform/data/utmpx.h-data [XPG3]: Likewise.
13498 * conform/data/varargs.h-data [UNIX98]: Enable file.
13500 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13502 * math/libm-test.inc (struct test_f_f_data): Move expected results
13503 into structure for each rounding mode.
13504 (struct test_ff_f_data): Likewise.
13505 (struct test_ff_f_data_nexttoward): Likewise.
13506 (struct test_fi_f_data): Likewise.
13507 (struct test_fl_f_data): Likewise.
13508 (struct test_if_f_data): Likewise.
13509 (struct test_fff_f_data): Likewise.
13510 (struct test_c_f_data): Likewise.
13511 (struct test_f_f1_data): Likewise.
13512 (struct test_fF_f1_data): Likewise.
13513 (struct test_ffI_f1_data): Likewise.
13514 (struct test_c_c_data): Likewise.
13515 (struct test_cc_c_data): Likewise.
13516 (struct test_f_i_data): Likewise.
13517 (struct test_ff_i_data): Likewise.
13518 (struct test_f_l_data): Likewise.
13519 (struct test_f_L_data): Likewise.
13520 (struct test_fFF_11_data): Likewise.
13522 (RM_FE_DOWNWARD): Likewise.
13523 (RM_FE_TONEAREST): Likewise.
13524 (RM_FE_TOWARDZERO): Likewise.
13525 (RM_FE_UPWARD): Likewise.
13526 (RUN_TEST_LOOP_f_f): Update references to expected results.
13527 (RUN_TEST_LOOP_2_f): Likewise.
13528 (RUN_TEST_LOOP_fff_f): Likewise.
13529 (RUN_TEST_LOOP_c_f): Likewise.
13530 (RUN_TEST_LOOP_f_f1): Likewise.
13531 (RUN_TEST_LOOP_fF_f1): Likewise.
13532 (RUN_TEST_LOOP_fI_f1): Likewise.
13533 (RUN_TEST_LOOP_ffI_f1): Likewise.
13534 (RUN_TEST_LOOP_c_c): Likewise.
13535 (RUN_TEST_LOOP_cc_c): Likewise.
13536 (RUN_TEST_LOOP_f_i): Likewise.
13537 (RUN_TEST_LOOP_f_i_tg): Likewise.
13538 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13539 (RUN_TEST_LOOP_f_b): Likewise.
13540 (RUN_TEST_LOOP_f_b_tg): Likewise.
13541 (RUN_TEST_LOOP_f_l): Likewise.
13542 (RUN_TEST_LOOP_f_L): Likewise.
13543 (RUN_TEST_LOOP_fFF_11): Likewise.
13544 * math/gen-libm-test.pl (parse_args): Output four copies of
13545 expected results for each test.
13547 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13548 (__ASSUME_UTIMES): Remove.
13549 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13550 (__ASSUME_UTIMES): Likewise.
13552 * math/gen-auto-libm-tests.c: Update comment on output format.
13553 (output_for_one_input_case): Generate before-rounding and
13554 after-rounding information as conditions on output flags not
13555 floating-point format.
13556 * math/auto-libm-test-out: Regenerated.
13557 * math/gen-libm-test.pl (cond_value): New function.
13558 (or_cond_value): Use cond_value.
13559 (generate_testfile): Handle conditional exceptions.
13561 2014-03-05 Joseph Myers <joseph@codesourcery.com>
13563 * math/libm-test.inc (max_valid_error): New variable.
13564 (init_max_error): Take new argument specifying whether function
13565 results are exactly determined. Set max_valid_error and bound
13566 other variables for errors based on this argument.
13567 (set_max_error): Do not record results above max_valid_error.
13568 (check_float_internal): Only accept errors of up to 0.5ulps if
13569 also at most max_valid_error.
13570 (START): Take new argument EXACT and pass it to init_max_error.
13571 (acos_test): Update call to START.
13572 (acos_test_tonearest): Likewise.
13573 (acos_test_towardzero): Likewise.
13574 (acos_test_downward): Likewise.
13575 (acos_test_upward): Likewise.
13576 (acosh_test): Likewise.
13577 (asin_test): Likewise.
13578 (asin_test_tonearest): Likewise.
13579 (asin_test_towardzero): Likewise.
13580 (asin_test_downward): Likewise.
13581 (asin_test_upward): Likewise.
13582 (asinh_test): Likewise.
13583 (atan_test): Likewise.
13584 (atanh_test): Likewise.
13585 (atan2_test): Likewise.
13586 (cabs_test): Likewise.
13587 (cacos_test): Likewise.
13588 (cacosh_test): Likewise.
13589 (carg_test): Likewise.
13590 (casin_test): Likewise.
13591 (casinh_test): Likewise.
13592 (catan_test): Likewise.
13593 (catanh_test): Likewise.
13594 (cbrt_test): Likewise.
13595 (ccos_test): Likewise.
13596 (ccosh_test): Likewise.
13597 (ceil_test): Likewise.
13598 (cexp_test): Likewise.
13599 (cimag_test): Likewise.
13600 (clog_test): Likewise.
13601 (clog10_test): Likewise.
13602 (conj_test): Likewise.
13603 (copysign_test): Likewise.
13604 (cos_test): Likewise.
13605 (cos_test_tonearest): Likewise.
13606 (cos_test_towardzero): Likewise.
13607 (cos_test_downward): Likewise.
13608 (cos_test_upward): Likewise.
13609 (cosh_test): Likewise.
13610 (cosh_test_tonearest): Likewise.
13611 (cosh_test_towardzero): Likewise.
13612 (cosh_test_downward): Likewise.
13613 (cosh_test_upward): Likewise.
13614 (cpow_test): Likewise.
13615 (cproj_test): Likewise.
13616 (creal_test): Likewise.
13617 (csin_test): Likewise.
13618 (csinh_test): Likewise.
13619 (csqrt_test): Likewise.
13620 (ctan_test): Likewise.
13621 (ctan_test_tonearest): Likewise.
13622 (ctan_test_towardzero): Likewise.
13623 (ctan_test_downward): Likewise.
13624 (ctan_test_upward): Likewise.
13625 (ctanh_test): Likewise.
13626 (ctanh_test_tonearest): Likewise.
13627 (ctanh_test_towardzero): Likewise.
13628 (ctanh_test_downward): Likewise.
13629 (ctanh_test_upward): Likewise.
13630 (erf_test): Likewise.
13631 (erfc_test): Likewise.
13632 (exp_test): Likewise.
13633 (exp_test_tonearest): Likewise.
13634 (exp_test_towardzero): Likewise.
13635 (exp_test_downward): Likewise.
13636 (exp_test_upward): Likewise.
13637 (exp10_test): Likewise.
13638 (exp10_test_tonearest): Likewise.
13639 (exp10_test_towardzero): Likewise.
13640 (exp10_test_downward): Likewise.
13641 (exp10_test_upward): Likewise.
13642 (pow10_test): Likewise.
13643 (exp2_test): Likewise.
13644 (expm1_test): Likewise.
13645 (expm1_test_tonearest): Likewise.
13646 (expm1_test_towardzero): Likewise.
13647 (expm1_test_downward): Likewise.
13648 (expm1_test_upward): Likewise.
13649 (fabs_test): Likewise.
13650 (fdim_test): Likewise.
13651 (floor_test): Likewise.
13652 (fma_test): Likewise.
13653 (fma_test_towardzero): Likewise.
13654 (fma_test_downward): Likewise.
13655 (fma_test_upward): Likewise.
13656 (fmax_test): Likewise.
13657 (fmin_test): Likewise.
13658 (fmod_test): Likewise.
13659 (fpclassify_test): Likewise.
13660 (frexp_test): Likewise.
13661 (hypot_test): Likewise.
13662 (ilogb_test): Likewise.
13663 (isfinite_test): Likewise.
13664 (finite_test): Likewise.
13665 (isgreater_test): Likewise.
13666 (isgreaterequal_test): Likewise.
13667 (isinf_test): Likewise.
13668 (isless_test): Likewise.
13669 (islessequal_test): Likewise.
13670 (islessgreater_test): Likewise.
13671 (isnan_test): Likewise.
13672 (isnormal_test): Likewise.
13673 (issignaling_test): Likewise.
13674 (isunordered_test): Likewise.
13675 (j0_test): Likewise.
13676 (j1_test): Likewise.
13677 (jn_test): Likewise.
13678 (ldexp_test): Likewise.
13679 (lgamma_test): Likewise.
13680 (gamma_test): Likewise.
13681 (lrint_test): Likewise.
13682 (lrint_test_tonearest): Likewise.
13683 (lrint_test_towardzero): Likewise.
13684 (lrint_test_downward): Likewise.
13685 (lrint_test_upward): Likewise.
13686 (llrint_test): Likewise.
13687 (llrint_test_tonearest): Likewise.
13688 (llrint_test_towardzero): Likewise.
13689 (llrint_test_downward): Likewise.
13690 (llrint_test_upward): Likewise.
13691 (log_test): Likewise.
13692 (log10_test): Likewise.
13693 (log1p_test): Likewise.
13694 (log2_test): Likewise.
13695 (logb_test): Likewise.
13696 (logb_test_downward): Likewise.
13697 (lround_test): Likewise.
13698 (llround_test): Likewise.
13699 (modf_test): Likewise.
13700 (nearbyint_test): Likewise.
13701 (nextafter_test): Likewise.
13702 (nexttoward_test): Likewise.
13703 (pow_test): Likewise.
13704 (pow_test_tonearest): Likewise.
13705 (pow_test_towardzero): Likewise.
13706 (pow_test_downward): Likewise.
13707 (pow_test_upward): Likewise.
13708 (remainder_test): Likewise.
13709 (drem_test): Likewise.
13710 (remainder_test_tonearest): Likewise.
13711 (drem_test_tonearest): Likewise.
13712 (remainder_test_towardzero): Likewise.
13713 (drem_test_towardzero): Likewise.
13714 (remainder_test_downward): Likewise.
13715 (drem_test_downward): Likewise.
13716 (remainder_test_upward): Likewise.
13717 (drem_test_upward): Likewise.
13718 (remquo_test): Likewise.
13719 (rint_test): Likewise.
13720 (rint_test_tonearest): Likewise.
13721 (rint_test_towardzero): Likewise.
13722 (rint_test_downward): Likewise.
13723 (rint_test_upward): Likewise.
13724 (round_test): Likewise.
13725 (scalb_test): Likewise.
13726 (scalbn_test): Likewise.
13727 (scalbln_test): Likewise.
13728 (signbit_test): Likewise.
13729 (sin_test): Likewise.
13730 (sin_test_tonearest): Likewise.
13731 (sin_test_towardzero): Likewise.
13732 (sin_test_downward): Likewise.
13733 (sin_test_upward): Likewise.
13734 (sincos_test): Likewise.
13735 (sinh_test): Likewise.
13736 (sinh_test_tonearest): Likewise.
13737 (sinh_test_towardzero): Likewise.
13738 (sinh_test_downward): Likewise.
13739 (sinh_test_upward): Likewise.
13740 (sqrt_test): Likewise.
13741 (sqrt_test_tonearest): Likewise.
13742 (sqrt_test_towardzero): Likewise.
13743 (sqrt_test_downward): Likewise.
13744 (sqrt_test_upward): Likewise.
13745 (tan_test): Likewise.
13746 (tan_test_tonearest): Likewise.
13747 (tan_test_towardzero): Likewise.
13748 (tan_test_downward): Likewise.
13749 (tan_test_upward): Likewise.
13750 (tanh_test): Likewise.
13751 (tgamma_test): Likewise.
13752 (trunc_test): Likewise.
13753 (y0_test): Likewise.
13754 (y1_test): Likewise.
13755 (yn_test): Likewise.
13756 (significand_test): Likewise.
13758 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13759 individual tests in comment.
13760 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13761 (prev_max_error): New variable.
13762 (prev_real_max_error): Likewise.
13763 (prev_imag_max_error): Likewise.
13764 (compare_ulp_data): Don't refer to test names in comment.
13765 (find_test_ulps): Remove function.
13766 (find_function_ulps): Likewise.
13767 (find_complex_function_ulps): Likewise.
13768 (init_max_error): Take function name as argument. Look up ulps
13770 (print_ulps): Remove function.
13771 (print_max_error): Use prev_max_error instead of calling
13772 find_function_ulps.
13773 (print_complex_max_error): Use prev_real_max_error and
13774 prev_imag_max_error instead of calling find_complex_function_ulps.
13775 (check_float_internal): Take max_ulp parameter instead of calling
13776 find_test_ulps. Don't call print_ulps.
13777 (check_float): Update call to check_float_internal.
13778 (check_complex): Update calls to check_float_internal.
13779 (START): Pass argument to init_max_error.
13780 * math/gen-libm-test.pl (%results): Don't include "kind"
13782 (parse_ulps): Don't handle ulps of individual tests.
13783 (print_ulps_file): Likewise.
13784 (output_ulps): Likewise.
13785 * math/README.libm-test: Update.
13786 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13788 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13789 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13790 * sysdeps/arm/libm-test-ulps: Likewise.
13791 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13792 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13793 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13794 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13795 * sysdeps/microblaze/libm-test-ulps: Likewise.
13796 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13797 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13799 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13800 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13801 * sysdeps/sh/libm-test-ulps: Likewise.
13802 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13803 * sysdeps/tile/libm-test-ulps: Likewise.
13804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13806 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13808 * math/libm-test.inc (print_complex_max_error): Check separately
13809 whether real and imaginary errors are within allowed range and
13810 pass 0 to print_complex_function_ulps instead of value within
13813 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13815 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13817 (get_handles_fopen): Likewise.
13818 (do_write_test): Likewise.
13820 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13822 * libio/fileops.c (do_ftell): Use cached offset when
13824 * libio/iofwide.c (do_ftell_wide): Likewise.
13825 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13827 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13830 * libio/libioP.h (get_file_offset): New function.
13831 * libio/fileops.c (get_file_offset): Likewise.
13832 (do_ftell): Likewise.
13833 (_IO_new_file_seekoff): Split out ftell logic.
13834 * libio/wfileops.c (do_ftell_wide): Likewise.
13835 (_IO_wfile_seekoff): Split out ftell logic.
13836 * libio/tst-ftell-active-handler.c: New test case.
13837 * libio/Makefile (tests): Add it.
13839 2014-03-03 Roland McGrath <roland@hack.frob.com>
13841 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13842 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13844 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13847 * nscd/connections.c (nscd_init): Call do_exit.
13848 (start_threads): Call do_exit and notify_parent.
13849 (begin_drop_privileges): Call do_exit.
13850 (finish_drop_privileges): Likewise.
13851 * nscd/selinux.c (preserve_capabilities): Likewise.
13852 (install_real_capabilities): Likewise.
13853 (nscd_selinux_enabled): Likewise.
13854 (avc_create_thread): Likewise.
13855 (avc_alloc_lock): Likewise.
13856 (nscd_avc_init): Likewise.
13857 * nscd/nscd.c (parent_fd): New static variable.
13858 (main): Create a pipe between parent and child processes.
13859 Skip closing parent_fd.
13860 (monitor_child): New function.
13861 (do_exit): Likewise.
13862 (notify_parent): Likewise.
13863 * nscd/nscd.h (notify_parent): Likewise.
13864 (do_exit): Likewise.
13866 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13868 * malloc/malloc.c (__libc_calloc): Revert last change.
13870 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13874 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13876 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13880 (__libc_ifunc_impl_list): Likewise.
13881 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13882 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13883 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13884 * string/strrchr.c: Define STRRCHR.
13886 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13888 * benchtest/bench-strtok.c (simple_strtok): Delete.
13889 (strtok_string): Use as benchmark.
13890 * string/strtok (STRTOK): New macro.
13892 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13894 * manual/threads.texi: Add header and standard comments to all
13897 * elf/dl-lookup.c (check_match): New function.
13898 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13899 (do_lookup_x): Remove nested function check_match. Use non-nested
13900 function check_match.
13902 2014-02-28 Roland McGrath <roland@hack.frob.com>
13904 * csu/Makefile (generated, before-compile): Use += rather than =.
13905 * catgets/Makefile (generated, generated-dirs): Likewise.
13906 * debug/Makefile (generated): Likewise.
13907 * dlfcn/Makefile (generated): Likewise.
13908 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13909 * iconvdata/Makefile (before-compile, generated): Likewise.
13910 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13911 * libio/Makefile (generated): Likewise.
13912 * malloc/Makefile (generated): Likewise.
13913 * manual/Makefile (generated, generated-dirs): Likewise.
13914 * misc/Makefile (generated): Likewise.
13915 * posix/Makefile (generated): Likewise.
13916 * resolv/Makefile (generated): Likewise.
13917 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13918 * timezone/Makefile (generated, generated-dirs): Likewise.
13920 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13922 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13925 power8 implementation.
13926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13927 file: POWER8 llround ifunc implementation.
13928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13929 (__lllround): Add POWER8 implementation.
13930 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13931 POWER8 llround implementation.
13933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13934 power8 implementation.
13935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13936 file: POWER8 llrint ifunc implementation.
13937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13938 Add POWER8 implementation.
13939 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13940 POWER8 llrint implementation.
13942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13943 power8 implementation.
13944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13945 file: POWER8 finite ifunc implementation.
13946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13947 Add POWER8 implementation.
13948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13950 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13951 POWER8 finite implementation.
13952 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13955 power8 implementation.
13956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13957 file: POWER8 isinf ifunc implementation.
13958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13959 POWER8 implementation.
13960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13962 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13963 isinf implementation.
13964 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13966 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13967 (INIT_ARCH): Add hwcap2 initialization.
13968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13969 power8 implementation.
13970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13971 file: POWER8 isnan ifunc implementation.
13972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13973 POWER8 implementation.
13974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13976 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13977 isnan implementation.
13978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13980 2014-02-27 Joey Ye <joey.ye@arm.com>
13982 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13983 (_FP_NANFRAC_Q): Set to zero.
13985 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13988 * math/auto-libm-test-in: New test inputs.
13989 * math/auto-libm-test-out: Regenerate.
13990 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13993 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13995 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13997 * scripts/evaluate-test.sh: Take new argument indicating whether
13998 failure is expected.
13999 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14000 indicating whether failure is expected.
14001 * conform/Makefile (test-xfail-run-conformtest): New variable.
14002 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14004 * posix/Makefile (test-xfail-annexc): New variable.
14005 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14007 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14009 * argp/Makefile: Include Makeconfig immediately after defining
14011 * assert/Makefile: Likewise.
14012 * benchtests/Makefile: Likewise.
14013 * catgets/Makefile: Likewise.
14014 * conform/Makefile: Likewise.
14015 * crypt/Makefile: Likewise.
14016 * csu/Makefile: Likewise.
14017 (all): Remove target.
14018 * ctype/Makefile: Include Makeconfig immediately after defining
14020 * debug/Makefile: Likewise.
14021 * dirent/Makefile: Likewise.
14022 * dlfcn/Makefile: Likewise.
14023 * gmon/Makefile: Likewise.
14024 * gnulib/Makefile: Likewise.
14025 * grp/Makefile: Likewise.
14026 * gshadow/Makefile: Likewise.
14027 * hesiod/Makefile: Likewise.
14028 * hurd/Makefile: Likewise.
14029 (all): Remove target.
14030 * iconvdata/Makefile: Include Makeconfig immediately after
14032 * inet/Makefile: Likewise.
14033 * intl/Makefile: Likewise.
14034 * io/Makefile: Likewise.
14035 * libio/Makefile: Likewise.
14036 (all): Remove target.
14037 * locale/Makefile: Include Makeconfig immediately after defining
14039 * login/Makefile: Likewise.
14040 * mach/Makefile: Likewise.
14041 (all): Remove target.
14042 * malloc/Makefile: Include Makeconfig immediately after defining
14044 (all): Remove target.
14045 * manual/Makefile: Include Makeconfig immediately after defining
14047 * math/Makefile: Likewise.
14048 * misc/Makefile: Likewise.
14049 * nis/Makefile: Likewise.
14050 * nss/Makefile: Likewise.
14051 * po/Makefile: Likewise.
14052 (all): Remove target.
14053 * posix/Makefile: Include Makeconfig immediately after defining
14055 * pwd/Makefile: Likewise.
14056 * resolv/Makefile: Likewise.
14057 * resource/Makefile: Likewise.
14058 * rt/Makefile: Likewise.
14059 * setjmp/Makefile: Likewise.
14060 * shadow/Makefile: Likewise.
14061 * signal/Makefile: Likewise.
14062 * socket/Makefile: Likewise.
14063 * soft-fp/Makefile: Likewise.
14064 * stdio-common/Makefile: Likewise.
14065 * stdlib/Makefile: Likewise.
14066 * streams/Makefile: Likewise.
14067 * string/Makefile: Likewise.
14068 * sunrpc/Makefile: Likewise.
14069 (all): Remove target.
14070 * sysvipc/Makefile: Include Makeconfig immediately after defining
14072 * termios/Makefile: Likewise.
14073 * time/Makefile: Likewise.
14074 * timezone/Makefile: Likewise.
14075 (all): Remove target.
14076 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14078 * wctype/Makefile: Likewise.
14080 2014-02-26 Steve Ellcey <sellcey@mips.com>
14082 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14083 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14084 (libc_feholdexcept_setround_mips): Ditto.
14085 (libc_feholdsetround): New.
14086 (libc_feholdsetroundf): New.
14087 (libc_feholdsetroundl): New.
14088 (libc_feupdateenv_test_mips): New.
14089 (libc_feupdateenv_test): New.
14090 (libc_feupdateenv_testf): New.
14091 (libc_feupdateenv_testl): New.
14092 (libc_feresetround): New.
14093 (libc_feresetroundf): New.
14094 (libc_feresetroundl): New.
14095 (libc_fetestexcept_mips): New.
14096 (libc_fetestexcept): New.
14097 (libc_fetestexceptf): New.
14098 (libc_fetestexceptl): New.
14099 (HAVE_RM_CTX): New.
14100 (libc_feholdexcept_setround_mips_ctx): New.
14101 (libc_feholdexcept_setround_ctx): New.
14102 (libc_feholdexcept_setroundf_ctx): New.
14103 (libc_feholdexcept_setroundl_ctx): New.
14104 (libc_fesetenv_mips_ctx): New.
14105 (libc_fesetenv_ctx): New.
14106 (libc_fesetenv_ctxf): New.
14107 (libc_fesetenv_ctxl): New.
14108 (libc_feupdateenv_mips_ctx): New.
14109 (libc_feupdateenv_ctx): New.
14110 (libc_feupdateenvf_ctx): New.
14111 (libc_feupdateenvl_ctx): New.
14112 (libc_feholdsetround_mips_ctx): New.
14113 (libc_feholdsetround_ctx): New.
14114 (libc_feholdsetroundf_ctx): New.
14115 (libc_feholdsetroundl_ctx): New.
14116 (libc_feresetround_mips_ctx): New.
14117 (libc_feresetround_ctx): New.
14118 (libc_feresetroundf_ctx): New.
14119 (libc_feresetroundl_ctx): New.
14121 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14123 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14125 * manual/ipc.texi: New file.
14126 * manual/Makefile (chapters): Add ipc.
14127 * manual/job.texi: Add "Inter-Process Communication" to next.
14128 * manual/process.texi: Add "Inter-Process Communication" to prev.
14130 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14134 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14136 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14138 * manual/arith.texi: Fix spaces after sentences.
14139 * manual/charset.texi: Likewise.
14140 * manual/errno.texi: Likewise.
14141 * manual/install.texi: Likewise.
14142 * manual/llio.texi: Likewise.
14143 * manual/locale.texi: Likewise.
14144 * manual/maint.texi: Likewise.
14145 * manual/math.texi: Likewise.
14146 * manual/memory.texi: Likewise.
14147 * manual/message.texi: Likewise.
14148 * manual/probes.texi: Likewise.
14149 * manual/resource.texi: Likewise.
14150 * manual/signal.texi: Likewise.
14151 * manual/socket.texi: Likewise.
14152 * manual/stdio.texi: Likewise.
14153 * manual/string.texi: Likewise.
14154 * manual/time.texi: Likewise.
14155 * manual/users.texi: Likewise.
14157 2014-02-25 Carlos O'Donell <carlos@redhat.com>
14160 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14161 _DEFAULT_SOURCE is defined.
14163 2014-02-25 Ulrich Drepper <drepper@gmail.com>
14164 Carlos O'Donell <carlos@redhat.com>
14167 * elf/dl-tls.c (_dl_count_modids): New function.
14168 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14169 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14170 audit library and increment generation counter.
14171 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14172 * elf/tst-audit9.c: New file.
14173 * elf/tst-auditmod9a.c: New file.
14174 * elf/tst-auditmod9b.c: New file.
14175 * elf/Makefile: Add rules to build and run tst-audit9.
14177 2014-02-25 Florian Weimer <fweimer@redhat.com>
14180 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14182 2014-02-25 Will Newton <will.newton@linaro.org>
14184 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14185 (__longjmp): Restore sp and lr before restoring callee
14186 saved registers. Add longjmp and longjmp_target
14187 SystemTap probe point.
14188 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14189 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14190 Define to zero to match jmpbuf layout.
14191 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14192 (__sigsetjmp): Save sp and lr before saving callee
14193 saved registers. Add setjmp SystemTap probe point.
14195 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14197 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14199 2014-02-24 Andreas Schwab <schwab@suse.de>
14202 * elf/pldd.c (wait_for_ptrace_stop): New function.
14203 (main): Call it after attaching.
14205 2014-02-22 Roland McGrath <roland@hack.frob.com>
14207 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14208 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14209 Versions files is now verboten.
14210 * hurd/Versions (libc: GLIBC_2.0):
14211 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14212 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14213 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14214 * mach/Versions: Likewise.
14216 * csu/Versions: Remove unused %include.
14217 * resolv/Versions: Likewise.
14219 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14221 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14222 ($(objpfx)check-local-headers.out): Likewise.
14223 ($(objpfx)begin-end-check.out): Likewise.
14224 * Makerules (check-abi-%.out): Likewise.
14225 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14226 ($(objpfx)test2.cat): Likewise.
14227 ($(objpfx)de/libc.cat): Likewise.
14228 ($(objpfx)test-gencat.out): Likewise.
14229 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14230 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14231 ($(objpfx)noload-mem): Likewise.
14232 ($(objpfx)tst-pathopt.out): Likewise.
14233 ($(objpfx)tst-rtld-load-self.out): Likewise.
14234 ($(objpfx)tst-array1-cmp.out): Likewise.
14235 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14236 ($(objpfx)tst-array2-cmp.out): Likewise.
14237 ($(objpfx)tst-array3-cmp.out): Likewise.
14238 ($(objpfx)tst-array4-cmp.out): Likewise.
14239 ($(objpfx)tst-array5-cmp.out): Likewise.
14240 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14241 ($(objpfx)check-textrel.out): Likewise.
14242 ($(objpfx)check-execstack.out): Likewise.
14243 ($(objpfx)check-localplt.out): Likewise.
14244 ($(objpfx)order2-cmp.out): Likewise.
14245 ($(objpfx)tst-leaks1-mem): Likewise.
14246 ($(objpfx)tst-leaks1-static-mem): Likewise.
14247 ($(objpfx)tst-initorder-cmp.out): Likewise.
14248 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14249 ($(objpfx)tst-unused-dep.out): Likewise.
14250 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14251 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14252 * iconv/Makefile (test-iconvconfig): Likewise.
14253 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14254 ($(objpfx)iconv-test.out): Likewise.
14255 ($(objpfx)tst-tables.out): Likewise.
14256 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14257 ($(objpfx)tst-gettext.out): Likewise.
14258 ($(objpfx)tst-translit.out): Likewise.
14259 ($(objpfx)tst-gettext2.out): Likewise.
14260 ($(objpfx)tst-gettext4.out): Likewise.
14261 ($(objpfx)tst-gettext6.out): Likewise.
14262 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14263 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14264 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14265 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14266 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14267 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14268 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14269 ($(objpfx)wordexp-tst.out): Likewise.
14270 ($(objpfx)annexc.out): Likewise.
14271 ($(objpfx)tst-fnmatch-mem): Likewise.
14272 ($(objpfx)bug-regex2-mem): Likewise.
14273 ($(objpfx)bug-regex14-mem): Likewise.
14274 ($(objpfx)bug-regex21-mem): Likewise.
14275 ($(objpfx)bug-regex31-mem): Likewise.
14276 ($(objpfx)tst-vfork3-mem): Likewise.
14277 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14278 ($(objpfx)tst-pcre-mem): Likewise.
14279 ($(objpfx)tst-boost-mem): Likewise.
14280 ($(objpfx)tst-getconf.out): Likewise.
14281 ($(objpfx)bug-ga2-mem): Likewise.
14282 ($(objpfx)bug-glob2-mem): Likewise.
14283 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14284 ($(objpfx)mtrace-tst-leaks2): Likewise.
14285 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14286 ($(objpfx)tst-printf.out): Likewise.
14287 ($(objpfx)tst-setvbuf1.out): Likewise.
14288 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14289 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14290 ($(objpfx)tst-fmtmsg.out): Likewise.
14291 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14292 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14294 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14295 * bits/sigaction.h [__USE_MISC]: Likewise.
14296 * bits/waitstatus.h: Update #endif comments.
14297 * ctype/ctype.h: Likewise.
14298 * dirent/dirent.h: Likewise.
14299 [__USE_MISC]: Remove redundant conditionals.
14300 * grp/grp.h: Update #endif comments.
14301 [__USE_GNU]: Remove redundant conditionals.
14302 [__USE_MISC]: Likewise.
14303 * inet/netinet/in.h [__USE_GNU]: Likewise.
14304 * io/sys/stat.h [__USE_MISC]: Likewise.
14305 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14306 * libio/bits/stdio.h: Update #endif comments.
14307 [__USE_MISC]: Remove redundant conditionals.
14308 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14309 * libio/stdio.h: Update #endif comments.
14310 [__USE_MISC]: Remove redundant conditionals.
14311 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14312 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14313 * math/math.h: Update #else and #endif comments.
14314 [__USE_MISC]: Remove redundant conditionals.
14315 * misc/sys/uio.h: Update #endif comments.
14316 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14317 * posix/glob.h [__USE_MISC]: Likewise.
14318 * posix/sys/types.h: Update #endif comments.
14319 [__USE_MISC]: Remove redundant conditionals.
14320 * posix/sys/wait.h: Update #endif comments.
14321 [__USE_MISC]: Remove redundant conditionals.
14322 * posix/unistd.h: Update #endif comments.
14323 [__USE_MISC]: Remove redundant conditionals.
14324 * pwd/pwd.h [__USE_GNU]: Likewise.
14325 [__USE_MISC]: Likewise.
14326 * resolv/netdb.h [__USE_GNU]: Likewise.
14327 * signal/signal.h: Update #endif comments.
14328 [__USE_MISC]: Remove redundant conditionals.
14329 * stdlib/stdlib.h: Update #else and #endif comments.
14330 [__USE_MISC]: Remove redundant conditionals.
14331 [__USE_GNU]: Likewise.
14332 * string/bits/string2.h [__USE_MISC]: Likewise.
14333 * string/string.h: Update #endif comments.
14334 [__USE_MISC]: Remove redundant conditionals.
14335 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14337 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14338 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14339 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14341 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14345 [__USE_MISC]: Remove redundant conditionals.
14346 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14347 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14348 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14349 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14350 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14352 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14353 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14355 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14356 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14358 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14360 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14361 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14363 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14365 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14366 * sysdeps/x86/bits/string.h: Update #endif comments.
14367 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14369 * time/sys/time.h: Update #endif comments.
14370 * time/time.h: Likewise.
14371 [__USE_MISC]: Remove redundant conditionals.
14373 2014-02-21 Yury Gribov <y.gribov@samsung.com>
14376 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14378 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14380 * Versions.def (librt): Add GLIBC_2.17.
14382 2014-02-21 Adam Conrad <adconrad@0c3.net>
14384 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14385 synonym for _SYS_AUXV_H to allow direct inclusion.
14386 * sysdeps/sparc/bits/hwcap.h: Likewise.
14387 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14388 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14389 * sysdeps/sparc/sysdep.h: Likewise.
14391 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14393 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14395 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14397 * benchtests/bench-strrchr.c: Print length instead of position.
14399 2014-02-20 Joseph Myers <joseph@codesourcery.com>
14402 * sysdeps/unix/sysv/linux/kernel-features.h
14403 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14404 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14405 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14406 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14408 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14409 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14410 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14411 (__ASSUME_SENDMMSG): Define instead of using previous
14412 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14413 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14414 (__ASSUME_SENDMMSG_SYSCALL): Define.
14415 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14416 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14418 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14419 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14421 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14422 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14424 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14425 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14426 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14427 [__ASSUME_SENDMMSG]: Change conditionals to
14428 [__ASSUME_SENDMMSG_SOCKETCALL].
14429 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14430 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14433 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14435 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14436 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14437 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14438 [!__ASSUME_SENDMMSG]: Change conditional to
14439 [!__ASSUME_SENDMMSG_SOCKETCALL].
14440 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14441 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14445 * sysdeps/unix/sysv/linux/kernel-features.h
14446 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14447 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14448 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14449 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14450 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14451 [__i386__ || __sparc__]
14452 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14453 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14454 (__ASSUME_RECVMMSG): Define instead of using previous
14455 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14456 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14457 (__ASSUME_RECVMMSG_SYSCALL): Define.
14458 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14461 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14462 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14464 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14465 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14467 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14468 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14469 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14470 [__ASSUME_RECVMMSG]: Change condition to
14471 [__ASSUME_RECVMMSG_SOCKETCALL].
14472 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14473 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14475 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14476 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14477 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14479 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14480 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14481 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14482 [!__ASSUME_RECVMMSG]: Change condition to
14483 [!__ASSUME_RECVMMSG_SOCKETCALL].
14484 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14485 (__ASSUME_RECVMMSG_SYSCALL): Define.
14488 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14489 __powerpc__ || __s390__ || __sh__ || __sparc__]
14490 (__ASSUME_SOCKETCALL): Define.
14491 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14492 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14493 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14494 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14495 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14496 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14497 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14498 (__ASSUME_ACCEPT4): Define instead of using previous
14499 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14500 __powerpc__ || __sparc__ || __s390__)] condition.
14501 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14502 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14503 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14504 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14505 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14506 [!__ASSUME_ACCEPT4]: Change condition to
14507 [!__ASSUME_ACCEPT4_SOCKETCALL].
14508 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14509 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14510 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14511 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14512 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14513 __ASSUME_ACCEPT4_SYSCALL.
14514 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14515 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14516 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14517 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14518 __ASSUME_ACCEPT4_SYSCALL.
14519 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14520 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14521 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14522 [__ASSUME_ACCEPT4]: Change condition to
14523 [__ASSUME_ACCEPT4_SOCKETCALL].
14524 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14525 (__ASSUME_SOCKETCALL): Define.
14526 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14528 (__ASSUME_SOCKETCALL): Define.
14529 (__ASSUME_ACCEPT4): Remove.
14530 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14532 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14533 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14535 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14536 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14538 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14540 (HWCAP_ARM_LPAE): Likewise.
14541 (HWCAP_ARM_EVTSTRM): Likewise.
14542 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14543 Add vpfd32, lpae and evtstrm.
14544 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14547 2014-02-19 Joseph Myers <joseph@codesourcery.com>
14549 * math/auto-libm-test-in: Add tests of clog10.
14550 * math/auto-libm-test-out: Regenerated.
14551 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14552 * sysdeps/i386/fpu/libm-test-ulps: Update.
14553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14555 2014-02-18 Andreas Schwab <schwab@suse.de>
14558 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14559 Store non-zero if the second buffer was newly allocated.
14560 (send_dg): Likewise.
14561 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14562 to send_vc and send_dg.
14563 (res_nsend): Pass NULL for ansp2_malloced.
14564 * resolv/res_query.c (__libc_res_nquery): Add parameter
14565 answerp2_malloced and pass it down to __libc_res_nsend.
14566 (res_nquery): Pass additional NULL to __libc_res_nquery.
14567 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14568 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14569 second answer buffer if answerp2_malloced was set.
14570 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14571 (__libc_res_nquerydomain): Add parameter
14572 answerp2_malloced and pass it down to __libc_res_nquery.
14573 (res_nquerydomain): Pass additional NULL to
14574 __libc_res_nquerydomain.
14575 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14576 additional NULL to __libc_res_nsend and __libc_res_nquery.
14577 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14578 additional NULL to __libc_res_nsearch.
14579 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14580 parameter of __libc_res_nsearch to check for separately allocated
14582 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14584 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14585 additional NULL to __libc_res_nquery.
14586 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14587 __libc_res_nsearch.
14588 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14589 * include/resolv.h: Update prototypes of __libc_res_nquery,
14590 __libc_res_nsearch, __libc_res_nsend.
14592 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14594 * math/auto-libm-test-in: Add tests of fma.
14595 * math/auto-libm-test-out: Regenerated.
14596 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14597 (fma_towardzero_test_data): Likewise.
14598 (fma_downward_test_data): Likewise.
14599 (fma_upward_test_data): Likewise.
14600 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14602 (rounding_modes): Add values for new field.
14603 (func_calc_method): Add value mpfr_fff_f.
14604 (func_calc_desc): Add mpfr_fff_f union field.
14605 (test_function): Add field exact_args.
14606 (FUNC): Add macro argument EXACT_ARGS.
14607 (FUNC_mpfr_f_f): Update call to FUNC.
14608 (FUNC_mpfr_f_f): Likewise.
14609 (FUNC_mpfr_ff_f): Likewise.
14610 (FUNC_mpfr_if_f): Likewise.
14611 (FUNC_mpc_c_f): Likewise.
14612 (FUNC_mpc_c_c): Likewise.
14613 (test_functions): Add fma. Update calls to FUNC.
14614 (handle_input_arg): Add argument exact_args.
14615 (add_test): Update call to handle_input_arg.
14616 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14617 (output_for_one_input_case): Update call to calc_generic_results.
14618 Recalculate exact zero results in each rounding mode.
14620 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14621 non-negative before setting low bit.
14622 * math/auto-libm-test-in: Mark one asin test possibly having
14623 spurious underflow.
14624 * math/auto-libm-test-out: Regenerated.
14625 * sysdeps/i386/fpu/libm-test-ulps: Update.
14626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14628 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14630 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14631 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14632 ports/sysdeps/unix/sysv/linux/microblaze.
14633 * README: Add missing listing for microblaze*-*-linux-gnu.
14635 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14637 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14640 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14642 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14643 * sysdeps/unix/sysv/linux/ia64: Move directory from
14644 ports/sysdeps/unix/sysv/linux/ia64.
14645 * README: Update listing for ia64-*-linux-gnu.
14647 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14648 Joseph Myers <joseph@codesourcery.com>
14650 * Makeconfig (test-name): New variable.
14651 (evaluate-test): Likewise.
14652 * Makerules (do-test-clean): Remove .test-result files.
14653 (common-mostlyclean): Likewise.
14654 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14655 * scripts/evaluate-test.sh: New file.
14657 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14659 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14660 separate $(objpfx)tst-fopenloc-cmp.out and
14661 $(objpfx)tst-fopenloc-mem.out targets.
14662 (tests): Update dependencies.
14663 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14664 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14665 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14666 (tst-rxspencer-no-utf8-ARGS): New variable.
14667 (tst-rxspencer-no-utf8-ENV): Likewise.
14668 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14669 instead of $(objpfx)tst-rxspencer-mem.
14670 ($(objpfx)tst-rxspencer-mem): Change target to
14671 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14672 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14673 * posix/tst-rxspencer-no-utf8.c: New file.
14675 * elf/Makefile ($(objpfx)order.out): Remove rule.
14676 [$(run-built-tests) = yes] (tests): Depend on
14677 $(objpfx)order-cmp.out.
14678 ($(objpfx)order-cmp.out): New rule.
14679 [$(run-built-tests) = yes] (tests): Depend on
14680 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14681 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14682 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14683 $(objpfx)tst-array5-static-cmp.out.
14684 ($(objpfx)tst-array1.out): Remove rule.
14685 ($(objpfx)tst-array1-cmp.out): New rule.
14686 ($(objpfx)tst-array1-static.out): Remove rule.
14687 ($(objpfx)tst-array1-static-cmp.out): New rule.
14688 ($(objpfx)tst-array2.out): Remove rule.
14689 ($(objpfx)tst-array2-cmp.out): New rule.
14690 ($(objpfx)tst-array3.out): Remove rule.
14691 ($(objpfx)tst-array3-cmp.out): New rule.
14692 ($(objpfx)tst-array4.out): Remove rule.
14693 ($(objpfx)tst-array4-cmp.out): New rule.
14694 ($(objpfx)tst-array5.out): Remove rule.
14695 ($(objpfx)tst-array5-cmp.out): New rule.
14696 ($(objpfx)tst-array5-static.out): Remove rule.
14697 ($(objpfx)tst-array5-static-cmp.out): New rule.
14698 [$(run-built-tests) = yes] (tests): Depend on
14699 $(objpfx)order2-cmp.out.
14700 ($(objpfx)order2.out): Remove rule.
14701 ($(objpfx)order2-cmp.out): New rule.
14702 ($(objpfx)tst-initorder.out): Remove rule.
14703 [$(run-built-tests) = yes] (tests): Depend on
14704 $(objpfx)tst-initorder-cmp.out.
14705 ($(objpfx)tst-initorder-cmp.out): New rule.
14706 ($(objpfx)tst-initorder2.out): Remove rule.
14707 [$(run-built-tests) = yes] (tests): Depend on
14708 $(objpfx)tst-initorder2-cmp.out.
14709 ($(objpfx)tst-initorder2-cmp.out): New rule.
14710 [$(run-built-tests) = yes] (tests): Depend on
14711 $(objpfx)tst-unused-dep-cmp.out.
14712 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14713 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14714 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14715 on $(objpfx)tst-setvbuf1-cmp.out.
14716 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14717 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14718 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14719 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14720 ($(objpfx)tst-svc.out): Remove rule.
14721 ($(objpfx)tst-svc-cmp.out): New rule.
14723 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14725 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14726 * ctype/ctype.h [__USE_MISC]: Likewise.
14727 * dirent/dirent.h [__USE_MISC]: Likewise.
14728 * grp/grp.h [__USE_MISC]: Likewise.
14729 * io/fcntl.h [__USE_MISC]: Likewise.
14730 * io/sys/stat.h [__USE_MISC]: Likewise.
14731 * libio/stdio.h [__USE_MISC]: Likewise.
14732 * posix/unistd.h [__USE_MISC]: Likewise.
14733 * pwd/pwd.h [__USE_MISC]: Likewise.
14734 * stdlib.h [__USE_MISC]: Likewise.
14735 * string/bits/string2.h [__USE_MISC]: Likewise.
14736 * string/string.h [__USE_MISC]: Likewise.
14737 * time/time.h [__USE_MISC]: Likewise.
14739 2014-02-13 Andreas Schwab <schwab@suse.de>
14742 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14743 second answer buffer if it was separately allocated.
14745 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14747 * sysdeps/mips/math-tests.h: Include <features.h>.
14748 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14749 (ROUNDING_TESTS_long_double): Do not define.
14750 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14751 (EXCEPTION_TESTS_long_double): Likewise.
14752 * sysdeps/mips/mips64/libm-test-ulps: Update.
14754 * include/features.h (__USE_BSD): Remove macro definitions.
14755 (__USE_SVID): Likewise.
14756 (_BSD_SOURCE): Likewise.
14757 (_SVID_SOURCE): Likewise.
14758 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14759 from definition of _DEFAULT_SOURCE.
14760 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14762 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14763 * bits/mman.h [__USE_BSD]: Likewise.
14764 * bits/termios.h [__USE_BSD]: Likewise.
14765 * bits/waitstatus.h [__USE_BSD]: Likewise.
14766 * ctype/ctype.h [__USE_SVID]: Likewise.
14767 * dirent/dirent.h [__USE_BSD]: Likewise.
14768 * grp/grp.h [__USE_SVID]: Likewise.
14769 [__USE_BSD]: Likewise.
14770 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14771 * io/fcntl.h [__USE_BSD]: Likewise.
14772 * io/ftw.h [__USE_BSD]: Likewise.
14773 * io/sys/stat.h [__USE_BSD]: Likewise.
14774 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14775 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14776 * libio/stdio.h [__USE_SVID]: Likewise.
14777 [__USE_BSD]: Likewise.
14778 * math/math.h [__USE_SVID]: Likewise.
14779 [__USE_BSD]: Likewise.
14780 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14781 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14782 * misc/search.h [__USE_SVID]: Likewise.
14783 * misc/sys/mman.h [__USE_BSD]: Likewise.
14784 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14785 * misc/sys/uio.h [__USE_BSD]: Likewise.
14786 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14787 * posix/glob.h [__USE_BSD]: Likewise.
14788 * posix/regex.h [__USE_BSD]: Likewise.
14789 * posix/sys/types.h [__USE_BSD]: Likewise.
14790 [__USE_SVID]: Likewise.
14791 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14792 * posix/sys/wait.h [__USE_BSD]: Likewise.
14793 [__USE_SVID]: Likewise.
14794 * posix/unistd.h [__USE_BSD]: Likewise.
14795 [__USE_SVID]: Likewise.
14796 * pwd/pwd.h [__USE_SVID]: Likewise.
14797 * resolv/netdb.h [__USE_BSD]: Likewise.
14798 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14799 * signal/signal.h [__USE_BSD]: Likewise.
14800 [__USE_SVID]: Likewise.
14801 * socket/sys/socket.h [__USE_BSD]: Likewise.
14802 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14803 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14804 [__USE_SVID]: Likewise.
14805 * string/bits/string2.h [__USE_BSD]: Likewise.
14806 [__USE_SVID]: Likewise.
14807 * string/bits/string3.h [__USE_BSD]: Likewise.
14808 * string/endian.h [__USE_BSD]: Likewise.
14809 * string/string.h [__USE_SVID]: Likewise.
14810 [__USE_BSD]: Likewise.
14811 * string/strings.h [__USE_BSD]: Likewise.
14812 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14813 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14814 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14815 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14816 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14817 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14819 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14821 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14822 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14824 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14825 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14827 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14829 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14830 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14831 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14833 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14835 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14836 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14837 * termios/termios.h [__USE_BSD]: Likewise.
14838 * time/sys/time.h [__USE_BSD]: Likewise.
14839 * time/time.h [__USE_BSD]: Likewise.
14840 [__USE_SVID]: Likewise.
14842 * Makefile (subdir_targets): Remove subdir_lint.out.
14844 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14845 (do-tst-printf): Likewise.
14846 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14847 $(objpfx)tst-printf.out.
14849 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14851 * Makerules (check-abi-%): Change target to
14852 $(objpfx)check-abi-%.out.
14853 (check-abi target): Update dependencies.
14854 (check-abi-pattern variable): Redirect output of diff to $@.
14855 (check-abi variable): Likewise.
14856 * elf/Makefile (check-abi): Update dependencies.
14858 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14860 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14861 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14863 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14864 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14865 value has largest subnormal exponent.
14866 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14867 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14868 * sysdeps/aarch64/soft-fp/sfp-machine.h
14869 (_FP_TININESS_AFTER_ROUNDING): New macro.
14870 * sysdeps/alpha/soft-fp/sfp-machine.h
14871 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14872 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14874 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14875 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14876 * sysdeps/mips/soft-fp/sfp-machine.h
14877 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14878 * sysdeps/powerpc/soft-fp/sfp-machine.h
14879 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14880 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14882 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14883 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14884 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14885 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14886 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14889 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14892 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14895 2014-02-12 Richard Henderson <rth@redhat.com>
14897 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14898 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14899 * sysdeps/unix/sysv/linux/alpha: Move directory from
14900 ports/sysdeps/unix/sysv/linux/alpha.
14901 * README: Update listing for alpha-*-linux-gnu.
14903 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14905 * include/features.h: Update comment documenting feature test
14907 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14909 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14910 (_SVID_SOURCE): Likewise.
14911 (_DEFAULT_SOURCE): Update description of default features.
14912 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14914 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14915 (S_ISVTX): Likewise.
14916 * manual/math.texi (Mathematical Constants): Likewise.
14917 * manual/signal.texi (Interrupted Primitives): Likewise.
14918 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14919 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14920 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14921 Don't refer to _SVID_SOURCE in warning text.
14923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14925 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14927 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14928 * sysdeps/mips/dl-lookup.c: Remove.
14929 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14931 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14934 * math/auto-libm-test-in: Add testcase for expl.
14935 * math/auto-libm-test-out: Regenerate.
14936 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14937 calculation of unsafe.
14938 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14940 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14942 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14943 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14944 ports/sysdeps/unix/sysv/linux/aarch64.
14945 * README: Update listing for aarch64*-*-linux-gnu.
14947 2014-02-11 Will Newton <will.newton@linaro.org>
14949 * manual/probes.texi (Mathematical Function Probes): Use
14950 "triggered" instead of "hit".
14952 * manual/probes.texi (Internal Probes): Add documentation
14953 of setjmp, longjmp and longjmp_target probes.
14955 * include/stap-probe.h: Add comment about probe argument
14958 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14959 definition. (tr_where, tr_freehook, tr_mallochook,
14960 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14962 2014-02-11 David S. Miller <davem@davemloft.net>
14964 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14965 processing int_tests.
14967 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14969 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14970 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14971 * sysdeps/unix/sysv/linux/mips: Move directory from
14972 ports/sysdeps/unix/sysv/linux/mips.
14973 * README: Update listing for mips-*-linux-gnu and
14974 mips64-*-linux-gnu.
14976 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14978 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14979 * sysdeps/unix/sysv/linux/m68k: Move directory from
14980 ports/sysdeps/unix/sysv/linux/m68k.
14981 * README: Update listing for m68k-*-linux-gnu.
14983 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14985 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14986 * sysdeps/unix/sysv/linux/generic: Move directory from
14987 ports/sysdeps/unix/sysv/linux/generic.
14988 * sysdeps/unix/sysv/linux/tile: Move directory from
14989 ports/sysdeps/unix/sysv/linux/tile.
14990 * README: Update listing for tile*-*-linux-gnu.
14992 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14994 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14996 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14997 * catgets/open_catalog.c (__open_catalog): Likewise.
14998 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14999 * debug/confstr_chk.c: Likewise.
15000 * debug/fread_chk.c (__fread_chk): Likewise.
15001 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15002 * debug/getgroups_chk.c: Likewise.
15003 * debug/mbsnrtowcs_chk.c: Likewise.
15004 * debug/mbsrtowcs_chk.c: Likewise.
15005 * debug/mbstowcs_chk.c: Likewise.
15006 * debug/memcpy_chk.c: Likewise.
15007 * debug/memmove_chk.c: Likewise.
15008 * debug/mempcpy_chk.c: Likewise.
15009 * debug/memset_chk.c: Likewise.
15010 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15011 * debug/strcat_chk.c (__strcat_chk): Likewise.
15012 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15013 * debug/strncat_chk.c (__strncat_chk): Likewise.
15014 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15015 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15016 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15017 * debug/wcpncpy_chk.c: Likewise.
15018 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15019 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15020 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15021 * debug/wcsncpy_chk.c: Likewise.
15022 * debug/wcsnrtombs_chk.c: Likewise.
15023 * debug/wcsrtombs_chk.c: Likewise.
15024 * debug/wcstombs_chk.c: Likewise.
15025 * debug/wmemcpy_chk.c: Likewise.
15026 * debug/wmemmove_chk.c: Likewise.
15027 * debug/wmempcpy_chk.c: Likewise.
15028 * debug/wmemset_chk.c: Likewise.
15029 * dirent/scandirat.c (SCANDIRAT): Likewise.
15030 * dlfcn/dladdr1.c (dladdr1): Likewise.
15031 * dlfcn/dladdr.c (dladdr): Likewise.
15032 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15033 * dlfcn/dlerror.c (__dlerror): Likewise.
15034 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15035 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15036 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15037 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15038 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15039 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15040 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15041 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15043 * elf/dl-conflict.c: Likewise.
15044 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15045 * elf/dl-dst.h: Likewise.
15046 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15047 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15048 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15049 * elf/dl-init.c (call_init, _dl_init): Likewise.
15050 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15051 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15052 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15054 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15056 * elf/dl-minimal.c (__libc_memalign): Likewise.
15057 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15058 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15059 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15060 * elf/dl-sym.c (do_sym): Likewise.
15061 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15062 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15063 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15064 * elf/dl-writev.h (_dl_writev): Likewise.
15065 * elf/ldconfig.c (search_dir): Likewise.
15066 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15067 (dl_main): Likewise.
15068 * elf/setup-vdso.h (setup_vdso): Likewise.
15069 * grp/compat-initgroups.c (compat_call): Likewise.
15070 * grp/fgetgrent.c (fgetgrent): Likewise.
15071 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15072 * grp/putgrent.c (putgrent): Likewise.
15073 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15075 * hurd/hurdinit.c: Likewise.
15076 * iconvdata/8bit-gap.c (struct): Likewise.
15077 * iconvdata/ansi_x3.110.c : Likewise.
15078 * iconvdata/big5.c : Likewise.
15079 * iconvdata/big5hkscs.c : Likewise.
15080 * iconvdata/cp1255.c: Likewise.
15081 * iconvdata/cp1258.c : Likewise.
15082 * iconvdata/cp932.c : Likewise.
15083 * iconvdata/euc-cn.c: Likewise.
15084 * iconvdata/euc-jisx0213.c : Likewise.
15085 * iconvdata/euc-jp.c: Likewise.
15086 * iconvdata/euc-jp-ms.c : Likewise.
15087 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15088 * iconvdata/gb18030.c : Likewise.
15089 * iconvdata/gbbig5.c (const): Likewise.
15090 * iconvdata/gbgbk.c: Likewise.
15091 * iconvdata/gbk.c : Likewise.
15092 * iconvdata/ibm1364.c : Likewise.
15093 * iconvdata/ibm930.c : Likewise.
15094 * iconvdata/ibm932.c: Likewise.
15095 * iconvdata/ibm933.c : Likewise.
15096 * iconvdata/ibm935.c : Likewise.
15097 * iconvdata/ibm937.c : Likewise.
15098 * iconvdata/ibm939.c : Likewise.
15099 * iconvdata/ibm943.c: Likewise.
15100 * iconvdata/iso_11548-1.c: Likewise.
15101 * iconvdata/iso-2022-cn.c : Likewise.
15102 * iconvdata/iso-2022-cn-ext.c : Likewise.
15103 * iconvdata/iso-2022-jp-3.c: Likewise.
15104 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15105 * iconvdata/iso-2022-kr.c : Likewise.
15106 * iconvdata/iso646.c (gconv_end): Likewise.
15107 * iconvdata/iso_6937-2.c : Likewise.
15108 * iconvdata/iso_6937.c : Likewise.
15109 * iconvdata/iso8859-1.c: Likewise.
15110 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15111 * iconvdata/shift_jisx0213.c : Likewise.
15112 * iconvdata/sjis.c : Likewise.
15113 * iconvdata/t.61.c : Likewise.
15114 * iconvdata/tcvn5712-1.c : Likewise.
15115 * iconvdata/tscii.c: Likewise.
15116 * iconvdata/uhc.c : Likewise.
15117 * iconvdata/unicode.c (gconv_end): Likewise.
15118 * iconvdata/utf-16.c (gconv_end): Likewise.
15119 * iconvdata/utf-32.c (gconv_end): Likewise.
15120 * iconvdata/utf-7.c (base64): Likewise.
15121 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15122 * iconv/gconv_close.c (__gconv_close): Likewise.
15123 * iconv/gconv_open.c (__gconv_open): Likewise.
15124 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15125 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15126 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15127 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15128 (ucs4le_internal_loop_single): Likewise.
15129 * iconv/iconv.c (iconv): Likewise.
15130 * iconv/iconv_close.c: Likewise.
15131 * iconv/loop.c (SINGLE): Likewise.
15132 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15133 * include/atomic.h: Likewise.
15134 * inet/inet6_option.c (option_alloc): Likewise.
15135 * intl/bindtextdom.c (set_binding_values): Likewise.
15136 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15137 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15138 * intl/localealias.c (read_alias_file): Likewise.
15139 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15140 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15141 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15142 * libio/fmemopen.c (fmemopen): Likewise.
15143 * libio/iofgets.c (_IO_fgets): Likewise.
15144 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15145 * libio/iofgetws.c (fgetws): Likewise.
15146 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15147 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15148 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15149 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15150 * locale/findlocale.c (_nl_find_locale): Likewise.
15151 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15152 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15154 * locale/setlocale.c (setlocale): Likewise.
15155 * login/programs/pt_chown.c (main): Likewise.
15156 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15157 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15158 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15159 (mmap, mmap64, mremap, munmap): Likewise.
15160 * math/e_exp2l.c: Likewise.
15161 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15162 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15163 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15164 * math/s_catan.c (__catan): Likewise.
15165 * math/s_catanf.c (__catanf): Likewise.
15166 * math/s_catanh.c (__catanh): Likewise.
15167 * math/s_catanhf.c (__catanhf): Likewise.
15168 * math/s_catanhl.c (__catanhl): Likewise.
15169 * math/s_catanl.c (__catanl): Likewise.
15170 * math/s_ccosh.c (__ccosh): Likewise.
15171 * math/s_ccoshf.c (__ccoshf): Likewise.
15172 * math/s_ccoshl.c (__ccoshl): Likewise.
15173 * math/s_cexp.c (__cexp): Likewise.
15174 * math/s_cexpf.c (__cexpf): Likewise.
15175 * math/s_cexpl.c (__cexpl): Likewise.
15176 * math/s_clog10.c (__clog10): Likewise.
15177 * math/s_clog10f.c (__clog10f): Likewise.
15178 * math/s_clog10l.c (__clog10l): Likewise.
15179 * math/s_clog.c (__clog): Likewise.
15180 * math/s_clogf.c (__clogf): Likewise.
15181 * math/s_clogl.c (__clogl): Likewise.
15182 * math/s_csin.c (__csin): Likewise.
15183 * math/s_csinf.c (__csinf): Likewise.
15184 * math/s_csinh.c (__csinh): Likewise.
15185 * math/s_csinhf.c (__csinhf): Likewise.
15186 * math/s_csinhl.c (__csinhl): Likewise.
15187 * math/s_csinl.c (__csinl): Likewise.
15188 * math/s_csqrt.c (__csqrt): Likewise.
15189 * math/s_csqrtf.c (__csqrtf): Likewise.
15190 * math/s_csqrtl.c (__csqrtl): Likewise.
15191 * math/s_ctan.c (__ctan): Likewise.
15192 * math/s_ctanf.c (__ctanf): Likewise.
15193 * math/s_ctanh.c (__ctanh): Likewise.
15194 * math/s_ctanhf.c (__ctanhf): Likewise.
15195 * math/s_ctanhl.c (__ctanhl): Likewise.
15196 * math/s_ctanl.c (__ctanl): Likewise.
15197 * math/w_pow.c: Likewise.
15198 * math/w_powf.c: Likewise.
15199 * math/w_powl.c: Likewise.
15200 * math/w_scalb.c (sysv_scalb): Likewise.
15201 * math/w_scalbf.c (sysv_scalbf): Likewise.
15202 * math/w_scalbl.c (sysv_scalbl): Likewise.
15203 * misc/error.c (error_tail): Likewise.
15204 * misc/pselect.c (__pselect): Likewise.
15205 * nis/nis_callback.c (__nis_create_callback): Likewise.
15206 * nis/nis_call.c (__nisfind_server): Likewise.
15207 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15208 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15209 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15210 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15211 * nis/nis_lookup.c (nis_lookup): Likewise.
15212 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15213 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15214 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15215 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15216 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15217 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15218 * nis/nss_compat/compat-initgroups.c (add_group)
15219 (internal_getgrent_r): Likewise.
15220 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15221 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15222 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15223 (internal_getspnam_r): Likewise.
15224 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15225 (_nss_nis_getaliasbyname_r): Likewise.
15226 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15227 (_nss_nis_getntohost_r): Likewise.
15228 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15229 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15230 (_nss_nis_getgrgid_r): Likewise.
15231 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15232 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15233 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15234 (_nss_nis_gethostbyname4_r): Likewise.
15235 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15236 (initgroups_netid): Likewise.
15237 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15238 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15239 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15240 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15241 (_nss_nis_getprotobynumber_r): Likewise.
15242 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15243 (_nss_nis_getsecretkey): Likewise.
15244 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15245 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15246 (_nss_nis_getpwuid_r): Likewise.
15247 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15248 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15249 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15250 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15251 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15252 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15253 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15255 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15256 (_nss_nisplus_getntohost_r): Likewise.
15257 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15258 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15259 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15260 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15262 * nis/nss_nisplus/nisplus-initgroups.c
15263 (_nss_nisplus_initgroups_dyn): Likewise.
15264 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15265 (_nss_nisplus_getnetbyaddr_r): Likewise.
15266 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15267 (_nss_nisplus_getprotobynumber_r): Likewise.
15268 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15269 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15270 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15272 * nis/nss_nisplus/nisplus-service.c
15273 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15274 (_nss_nisplus_getservbyport_r): Likewise.
15275 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15276 (_nss_nisplus_getspnam_r): Likewise.
15277 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15279 * nscd/aicache.c (addhstaiX): Likewise.
15280 * nscd/cache.c (cache_search, prune_cache): Likewise.
15281 * nscd/connections.c (register_traced_file, send_ro_fd)
15282 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15283 (main_loop_epoll): Likewise.
15284 * nscd/grpcache.c (addgrbyX): Likewise.
15285 * nscd/hstcache.c (addhstbyX): Likewise.
15286 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15287 * nscd/mem.c (gc, mempool_alloc): Likewise.
15288 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15289 (addinnetgrX): Likewise.
15290 * nscd/nscd-client.h (__nscd_acquire_maplock)
15291 (__nscd_drop_map_ref): Likewise.
15292 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15293 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15294 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15296 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15298 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15299 (__nscd_get_map_ref): Likewise.
15300 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15301 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15303 * nscd/pwdcache.c (addpwbyX): Likewise.
15304 * nscd/selinux.c (preserve_capabilities): Likewise.
15305 * nscd/servicescache.c (addservbyX): Likewise.
15306 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15307 * posix/fnmatch.c (fnmatch): Likewise.
15308 * posix/getopt.c (_getopt_internal_r): Likewise.
15309 * posix/glob.c (glob, glob_in_dir): Likewise.
15310 * posix/wordexp.c (exec_comm_child): Likewise.
15311 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15312 (getanswer_r, gaih_getanswer_slice): Likewise.
15313 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15314 * resolv/res_init.c: Likewise.
15315 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15316 * resolv/res_query.c (__libc_res_nquery): Likewise.
15317 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15319 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15320 * stdio-common/perror.c (perror): Likewise.
15321 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15322 * stdio-common/tmpnam.c (tmpnam): Likewise.
15323 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15324 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15325 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15327 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15328 * stdlib/putenv.c (putenv): Likewise.
15329 * stdlib/setenv.c (__add_to_environ): Likewise.
15330 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15331 * stdlib/strtol_l.c (INTERNAL): Likewise.
15332 * string/memmem.c (memmem): Likewise.
15333 * string/strerror.c (strerror): Likewise.
15334 * string/strnlen.c (__strnlen): Likewise.
15335 * string/test-memmem.c (simple_memmem): Likewise.
15336 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15337 * sunrpc/pm_getport.c (__get_socket): Likewise.
15338 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15339 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15340 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15341 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15343 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15344 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15345 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15346 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15347 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15348 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15350 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15352 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15353 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15355 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15356 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15358 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15359 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15360 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15361 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15362 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15363 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15369 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15371 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15372 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15373 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15374 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15375 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15379 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15386 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15388 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15390 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15392 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15394 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15396 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15397 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15398 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15399 * sysdeps/posix/sleep.c: Likewise.
15400 * sysdeps/posix/tempname.c: Likewise.
15401 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15402 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15404 * sysdeps/powerpc/powerpc32/dl-machine.h
15405 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15406 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15407 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15408 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15409 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15411 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15412 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15413 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15414 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15415 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15416 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15417 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15418 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15419 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15420 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15422 (elf_machine_lazy_rel): Likewise.
15423 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15425 (elf_machine_lazy_rel): Likewise.
15426 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15427 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15428 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15429 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15430 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15431 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15432 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15435 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15436 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15437 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15438 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15439 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15440 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15441 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15442 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15443 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15444 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15445 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15447 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15448 (__posix_fallocate64_l64): Likewise.
15449 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15450 (posix_fallocate): Likewise.
15451 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15453 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15454 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15455 (getifaddrs_internal): Likewise.
15456 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15457 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15458 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15459 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15460 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15461 (__posix_fallocate64_l64): Likewise.
15462 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15464 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15465 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15466 (__get_clockfreq): Likewise.
15467 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15468 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15469 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15471 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15472 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15473 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15474 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15476 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15477 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15478 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15479 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15480 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15481 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15482 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15484 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15485 (posix_fallocate): Likewise.
15486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15487 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15488 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15489 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15490 (elf_machine_rela, elf_machine_rela_relative)
15491 (elf_machine_lazy_rel): Likewise.
15492 * time/asctime.c (asctime_internal): Likewise.
15493 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15494 * time/tzset.c (__tzset_parse_tz): Likewise.
15495 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15496 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15497 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15498 * wcsmbs/wcsmbsload.h: Likewise.
15501 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15503 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15504 (arena_get2): Remove THREAD_STATS conditionals.
15505 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15506 (__malloc_stats, int): Likewise.
15508 2014-02-08 Mike Frysinger <vapier@gentoo.org>
15510 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15511 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15513 * manual/setjmp.texi: Fix typos/grammar errors.
15515 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15516 Only return early when n is <= 0. Delete unused return statement.
15518 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15519 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15520 * debug/tst-longjmp_chk3.c: New file.
15522 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15523 (test_main): Replace code with set_fortify_handler call.
15524 * debug/test-strcpy_chk.c: Likewise.
15525 * debug/tst-chk1.c: Likewise.
15526 * debug/tst-longjmp_chk.c: Likewise.
15527 * test-skeleton.c: Include fcntl.h & paths.h
15528 (set_fortify_handler): Define.
15530 * debug/tst-longjmp_chk.c: Add header comment and include
15531 ../test-skeleton.c.
15532 (do_test): Mark static.
15533 (TEST_FUNCTION): Define.
15535 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15536 (IP_PMTUDISC_INTERFACE): Likewise.
15537 (IP_MULTICAST_IF): Likewise.
15538 (IP_MULTICAST_TTL): Likewise.
15539 (IP_MULTICAST_LOOP): Likewise.
15540 (IP_ADD_MEMBERSHIP): Likewise.
15541 (IP_DROP_MEMBERSHIP): Likewise.
15542 (IP_UNBLOCK_SOURCE): Likewise.
15543 (IP_BLOCK_SOURCE): Likewise.
15544 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15545 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15546 (IP_MSFILTER): Likewise.
15547 (MCAST_JOIN_GROUP): Likewise.
15548 (MCAST_BLOCK_SOURCE): Likewise.
15549 (MCAST_UNBLOCK_SOURCE): Likewise.
15550 (MCAST_LEAVE_GROUP): Likewise.
15551 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15552 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15553 (MCAST_MSFILTER): Likewise.
15554 (IP_MULTICAST_ALL): Likewise.
15555 (IP_UNICAST_IF): Likewise.
15557 * timezone/Makefile: Delete $(have-ksh) check.
15558 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15559 * timezone/tzselect.ksh: Add +x mode bits.
15561 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15562 (ANON_INODE_FS_MAGIC): Likewise.
15563 (BDEVFS_MAGIC): Likewise.
15564 (BINFMTFS_MAGIC): Likewise.
15565 (BTRFS_TEST_MAGIC): Likewise.
15566 (CRAMFS_MAGIC_WEND): Likewise.
15567 (DEBUGFS_MAGIC): Likewise.
15568 (ECRYPTFS_SUPER_MAGIC): Likewise.
15569 (EXT3_SUPER_MAGIC): Likewise.
15570 (EXT4_SUPER_MAGIC): Likewise.
15571 (FUTEXFS_SUPER_MAGIC): Likewise.
15572 (HOSTFS_SUPER_MAGIC): Likewise.
15573 (HUGETLBFS_MAGIC): Likewise.
15574 (MINIX3_SUPER_MAGIC): Likewise.
15575 (MTD_INODE_FS_MAGIC): Likewise.
15576 (NILFS_SUPER_MAGIC): Likewise.
15577 (OPENPROM_SUPER_MAGIC): Likewise.
15578 (PIPEFS_MAGIC): Likewise.
15579 (PSTOREFS_MAGIC): Likewise.
15580 (QNX6_SUPER_MAGIC): Likewise.
15581 (RAMFS_MAGIC): Likewise.
15582 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15583 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15584 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15585 (SECURITYFS_MAGIC): Likewise.
15586 (SELINUX_MAGIC): Likewise.
15587 (SMACK_MAGIC): Likewise.
15588 (SOCKFS_MAGIC): Likewise.
15589 (SQUASHFS_MAGIC): Likewise.
15590 (STACK_END_MAGIC): Likewise.
15591 (TMPFS_MAGIC): Likewise.
15592 (USBDEVICE_SUPER_MAGIC): Likewise.
15593 (V9FS_MAGIC): Likewise.
15594 (XENFS_SUPER_MAGIC): Likewise.
15595 (CRAMFS_MAGIC): Fix typo in comment.
15596 (EXT2_SUPER_MAGIC): Update comment.
15597 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15599 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15601 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15602 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15603 * sysdeps/unix/sysv/linux/arm: Move directory from
15604 ports/sysdeps/unix/sysv/linux/arm.
15605 * README: Update listing for arm-*-linux-gnueabi.
15607 * README: Remove mention of am33.
15609 2014-02-07 Roland McGrath <roland@hack.frob.com>
15611 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15612 than the comma operator, to avoid "rhs of comma has no effect"
15614 (__sigfillset, __sigandset, __sigorset): Likewise.
15615 * include/signal.h (__sigemptyset): Likewise.
15616 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15618 2014-02-07 Allan McRae <allan@archlinux.org>
15620 * version.h (RELEASE): Set to "development".
15621 (VERSION): Set to "2.19.90"
15622 * NEWS: Add 2.20 section.
15624 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15627 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15629 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15631 * manual/contrib.texi: Update entry for Carlos O'Donell,
15632 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15634 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15636 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15638 * sysdeps/unix/sysv/linux/kernel-features.h
15639 [__LINUX_KERNEL_VERSION >= 0x020621]
15640 (__ASSUME_PROC_PID_TASK_COMM): Define.
15642 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15645 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15646 conversion when destination buffer does not have enough space.
15647 * libio/tst-ftell-partial-wide.c: New test case.
15648 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15650 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15651 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15652 Leonard and Allan McRae.
15654 2014-02-04 David S. Miller <davem@davemloft.net>
15656 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15659 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15688 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15690 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15691 * shlib-versions: Likewise.
15693 2014-02-04 Roland McGrath <roland@hack.frob.com>
15694 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15696 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15697 (abilist-pattern): New variable, set to %-le.abilist.
15699 * Makerules (abilist-pattern): New variable.
15700 (vpath): Use $(abilist-pattern) in place of %.abilist.
15701 (check-abi-% pattern rule): Likewise.
15702 (check-abi, update-abi): Likewise.
15704 2014-02-04 Eric Wong <normalperson@yhbt.net>
15706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15708 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15710 * manual/startup.texi: Add next, previous, and top entries for
15711 the `Program Arguments' and `Environment Variables' nodes.
15713 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15715 * manual/macros.texi: Add comments before MTASC-safety macros.
15717 * manual/users.texi: Document MTASC-safety properties.
15719 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15720 (pthread_getspecific, pthread_setspecific): Format with
15721 @deftypefun, and add @safety note.
15722 * manual/signal.texi: Move comments that analyze the above
15723 functions to their home place.
15725 2014-02-03 Allan McRae <allan@archlinux.org>
15727 * po/sl.po: Update Slovenian translation from translation project.
15729 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15731 * manual/time.texi (timegm): Add missing blank after @c.
15732 Reported by Joseph Myers <joseph@codesourcery.com>.
15734 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15736 * manual/check-safety.sh: New.
15737 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15739 * manual/terminal.texi: Document MTASC-safety properties.
15741 * manual/filesys.texi: Document MTASC-safety properties.
15743 * manual/errno.texi: Document MTASC-safety properties.
15745 * manual/intro.texi: Document safety identifiers and
15748 * manual/string.texi (wcstok): Fix prototype.
15749 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15751 * manual/time.texi: Document MTASC-safety properties.
15753 * manual/string.texi: Document MTASC-safety properties.
15755 * manual/threads.texi: Document MTASC-safety properties.
15757 * manual/stdio.texi: Document MTASC-safety properties.
15759 * manual/syslog.texi: Document MTASC-safety properties.
15761 * manual/sysinfo.texi: Document MTASC-safety properties.
15763 * manual/startup.texi: Document MTASC-safety properties.
15765 * manual/socket.texi: Document MTASC-safety properties.
15767 * manual/signal.texi: Document MTASC-safety properties.
15769 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15771 * manual/setjmp.texi: Document MTASC-safety properties.
15773 * manual/search.texi: Document MTASC-safety properties.
15775 * manual/resource.texi: Document MTASC-safety properties.
15777 * manual/process.texi: Document MTASC-safety properties.
15779 * manual/platform.texi: Document MTASC-safety properties.
15781 * manual/pipe.texi: Document MTASC-safety properties.
15783 * manual/pattern.texi: Document MTASC-safety properties.
15785 * manual/message.texi: Document MTASC-safety properties.
15788 * manual/memory.texi: Document MTASC-safety properties.
15790 * manual/math.texi: Document MTASC-safety properties.
15792 * manual/locale.texi: Document MTASC-safety properties.
15794 * manual/llio.texi: Document MTASC-safety properties.
15796 * manual/libdl.texi: New.
15798 * manual/lang.texi: Document MTASC-safety properties.
15800 * manual/job.texi: Document MTASC-safety properties.
15802 * manual/getopt.texi: Document MTASC-safety properties.
15804 * manual/ctype.texi: Document MTASC-safety properties.
15806 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15809 * csu/libc-tls.c (static_map): Remove variable.
15810 (__libc_setup_tls): Use main executable's link map for TLS data.
15811 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15812 casing for LM_ID_BASE and GL(dl_nns).
15813 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15814 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15815 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15816 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15817 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15819 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15822 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15824 * manual/debug.texi: Document MTASC-safety properties.
15826 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15829 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15830 of __x86_64__ when disabling x87 inline functions.
15832 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15834 * manual/charset.texi: Document MTASC-safety properties.
15836 * manual/crypt.texi: Document MTASC-safety properties.
15838 * manual/conf.texi: Document MTASC-safety properties.
15840 * manual/arith.texi: Document MTASC-safety properties.
15842 * manual/argp.texi: Document MTASC-safety properties.
15844 * manual/macros.texi: Introduce macros to document multi
15845 thread, asynchronous signal and asynchronous cancellation
15847 * manual/intro.texi: Introduce the properties themselves.
15849 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15851 * sysdeps/sh/sh4/Makefile: New file.
15853 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15855 * math/gen-libm-test.pl ($srcdir): New variable.
15856 ($auto_input): Use it.
15858 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15861 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15862 access beyond array bounds when parsing netgroups file.
15864 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15865 the old buffer before realloc.
15867 2014-01-27 Allan McRae <allan@archlinux.org>
15869 * po/fr.po: Update French translation from translation project.
15871 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15873 * sysdeps/sh/libm-test-ulps: Regenerate.
15875 2014-01-24 David S. Miller <davem@davemloft.net>
15877 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15879 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15881 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15882 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15884 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15887 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15888 string pointers after reallocation.
15890 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15892 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15893 __SH4A__ instead of __SH_FPU_ANY__.
15895 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15897 * sysdeps/sh/fpu_control.h: New file.
15898 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15899 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15900 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15901 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15902 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15903 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15904 * sysdeps/sh/sys/ucontext.h: Remove.
15905 * sysdeps/sh/sys: Remove directory.
15907 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15909 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15910 s390/sys/ucontext.h.
15911 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15912 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15914 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15917 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15919 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15923 Adjust the vDSO correctly for internal calls.
15924 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15926 2014-01-20 Allan McRae <allan@archlinux.org>
15928 * po/ca.po: Update Catalan translation from translation project.
15930 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15932 * sysdeps/s390/sotruss-lib.c: New file.
15934 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15937 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15938 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15939 local calls issues by not having a PLT stub required for IFUNC calls.
15940 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15942 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15944 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15945 * math/test-fpucw-static.c: Likewise.
15947 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15950 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15952 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15954 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15955 implementation for powerpc.
15957 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15960 * sysdeps/posix/system.c (__libc_system): Do not enable
15961 asynchronous cancellation.
15963 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15966 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15967 handling only for numbers special also in the IEEE case.
15969 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15971 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15973 2014-01-11 Allan McRae <allan@archlinux.org>
15975 * po/bg.po: Update Bulgarian translation from translation project.
15977 * po/de.po: Update German translation from translation project.
15979 2014-01-10 Roland McGrath <roland@hack.frob.com>
15981 * sysdeps/generic/gcc-compat.h: New file.
15983 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15985 * benchtests/asin-inputs: Correct slow inputs.
15986 * benchtests/acos-inputs: Likewise.
15988 2014-01-10 Allan McRae <allan@archlinux.org>
15990 * po:sv.po: Update Swedish translation from translation project.
15992 * po/vi.po: Update Vietnamese translation from translation project.
15994 * po/eo.po: Update Esperanto translation from translation project.
15996 * po/cs.po: Update Czech translation from translation project.
15998 * po/nl.po: Update Dutch translation from translation project.
16000 * po/pl.po: Update Polish translation from translation project.
16002 * po/ru.po: Update Russian translation from translation project.
16004 * po/uk.po: Update Ukrainian translation from translation project.
16006 2014-01-08 Brooks Moses <bmoses@google.com>
16008 * elf/dl-load.c: Fix comment typo.
16010 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16012 * po/header.pot: Rename to...
16013 * po/pot.header: ... this.
16014 * po/Makefile: Use pot.header.
16016 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16017 Maxim Kuvyrkov <maxim@kugelworks.com>
16020 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16021 SRC and DEST against LEN.
16023 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16026 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16028 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16030 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16034 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16037 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16038 for large positive arguments.
16040 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16042 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16044 * math/auto-libm-test-in: Mark various tests with
16045 xfail-rounding:ldbl-128ibm.
16046 * math/auto-libm-test-out: Regenerated.
16049 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16050 Increase overflow threshold.
16052 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16055 * stdio-common/vfprintf.c: Check for integer overflow.
16057 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16059 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16060 the first argument and return value of __tls_get_addr_internal.
16062 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16064 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16065 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16067 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16069 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16070 * sysdeps/s390/rtld-global-offsets.sym: New file.
16071 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16073 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16074 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16075 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16077 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16078 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16084 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16085 halfs of GPRs for high_gprs contexts.
16086 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16087 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16089 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16091 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16093 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16094 for high GPRs (uc_high_gprs) and for future extensions
16096 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16097 for future extensions (__reserved).
16098 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16100 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16101 SC_HIGHGPRS offset definition.
16102 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16103 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16105 * Versions.def: Add GLIBC_2.19 for libpthread.
16106 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16107 siglongjmp for libpthread with GLIBC_2.19 symver.
16108 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16109 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16110 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16111 * sysdeps/s390/__longjmp.c: New file.
16112 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16113 * sysdeps/s390/longjmp.c: New file.
16114 * sysdeps/s390/setjmp.S: New file.
16115 * sysdeps/s390/sigjmp.S: New file.
16116 * sysdeps/s390/v1-longjmp.c: New file.
16117 * sysdeps/s390/v1-setjmp.h: New file.
16118 * sysdeps/s390/v1-sigjmp.c: New file.
16119 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16120 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16121 GLIBC_2.19 version.
16122 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16123 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16124 versioned symbols for ____longjmp_chk.
16125 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16135 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16136 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16137 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16138 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16139 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16140 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16141 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16142 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16143 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16144 * sysdeps/s390/rtld-__longjmp.c: New file.
16145 * sysdeps/s390/rtld-setjmp.S: New file.
16147 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16150 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16151 Return -__logl (x) for small positive arguments without evaluating
16154 2014-01-06 Mike Frysinger <vapier@gentoo.org>
16156 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16158 (__ptrace_peeksiginfo_args): ... this.
16159 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16161 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16163 2014-01-06 Allan McRae <allan@archlinux.org>
16165 * inet/netinet/in.h: Fix typo in comment.
16167 2014-01-05 Andreas Jaeger <aj@suse.de>
16169 * sysdeps/i386/fpu/libm-test-ulps: Update.
16171 2014-01-05 Allan McRae <allan@archlinux.org>
16173 * po/libc.pot: Regenerated.
16175 * malloc/memusagestat.c: Fix gettext call formatting.
16177 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16179 * nscd/nscd.c: Improve usage() output.
16181 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16183 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16184 * sysdeps/unix/sysv/linux/configure: Regenerated.
16185 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16186 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16188 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16191 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16192 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16194 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16197 extra tokens at end of #undef directive.
16198 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16199 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16200 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16202 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16204 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16206 * math/auto-libm-test-in: Mark various tests with
16207 xfail-rounding:ldbl-128ibm.
16208 * math/auto-libm-test-out: Regenerated.
16210 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16213 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16214 numbers with subnormal high part when calculating exponent.
16217 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16223 (__ieee754_acoshl): Use __log1pl not __log1p.
16225 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16227 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16228 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16229 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16230 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16231 (reused_arena, arena_get2): Convert to GNU style.
16232 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16233 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16234 (memalign_check, __malloc_set_state): Likewise.
16235 * malloc/mallocbug.c (main): Likewise.
16236 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16237 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16238 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16239 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16240 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16241 (__posix_memalign, malloc_info): Likewise.
16242 * malloc/malloc.h: Likewise.
16243 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16244 (mallochook, memalignhook, reallochook, mabort): Likewise.
16245 * malloc/mcheck.h: Likewise.
16246 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16247 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16248 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16249 * malloc/morecore.c (__default_morecore): Likewise.
16250 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16251 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16252 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16253 (print_and_abort): Likewise.
16254 * malloc/obstack.h: Likewise.
16255 * malloc/set-freeres.c (__libc_freeres): Likewise.
16256 * malloc/tst-mallocstate.c (main): Likewise.
16257 * malloc/tst-mtrace.c (main): Likewise.
16258 * malloc/tst-realloc.c (do_test): Likewise.
16260 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16263 * nscd/netgroupcache.c (do_notfound): New function.
16264 (addgetnetgrentX): Use it.
16267 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16268 NSS_STATUS_NOTFOUND.
16270 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16272 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16275 2014-01-01 Allan McRae <allan@archlinux.org>
16277 * scripts/update-copyrights: Update configure input file suffix.
16279 * NEWS: Update copyright year.
16280 * catgets/gencat.c: Likewise.
16281 * csu/version.c: Likewise.
16282 * debug/catchsegv.sh: Likewise.
16283 * debug/pcprofiledump.c: Likewise.
16284 * debug/xtrace.sh: Likewise.
16285 * elf/ldconfig.c: Likewise.
16286 * elf/ldd.bash.in: Likewise.
16287 * elf/pldd.c: Likewise.
16288 * elf/sotruss.ksh: Likewise.
16289 * elf/sprof.c: Likewise.
16290 * iconv/iconv_prog.c: Likewise.
16291 * iconv/iconvconfig.c: Likewise.
16292 * locale/programs/locale.c: Likewise.
16293 * locale/programs/localedef.c: Likewise.
16294 * login/programs/pt_chown.c: Likewise.
16295 * malloc/memusage.sh: Likewise.
16296 * malloc/memusagestat.c: Likewise.
16297 * malloc/mtrace.pl: Likewise.
16298 * manual/libc.texinfo: Likewise.
16299 * nscd/nscd.c: Likewise.
16300 * nss/getent.c: Likewise.
16301 * nss/makedb.c: Likewise.
16302 * posix/getconf.c: Likewise.
16303 * scripts/test-installation.pl: Likewise.
16305 * All files with FSF copyright notices: Update copyright dates
16306 using scripts/update-copyrights.
16307 * intl/plural.c: Regenerated.
16308 * locale/programs/charmap-kw.h: Likewise.
16309 * locale/programs/locfile-kw.h: Likewise.
16311 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16313 * sysdeps/unix/sysv/linux/configure: Regenerated.
16314 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16315 the linux/fanotify.h header.
16316 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16317 HAVE_LINUX_FANOTIFY_H is defined.
16319 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16321 * benchtests/cos-inputs: New inputs.
16322 * benchtests/sin-inputs: Likewise.
16324 * benchtests/atan-inputs: New inputs. Fix name of multiple
16325 precision fallback inputs.
16327 * benchtests/atanh-inputs: New inputs.
16328 * benchtests/tanh-inputs: Likewise.
16330 * benchtests/acosh-inputs: New inputs.
16331 * benchtests/asinh-inputs: Likewise.
16333 * benchtests/cosh-inputs: New inputs.
16334 * benchtests/sinh-inputs: Likewise.
16336 * benchtests/acos-inputs: Add more inputs.
16337 * benchtests/asin-inputs: Likewise.
16339 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
16342 * manual/arith.texi: Fix spelling.
16343 * manual/charset.texi: Likewise.
16344 * manual/errno.texi: Likewise.
16345 * manual/filesys.texi: Likewise.
16346 * manual/lang.texi: Likewise.
16347 * manual/llio.texi: Likewise.
16348 * manual/locale.texi: Likewise.
16349 * manual/message.texi: Likewise.
16350 * manual/resource.texi: Likewise.
16351 * manual/search.texi: Likewise.
16352 * manual/setjmp.texi: Likewise.
16353 * manual/stdio.texi: Likewise.
16354 * manual/string.texi: Likewise.
16355 * manual/sysinfo.texi: Likewise.
16356 * manual/time.texi: Likewise.
16358 2013-12-27 Carlos O'Donell <carlos@redhat.com>
16360 * po/sl.po: New file.
16362 2013-12-27 Mike Frysinger <vapier@gentoo.org>
16364 * .gitignore: Add core/.gdbinit/.gdb_history.
16366 2013-12-27 Allan McRae <allan@archlinux.org>
16369 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16370 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16372 2013-12-24 Brooks Moses <bmoses@google.com>
16374 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16375 all compilers that claim C++98 compliance, not just GCC.
16376 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16379 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16381 * NEWS: Restore accidentally deleted bug-fix entries.
16383 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16384 Ondřej Bílka <neleai@seznam.cz>
16387 * malloc/malloc.c (_int_free): Perform sanity check only if we
16390 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
16393 * manual/stdio.texi (String Input Conversions): Clarify that character
16394 classes are not supported.
16396 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16400 2013-12-22 Joseph Myers <joseph@codesourcery.com>
16403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16404 Calculate results for small negative arguments directly rather
16405 than using reflection formula with special underflow handling.
16407 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16408 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16409 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16410 (fchflags): Likewise.
16411 (revoke): Likewise.
16412 (setlogin): Likewise.
16413 (sigaltstack): Likewise.
16415 (sigblock): Remove.
16416 (sigsetmask): Likewise.
16418 (waitpid): Likewise.
16419 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16420 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16422 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16423 * sysdeps/unix/bsd/Makefile: ... here.
16424 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16425 * sysdeps/unix/bsd/Versions: ... here.
16426 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16427 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16428 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16429 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16430 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16431 * sysdeps/unix/bsd/sigblock.c: ... here.
16432 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16433 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16434 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16435 * sysdeps/unix/bsd/sigvec.c: ... here.
16436 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16437 * sysdeps/unix/bsd/tcdrain.c: ... here.
16438 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16439 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16440 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16441 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16442 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16443 * sysdeps/unix/bsd/wait.c: ... here.
16444 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16445 * sysdeps/unix/bsd/wait3.c: ... here.
16446 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16447 * sysdeps/unix/bsd/waitpid.c: ... here.
16449 2013-12-21 Joseph Myers <joseph@codesourcery.com>
16452 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16453 round-to-nearest for [!USE_AS_EXPM1L].
16454 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16455 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16456 more tests of exp and exp10. Expect some exp10 tests to miss
16457 exceptions or fail in directed rounding modes.
16458 * math/auto-libm-test-out: Regenerated.
16459 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16460 (exp10_test_tonearest): New function.
16461 (exp10_towardzero_test_data): New array.
16462 (exp10_test_towardzero): New function.
16463 (exp10_downward_test_data): New array.
16464 (exp10_test_downward): New function.
16465 (exp10_upward_test_data): New array.
16466 (exp10_test_upward): New function.
16467 (main): Call the new functions.
16468 * sysdeps/i386/fpu/libm-test-ulps: Update.
16469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16471 2013-12-20 Joseph Myers <joseph@codesourcery.com>
16473 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16474 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16475 * math/auto-libm-test-out: Regenerated.
16476 * math/libm-test.inc (acosh_test_data): Add more tests.
16477 (atanh_test_data): Likewise.
16478 (ceil_test_data): Likewise.
16479 (copysign_test_data): Likewise.
16480 * sysdeps/i386/fpu/libm-test-ulps: Update.
16481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16483 * timezone/checktab.awk: Update from tzcode 2013i.
16484 * timezone/private.h: Likewise.
16485 * timezone/scheck.c: Likewise.
16486 * timezone/tzfile.h: Likewise.
16487 * timezone/tzselect.ksh: Likewise.
16488 * timezone/zdump.c: Likewise.
16489 * timezone/zic.c: Likewise.
16491 * math/auto-libm-test-in: Add tests of cpow.
16492 * math/auto-libm-test-out: Regenerated.
16493 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16496 (func_calc_desc): Add mpc_cc_c union field.
16497 (test_functions): Add cpow.
16498 (special_fill_2pi): New function.
16499 (special_real_inputs): Add 2pi.
16500 (calc_generic_results): Handle mpc_cc_c.
16501 * sysdeps/i386/fpu/libm-test-ulps: Update.
16502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16504 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16505 csqrt, ctan and ctanh.
16506 * math/auto-libm-test-out: Regenerated.
16507 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16508 (TEST_COND_x86): Likewise.
16509 (ccos_test_data): Use AUTO_TESTS_c_c.
16510 (ccosh_test_data): Likewise.
16511 (cexp_test_data): Likewise.
16512 (clog_test_data): Likewise.
16513 (csqrt_test_data): Likewise.
16514 (ctan_test_data): Likewise.
16515 (ctan_tonearest_test_data): Likewise.
16516 (ctan_towardzero_test_data): Likewise.
16517 (ctan_downward_test_data): Likewise.
16518 (ctan_upward_test_data): Likewise.
16519 (ctanh_test_data): Likewise.
16520 (ctanh_tonearest_test_data): Likewise.
16521 (ctanh_towardzero_test_data): Likewise.
16522 (ctanh_downward_test_data): Likewise.
16523 (ctanh_upward_test_data): Likewise.
16524 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16526 (func_calc_desc): Add mpc_c_c union field.
16527 (FUNC_mpc_c_c): New macro.
16528 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16529 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16531 (special_fill_min_subnorm_p120): New function.
16532 (special_real_inputs): Add min_subnorm_p120.
16533 (calc_generic_results): Handle mpc_c_c.
16534 * sysdeps/i386/fpu/libm-test-ulps: Update.
16535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16537 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16539 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16540 (do_sin_slow): New functions.
16541 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16542 (cslow2, csloww1, csloww2): Use the new functions.
16544 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16545 Use M to change sign of result instead of X. Assume X is
16547 (csloww1): Likewise.
16551 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16552 arguments A and DA.
16556 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16558 (sloww1): Don't adjust sign of DX.
16559 (csloww1): Likewise.
16560 (sloww2): Use X directly and don't adjust sign of DX.
16561 (csloww2): Likewise.
16563 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16565 * math/auto-libm-test-in: Add tests of cabs and carg.
16566 * math/auto-libm-test-out: Regenerated.
16567 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16568 (carg_test_data): Likewise.
16569 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16571 (func_calc_desc): Add mpc_c_f union field.
16572 (test_functions): Add cabs and carg.
16573 (calc_generic_results): Handle mpc_c_f.
16575 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16576 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16577 as a macro and a compat symbol.
16578 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16579 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16580 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16581 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16582 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16583 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16585 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16587 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16589 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16591 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16593 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16595 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16596 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16599 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16603 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16605 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16606 trailing whitespace removed.
16607 * scripts/config.guess: Update to version 2013-11-29.
16608 * scripts/config.sub: Update to version 2013-10-01.
16610 * math/auto-libm-test-in: Add tests of sincos.
16611 * math/auto-libm-test-out: Regenerated.
16612 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16613 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16615 (func_calc_desc): Add mpfr_f_11 union field.
16616 (test_functions): Add sincos.
16617 (calc_generic_results): Handle mpfr_f_11.
16618 * sysdeps/i386/fpu/libm-test-ulps: Update.
16619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16621 2013-12-19 Andreas Schwab <schwab@suse.de>
16623 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16625 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16626 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16627 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16629 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16631 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16632 * sysdeps/i386/fpu/libm-test-ulps: Update.
16633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16636 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16637 round-to-nearest mode when using frndint.
16638 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16639 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16640 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16642 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16644 * math/auto-libm-test-out: Regenerated.
16645 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16646 (TEST_COND_x86): Likewise.
16647 (expm1_tonearest_test_data): New array.
16648 (expm1_test_tonearest): New function.
16649 (expm1_towardzero_test_data): New array.
16650 (expm1_test_towardzero): New function.
16651 (expm1_downward_test_data): New array.
16652 (expm1_test_downward): New function.
16653 (expm1_upward_test_data): New array.
16654 (expm1_test_upward): New function.
16655 (main): Run the new test functions.
16656 * sysdeps/i386/fpu/libm-test-ulps: Update.
16657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16659 * include/features.h: Update comment documenting feature test
16660 macros. Mention _DEFAULT_SOURCE in comment.
16661 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16662 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16663 _BSD_SOURCE and _SVID_SOURCE.
16664 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16665 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16666 !_SVID_SOURCE]: Likewise.
16667 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16668 (__USE_POSIX_IMPLICITLY): Define.
16669 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16670 (_POSIX_SOURCE): Undefine and redefine.
16671 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16672 (_POSIX_C_SOURCE): Likewise.
16673 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16674 (Feature Test Macros): Update documentation of default features.
16676 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16678 * benchtests/Makefile: Add bench-strtok.
16679 * benchtests/bench-strtok.c: New file: strtok benchtest.
16681 2013-12-19 Allan McRae <allan@archlinux.org>
16683 * manual/install.texi: Suppress menu for plain text output.
16684 * INSTALL: Regenerated.
16686 2013-12-18 Brooks Moses <bmoses@google.com>
16689 * misc/getauxval.c: Include errno.h.
16690 (__getauxval): Set errno to ENOENT if the requested type is not
16692 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16693 don't declare with __attribute_const__.
16694 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16695 * manual/startup.texi: Document that getauxval sets errno.
16697 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16699 * math/auto-libm-test-in: Add tests of jn and yn.
16700 * math/auto-libm-test-out: Regenerated.
16701 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16702 (yn_test_data): Likewise.
16703 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16705 (func_calc_desc): Add mpfr_if_f union field.
16706 (FUNC_mpfr_if_f): New macro.
16707 (test_functions): Add jn and yn.
16708 (calc_generic_results): Assert type of second input for
16709 mpfr_ff_f. Handle mpfr_if_f.
16710 (output_for_one_input_case): Disable all checking for arguments
16711 fitting floating-point types in case of an integer argument.
16712 * sysdeps/i386/fpu/libm-test-ulps: Update.
16713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16716 Don't expect fegetround reference in libm.so.
16718 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16720 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16721 $(config-cflags-nofma).
16723 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16725 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16726 * math/auto-libm-test-out: Regenerated.
16729 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16730 to determine exponent and adjust argument to have exponent of -1.
16731 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16733 * math/auto-libm-test-out: Regenerated.
16734 * sysdeps/i386/fpu/libm-test-ulps: Update.
16735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16737 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16739 * manual/probes.texi: Remove cases when per-thread arenas are
16742 2013-12-18 Andreas Schwab <schwab@suse.de>
16744 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16745 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16746 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16747 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16748 * sysdeps/i386/i686/multiarch/Makefile: Update.
16749 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16751 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16753 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16754 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16756 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16759 Support TZ transition times < 00:00:00.
16760 This is needed for version-3 tz-format files; it supports time
16761 stamps past 2037 for America/Godthab (the only entry in the tz
16762 database for which this change is relevant).
16763 * manual/time.texi (TZ Variable): Document transition times
16764 from -167:59:59 through -00:00:01.
16765 * time/tzset.c (tz_rule): Time of day is now signed.
16766 (__tzset_parse_tz): Parse negative time of day.
16768 Document TZ transition times >= 25:00:00.
16769 * manual/time.texi (TZ Variable): Document transition times from
16770 25:00:00 through 167:59:59. These are already supported, and this
16771 support will help with version-3 tz-format files.
16773 * manual/time.texi (TZ Variable): Modernize North America example
16774 to reflect current (i.e., 2007-and-later) daylight saving rules.
16776 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16778 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16780 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16781 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16784 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16785 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16786 * sysdeps/unix/bsd/clock.c: Likewise.
16787 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16788 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16789 * sysdeps/unix/bsd/init-posix.c: Likewise.
16790 * sysdeps/unix/bsd/poll.c: Likewise.
16791 * sysdeps/unix/bsd/ptsname.c: Likewise.
16792 * sysdeps/unix/bsd/seekdir.c: Likewise.
16793 * sysdeps/unix/bsd/setegid.c: Likewise.
16794 * sysdeps/unix/bsd/seteuid.c: Likewise.
16795 * sysdeps/unix/bsd/setgid.c: Likewise.
16796 * sysdeps/unix/bsd/setrgid.c: Likewise.
16797 * sysdeps/unix/bsd/setruid.c: Likewise.
16798 * sysdeps/unix/bsd/setsid.c: Likewise.
16799 * sysdeps/unix/bsd/setuid.c: Likewise.
16800 * sysdeps/unix/bsd/sigaction.c: Likewise.
16801 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16802 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16803 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16804 * sysdeps/unix/bsd/telldir.c: Likewise.
16805 * sysdeps/unix/bsd/times.c: Likewise.
16806 * sysdeps/unix/bsd/usleep.c: Likewise.
16808 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16809 ($(objpfx)libbsd-compat.a): Remove rule.
16811 * include/features.h (__FAVOR_BSD): Do not define.
16812 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16813 features conflicting with POSIX.
16814 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16815 (_BSD_SOURCE): Remove description of not being a subset of other
16816 feature test macros.
16817 * manual/job.texi (getpgrp): Do not document BSD version.
16818 (getpgid): Do not document by reference to BSD getpgrp.
16819 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16820 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16821 * signal/signal.h [__FAVOR_BSD]: Likewise.
16822 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16823 instead of making contents conditional on [__FAVOR_BSD].
16824 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16826 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16830 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16834 values below 2**-450, not 2**-500.
16835 * math/auto-libm-test-in: Don't allow spurious underflow from
16837 * math/auto-libm-test-out: Regenerated.
16841 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16842 values of ha and hb and sort them after adjusting subnormal
16844 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16846 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16847 values of ea and eb and sort them after adjusting subnormal
16849 * math/auto-libm-test-in: Do not expect some hypot tests of
16850 subnormals to fail. Add more hypot tests.
16851 * math/auto-libm-test-out: Regenerated.
16853 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16856 * sysdeps/sh/s_fma.c: New file.
16857 * sysdeps/sh/s_fmaf.c: New file.
16858 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16860 * sysdeps/sh/Implies: Add sh/soft-fp.
16862 2013-12-16 Roland McGrath <roland@hack.frob.com>
16864 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16865 level of indirection to members `objname', `errstring', `malloced'.
16866 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16867 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16868 it as the __longjmp argument (just pass 1 instead).
16869 (_dl_catch_error): Initialize C with argument pointers and address of
16870 volatile local ERRCODE rather than copying values out of C at return.
16872 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16874 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16875 * math/auto-libm-test-out: Regenerated.
16876 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16877 (hypot_test_data): Likewise.
16878 (pow_test_data): Likewise.
16879 (pow_tonearest_test_data): Likewise.
16880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16882 (func_calc_desc): Add mpfr_ff_f union field.
16883 (FUNC_mpfr_ff_f): New macro.
16884 (test_functions): Add atan2, hypot and pow.
16885 (special_fill_min): New function.
16886 (special_fill_minus_min): Likewise.
16887 (special_fill_min_subnorm): Likewise.
16888 (special_fill_minus_min_subnorm): Likewise.
16889 (special_real_inputs): Add min, -min, min_subnorm and
16891 (calc_generic_results): Handle mpfr_ff_f.
16892 * sysdeps/i386/fpu/libm-test-ulps: Update.
16893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16895 2013-12-16 Will Newton <will.newton@linaro.org>
16897 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16898 (Aligned Memory Blocks): Add documentation for aligned_alloc
16899 and suggest it as an alternative to posix_memalign.
16900 (Hooks for Malloc): Document __memalign_hook is also called
16901 for aligned_alloc. (Summary of Malloc): Add summary for
16902 aligned alloc. Document __memalign_hook is also called
16905 2013-12-16 Will Newton <will.newton@linaro.org>
16907 * manual/memory.texi (Malloc Examples): Clarify default
16908 alignment documentation. Suggest posix_memalign rather
16909 than memalign or valloc.
16910 (Aligned Memory Blocks): Remove suggestion to use memalign
16911 or valloc. Remove obsolete comment about BSD.
16912 Document memalign errno values and mark the function obsolete.
16913 Document posix_memalign returned error codes. Mark valloc
16914 as obsolete. (Hooks for Malloc): __memalign_hook is also
16915 called for posix_memalign and valloc.
16916 (Summary of Malloc): Add posix_memalign to function summary.
16917 __memalign_hook is also called for posix_memalign and valloc.
16919 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16921 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16925 (sloww): Use mynumber union. Expand ternary operator into
16926 if-else statements.
16927 (cslow): use mynumber union.
16929 2013-12-16 Allan McRae <allan@archlinux.org>
16931 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16932 * configure: Regenerated.
16934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16937 * configure.ac: Added --enable-maintainer-mode. Check for
16938 autoconf when enabled.
16939 * configure: Regenerated.
16941 * nscd/nscd.service: New file.
16942 * nscd/nscd.tmpfiles: New file.
16944 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16947 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16948 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16949 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16950 (strstr): Add __strstr_sse2_unaligned ifunc.
16951 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16952 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16953 (strcasestr): Remove __strcasestr_sse42 ifunc.
16954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16958 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16960 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16961 * sysdeps/sh/bits/fenv.h: ... here.
16962 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16964 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16966 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16969 hypotf multiarch implementations.
16970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16971 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16972 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16973 multiarch hypot for PPC64.
16974 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16975 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16976 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16977 multiarch hypotf for PPC64.
16979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16980 modff multiarch implementations.
16981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16984 multiarch modf for PPC64.
16985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16988 multiarch modff for PPC64.
16990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16991 and logl multiarch implementations.
16992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16995 multiarch logb for PPC64.
16996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16999 multiarch logb for PPC64.
17000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17003 multiarch logb for PPC64.
17005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17006 isinff multiarch implementation.
17007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17011 multiarch isinf for PPC64.
17012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17015 multiarch isinff for PPC64.
17017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17018 finitef multiarch implementation.
17019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17023 multiarch finite for PPC64.
17024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17027 multiarch finitef for PPC64.
17029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17030 lrint multiarch implementation.
17031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17035 multiarch llrint for PPC64.
17036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17037 multiarch lrint for PPC64.
17039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17040 copysignf multiarch implementation.
17041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17046 multiarch copysign for PPC64.
17047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17048 multiarch copysignf for PPC64.
17050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17051 multiarch implementation.
17052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17060 multiarch llround for PPC64.
17061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17062 multiarch trunc for PPC64.
17063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17064 multiarch truncf for PPC64.
17066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17067 multiarch implementation.
17068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17076 multiarch llround for PPC64.
17077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17078 multiarch round for PPC64.
17079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17080 multiarch roundf for PPC64.
17082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17083 multiarch implementation.
17084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17092 multiarch llround for PPC64.
17093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17094 multiarch floor for PPC64.
17095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17096 multiarch floorf for PPC64.
17098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17099 multiarch implementation.
17100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17108 multiarch llround for PPC64.
17109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17110 multiarch ceil for PPC64.
17111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17112 multiarch ceilf for PPC64.
17114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17115 multiarch implementation.
17116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17123 multiarch llround for PPC64.
17124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17125 multiarch lround for PPC64.
17127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17128 multiarch implementation.
17129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17136 multiarch isnan for PPC64.
17137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17138 multiarch isnanf for PPC64.
17140 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17141 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17142 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17143 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17144 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17147 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17153 multiarch implementations.
17154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17155 (__libc_ifunc_impl_list): Likewise.
17156 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17157 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17158 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17159 multiarch stpcpy for PPC64.
17161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17162 multiarch implementations.
17163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17164 (__libc_ifunc_impl_list): Likewise.
17165 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17166 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17167 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17168 multiarch strcpy for PPC64.
17170 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17171 redefine function name.
17172 (_wordcopy_fwd_dest_aligned): Likewise.
17173 (_wordcopy_bwd_aligned): Likewise.
17174 (_wordcopy_bwd_dest_aligned): Likewise.
17175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17176 multiarch implementations.
17177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17178 (__libc_ifunc_impl_list): Likewise.
17179 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17180 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17181 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17182 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17183 multiarch wcscpy for PPC64.
17185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17186 multiarch implementations.
17187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17188 (__libc_ifunc_impl_list): Likewise.
17189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17190 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17191 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17192 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17193 multiarch wcscpy for PPC64.
17195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17196 multiarch implementations.
17197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17198 (__libc_ifunc_impl_list): Likewise.
17199 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17200 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17201 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17202 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17203 multiarch wcsrchr for PPC64.
17205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17206 multiarch implementations.
17207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17208 (__libc_ifunc_impl_list): Likewise.
17209 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17210 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17211 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17212 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17213 multiarch wcschr for PPC64.
17215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17216 multiarch implementations.
17217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17218 (__libc_ifunc_impl_list): Likewise.
17219 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17220 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17221 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17222 multiarch strchrnul for PPC64.
17224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17227 (__libc_ifunc_impl_list): Likewise.
17228 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17229 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17230 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17231 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17237 (__libc_ifunc_impl_list): Likewise.
17238 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17239 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17240 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17241 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17245 multiarch implementations.
17246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17247 (__libc_ifunc_impl_list): Likewise.
17248 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17249 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17250 strncasecmp for PPC64.
17251 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17252 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17253 multiarch strncasecmp_l for PPC64.
17255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17256 multiarch implementations.
17257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17258 (__libc_ifunc_impl_list): Likewise.
17259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17260 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17261 multiarch strcasecmp for PPC64.
17262 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17264 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17265 multiarch strcasecmp_l for PPC64.
17267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17270 (__libc_ifunc_impl_list): Likewise.
17271 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17272 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17273 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17279 (__libc_ifunc_impl_list): Likewise.
17280 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17281 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17282 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17288 (__libc_ifunc_impl_list): Likewise.
17289 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17290 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17291 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17292 rawmemrchr for PPC64.
17294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17297 (__libc_ifunc_impl_list): Likewise.
17298 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17299 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17300 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17306 (__libc_ifunc_impl_list): Likewise.
17307 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17308 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17309 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17315 (__libc_ifunc_impl_list): Likewise.
17316 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17317 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17318 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17321 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17322 avoid cretion of __bzero symbol.
17323 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17325 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17327 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17330 multiarch implementations.
17331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17332 (__libc_ifunc_impl_list): Likewise.
17333 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17334 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17335 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17336 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17338 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17339 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17340 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17341 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17342 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17344 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17346 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17350 (__libc_ifunc_impl_list): Likewise.
17351 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17352 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17353 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17354 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17358 multiarch for POWER/PPC64.
17359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17360 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17364 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17365 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17366 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17367 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17370 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17371 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17372 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17373 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17374 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17375 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17376 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17377 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17378 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17379 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17380 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17381 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17382 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17383 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17384 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17393 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17395 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17397 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17399 * benchtests/Makefile (bench): Add exp2 and log2.
17400 (LDLIBS-bench-exp2): Add -lm.
17401 (LDLIBS-bench-log2): Likewise.
17402 * benchtests/exp2-inputs: New inputs file.
17403 * benchtests/log2-inputs: New inputs file.
17404 * benchtests/log-inputs: Add new inputs.
17405 * benchtests/tan-inputs: Likewise.
17407 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17409 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17411 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17412 (csloww2): ... from here.
17414 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17415 instead of structures.
17416 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17417 (POLYNOMIAL): Likewise.
17418 (TAYLOR_SLOW): Likewise.
17424 (sloww1); Likewise.
17425 (sloww2): Likewise.
17426 (bsloww1): Likewise.
17427 (bsloww2): Likewise.
17428 (cslow2): Likewise.
17429 (csloww): Likewise.
17430 (csloww1): Likewise.
17431 (csloww2): Likewise.
17433 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
17435 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17436 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17437 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17438 * malloc/hooks.c (realloc_check): Likewise.
17440 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17441 * malloc/arena.c: Remove PER_THREAD conditional.
17442 [!PER_THREAD]: Remove code.
17443 (ptmalloc_unlock_all2): Likewise.
17444 (ptmalloc_init): Likewise.
17445 (_int_new_arena): Likewise.
17446 (arena_get2): Likewise.
17447 * malloc/hooks.c (__malloc_get_state): Likewise.
17448 (__malloc_set_state): Likewise.
17449 * malloc/malloc.c: Likewise.
17450 (struct malloc_state): Likewise.
17451 (struct malloc_par): Likewise.
17452 (__libc_realloc): Likewise.
17453 (__libc_mallopt): Likewise.
17455 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17457 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17459 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
17461 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17462 macro to a function. Check for zero perturb_byte.
17463 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17465 * malloc/malloc.c: (force_reg): Remove.
17466 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17467 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17468 force_reg by atomic_forced_read.
17469 * malloc/arena.c (ptmalloc_init): Likewise.
17470 * malloc/hooks.c (top_check): Likewise.
17472 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17476 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17480 2013-12-08 Joseph Myers <joseph@codesourcery.com>
17482 * math/auto-libm-test-in: Add tests of lgamma.
17483 * math/auto-libm-test-out: Regenerated.
17484 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17485 (M_LOG_2_SQRT_PIl): Likewise.
17486 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17487 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17489 (func_calc_desc): Add mpfr_f_f1 union field.
17490 (ARGS1): New macro.
17498 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17499 (test_functions): Add lgamma.
17500 (calc_generic_results): Handle mpfr_f_f1.
17501 * sysdeps/i386/fpu/libm-test-ulps: Update.
17502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17504 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17506 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17507 __mpn_add_n for PowerPC64/POWER7.
17508 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17509 __mpn_sub_n for PowerPC64/POWER7.
17511 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17512 __mpn_addmul_1 for PowerPC64.
17513 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17514 __mpn_submul_1 for PowerPC64.
17515 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17517 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17520 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17523 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17525 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17527 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17529 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17530 add multiarch folders.
17531 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17532 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17533 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17534 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17535 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17536 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17537 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17538 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17539 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17540 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17541 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17550 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17556 multiarch __ieee754_hypot for PowerPC32.
17557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17562 multiarch __ieee754_hypotf for PowerPC32.
17564 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17565 long_double_symbol only if __logbl is defined.
17566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17567 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17569 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17571 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17572 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17573 path for implementation.
17574 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17577 logb, and logbl multiarch implementations for PowerPC32.
17578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17583 multiarch logb for PowerPC32.
17584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17589 multiarch logbf for PowerPC32.
17590 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17594 multiarch logbl implementation for PowerPC32.
17596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17597 and modff multiarch implementations.
17598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17603 multiarch modf for PowerPC32.
17604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17609 multiarch modff for PowerPC32.
17611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17612 and lrintf multiarch implementations.
17613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17618 multiarch lrint for PowerPC32.
17619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17620 file: multiarch lrintf for PowerPC32.
17622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17623 and lroundf multiarch implementations.
17624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17631 multiarch lround for PowerPC32.
17632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17633 file: multiarch lroundf for PowerPC32.
17635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17636 copysign and copysignf multiarch implementations.
17637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17642 file: multiarch copysign for PowerPC32.
17643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17644 file: multiarch copysignf for PowerPC32.
17646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17647 and truncf multiarch implementations.
17648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17653 multiarch trunc for PowerPC32.
17654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17659 multiarch truncf for PowerPC32.
17661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17662 and roundf multiarch implementations.
17663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17668 multiarch round for PowerPC32.
17669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17674 multiarch roundf for PowerPC32.
17676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17677 and floorf multiarch implementations.
17678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17683 multiarch floor for PowerPC32.
17684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17689 multiarch floorf for PowerPC32.
17691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17692 and ceilf multiarch implementations.
17693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17698 multiarch ceil for PowerPC32.
17699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17704 multiarch ceilf for PowerPC32.
17706 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17708 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17709 FINITEF is defined.
17710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17711 and finitef multiarch implementations.
17712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17717 multiarch finite for PowerPC32.
17718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17721 file: multiarch finitef for PowerPC32.
17723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17724 and isinff multiarch implementations.
17725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17730 multiarch isinf for PowerPC32.
17731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17734 multiarch isinff for PowerPC32.
17736 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17737 alias when __isnan is defined.
17738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17739 and isnanf multiarch implementations.
17740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17749 multiarch isnan for PowerPC32.
17750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17755 multiarch isnanf for PowerPC32.
17757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17758 and sqrtf multiarch implementations.
17759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17764 multiarch sqrt for PowerPC32.
17765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17770 multiarch sqrtf for PowerPC32.
17772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17773 and llroundf multiarch implementations.
17774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17781 file: multiarch llround for PowerPC32.
17782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17783 file: multiarch llroundf for PowerPC32.
17785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17786 multiarch PowerPC32 fpu implementations.
17787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17792 multiarch llrint for PowerPC32.
17793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17802 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17804 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17806 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17808 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17809 multiarch wordcopy for PPC32.
17810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17813 (__libc_ifunc_impl_list): Likewise.
17814 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17815 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17816 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17817 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17818 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17819 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17821 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17829 multiarch wcscpy for PPC32.
17830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17833 (__libc_ifunc_impl_list): Likewise.
17834 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17835 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17836 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17837 sysdeps/powerpc/power6/wcscpy.c.
17839 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17847 multiarch wcsrchr for PPC32.
17848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17851 (__libc_ifunc_impl_list): Likewise.
17852 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17853 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17854 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17855 sysdeps/powerpc/power6/wcsrchr.c.
17857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17863 multiarch wcschr for PPc32.
17864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17867 (__libc_ifunc_impl_list): Likewise.
17868 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17869 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17870 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17871 sysdeps/powerpc/power6/wcschr.c.
17873 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17874 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17876 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17877 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17878 file: multiarch strchr for PPC32.
17879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17882 (__libc_ifunc_impl_list): Likewise.
17884 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17886 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17888 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17890 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17891 multiarch strchrnul for PPC32.
17892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17895 (__libc_ifunc_impl_list): Likewise.
17897 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17900 multiarch strncasecmp for PPC32.
17901 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17904 multiarch strncasecmp_l for PPC32.
17905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17906 strncasecmp multiarch objects.
17907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17908 (__libc_ifunc_impl_list): Likewise.
17910 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17912 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17913 multiarch strncasecmp for PPC32.
17914 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17916 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17917 multiarch strcasecmp_l for PPC32.
17918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17921 (__libc_ifunc_impl_list): Likewise.
17923 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17925 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17927 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17928 multiarch strncmp for PPC32.
17929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17932 (__libc_ifunc_impl_list): Likewise.
17934 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17935 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17937 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17938 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17942 (__libc_ifunc_impl_list): Likewise.
17944 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17946 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17948 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17952 (__libc_ifunc_impl_list): Likewise.
17954 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17956 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17958 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17959 multiarch rawmemchr for PPC32.
17960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17963 (__libc_ifunc_impl_list): Likewise.
17965 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17967 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17969 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17970 file: memrchr multiarch for PPC32.
17971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17974 (__libc_ifunc_impl_list): Likewise.
17976 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17977 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17979 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17980 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17981 multiarch memchr for PPC32.
17982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17985 (__libc_ifunc_impl_list): Likewise.
17987 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17988 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17990 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17992 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17993 file: multiarch mempcpy for PPC32.
17994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17997 (__libc_ifunc_impl_list): Likewise.
17999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18001 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18002 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18003 multiarch bzero for PPC32.
18004 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18006 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18008 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18009 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18010 file: multiarch memset for PPC32.
18011 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18013 memset multiarch objects.
18014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18015 (__libc_ifunc_impl_list): Likewise.
18017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18026 (__libc_ifunc_impl_list): Likewise.
18028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18034 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18037 multiarch memcpy for PPC32.
18038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18041 (__libc_ifunc_impl_list): Likewise.
18043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18044 support multiarch for POWER/PPC32.
18045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18047 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18049 Implies file to make multiarch folder appers before the fpu and
18050 default folder for power4 configuration.
18052 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18054 * scripts/bench.pl: Append volatile keyword to type.
18056 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18058 * sysdeps/sh/sotruss-lib.c: New file.
18059 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18061 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18065 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18068 * math/w_tgamma.c: Include <errno.h>.
18069 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18070 * math/w_tgammaf.c: Include <errno.h>.
18071 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18072 * math/w_tgammal.c: Include <errno.h>.
18073 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18074 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18075 underflow. Add more tgamma tests.
18076 * math/auto-libm-test-out: Regenerated.
18077 * sysdeps/i386/fpu/libm-test-ulps: Update.
18078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18081 sin, sinh, tan, tanh, tgamma, y0 and y1.
18082 * math/auto-libm-test-out: Regenerated.
18083 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18084 (TEST_COND_x86): Likewise.
18085 (M_E2l): Remove macro.
18087 (M_2_SQRT_PIl): Likewise.
18088 (M_SQRT_PIl): Likewise.
18089 (M_1_DIV_El): Likewise.
18090 (log_test_data): Use AUTO_TESTS_f_f.
18091 (log10_test_data): Likewise.
18092 (log1p_test_data): Likewise.
18093 (log2_test_data): Likewise.
18094 (sin_test_data): Likewise.
18095 (sin_tonearest_test_data): Likewise.
18096 (sin_towardzero_test_data): Likewise.
18097 (sin_downward_test_data): Likewise.
18098 (sin_upward_test_data): Likewise.
18099 (sinh_test_data): Likewise.
18100 (sinh_tonearest_test_data): Likewise.
18101 (sinh_towardzero_test_data): Likewise.
18102 (sinh_downward_test_data): Likewise.
18103 (sinh_upward_test_data): Likewise.
18104 (tan_test_data): Likewise.
18105 (tan_tonearest_test_data): Likewise.
18106 (tan_towardzero_test_data): Likewise.
18107 (tan_downward_test_data): Likewise.
18108 (tan_upward_test_data): Likewise.
18109 (tanh_test_data): Likewise.
18110 (tgamma_test_data): Likewise.
18111 (y0_test_data): Likewise.
18112 (y1_test_data): Likewise.
18113 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18114 (special_real_inputs): Add pi/4.
18115 * sysdeps/i386/fpu/libm-test-ulps: Update.
18116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18118 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18120 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18121 "longjmp_target" static probes.
18122 (__longjmp): Rename to __longjmp_symbol.
18123 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18124 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18125 on which longjmp to generate.
18126 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18127 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18129 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18130 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18131 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18132 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18133 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18134 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18136 __longjmp_symbol based on which __longjmp to generate.
18137 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18139 (setjmp): Rename to setjmp_symbol.
18140 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18141 (_setjmp): Rename to _setjmp_symbol.
18142 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18143 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18144 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18145 which setjmp to generate.
18146 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18147 "longjmp_target" static probes.
18149 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18151 * benchtests/README: Add note about output arguments.
18152 * benchtests/bench-sincos.c: Remove file.
18153 * benchtests/sincos-inputs: New file.
18154 * scripts/bench.pl: Identify output arguments and define
18155 static variables for them.
18157 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18160 * Makefile (INSTALL): Add install-plain.texi as the primary
18162 * manual/install-plain.texi: New file.
18163 * manual/install.texi: Include node directive only for
18164 non-plaintext output.
18166 2013-12-04 Joseph Myers <joseph@codesourcery.com>
18168 * stdlib/longlong.h: Update from GCC.
18172 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18173 * math/w_j0f.c (y0f): Likewise.
18174 * math/w_j0l.c (__y0l): Likewise.
18175 * math/w_j1.c (y1): Likewise.
18176 * math/w_j1f.c (y1f): Likewise.
18177 * math/w_j1l.c (__y1l): Likewise
18178 * math/w_jn.c (yn): Likewise.
18179 * math/w_jnf.c (ynf): Likewise.
18180 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18181 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18182 value for Bessel function domain errors outside _SVID_ mode.
18183 Adjust sign of return value for yn (negative integer, 0).
18184 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18185 by zero in return for negative x and set sign appropriately for
18187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18188 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18189 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18190 expectations in error cases.
18191 (y1_test_data): Likewise.
18192 (yn_test_data): Likewise.
18193 * sysdeps/i386/fpu/libm-test-ulps: Update.
18194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18196 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18198 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18199 "64" to "64-v1". Add "64-v2".
18200 (abi-64-options): Rename to ...
18201 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18202 (abi-64-condition): Rename to ...
18203 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18204 (abi-64-ld-soname): Rename to ...
18205 (abi-64-v1-ld-soname): ... this.
18206 (abi-64-v2-options): Define.
18207 (abi-64-v2-condition): Likewise.
18208 (abi-64-v2-ld-soname): Likewise.
18209 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18210 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18215 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18216 Alan Modra <amodra@gmail.com>
18218 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18219 New versions for use with the ELFv2 ABI.
18220 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18221 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18223 (struct La_ppc64v2_retval): Likewise.
18224 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18225 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18226 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18227 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18228 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18229 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18230 Do not save or restore CR.
18231 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18232 (_dl_profile_resolve): Do no save or restore CR. Support extended
18233 return values for ELFv2 ABI. Fix location of FPR return registers.
18234 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18235 updated values for _CALL_ELF == 2.
18236 (La_regs, La_retval, int_retval): Likewise.
18238 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18240 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18241 (FRAME_MIN_SIZE_PARM): Likewise.
18242 (FRAME_BACKCHAIN): Likewise.
18243 (FRAME_CR_SAVE): Likewise.
18244 (FRAME_LR_SAVE): Likewise.
18245 (FRAME_TOC_SAVE): Likewise.
18246 (FRAME_PARM_SAVE): Likewise.
18247 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18248 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18249 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18250 (call_mcount_parm_offset): New macro.
18251 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18252 (PROF): Use symbolic stack frame offsets.
18253 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18254 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18255 Redefine in terms of FRAME_MIN_SIZE.
18256 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18257 (_dl_profile_resolve): Likewise. Update comment.
18258 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18259 symbols stack frame offsets.
18260 (__sigsetjmp): Likewise.
18261 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18262 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18263 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18264 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18267 (FRAME_BACKCHAIN): Remove.
18268 (FRAME_CR_SAVE): Likewise.
18269 (FRAME_LR_SAVE): Likewise.
18270 (FRAME_COMPILER_DW): Likewise.
18271 (FRAME_LINKER_DW): Likewise.
18272 (FRAME_TOC_SAVE): Likewise.
18273 (FRAME_PARM_SAVE): Likewise.
18274 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18275 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18276 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18278 (CHECK_SP): Use symbolic stack frame offsets.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18280 zone" instead of caller's parameter save area for temp storage.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18282 Likewise. Also, use symbolic stack frame offsets.
18283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18284 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18285 our own stack frame instead of the caller's.
18286 (__socket): Use symbolic stack frame offsets.
18288 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18289 Alan Modra <amodra@gmail.com>
18291 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18293 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18294 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18295 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18297 (elf_machine_fixup_plt): Call it.
18298 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18300 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18302 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18303 r2 before calling target.
18305 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18306 Alan Modra <amodra@gmail.com>
18308 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18309 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18310 versions of macros to support ELFv2 ABI.
18311 (LOCALENTRY): New macro.
18312 (ENTRY, EALIGN): Use it.
18313 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18314 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18315 fall through into ENTRY entry point.
18316 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18317 Only define if _CALL_ELF != 2.
18319 (elf_machine_matches_host): Verify ABI version matches.
18320 (RTLD_START): Use LOCALENTRY.
18321 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18322 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18323 (PLT_ENTRY_WORDS): New macro.
18324 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18325 (elf_machine_runtime_setup): Support ELFv2 ABI.
18326 (elf_machine_fixup_plt): Likewise.
18327 (elf_machine_plt_conflict): Likewise.
18328 (resolve_ifunc): Likewise.
18329 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18333 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18335 (makecontext): Support ELFv2 ABI.
18336 * elf/elf.h (EF_PPC64_ABI): Define.
18338 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18340 * sysdeps/powerpc/powerpc64/sysdep.h
18341 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18342 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18343 (ENTRY) [ASSEMBLER]: ... but instead here ...
18344 (EALIGN) [ASSEMBLER]: ... and here.
18345 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18346 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18347 (ENTRY_2) [!ASSEMBLER]: Use it.
18348 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18349 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18350 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18351 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18352 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18354 Use PPC64_LOAD_FUNCPTR.
18356 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18358 2013-12-04 Alan Modra <amodra@gmail.com>
18360 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18361 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18362 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18363 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18366 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18367 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18368 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18369 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18370 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18372 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18375 (__makecontext): Fix incorrect CFI when backtracing out of
18376 context created via makecontext.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18378 (__setcontext): Fix incorrect CFI during switch to new context.
18379 (__novec_setcontext): Likewise.
18381 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18384 * time/strptime_l.c (__strptime_internal): Allow modifiers
18386 * time/tst-strptime.c (day_tests): Add testcase.
18388 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18390 * scripts/bench.pl: Skip over blank lines.
18392 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18395 * manual/time.texi (Calendar Time): Clarify what timezone functions
18398 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18402 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18404 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18406 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18407 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18408 * debug/memset_chk.c (__memset_chk): Likewise.
18409 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18410 * debug/strncpy_chk.c: Likewise.
18412 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18416 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18417 (__ieee754_exp): For possibly underflowing results, check size of
18418 result and force underflow exception if required.
18419 * math/auto-libm-test-in: Add more tests of exp.
18420 * math/auto-libm-test-out: Regenerated.
18421 * sysdeps/i386/fpu/libm-test-ulps: Update.
18422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18425 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18426 * math/w_exp2f.c (__exp2f): Likewise.
18427 * math/w_exp2l.c (__exp2l): Likewise.
18428 * math/auto-libm-test-in: Do not allow missing errno on exp2
18430 * math/auto-libm-test-out: Regenerated.
18432 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
18435 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18436 handle filename validation.
18437 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18440 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18443 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18444 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18445 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18447 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18448 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18449 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18451 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18452 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18453 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18454 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18455 Add more erfc tests.
18456 * math/auto-libm-test-out: Regenerated.
18457 * sysdeps/i386/fpu/libm-test-ulps: Update.
18458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18460 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18461 exp2, expm1, j0 and j1.
18462 * math/auto-libm-test-out: Regenerated.
18463 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18464 (erfc_test_data): Likewise.
18465 (exp_test_data): Likewise.
18466 (exp_tonearest_test_data): Likewise.
18467 (exp_towardzero_test_data): Likewise.
18468 (exp_downward_test_data): Likewise.
18469 (exp_upward_test_data): Likewise.
18470 (exp10_test_data): Likewise.
18471 (exp2_test_data): Likewise.
18472 (expm1_test_data): Likewise.
18473 (j0_test_data): Likewise.
18474 (j1_test_data): Likewise.
18475 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18476 (input_flag_type): Add flag_xfail_rounding.
18477 (input_flags): Add xfail-rounding.
18478 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18479 (output_for_one_input_case): Handle flag_xfail_rounding.
18480 * sysdeps/i386/fpu/libm-test-ulps: Update.
18481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18483 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18486 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18489 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18492 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18493 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18494 (STAP_PROBE0): New macro.
18495 (STAP_PROBE1): Likewise.
18496 (STAP_PROBE2): Likewise.
18497 (STAP_PROBE3): Likewise.
18498 (STAP_PROBE4): Likewise.
18500 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
18502 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18504 2013-12-02 Steve Ellcey <sellcey@mips.com>
18506 * benchtests/Makefile (bench): Add sqrt.
18507 (LDLIBS-bench-sqrt): New.
18508 * benchtests/sqrt-input: New.
18510 2013-12-02 Pavel Simerda <psimerda@redhat.com>
18512 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18513 (GAIH_EAI): Likewise.
18514 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18515 (gaih_inet): Likewise.
18516 (getaddrinfo): Don't use GAIH_EAI.
18518 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18519 (struct gaih): Remove definition.
18521 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18523 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18524 Use HERRNOP directly.
18526 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18530 2013-11-30 Joseph Myers <joseph@codesourcery.com>
18532 * math/gen-auto-libm-tests.c (test_functions): Add more
18533 single-argument functions.
18534 (special_fill_pi_2): New function.
18535 (special_fill_minus_pi_2): Likewise.
18536 (special_fill_pi_6): Likewise.
18537 (special_fill_minus_pi_6): Likewise.
18538 (special_fill_pi_3): Likewise.
18539 (special_fill_2pi_3): Likewise.
18540 (special_fill_e): Likewise.
18541 (special_fill_1_e): Likewise.
18542 (special_fill_e_minus_1): Likewise.
18543 (special_real_inputs): Add more special inputs.
18544 (output_for_one_input_case): Do not require ERANGE on underflow to
18545 zero if round-to-nearest result does not underflow to zero, unless
18546 exact results required.
18547 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18548 atan, atanh, cbrt, cos and cosh.
18549 * math/auto-libm-test-out: Regenerated.
18550 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18551 (acos_tonearest_test_data): Likewise.
18552 (acos_towardzero_test_data): Likewise.
18553 (acos_downward_test_data): Likewise.
18554 (acos_upward_test_data): Likewise.
18555 (acosh_test_data): Likewise.
18556 (asin_test_data): Likewise.
18557 (asin_tonearest_test_data): Likewise.
18558 (asin_towardzero_test_data): Likewise.
18559 (asin_upward_test_data): Likewise.
18560 (asinh_test_data): Likewise.
18561 (atan_test_data): Likewise.
18562 (atanh_test_data): Likewise.
18563 (cbrt_test_data): Likewise.
18564 (cos_test_data): Likewise.
18565 (cos_tonearest_test_data): Likewise.
18566 (cos_towardzero_test_data): Likewise.
18567 (cos_downward_test_data): Likewise.
18568 (cos_upward_test_data): Likewise.
18569 (cosh_test_data): Likewise.
18570 (cosh_tonearest_test_data): Likewise.
18571 (cosh_towardzero_test_data): Likewise.
18572 (cosh_downward_test_data): Likewise.
18573 (cosh_upward_test_data): Likewise.
18574 * sysdeps/i386/fpu/libm-test-ulps: Update.
18575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18580 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18581 * math/w_exp10f.c (__exp10f): Likewise.
18582 * math/w_exp10l.c (__exp10l): Likewise.
18583 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18584 errno settings in existing tests.
18587 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18588 precision control set to double precision.
18589 * sysdeps/i386/fpu/w_sqrt.c: New file.
18590 * math/auto-libm-test-in: Add more tests.
18591 * math/auto-libm-test-out: Update.
18593 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18594 (sqrt_test_tonearest): New function.
18595 (sqrt_towardzero_test_data): New variable.
18596 (sqrt_test_towardzero): New function.
18597 (sqrt_downward_test_data): New variable.
18598 (sqrt_test_downward): New function.
18599 (sqrt_upward_test_data): New variable.
18600 (sqrt_test_upward): New function.
18601 (main): Call the new functions.
18603 * math/gen-auto-libm-tests.c: New file.
18604 * math/auto-libm-test-in: Likewise.
18605 * math/auto-libm-test-out: New generated file.
18606 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18608 (%beautify): Add generated representations of zero.
18609 (top level): Set $auto_input and call parse_auto_input.
18610 (beautify): Remove trailing "f" from hex float constants.
18611 (parse_args): Handle XFAIL_TEST.
18612 (convert_condition): New function.
18613 (or_value): Likewise.
18614 (or_cond_value): Likewise.
18615 (generate_testfile): Handle AUTO_TESTS_* lines.
18616 (parse_auto_input): New function.
18617 * math/libm-test.inc (XFAIL_TEST): New macro.
18618 (ERRNO_UNCHANGED): Update value.
18619 (ERRNO_EDOM): Likewise.
18620 (ERRNO_ERANGE): Likewise.
18621 (IGNORE_RESULT): Likewise.
18622 (TEST_COND_flt_32): New macro.
18623 (TEST_COND_dbl_64): Likewise.
18624 (TEST_COND_ldbl_96_intel): Likewise.
18625 (TEST_COND_ldbl_96_m68k): Likewise.
18626 (TEST_COND_ldbl_128): Likewise.
18627 (TEST_COND_ldbl_128ibm): Likewise.
18628 (TEST_COND_long32): Likewise.
18629 (TEST_COND_long64): Likewise.
18630 (TEST_COND_before_rounding): Likewise.
18631 (TEST_COND_after_rounding): Likewise.
18632 (enable_test): Handle XFAIL_TEST flag.
18633 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18634 with finite results.
18635 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18636 auto-libm-test-out.
18638 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18639 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18642 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18643 __tls_get_addr_internal instead of __tls_get_offset in order to
18644 avoid GOT pointer dependency. Make rtld export
18645 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18646 __tls_get_addr since we are a __tls_get_offset platform.
18647 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18648 GOT pointer being set up before.
18649 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18651 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18653 * manual/math.texi (Errors in Math Functions): Document accuracy
18657 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18658 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18659 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18660 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18661 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18662 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18663 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18664 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18666 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18667 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18668 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18669 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18670 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18672 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18674 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18675 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18676 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18677 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18678 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18680 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18682 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18684 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18685 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18686 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18687 atomic-feupdateenv and flt-rounds.
18688 * sysdeps/powerpc/nofpu/Versions (libc): Add
18689 __atomic_feholdexcept, __atomic_feclearexcept,
18690 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18691 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18692 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18693 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18694 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18699 * manual/arith.texi (FP Exceptions): Document that exceptions may
18700 not be raised when matherr is used.
18701 (Math Error Reporting): Document overflow in directed rounding
18702 modes. Document that errno may not be set when finite values are
18703 returned on overflow. Document intent to set errno on underflow
18704 only for underflow to zero.
18707 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18708 round-to-nearest then adjust result for other rounding modes.
18709 * include/fenv.h (fegetround): Use libm_hidden_proto.
18710 * math/fegetround.c (fegetround): Use libm_hidden_def.
18711 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18712 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18713 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18714 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18716 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18717 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18718 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18719 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18721 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18724 * nss/Versions (libnss_files): Add
18725 _nss_files_gethostbyname3_r.
18726 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18728 (HOST_DB_LOOKUP): Remove macro.
18729 (_nss_files_gethostbyname_r): Implement function without the
18730 HOST_DB_LOOKUP macro.
18731 (_nss_files_gethostbyname2_r): Likewise.
18733 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18735 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18737 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18739 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18740 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18743 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18745 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18746 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18747 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18748 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18749 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18750 __fe_nomask_env_priv and attribute_hidden.
18751 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18752 (libc_feupdateenv_test_ppc): Likewise.
18753 (libc_feresetround_ppc): Likewise.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18755 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18756 compat_symbol macro.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18758 (__fe_nomask_env): Likewise.
18759 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18761 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18763 * string/Makefile: Remove ifunc tests.
18764 * string/test-string.h: Define TEST_IFUNC.
18765 * string/test-bcopy-ifunc.c: Remove.
18766 * string/test-bzero-ifunc.c: Likewise.
18767 * string/test-memccpy-ifunc.c: Likewise.
18768 * string/test-memchr-ifunc.c: Likewise.
18769 * string/test-memcmp-ifunc.c: Likewise.
18770 * string/test-memcpy-ifunc.c: Likewise.
18771 * string/test-memmem-ifunc.c: Likewise.
18772 * string/test-memmove-ifunc.c: Likewise.
18773 * string/test-mempcpy-ifunc.c: Likewise.
18774 * string/test-memrchr-ifunc.c: Likewise.
18775 * string/test-memset-ifunc.c: Likewise.
18776 * string/test-rawmemchr-ifunc.c: Likewise.
18777 * string/test-stpcpy-ifunc.c: Likewise.
18778 * string/test-stpncpy-ifunc.c: Likewise.
18779 * string/test-strcasecmp-ifunc.c: Likewise.
18780 * string/test-strcasestr-ifunc.c: Likewise.
18781 * string/test-strcat-ifunc.c: Likewise.
18782 * string/test-strchr-ifunc.c: Likewise.
18783 * string/test-strchrnul-ifunc.c: Likewise.
18784 * string/test-strcmp-ifunc.c: Likewise.
18785 * string/test-strcpy-ifunc.c: Likewise.
18786 * string/test-strcspn-ifunc.c: Likewise.
18787 * string/test-strlen-ifunc.c: Likewise.
18788 * string/test-strncasecmp-ifunc.c: Likewise.
18789 * string/test-strncat-ifunc.c: Likewise.
18790 * string/test-strncmp-ifunc.c: Likewise.
18791 * string/test-strncpy-ifunc.c: Likewise.
18792 * string/test-strnlen-ifunc.c: Likewise.
18793 * string/test-strpbrk-ifunc.c: Likewise.
18794 * string/test-strrchr-ifunc.c: Likewise.
18795 * string/test-strspn-ifunc.c: Likewise.
18796 * string/test-strstr-ifunc.c: Likewise.
18798 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18800 * benchtests/Makefile: Remove ifunc tests.
18801 * benchtests/bench-string.h: Define TEST_IFUNC.
18802 * benchtests/bench-bcopy-ifunc.c: Remove.
18803 * benchtests/bench-bzero-ifunc.c: Likewise.
18804 * benchtests/bench-memccpy-ifunc.c: Likewise.
18805 * benchtests/bench-memchr-ifunc.c: Likewise.
18806 * benchtests/bench-memcmp-ifunc.c: Likewise.
18807 * benchtests/bench-memcpy-ifunc.c: Likewise.
18808 * benchtests/bench-memmem-ifunc.c: Likewise.
18809 * benchtests/bench-memmove-ifunc.c: Likewise.
18810 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18811 * benchtests/bench-memrchr-ifunc.c: Likewise.
18812 * benchtests/bench-memset-ifunc.c: Likewise.
18813 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18814 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18815 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18816 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18817 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18818 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18819 * benchtests/bench-strcat-ifunc.c: Likewise.
18820 * benchtests/bench-strchr-ifunc.c: Likewise.
18821 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18822 * benchtests/bench-strcmp-ifunc.c: Likewise.
18823 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18824 * benchtests/bench-strcpy-ifunc.c: Likewise.
18825 * benchtests/bench-strcspn-ifunc.c: Likewise.
18826 * benchtests/bench-strlen-ifunc.c: Likewise.
18827 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18828 * benchtests/bench-strncat-ifunc.c: Likewise.
18829 * benchtests/bench-strncmp-ifunc.c: Likewise.
18830 * benchtests/bench-strncpy-ifunc.c: Likewise.
18831 * benchtests/bench-strnlen-ifunc.c: Likewise.
18832 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18833 * benchtests/bench-strrchr-ifunc.c: Likewise.
18834 * benchtests/bench-strsep-ifunc.c: Likewise.
18835 * benchtests/bench-strspn-ifunc.c: Likewise.
18836 * benchtests/bench-strstr-ifunc.c: Likewise.
18838 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18840 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18842 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18844 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18845 * rt/aio.h: Likewise.
18846 * sysdeps/gnu/bits/utmp.h: Likewise.
18847 * sysdeps/gnu/bits/utmpx.h: Likewise.
18848 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18849 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18850 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18851 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18852 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18853 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18854 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18855 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18856 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18857 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18859 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18860 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18862 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18863 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18865 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18866 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18867 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18868 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18869 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18870 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18871 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18872 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18875 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18877 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18878 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18879 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18880 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18881 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18883 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18884 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18885 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18886 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18887 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18888 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18889 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18891 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18894 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18895 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18897 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18899 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18900 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18903 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18905 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18906 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18907 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18908 (__fesetround): Remove define.
18909 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18910 rounding and exceptions handling.
18911 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18912 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18913 (__fe_nomask_env): Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18915 __fegetround instead of fegetround.
18916 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18917 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18919 2013-11-21 Roland McGrath <roland@hack.frob.com>
18921 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18924 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18926 2013-11-21 Meador Inge <meadori@codesourcery.com>
18929 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18930 (encrypt_r): Likewise.
18931 * malloc/obstack.h (obstack_free): Likewise.
18932 * posix/unistd.h (encrypt): Likewise.
18934 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18936 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18937 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18938 DL_CALL_DT_FINI() that call the functions directly.
18939 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18940 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18941 * elf/dl-fini.c: Likewise.
18943 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18945 * malloc/hooks.c (memalign_check): Add alignment rounding.
18946 * malloc/malloc.c (_mid_memalign): New function.
18947 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18948 Implement by calling _mid_memalign.
18949 * manual/probes.texi (Memory Allocation Probes): Remove
18950 memory_valloc_retry and memory_pvalloc_retry.
18952 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18954 * locale/programs/locarchive.c (open_archive): Add const
18955 qualifier to ARCHIVEFNAME and copy default fname to
18959 * libio/tst-widetext.input: Rename Oriya to Odia.
18960 * locale/iso-639.def: Likewise.
18962 * manual/probes.texi (Mathematical Function Probes): Add
18963 documentation for sin, cos, asin and acos probes.
18964 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18965 (__sin32): Add slowasin probe.
18966 (__cos32): Add slowacos probe.
18967 (__mpsin): Add slowsin probe.
18968 (__mpcos): Add slowcos probe.
18970 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18973 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18974 thread-local __sim_exceptions_thread and global
18975 __sim_exceptions_global.
18976 (__sim_disabled_exceptions): Change to thread-local
18977 __sim_disabled_exceptions_thread and global
18978 __sim_disabled_exceptions_global.
18979 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18980 and global __sim_round_mode_global.
18981 (__simulate_exceptions): Use thread-local floating-point state and
18982 set global state from it as needed.
18983 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18984 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18985 __sim_round_mode_thread.
18986 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18987 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18988 and global __sim_exceptions_global.
18989 (__sim_disabled_exceptions): Change to thread-local
18990 __sim_disabled_exceptions_thread and global
18991 __sim_disabled_exceptions_global.
18992 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18993 and global __sim_round_mode_global.
18994 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18995 (SIM_SET_GLOBAL): Likewise.
18996 * sysdeps/powerpc/soft-fp/sfp-machine.h
18997 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18998 __sim_round_mode_thread.
18999 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19000 __sim_disabled_exceptions_thread.
19001 (__sim_exceptions): Change to __sim_exceptions_thread.
19002 (__sim_disabled_exceptions): Change to
19003 __sim_disabled_exceptions_thread.
19004 (__sim_round_mode): Change to __sim_round_mode_thread.
19005 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19006 thread-local floating-point state and set global state from it as
19008 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19009 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19010 (__sim_disabled_exceptions): Remove extern declaration.
19011 (feenableexcept): Use thread-local floating-point state and set
19012 global state from it as needed.
19013 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19014 extern declaration.
19015 (__sim_disabled_exceptions): Likewise.
19016 (__sim_round_mode): Likewise.
19017 (__fegetenv): Use thread-local floating-point state.
19018 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19019 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19020 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19021 floating-point state and set global state from it as needed.
19022 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19023 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19024 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19026 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19027 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19029 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19030 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19031 Use __sim_round_mode_thread.
19032 * math/test-fenv-tls.c: New file.
19033 * math/Makefile (tests): Add test-fenv-tls.
19034 ($(objpfx)test-fenv-tls): Depend on
19035 $(common-objpfx)nptl/libpthread.so.
19037 2013-11-19 Andreas Schwab <schwab@suse.de>
19039 * locale/programs/locale.c (show_info): Decode wordarray elements.
19040 * locale/categories.def (LC_MONETARY): Add element for
19041 _NL_MONETARY_CRNCYSTR.
19042 * locale/C-monetary.c (conversion_rate): New variable.
19043 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19046 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19048 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19049 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19051 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19053 * elf/Makefile (tst-auxv): New test.
19054 * elf/tst-auxv.c: New
19055 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19057 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19059 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19060 (hidden_proto): Caller changed.
19061 (hidden_tls_proto): New macro.
19062 (libc_hidden_tls_proto): Likewise.
19063 (rtld_hidden_tls_proto): Likewise.
19064 (libm_hidden_tls_proto): Likewise.
19065 (libresolv_hidden_tls_proto): Likewise.
19066 (librt_hidden_tls_proto): Likewise.
19067 (libdl_hidden_tls_proto): Likewise.
19068 (libnss_files_hidden_tls_proto): Likewise.
19069 (libnsl_hidden_tls_proto): Likewise.
19070 (libnss_nisplus_hidden_tls_proto): Likewise.
19071 (libutil_hidden_tls_proto): Likewise.
19073 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19076 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19077 (decompose_rpath): Defer expansion to fillin_rpath.
19078 (_dl_init_paths): Pass linkmap to fillin_rpath.
19080 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19082 * benchtests/Makefile: Add strsep.
19083 * benchtests/bench-strsep.c: New file: strsep benchtest.
19084 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19086 2013-11-18 Andreas Schwab <schwab@suse.de>
19088 * locale/programs/locale.c (show_info) [case byte]: Check for
19089 '\377' instead of '\177'.
19090 * locale/C-monetary.c (not_available): Always use "\377".
19091 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19092 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19093 detect unavailable sign_posn locale elements.
19094 * locale/localeconv.c (__localeconv): For grouping and
19095 mon_grouping handle "\177" and "\377" like no grouping.
19096 (INT_ELEM): New macro. Use it to set all numeric members.
19097 * locale/programs/ld-monetary.c (monetary_read)
19098 <tok_mon_grouping>: Normalize single -1 to the empty string.
19099 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19102 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19105 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19106 when we match (nil).
19107 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19109 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19111 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19112 (NO_TEST_INLINE): Update value.
19113 (ERRNO_UNCHANGED): Likewise.
19114 (ERRNO_EDOM): Likewise.
19115 (ERRNO_ERANGE): Likewise.
19116 (IGNORE_RESULT): Likewise.
19117 (check_float_internal): Check signs of NaN results if
19118 TEST_NAN_SIGN used.
19119 (check_complex): Pass TEST_NAN_SIGN flag through to second
19120 check_float_internal call.
19121 (copysign_test_data): Add tests with quiet NaNs as second
19122 argument. Use TEST_NAN_SIGN.
19123 (fabs_test_data): Add test of negative quiet NaN argument. Use
19125 (signbit_test_data): Add tests of quiet NaN argument.
19126 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19128 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19130 (parse_args): Handle function results specified as IGNORE.
19131 * math/libm-test.inc (IGNORE_RESULT): New macro.
19132 (check_float_internal): Do not check numerical result if flag
19134 (check_complex): Pass through IGNORE_RESULT to second
19135 check_float_internal call.
19136 (check_int): Do not check numerical result if flag IGNORE_RESULT
19138 (check_long): Likewise.
19139 (check_bool): Likewise.
19140 (check_longlong): Likewise.
19141 (lrint_test_data): Add tests of infinite and NaN arguments.
19142 (lrint_tonearest_test_data): Likewise.
19143 (lrint_towardzero_test_data): Likewise.
19144 (lrint_downward_test_data): Likewise.
19145 (lrint_upward_test_data): Likewise.
19146 (llrint_test_data): Likewise.
19147 (llrint_tonearest_test_data): Likewise.
19148 (llrint_towardzero_test_data): Likewise.
19149 (llrint_downward_test_data): Likewise.
19150 (llrint_upward_test_data): Likewise.
19151 (lround_test_data): Likewise.
19152 (llround_test_data): Likewise.
19154 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19155 (ERRNO_UNCHANGED): Update value.
19156 (ERRNO_EDOM): Likewise.
19157 (ERRNO_ERANGE): Likewise.
19158 (NO_TEST_INLINE_FLOAT): New macro.
19159 (NO_TEST_INLINE_DOUBLE): Likewise.
19160 (enable_test): New function.
19161 (RUN_TEST_f_f): Check enable_test before running test.
19162 (RUN_TEST_2_f): Likewise.
19163 (RUN_TEST_fff_f): Likewise.
19164 (RUN_TEST_c_f): Likewise.
19165 (RUN_TEST_f_f1): Likewise.
19166 (RUN_TEST_fF_f1): Likewise.
19167 (RUN_TEST_fI_f1): Likewise.
19168 (RUN_TEST_ffI_f1): Likewise.
19169 (RUN_TEST_c_c): Likewise.
19170 (RUN_TEST_cc_c): Likewise.
19171 (RUN_TEST_f_i): Likewise.
19172 (RUN_TEST_f_i_tg): Likewise.
19173 (RUN_TEST_ff_i_tg): Likewise.
19174 (RUN_TEST_f_b): Likewise.
19175 (RUN_TEST_f_b_tg): Likewise.
19176 (RUN_TEST_f_l): Likewise.
19177 (RUN_TEST_f_L): Likewise.
19178 (RUN_TEST_fFF_11): Likewise.
19179 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19181 (cosh_test_data): Likewise.
19182 (exp_test_data): Likewise.
19183 (expm1_test_data): Likewise.
19184 (hypot_test_data): Likewise.
19185 (pow_test_data): Likewise.
19186 (sinh_test_data): Likewise.
19187 (tanh_test_data): Likewise.
19188 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19191 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19192 tests with quiet NaN input and output.
19193 (acosh_test_data): Likewise.
19194 (asin_test_data): Likewise.
19195 (asinh_test_data): Likewise.
19196 (atan_test_data): Likewise.
19197 (atanh_test_data): Likewise.
19198 (atan2_test_data): Likewise.
19199 (cbrt_test_data): Likewise.
19200 (cos_test_data): Likewise.
19201 (cosh_test_data): Likewise.
19202 (erf_test_data): Likewise.
19203 (erfc_test_data): Likewise.
19204 (exp_test_data): Likewise.
19205 (exp10_test_data): Likewise.
19206 (exp2_test_data): Likewise.
19207 (expm1_test_data): Likewise.
19208 (hypot_test_data): Likewise.
19209 (j0_test_data): Likewise.
19210 (j1_test_data): Likewise.
19211 (jn_test_data): Likewise.
19212 (lgamma_test_data): Likewise.
19213 (log_test_data): Likewise.
19214 (log10_test_data): Likewise.
19215 (log1p_test_data): Likewise.
19216 (log2_test_data): Likewise.
19217 (pow_test_data): Likewise.
19218 (scalb_test_data): Likewise.
19219 (sin_test_data): Likewise.
19220 (sincos_test_data): Likewise.
19221 (sinh_test_data): Likewise.
19222 (tan_test_data): Likewise.
19223 (tanh_test_data): Likewise.
19224 (tgamma_test_data): Likewise.
19225 (y0_test_data): Likewise.
19226 (y1_test_data): Likewise.
19227 (yn_test_data): Likewise.
19230 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19231 argument being NaN and avoid computations with second argument in
19233 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19234 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19235 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19237 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19239 * locale/iso-639.def: Add Chitwani Tharu (the).
19241 2013-11-14 Andreas Schwab <schwab@suse.de>
19243 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19244 word instead of empty string.
19246 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19249 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19251 (__fe_nomask_env): Likewise.
19253 2013-11-13 Steve Ellcey <sellcey@mips.com>
19255 * benchtests/bench-timing.h: Include time.h.
19257 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19260 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19262 * sysdeps/unix/sysv/linux/configure: Regenerated.
19264 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19267 * stdlib/strtod_l.c (round_and_return): Do not consider
19268 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19269 exponent one less than half the least subnormal exponent.
19270 * stdlib/test-strtod-round-data: Add more tests.
19271 * stdlib/tst-strtod-round.c (tests): Regenerated.
19273 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19276 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19277 (__fe_mask_env): Likewise.
19278 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19279 libm_hidden_proto and add function prototype.
19280 (__fe_mask_env): Add function prototype.
19281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19282 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19284 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19286 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19288 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19290 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19291 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19293 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19295 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19296 of htab_find_slot().
19298 2013-11-11 David S. Miller <davem@davemloft.net>
19301 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19302 symbol in the non-vis3 case in static builds.
19303 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19304 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19305 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19306 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19308 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19311 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19314 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19316 * benchtests/Makefile: Add bench-strtod.
19317 * benchtests/bench-strtod.c: New file: strtod benchtest
19319 2013-11-11 Andreas Schwab <schwab@suse.de>
19322 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19323 terminating NUL in key length.
19325 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19328 Add artificial ODP entry for vDSO symbol for PPC64.
19329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19330 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19332 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19335 * nss/getent.c (services_keys): Recognize services starting with digit.
19337 2013-11-06 David S. Miller <davem@davemloft.net>
19340 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19341 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19343 2013-11-06 Will Newton <will.newton@linaro.org>
19345 * manual/memory.texi (Malloc Examples): Remove register
19346 keyword from examples.
19348 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
19350 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19352 2013-11-04 Joseph Myers <joseph@codesourcery.com>
19355 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19356 depending on [__GCC_IEC_559 > 0].
19357 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19358 depending on [__GCC_IEC_559_COMPLEX > 0].
19360 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
19362 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19365 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
19367 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19369 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
19372 * malloc/malloc (malloc_info): Do not handle first bin as
19375 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
19377 * locale/iso-639.def: Add Central Nahuatl (nhn).
19379 2013-11-01 Bruno Haible <bruno@clisp.org>
19382 * manual/math.texi (BSD Random): Specify range upper bound as
19385 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
19387 * locale/iso-639.def: Add Meadow Mari (mhr).
19389 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
19391 [BZ #14752], [BZ #15763]
19392 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19394 * rt/tst_shm.c: Add test for escaping directory.
19396 2013-10-31 Andreas Schwab <schwab@suse.de>
19399 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19400 followed by 'x' as part of digit sequence.
19401 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19403 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19406 * configure.ac: allow GNU Make 4.0 and greater.
19407 * configure: Regenerated.
19409 2013-10-30 Will Newton <will.newton@linaro.org>
19412 * malloc/hooks.c (memalign_check): Limit alignment to the
19413 maximum representable power of two.
19414 * malloc/malloc.c (__libc_memalign): Likewise.
19415 * malloc/tst-memalign.c (do_test): Add test for very
19416 large alignment values.
19417 * malloc/tst-posix_memalign.c (do_test): Likewise.
19419 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19422 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19423 (munmap_chunk): Likewise.
19424 (mremap_chunk): Likewise.
19426 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19429 * stdlib/div.c (div): Remove obsolete code.
19430 * stdlib/ldiv.c (ldiv): Likewise.
19431 * stdlib/lldiv.c (lldiv): Likewise.
19433 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19436 * nss/nss_files/files-XXX.c (get_contents_ret): New
19438 (get_contents): New function.
19439 (internal_getent): Use it. Expand size of LINEBUFLEN.
19441 2013-10-30 Mike Frysinger <vapier@gentoo.org>
19443 * configure.in: Moved to ...
19444 * configure.ac: ... here. Change reference to configure.in
19446 * sysdeps/arm/preconfigure.ac: ... here.
19447 configure.in to configure.ac.
19448 * sysdeps/gnu/configure.in: Moved to ...
19449 * sysdeps/gnu/configure.ac: ... here.
19450 * sysdeps/i386/configure.in: Moved to ...
19451 * sysdeps/i386/configure.ac: ... here.
19452 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19453 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19454 * sysdeps/mach/configure.in: Moved to ...
19455 * sysdeps/mach/configure.ac: ... here.
19456 * sysdeps/mach/hurd/configure.in: Moved to ...
19457 * sysdeps/mach/hurd/configure.ac: ... here.
19458 * sysdeps/powerpc/configure.in: Moved to ...
19459 * sysdeps/powerpc/configure.ac: ... here.
19460 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19461 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19462 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19463 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19464 * sysdeps/s390/s390-32/configure.in: Moved to ...
19465 * sysdeps/s390/s390-32/configure.ac: ... here.
19466 * sysdeps/s390/s390-64/configure.in: Moved to ...
19467 * sysdeps/s390/s390-64/configure.ac: ... here.
19468 * sysdeps/sh/configure.in: Moved to ...
19469 * sysdeps/sh/configure.ac: ... here.
19470 * sysdeps/sparc/configure.in: Moved to ...
19471 * sysdeps/sparc/configure.ac: ... here.
19472 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19473 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19474 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19475 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19476 * sysdeps/x86_64/configure.in: Moved to ...
19477 * sysdeps/x86_64/configure.ac: ... here.
19478 * sysdeps/x86_64/preconfigure.in: Moved to ...
19479 * sysdeps/x86_64/preconfigure.ac: ... here.
19480 * aclocal.m4: Change reference to configure.in to configure.ac.
19481 * config.h.in: Likewise.
19482 * manual/install.texi: Likewise.
19483 * manual/maint.texi: Likewise.
19484 * Makefile: Likewise.
19485 * malloc/Makefile: Likewise.
19486 * nscd/Makefile: Likewise.
19487 * Makeconfig: Change reference to configure.in and
19488 preconfigure.in to configure.ac and preconfigure.ac
19490 * INSTALL: Regenerated.
19491 * configure: Likewise.
19492 * sysdeps/gnu/configure: Likewise.
19493 * sysdeps/i386/configure: Likewise.
19494 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19495 * sysdeps/mach/configure: Likewise.
19496 * sysdeps/mach/hurd/configure: Likewise.
19497 * sysdeps/powerpc/configure: Likewise.
19498 * sysdeps/powerpc/powerpc32/configure: Likewise.
19499 * sysdeps/powerpc/powerpc64/configure: Likewise.
19500 * sysdeps/s390/s390-32/configure: Likewise.
19501 * sysdeps/s390/s390-64/configure: Likewise.
19502 * sysdeps/sh/configure: Likewise.
19503 * sysdeps/sparc/configure: Likewise.
19504 * sysdeps/unix/sysv/linux/configure: Likewise.
19505 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19506 * sysdeps/x86_64/configure: Likewise.
19507 * sysdeps/x86_64/preconfigure: Likewise.
19509 2013-10-29 Andreas Schwab <schwab@suse.de>
19511 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19513 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19515 * benchtests/pow-inputs: Add new inputs.
19517 * benchtests/exp-inputs: Add new inputs.
19519 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19520 conditional check for return value.
19521 (__cos32): Likewise.
19523 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19525 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19526 to provide a boost for large inputs with word alignment.
19527 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19528 implementation based on optimized PPC64 strcpy.
19529 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19530 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19531 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19532 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19534 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19537 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19539 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19542 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19543 * time/tst-strptime.c (day_tests): Add testcase.
19545 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19548 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19550 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19553 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19554 MAP_FAILED on error.
19556 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19559 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19560 heap for large requests.
19562 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19565 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19566 result if the result has no associated interface.
19567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19568 interface for all 127.X.Y.Z addresses.
19570 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19572 * locale/iso-639.def: Add Ligurian (lij)
19574 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19577 * sunrpc/rpc_main.c: Document rpcgen -5.
19579 2013-10-19 Michael Stahl <mstahl@redhat.com>
19581 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19583 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19586 * posix/glob.c: Match only directories when trailing slash is present.
19587 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19588 (main): Add testcase.
19590 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19593 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19595 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19597 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19598 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19599 AUTH_DES and cindex for FIPS 140-2.
19600 (DES Encryption): Add cindex FIPS 46-3.
19602 * locale/locarchive.h (struct locarhandle): Add fname.
19603 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19604 if an optional argument was specified to --list-archive,
19606 * locale/programs/locarchive.c (show_archive_content): Take new
19607 argument fname and pass it via ah.fname to open_archive.
19608 * locale/programs/localedef.h: Update decl.
19609 (open_archive): If AH->fname is non-null, open that file
19610 rather than the default file name, and don't ignore ENOENT.
19611 (create_archive): Set AH.fname to NULL.
19612 (delete_locales_from_archive): Likewise.
19613 (add_locales_to_archive): Likewise.
19614 * locale/programs/locfile.c (write_all_categories): Likewise.
19616 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19617 Aldy Hernandez <aldyh@redhat.com>
19619 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19620 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19621 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19622 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19623 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19624 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19625 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19626 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19627 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19628 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19629 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19630 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19631 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19632 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19633 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19635 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19637 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19639 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19641 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19642 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19644 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19645 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19646 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19647 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19649 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19650 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19651 * sysdeps/powerpc/preconfigure: Likewise.
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19654 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19655 Replace contents of file by #include of <fenv_libc.h>.
19656 * sysdeps/powerpc/soft-fp/sfp-machine.h
19657 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19659 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19672 Allow copysignl PLT reference to be missing.
19674 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19675 Joseph Myers <joseph@codesourcery.com
19678 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19680 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19682 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19684 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19685 * elf/tst-tls1.c: Likewise.
19686 * elf/tst-tls10.h: Likewise.
19687 * elf/tst-tls14.c: Likewise.
19688 * elf/tst-tls2.c: Likewise.
19689 * elf/tst-tls3.c: Likewise.
19690 * elf/tst-tls4.c: Likewise.
19691 * elf/tst-tls5.c: Likewise.
19692 * elf/tst-tls6.c: Likewise.
19693 * elf/tst-tls7.c: Likewise.
19694 * elf/tst-tls8.c: Likewise.
19695 * elf/tst-tls9.c: Likewise.
19696 * elf/tst-tlsmod1.c: Likewise.
19697 * elf/tst-tlsmod13.c: Likewise.
19698 * elf/tst-tlsmod13a.c: Likewise.
19699 * elf/tst-tlsmod14a.c: Likewise.
19700 * elf/tst-tlsmod16a.c: Likewise.
19701 * elf/tst-tlsmod16b.c: Likewise.
19702 * elf/tst-tlsmod2.c: Likewise.
19703 * elf/tst-tlsmod3.c: Likewise.
19704 * elf/tst-tlsmod4.c: Likewise.
19705 * elf/tst-tlsmod5.c: Likewise.
19706 * elf/tst-tlsmod6.c: Likewise.
19708 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19711 * malloc/malloc.c: remove checks for statistics.
19713 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19716 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19717 * inet/tst-network.c: Add testcase.
19719 2013-10-17 Andreas Schwab <schwab@suse.de>
19722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19723 to determine canonical name.
19725 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19727 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19728 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19729 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19732 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19738 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19751 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19752 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19757 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19771 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19773 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19778 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19779 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19780 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19781 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19782 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19784 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19786 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19789 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19790 make result into a quiet NaN.
19792 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19794 * soft-fp/adddf3.c: Fix horizontal whitespace.
19795 * soft-fp/addsf3.c: Likewise.
19796 * soft-fp/addtf3.c: Likewise.
19797 * soft-fp/divdf3.c: Likewise.
19798 * soft-fp/divsf3.c: Likewise.
19799 * soft-fp/divtf3.c: Likewise.
19800 * soft-fp/double.h: Likewise.
19801 * soft-fp/eqdf2.c: Likewise.
19802 * soft-fp/eqsf2.c: Likewise.
19803 * soft-fp/eqtf2.c: Likewise.
19804 * soft-fp/extenddftf2.c: Likewise.
19805 * soft-fp/extended.h: Likewise.
19806 * soft-fp/extendsfdf2.c: Likewise.
19807 * soft-fp/extendsftf2.c: Likewise.
19808 * soft-fp/extendxftf2.c: Likewise.
19809 * soft-fp/fixdfdi.c: Likewise.
19810 * soft-fp/fixdfsi.c: Likewise.
19811 * soft-fp/fixdfti.c: Likewise.
19812 * soft-fp/fixsfdi.c: Likewise.
19813 * soft-fp/fixsfsi.c: Likewise.
19814 * soft-fp/fixsfti.c: Likewise.
19815 * soft-fp/fixtfdi.c: Likewise.
19816 * soft-fp/fixtfsi.c: Likewise.
19817 * soft-fp/fixtfti.c: Likewise.
19818 * soft-fp/fixunsdfdi.c: Likewise.
19819 * soft-fp/fixunsdfsi.c: Likewise.
19820 * soft-fp/fixunsdfti.c: Likewise.
19821 * soft-fp/fixunssfdi.c: Likewise.
19822 * soft-fp/fixunssfsi.c: Likewise.
19823 * soft-fp/fixunssfti.c: Likewise.
19824 * soft-fp/fixunstfdi.c: Likewise.
19825 * soft-fp/fixunstfsi.c: Likewise.
19826 * soft-fp/fixunstfti.c: Likewise.
19827 * soft-fp/floatdidf.c: Likewise.
19828 * soft-fp/floatdisf.c: Likewise.
19829 * soft-fp/floatditf.c: Likewise.
19830 * soft-fp/floatsidf.c: Likewise.
19831 * soft-fp/floatsisf.c: Likewise.
19832 * soft-fp/floatsitf.c: Likewise.
19833 * soft-fp/floattidf.c: Likewise.
19834 * soft-fp/floattisf.c: Likewise.
19835 * soft-fp/floattitf.c: Likewise.
19836 * soft-fp/floatundidf.c: Likewise.
19837 * soft-fp/floatundisf.c: Likewise.
19838 * soft-fp/floatunditf.c: Likewise.
19839 * soft-fp/floatunsidf.c: Likewise.
19840 * soft-fp/floatunsisf.c: Likewise.
19841 * soft-fp/floatunsitf.c: Likewise.
19842 * soft-fp/floatuntidf.c: Likewise.
19843 * soft-fp/floatuntisf.c: Likewise.
19844 * soft-fp/floatuntitf.c: Likewise.
19845 * soft-fp/fmadf4.c: Likewise.
19846 * soft-fp/fmasf4.c: Likewise.
19847 * soft-fp/fmatf4.c: Likewise.
19848 * soft-fp/gedf2.c: Likewise.
19849 * soft-fp/gesf2.c: Likewise.
19850 * soft-fp/getf2.c: Likewise.
19851 * soft-fp/ledf2.c: Likewise.
19852 * soft-fp/lesf2.c: Likewise.
19853 * soft-fp/letf2.c: Likewise.
19854 * soft-fp/muldf3.c: Likewise.
19855 * soft-fp/mulsf3.c: Likewise.
19856 * soft-fp/multf3.c: Likewise.
19857 * soft-fp/negdf2.c: Likewise.
19858 * soft-fp/negsf2.c: Likewise.
19859 * soft-fp/negtf2.c: Likewise.
19860 * soft-fp/op-1.h: Likewise.
19861 * soft-fp/op-2.h: Likewise.
19862 * soft-fp/op-4.h: Likewise.
19863 * soft-fp/op-8.h: Likewise.
19864 * soft-fp/op-common.h: Likewise.
19865 * soft-fp/quad.h: Likewise.
19866 * soft-fp/single.h: Likewise.
19867 * soft-fp/soft-fp.h: Likewise.
19868 * soft-fp/sqrtdf2.c: Likewise.
19869 * soft-fp/sqrtsf2.c: Likewise.
19870 * soft-fp/sqrttf2.c: Likewise.
19871 * soft-fp/subdf3.c: Likewise.
19872 * soft-fp/subsf3.c: Likewise.
19873 * soft-fp/subtf3.c: Likewise.
19874 * soft-fp/truncdfsf2.c: Likewise.
19875 * soft-fp/trunctfdf2.c: Likewise.
19876 * soft-fp/trunctfsf2.c: Likewise.
19877 * soft-fp/trunctfxf2.c: Likewise.
19878 * soft-fp/unorddf2.c: Likewise.
19879 * soft-fp/unordsf2.c: Likewise.
19880 * soft-fp/unordtf2.c: Likewise.
19882 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19884 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19885 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19887 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19889 * elf/dl-libc.c: Clear initfini list after freeing.
19891 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19893 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19894 * soft-fp/addsf3.c: Likewise.
19895 * soft-fp/addtf3.c: Likewise.
19896 * soft-fp/divdf3.c: Likewise.
19897 * soft-fp/divsf3.c: Likewise.
19898 * soft-fp/divtf3.c: Likewise.
19899 * soft-fp/double.h: Likewise.
19900 * soft-fp/eqdf2.c: Likewise.
19901 * soft-fp/eqsf2.c: Likewise.
19902 * soft-fp/eqtf2.c: Likewise.
19903 * soft-fp/extenddftf2.c: Likewise.
19904 * soft-fp/extended.h: Likewise.
19905 * soft-fp/extendsfdf2.c: Likewise.
19906 * soft-fp/extendsftf2.c: Likewise.
19907 * soft-fp/extendxftf2.c: Likewise.
19908 * soft-fp/fixdfdi.c: Likewise.
19909 * soft-fp/fixdfsi.c: Likewise.
19910 * soft-fp/fixdfti.c: Likewise.
19911 * soft-fp/fixsfdi.c: Likewise.
19912 * soft-fp/fixsfsi.c: Likewise.
19913 * soft-fp/fixsfti.c: Likewise.
19914 * soft-fp/fixtfdi.c: Likewise.
19915 * soft-fp/fixtfsi.c: Likewise.
19916 * soft-fp/fixtfti.c: Likewise.
19917 * soft-fp/fixunsdfdi.c: Likewise.
19918 * soft-fp/fixunsdfsi.c: Likewise.
19919 * soft-fp/fixunsdfti.c: Likewise.
19920 * soft-fp/fixunssfdi.c: Likewise.
19921 * soft-fp/fixunssfsi.c: Likewise.
19922 * soft-fp/fixunssfti.c: Likewise.
19923 * soft-fp/fixunstfdi.c: Likewise.
19924 * soft-fp/fixunstfsi.c: Likewise.
19925 * soft-fp/fixunstfti.c: Likewise.
19926 * soft-fp/floatdidf.c: Likewise.
19927 * soft-fp/floatdisf.c: Likewise.
19928 * soft-fp/floatditf.c: Likewise.
19929 * soft-fp/floatsidf.c: Likewise.
19930 * soft-fp/floatsisf.c: Likewise.
19931 * soft-fp/floatsitf.c: Likewise.
19932 * soft-fp/floattidf.c: Likewise.
19933 * soft-fp/floattisf.c: Likewise.
19934 * soft-fp/floattitf.c: Likewise.
19935 * soft-fp/floatundidf.c: Likewise.
19936 * soft-fp/floatundisf.c: Likewise.
19937 * soft-fp/floatunsidf.c: Likewise.
19938 * soft-fp/floatunsisf.c: Likewise.
19939 * soft-fp/floatuntidf.c: Likewise.
19940 * soft-fp/floatuntisf.c: Likewise.
19941 * soft-fp/floatuntitf.c: Likewise.
19942 * soft-fp/fmadf4.c: Likewise.
19943 * soft-fp/fmasf4.c: Likewise.
19944 * soft-fp/fmatf4.c: Likewise.
19945 * soft-fp/gedf2.c: Likewise.
19946 * soft-fp/gesf2.c: Likewise.
19947 * soft-fp/getf2.c: Likewise.
19948 * soft-fp/ledf2.c: Likewise.
19949 * soft-fp/lesf2.c: Likewise.
19950 * soft-fp/letf2.c: Likewise.
19951 * soft-fp/muldf3.c: Likewise.
19952 * soft-fp/mulsf3.c: Likewise.
19953 * soft-fp/multf3.c: Likewise.
19954 * soft-fp/negdf2.c: Likewise.
19955 * soft-fp/negsf2.c: Likewise.
19956 * soft-fp/negtf2.c: Likewise.
19957 * soft-fp/op-1.h: Likewise.
19958 * soft-fp/op-2.h: Likewise.
19959 * soft-fp/op-4.h: Likewise.
19960 * soft-fp/op-8.h: Likewise.
19961 * soft-fp/op-common.h: Likewise.
19962 * soft-fp/quad.h: Likewise.
19963 * soft-fp/single.h: Likewise.
19964 * soft-fp/soft-fp.h: Likewise.
19965 * soft-fp/sqrtdf2.c: Likewise.
19966 * soft-fp/sqrtsf2.c: Likewise.
19967 * soft-fp/sqrttf2.c: Likewise.
19968 * soft-fp/subdf3.c: Likewise.
19969 * soft-fp/subsf3.c: Likewise.
19970 * soft-fp/subtf3.c: Likewise.
19971 * soft-fp/truncdfsf2.c: Likewise.
19972 * soft-fp/trunctfdf2.c: Likewise.
19973 * soft-fp/trunctfsf2.c: Likewise.
19974 * soft-fp/trunctfxf2.c: Likewise.
19975 * soft-fp/unorddf2.c: Likewise.
19976 * soft-fp/unordsf2.c: Likewise.
19977 * soft-fp/unordtf2.c: Likewise.
19979 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19982 * misc/error.c (error_tail): Fix possible buffer overflow.
19984 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19987 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19990 2013-10-14 P. J. McDermott <pj@pehjota.net>
19993 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19994 testing pipefail option.
19996 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19998 * soft-fp/double.h: Indent preprocessor directives inside #if.
19999 * soft-fp/extended.h: Likewise.
20000 * soft-fp/op-2.h: Likewise.
20001 * soft-fp/op-4.h: Likewise.
20002 * soft-fp/op-common.h: Likewise.
20003 * soft-fp/quad.h: Likewise.
20004 * soft-fp/single.h: Likewise.
20005 * soft-fp/soft-fp.h: Likewise.
20007 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20009 * iconv/iconv_prog.c: Fix typos.
20010 * stdio-common/psiginfo-data.h: Likewise.
20012 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20015 * locale/setlocale.c: Fix typo.
20017 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20020 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20021 signaling NaN arguments.
20022 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20023 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20026 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20027 unordered operands.
20028 * soft-fp/gesf2.c (__gesf2): Likewise.
20029 * soft-fp/getf2.c (__getf2): Likewise.
20030 * soft-fp/ledf2.c (__ledf2): Likewise.
20031 * soft-fp/lesf2.c (__lesf2): Likewise.
20032 * soft-fp/letf2.c (__letf2): Likewise.
20034 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20035 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20036 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20037 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20038 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20039 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20040 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20041 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20042 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20043 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20044 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20045 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20046 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20047 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20048 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20049 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20050 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20051 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20052 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20053 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20054 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20055 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20056 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20057 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20058 * soft-fp/floattidf.c (__floattidf): Likewise.
20059 * soft-fp/floattisf.c (__floattisf): Likewise.
20060 * soft-fp/floattitf.c (__floattitf): Likewise.
20061 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20062 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20063 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20064 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20065 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20066 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20067 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20068 * soft-fp/gesf2.c (__gesf2): Likewise.
20069 * soft-fp/getf2.c (__getf2): Likewise.
20070 * soft-fp/ledf2.c (__ledf2): Likewise.
20071 * soft-fp/lesf2.c (__lesf2): Likewise.
20072 * soft-fp/letf2.c (__letf2): Likewise.
20074 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20075 Undefine and redefine.
20076 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20077 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20078 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20079 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20080 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20081 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20082 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20083 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20084 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20085 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20086 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20087 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20088 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20089 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20090 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20093 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20094 without decrementing exponent if mantissa >= that for the
20095 denominator, not >.
20096 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20097 denominator, not >. Decrement exponent in < case instead of
20098 incrementing in >= case.
20099 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20100 without decrementing exponent if mantissa >= that for the
20101 denominator, not >.
20103 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20104 computing saturated result for unsigned overflow.
20106 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20107 Jeff Law <law@redhat.com>
20109 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20110 (atan2Mp): Add systemtap probe marker.
20111 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20112 (__ieee754_log): Add systemtap probe marker.
20113 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20114 (atanMp): Add systemtap probe marker.
20115 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20116 (tanMp): Add systemtap probe marker.
20117 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20118 (__slowexp): Add systemtap probe marker.
20119 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20120 (__slowpow): Add systemtap probe marker.
20121 * manual/probes.texi: Document probes.
20123 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20126 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20128 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20130 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20131 written to buffer but not flushed.
20132 * libio/iofwrite_u.c: Likewise.
20133 * libio/iopadn.c: Return bytes returned even if EOF was
20135 * libio/iowpadn.c: Likewise.
20136 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20137 if _IO_padn does not write the whole buffer.
20138 [!COMPILE_WPRINTF] (PAD): Likewise.
20140 2013-10-10 David S. Miller <davem@davemloft.net>
20142 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20145 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20147 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20148 instead of FSF address.
20149 * soft-fp/fixdfti.c: Likewise.
20150 * soft-fp/fixsfti.c: Likewise.
20151 * soft-fp/fixtfti.c: Likewise.
20152 * soft-fp/fixunsdfti.c: Likewise.
20153 * soft-fp/fixunssfti.c: Likewise.
20154 * soft-fp/fixunstfti.c: Likewise.
20155 * soft-fp/floattidf.c: Likewise.
20156 * soft-fp/floattisf.c: Likewise.
20157 * soft-fp/floattitf.c: Likewise.
20158 * soft-fp/floatuntidf.c: Likewise.
20159 * soft-fp/floatuntisf.c: Likewise.
20160 * soft-fp/floatuntitf.c: Likewise.
20161 * soft-fp/trunctfxf2.c: Likewise.
20163 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20164 * soft-fp/fixdfti.c: Likewise.
20165 * soft-fp/fixsfti.c: Likewise.
20166 * soft-fp/fixtfti.c: Likewise.
20167 * soft-fp/fixunsdfti.c: Likewise.
20168 * soft-fp/fixunssfti.c: Likewise.
20169 * soft-fp/fixunstfti.c: Likewise.
20170 * soft-fp/floattidf.c: Likewise.
20171 * soft-fp/floattisf.c: Likewise.
20172 * soft-fp/floattitf.c: Likewise.
20173 * soft-fp/floatuntidf.c: Likewise.
20174 * soft-fp/floatuntisf.c: Likewise.
20175 * soft-fp/floatuntitf.c: Likewise.
20176 * soft-fp/trunctfxf2.c: Likewise.
20178 2013-10-10 David S. Miller <davem@davemloft.net>
20180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20182 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20185 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20186 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20187 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20188 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20189 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20190 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20193 for NaNs before doing comparisons on argument.
20194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20197 2013-10-10 Will Newton <will.newton@linaro.org>
20199 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20200 passed to _int_memalign does not overflow.
20202 2013-10-10 Torvald Riegel <triegel@redhat.com>
20204 * scripts/bench.pl: Add include-sources directive.
20205 * benchtests/README: Update documentation.
20207 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20209 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20210 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20211 instead of FP_INIT_ROUNDMODE.
20212 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20213 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20216 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20217 copy class of input value.
20218 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20219 not handle exceptions.
20220 * soft-fp/negsf2.c (__negsf2): Likewise.
20221 * soft-fp/negtf2.c (__negtf2): Likewise.
20222 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20224 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20226 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20227 semicolon. From Linux kernel.
20229 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20231 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20233 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20236 * manual/socket.texi: Added statement about buffer
20237 for gethostbyname2_r.
20239 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20241 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20242 Use .p2align directive instead, throughout.
20243 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20244 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20245 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20246 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20248 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20249 * sysdeps/x86_64/strchr.S: Likewise.
20250 * sysdeps/x86_64/strrchr.S: Likewise.
20252 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20254 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20256 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20258 * sysdeps/generic/math_private.h (__mpsin1): Remove
20260 (__mpcos1): Likewise.
20261 (__mpsin): New argument __range_reduce.
20262 (__mpcos): Likewise.
20263 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20264 (slow): Use __mpsin and __mpcos.
20268 (sloww1): Likewise.
20269 (sloww2): Likewise.
20270 (bsloww): Likewise.
20271 (bsloww1): Likewise.
20272 (bsloww2): Likewise.
20273 (cslow2): Likewise.
20274 (csloww): Likewise.
20275 (csloww1): Likewise.
20276 (csloww2): Likewise.
20277 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20278 range_reduce. Merge in __mpsin1.
20279 (__mpcos): Likewise.
20280 (__mpsin1): Remove.
20281 (__mpcos1): Likewise.
20283 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20285 * locale/loadlocale.c (_nl_intern_locale_data): Use
20287 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20288 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20289 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20290 obstack data is appropriately aligned.
20291 (obstack_int32_grow_fast): Likewise.
20292 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20293 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20294 (add_locale_uint32_array): Likewise.
20296 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20298 * benchtests/Makefile: Remove ARGLIST and RET variables.
20299 ($(objpfx)bench-%.c): Pass only function name to the script.
20300 * benchtests/README: Update documentation.
20301 * benchtests/acos-inputs: Add new directives.
20302 * benchtests/acosh-inputs: Likewise.
20303 * benchtests/asin-inputs: Likewise.
20304 * benchtests/asinh-inputs: Likewise.
20305 * benchtests/atan-inputs: Likewise.
20306 * benchtests/atanh-inputs: Likewise.
20307 * benchtests/cos-inputs: Likewise.
20308 * benchtests/cosh-inputs: Likewise.
20309 * benchtests/exp-inputs: Likewise.
20310 * benchtests/log-inputs: Likewise.
20311 * benchtests/pow-inputs: Likewise.
20312 * benchtests/rint-inputs: Likewise.
20313 * benchtests/sin-inputs: Likewise.
20314 * benchtests/sinh-inputs: Likewise.
20315 * benchtests/tan-inputs: Likewise.
20316 * benchtests/tanh-inputs: Likewise.
20317 * scripts/bench.pl: Add support for new directives.
20319 2013-10-07 Alan Modra <amodra@gmail.com>
20321 * README: Fix careless merge.
20323 2013-10-05 Alan Modra <amodra@gmail.com>
20325 * NEWS: Mention powerpc64le support and bugs fixed.
20326 * README: Both big-endian and little-endian powerpc64 supported.
20328 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20330 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20331 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20332 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20333 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20335 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20337 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20340 2013-10-04 Joseph Myers <joseph@codesourcery.com>
20342 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20343 Move -mhard-float appending from
20344 ports/sysdeps/powerpc/powerpc32/Makefile.
20345 [$(with-fp) = yes] (ASFLAGS): Likewise.
20346 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20347 * sysdeps/powerpc/nofpu: Move directory from
20348 ports/sysdeps/powerpc/nofpu.
20349 * sysdeps/powerpc/soft-fp: Move directory from
20350 ports/sysdeps/powerpc/soft-fp.
20351 * sysdeps/powerpc/powerpc32/405: Move directory from
20352 ports/sysdeps/powerpc/powerpc32/405.
20353 * sysdeps/powerpc/powerpc32/440: Move directory from
20354 ports/sysdeps/powerpc/powerpc32/440.
20355 * sysdeps/powerpc/powerpc32/464: Move directory from
20356 ports/sysdeps/powerpc/powerpc32/464.
20357 * sysdeps/powerpc/powerpc32/476: Move directory from
20358 ports/sysdeps/powerpc/powerpc32/476.
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20360 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20362 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20364 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20369 * README: Update for powerpc-*-linux-gnu software floating point
20372 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20373 case to powerpc/powerpc32*.
20374 * sysdeps/unix/sysv/linux/configure: Regenerated.
20376 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20377 (_FPU_MASK_OM): Define as 0x04.
20378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20386 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20389 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20392 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20393 and setcontext_e500.
20395 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20397 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20399 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20401 * manual/threads.texi (Default Thread Attributes): Fix typo.
20403 2013-10-04 Will Newton <will.newton@linaro.org>
20405 * malloc/Makefile: Add tst-memalign.
20406 * malloc/tst-memalign.c: New file.
20408 * malloc/tst-posix_memalign.c: Add comments.
20409 (do_test): Add comments and call free on all potentially
20410 allocated pointers. Add space after cast.
20412 * malloc/tst-pvalloc.c: Add comments.
20413 (do_test): Add comments and call free on all potentially
20414 allocated pointers. Remove duplicate check for NULL pointer.
20415 Add space after cast.
20417 * malloc/tst-valloc.c: Add comments.
20418 (do_test): Add comments and call free on all potentially
20419 allocated pointers. Remove duplicate check for NULL pointer.
20420 Add space after cast.
20422 2013-10-04 Alan Modra <amodra@gmail.com>
20424 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20425 Use stdint types in rather than __attribute__((mode())).
20426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20428 2013-10-04 Alan Modra <amodra@gmail.com>
20430 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20431 Correct handling of unaligned relocs for little-endian.
20432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20434 2013-10-04 Alan Modra <amodra@gmail.com>
20436 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20437 * configure: Regenerate.
20438 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20439 * shlib-versions: Likewise.
20441 2013-10-04 Alan Modra <amodra@gmail.com>
20443 * string/tester.c (test_memrchr): Increment reported test cycle.
20445 2013-10-04 Alan Modra <amodra@gmail.com>
20447 * string/test-memcpy.c (do_one_test): When reporting errors, print
20448 string address and don't overrun end of string.
20450 2013-10-04 Alan Modra <amodra@gmail.com>
20452 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20453 insrdi. Make better use of reg selection to speed exit slightly.
20454 Schedule entry path a little better. Remove useless "are we done"
20455 checks on entry to main loop. Handle wrapping around zero address.
20456 Correct main loop count. Handle single left-over word from main
20457 loop inline rather than by using loop_small. Remove extra word
20458 case in loop_small caused by wrong loop count. Add little-endian
20460 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20461 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20463 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20464 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20465 support. Avoid rlwimi.
20466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20468 2013-10-04 Alan Modra <amodra@gmail.com>
20470 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20471 insrdi. Formatting.
20472 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20473 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20474 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20475 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20476 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20477 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20479 2013-10-04 Alan Modra <amodra@gmail.com>
20481 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20482 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20483 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20484 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20485 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20486 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20487 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20488 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20489 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20490 use of regs. Use power7 mtocrf. Tidy function tails.
20492 2013-10-04 Alan Modra <amodra@gmail.com>
20494 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20495 Formatting. Consistently use rXXX register defines or rN defines.
20496 Use early exit labels that avoid restoring unused non-volatile regs.
20497 Make cr field use more consistent with rWORDn compares. Rename
20498 regs used as shift registers for unaligned loop, using rN defines
20499 for short lifetime/multiple use regs.
20500 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20501 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20502 addi 1,1,64 to pop stack frame. Simplify return value code.
20503 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20505 2013-10-04 Alan Modra <amodra@gmail.com>
20507 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20508 support. Correct typos, formatting. Optimize tail. Use insrdi
20509 rather than rlwimi.
20510 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20511 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20512 little-endian support. Correct typos.
20513 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20514 rather than rlwimi.
20515 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20516 in loop and entry code to keep "and." results.
20517 (strchr): Add little-endian support. Comment. Move cntlzd
20519 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20521 2013-10-04 Alan Modra <amodra@gmail.com>
20523 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20524 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20525 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20526 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20528 2013-10-04 Alan Modra <amodra@gmail.com>
20530 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20531 (rTMP): Define as r11.
20532 (strcmp): Add little-endian support. Optimise tail.
20533 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20534 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20535 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20537 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20541 2013-10-04 Alan Modra <amodra@gmail.com>
20543 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20544 little-endian support. Remove unnecessary "are we done" tests.
20545 Handle "s" wrapping around zero and extremely large "size".
20546 Correct main loop count. Handle single left-over word from main
20547 loop inline rather than by using small_loop. Correct comments.
20548 Delete "zero" tail, use "end_max" instead.
20549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20551 2013-10-04 Alan Modra <amodra@gmail.com>
20553 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20554 support. Don't branch over align.
20555 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20556 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20557 support. Rearrange tmp reg use to suit. Comment.
20558 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20560 2013-10-04 Alan Modra <amodra@gmail.com>
20562 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20564 2013-10-04 Alan Modra <amodra@gmail.com>
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20567 conditional form of branch and link when obtaining pc.
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20570 2013-10-04 Alan Modra <amodra@gmail.com>
20572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20577 2013-10-04 Alan Modra <amodra@gmail.com>
20579 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20580 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20581 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20582 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20583 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20584 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20585 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20586 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20587 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20588 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20590 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20591 Alistair Popple <alistair@ozlabs.au.ibm.com>
20592 Alan Modra <amodra@gmail.com>
20595 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20597 _dl_hwcap access for little-endian.
20598 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20599 destroy vmx regs when saving unaligned.
20600 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20601 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20602 destroy vmx regs when saving unaligned.
20604 2013-10-04 Alan Modra <amodra@gmail.com>
20606 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20607 Don't use a union to pack hi/low value.
20609 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20611 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20613 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20614 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20615 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20616 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20617 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20619 2013-10-04 Alan Modra <amodra@gmail.com>
20621 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20622 constants to usual value for .cst8 section, and remove redundant
20624 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20625 constant for 0x1p52. Load little-endian words of double from
20626 correct stack offsets.
20628 2013-10-04 Alan Modra <amodra@gmail.com>
20630 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20631 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20632 words of double from correct stack offsets.
20633 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20634 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20635 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20637 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20639 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20640 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20641 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20643 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20644 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20645 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20646 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20647 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20648 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20649 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20651 2013-10-04 Alan Modra <amodra@gmail.com>
20653 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20654 64-bit int/double union.
20655 (_FPU_SETCW): Likewise.
20656 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20657 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20659 2013-10-04 Alan Modra <amodra@gmail.com>
20661 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20662 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20664 2013-10-04 Alan Modra <amodra@gmail.com>
20666 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20667 use vector int constants.
20668 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20670 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20672 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20673 array with long long.
20674 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20675 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20676 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20677 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20678 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20679 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20680 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20681 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20682 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20683 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20684 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20685 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20686 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20688 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20690 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20691 (__signbit): Likewise. Correct for little-endian.
20692 (__signbitl): Call __signbit.
20693 (lrint): Correct for little-endian.
20694 (lrintf): Call lrint.
20696 2013-10-04 Alan Modra <amodra@gmail.com>
20698 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20699 union 32-bit int array member with 64-bit int array.
20700 (t515, tm256): Double rather than long double.
20701 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20703 2013-10-04 Alan Modra <amodra@gmail.com>
20705 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20707 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20708 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20709 version of math_ldbl.h.
20711 2013-10-04 Alan Modra <amodra@gmail.com>
20713 [BZ #15734], [BZ #15735]
20714 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20715 all uses of ieee875 long double macros and unions. Simplify test
20716 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20717 ldbl_extract_mantissa value for ix,iy exponents. Properly
20718 normalize after ldbl_extract_mantissa, and don't add hidden bit
20719 already handled. Don't treat low word of ieee854 mantissa like
20720 low word of IBM long double and mask off bit when testing for
20722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20723 all uses of ieee875 long double macros and unions. Simplify tests
20724 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20725 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20726 two1022, instead use their values. Recognise that tests for large
20727 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20728 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20729 Rewrite all uses of ieee875 long double macros and unions. Simplify
20730 test for 0.0L and nan. Correct negation.
20731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20732 ieee875 long double macros and unions. Correct output for large
20733 magnitude x. Correct absolute value calculation.
20734 (__erfcl): Likewise.
20735 * math/libm-test.inc: Add tests for errors discovered in IBM long
20736 double versions of fmodl, remainderl, erfl and erfcl.
20738 2013-10-04 Alan Modra <amodra@gmail.com>
20740 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20741 all uses of ieee854 long double macros and unions. Simplify tests
20742 for long doubles that are fully specified by the high double.
20743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20745 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20746 Remove dead code too.
20747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20748 (__ieee754_ynl): Likewise.
20749 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20750 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20751 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20752 Remove dead code too.
20753 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20754 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20755 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20756 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20762 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20763 Comment on variable precision.
20764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20767 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20770 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20771 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20773 2013-10-04 Alan Modra <amodra@gmail.com>
20775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20776 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20777 all uses of ieee854 long double macros and unions.
20778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20780 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20782 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20783 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20785 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20786 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20787 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20788 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20789 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20791 Simplify sign and nan test too.
20792 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20793 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20794 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20795 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20797 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20798 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20801 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20802 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20807 2013-10-04 Alan Modra <amodra@gmail.com>
20809 * stdio-common/printf_size.c (__printf_size): Don't use
20810 union ieee854_long_double in fpnum union.
20811 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20812 signbit macro to retrieve sign from long double.
20813 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20814 retrieve sign from long double.
20815 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20816 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20817 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20818 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20819 * math/test-misc.c (main): Don't use union ieee854_long_double.
20821 2013-10-04 Alan Modra <amodra@gmail.com>
20824 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20825 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20826 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20827 calculation. Remove unnecessary test for denormal exponent.
20828 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20829 Correct handling of denormals. Avoid undefined shift behaviour.
20830 Correct normalisation of low mantissa when low double is denormal.
20831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20832 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20833 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20834 Correct normalisation of low mantissa. Test for overflow of high
20835 mantissa and normalise.
20836 (ldbl_nearbyint): Use more readable constant for two52.
20837 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20838 (__mpn_construct_long_double): Fix test for overflow of high
20839 mantissa and correct normalisation. Avoid undefined shift.
20841 2013-10-04 Alan Modra <amodra@gmail.com>
20843 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20844 (union ibm_extended_long_double): Define as an array of ieee754_double.
20845 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20846 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20847 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20848 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20849 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20850 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20852 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20853 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20854 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20855 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20857 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20859 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20860 page size instead of calling getpagesize.
20862 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20863 (LOCFILE_ALIGN_MASK): Likewise.
20864 (LOCFILE_ALIGN_UP): Likewise.
20865 (LOCFILE_ALIGNED_P): Likewise.
20866 * locale/programs/ld-collate.c (collate_output): Use the new
20867 macros instead of __alignof__ (int32_t).
20868 * locale/weight.h (findidx): Likewise.
20870 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20873 * manual/string.texi: Fix strncat and wcsncat.
20875 2013-10-03 Brooks Moses <bmoses@google.com>
20878 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20879 * Makerules: ...here, and adjust associated comments.
20881 2013-10-02 Will Newton <will.newton@linaro.org>
20883 * malloc/Makefile: Add tst-pvalloc.
20884 * malloc/tst-pvalloc.c: New file.
20886 2013-10-02 Will Newton <will.newton@linaro.org>
20888 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20889 improve test coverage.
20891 2013-10-02 Will Newton <will.newton@linaro.org>
20893 * malloc/Makefile: Add tst-posix_memalign.
20894 * malloc/tst-posix_memalign.c: New file.
20896 2013-10-01 Eric Blake <eblake@redhat.com>
20898 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20899 Use __THROWNL rather than __THROW on static functions.
20901 2013-09-30 Petr Machata <pmachata@redhat.com>
20903 * elf/elf.h (R_AARCH64_ABS16): New macro.
20904 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20905 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20906 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20907 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20908 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20909 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20910 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20911 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20912 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20913 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20914 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20915 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20916 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20917 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20918 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20919 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20920 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20921 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20922 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20923 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20924 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20925 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20926 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20927 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20928 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20929 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20930 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20931 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20932 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20933 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20934 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20935 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20936 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20937 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20938 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20939 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20940 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20941 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20942 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20943 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20944 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20945 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20946 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20947 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20948 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20949 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20950 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20951 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20952 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20953 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20954 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20955 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20956 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20957 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20958 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20959 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20960 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20961 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20962 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20963 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20964 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20965 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20966 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20967 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20968 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20969 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20970 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20971 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20972 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20973 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20974 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20975 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20976 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20977 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20978 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20979 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20980 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20981 (R_AARCH64_TLSDESC_LDR): Likewise.
20982 (R_AARCH64_TLSDESC_ADD): Likewise.
20983 (R_AARCH64_TLSDESC_CALL): Likewise.
20985 2013-09-30 Andreas Schwab <schwab@suse.de>
20988 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20989 the nss database lookup.
20990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20993 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20995 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20997 2013-09-28 P. J. McDermott <pj@pehjota.net>
20999 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21000 ${Bash-specific parameter/pattern/string} parameter expansion.
21001 * sysdeps/unix/make-syscalls.sh: Likewise.
21003 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21005 * sysdeps/sh/stackguard-macros.h: New file.
21007 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21011 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21012 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21013 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21014 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21016 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21018 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21019 Fix thread ID register.
21021 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21023 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21024 [POSIX || UNIX98]: Require rather than permitting all symbols from
21026 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21027 element of struct sched_param.
21028 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21029 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21030 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21031 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21034 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21036 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21037 argument calculation.
21039 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21041 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21043 [POSIX] (pthread_attr_t): Do not require type.
21044 [POSIX] (pthread_cond_t): Likewise.
21045 [POSIX] (pthread_condattr_t): Likewise.
21046 [POSIX] (pthread_key_t): Likewise.
21047 [POSIX] (pthread_mutex_t): Likewise.
21048 [POSIX] (pthread_mutexattr_t): Likewise.
21049 [POSIX] (pthread_once_t): Likewise.
21050 [POSIX] (pthread_t): Likewise.
21051 [POSIX-based standards] (pthread_atfork): Expect function.
21053 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21054 Richard Sandiford <richard@codesourcery.com>
21056 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21057 (swap_endianness_p): New extern variable.
21058 (set_big_endian): New inline function.
21059 (maybe_swap_uint32): Likewise.
21060 (maybe_swap_uint32_array): Likewise.
21061 (maybe_swap_uint32_obstack): Likewise.
21062 * locale/programs/locfile.c: Include <stdbool.h>.
21063 (swap_endianness_p): New variable.
21064 (add_locale_uint32): Call maybe_swap_uint32.
21065 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21066 (write_locale_data): Call maybe_swap_uint32_array.
21067 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21069 (obstack_int32_grow_fast): Likewise.
21070 (output_weightwc): Call maybe_swap_uint32_obstack.
21071 (collate_output): Likewise.
21072 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21073 (OPT_LITTLE_ENDIAN): Likewise.
21074 (options): Add --little-endian and --big-endian options.
21075 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21076 * locale/programs/locarchive.c: Include "locfile.h".
21080 (create_archive): Use the new macros to access fields of
21081 structures directly mapped from or written to locale archives.
21082 (oldlocrecentcmp): Likewise.
21083 (enlarge_archive): Likewise.
21084 (insert_name): Likewise.
21085 (add_alias): Likewise.
21086 (add_locale): Likewise.
21087 (delete_locales_from_archive): Likewise.
21088 (show_archive_content): Likewise.
21089 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21092 2013-09-24 Roland McGrath <roland@hack.frob.com>
21094 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21095 http://www.gnu.org/doc/freemanuals.texi.
21096 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21098 2013-09-24 Will Newton <will.newton@linaro.org>
21100 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21103 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21105 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21108 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21110 * manual/threads.texi (POSIX Threads): Fix a typo.
21112 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21115 * string/tst-strcoll-overflow.c: New test case.
21116 * string/Makefile (xtests): Add tst-strcoll-overflow.
21117 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21118 cache if string sizes may cause integer overflow.
21121 * string/strcoll_l.c (coll_seq): New members rule, idx,
21122 save_idx and back_us.
21123 (get_next_seq_nocache): New function.
21124 (do_compare_nocache): New function.
21125 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21128 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21131 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21132 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21133 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21136 * elf/Makefile (tests): Add tst-ptrguard1.
21137 (tests-static): Add tst-ptrguard1-static.
21138 (tst-ptrguard1-ARGS): Define.
21139 (tst-ptrguard1-static-ARGS): Define.
21140 * elf/tst-ptrguard1.c: New file.
21141 * elf/tst-ptrguard1-static.c: New file.
21142 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21143 * sysdeps/i386/stackguard-macros.h: Likewise.
21144 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21145 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21146 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21147 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21148 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21149 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21151 2013-09-23 Hector Marco <hecmargi@upv.es>
21152 Ismael Ripoll <iripoll@disca.upv.es>
21153 Carlos O'Donell <carlos@redhat.com>
21156 * sysdeps/generic/stackguard-macros.h: Define
21157 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21158 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21159 Define __pointer_chk_guard_local.
21160 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21161 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21163 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21166 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21168 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21170 * include/string.h (__ffs): Declare as hidden.
21171 * string/ffs.c (__ffs): Define as hidden.
21172 * sysdeps/i386/ffs.c (__ffs): Likewise.
21173 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21174 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21175 * sysdeps/s390/ffs.c (__ffs): Likewise.
21176 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21178 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21180 * NEWS: Mention malloc probes.
21182 * malloc/arena.c (new_heap): New memory_heap_new probe.
21183 (grow_heap): New memory_heap_more probe.
21184 (shrink_heap): New memory_heap_less probe.
21185 (heap_trim): New memory_heap_free probe.
21186 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21187 (systrim): New memory_sbrk_less probe.
21188 * manual/probes.texi: Document them.
21190 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21191 * manual/probes.texi: Document it.
21193 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21194 (__libc_realloc): Add memory_realloc_retry probe.
21195 (__libc_memalign): Add memory_memalign_retry probe.
21196 (__libc_valloc): Add memory_valloc_retry probe.
21197 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21198 (__libc_calloc): Add memory_calloc_retry probe.
21199 * manual/probes.texi: Document them.
21201 * malloc/arena.c (get_free_list): Add probe
21202 memory_arena_reuse_free_list.
21203 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21204 and memory_arena_reuse.
21205 (arena_get2) [!PER_THREAD]: Likewise.
21206 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21207 memory_arena_reuse_realloc.
21208 * manual/probes.texi: Document them.
21210 * malloc/malloc.c (__libc_free): Add
21211 memory_mallopt_free_dyn_thresholds probe.
21212 (__libc_mallopt): Add multiple memory_mallopt probes.
21213 * manual/probes.texi: Document them.
21215 * malloc/malloc.c: Include stap-probe.h.
21216 (__libc_mallopt): Add memory_mallopt probe.
21217 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21218 * manual/probes.texi: New.
21219 * manual/Makefile (chapters): Add probes.
21220 * manual/threads.texi: Set next node.
21222 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21224 [BZ #15963, #13985]
21225 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21226 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21227 Add `Chinese' to `nan' entry name.
21229 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21231 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21232 (POLYNOMIAL): Likewise.
21233 (TAYLOR_SINCOS): Likewise.
21234 (TAYLOR_SLOW): Likewise.
21235 (__sin): Use TAYLOR_SINCOS.
21237 (slow): Use TAYLOR_SLOW.
21239 (bsloww): Likewise.
21240 (csloww): Likewise.
21242 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21244 * stdlib/strtod_l.c: Fix buffer overrun.
21246 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21248 * benchtests/Makefile (bench): Add sincos.
21249 * benchtests/bench-sincos.c: New file.
21251 * math/libm-test.inc (cos_test_data): New test inputs.
21252 (sin_test_data): Likewise.
21254 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21260 (sloww1): Likewise.
21261 (sloww2): Likewise.
21262 (bsloww1): Likewise.
21263 (bsloww2): Likewise.
21264 (cslow2): Likewise.
21265 (csloww1): Likewise.
21266 (csloww2): Likewise.
21268 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21277 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21279 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21280 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21281 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21282 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21283 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21284 * elf/cache.c (print_entry): Handle the new cache flags.
21286 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21287 Aldy Hernandez <aldyh@redhat.com>
21289 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21290 Change condition to [_SOFT_FLOAT].
21291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21303 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21306 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21309 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21311 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21312 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21313 (__longjmp): Use LOAD_GP to load saved GPRs.
21314 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21315 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21316 (__sigsetjmp): Use SAVE_GP to save GPRs.
21318 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21319 Do not append -msoft-float.
21320 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21322 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21324 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21326 2013-09-17 Joseph Myers <joseph@codesourcery.com>
21329 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21330 (_FPU_GETCW): Use initial "__" on variable and field names but not
21331 on macro parameter name.
21332 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21333 parentheses around reference to macro parameter.
21335 2013-09-13 Richard Sandiford <richard@codesourcery.com>
21337 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21339 (ctype_startup): Use uint32_t in cast and sizeof for
21342 2013-09-11 Jia Liu <proljc@gmail.com>
21344 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21346 [__FreeBSD__]: Likewise.
21348 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
21350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21351 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21352 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21353 (strchr): Remove __strchr_sse42 ifunc selection.
21354 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21355 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21357 2013-09-11 Will Newton <will.newton@linaro.org>
21359 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21360 parameter to RES. Remove hardcoded 1000 value.
21361 * benchtests/bench-skeleton.c (main): Pass RES parameter
21362 to TIMING_INIT and multiply result by 1000.
21364 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21368 2013-09-11 Andreas Schwab <schwab@suse.de>
21370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21372 (O_TMPFILE) [__USE_GNU]: Define.
21373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21376 2013-09-11 Will Newton <will.newton@linaro.org>
21379 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21382 2013-09-11 Will Newton <will.newton@linaro.org>
21385 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21388 2013-09-11 Will Newton <will.newton@linaro.org>
21391 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21394 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
21396 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21397 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21402 2013-09-10 Allan McRae <allan@archlinux.org>
21405 * manual/arith.texi (Parsing of Floats): Clarify
21409 * manual/install.texi (Running make install): Mention
21411 * INSTALL: Regenerated.
21413 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21415 * csu/init-first.c (_init): Remove the !SHARED condition around
21416 FPU control word initialization.
21417 * elf/dl-support.c (_dl_fpu_control): New variable.
21418 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21419 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21420 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21421 * math/test-fpucw-static.c: New file.
21422 * math/test-fpucw-ieee.c: New file.
21423 * math/test-fpucw-ieee-static.c: New file.
21424 * math/Makefile (tests): Add `test-fpucw-ieee' and
21426 (tests-static): New variable.
21427 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21429 [($(build-shared),yes)]
21430 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21432 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21435 2013-09-09 Allan McRae <allan@archlinux.org>
21438 * manual/string.texi (Collation Functions): Fix typo in
21440 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21443 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21446 * libio/memstream.c (open_memstream): Fix memory leak.
21447 * libio/wmemstream.c (open_wmemstream): Likewise.
21450 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21452 2013-09-09 Will Newton <will.newton@linaro.org>
21454 * malloc/Makefile: Add tst-realloc to tests.
21455 * malloc/tst-realloc.c: New file.
21457 2013-09-09 Allan McRae <allan@archlinux.org>
21460 * COPYING: Update from GNU website to fix FSF address.
21461 * COPYING.LIB: Likewise.
21463 2013-09-06 David S. Miller <davem@davemloft.net>
21465 * po/zh_TW.po: Update Chinese (traditional) translation from
21466 translation project.
21468 2013-09-06 Richard Sandiford <richard@codesourcery.com>
21469 Joseph Myers <joseph@codesourcery.com>
21471 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21473 (obstack_chunk_alloc): New macro.
21474 (obstack_chunk_free): Likewise.
21475 (record_offset): New function.
21476 (init_locale_data): Likewise.
21477 (align_locale_data): Likewise.
21478 (add_locale_empty): Likewise.
21479 (add_locale_raw_data): Likewise.
21480 (add_locale_raw_obstack): Likewise.
21481 (add_locale_string): Likewise.
21482 (add_locale_wstring): Likewise.
21483 (add_locale_uint32): Likewise.
21484 (add_locale_uint32_array): Likewise.
21485 (add_locale_char): Likewise.
21486 (start_locale_structure): Likewise.
21487 (end_locale_structure): Likewise.
21488 (start_locale_prelude): Likewise.
21489 (end_locale_prelude): Likewise.
21490 (write_locale_data): Take locale_file structure rather than an
21492 * locale/programs/locfile.h: Include "obstack.h".
21493 (struct locale_file): Change to store locale file contents instead
21495 (init_locale_data): New prototype.
21496 (align_locale_data): Likewise.
21497 (add_locale_empty): Likewise.
21498 (add_locale_raw_data): Likewise.
21499 (add_locale_raw_obstack): Likewise.
21500 (add_locale_string): Likewise.
21501 (add_locale_wstring): Likewise.
21502 (add_locale_uint32): Likewise.
21503 (add_locale_uint32_array): Likewise.
21504 (add_locale_char): Likewise.
21505 (start_locale_structure): Likewise.
21506 (end_locale_structure): Likewise.
21507 (start_locale_prelude): Likewise.
21508 (end_locale_prelude): Likewise.
21509 (write_locale_data): Update prototype.
21510 * locale/programs/3level.h (struct TABLE): Remove result field.
21511 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21512 Use new locale_file interface.
21513 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21514 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21515 * locale/programs/ld-address.c (address_output): Use new
21516 locale_file interface.
21517 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21519 (collate_finish): Don't call collseq_table_finalize.
21520 (collate_output): Use new locale_file interface.
21521 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21523 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21524 (TABLE): Move defines earlier in file.
21525 (ELEMENT): Likewise.
21526 (DEFAULT): Likewise.
21527 (wctrans_table_add): Move macro and inline function earlier in
21529 (struct wctype_table): Move type earlier in file.
21530 (add_locale_wctype_table): New static prototype.
21531 (struct locale_ctype_t): Use logical types instead of struct iovec
21532 pointers for members.
21533 (ctype_output): Use new locale_file interface.
21534 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21535 new locale_file interface.
21536 (allocate_arrays): Update for use of new locale_file interface.
21537 * locale/programs/ld-identification.c (identification_output): Use
21538 new locale_file interface.
21539 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21540 * locale/programs/ld-messages.c (messages_output): Likewise.
21541 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21542 * locale/programs/ld-name.c (name_output): Likewise.
21543 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21544 * locale/programs/ld-paper.c (paper_output): Likewise.
21545 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21546 * locale/programs/ld-time.c (time_output): Likewise.
21548 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21550 * benchtests/Makefile: Add memrchr benchmark.
21551 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21552 benchmark as memrchr.
21553 * benchtests/bench-memrchr-ifunc.c: New file.
21554 * benchtests/bench-memrchr.c: New file.
21556 2013-09-06 Will Newton <will.newton@linaro.org>
21558 * benchtests/Makefile (string-bench): Add memcpy.
21560 2013-09-05 Carlos O'Donell <carlos@redhat.com>
21561 Cong Wang <amwang@redhat.com>
21564 * sysdeps/unix/sysv/linux/bits/in.h
21565 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21566 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21567 before __USE_KERNEL_IPV6_DEFS uses.
21568 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21570 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21571 sockaddr_in6, or ipv6_mreq.
21573 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21575 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21576 memory access for final bytes in some large inputs.
21577 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21579 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21581 * string/test-memrchr.c: New file.
21582 * string/test-memrchr-ifunc.c: New file.
21583 * string/Makefile: Add new memrchr testcase.
21585 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21587 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21588 fanotify_init returns EPERM.
21590 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21592 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21594 (top level): Treat second token from macro or constant entries for
21595 allowed headers as allowed.
21596 * include/complex.h: Condition internal declarations on
21598 * include/fenv.h: Condition include of <stdbool.h> and internal
21599 declarations on [!_ISOMAC].
21601 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21604 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21606 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21608 * configure.in (--enable-versioning): Remove configure option.
21609 (libc_cv_asm_symver_directive): Remove configure test.
21610 (libc_cv_ld_version_script_option): Likewise.
21611 (VERSIONING): Remove variable and AC_SUBST.
21612 (DO_VERSIONING): Remove AC_DEFINE.
21613 * configure: Regenerated.
21614 * config.h.in (DO_VERSIONING): Remove macro.
21615 * Makerules [$(versioning) = yes]: Change conditionals to
21616 [$(build-shared) = yes].
21617 * config.make.in (versioning): Remove variable.
21618 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21619 [$(build-shared) = yes].
21620 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21621 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21622 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21623 [$(build-shared) = yes].
21624 * extra-lib.mk [$(versioning) = yes]: Likewise.
21625 * hurd/Makefile [$(versioning) = yes]: Likewise.
21626 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21628 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21630 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21631 [SHARED && !NO_HIDDEN].
21632 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21634 [SHARED && DO_VERSIONING]: Likewise..
21635 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21636 [$(build-shared) = yes].
21637 * manual/install.texi (--disable-versioning): Remove
21639 * INSTALL: Regenerated.
21640 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21642 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21643 [$(build-shared) = yes].
21644 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21645 * sysdeps/i386/i686/multiarch/strstr-c.c
21646 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21647 [SHARED && !NO_HIDDEN].
21648 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21649 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21650 * sysdeps/powerpc/powerpc32/dl-machine.c
21651 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21652 * sysdeps/powerpc/powerpc32/sysdep.h
21653 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21654 to [SHARED && PIC && !NO_HIDDEN].
21655 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21656 conditional to [SHARED].
21658 2013-09-04 Will Newton <will.newton@linaro.org>
21660 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21661 * benchtests/bench-string.h: Include bench-timing.h instead
21662 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21663 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21664 call to HP_TIMING_DIFF_INIT.
21665 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21666 instead of hp-timing.h macros.
21667 * benchtests/bench-memchr.c: Likewise.
21668 * benchtests/bench-memcmp.c: Likewise.
21669 * benchtests/bench-memcpy.c: Likewise.
21670 * benchtests/bench-memmem.c: Likewise.
21671 * benchtests/bench-memmove.c: Likewise.
21672 * benchtests/bench-memset.c: Likewise.
21673 * benchtests/bench-rawmemchr.c: Likewise.
21674 * benchtests/bench-strcasecmp.c: Likewise.
21675 * benchtests/bench-strcasestr.c: Likewise.
21676 * benchtests/bench-strcat.c: Likewise.
21677 * benchtests/bench-strchr.c: Likewise.
21678 * benchtests/bench-strcmp.c: Likewise.
21679 * benchtests/bench-strcpy.c: Likewise.
21680 * benchtests/bench-strcpy_chk.c: Likewise.
21681 * benchtests/bench-strlen.c: Likewise.
21682 * benchtests/bench-strncasecmp.c: Likewise.
21683 * benchtests/bench-strncat.c: Likewise.
21684 * benchtests/bench-strncmp.c: Likewise.
21685 * benchtests/bench-strncpy.c: Likewise.
21686 * benchtests/bench-strnlen.c: Likewise.
21687 * benchtests/bench-strpbrk.c: Likewise.
21688 * benchtests/bench-strrchr.c: Likewise.
21689 * benchtests/bench-strspn.c: Likewise.
21690 * benchtests/bench-strstr.c: Likewise.
21692 2013-09-04 Will Newton <will.newton@linaro.org>
21694 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21696 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21699 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21700 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21701 * math/libm-test.inc (lgamma_test_data): Add more tests.
21702 * sysdeps/i386/fpu/libm-test-ulps: Update.
21703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21705 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21707 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21711 Add strcmp-sse2-unaligned
21712 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21714 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21716 * Versions.def (libc): Add GLIBC_2.19.
21718 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21720 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21721 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21723 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21726 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21727 intermediate calculations in recurrence.
21728 (__ieee754_ynf): Likewise.
21729 * math/libm-test.inc (jn_test_data): Do not allow spurious
21730 underflow exception. Add more tests.
21731 (yn_test_data): Add more tests.
21732 * sysdeps/i386/fpu/libm-test-ulps: Update.
21733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21735 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21737 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21739 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21741 * csu/init-first.c: Fix then/than typos.
21742 * locale/programs/ld-collate.c: Likewise.
21743 * locale/programs/linereader.h: Likewise.
21744 * manual/charset.texi: Likewise.
21745 * manual/filesys.texi: Likewise.
21746 * manual/stdio.texi: Likewise.
21747 * manual/string.texi: Likewise.
21748 * stdlib/fmtmsg.c: Likewise.
21749 * sysdeps/i386/stpncpy.S: Likewise.
21750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21751 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21752 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21753 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21755 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21757 * elf/dl-open.c: Fix typos.
21758 * iconvdata/gbbig5.c: Likewise.
21759 * iconvdata/iso-2022-jp.c: Likewise.
21760 * iconv/gconv_int.h: Likewise.
21761 * iconv/loop.c: Likewise.
21762 * nis/rpcsvc/nis.h: Likewise.
21763 * resolv/ns_name.c: Likewise.
21764 * stdio-common/vfscanf.c: Likewise.
21765 * streams/stropts.h: Likewise.
21766 * sunrpc/rpc_thread.c: Likewise.
21767 * sysdeps/i386/strpbrk.S: Likewise.
21768 * sysdeps/ieee754/k_standard.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21771 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21772 * sysdeps/mach/hurd/profil.c: Likewise.
21773 * sysdeps/s390/dl-procinfo.h: Likewise.
21774 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21775 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21776 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21777 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21780 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21782 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21785 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21788 aix specific files.
21789 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21790 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21791 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21792 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21793 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21794 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21795 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21796 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21798 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21799 Roland McGrath <roland@hack.frob.com>
21801 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21802 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21804 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21806 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21807 __executable_start symbol instead of _start.
21809 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21811 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21812 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21814 * sysdeps/gnu/ldsodefs.h: ... this new file.
21816 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21817 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21818 instead of ELFOSABI_LINUX.
21820 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21821 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21822 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21823 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21825 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21826 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21827 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21829 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21830 (ibm_extended_long_double): Add ieee_nan member.
21831 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21832 (do_test): New function.
21834 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21836 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21837 functions, renamed from truncdfsf_test, trunctfsf_test,
21839 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21841 (do_test): Run all these.
21843 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21845 * argp/argp-help.c: Fix typos.
21846 * argp/argp-parse.c: Likewise.
21847 * debug/backtracesyms.c: Likewise.
21848 * elf/elf.h: Likewise.
21849 * malloc/malloc.c: Likewise.
21850 * nis/nis_print.c: Likewise.
21851 * resolv/res_comp.c: Likewise.
21852 * stdlib/stdlib.h: Likewise.
21853 * sunrpc/clnt_tcp.c: Likewise.
21854 * sunrpc/clnt_udp.c: Likewise.
21855 * sunrpc/clnt_unix.c: Likewise.
21856 * sysdeps/unix/bsd/ptsname.c: Likewise.
21857 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21858 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21865 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21867 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21869 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21872 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21875 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21876 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21877 ($(objpfx)bug-dl-leaf): New rule.
21878 ($(objpfx)bug-dl-leaf.so): Likewise.
21879 ($(objpfx)bug-dl-leaf.out): Likewise.
21880 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21881 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21882 * dlfcn/bug-dl-leaf.c: New test.
21883 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21884 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21885 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21886 (dlclose): Likewise.
21887 (dlmopen): Likewise.
21889 2013-08-27 Roland McGrath <roland@hack.frob.com>
21891 * include/netdb.h [!_ISOMAC]:
21892 Don't include <tls.h>.
21893 (h_errno, __libc_h_errno): Move declaration and macros out of
21896 * include/resolv.h [_RESOLV_H_]:
21897 Don't include <tls.h>.
21898 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21899 * resolv/res_libc.c: Don't include <tls.h>.
21900 (_res): Use __attribute__ ((nocommon)) in place of
21901 __attribute__ ((section (".bss"))).
21903 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21904 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21906 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21908 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21909 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21911 * resolv/res_mkquery.c: Include <sys/time.h>.
21913 * inet/ifreq.c: Moved to ...
21914 * sysdeps/unix/ifreq.c: ... here.
21915 * inet/ifreq.c: New file, true stub version.
21917 * socket/sa_len.c: New file.
21918 * socket/Makefile (aux): Add it.
21919 * sysdeps/unix/sysv/linux/Makefile
21920 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21921 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21922 and #include <socket/sa_len.c>.
21923 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21924 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21927 * bits/socket.h: ... here.
21929 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21930 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21931 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21933 2013-08-27 Andreas Schwab <schwab@suse.de>
21936 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21937 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21938 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21939 * string/test-strcasecmp.c (test_main): Run tests in several
21941 * string/test-strncasecmp.c (test_main): Likewise.
21943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21944 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21945 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21947 (__strncasecmp_ssse3) [PIC]: Likewise.
21949 2013-08-26 Roland McGrath <roland@hack.frob.com>
21951 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21953 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21954 instead of explicitly declaring xdecrypt.
21955 * nis/nss_nis/nis-publickey.c: Likewise.
21957 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21960 * nscd/aicache.c: Include res_hconf.h.
21961 (addhstaiX): Initialize res_hconf.
21963 2013-08-26 Andreas Schwab <schwab@suse.de>
21965 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21966 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21968 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21970 * nscd/aicache.c (addhstaiX): Fix indentation.
21972 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21974 * configure.ac: Quote $build_pt_chown test.
21975 * configure: Regenerated.
21977 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21980 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21981 * math/s_cexpf.c (__cexpf): Likewise.
21982 * math/s_cexpl.c (__cexpl): Likewise.
21983 * math/libm-test.inc (cexp_test_data): Correct expected return
21984 value for NaN + i0. Add another test.
21986 2013-08-22 David S. Miller <davem@davemloft.net>
21988 * po/ca.po: Update Catalan translation from translation project.
21989 * po/uk.po: Add Ukrainian translations from translation project.
21991 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21994 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21995 is infinite, not alongside NaN test.
21996 * math/s_fdimf.c (__fdimf): Likewise.
21997 * math/s_fdiml.c (__fdiml): Likewise.
21998 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21999 errno is unchanged.
22001 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22003 * argp/argp-help.c: Fix typos.
22004 * crypt/speeds.c: Likewise.
22005 * csu/check_fds.c: Likewise.
22006 * elf/dl-load.c: Likewise.
22007 * elf/dl-open.c: Likewise.
22008 * elf/reldep3.c: Likewise.
22009 * elf/reldep.c: Likewise.
22010 * elf/sprof.c: Likewise.
22011 * iconv/iconv_charmap.c: Likewise.
22012 * iconv/skeleton.c: Likewise.
22013 * iconv/strtab.c: Likewise.
22014 * io/lockf64.c: Likewise.
22015 * libio/libioP.h: Likewise.
22016 * resolv/gai_notify.c: Likewise.
22017 * resolv/ns_name.c: Likewise.
22018 * resolv/ns_samedomain.c: Likewise.
22019 * resolv/res_send.c: Likewise.
22020 * stdlib/random.c: Likewise.
22021 * sunrpc/rpc/xdr.h: Likewise.
22022 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22024 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22025 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22026 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22029 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22030 * sysdeps/mach/hurd/check_fds.c: Likewise.
22031 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22032 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22034 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22035 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22036 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22037 * sysdeps/pthread/aio_notify.c: Likewise.
22038 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22039 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22040 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22042 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22044 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22046 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22047 version if bit_Slow_SSE4_2 is set.
22048 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22051 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22054 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22055 trampoline stack frame information.
22056 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22057 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22058 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22059 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22060 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22061 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22062 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22063 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22065 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22066 interrupting a syscall and set with option SA_SIGINFO.
22068 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22071 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22072 argument is infinite.
22073 * math/s_cprojf.c (__cprojf): Likewise.
22074 * math/s_cprojl.c (__cprojl): Likewise.
22075 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22076 * math/libm-test.inc (cproj_test_data): Add more tests.
22078 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22080 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22081 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22082 size. Use __ffs to determine corresponding shift.
22084 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22085 Roland McGrath <roland@hack.frob.com>
22087 * Makefile (INSTALL): Remove trailing blank lines from output of
22090 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22092 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22093 Align 32 bit compat elf_greg to 8 bytes.
22095 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22097 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22099 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22101 * string/strcoll_l.c (coll_seq): New structure.
22102 (get_next_seq_cached): New function.
22103 (get_next_seq): New function.
22104 (do_compare): New function.
22105 (STRCOLL): Use GNU style definition. Simplify implementation
22106 by using get_next_seq, get_next_seq_cached and do_compare.
22108 2013-08-16 Florian Weimer <fweimer@redhat.com>
22112 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22114 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22116 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22117 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22118 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22120 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22121 GETDENTS_64BIT_ALIGNED.
22122 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22123 * manual/filesys.texi (Reading/Closing Directory): Document
22124 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22126 * manual/conf.texi (Limits for Files): Add portability note to
22127 NAME_MAX, PATH_MAX.
22128 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22130 2013-08-13 Andreas Schwab <schwab@suse.de>
22133 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22135 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22136 LDBL_MAX_EXP >= 16384]: Add tests for it.
22138 2013-08-12 David S. Miller <davem@davemloft.net>
22140 * version.h (RELEASE): Set to "development".
22141 (VERSION): Set to "2.18.90".
22142 * NEWS: Add 2.19 section.
22144 2013-08-03 David S. Miller <davem@davemloft.net>
22146 * po/ko.po: Update Korean translation from translation project.
22148 2013-08-01 David S. Miller <davem@davemloft.net>
22150 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22151 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22154 2013-07-30 David S. Miller <davem@davemloft.net>
22156 * po/fr.po: Update French translation from translation project.
22158 2013-07-28 David S. Miller <davem@davemloft.net>
22160 * po/cs.po: Update Czech translation from translation project.
22162 * po/sv.po: Update Swedish translation from translation project.
22164 2013-07-27 David S. Miller <davem@davemloft.net>
22166 * po/eo.po: Update Esperanto translation from translation project.
22168 * po/vi.po: Update Vietnamese translation from translation project.
22170 * po/de.po: Update German translation from translation project.
22172 2013-07-26 David S. Miller <davem@davemloft.net>
22174 * po/bg.po: Update Bulgarian translation from translation project.
22176 * po/nl.po: Update Dutch translation from translation project.
22177 * po/pl.po: Update Polish translation from translation project.
22178 * po/ru.po: Update Russian translation from translation project.
22180 2013-07-24 David S. Miller <davem@davemloft.net>
22182 * po/libc.pot: Update.
22184 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22186 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22187 variable page size.
22188 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22189 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22190 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22192 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22194 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22196 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22197 Andreas Schwab <schwab@suse.de>
22198 Roland McGrath <roland@hack.frob.com>
22199 Joseph Myers <joseph@codesourcery.com>
22200 Carlos O'Donell <carlos@redhat.com>
22203 * config.h.in: Define HAVE_PT_CHOWN.
22204 * config.make.in (build-pt-chown): New variable.
22205 * configure.in (--enable-pt_chown): New configure option.
22206 * configure: Regenerate.
22207 * login/Makefile: Include Makeconfig. Build pt_chown only if
22208 build-pt-chown is enabled.
22209 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22210 pt_chown to fix pty ownership.
22211 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22213 * manual/install.texi (Configuring and compiling): Mention
22214 --enable-pt_chown. Add @findex for grantpt.
22215 * INSTALL: Regenerate.
22217 2013-07-20 David S. Miller <davem@davemloft.net>
22219 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22220 difference between 32-bit and 64-bit.
22222 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22225 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22226 Avoid system header dependency with -ffreestanding.
22227 ($(objpfx)bits/syscall%d): Likewise.
22229 2013-07-13 David S. Miller <davem@davemloft.net>
22231 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22232 underflows from atanl/atan2l due to bug 15319.
22233 (casinh_test_data): Likewise.
22235 2013-07-07 David S. Miller <davem@davemloft.net>
22237 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22239 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22241 * sysdeps/i386/fpu/libm-test-ulps: Update.
22242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22246 * configure.in (--enable-lock-elision): Fix message text.
22247 * INSTALL: Regenerate.
22248 * configure: Regenerate.
22250 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22254 2013-07-03 Andreas Jaeger <aj@suse.de>
22256 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22258 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22259 (ptrace_peeksiginfo_args): Add.
22260 (__ptrace_peeksiginfo_flags): Add.
22261 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22262 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22265 2013-07-03 Allan McRae <allan@archlinux.org>
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22269 2013-07-02 David S. Miller <davem@davemloft.net>
22271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22273 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22277 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22279 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22282 2013-07-02 Andi Kleen <ak@linux.intel.com>
22284 * config.h.in (ENABLE_LOCK_ELISION): Add.
22285 * configure.in (--enable-lock-elision): Add option.
22286 * manual/install.texi: Document --enable lock elision.
22287 * configure: Regenerate
22288 * INSTALL: Regenerate.
22290 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22292 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22293 SSE4.2 strcasecmp for libc.a.
22294 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22296 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22299 * soft-fp/op-common.h (_FP_FMA): New macro.
22300 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22301 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22302 (_FP_MUL_MEAT_1_imm): ... here.
22303 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22304 (_FP_MUL_MEAT_1_wide): ... here.
22305 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22306 (_FP_MUL_MEAT_1_hard): ... here.
22307 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22308 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22309 (_FP_MUL_MEAT_2_wide): ... here.
22310 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22311 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22312 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22313 (_FP_MUL_MEAT_2_gmp): ... here.
22314 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22315 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22316 (_FP_MUL_MEAT_4_wide): ... here.
22317 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22318 (_FP_MUL_MEAT_4_gmp): ... here.
22319 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22320 (_FP_WFRACBITS_DW_S): Likewise.
22321 (_FP_WFRACXBITS_DW_S): Likewise.
22322 (_FP_HIGHBIT_DW_S): Likewise.
22323 (FP_FMA_S): Likewise.
22324 (_FP_FRAC_HIGH_DW_S): Likewise.
22325 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22326 (_FP_WFRACBITS_DW_D): Likewise.
22327 (_FP_WFRACXBITS_DW_D): Likewise.
22328 (_FP_HIGHBIT_DW_D): Likewise.
22329 (FP_FMA_D): Likewise.
22330 (_FP_FRAC_HIGH_DW_D): Likewise.
22331 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22332 (_FP_WFRACBITS_DW_E): Likewise.
22333 (_FP_WFRACXBITS_DW_E): Likewise.
22334 (_FP_HIGHBIT_DW_E): Likewise.
22335 (FP_FMA_E): Likewise.
22336 (_FP_FRAC_HIGH_DW_E): Likewise.
22337 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22338 (_FP_WFRACBITS_DW_Q): Likewise.
22339 (_FP_WFRACXBITS_DW_Q): Likewise.
22340 (_FP_HIGHBIT_DW_Q): Likewise.
22341 (FP_FMA_Q): Likewise.
22342 (_FP_FRAC_HIGH_DW_Q): Likewise.
22343 * soft-fp/fmasf4.c: New file.
22344 * soft-fp/fmadf4.c: Likewise.
22345 * soft-fp/fmatf4.c: Likewise.
22347 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22350 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22352 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22354 (index_Slow_SSE4_2): Likewise.
22355 (index_Prefer_PMINUB_for_stringop): Likewise.
22356 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22357 bit_Slow_SSE4_2 is set.
22358 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22361 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22363 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22364 rtld_global._dl_hwcap2.
22365 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22367 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22368 POWER8 feature descriptions defined in _dl_hwcap2.
22369 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22370 string handling for POWER8 feature bits.
22371 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22372 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22373 _dl_powerpc_cap_flags.
22374 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22375 * sysdeps/powerpc/rtld-global-offsets.sym
22376 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22377 _dl_hwcap2 in the rtld_global_ro structure.
22379 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22381 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22382 hardware capabilities in support of AT_HWCAP2.
22383 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22384 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22386 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22387 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22388 explicitly the unknown a_type display mechanism is used.
22389 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22390 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22392 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22393 to macro prototype for AT_HWCAP2 support.
22394 * sysdeps/i386/dl-procinfo.h: Likewise.
22395 * sysdeps/s390/dl-procinfo.h: Likewise.
22396 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22397 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22398 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22399 return -1 for unknown a_type display fallback.
22400 * sysdeps/sparc/dl-procinfo.h: Likewise.
22401 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22402 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22404 2013-06-28 Joseph Myers <joseph@codesourcery.com>
22406 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22407 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22409 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22412 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22413 mprotect making __stack_prot writable.
22415 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22416 Joseph Myers <joseph@codesourcery.com>
22418 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22419 as being properly aligned.
22421 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22423 * dlfcn/modstatic5.c: New file.
22424 * dlfcn/tststatic5.c: New file.
22425 * dlfcn/Makefile (tests): Add tststatic5.
22426 (tests-static): Likewise.
22427 (modules-names): Add modstatic5.
22428 (tststatic5-ENV): New variable.
22429 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22432 * elf/dl-support.c (_dl_main_map): New variable.
22433 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22434 (_dl_nns, _dl_load_adds): Set to 1.
22435 (_dl_initial_searchlist): Refer to _dl_main_map.
22436 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22437 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22438 call to _dl_get_origin.
22439 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22441 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22442 * dlfcn/modstatic3.c: New file.
22443 * dlfcn/tststatic3.c: New file.
22444 * dlfcn/tststatic4.c: New file.
22445 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22446 (tests-static): Likewise.
22447 (modules-names): Add modstatic3.
22448 (tststatic3-ENV, tststatic4-ENV): New variables.
22449 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22450 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22452 2013-06-26 Joseph Myers <joseph@codesourcery.com>
22454 * configure.in (CC): Require GCC version 4.4 or later.
22455 * configure: Regenerated.
22456 * manual/install.texi (Tools for Compilation): Update GCC version
22458 * INSTALL: Regenerated.
22460 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22463 * string/test-memcmp.c (check2): New.
22464 (main): Call check2.
22466 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22468 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22471 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22473 (dl_open_worker) [!SHARED]: ... here.
22475 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22477 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22479 2013-06-25 Richard Henderson <rth@redhat.com>
22481 * locale/programs/locarchive.c: Include <libc-internal.h>
22483 2013-06-25 Joseph Myers <joseph@codesourcery.com>
22485 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22486 trailing whitespace removed.
22488 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22491 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22492 * locale/programs/locarchive.c: Include libc-mmap.h.
22493 (prepare_address_space): Take two new outputs (the mmap base and len).
22494 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22496 (create_archive): Declare new mmap base and len values for
22497 prepare_address_space, and store the result in ah.
22498 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22499 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22500 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22501 Declare new mmap base and len values for
22502 prepare_address_space, and store the result in new_ah.
22503 (open_archive): Declare new mmap base and len values for
22504 prepare_address_space, and store the result in ah.
22505 (close_archive): If ah->mmap_base is not NULL, use that and
22506 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22507 * sysdeps/generic/libc-mmap.h: New file.
22509 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22511 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22512 (ALIGN_UP): Likewise.
22513 (PTR_ALIGN_DOWN): Likewise.
22514 (PTR_ALIGN_UP): Likewise.
22516 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22518 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22519 entry mapped to PPC_PLATFORM_POWER8.
22520 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22522 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22523 (_dl_string_platform): Add case for exporting platform position for
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22526 search path to sysdeps/powerpc/powerpc32/power8 directory.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22528 search path to sysdeps/powerpc/powerpc64/power8 directory.
22529 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22530 power7 directories.
22531 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22532 power7 directories.
22534 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22536 * INSTALL: Regenerate.
22538 * nscd/connections.c (nscd_init): Fix comment.
22540 2013-06-22 Joseph Myers <joseph@codesourcery.com>
22542 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22545 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22546 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22548 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22550 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22552 (DL_DST_REQ_STATIC): Remove macro.
22554 2013-06-21 Joseph Myers <joseph@codesourcery.com>
22557 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22558 with a shift of 0 bits.
22560 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22562 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22565 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22568 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22570 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22572 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22573 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22574 accepts -fno-tree-loop-distribute-patterns.
22575 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22576 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22578 * string/memset.c (memset): Likewise.
22579 * string/test-memmove.c (simple_memmove): Disable loop transformation
22581 * string/test-memset.c (simple_memset): Likewise.
22582 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22583 * benchtests/bench-memset.c (simple_memset): Likewise.
22584 * configure: Regenerated.
22586 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22588 * math/test-misc.c (main): Ignore fesetround failure when failures
22589 of subsequent rounding tests would be ignored.
22592 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22593 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22594 * math/fegetenv.c (__fegetenv): Return 0.
22595 * math/fegetexcept.c (fegetexcept): Return 0.
22596 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22598 * math/feholdexcpt.c (feholdexcept): Return 0.
22599 * math/fesetenv.c (__fesetenv): Return 0.
22600 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22601 argument FE_TONEAREST.
22602 * math/feupdateenv.c (__feupdateenv): Return 0.
22603 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22605 2013-06-18 Roland McGrath <roland@hack.frob.com>
22607 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22608 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22609 ($(objpfx)rtld-%.os rules): Use them.
22611 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22613 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22616 2013-06-17 Roland McGrath <roland@hack.frob.com>
22618 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22619 length of target pattern, then descending length of dependency pattern.
22620 * configure.in (AWK): Require gawk 3.1.2 or newer.
22621 * manual/install.texi (Tools for Compilation): Say that we do.
22622 * configure: Regenerated.
22624 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22625 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22626 * scripts/sysd-rules.awk: ... this new script.
22627 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22628 than a glob-style pattern.
22630 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22632 * math/test-misc.c (main): Do not treat incorrectly rounded
22633 conversions as failure unless ROUNDING_TESTS passes.
22635 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22638 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22639 restore exception state around main square root computation, then
22640 check for inexactness explicitly.
22642 * math/libm-test.inc (fma_test_data): Add another test.
22644 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22646 * manual/threads.texi (Non-POSIX Extensions): New document
22647 node. Document pthread_getattr_default_np and
22648 pthread_setattr_default_np.
22650 * Versions.def (libpthread): Add GLIBC_2.18.
22651 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22660 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22671 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22674 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22676 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22677 H.J. Lu <hjl.tools@gmail.com>
22680 * sysdeps/x86_64/rtld-memset.c: Remove file.
22681 * sysdeps/x86_64/rtld-memset.S: New file.
22683 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22685 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22686 (test_in_one_mode): Take arguments for whether the rounding mode
22687 is supported for each floating-point type.
22688 (do_test): Pass new arguments to test_in_one_mode using
22691 2013-06-13 Roland McGrath <roland@hack.frob.com>
22693 * posix/tst-waitid.c (do_test): Distinguish different instances of
22694 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22695 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22696 before entering the kernel for waitpid.
22698 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22700 * NEWS: Fix note on clock function precision. Text by Roland
22703 2013-06-13 Roland McGrath <roland@hack.frob.com>
22705 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22706 it into place only when and if the sanity check passes.
22708 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22710 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22711 output for whether conversion result is exact. Take argument
22712 indicating whether type is IBM long double.
22713 (round_for_all): Change need_exact field to ibm_ld.
22714 * stdlib/tst-strtod-round.c (struct exactness): New type.
22715 (struct test): Change bool ld_ok field to struct exactness exact.
22716 (TEST): Update all definitions for change to field.
22717 (tests): Regenerate array contents.
22718 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22719 field value. Check for IBM long double here.
22720 (do_test): Update calls to test_in_one_mode.
22722 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22725 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22726 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22728 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22731 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22732 generated by the compiler on loop optimizations.
22733 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22734 general definitions.
22736 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22738 * math/bug-nextafter.c: Include <math-tests.h>.
22739 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22741 * math/bug-nexttoward.c: Include <math-tests.h>.
22742 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22744 * math/test-misc.c: Include <math-tests.h>.
22745 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22748 2013-06-12 Andreas Jaeger <aj@suse.de>
22750 * po/ia.po: Update Interlingua translation from translation
22753 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22755 * include/fenv.h: Include stdbool.h.
22756 (struct rm_ctx): New structure.
22757 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22759 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22760 (SET_RESTORE_ROUNDF): Likewise.
22761 (SET_RESTORE_ROUNDL): Likewise.
22762 (SET_RESTORE_ROUND_NOEX): Likewise.
22763 (SET_RESTORE_ROUND_NOEXF): Likewise.
22764 (SET_RESTORE_ROUND_NOEXL): Likewise.
22765 (SET_RESTORE_ROUND_53BIT): Likewise.
22766 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22767 (libc_feresetround_noexf_ctx): Likewise.
22768 (libc_feresetround_noexl_ctx): Likewise.
22769 (libc_feholdsetround_53bit_ctx): Likewise.
22770 (libc_feresetround_53bit_ctx): Likewise.
22771 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22772 (libc_feholdexcept_setround_sse_ctx): New function.
22773 (libc_fesetenv_sse_ctx): Likewise.
22774 (libc_feupdateenv_sse_ctx): Likewise.
22775 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22776 (libc_feholdexcept_setround_387_ctx): Likewise.
22777 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22778 (libc_feholdsetround_387_prec_ctx): Likewise.
22779 (libc_feholdsetround_387_ctx): Likewise.
22780 (libc_feholdsetround_387_53bit_ctx): Likewise.
22781 (libc_feholdsetround_sse_ctx): Likewise.
22782 (libc_feresetround_sse_ctx): Likewise.
22783 (libc_feresetround_387_ctx): Likewise.
22784 (libc_feupdateenv_387_ctx): Likewise.
22785 (libc_feholdexcept_setroundf_ctx): Define macro.
22786 (libc_fesetenvf_ctx): Likewise.
22787 (libc_feupdateenvf_ctx): Likewise.
22788 (libc_feholdsetroundf_ctx): Likewise.
22789 (libc_feresetroundf_ctx): Likewise.
22790 (libc_feholdexcept_setround_ctx): Likewise.
22791 (libc_fesetenv_ctx): Likewise.
22792 (libc_feupdateenv_ctx): Likewise.
22793 (libc_feholdsetround_ctx): Likewise.
22794 (libc_feresetround_ctx): Likewise.
22795 (libc_feholdexcept_setroundl_ctx): Likewise.
22796 (libc_feupdateenvl_ctx): Likewise.
22797 (libc_feholdsetroundl_ctx): Likewise.
22798 (libc_feresetroundl_ctx): Likewise.
22799 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22800 (libc_feresetround_53bit_ctx): Likewise.
22802 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22804 * locale/iso-639.def: Convert to UTF-8.
22806 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22808 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22809 (EXCEPTION_TESTS_double): Likewise.
22810 (EXCEPTION_TESTS_long_double): Likewise.
22811 (EXCEPTION_TESTS): Likewise.
22812 * math/libm-test.inc (test_exceptions): Only test exceptions if
22813 EXCEPTION_TESTS (FLOAT).
22815 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22817 * benchtests/Makefile (string-bench): Add strcpy_chk and
22819 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22820 * benchtests/bench-stpcpy_chk.c: New file.
22821 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22822 * benchtests/bench-strcpy_chk.c: New file.
22823 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22825 (do_test): Likewise.
22827 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22829 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22830 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22831 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22832 with tabs where appropriate.
22833 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22835 [PPC_PLATFORM_PPC440]: Likewise.
22836 [PPC_PLATFORM_PPC464]: Likewise.
22837 [PPC_PLATFORM_PPC476]: Likewise.
22838 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22839 ppc464, and ppc476 platform strings merging from ports/
22842 2013-06-11 Andreas Schwab <schwab@suse.de>
22845 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22846 (from_ucs4_idx): Regenerate.
22847 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22848 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22849 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22850 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22851 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22852 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22853 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22854 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22855 from FROM_LOOP and TO_LOOP specific macros.
22856 (BODY): Handle combining characters.
22857 * iconvdata/BIG5HKSCS.irreversible: Update.
22858 * iconvdata/BIG5HKSCS.precomposed: New file.
22859 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22861 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22863 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22865 * include/sys/time.h: Fix indentation and add copyright header.
22867 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22868 (do_test): Likewise.
22869 * string/test-memchr.c (do_one_test): Likewise.
22870 (do_test): Likewise.
22871 * string/test-memcmp.c (do_one_test): Likewise.
22872 (do_test): Likewise.
22873 * string/test-memcpy.c (do_one_test): Likewise.
22874 (do_test): Likewise.
22875 * string/test-memmem.c (do_one_test): Likewise.
22876 (do_test): Likewise.
22877 (do_random_tests): Likewise.
22878 * string/test-memmove.c (do_one_test): Likewise.
22879 (do_test): Likewise.
22880 * string/test-memset.c (do_one_test): Likewise.
22881 (do_test): Likewise.
22882 * string/test-rawmemchr.c (do_one_test): Likewise.
22883 (do_test): Likewise.
22884 * string/test-strcasecmp.c (do_one_test): Likewise.
22885 (do_test): Likewise.
22886 * string/test-strcasestr.c (do_one_test): Likewise.
22887 (do_test): Likewise.
22888 * string/test-strcat.c (do_one_test): Likewise.
22889 (do_test): Likewise.
22890 * string/test-strchr.c (do_one_test): Likewise.
22891 (do_test): Likewise.
22892 * string/test-strcmp.c (do_one_test): Likewise.
22893 (do_test): Likewise.
22894 * string/test-strcpy.c (do_one_test): Likewise.
22895 (do_test): Likewise.
22896 * string/test-string.h: Likewise.
22897 (test_init): Likewise.
22898 * string/test-strlen.c (do_one_test): Likewise.
22899 (do_test): Likewise.
22900 * string/test-strncasecmp.c (do_one_test): Likewise.
22901 (do_test): Likewise.
22902 * string/test-strncat.c (do_one_test): Likewise.
22903 (do_test): Likewise.
22904 * string/test-strncmp.c (do_one_test): Likewise.
22905 (do_test_limit): Likewise.
22906 (do_test): Likewise.
22907 * string/test-strncpy.c (do_one_test): Likewise.
22908 (do_test): Likewise.
22909 * string/test-strnlen.c (do_one_test): Likewise.
22910 (do_test): Likewise.
22911 * string/test-strpbrk.c (do_one_test): Likewise.
22912 (do_test): Likewise.
22913 * string/test-strrchr.c (do_one_test): Likewise.
22914 (do_test): Likewise.
22915 * string/test-strspn.c (do_one_test): Likewise.
22916 (do_test): Likewise.
22917 * string/test-strstr.c (do_one_test): Likewise.
22918 (do_test): Likewise.
22920 * benchtests/Makefile (string-bench): Add string benchmarks.
22921 * benchtests/bench-bcopy-ifunc.c: New file.
22922 * benchtests/bench-bcopy.c: New file.
22923 * benchtests/bench-bzero-ifunc.c: New file.
22924 * benchtests/bench-bzero.c: New file.
22925 * benchtests/bench-memccpy-ifunc.c: New file.
22926 * benchtests/bench-memccpy.c: New file.
22927 * benchtests/bench-memchr-ifunc.c: New file.
22928 * benchtests/bench-memchr.c: New file.
22929 * benchtests/bench-memcmp-ifunc.c: New file.
22930 * benchtests/bench-memcmp.c: New file.
22931 * benchtests/bench-memmem-ifunc.c: New file.
22932 * benchtests/bench-memmem.c: New file.
22933 * benchtests/bench-memmove-ifunc.c: New file.
22934 * benchtests/bench-memmove.c: New file.
22935 * benchtests/bench-mempcpy-ifunc.c: New file.
22936 * benchtests/bench-mempcpy.c: New file.
22937 * benchtests/bench-memset-ifunc.c: New file.
22938 * benchtests/bench-memset.c: New file.
22939 * benchtests/bench-rawmemchr-ifunc.c: New file.
22940 * benchtests/bench-rawmemchr.c: New file.
22941 * benchtests/bench-stpcpy-ifunc.c: New file.
22942 * benchtests/bench-stpcpy.c: New file.
22943 * benchtests/bench-stpncpy-ifunc.c: New file.
22944 * benchtests/bench-stpncpy.c: New file.
22945 * benchtests/bench-strcasecmp-ifunc.c: New file.
22946 * benchtests/bench-strcasecmp.c: New file.
22947 * benchtests/bench-strcasestr-ifunc.c: New file.
22948 * benchtests/bench-strcasestr.c: New file.
22949 * benchtests/bench-strcat-ifunc.c: New file.
22950 * benchtests/bench-strcat.c: New file.
22951 * benchtests/bench-strchr-ifunc.c: New file.
22952 * benchtests/bench-strchr.c: New file.
22953 * benchtests/bench-strchrnul-ifunc.c: New file.
22954 * benchtests/bench-strchrnul.c: New file.
22955 * benchtests/bench-strcmp-ifunc.c: New file.
22956 * benchtests/bench-strcmp.c: New file.
22957 * benchtests/bench-strcpy-ifunc.c: New file.
22958 * benchtests/bench-strcpy.c: New file.
22959 * benchtests/bench-strcspn-ifunc.c: New file.
22960 * benchtests/bench-strcspn.c: New file.
22961 * benchtests/bench-strlen-ifunc.c: New file.
22962 * benchtests/bench-strlen.c: New file.
22963 * benchtests/bench-strncasecmp-ifunc.c: New file.
22964 * benchtests/bench-strncasecmp.c: New file.
22965 * benchtests/bench-strncat-ifunc.c: New file.
22966 * benchtests/bench-strncat.c: New file.
22967 * benchtests/bench-strncmp-ifunc.c: New file.
22968 * benchtests/bench-strncmp.c: New file.
22969 * benchtests/bench-strncpy-ifunc.c: New file.
22970 * benchtests/bench-strncpy.c: New file.
22971 * benchtests/bench-strnlen-ifunc.c: New file.
22972 * benchtests/bench-strnlen.c: New file.
22973 * benchtests/bench-strpbrk-ifunc.c: New file.
22974 * benchtests/bench-strpbrk.c: New file.
22975 * benchtests/bench-strrchr-ifunc.c: New file.
22976 * benchtests/bench-strrchr.c: New file.
22977 * benchtests/bench-strspn-ifunc.c: New file.
22978 * benchtests/bench-strspn.c: New file.
22979 * benchtests/bench-strstr-ifunc.c: New file.
22980 * benchtests/bench-strstr.c: New file.
22982 * benchtests/Makefile: Disable parallel execution of targets.
22983 (string-bench): Add memcpy.
22984 (benchset): New variable to store a list of benchmark sets.
22985 (bench-func): Renamed from bench.
22986 (bench-set): New target.
22987 (bench): Depend on bench-func and bench-set.
22988 * benchtests/README: Add section on benchmark sets.
22989 * benchtests/bench-memcpy-ifunc.c: New file.
22990 * benchtests/bench-memcpy.c: New file.
22991 * benchtests/bench-string.h: New file.
22993 2013-06-11 Andreas Schwab <schwab@suse.de>
22996 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22997 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22998 values in the triple.
22999 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23000 terminator in the group key.
23002 2013-06-11 Andreas Jaeger <aj@suse.de>
23004 * po/zh_TW.po: Update Chinese (traditional) translation from
23005 translation project.
23007 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23009 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23010 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23011 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23012 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23013 (clock_getcpuclockid): Likewise.
23014 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23015 Add weak_alias and libc_hidden_def.
23016 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23017 * rt/clock_gettime.c (clock_gettime): Rename to
23018 __clock_gettime. Add weak_alias and libc_hidden_def.
23019 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23020 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23021 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23022 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23023 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23025 * rt/clock_settime.c (clock_settime): Rename to
23026 __clock_settime. Add weak_alias and libc_hidden_def.
23027 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23029 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23031 * mach/err_boot.sub: Remove trailing whitespace.
23032 * mach/err_ipc.sub: Likewise.
23033 * mach/err_mach.sub: Likewise.
23035 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23036 (ROUNDING_TESTS_double): Likewise.
23037 (ROUNDING_TESTS_long_double): Likewise.
23038 (ROUNDING_TESTS): Likewise.
23039 * math/libm-test.inc: Include <math-tests.h>.
23040 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23041 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23042 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23043 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23045 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23047 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23050 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23052 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23053 otherwise empty TRANS lines.
23054 * sysdeps/gnu/errlist.c: Regenerated.
23056 * catgets/gencat.c (error_print): Use (void) in function
23058 * crypt/crypt_util.c (__init_des): Likewise.
23059 * crypt/speeds.c (Stop): Likewise.
23061 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23062 * inet/ruserpass.c (token): Likewise.
23063 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23064 * intl/localealias.c (extend_alias_table): Likewise.
23065 * intl/plural-exp.c (init_germanic_plural): Likewise.
23066 * libio/fcloseall.c (__fcloseall): Likewise.
23067 * libio/genops.c (_IO_flush_all): Likewise.
23068 (_IO_flush_all_linebuffered): Likewise.
23069 (_IO_cleanup): Likewise.
23070 (_IO_iter_begin): Likewise.
23071 (_IO_iter_end): Likewise.
23072 (_IO_list_lock): Likewise.
23073 (_IO_list_unlock): Likewise.
23074 (_IO_list_resetlock): Likewise.
23075 * libio/getchar.c (getchar): Likewise.
23076 * libio/getchar_u.c (getchar_unlocked): Likewise.
23077 * libio/getwchar.c (getwchar): Likewise.
23078 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23079 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23080 * login/getpt.c (__getpt): Likewise.
23081 * login/tst-utmp.c (main): Likewise.
23082 * malloc/hooks.c (__malloc_check_init): Likewise.
23083 * malloc/malloc.c (__malloc_stats): Likewise.
23084 * malloc/mtrace.c (tr_break): Likewise.
23085 (mtrace): Likewise.
23086 (muntrace): Likewise.
23087 * misc/fstab.c (endfsent): Likewise.
23088 * misc/getclktck.c (__getclktck): Likewise.
23089 * misc/getdtsz.c (__getdtablesize): Likewise.
23090 * misc/gethostid.c (gethostid): Likewise.
23091 * misc/getpagesize.c (__getpagesize): Likewise.
23092 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23093 (__get_nprocs): Likewise.
23094 (__get_phys_pages): Likewise.
23095 (__get_avphys_pages): Likewise.
23096 * misc/getttyent.c (getttyent): Likewise.
23097 (setttyent): Likewise.
23098 (endttyent): Likewise.
23099 * misc/getusershell.c (getusershell): Likewise.
23100 (endusershell): Likewise.
23101 (setusershell): Likewise.
23102 (initshells): Likewise.
23103 * misc/hsearch.c (__hdestroy): Likewise.
23104 * misc/sync.c (sync): Likewise.
23105 * misc/syslog.c (closelog_internal): Likewise.
23106 (closelog): Likewise.
23107 * misc/ttyslot.c (ttyslot): Likewise.
23108 * misc/vhangup.c (vhangup): Likewise.
23109 * posix/fork.c (__fork): Likewise.
23110 * posix/getegid.c (__getegid): Likewise.
23111 * posix/geteuid.c (__geteuid): Likewise.
23112 * posix/getgid.c (__getgid): Likewise.
23113 * posix/getpid.c (__getpid): Likewise.
23114 * posix/getppid.c (__getppid): Likewise.
23115 * posix/getuid.c (__getuid): Likewise.
23116 * posix/pause.c (pause): Likewise.
23117 * posix/setpgrp.c (setpgrp): Likewise.
23118 * posix/setsid.c (__setsid): Likewise.
23119 * posix/test-vfork.c (noop): Likewise.
23120 * resolv/gethnamaddr.c (_endhtent): Likewise.
23121 (_gethtent): Likewise.
23122 (ht_endhostent): Likewise.
23123 (gethostent): Likewise.
23124 (dns_service): Likewise.
23125 * stdlib/drand48.c (drand48): Likewise.
23126 * stdlib/lrand48.c (lrand48): Likewise.
23127 * stdlib/mrand48.c (mrand48): Likewise.
23128 * stdlib/rand.c (rand): Likewise.
23129 * stdlib/random.c (__random): Likewise.
23130 * stdlib/setenv.c (clearenv): Likewise.
23131 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23132 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23133 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23134 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23135 (__get_nprocs): Likewise.
23136 (__get_phys_pages): Likewise.
23137 (__get_avphys_pages): Likewise.
23138 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23139 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23140 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23141 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23142 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23143 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23144 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23145 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23146 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23147 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23148 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23149 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23150 * sysdeps/posix/clock.c (clock): Likewise.
23151 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23152 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23153 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23154 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23155 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23157 (__get_nprocs_conf): Likewise.
23158 (__get_phys_pages): Likewise.
23159 (__get_avphys_pages): Likewise.
23160 * time/clock.c (clock): Likewise.
23161 * time/tzset.c (__tzname_max): Likewise.
23163 2013-06-07 Joseph Myers <joseph@codesourcery.com>
23165 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23166 (__bswap_32): Do not use "register".
23167 * crypt/crypt.c (_ufc_doit_r): Likewise.
23168 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23169 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23170 * gmon/gmon.c (__monstartup): Likewise.
23171 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23172 * hurd/hurdmalloc.c (more_memory): Likewise.
23173 (malloc): Likewise.
23175 (realloc): Likewise.
23176 (malloc_fork_prepare): Likewise.
23177 (malloc_fork_parent): Likewise.
23178 (malloc_fork_child): Likewise.
23179 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23180 (_svcauth_des): Likewise.
23181 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23182 * inet/inet_net.c (inet_network): Likewise.
23183 * inet/inet_netof.c (inet_netof): Likewise.
23184 * inet/rcmd.c (__validuser2_sa): Likewise.
23185 * io/fts.c (fts_open): Likewise.
23186 (fts_load): Likewise.
23187 (fts_close): Likewise.
23188 (fts_read): Likewise.
23189 (fts_children): Likewise.
23190 (fts_build): Likewise.
23191 (fts_stat): Likewise.
23192 (fts_sort): Likewise.
23193 (fts_alloc): Likewise.
23194 (fts_lfree): Likewise.
23195 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23196 (_IO_file_xsgetn): Likewise.
23197 (_IO_file_xsgetn_mmap): Likewise.
23198 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23199 (_IO_cookie_write): Likewise.
23200 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23201 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23202 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23203 * malloc/obstack.c (_obstack_begin): Likewise.
23204 (_obstack_begin_1): Likewise.
23205 (_obstack_newchunk): Likewise.
23206 (_obstack_allocated_p): Likewise.
23207 (obstack_free): Likewise.
23208 (_obstack_memory_used): Likewise.
23209 * misc/getttyent.c (getttynam): Likewise.
23210 (getttyent): Likewise.
23213 * misc/getusershell.c (initshells): Likewise.
23214 * misc/syslog.c (__vsyslog_chk): Likewise.
23215 * misc/ttyslot.c (ttyslot): Likewise.
23216 * nis/nis_hash.c (__nis_hash): Likewise.
23217 * posix/fnmatch_loop.c (FCT): Likewise.
23218 * posix/getconf.c (print_all): Likewise.
23220 * posix/getopt.c (exchange): Likewise.
23221 * posix/glob.c (globfree): Likewise.
23222 (prefix_array): Likewise.
23223 (__glob_pattern_type): Likewise.
23224 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23225 (NS_GET32): Likewise.
23226 (NS_PUT16): Likewise.
23227 (NS_PUT32): Likewise.
23228 * resolv/gethnamaddr.c (getanswer): Likewise.
23229 (gethostbyname2): Likewise.
23230 (gethostbyaddr): Likewise.
23231 (_gethtent): Likewise.
23232 (_gethtbyname2): Likewise.
23233 (_gethtbyaddr): Likewise.
23234 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23235 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23236 * resolv/res_init.c (__res_vinit): Likewise.
23237 (net_mask): Likewise.
23238 * resolv/res_mkquery.c (outchar): Likewise.
23240 * stdio-common/printf_fp.c (outchar): Likewise.
23242 * stdio-common/printf_fphex.c (outchar): Likewise.
23244 * stdio-common/printf_size.c (outchar): Likewise.
23246 * stdio-common/test_rdwr.c (main): Likewise.
23247 * stdio-common/tfformat.c (matches): Likewise.
23248 * stdio-common/vfprintf.c (outchar): Likewise.
23249 (printf_unknown): Likewise.
23250 (buffered_vfprintf): Likewise.
23251 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23252 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23253 (ReadFile): Likewise.
23254 * stdlib/qsort.c (SWAP): Likewise.
23255 (_quicksort): Likewise.
23256 * stdlib/setenv.c (__add_to_environ): Likewise.
23257 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23258 * stdlib/strtol_l.c (__strtol_l): Likewise.
23259 * stdlib/tst-strtod.c (main): Likewise.
23260 * stdlib/tst-strtol.c (main): Likewise.
23261 * stdlib/tst-strtoll.c (main): Likewise.
23262 * string/bits/string2.h (__strcmp_cc): Likewise.
23263 (__strcmp_cg): Likewise.
23264 (__strcspn_c1): Likewise.
23265 (__strcspn_c2): Likewise.
23266 (__strcspn_c3): Likewise.
23267 (__strspn_c1): Likewise.
23268 (__strspn_c2): Likewise.
23269 (__strspn_c3): Likewise.
23270 (__strsep_1c): Likewise.
23271 (__strsep_2c): Likewise.
23272 (__strsep_3c): Likewise.
23273 * string/memccpy.c (__memccpy): Likewise.
23274 * string/stpcpy.c (__stpcpy): Likewise.
23275 * string/strcmp.c (strcmp): Likewise.
23276 * string/strrchr.c (strrchr): Likewise.
23277 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23279 * sysdeps/mach/hurd/getcwd.c
23280 (_hurd_canonicalize_directory_name_internal): Likewise.
23281 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23282 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23283 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23284 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23285 Likewise, in both definitions.
23286 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23288 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23289 64] (__bswap_64): Likewise.
23290 * time/test_time.c (main): Likewise.
23291 * time/tzfile.c (__tzfile_read): Likewise.
23292 (__tzfile_compute): Likewise.
23293 * time/tzset.c (__tzset_parse_tz): Likewise.
23294 (tzset_internal): Likewise.
23295 (compute_change): Likewise.
23296 * wcsmbs/wcscat.c (__wcscat): Likewise.
23297 * wcsmbs/wcschr.c (wcschr): Likewise.
23298 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23299 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23300 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23301 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23302 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23303 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23304 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23305 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23306 * wcsmbs/wmemset.c (wmemset): Likewise.
23308 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23310 * scripts/config.guess: Update to version 2013-05-16.
23311 * scripts/config.sub: Update to version 2013-04-24.
23312 * scripts/install-sh: Update to version 2011-11-20.07.
23313 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23314 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23316 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
23318 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23319 * elf/sln.c: Likewise.
23320 * hurd/hurd/ioctl.h: Likewise.
23321 * hurd/hurdmalloc.c: Likewise.
23322 * hurd/xattr.c: Likewise.
23323 * include/shlib-compat.h: Likewise.
23324 * inet/ruserpass.c: Likewise.
23325 * libio/iofgets_u.c: Likewise.
23326 * libio/iofgetws_u.c: Likewise.
23327 * locale/programs/ld-identification.c: Likewise.
23328 * locale/programs/ld-time.c: Likewise.
23329 * mach/msg-destroy.c: Likewise.
23330 * nss/nss_files/files-netgrp.c: Likewise.
23331 * resolv/res_data.c: Likewise.
23332 * soft-fp/op-1.h: Likewise.
23333 * soft-fp/op-2.h: Likewise.
23334 * soft-fp/op-4.h: Likewise.
23335 * soft-fp/op-common.h: Likewise.
23336 * stdio-common/printf_fphex.c: Likewise.
23337 * stdlib/strtod_l.c: Likewise.
23338 * sunrpc/rpc/clnt.h: Likewise.
23339 * sysdeps/generic/framestate.c: Likewise.
23340 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23341 * sysdeps/i386/bsd-setjmp.S: Likewise.
23342 * sysdeps/i386/__longjmp.S: Likewise.
23343 * sysdeps/i386/setjmp.S: Likewise.
23344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23345 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23362 * sysdeps/ieee754/support.c: Likewise.
23363 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23364 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23365 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23366 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23367 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23368 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23369 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23370 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23371 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23372 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23373 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23374 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23375 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23376 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23377 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23378 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23379 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23382 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
23384 * posix/transbug.c: Remove executable mode.
23386 2013-06-05 Joseph Myers <joseph@codesourcery.com>
23388 * crypt/speeds.c: Remove trailing whitespace.
23389 * dlfcn/default.c: Likewise.
23390 * elf/ifuncdep2.c: Likewise.
23391 * elf/ifuncmain1.c: Likewise.
23392 * elf/ifuncmain1vis.c: Likewise.
23393 * elf/testobj.h: Likewise.
23394 * elf/tst-stackguard1.c: Likewise.
23395 * gmon/sys/gmon.h: Likewise.
23396 * hurd/hurdmsg.c: Likewise.
23397 * hurd/new-fd.c: Likewise.
23398 * hurd/ports-get.c: Likewise.
23399 * iconvdata/ibm1008_420.c: Likewise.
23400 * inet/tst-getni1.c: Likewise.
23401 * inet/tst-getni2.c: Likewise.
23402 * libio/ioungetc.c: Likewise.
23403 * libio/wfiledoalloc.c: Likewise.
23404 * manual/libm-err-tab.pl: Likewise.
23405 * math/w_dremf.c: Likewise.
23406 * misc/ftruncate.c: Likewise.
23407 * posix/bug-glob2.c: Likewise.
23408 * posix/tst-pcre.c: Likewise.
23409 * posix/wait4.c: Likewise.
23410 * resolv/README: Likewise.
23411 * resolv/res_debug.h: Likewise.
23412 * resolv/tst-inet_ntop.c: Likewise.
23413 * setjmp/bug269-setjmp.c: Likewise.
23414 * soft-fp/extended.h: Likewise.
23415 * soft-fp/op-1.h: Likewise.
23416 * soft-fp/op-2.h: Likewise.
23417 * soft-fp/op-4.h: Likewise.
23418 * soft-fp/op-8.h: Likewise.
23419 * soft-fp/testit.c: Likewise.
23420 * stdio-common/bug16.c: Likewise.
23421 * stdlib/random.c: Likewise.
23422 * sunrpc/rpcsvc/rquota.x: Likewise.
23423 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23424 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23426 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23427 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23431 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23432 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23450 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23452 * sysdeps/ieee754/s_lib_version.c: Likewise.
23453 * sysdeps/mach/hurd/check_fds.c: Likewise.
23454 * sysdeps/mach/hurd/getsockname.c: Likewise.
23455 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23456 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23457 * sysdeps/powerpc/bits/link.h: Likewise.
23458 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23459 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23460 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23461 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23462 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23463 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23464 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23465 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23466 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23467 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23468 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23469 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23470 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23471 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23472 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23473 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23477 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23478 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23479 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23480 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23481 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23482 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23483 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23484 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23488 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23489 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23491 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23492 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23496 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23497 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23498 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23499 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23500 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23501 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23502 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23503 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23504 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23505 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23506 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23507 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23510 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23511 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23512 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23513 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23514 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23515 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23518 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23520 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23521 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23522 * sysdeps/powerpc/sysdep.h: Likewise.
23523 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23524 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23525 * sysdeps/sh/dl-trampoline.S: Likewise.
23526 * sysdeps/sh/memset.S: Likewise.
23527 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23528 * sysdeps/sh/strlen.S: Likewise.
23529 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23530 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23531 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23532 * sysdeps/sparc/sparc32/rem.S: Likewise.
23533 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23534 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23535 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23536 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23537 * sysdeps/sparc/sparc32/urem.S: Likewise.
23538 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23539 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23540 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23541 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23542 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23543 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23544 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23545 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23546 * sysdeps/unix/bsd/times.c: Likewise.
23547 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23548 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23552 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23553 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23554 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23555 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23556 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23557 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23558 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23559 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23560 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23561 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23562 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23563 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23564 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23565 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23566 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23567 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23568 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23569 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23570 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23571 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23572 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23573 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23574 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23575 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23576 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23577 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23578 * sysdeps/x86_64/strcspn.S: Likewise.
23580 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23582 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23583 generated file. Regenerate properly from gen-translit.pl.
23584 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23585 locale/C-translit.h.
23587 2013-06-05 Andreas Schwab <schwab@suse.de>
23590 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23591 week as 6 instead of -1.
23592 * time/tst-strptime.c (day_tests): Add test case.
23594 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23596 * sysdeps/generic/math_private.h
23597 (libc_feholdexcept_setround_53bit): Replace with
23598 libc_feholdsetround_53bit.
23599 (libc_feupdateenv_53bit): Replace with
23600 libc_feresetround_53bit.
23601 (SET_RESTORE_ROUND_53BIT): Adjust.
23603 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23605 * string/test-strchrnul.c: Add copyright header.
23607 * posix/tst-getaddrinfo4.c: Increase test timeout.
23609 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23612 * math/libm-test.inc (MAX_EXP): Remove
23614 (ulp): Use MIN_EXP - MANT_DIG.
23615 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23617 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23619 * po/be.po: Revert last change.
23620 * po/zh_CN.po: Likewise.
23621 * po/header.pot: Likewise.
23623 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23625 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23626 link-libc-deps to empty as target-specific variable.
23627 * Makerules (link-libc-args): New variable.
23628 (libc-for-link): Likewise.
23629 (link-libc-deps): Likewise.
23630 (lib%.so): Depend on $(link-libc-deps). Link with
23632 (build-module): Link with $(link-libc-args).
23633 (build-module-asneeded): Likewise.
23634 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23636 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23637 target-specific variable.
23638 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23639 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23640 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23642 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23644 ($(objpfx)libpcprofile.so): Likewise.
23645 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23647 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23648 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23649 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23651 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23652 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23653 * login/Makefile ($(objpfx)libutil.so): Likewise.
23654 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23655 * math/Makefile ($(objpfx)libm.so): Likewise.
23656 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23657 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23658 variable instead of depending directly on libc.
23659 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23660 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23662 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23664 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23665 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23666 ($(objpfx)libanl.so): Likewise.
23667 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23669 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23671 * sysdeps/i386/fpu/Makefile: Remove file.
23672 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23673 ($(objpfx)libm.so): Remove dependency on ld.so.
23675 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23678 * nis/yp_xdr.c (XDRMAXNAME): Define.
23679 (XDRMAXRECORD): Define.
23680 (xdr_domainname): Use XDRMAXNAME.
23681 (xdr_mapname): Likewise.
23682 (xdr_peername): Likewise.
23683 (xdr_keydat): Use XDRMAXRECORD.
23684 (xdr_valdat): Likewise.
23686 2013-05-30 Jeff Law <law@redhat.com>
23689 * manual/errno.texi (ESTALE): Update to account for more than
23690 just NFS file systems.
23691 * sysdeps/gnu/errlist.c: Regenerated.
23693 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23696 * elf/Makefile (tests): Add tst-null-argv.
23697 (modules-names): Add tst-null-argv-lib.
23698 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23699 (tst-null-argv-ENV): Set environment for tst-null-argv.
23700 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23701 (RTLD_PROGNAME): New macro.
23702 * elf/tst-null-argv.c: New test case.
23703 * elf/tst-null-argv-lib.c: Library for test case.
23704 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23705 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23706 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23707 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23708 * elf/dl-init.c (call_init): Likewise.
23709 (_dl_init): Likewise.
23710 * elf/dl-load.c (print_search_path): Likewise.
23711 (_dl_map_object): Likewise.
23712 * elf/dl-lookup.c (do_lookup_x): Likewise.
23713 (add_dependency): Likewise.
23714 (_dl_lookup_symbol_x): Likewise.
23715 (_dl_debug_bindings): Likewise.
23716 * elf/dl-open.c (_dl_show_scope): Likewise.
23717 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23718 * elf/dl-version.c (match_symbol): Likewise.
23719 (_dl_check_map_versions): Likewise.
23720 * elf/rtld.c (dl_main): Likewise.
23721 (print_unresolved): Use RTLD_PROGNAME.
23722 (print_missing_version): Likewise.
23723 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23724 (elf_machine_rela): Likewise.
23725 * sysdeps/powerpc/powerpc32/dl-machine.c
23726 (__process_machine_rela): Likewise.
23727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23731 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23740 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23742 * po/be.po: Add descriptive title.
23743 * po/zh_CN.po: Likewise.
23744 * po/header.pot: Likewise.
23746 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23748 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23750 (enlarge_archive): Likewise.
23752 2013-05-28 Ben North <ben@redfrontdoor.org>
23754 * manual/arith.texi (frexp): It is the magnitude of the return
23755 value which lies in [0.5, 1), not the return value itself.
23757 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23761 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23763 * stdio-common/bug26.c (main): Correct fscanf template.
23765 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23766 declare _dl_skip_args.
23768 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23771 * manual/platform.texi: Add missing @end deftypefun.
23773 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23776 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23777 bit of mantissa of 2^16382.
23778 * math/libm-test.inc (hypot_test_data): Add more tests.
23780 * math/libm-test.inc: Add drem and pow10 to list of tested
23782 (pow10_test): New function.
23783 (drem_test): Likewise.
23784 (drem_test_tonearest): Likewise.
23785 (drem_test_towardzero): Likewise.
23786 (drem_test_downward): Likewise.
23787 (drem_test_upward): Likewise.
23788 (main): Call the new functions.
23790 * math/libm-test.inc (finite_test_data): Remove.
23791 (finite_test): Run tests from isfinite_test_data.
23792 (gamma_test_data): Remove.
23793 (gamma_test): Run tests from lgamma_test_data.
23794 * sysdeps/i386/fpu/libm-test-ulps: Update.
23795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23797 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23799 * manual/platform.texi: Add PowerPC PPR function set documentation.
23800 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23803 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23805 * math/libm-test.inc (MAX_EXP): Define.
23807 (ulp): New function.
23808 (check_float_internal): Use ULPDIFF.
23809 (cpow_test): Disable failing test.
23810 (check_ulp): Test ulp() implemetnation.
23811 (main): Call check_ulp before starting tests.
23813 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23815 * math/gen-libm-test.pl (generate_testfile): Do not handle
23816 START_DATA and END_DATA.
23817 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23819 (acos_tonearest_test_data): Likewise.
23820 (acos_towardzero_test_data): Likewise.
23821 (acos_downward_test_data): Likewise.
23822 (acos_upward_test_data): Likewise.
23823 (acosh_test_data): Likewise.
23824 (asin_test_data): Likewise.
23825 (asin_tonearest_test_data): Likewise.
23826 (asin_towardzero_test_data): Likewise.
23827 (asin_downward_test_data): Likewise.
23828 (asin_upward_test_data): Likewise.
23829 (asinh_test_data): Likewise.
23830 (atan_test_data): Likewise.
23831 (atanh_test_data): Likewise.
23832 (atan2_test_data): Likewise.
23833 (cabs_test_data): Likewise.
23834 (cacos_test_data): Likewise.
23835 (cacosh_test_data): Likewise.
23836 (carg_test_data): Likewise.
23837 (casin_test_data): Likewise.
23838 (casinh_test_data): Likewise.
23839 (catan_test_data): Likewise.
23840 (catanh_test_data): Likewise.
23841 (cbrt_test_data): Likewise.
23842 (ccos_test_data): Likewise.
23843 (ccosh_test_data): Likewise.
23844 (ceil_test_data): Likewise.
23845 (cexp_test_data): Likewise.
23846 (cimag_test_data): Likewise.
23847 (clog_test_data): Likewise.
23848 (clog10_test_data): Likewise.
23849 (conj_test_data): Likewise.
23850 (copysign_test_data): Likewise.
23851 (cos_test_data): Likewise.
23852 (cos_tonearest_test_data): Likewise.
23853 (cos_towardzero_test_data): Likewise.
23854 (cos_downward_test_data): Likewise.
23855 (cos_upward_test_data): Likewise.
23856 (cosh_test_data): Likewise.
23857 (cosh_tonearest_test_data): Likewise.
23858 (cosh_towardzero_test_data): Likewise.
23859 (cosh_downward_test_data): Likewise.
23860 (cosh_upward_test_data): Likewise.
23861 (cpow_test_data): Likewise.
23862 (cproj_test_data): Likewise.
23863 (creal_test_data): Likewise.
23864 (csin_test_data): Likewise.
23865 (csinh_test_data): Likewise.
23866 (csqrt_test_data): Likewise.
23867 (ctan_test_data): Likewise.
23868 (ctan_tonearest_test_data): Likewise.
23869 (ctan_towardzero_test_data): Likewise.
23870 (ctan_downward_test_data): Likewise.
23871 (ctan_upward_test_data): Likewise.
23872 (ctanh_test_data): Likewise.
23873 (ctanh_tonearest_test_data): Likewise.
23874 (ctanh_towardzero_test_data): Likewise.
23875 (ctanh_downward_test_data): Likewise.
23876 (ctanh_upward_test_data): Likewise.
23877 (erf_test_data): Likewise.
23878 (erfc_test_data): Likewise.
23879 (exp_test_data): Likewise.
23880 (exp_tonearest_test_data): Likewise.
23881 (exp_towardzero_test_data): Likewise.
23882 (exp_downward_test_data): Likewise.
23883 (exp_upward_test_data): Likewise.
23884 (exp10_test_data): Likewise.
23885 (exp2_test_data): Likewise.
23886 (expm1_test_data): Likewise.
23887 (fabs_test_data): Likewise.
23888 (fdim_test_data): Likewise.
23889 (finite_test_data): Likewise.
23890 (floor_test_data): Likewise.
23891 (fma_test_data): Likewise.
23892 (fma_towardzero_test_data): Likewise.
23893 (fma_downward_test_data): Likewise.
23894 (fma_upward_test_data): Likewise.
23895 (fmax_test_data): Likewise.
23896 (fmin_test_data): Likewise.
23897 (fmod_test_data): Likewise.
23898 (fpclassify_test_data): Likewise.
23899 (frexp_test_data): Likewise.
23900 (gamma_test_data): Likewise.
23901 (hypot_test_data): Likewise.
23902 (ilogb_test_data): Likewise.
23903 (isfinite_test_data): Likewise.
23904 (isgreater_test_data): Likewise.
23905 (isgreaterequal_test_data): Likewise.
23906 (isinf_test_data): Likewise.
23907 (isless_test_data): Likewise.
23908 (islessequal_test_data): Likewise.
23909 (islessgreater_test_data): Likewise.
23910 (isnan_test_data): Likewise.
23911 (isnormal_test_data): Likewise.
23912 (issignaling_test_data): Likewise.
23913 (isunordered_test_data): Likewise.
23914 (j0_test_data): Likewise.
23915 (j1_test_data): Likewise.
23916 (jn_test_data): Likewise.
23917 (ldexp_test_data): Likewise.
23918 (lgamma_test_data): Likewise.
23919 (lrint_test_data): Likewise.
23920 (lrint_tonearest_test_data): Likewise.
23921 (lrint_towardzero_test_data): Likewise.
23922 (lrint_downward_test_data): Likewise.
23923 (lrint_upward_test_data): Likewise.
23924 (llrint_test_data): Likewise.
23925 (llrint_tonearest_test_data): Likewise.
23926 (llrint_towardzero_test_data): Likewise.
23927 (llrint_downward_test_data): Likewise.
23928 (llrint_upward_test_data): Likewise.
23929 (log_test_data): Likewise.
23930 (log10_test_data): Likewise.
23931 (log1p_test_data): Likewise.
23932 (log2_test_data): Likewise.
23933 (logb_test_data): Likewise.
23934 (logb_downward_test_data): Likewise.
23935 (lround_test_data): Likewise.
23936 (llround_test_data): Likewise.
23937 (modf_test_data): Likewise.
23938 (nearbyint_test_data): Likewise.
23939 (nextafter_test_data): Likewise.
23940 (nexttoward_test_data): Likewise.
23941 (pow_test_data): Likewise.
23942 (pow_tonearest_test_data): Likewise.
23943 (pow_towardzero_test_data): Likewise.
23944 (pow_downward_test_data): Likewise.
23945 (pow_upward_test_data): Likewise.
23946 (remainder_test_data): Likewise.
23947 (remainder_tonearest_test_data): Likewise.
23948 (remainder_towardzero_test_data): Likewise.
23949 (remainder_downward_test_data): Likewise.
23950 (remainder_upward_test_data): Likewise.
23951 (remquo_test_data): Likewise.
23952 (rint_test_data): Likewise.
23953 (rint_tonearest_test_data): Likewise.
23954 (rint_towardzero_test_data): Likewise.
23955 (rint_downward_test_data): Likewise.
23956 (rint_upward_test_data): Likewise.
23957 (round_test_data): Likewise.
23958 (scalb_test_data): Likewise.
23959 (scalbn_test_data): Likewise.
23960 (scalbln_test_data): Likewise.
23961 (signbit_test_data): Likewise.
23962 (sin_test_data): Likewise.
23963 (sin_tonearest_test_data): Likewise.
23964 (sin_towardzero_test_data): Likewise.
23965 (sin_downward_test_data): Likewise.
23966 (sin_upward_test_data): Likewise.
23967 (sincos_test_data): Likewise.
23968 (sinh_test_data): Likewise.
23969 (sinh_tonearest_test_data): Likewise.
23970 (sinh_towardzero_test_data): Likewise.
23971 (sinh_downward_test_data): Likewise.
23972 (sinh_upward_test_data): Likewise.
23973 (sqrt_test_data): Likewise.
23974 (tan_test_data): Likewise.
23975 (tan_tonearest_test_data): Likewise.
23976 (tan_towardzero_test_data): Likewise.
23977 (tan_downward_test_data): Likewise.
23978 (tan_upward_test_data): Likewise.
23979 (tanh_test_data): Likewise.
23980 (tgamma_test_data): Likewise.
23981 (trunc_test_data): Likewise.
23982 (y0_test_data): Likewise.
23983 (y1_test_data): Likewise.
23984 (yn_test_data): Likewise.
23985 (significand_test_data): Likewise.
23987 * math/gen-libm-test.pl (@functions): Remove variable.
23988 (generate_testfile): Don't handle START and END lines.
23989 * math/libm-test.inc (START): New macro.
23991 (END_COMPLEX): Likewise.
23992 (acos_test): Use END macro without arguments.
23993 (acos_test_tonearest): Likewise.
23994 (acos_test_towardzero): Likewise.
23995 (acos_test_downward): Likewise.
23996 (acos_test_upward): Likewise.
23997 (acosh_test): Likewise.
23998 (asin_test): Likewise.
23999 (asin_test_tonearest): Likewise.
24000 (asin_test_towardzero): Likewise.
24001 (asin_test_downward): Likewise.
24002 (asin_test_upward): Likewise.
24003 (asinh_test): Likewise.
24004 (atan_test): Likewise.
24005 (atanh_test): Likewise.
24006 (atan2_test): Likewise.
24007 (cabs_test): Likewise.
24008 (cacos_test): Use END_COMPLEX macro without arguments.
24009 (cacosh_test): Likewise.
24010 (carg_test): Use END macro without arguments.
24011 (casin_test): Use END_COMPLEX macro without arguments.
24012 (casinh_test): Likewise.
24013 (catan_test): Likewise.
24014 (catanh_test): Likewise.
24015 (cbrt_test): Use END macro without arguments.
24016 (ccos_test): Use END_COMPLEX macro without arguments.
24017 (ccosh_test): Likewise.
24018 (ceil_test): Use END macro without arguments.
24019 (cexp_test): Use END_COMPLEX macro without arguments.
24020 (cimag_test): Use END macro without arguments.
24021 (clog_test): Use END_COMPLEX macro without arguments.
24022 (clog10_test): Likewise.
24023 (conj_test): Likewise.
24024 (copysign_test): Use END macro without arguments.
24025 (cos_test): Likewise.
24026 (cos_test_tonearest): Likewise.
24027 (cos_test_towardzero): Likewise.
24028 (cos_test_downward): Likewise.
24029 (cos_test_upward): Likewise.
24030 (cosh_test): Likewise.
24031 (cosh_test_tonearest): Likewise.
24032 (cosh_test_towardzero): Likewise.
24033 (cosh_test_downward): Likewise.
24034 (cosh_test_upward): Likewise.
24035 (cpow_test): Use END_COMPLEX macro without arguments.
24036 (cproj_test): Likewise.
24037 (creal_test): Use END macro without arguments.
24038 (csin_test): Use END_COMPLEX macro without arguments.
24039 (csinh_test): Likewise.
24040 (csqrt_test): Likewise.
24041 (ctan_test): Likewise.
24042 (ctan_test_tonearest): Likewise.
24043 (ctan_test_towardzero): Likewise.
24044 (ctan_test_downward): Likewise.
24045 (ctan_test_upward): Likewise.
24046 (ctanh_test): Likewise.
24047 (ctanh_test_tonearest): Likewise.
24048 (ctanh_test_towardzero): Likewise.
24049 (ctanh_test_downward): Likewise.
24050 (ctanh_test_upward): Likewise.
24051 (erf_test): Use END macro without arguments.
24052 (erfc_test): Likewise.
24053 (exp_test): Likewise.
24054 (exp_test_tonearest): Likewise.
24055 (exp_test_towardzero): Likewise.
24056 (exp_test_downward): Likewise.
24057 (exp_test_upward): Likewise.
24058 (exp10_test): Likewise.
24059 (exp2_test): Likewise.
24060 (expm1_test): Likewise.
24061 (fabs_test): Likewise.
24062 (fdim_test): Likewise.
24063 (finite_test): Likewise.
24064 (floor_test): Likewise.
24065 (fma_test): Likewise.
24066 (fma_test_towardzero): Likewise.
24067 (fma_test_downward): Likewise.
24068 (fma_test_upward): Likewise.
24069 (fmax_test): Likewise.
24070 (fmin_test): Likewise.
24071 (fmod_test): Likewise.
24072 (fpclassify_test): Likewise.
24073 (frexp_test): Likewise.
24074 (gamma_test): Likewise.
24075 (hypot_test): Likewise.
24076 (ilogb_test): Likewise.
24077 (isfinite_test): Likewise.
24078 (isgreater_test): Likewise.
24079 (isgreaterequal_test): Likewise.
24080 (isinf_test): Likewise.
24081 (isless_test): Likewise.
24082 (islessequal_test): Likewise.
24083 (islessgreater_test): Likewise.
24084 (isnan_test): Likewise.
24085 (isnormal_test): Likewise.
24086 (issignaling_test): Likewise.
24087 (isunordered_test): Likewise.
24088 (j0_test): Likewise.
24089 (j1_test): Likewise.
24090 (jn_test): Likewise.
24091 (ldexp_test): Likewise.
24092 (lgamma_test): Likewise.
24093 (lrint_test): Likewise.
24094 (lrint_test_tonearest): Likewise.
24095 (lrint_test_towardzero): Likewise.
24096 (lrint_test_downward): Likewise.
24097 (lrint_test_upward): Likewise.
24098 (llrint_test): Likewise.
24099 (llrint_test_tonearest): Likewise.
24100 (llrint_test_towardzero): Likewise.
24101 (llrint_test_downward): Likewise.
24102 (llrint_test_upward): Likewise.
24103 (log_test): Likewise.
24104 (log10_test): Likewise.
24105 (log1p_test): Likewise.
24106 (log2_test): Likewise.
24107 (logb_test): Likewise.
24108 (logb_test_downward): Likewise.
24109 (lround_test): Likewise.
24110 (llround_test): Likewise.
24111 (modf_test): Likewise.
24112 (nearbyint_test): Likewise.
24113 (nextafter_test): Likewise.
24114 (nexttoward_test): Likewise.
24115 (pow_test): Likewise.
24116 (pow_test_tonearest): Likewise.
24117 (pow_test_towardzero): Likewise.
24118 (pow_test_downward): Likewise.
24119 (pow_test_upward): Likewise.
24120 (remainder_test): Likewise.
24121 (remainder_test_tonearest): Likewise.
24122 (remainder_test_towardzero): Likewise.
24123 (remainder_test_downward): Likewise.
24124 (remainder_test_upward): Likewise.
24125 (remquo_test): Likewise.
24126 (rint_test): Likewise.
24127 (rint_test_tonearest): Likewise.
24128 (rint_test_towardzero): Likewise.
24129 (rint_test_downward): Likewise.
24130 (rint_test_upward): Likewise.
24131 (round_test): Likewise.
24132 (scalb_test): Likewise.
24133 (scalbn_test): Likewise.
24134 (scalbln_test): Likewise.
24135 (signbit_test): Likewise.
24136 (sin_test): Likewise.
24137 (sin_test_tonearest): Likewise.
24138 (sin_test_towardzero): Likewise.
24139 (sin_test_downward): Likewise.
24140 (sin_test_upward): Likewise.
24141 (sincos_test): Likewise.
24142 (sinh_test): Likewise.
24143 (sinh_test_tonearest): Likewise.
24144 (sinh_test_towardzero): Likewise.
24145 (sinh_test_downward): Likewise.
24146 (sinh_test_upward): Likewise.
24147 (sqrt_test): Likewise.
24148 (tan_test): Likewise.
24149 (tan_test_tonearest): Likewise.
24150 (tan_test_towardzero): Likewise.
24151 (tan_test_downward): Likewise.
24152 (tan_test_upward): Likewise.
24153 (tanh_test): Likewise.
24154 (tgamma_test): Likewise.
24155 (trunc_test): Likewise.
24156 (y0_test): Likewise.
24157 (y1_test): Likewise.
24158 (yn_test): Likewise.
24159 (significand_test): Likewise.
24161 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
24164 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24166 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24169 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24170 __ppc_mdoio and __ppc_mdoom.
24171 * manual/platform.texi: Document new functions __ppc_yield,
24172 __ppc_mdoio and __ppc_mdoom.
24174 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24176 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24177 (main): Mention "tls" pseudo-hwcap is legacy.
24178 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24180 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24182 * math/gen-libm-test.pl (parse_args): Output only string of
24183 arguments as text for test name, not full call or descriptions of
24184 tests for extra outputs.
24185 (generate_testfile): Do not pass function name to parse_args.
24186 Generate this_func variable from START.
24187 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24189 (struct test_ff_f_data): Likewise.
24190 (test_ff_f_data_nexttoward): Likewise.
24191 (struct test_fi_f_data): Likewise.
24192 (struct test_fl_f_data): Likewise.
24193 (struct test_if_f_data): Likewise.
24194 (struct test_fff_f_data): Likewise.
24195 (struct test_c_f_data): Likewise.
24196 (struct test_f_f1_data): Likewise. Remove field extra_name.
24197 (struct test_fF_f1_data): Likewise.
24198 (struct test_ffI_f1_data): Likewise.
24199 (struct test_c_c_data): Rename test_name field to arg_str.
24200 (struct test_cc_c_data): Likewise.
24201 (struct test_f_i_data): Likewise.
24202 (struct test_ff_i_data): Likewise.
24203 (struct test_f_l_data): Likewise.
24204 (struct test_f_L_data): Likewise.
24205 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24207 (COMMON_TEST_SETUP): New macro.
24208 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24209 (COMMON_TEST_CLEANUP): Likewise.
24210 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24211 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24213 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24214 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24216 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24217 (RUN_TEST_fff_f): Take argument string. Call new setup and
24219 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24220 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24222 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24223 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24225 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24226 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24228 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24229 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24231 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24232 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24234 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24235 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24237 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24238 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24240 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24241 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24243 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24244 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24246 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24247 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24249 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24250 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24252 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24253 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24255 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24256 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24258 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24259 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24261 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24262 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24264 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24266 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24268 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24269 to _sifields.sigfault.
24270 (si_addr_lsb): Define new macro.
24271 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24272 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24273 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24275 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24278 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24280 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24282 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24283 loading the domain.
24285 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24287 * math/gen-libm-test.pl (parse_args): Do not include expected
24288 result in test name.
24289 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24291 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24292 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24293 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24296 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24298 * benchtests/Makefile: Sort function entries.
24300 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24301 tanh, asinh, acosh, atanh.
24302 * benchtests/acos-inputs: New file.
24303 * benchtests/acosh-inputs: New file.
24304 * benchtests/asin-inputs: New file.
24305 * benchtests/asinh-inputs: New file.
24306 * benchtests/atanh-inputs: New file.
24307 * benchtests/cosh-inputs: New file.
24308 * benchtests/log-inputs: New file.
24309 * benchtests/sinh-inputs: New file.
24310 * benchtests/tanh-inputs: New file.
24312 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24315 * posix/tst-getaddrinfo4.c: New test.
24316 * posix/Makefile (tests): Add it.
24318 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24321 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24322 when no services were used.
24323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24324 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24326 2013-05-21 Andreas Schwab <schwab@suse.de>
24329 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24330 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24332 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24333 redundant variable declarations and reallocation of buffer when
24334 parsing as IPv6 address. Always set NSS status when called from
24335 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24336 buffer too small. Correct computation of needed size.
24337 * nss/Makefile (tests): Add test-digits-dots.
24338 * nss/test-digits-dots.c: New test.
24340 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24342 * benchtests/Makefile: Remove instructions for adding
24344 * benchtests/README: New file to explain how to execute and
24345 enhance the benchmark tests.
24347 2013-05-21 Andreas Schwab <schwab@suse.de>
24350 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24351 * setjmp/tst-sigsetjmp.c: New test.
24353 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24355 * sysdeps/x86_64/memset.S (memset): New implementation.
24356 (__bzero): Likewise.
24357 (__memset_tail): New function.
24359 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24361 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24362 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24363 __memcpy_sse2_unaligned ifunc selection.
24364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24365 Add memcpy-sse2-unaligned.S.
24366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24367 Add: __memcpy_sse2_unaligned.
24369 2013-05-19 Joseph Myers <joseph@codesourcery.com>
24372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24373 math_force_eval before restoring floating-point envrionment.
24374 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24377 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24379 (__nearbyintl): Use math_force_eval before restoring
24380 floating-point environment.
24381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24383 * math/gen-libm-test.pl (special_functions): Remove.
24384 (parse_args): Don't handle TEST_extra. Handle functions with no
24386 * math/libm-test.inc (struct test_sincos_data): Replace with
24387 struct test_fFF_11_data.
24388 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24389 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24390 (sincos_test_data): Change element type to struct
24391 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24392 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24393 RUN_TEST_LOOP_sincos.
24394 * math/README.libm-test: Don't mention special handling of
24395 individual functions.
24396 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24397 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24398 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24399 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24400 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24403 * math/gen-libm-test.pl (get_variable): Remove function.
24404 (parse_args): Don't show pointer parameters to call in test
24405 names. Use "extra output N" in test names for extra outputs
24406 rather than naming variables.
24408 2013-05-18 Joseph Myers <joseph@codesourcery.com>
24411 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24412 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24413 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24415 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24417 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24420 * math/gen-libm-test.pl (@tests): Remove variable.
24421 ($count): Likewise.
24422 (new_test): Remove function.
24423 (show_exceptions): New function.
24424 (special_functions): Use show_exceptions instead of new_test.
24425 (parse_args): Likewise.
24426 (generate_testfile): Pass only function name in generated call to
24427 print_max_error or print_complex_max_error.
24428 (get_ulps): Do not handle complex tests specially.
24429 (output_test): Rename to ...
24430 (get_all_ulps_for_test): ... this. Return a string rather than
24431 printing to a file. Require ulps to be present.
24432 (output_ulps): Generate arrays rather than #defines.
24433 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24434 (struct ulp_data): New type.
24435 (BUILD_COMPLEX_ULP): Remove macro.
24436 (compare_ulp_data): New function.
24437 (find_ulps): Likewise.
24438 (find_test_ulps): Likewise.
24439 (find_function_ulps): Likewise.
24440 (find_complex_function_ulps): Likewise.
24441 (print_max_error): Determine allowed ulps using
24442 find_function_ulps.
24443 (print_complex_max_error): Determine allowed ulps using
24444 find_complex_function_ulps.
24445 (check_float_internal): Determine max ulps using find_test_ulps.
24446 (check_float): Do not take max_ulp parameter. Update call to
24447 check_float_internal.
24448 (check_complex): Likewise.
24449 (check_int): Do not take max_ulp parameter.
24450 (check_long): Likewise.
24451 (check_bool): Likewise.
24452 (check_longlong): Likewise.
24453 (struct test_f_f_data): Remove max_ulp field.
24454 (struct test_ff_f_data): Likewise.
24455 (struct test_ff_f_data_nexttoward): Likewise.
24456 (struct test_fi_f_data): Likewise.
24457 (struct test_fl_f_data): Likewise.
24458 (struct test_if_f_data): Likewise.
24459 (struct test_fff_f_data): Likewise.
24460 (struct test_c_f_data): Likewise.
24461 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24462 (struct test_fF_f1_data): Likewise.
24463 (struct test_ffI_f1_data): Likewise.
24464 (struct test_c_c_data): Remove max_ulp field.
24465 (struct test_cc_c_data): Likewise.
24466 (struct test_f_i_data): Likewise.
24467 (struct test_ff_i_data): Likewise.
24468 (struct test_f_l_data): Likewise.
24469 (struct test_f_L_data): Likewise.
24470 (struct test_sincos_data): Likewise.
24471 (RUN_TEST_f_f): Do not handle ulps.
24472 (RUN_TEST_LOOP_f_f): Likewise.
24473 (RUN_TEST_2_f): Likewise.
24474 (RUN_TEST_LOOP_2_f): Likewise.
24475 (RUN_TEST_fff_f): Likewise.
24476 (RUN_TEST_LOOP_fff_f): Likewise.
24477 (RUN_TEST_c_f): Likewise.
24478 (RUN_TEST_LOOP_c_f): Likewise.
24479 (RUN_TEST_f_f1): Likewise.
24480 (RUN_TEST_LOOP_f_f1): Likewise.
24481 (RUN_TEST_fF_f1): Likewise.
24482 (RUN_TEST_LOOP_fF_f1): Likewise.
24483 (RUN_TEST_fI_f1): Likewise.
24484 (RUN_TEST_LOOP_fI_f1): Likewise.
24485 (RUN_TEST_ffI_f1): Likewise.
24486 (RUN_TEST_LOOP_ffI_f1): Likewise.
24487 (RUN_TEST_c_c): Likewise.
24488 (RUN_TEST_LOOP_c_c): Likewise.
24489 (RUN_TEST_cc_c): Likewise.
24490 (RUN_TEST_LOOP_cc_c): Likewise.
24491 (RUN_TEST_f_i): Likewise.
24492 (RUN_TEST_LOOP_f_i): Likewise.
24493 (RUN_TEST_f_i_tg): Likewise.
24494 (RUN_TEST_LOOP_f_i_tg): Likewise.
24495 (RUN_TEST_ff_i_tg): Likewise.
24496 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24497 (RUN_TEST_f_b): Likewise.
24498 (RUN_TEST_LOOP_f_b): Likewise.
24499 (RUN_TEST_f_b_tg): Likewise.
24500 (RUN_TEST_LOOP_f_b_tg): Likewise.
24501 (RUN_TEST_f_l): Likewise.
24502 (RUN_TEST_LOOP_f_l): Likewise.
24503 (RUN_TEST_f_L): Likewise.
24504 (RUN_TEST_LOOP_f_L): Likewise.
24505 (RUN_TEST_sincos): Likewise.
24506 (RUN_TEST_LOOP_sincos): Likewise.
24508 2013-05-17 Joseph Myers <joseph@codesourcery.com>
24512 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24513 main case of finite arguments, set rounding mode to FE_TONEAREST
24514 and discard exceptions.
24515 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24517 (remainder_tonearest_test_data): New variable.
24518 (remainder_test_tonearest): New function.
24519 (remainder_towardzero_test_data): New variable.
24520 (remainder_test_towardzero): New function.
24521 (remainder_downward_test_data): New variable.
24522 (remainder_test_downward): New function.
24523 (remainder_upward_test_data): New variable.
24524 (remainder_test_upward): New function.
24525 (main): Call the new test functions.
24527 * math/libm-test.inc (struct test_f_f1_data): Remove field
24529 (struct test_fF_f1_data): Likewise.
24530 (struct test_ffI_f1_data): Likewise.
24531 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24532 based on value of EXTRA_EXPECTED.
24533 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24534 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24535 EXTRA_VAR based on value of EXTRA_EXPECTED.
24536 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24537 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24538 EXTRA_VAR based on value of EXTRA_EXPECTED.
24539 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24540 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24541 EXTRA_VAR based on value of EXTRA_EXPECTED.
24542 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24543 * math/gen-libm-test.pl (parse_args): Don't output initializers
24544 for extra output values.
24546 * math/libm-test.inc (check_int): Expect result to be exactly
24547 equal to expected value and do not handle ulps.
24548 (check_long): Likewise.
24549 (check_longlong): Likewise.
24551 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24553 (cimag_test_data): Likewise.
24554 (conj_test_data): Likewise.
24555 (copysign_test_data): Likewise.
24556 (cproj_test_data): Likewise.
24557 (creal_test_data): Likewise.
24558 (fabs_test_data): Likewise.
24559 (fdim_test_data): Likewise.
24560 (finite_test_data): Likewise.
24561 (floor_test_data): Likewise.
24562 (fmax_test_data): Likewise.
24563 (fmin_test_data): Likewise.
24564 (fmod_test_data): Likewise.
24565 (fpclassify_test_data): Likewise.
24566 (frexp_test_data): Likewise.
24567 (ilogb_test_data): Likewise.
24568 (isfinite_test_data): Likewise.
24569 (isgreater_test_data): Likewise.
24570 (isgreaterequal_test_data): Likewise.
24571 (isinf_test_data): Likewise.
24572 (isless_test_data): Likewise.
24573 (islessequal_test_data): Likewise.
24574 (islessgreater_test_data): Likewise.
24575 (isnan_test_data): Likewise.
24576 (isnormal_test_data): Likewise.
24577 (issignaling_test_data): Likewise.
24578 (isunordered_test_data): Likewise.
24579 (ldexp_test_data): Likewise.
24580 (lrint_test_data): Likewise.
24581 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24582 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24583 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24584 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24585 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24586 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24588 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24589 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24590 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24591 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24593 (lrint_downward_test_data): Test for "inexact" exceptions.
24594 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24595 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24596 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24598 (lrint_upward_test_data): Test for "inexact" exceptions.
24599 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24601 (llrint_test_data): Test for "inexact" exceptions.
24602 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24603 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24604 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24605 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24606 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24607 (llrint_downward_test_data): Test for "inexact" exceptions.
24608 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24609 (llrint_upward_test_data): Test for "inexact" exceptions.
24610 (logb_test_data): Likewise.
24611 (logb_downward_test_data): Likewise.
24612 (nextafter_test_data): Likewise.
24613 (nexttoward_test_data): Likewise.
24614 (remainder_test_data): Likewise.
24615 (remquo_test_data): Likewise.
24616 (scalbn_test_data): Likewise.
24617 (scalbln_test_data): Likewise.
24618 (signbit_test_data): Likewise.
24619 (sqrt_test_data): Likewise.
24620 (significand_test_data): Likewise.
24622 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24625 * benchtests/bench-modf.c (struct args): Mark arg0 as
24627 * scripts/bench.pl: Mark members of struct args as volatile.
24629 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24632 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24633 negative infinity on POWER6 or lower.
24634 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24636 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24639 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24640 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24641 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24642 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24643 (_FP_SETQNAN): New macro.
24644 (_FP_SETQNAN_SEMIRAW): Likewise.
24645 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24646 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24647 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24648 (FP_EXTEND): Use _FP_FRAC_SNANP.
24649 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24650 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24657 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24659 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24660 with DIVIDE_BY_ZERO_EXCEPTION.
24661 (gamma_test_data): Likewise.
24662 (lgamma_test_data): Likewise.
24663 (log_test_data): Likewise.
24664 (log10_test_data): Likewise.
24665 (log2_test_data): Likewise.
24666 (tgamma_test_data): Likewise.
24668 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24669 (acos_test_tonearest): Likewise.
24670 (acos_test_towardzero): Likewise.
24671 (acos_test_downward): Likewise.
24672 (acos_test_upward): Likewise.
24673 (acosh_test): Likewise.
24674 (asin_test): Likewise.
24675 (asin_test_tonearest): Likewise.
24676 (asin_test_towardzero): Likewise.
24677 (asin_test_downward): Likewise.
24678 (asin_test_upward): Likewise.
24679 (asinh_test): Likewise.
24680 (atan_test): Likewise.
24681 (atanh_test): Likewise.
24682 (atan2_test): Likewise.
24683 (cabs_test): Likewise.
24684 (cacos_test): Likewise.
24685 (cacosh_test): Likewise.
24686 (casin_test): Likewise.
24687 (casinh_test): Likewise.
24688 (catan_test): Likewise.
24689 (catanh_test): Likewise.
24690 (cbrt_test): Likewise.
24691 (ccos_test): Likewise.
24692 (ccosh_test): Likewise.
24693 (cexp_test): Likewise.
24694 (clog_test): Likewise.
24695 (clog10_test): Likewise.
24696 (cos_test): Likewise.
24697 (cos_test_tonearest): Likewise.
24698 (cos_test_towardzero): Likewise.
24699 (cos_test_downward): Likewise.
24700 (cos_test_upward): Likewise.
24701 (cosh_test): Likewise.
24702 (cosh_test_tonearest): Likewise.
24703 (cosh_test_towardzero): Likewise.
24704 (cosh_test_downward): Likewise.
24705 (cosh_test_upward): Likewise.
24706 (cpow_test): Likewise.
24707 (csin_test): Likewise.
24708 (csinh_test): Likewise.
24709 (csqrt_test): Likewise.
24710 (ctan_test): Likewise.
24711 (ctan_test_tonearest): Likewise.
24712 (ctan_test_towardzero): Likewise.
24713 (ctan_test_downward): Likewise.
24714 (ctan_test_upward): Likewise.
24715 (ctanh_test): Likewise.
24716 (ctanh_test_tonearest): Likewise.
24717 (ctanh_test_towardzero): Likewise.
24718 (ctanh_test_downward): Likewise.
24719 (ctanh_test_upward): Likewise.
24720 (erf_test): Likewise.
24721 (erfc_test): Likewise.
24722 (exp_test): Likewise.
24723 (exp_test_tonearest): Likewise.
24724 (exp_test_towardzero): Likewise.
24725 (exp_test_downward): Likewise.
24726 (exp_test_upward): Likewise.
24727 (exp10_test): Likewise.
24728 (exp2_test): Likewise.
24729 (expm1_test): Likewise.
24730 (fmod_test): Likewise.
24731 (gamma_test): Likewise.
24732 (hypot_test): Likewise.
24733 (j0_test): Likewise.
24734 (j1_test): Likewise.
24735 (jn_test): Likewise.
24736 (lgamma_test): Likewise.
24737 (log_test): Likewise.
24738 (log10_test): Likewise.
24739 (log1p_test): Likewise.
24740 (log2_test): Likewise.
24741 (logb_test_downward): Likewise.
24742 (pow_test): Likewise.
24743 (pow_test_tonearest): Likewise.
24744 (pow_test_towardzero): Likewise.
24745 (pow_test_downward): Likewise.
24746 (pow_test_upward): Likewise.
24747 (remainder_test): Likewise.
24748 (remquo_test): Likewise.
24749 (sin_test): Likewise.
24750 (sin_test_tonearest): Likewise.
24751 (sin_test_towardzero): Likewise.
24752 (sin_test_downward): Likewise.
24753 (sin_test_upward): Likewise.
24754 (sincos_test): Likewise.
24755 (sinh_test): Likewise.
24756 (sinh_test_tonearest): Likewise.
24757 (sinh_test_towardzero): Likewise.
24758 (sinh_test_downward): Likewise.
24759 (sinh_test_upward): Likewise.
24760 (sqrt_test): Likewise.
24761 (tan_test): Likewise.
24762 (tan_test_tonearest): Likewise.
24763 (tan_test_towardzero): Likewise.
24764 (tan_test_downward): Likewise.
24765 (tan_test_upward): Likewise.
24766 (tanh_test): Likewise.
24767 (tgamma_test): Likewise.
24768 (y0_test): Likewise.
24769 (y1_test): Likewise.
24770 (yn_test): Likewise.
24772 * math/gen-libm-test.pl (adjust_arg): Remove function.
24773 (special_function): Remove argument $in_func. Only handle
24774 generating output for tables of tests, not inside functions.
24775 (parse_args): Likewise.
24776 (generate_testfile): Remove variable $in_func. Update call to
24778 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24779 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24780 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24781 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24782 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24783 (MAX_VALUE_INIT): Rename macro to max_value.
24784 (MIN_VALUE_INIT): Rename macro to min_value.
24785 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24786 (plus_zero): Remove variable.
24787 (minus_zero): Likewise.
24788 (plus_infty): Likewise.
24789 (minus_infty): Likewise.
24790 (qnan_value): Likewise.
24791 (max_value): Likewise.
24792 (min_value): Likewise.
24793 (min_subnorm_value): Likewise.
24795 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24797 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24798 uint64_t or uint32_t usage.
24799 * crypt/sha256-block.c: Likewise.
24800 * crypt/sha256-crypt.c: Likewise.
24801 * crypt/sha256.c: Likewise.
24802 * crypt/sha512-block.c: Likewise.
24803 * crypt/sha512-crypt.c: Likewise.
24804 * crypt/sha512.c: Likewise.
24805 * debug/backtrace-tst.c: Likewise.
24806 * debug/pcprofiledump.c: Likewise.
24807 * elf/cache.c: Likewise.
24808 * elf/dl-cache.c: Likewise.
24809 * elf/dl-misc.c: Likewise.
24810 * elf/dl-profile.c: Likewise.
24811 * elf/dl-support.c: Likewise.
24812 * elf/ldconfig.c: Likewise.
24813 * elf/sprof.c: Likewise.
24814 * iconv/dummy-repertoire.c: Likewise.
24815 * iconv/iconv_charmap.c: Likewise.
24816 * iconv/skeleton.c: Likewise.
24817 * iconvdata/8bit-generic.c: Likewise.
24818 * iconvdata/cp737.h: Likewise.
24819 * iconvdata/cp775.h: Likewise.
24820 * iconvdata/ibm1008.h: Likewise.
24821 * iconvdata/ibm1025.h: Likewise.
24822 * iconvdata/ibm1046.h: Likewise.
24823 * iconvdata/ibm1097.h: Likewise.
24824 * iconvdata/ibm1112.h: Likewise.
24825 * iconvdata/ibm1122.h: Likewise.
24826 * iconvdata/ibm1123.h: Likewise.
24827 * iconvdata/ibm1124.h: Likewise.
24828 * iconvdata/ibm1129.h: Likewise.
24829 * iconvdata/ibm1130.h: Likewise.
24830 * iconvdata/ibm1132.h: Likewise.
24831 * iconvdata/ibm1133.h: Likewise.
24832 * iconvdata/ibm1137.h: Likewise.
24833 * iconvdata/ibm1140.h: Likewise.
24834 * iconvdata/ibm1141.h: Likewise.
24835 * iconvdata/ibm1142.h: Likewise.
24836 * iconvdata/ibm1143.h: Likewise.
24837 * iconvdata/ibm1144.h: Likewise.
24838 * iconvdata/ibm1145.h: Likewise.
24839 * iconvdata/ibm1146.h: Likewise.
24840 * iconvdata/ibm1147.h: Likewise.
24841 * iconvdata/ibm1148.h: Likewise.
24842 * iconvdata/ibm1149.h: Likewise.
24843 * iconvdata/ibm1153.h: Likewise.
24844 * iconvdata/ibm1154.h: Likewise.
24845 * iconvdata/ibm1155.h: Likewise.
24846 * iconvdata/ibm1156.h: Likewise.
24847 * iconvdata/ibm1157.h: Likewise.
24848 * iconvdata/ibm1158.h: Likewise.
24849 * iconvdata/ibm1160.h: Likewise.
24850 * iconvdata/ibm1161.h: Likewise.
24851 * iconvdata/ibm1162.h: Likewise.
24852 * iconvdata/ibm1163.h: Likewise.
24853 * iconvdata/ibm1164.h: Likewise.
24854 * iconvdata/ibm1166.h: Likewise.
24855 * iconvdata/ibm1167.h: Likewise.
24856 * iconvdata/ibm12712.h: Likewise.
24857 * iconvdata/ibm1390.h: Likewise.
24858 * iconvdata/ibm1399.h: Likewise.
24859 * iconvdata/ibm16804.h: Likewise.
24860 * iconvdata/ibm4517.h: Likewise.
24861 * iconvdata/ibm4899.h: Likewise.
24862 * iconvdata/ibm4909.h: Likewise.
24863 * iconvdata/ibm4971.h: Likewise.
24864 * iconvdata/ibm5347.h: Likewise.
24865 * iconvdata/ibm803.h: Likewise.
24866 * iconvdata/ibm856.h: Likewise.
24867 * iconvdata/ibm901.h: Likewise.
24868 * iconvdata/ibm902.h: Likewise.
24869 * iconvdata/ibm9030.h: Likewise.
24870 * iconvdata/ibm9066.h: Likewise.
24871 * iconvdata/ibm921.h: Likewise.
24872 * iconvdata/ibm922.h: Likewise.
24873 * iconvdata/ibm9448.h: Likewise.
24874 * iconvdata/isiri-3342.h: Likewise.
24875 * iconvdata/jis0201.h: Likewise.
24876 * include/link.h: Likewise.
24877 * include/netdb.h: Likewise.
24878 * inet/check_native.c: Likewise.
24879 * inet/check_pf.c: Likewise.
24880 * inet/getipv4sourcefilter.c: Likewise.
24881 * inet/getnameinfo.c: Likewise.
24882 * inet/getsourcefilter.c: Likewise.
24883 * inet/htonl.c: Likewise.
24884 * inet/setipv4sourcefilter.c: Likewise.
24885 * inet/setsourcefilter.c: Likewise.
24886 * inet/test-inet6_opt.c: Likewise.
24887 * inet/tst-network.c: Likewise.
24888 * locale/C-collate.c: Likewise.
24889 * locale/C-ctype.c: Likewise.
24890 * locale/C-time.c: Likewise.
24891 * locale/C-translit.h: Likewise.
24892 * locale/loadarchive.c: Likewise.
24893 * locale/programs/3level.h: Likewise.
24894 * locale/programs/charmap.c: Likewise.
24895 * locale/programs/charmap.h: Likewise.
24896 * locale/programs/ld-address.c: Likewise.
24897 * locale/programs/ld-collate.c: Likewise.
24898 * locale/programs/ld-ctype.c: Likewise.
24899 * locale/programs/ld-identification.c: Likewise.
24900 * locale/programs/ld-measurement.c: Likewise.
24901 * locale/programs/ld-messages.c: Likewise.
24902 * locale/programs/ld-monetary.c: Likewise.
24903 * locale/programs/ld-name.c: Likewise.
24904 * locale/programs/ld-numeric.c: Likewise.
24905 * locale/programs/ld-paper.c: Likewise.
24906 * locale/programs/ld-telephone.c: Likewise.
24907 * locale/programs/ld-time.c: Likewise.
24908 * locale/programs/linereader.c: Likewise.
24909 * locale/programs/locale.c: Likewise.
24910 * locale/programs/locarchive.c: Likewise.
24911 * locale/programs/locfile.h: Likewise.
24912 * locale/programs/repertoire.c: Likewise.
24913 * locale/programs/simple-hash.c: Likewise.
24914 * locale/programs/simple-hash.h: Likewise.
24915 * malloc/memusage.c: Likewise.
24916 * malloc/memusagestat.c: Likewise.
24917 * nis/nis_defaults.c: Likewise.
24918 * nis/nis_hash.c: Likewise.
24919 * nis/nis_print.c: Likewise.
24920 * nis/nis_xdr.c: Likewise.
24921 * nscd/connections.c: Likewise.
24922 * nscd/hstcache.c: Likewise.
24923 * nscd/nscd_gethst_r.c: Likewise.
24924 * nscd/nscd_getserv_r.c: Likewise.
24925 * nscd/nscd_helper.c: Likewise.
24926 * nscd/servicescache.c: Likewise.
24927 * nss/makedb.c: Likewise.
24928 * nss/nss_db/db-XXX.c: Likewise.
24929 * nss/nss_db/db-initgroups.c: Likewise.
24930 * nss/nss_db/db-netgrp.c: Likewise.
24931 * nss/nss_files/files-network.c: Likewise.
24932 * nss/nss_files/files-parse.c: Likewise.
24933 * posix/bug-regex5.c: Likewise.
24934 * posix/fnmatch_loop.c: Likewise.
24935 * posix/regcomp.c: Likewise.
24936 * posix/regexec.c: Likewise.
24937 * posix/tst-rfc3484-2.c: Likewise.
24938 * posix/tst-rfc3484-3.c: Likewise.
24939 * posix/tst-rfc3484.c: Likewise.
24940 * resolv/nss_dns/dns-canon.c: Likewise.
24941 * resolv/nss_dns/dns-network.c: Likewise.
24942 * resolv/res_init.c: Likewise.
24943 * resolv/res_mkquery.c: Likewise.
24944 * resolv/tst-aton.c: Likewise.
24945 * stdlib/cxa_atexit.c: Likewise.
24946 * stdlib/cxa_finalize.c: Likewise.
24947 * stdlib/gen-fpioconst.c: Likewise.
24948 * stdlib/strtol_l.c: Likewise.
24949 * string/tst-endian.c: Likewise.
24950 * sunrpc/auth_des.c: Likewise.
24951 * sunrpc/clnt_udp.c: Likewise.
24952 * sunrpc/rtime.c: Likewise.
24953 * sunrpc/svcauth_des.c: Likewise.
24954 * sunrpc/xdr.c: Likewise.
24955 * sunrpc/xdr_intXX_t.c: Likewise.
24956 * sunrpc/xdr_rec.c: Likewise.
24957 * sysdeps/generic/ldconfig.h: Likewise.
24958 * sysdeps/generic/ldsodefs.h: Likewise.
24959 * sysdeps/generic/memusage.h: Likewise.
24960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24963 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24964 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24966 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24969 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24970 * sysdeps/posix/getaddrinfo.c: Likewise.
24971 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24972 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24973 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24975 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24976 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24977 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24978 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24979 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24980 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24981 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24982 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24983 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24984 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24985 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24986 * sysdeps/x86_64/dl-tls.h: Likewise.
24987 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24988 * time/alt_digit.c: Likewise.
24989 * time/era.c: Likewise.
24990 * wcsmbs/tst-c16c32-1.c: Likewise.
24992 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24994 * math/libm-test.inc (struct test_sincos_data): New type.
24995 (RUN_TEST_LOOP_sincos): New macro.
24996 (sincos_test_data): New variable.
24997 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24999 2013-05-16 Richard Henderson <rth@redhat.com>
25001 * math/atest-exp2.c (LIMB64): New macro.
25002 (CONSTSZ): New macro.
25003 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25005 (print_mpn_fp): ... to function scope.
25006 (read_mpn_hex): Remove.
25007 (get_log2): Remove.
25008 (exp2_mpn): Use mp_log2.
25009 (main): Use mp_exp1.
25011 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25013 * math/libm-test.inc: Remove comment about not testing "inexact"
25015 (INEXACT_EXCEPTION): New macro.
25016 (NO_INEXACT_EXCEPTION): Likewise.
25017 (INVALID_EXCEPTION_OK): Update value.
25018 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25019 (OVERFLOW_EXCEPTION_OK): Likewise.
25020 (UNDERFLOW_EXCEPTION_OK): Likewise.
25021 (IGNORE_ZERO_INF_SIGN): Likewise.
25022 (ERRNO_UNCHANGED): Likewise.
25023 (ERRNO_EDOM): Likewise.
25024 (ERRNO_ERANGE): Likewise.
25025 (test_exceptions): Handle testing "inexact" exceptions.
25026 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25027 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25028 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25029 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25031 (rint_towardzero_test_data): Likewise.
25032 (rint_downward_test_data): Likewise.
25033 (rint_upward_test_data): Likewise.
25035 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25036 with OVERFLOW_EXCEPTION.
25037 (exp10_test_data): Likewise.
25038 (exp2_test_data): Likewise.
25039 (expm1_test_data): Likewise.
25040 (lgamma_test_data): Likewise.
25041 (pow_test_data): Likewise.
25042 (tgamma_test_data): Likewise.
25043 (yn_test_data): Remove duplicate test of overflow.
25045 * math/libm-test.inc (struct test_cc_c_data): New type.
25046 (RUN_TEST_LOOP_cc_c): New macro.
25047 (cpow_test_data): New variable.
25048 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25050 * math/libm-test.inc (struct test_f_L_data): New type.
25051 (RUN_TEST_LOOP_f_L): New macro.
25052 (llrint_test_data): New variable.
25053 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25054 (llrint_tonearest_test_data): New variable.
25055 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25056 (llrint_towardzero_test_data): New variable.
25057 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25058 (llrint_downward_test_data): New variable.
25059 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25060 (llrint_upward_test_data): New variable.
25061 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25062 (llround_test_data): New variable.
25063 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25065 2013-05-13 Peter Collingbourne <pcc@google.com>
25067 * math/atest-exp2.c (get_log2): Remove const attribute.
25069 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25071 * math/libm-test.inc (struct test_f_l_data): New type.
25072 (RUN_TEST_LOOP_f_l): New macro.
25073 (lrint_test_data): New variable.
25074 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25075 (lrint_tonearest_test_data): New variable.
25076 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25077 (lrint_towardzero_test_data): New variable.
25078 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25079 (lrint_downward_test_data): New variable.
25080 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25081 (lrint_upward_test_data): New variable.
25082 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25083 (lround_test_data): New variable.
25084 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25086 2013-05-15 Peter Collingbourne <pcc@google.com>
25088 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25089 (EXTRACT_WORDS64) Use where appropriate.
25090 (INSERT_WORDS64) Likewise.
25092 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25093 constraints with x constraints.
25094 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25096 * malloc/obstack.c (_obstack_compat): Add initializer.
25098 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25100 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25101 si_trapno and add si_addr_lsb to _sifields.sigfault.
25102 (si_trapno): Remove macro.
25103 (si_addr_lsb): Define new macro.
25104 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25106 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25108 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25109 instead of TEST_f_l.
25110 (llrint_test_tonearest): Likewise.
25111 (llrint_test_towardzero): Likewise.
25112 (llrint_test_downward): Likewise.
25113 (llrint_test_upward): Likewise.
25114 (llround_test): Likewise.
25116 * math/libm-test.inc (struct test_f_i_data): Add comment.
25117 (RUN_TEST_LOOP_f_b): New macro.
25118 (RUN_TEST_LOOP_f_b_tg): Likewise.
25119 (finite_test_data): New variable.
25120 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25121 (isfinite_test_data): New variable.
25122 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25123 (isinf_test_data): New variable.
25124 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25125 (isnan_test_data): New variable.
25126 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25127 (isnormal_test_data): New variable.
25128 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25129 (issignaling_test_data): New variable.
25130 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25131 (signbit_test_data): New variable.
25132 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25134 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25135 with INVALID_EXCEPTION.
25136 (acosh_test_data): Likewise.
25137 (asin_test_data): Likewise.
25138 (atanh_test_data): Likewise.
25139 (fmod_test_data): Likewise.
25140 (log_test_data): Likewise.
25141 (log10_test_data): Likewise.
25142 (log2_test_data): Likewise.
25143 (pow_test_data): Likewise.
25144 (sqrt_test_data): Likewise.
25145 (y0_test_data): Likewise.
25146 (y1_test_data): Likewise.
25147 (yn_test_data): Likewise.
25149 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25152 * math/libm-test.inc (struct test_ff_i_data): New type.
25153 (RUN_TEST_LOOP_ff_i_tg): New macro.
25154 (isgreater_test_data): New variable.
25155 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25156 (isgreaterequal_test_data): New variable.
25157 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25158 (isless_test_data): New variable.
25159 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25160 (islessequal_test_data): New variable.
25161 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25162 (islessgreater_test_data): New variable.
25163 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25164 (isunordered_test_data): New variable.
25165 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25167 2013-05-14 David S. Miller <davem@davemloft.net>
25169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25171 2013-05-14 Joseph Myers <joseph@codesourcery.com>
25173 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25175 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25177 (struct test_f_i_data): Change type of max_ulp to int.
25179 * math/libm-test.inc (test_ffI_f1_data): New type.
25180 (RUN_TEST_LOOP_ffI_f1): New macro.
25181 (remquo_test_data): New variable.
25182 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25184 * setjmp/tst-setjmp-fp.c: New file.
25185 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25186 (link-libm): New variable.
25187 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25189 * math/libm-test.inc (struct test_f_i_data): New type.
25190 (RUN_TEST_LOOP_f_i): New macro.
25191 (RUN_TEST_LOOP_f_i_tg): Likewise.
25192 (fpclassify_test_data): New variable.
25193 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25194 (ilogb_test_data): New variable.
25195 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25197 * math/libm-test.inc (scalbln_test): Correct function name in END
25200 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25201 (RUN_TEST_LOOP_fI_f1): New macro.
25202 (frexp_test_data): New variable.
25203 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25205 * math/libm-test.inc (struct test_fF_f1_data): New type.
25206 (RUN_TEST_LOOP_fF_f1): New macro.
25207 (modf_test_data): New variable.
25208 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25210 * math/libm-test.inc (struct test_f_f1_data): New type.
25211 (RUN_TEST_LOOP_f_f1): New macro.
25212 (gamma_test_data): New variable.
25213 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25214 (lgamma_test_data): New variable.
25215 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25217 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25219 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25220 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25221 (main): Comment "tls" pseudo-hwcap.
25223 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25225 * math/libm-test.inc (struct test_fl_f_data): New type.
25226 (RUN_TEST_LOOP_fl_f): New variable.
25227 (scalbln_test_data): New variable.
25228 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25230 * math/libm-test.inc (struct test_fi_f_data): New type.
25231 (RUN_TEST_LOOP_fi_f): New macro.
25232 (ldexp_test_data): New variable.
25233 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25234 (scalbn_test_data): New variable.
25235 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25237 * math/libm-test.inc (struct test_c_f_data): New type.
25238 (RUN_TEST_LOOP_c_f): New macro.
25239 (cabs_test_data): New variable.
25240 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25241 (carg_test_data): New variable.
25242 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25243 (cimag_test_data): New variable.
25244 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25245 (creal_test_data): New variable.
25246 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25248 * math/libm-test.inc (struct test_if_f_data): New type.
25249 (RUN_TEST_LOOP_if_f): New macro.
25250 (jn_test_data): New variable.
25251 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25252 (yn_test_data): New variable.
25253 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25255 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25257 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25259 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25260 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25262 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25264 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25265 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25266 (bench-deps): Add bench-timing.h.
25267 * benchtests-bench-skeleton.c: Include bench-timing.h.
25268 (main): Use TIMING_* macros instead of clock_gettime.
25269 * benchtests/bench-timing.h: New file.
25272 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25273 Renamed from _LIB_VERSION.
25274 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25276 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25278 * math/libm-test.inc (struct test_fff_f_data): New type.
25279 (RUN_TEST_LOOP_fff_f): New macro.
25280 (fma_test_data): New variable.
25281 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25282 (fma_towardzero_test_data): New variable.
25283 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25284 (fma_downward_test_data): New variable.
25285 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25286 (fma_upward_test_data): New variable.
25287 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25289 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25290 (struct test_c_c_data): New type.
25291 (RUN_TEST_LOOP_c_c): New macro.
25292 (cacos_test_data): New variable.
25293 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25294 (cacosh_test_data): New variable.
25295 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25296 (casin_test_data): New variable.
25297 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25298 (casinh_test_data): New variable.
25299 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25300 (catan_test_data): New variable.
25301 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25302 (catanh_test_data): New variable.
25303 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25304 (ccos_test_data): New variable.
25305 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25306 (ccosh_test_data): New variable.
25307 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25308 (cexp_test_data): New variable.
25309 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25310 (clog_test_data): New variable.
25311 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25312 (clog10_test_data): New variable.
25313 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25314 (conj_test_data): New variable.
25315 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25316 (cproj_test_data): New variable.
25317 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25318 (csin_test_data): New variable.
25319 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25320 (csinh_test_data): New variable.
25321 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25322 (csqrt_test_data): New variable.
25323 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25324 (ctan_test_data): New variable.
25325 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25326 (ctan_tonearest_test_data): New variable.
25327 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25328 (ctan_towardzero_test_data): New variable.
25329 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25330 (ctan_downward_test_data): New variable.
25331 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25332 (ctan_upward_test_data): New variable.
25333 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25334 (ctanh_test_data): New variable.
25335 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25336 (ctanh_tonearest_test_data): New variable.
25337 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25338 (ctanh_towardzero_test_data): New variable.
25339 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25340 (ctanh_downward_test_data): New variable.
25341 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25342 (ctanh_upward_test_data): New variable.
25343 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25344 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25347 * math/libm-test.inc (struct test_ff_f_data): New type.
25348 (struct test_ff_f_data_nexttoward): Likewise.
25349 (RUN_TEST_LOOP_2_f): New macro.
25350 (RUN_TEST_LOOP_ff_f): Likewise.
25351 (atan2_test_data): New variable.
25352 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25353 (copysign_test_data): New variable.
25354 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25355 (fdim_test_data): New variable.
25356 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25357 (fmax_test_data): New variable.
25358 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25359 (fmin_test_data): New variable.
25360 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25361 (fmod_test_data): New variable.
25362 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25363 (hypot_test_data): New variable.
25364 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25365 (nextafter_test_data): New variable.
25366 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25367 (nexttoward_test_data): New variable.
25368 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25369 (pow_test_data): New variable.
25370 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25371 (pow_tonearest_test_data): New variable.
25372 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25373 (pow_towardzero_test_data): New variable.
25374 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25375 (pow_downward_test_data): New variable.
25376 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25377 (pow_upward_test_data): New variable.
25378 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25379 (remainder_test_data): New variable.
25380 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25381 (scalb_test_data): New variable.
25382 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25383 * sysdeps/i386/fpu/libm-test-ulps: Update.
25385 2013-05-11 Joseph Myers <joseph@codesourcery.com>
25387 * math/libm-test.inc (fma_test): Use max_value instead of local
25389 (nextafter_test): Likewise.
25391 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25392 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25393 (acos_downward_test_data): New variable.
25394 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25395 (acos_upward_test_data): New variable.
25396 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25397 (acosh_test_data): New variable.
25398 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25399 (asin_test_data): New variable.
25400 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25401 (asin_tonearest_test_data): New variable.
25402 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25403 (asin_towardzero_test_data): New variable.
25404 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25405 (asin_downward_test_data): New variable.
25406 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25407 (asin_upward_test_data): New variable.
25408 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25409 (asinh_test_data): New variable.
25410 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25411 (atan_test_data): New variable.
25412 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25413 (atanh_test_data): New variable.
25414 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25415 (cbrt_test_data): New variable.
25416 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25417 (ceil_test_data): New variable.
25418 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25419 (cos_test_data): New variable.
25420 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25421 (cos_tonearest_test_data): New variable.
25422 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25423 (cos_towardzero_test_data): New variable.
25424 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25425 (cos_downward_test_data): New variable.
25426 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25427 (cos_upward_test_data): New variable.
25428 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25429 (cosh_test_data): New variable.
25430 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25431 (cosh_tonearest_test_data): New variable.
25432 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25433 (cosh_towardzero_test_data): New variable.
25434 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25435 (cosh_downward_test_data): New variable.
25436 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25437 (cosh_upward_test_data): New variable.
25438 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25439 (erf_test_data): New variable.
25440 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25441 (erfc_test_data): New variable.
25442 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25443 (exp_test_data): New variable.
25444 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25445 (exp_tonearest_test_data): New variable.
25446 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25447 (exp_towardzero_test_data): New variable.
25448 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25449 (exp_downward_test_data): New variable.
25450 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25451 (exp_upward_test_data): New variable.
25452 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25453 (exp10_test_data): New variable.
25454 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25455 (exp2_test_data): New variable.
25456 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25457 (expm1_test_data): New variable.
25458 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25459 (fabs_test_data): New variable.
25460 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25461 (floor_test_data): New variable.
25462 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25463 (j0_test_data): New variable.
25464 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25465 (j1_test_data): New variable.
25466 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25467 (log_test_data): New variable.
25468 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25469 (log10_test_data): New variable.
25470 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25471 (log1p_test_data): New variable.
25472 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25473 (log2_test_data): New variable.
25474 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25475 (logb_test_data): New variable.
25476 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25477 (logb_downward_test_data): New variable.
25478 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25479 (nearbyint_test_data): New variable.
25480 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25481 (rint_test_data): New variable.
25482 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25483 (rint_tonearest_test_data): New variable.
25484 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25485 (rint_towardzero_test_data): New variable.
25486 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25487 (rint_downward_test_data): New variable.
25488 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25489 (rint_upward_test_data): New variable.
25490 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25491 (round_test_data): New variable.
25492 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25493 (sin_test_data): New variable.
25494 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25495 (sin_tonearest_test_data): New variable.
25496 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25497 (sin_towardzero_test_data): New variable.
25498 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25499 (sin_downward_test_data): New variable.
25500 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25501 (sin_upward_test_data): New variable.
25502 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25503 (sinh_test_data): New variable.
25504 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25505 (sinh_tonearest_test_data): New variable.
25506 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25507 (sinh_towardzero_test_data): New variable.
25508 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25509 (sinh_downward_test_data): New variable.
25510 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25511 (sinh_upward_test_data): New variable.
25512 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25513 (sqrt_test_data): New variable.
25514 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25515 (tan_test_data): New variable.
25516 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25517 (tan_tonearest_test_data): New variable.
25518 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25519 (tan_towardzero_test_data): New variable.
25520 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25521 (tan_downward_test_data): New variable.
25522 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25523 (tan_upward_test_data): New variable.
25524 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25525 (tanh_test_data): New variable.
25526 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25527 (tgamma_test_data): New variable.
25528 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25529 (trunc_test_data): New variable.
25530 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25531 (y0_test_data): New variable.
25532 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25533 (y1_test_data): New variable.
25534 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25535 (significand_test_data): New variable.
25536 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25538 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25541 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25543 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25545 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25547 2013-05-10 Andreas Jaeger <aj@suse.de>
25550 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25551 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25553 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25555 * math/gen-libm-test.pl (adjust_arg): New function.
25556 (special_functions): Handle generating output in both functions
25558 (parse_args): Likewise.
25559 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25560 $in_func argument to parse_args.
25561 * math/libm-test.inc (struct test_f_f_data): New type.
25562 (IF_ROUND_INIT_): New macro.
25563 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25564 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25565 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25566 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25567 (ROUND_RESTORE_): Likewise.
25568 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25569 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25570 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25571 (ROUND_RESTORE_FE_UPWARD): Likewise.
25572 (RUN_TEST_LOOP_f_f): New macro.
25573 (acos_test_data): New variable.
25574 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25575 (acos_tonearest_test_data): New variable.
25576 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25578 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25580 * benchtests/bench-skeleton.c (startup): Fix coding style.
25582 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25585 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25586 negative infinity argument.
25587 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25588 negative infinity argument.
25589 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25590 negative infinity argument.
25591 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25594 2013-05-10 Florian Weimer <fweimer@redhat.com>
25596 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25597 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25598 * iconv/iconv_prog.c (main): Likewise.
25599 * locale/programs/charmap-dir.c (charmap_readdir)
25600 (fopen_uncompressed): Likewise.
25601 * locale/programs/locfile.c (siblings_uncached)
25602 (write_locale_data): Use lstat64 instead of lstat.
25603 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25606 2013-05-10 Andreas Jaeger <aj@suse.de>
25609 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25611 Include <locale.h>.
25613 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25615 * elf/dl-close.c (_dl_close_worker): Add comments.
25617 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25620 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25622 (__ieee754_rem_pio2l): Update comments.
25625 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25627 (__ieee754_rem_pio2l): Update comments.
25629 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25630 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25632 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25635 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25636 (M_PI_34_LOG10El): Likewise.
25637 (M_PI2_LOG10El): Likewise.
25638 (M_PI4_LOG10El): Likewise.
25639 (M_PI_LOG10El): Likewise.
25641 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25645 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25647 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25648 (MINUS_ZERO_INIT): Likewise.
25649 (PLUS_INFTY_INIT): Likewise.
25650 (MINUS_INFTY_INIT): Likewise.
25651 (QNAN_VALUE_INIT): Likewise.
25652 (MAX_VALUE_INIT): Likewise.
25653 (MIN_VALUE_INIT): Likewise.
25654 (MIN_SUBNORM_VALUE_INIT): Likewise.
25655 (plus_zero): Initialize with PLUS_ZERO_INIT.
25656 (minus_zero): Initialize with MINUS_ZERO_INIT.
25657 (plus_infty): Initialize with PLUS_INFTY_INIT.
25658 (minus_infty): Initialize with MINUS_INFTY_INIT.
25659 (qnan_value): Initialize with QNAN_VALUE_INIT.
25660 (max_value): Initialize with MAX_VALUE_INIT.
25661 (min_value): Initialize with MIN_VALUE_INIT.
25662 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25664 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25665 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25666 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25667 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25669 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25670 (RUN_TEST_2_f): Likewise.
25671 (RUN_TEST_ff_f): Likewise.
25672 (RUN_TEST_fi_f): Likewise.
25673 (RUN_TEST_fl_f): Likewise.
25674 (RUN_TEST_fff_f): Likewise.
25675 (RUN_TEST_c_f): Likewise.
25676 (RUN_TEST_f_f1): Likewise.
25677 (RUN_TEST_fF_f1): Likewise.
25678 (RUN_TEST_fI_f1): Likewise.
25679 (RUN_TEST_ffI_f1): Likewise.
25680 (RUN_TEST_c_c): Likewise.
25681 (RUN_TEST_cc_c): Likewise.
25682 (RUN_TEST_f_i): Likewise.
25683 (RUN_TEST_f_i_tg): Likewise.
25684 (RUN_TEST_ff_i_tg): Likewise.
25685 (RUN_TEST_f_b): Likewise.
25686 (RUN_TEST_f_b_tg): Likewise.
25687 (RUN_TEST_f_l): Likewise.
25688 (RUN_TEST_f_L): Likewise.
25689 (RUN_TEST_sincos): Likewise.
25690 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25691 whether to show exceptions. Do not include ");\n" in return
25693 (special_functions): Output call to RUN_TEST_sincos instead of
25694 check_float calls. Update calls to new_test.
25695 (parse_args): Output call to single RUN_TEST_* macro instead of
25696 check_* calls and other assignments. Update calls to new_test.
25702 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25703 input to result for tgamma overflow.
25704 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25705 (gamma_coeff): New variable.
25706 (NCOEFF): New macro.
25707 (gamma_positive): New function.
25708 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25709 underflow here. Use gamma_positive instead of exp (lgamma) for
25711 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25712 (gamma_coeff): New variable.
25713 (NCOEFF): New macro.
25714 (gammaf_positive): New function.
25715 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25716 underflow here. Use gamma_positive instead of exp (lgamma) for
25718 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25719 (gamma_coeff): New variable.
25720 (NCOEFF): New macro.
25721 (gammal_positive): New function.
25722 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25723 underflow here. Use gamma_positive instead of exp (lgamma) for
25725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25726 (gamma_coeff): New variable.
25727 (NCOEFF): New macro.
25728 (gammal_positive): New function.
25729 (__ieee754_gammal_r): Handle positive infinity, overflow and
25730 underflow here. Handle NaN the same as positive infinity. Remove
25731 check x < 0xffffffff for negative integers. Use gamma_positive
25732 instead of exp (lgamma) for other arguments.
25733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25734 (gamma_coeff): New variable.
25735 (NCOEFF): New macro.
25736 (gammal_positive): New function.
25737 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25738 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25739 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25740 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25743 * sysdeps/generic/math_private.h (__gamma_productf): New
25745 (__gamma_product): Likewise.
25746 (__gamma_productl): Likewise.
25747 * math/Makefile (libm-calls): Add gamma_product.
25748 * math/libm-test.inc (tgamma_test): Add more tests.
25749 * sysdeps/i386/fpu/libm-test-ulps: Update.
25750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25752 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25754 * benchtests/bench-skeleton.c (main): Preheat CPU.
25756 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25758 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25760 2013-05-07 Roland McGrath <roland@hack.frob.com>
25762 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25763 and _dl_skip_args_internal.
25765 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25767 * manual/message.texi (Message Translation): Talk about users.
25768 Message to key mapping impacts design.
25770 2013-05-06 Roland McGrath <roland@hack.frob.com>
25772 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25774 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25776 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25777 * sysdeps/wordsize-64/glob64.c: ... here.
25779 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25780 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25783 * debug/getlogin_r_chk.c: Moved to ...
25784 * login/getlogin_r_chk.c: ... here.
25785 * debug/Makefile (routines): Move getlogin_r_chk to ...
25786 * login/Makefile (routines): ... here.
25787 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25788 * login/Versions (libc: GLIBC_2.4): ... here.
25790 * io/poll.c (__poll): Renamed from poll.
25791 Add libc_hidden_def.
25792 (poll): Define as weak alias.
25794 * debug/ptsname_r_chk.c: Moved to ...
25795 * login/ptsname_r_chk.c: ... here.
25796 * debug/Makefile (routines): Move ptsname_r_chk to ...
25797 * login/Makefile (routines): ... here.
25798 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25799 * login/Versions (libc: GLIBC_2.4): ... here.
25801 * posix/getlogin.c: Moved to ...
25802 * login/getlogin.c: ... here.
25803 * posix/getlogin_r.c: Moved to ...
25804 * login/getlogin_r.c: ... here.
25805 * posix/getlogin_r.c: Moved to ...
25806 * login/getlogin_r.c: ... here.
25807 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25808 * login/Makefile (routines): ... here.
25809 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25810 * login/Versions (libc: GLIBC_2.0): ... here.
25812 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25813 (setrlimit): Define as weak alias.
25815 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25816 Call __ names for open, ftruncate, and close.
25817 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25818 (truncate): Define as weak alias.
25820 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25822 * math/gen-libm-test.pl (parse_args): Initialize x before each
25823 test of frexp, modf and remquo.
25825 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25826 test signgam value.
25828 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25832 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25834 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25836 2013-05-06 Roland McGrath <roland@hack.frob.com>
25838 * elf/dl-writev.h: New file.
25839 * elf/dl-misc.c: Include it.
25840 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25841 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25843 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25845 * math/libm-test.inc (noXFails): Remove variable.
25846 (noXPasses): Likewise.
25847 (BUILD_COMPLEX_INT): Remove macro.
25848 (print_screen): Remove xfail argument.
25849 (print_screen_max_error): Likewise.
25850 (update_stats): Likewise.
25851 (print_max_error): Likewise. Update calls to other affected
25853 (print_complex_max_error): Likewise.
25854 (test_single_exception): Update calls to print_screen.
25855 (test_single_errno): Likewise.
25856 (check_float_internal): Remove xfail argument. Update calls to
25857 other affected functions.
25858 (check_float): Likewise.
25859 (check_complex): Likewise.
25860 (check_int): Likewise.
25861 (check_long): Likewise.
25862 (check_bool): Likewise.
25863 (check_longlong): Likewise.
25864 (main): Don't print noXFails and noXPasses.
25865 * math/gen-libm-test.pl (top level): Don't mention expected
25866 failure handling in comment.
25867 (new_test): Don't handle expected failures.
25868 (parse_args): Don't mention expected failure handling in comment.
25869 (generate_testfile): Don't handle expected failures.
25870 (parse_ulps): Likewise.
25871 (print_ulps_file): Likewise.
25872 (get_failure): Remove function.
25873 (output_test): Don't handle expected failures.
25874 * make/README.libm-test: Don't mention expected failure handling.
25876 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25877 (minus_zero): Likewise.
25878 (plus_infty): Likewise.
25879 (minus_infty): Likewise.
25880 (qnan_value): Likewise.
25881 (max_value): Likewise.
25882 (min_value): Likewise.
25883 (min_subnorm_value): Likewise.
25884 (initialize): Do not initialize those variables dynamically.
25886 2013-05-03 Roland McGrath <roland@hack.frob.com>
25888 * io/open.c (__open_2): Moved to ...
25889 * io/open_2.c: ... this new file.
25890 * io/open64.c (__open64_2): Moved to ...
25891 * io/open64_2.c: ... this new file.
25892 * io/openat.c (__openat_2): Moved to ...
25893 * io/openat_2.c: ... this new file.
25894 * io/openat64.c (__openat64_2): Moved to ...
25895 * io/openat64_2.c: ... this new file.
25896 * io/Makefile (routines): Add them.
25897 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25898 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25899 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25900 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25901 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25902 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25903 (__openat64): Add hidden_ver.
25904 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25905 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25907 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25908 Separately conditionalize setting of GLRO(dl_sysinfo) so
25909 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25910 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25912 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25914 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25917 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25918 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25919 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25920 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25921 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25923 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25925 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25926 test signgam value.
25928 * math/libm-test.inc (hypot_test): Do not use
25929 IGNORE_ZERO_INF_SIGN.
25931 2013-05-03 Andreas Jaeger <aj@suse.de>
25933 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25935 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25936 (PF_MAX): Adjust for VSOCK change.
25938 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25942 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25945 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25946 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25947 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25949 2013-05-02 David S. Miller <davem@davemloft.net>
25951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25953 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25955 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25957 2013-05-01 Roland McGrath <roland@hack.frob.com>
25959 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25961 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25964 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25965 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25966 Use __attribute__ ((__gnu_inline__)).
25967 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25968 Don't use __attribute__ ((__gnu_inline__)).
25970 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25973 * math/s_catan.c (__catan): Handle small real or imaginary part of
25974 input specially to avoid spurious underflow.
25975 * math/s_catanf.c (__catanf): Likewise.
25976 * math/s_catanh.c (__catanh): Likewise.
25977 * math/s_catanhf.c (__catanhf): Likewise.
25978 * math/s_catanhl.c (__catanhl): Likewise.
25979 * math/s_catanl.c (__catanl): Likewise.
25980 * math/libm-test.inc (catan_test): Add more tests.
25981 (catanh_test): Likewise.
25982 * sysdeps/i386/fpu/libm-test-ulps: Update.
25983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25985 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25989 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25992 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25993 accurately for denominator in atan2.
25994 * math/s_catanf.c (__catanf): Likewise.
25995 * math/s_catanh.c (__catanh): Likewise.
25996 * math/s_catanhf.c (__catanhf): Likewise.
25997 * math/s_catanhl.c (__catanhl): Likewise.
25998 * math/s_catanl.c (__catanl): Likewise.
25999 * math/libm-test.inc (catan_test): Add more tests.
26000 (catanh_test): Likewise.
26001 * sysdeps/i386/fpu/libm-test-ulps: Update.
26002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26004 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26006 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26008 * benchtests/Makefile (bench): Remove slow benchmarks.
26009 * benchtests/atan-inputs: Add slow benchmark inputs.
26010 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26011 (BENCH_FUNC): Accept variant offset.
26013 * benchtests/bench-skeleton.c (main): Run benchmark for each
26015 * benchtests/cos-inputs: Add slow benchmark inputs.
26016 * benchtests/exp-inputs: Likewise.
26017 * benchtests/pow-inputs: Likewise.
26018 * benchtests/sin-inputs: Likewise.
26019 * benchtests/slowatan-inputs: Remove.
26020 * benchtests/slowatan.c: Remove.
26021 * benchtests/slowcos-inputs: Remove.
26022 * benchtests/slowcos.c: Remove.
26023 * benchtests/slowexp-inputs: Remove.
26024 * benchtests/slowexp.c: Remove.
26025 * benchtests/slowpow-inputs: Remove.
26026 * benchtests/slowpow.c: Remove.
26027 * benchtests/slowsin-inputs: Remove.
26028 * benchtests/slowsin.c: Remove.
26029 * benchtests/slowtan-inputs: Remove.
26030 * benchtests/slowtan.c: Remove.
26031 * benchtests/tan-inputs: Add slow benchmark inputs.
26032 * scripts/bench.pl: Parse comments and directives.
26034 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26036 ($(objpfx)bench-%.c): Remove *-ITER.
26037 * benchtests/bench-modf.c: Remove definition of ITER.
26038 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26039 (main): Loop for DURATION seconds instead of fixed number of
26041 * scripts/bench.pl: Don't expect iterations in parameters.
26043 2013-04-29 Roland McGrath <roland@hack.frob.com>
26045 * io/fchdir.c (__fchdir): Renamed from fchdir.
26046 (fchdir): Define as weak alias.
26048 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26050 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26051 (ERRNO_EDOM): Likewise.
26052 (ERRNO_ERANGE): Likewise.
26053 (noErrnoTests): New variable.
26054 (init_max_error): Set errno to 0.
26055 (test_single_errno): New function.
26056 (test_errno): Likewise.
26057 (check_float_internal): Call test_errno. Set errno to 0.
26058 (check_complex): Refer to errno tests in comment.
26059 (check_int): Call test_errno. Set errno to 0.
26060 (check_long): Likewise.
26061 (check_bool): Likewise.
26062 (check_longlong): Likewise.
26063 (cos_test): Use ERRNO_* flags for errno tests instead of
26065 (expm1_test): Likewise.
26066 (fmod_test): Likewise.
26067 (ilogb_test): Likewise.
26068 (lgamma_test): Likewise.
26069 (pow_test): Likewise.
26070 (remainder_test): Likewise.
26071 (sin_test): Likewise.
26072 (tan_test): Likewise.
26073 (yn_test): Likewise.
26074 (initialize): Set errno to 0.
26075 (main): Print number of errno tests.
26076 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26078 2013-04-29 Andreas Jaeger <aj@suse.de>
26081 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26085 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26086 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26090 * stdlib/random.c (__initstate): Return NULL if
26094 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26095 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26098 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26102 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26104 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26105 of individual tests.
26106 (casin_test): Likewise.
26107 (casinh_test): Likewise.
26109 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26112 * math/s_catan.c (__catan): Handle arguments with large real or
26113 imaginary part separately without squaring.
26114 * math/s_catanf.c (__catanf): Likewise.
26115 * math/s_catanh.c (__catanh): Likewise.
26116 * math/s_catanhf.c (__catanhf): Likewise.
26117 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26119 (__catanhl): Handle arguments with large real or imaginary part
26120 separately without squaring.
26121 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26123 (__catanl): Handle arguments with large real or imaginary part
26124 separately without squaring.
26125 * math/libm-test.inc (catan_test): Add more tests.
26126 (catanh_test): Likewise.
26127 * sysdeps/i386/fpu/libm-test-ulps: Update.
26128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26130 2013-04-27 Andreas Jaeger <aj@suse.de>
26133 * stdlib/stdlib.h: Update guards for qecvt.
26134 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26137 2013-04-27 Allan McRae <allan@archlinux.org>
26139 * sysdeps/i386/fpu/libm-test-ulps: Update.
26141 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26144 * math/s_catan.c: Include <float.h>.
26145 (__catan): Ensure underflow exception occurs for underflowed
26147 * math/s_catanf.c: Include <float.h>.
26148 (__catanf): Ensure underflow exception occurs for underflowed
26150 * math/s_catanh.c: Include <float.h>.
26151 (__catanh): Ensure underflow exception occurs for underflowed
26153 * math/s_catanhf.c: Include <float.h>.
26154 (__catanhf): Ensure underflow exception occurs for underflowed
26156 * math/s_catanhl.c: Include <float.h>.
26157 (__catanhl): Ensure underflow exception occurs for underflowed
26159 * math/s_catanl.c: Include <float.h>.
26160 (__catanl): Ensure underflow exception occurs for underflowed
26162 * math/libm-test.inc (catan_test): Add more tests.
26163 (catanh_test): Likewise.
26166 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26167 underflowed result.
26168 * math/s_ccoshf.c (__ccoshf): Likewise.
26169 * math/s_ccoshl.c (__ccoshl): Likewise.
26170 * math/s_csin.c (__csin): Likewise.
26171 * math/s_csinf.c (__csinf): Likewise.
26172 * math/s_csinh.c (__csinh): Likewise.
26173 * math/s_csinhf.c (__csinhf): Likewise.
26174 * math/s_csinhl.c (__csinhl): Likewise.
26175 * math/s_csinl.c (__csinl): Likewise.
26176 * math/libm-test.inc (ccos_test): Add more tests.
26177 (ccosh_test): Likewise.
26178 (csin_test): Likewise.
26179 (csinh_test): Likewise.
26181 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26183 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26184 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26185 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26186 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26187 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26188 powerpc/power5+/fpu folders.
26189 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26192 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26196 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26198 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26199 additions to variable.
26200 [$(config-machine) = x86_64] (modules-names): Likewise.
26201 ($(objpfx)tst-audit3): Remove dependency.
26202 ($(objpfx)tst-audit3.out): Likewise.
26203 ($(objpfx)tst-audit4): Likewise.
26204 ($(objpfx)tst-audit4.out): Likewise.
26205 ($(objpfx)tst-audit5): Likewise.
26206 ($(objpfx)tst-audit5.out): Likewise.
26207 ($(objpfx)tst-audit6): Likewise.
26208 ($(objpfx)tst-audit6.out): Likewise.
26209 ($(objpfx)tst-audit7): Likewise.
26210 ($(objpfx)tst-audit7.out): Likewise.
26211 (tst-audit3-ENV): Remove variable.
26212 (tst-audit4-ENV): Likewise.
26213 (tst-audit5-ENV): Likewise.
26214 (tst-audit6-ENV): Likewise.
26215 (tst-audit7-ENV): Likewise.
26216 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26217 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26218 addition to variable.
26219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26222 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26223 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26224 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26225 tst-audit3, tst-audit4 and tst-audit5.
26226 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26227 tst-audit6 and tst-audit7.
26228 [$(subdir) = elf] (modules-names): Add audit modules for those
26230 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26231 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26232 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26233 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26234 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26235 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26236 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26237 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26238 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26239 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26240 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26241 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26242 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26243 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26244 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26245 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26247 [$(subdir) = elf && $(config-cflags-avx) = yes]
26248 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26249 [$(subdir) = elf && $(config-cflags-avx) = yes]
26250 (CFLAGS-tst-auditmod4a.c): Likewise.
26251 [$(subdir) = elf && $(config-cflags-avx) = yes]
26252 (CFLAGS-tst-auditmod4b.c): Likewise.
26253 [$(subdir) = elf && $(config-cflags-avx) = yes]
26254 (CFLAGS-tst-auditmod6b.c): Likewise.
26255 [$(subdir) = elf && $(config-cflags-avx) = yes]
26256 (CFLAGS-tst-auditmod6c.c): Likewise.
26257 [$(subdir) = elf && $(config-cflags-avx) = yes]
26258 (CFLAGS-tst-auditmod7b.c): Likewise.
26259 * elf/tst-audit3.c: Move to ...
26260 * sysdeps/x86_64/tst-audit3.c: ... here.
26261 * elf/tst-audit4.c: Move to ...
26262 * sysdeps/x86_64/tst-audit4.c: ... here.
26263 * elf/tst-audit5.c: Move to ...
26264 * sysdeps/x86_64/tst-audit5.c: ... here.
26265 * elf/tst-audit6.c: Move to ...
26266 * sysdeps/x86_64/tst-audit6.c: ... here.
26267 * elf/tst-audit7.c: Move to ...
26268 * sysdeps/x86_64/tst-audit7.c: ... here.
26269 * elf/tst-auditmod3a.c: Move to ...
26270 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26271 * elf/tst-auditmod3b.c: Move to ...
26272 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26273 * elf/tst-auditmod4a.c: Move to ...
26274 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26275 * elf/tst-auditmod4b.c: Move to ...
26276 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26277 * elf/tst-auditmod5a.c: Move to ...
26278 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26279 * elf/tst-auditmod5b.c: Move to ...
26280 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26281 * elf/tst-auditmod6a.c: Move to ...
26282 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26283 * elf/tst-auditmod6b.c: Move to ...
26284 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26285 * elf/tst-auditmod6c.c: Move to ...
26286 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26287 * elf/tst-auditmod7a.c: Move to ...
26288 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26289 * elf/tst-auditmod7b.c: Move to ...
26290 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26292 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26295 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26296 define unconditionally.
26297 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26298 define unconditionally.
26299 (INT8_C, INT16_C, etc.): Likewise.
26301 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26303 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26304 __ehdr_start with hidden visibility.
26306 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26308 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26310 * math/libm-test.inc (cos_test): Use accurate hex constants.
26311 (sincost_test): Likewise.
26313 2013-04-24 Joseph Myers <joseph@codesourcery.com>
26315 * math/libm-test.inc (catan_test): Add more tests.
26316 (catanh_test): Likewise.
26318 * math/s_catanf.c (__catanf): Use suffixed floating-point
26320 * math/s_catanhf.c (__catanhf): Likewise.
26321 * math/s_catanhl.c (__catanhl): Likewise.
26322 * math/s_catanl.c (__catanl): Likewise.
26325 * math/s_catan.c (__catan): Calculate imaginary part of result
26326 with log1p not log unless computing log of number close to 0.
26327 * math/s_catanf.c (__catanf): Likewise.
26328 * math/s_catanl.c (__catanl): Likewise.
26329 * math/s_catanh.c (__catanh): Calculate real part of result with
26330 log1p not log unless computing log of number close to 0.
26331 * math/s_catanhf.c (__catanhf): Likewise.
26332 * math/s_catanhl.c (__catanhl): Likewise.
26333 * math/libm-test.inc (catan_test): Add more tests.
26334 (catanh_test): Likewise.
26335 * sysdeps/i386/fpu/libm-test-ulps: Update.
26336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26338 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26340 * benchtests/Makefile: Mention files in which fast and slow
26341 paths of math functions are implemented.
26343 2013-04-23 Roland McGrath <roland@hack.frob.com>
26345 * sysdeps/posix/timespec_get.c: New file.
26347 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26349 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26351 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26353 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26354 powerpc/power5/fpu folders.
26355 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26356 * benchtests/Makefile: Add modf testcase.
26357 * benchtests/bench-modf.c: New file: Benchmark test for mo
26359 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26362 * time/Makefile (tests): Add tst-strptime-whitespace.
26363 * time/strptime_l.c (get_number): Use ISSPACE.
26364 (__strptime_internal): Likewise.
26365 * time/tst-strptime-whitespace.c: New test case.
26367 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26369 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26371 (_nss_files_init): Set it here.
26373 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26375 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26376 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26379 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26381 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26383 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26388 2013-04-21 David S. Miller <davem@davemloft.net>
26390 * po/ru.po: Update Russion translation from translation project.
26392 2013-04-17 Adam Conrad <adconrad@0c3.net>
26394 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26397 2013-04-17 Carlos O'Donell <carlos@redhat.com>
26399 * configure.in: Remove i386 configure warning. Remove i386 case.
26400 * configure: Regenerate.
26401 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26402 Add example to error message.
26403 * sysdeps/i386/configure: Regenerate.
26405 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26407 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26409 * benchtests/cos-inputs: New file.
26410 * benchtests/slowcos-inputs: New file.
26411 * benchtests/slowcos.c: New file.
26412 * benchtests/slowtan-inputs: New file.
26413 * benchtests/slowtan.c: New file.
26414 * benchtests/tan-inputs: New file.
26416 2013-04-16 Roland McGrath <roland@hack.frob.com>
26418 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26421 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26423 * benchtests/Makefile: Include cppflags-iterator.mk to add
26424 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26426 * Makefile.in (bench-clean): New target.
26427 * benchtests/Makefile (bench-clean): Likewise.
26429 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26431 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26433 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26435 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26437 2013-04-15 Andreas Schwab <schwab@suse.de>
26439 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26440 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26441 * nscd/pwdcache.c (cache_addpw): Likewise.
26442 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26445 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26447 * benchtests/Makefile (bench): Write all output to
26448 bench-out.tmp together.
26450 2013-04-15 Andreas Schwab <schwab@suse.de>
26452 * nscd/nscd.c (main): Don't fork again after closing files.
26454 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26456 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26458 * benchtests/Rules (bench-deps): Collect dependencies into a
26459 single variable. Add Makefile to dependencies.
26460 ($(objpfx)bench-%.c): Depend on bench-deps.
26462 2013-04-12 Roland McGrath <roland@hack.frob.com>
26463 Xavier Roche <roche+kml2@exalead.com>
26466 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26467 just that it's a file descriptor.
26468 * manual/llio.texi (Synchronizing AIO Operations): Update description
26469 for EBADF error from aio_fsync.
26471 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26473 * Rules (bench): Move target definition...
26474 * benchtests/Makefile: ... here.
26476 2013-04-11 Carlos O'Donell <carlos@redhat.com>
26478 * math/libm-test.inc (cos_test): Fix PI/2 test.
26479 (sincos_test): Likewise.
26480 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26481 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26483 2013-04-11 Andreas Schwab <schwab@suse.de>
26486 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26487 accept exponent character only when digits were seen.
26488 * stdio-common/Makefile (tests): Add bug26.
26489 * stdio-common/bug26.c: New file.
26492 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26495 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26497 * Makeconfig (rtld-prefix): Define built linker prefix.
26498 * Rules (run-bench): Use it.
26499 * math/Makefile (run-regen-ulps): Likewise.
26501 * Rules (bench): Remove eval.
26503 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26504 Roland McGrath <roland@hack.frob.com>
26505 Ondrej Bilka <neleai@seznam.cz>
26508 * time/getdate.c: Include ctype.h and alloca.h.
26509 (__getdate_r): Trim leading and trailing spaces of input.
26510 * time/tst-getdate.c (tests): Add tests with leading and
26513 2013-04-08 Roland McGrath <roland@hack.frob.com>
26516 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26517 when computing value.
26519 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26521 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26522 Use testrun.sh to run libm tests.
26525 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26527 2013-04-06 Marko Myllynen <myllynen@redhat.com>
26530 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26532 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26534 * Makefile.in (regen-ulps): New target.
26535 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26536 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26537 [ifneq (no,$(PERL)] (regen-ulps): New target.
26538 [ifeq (no,$(PERL)] (regen-ulps): New target.
26539 * math/libm-test.inc (ulps_file_name): Define.
26540 (output_dir): New variable.
26541 (options): Add "output-dir" option.
26542 (parse_opt): Handle 'o' case.
26543 (main): If output_dir is non-NULL use it as a prefix
26545 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26547 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26549 [BZ #10060, #10062]
26550 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26551 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26552 fail configure if __sync_val_compare_and_swap is not inlined.
26553 * sysdeps/i386/configure: Regenerate.
26554 * configure.in: Build for i686 when configured for i386.
26555 * configure: Regenerate.
26556 * README: Remove i386 reference.
26558 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26560 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26563 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26565 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26566 (lmsnanval): New variables.
26567 (F): Add conversion tests.
26568 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26569 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26571 * stdio-common/tstdiomisc.c (F): Properly collect individual
26574 [BZ #14686, #15336]
26575 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26576 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26577 Instead, use input NaN values or generate a qNaN by arithmetic
26578 operation. Also fix bugs to comply with the standard.
26579 * math/libm-test.inc (remainder_test): Add more tests.
26581 [BZ #15335, #15342]
26582 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26584 input NaN values or generate a qNaN by arithmetic operation.
26586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26589 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26592 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26595 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26596 underflowed result.
26597 * math/s_cexpf.c (__cexpf): Likewise.
26598 * math/s_cexpl.c (__cexpl): Likewise.
26599 * math/libm-test.inc (cexp_test): Add more tests.
26601 2013-04-03 Andreas Schwab <schwab@suse.de>
26604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26605 order arrays from heap if bigger than alloca cutoff.
26607 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26609 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26610 (SNAN_TESTS_double): Refer to GCC PR56831.
26611 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26614 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26616 * Rules (bench): Move bench.out after the run is complete.
26618 * Rules (bench): Echo currently running benchmark.
26620 * benchtests/Makefile (bench): Add atan and slowatan.
26621 * benchtests/atan-inputs: New file.
26622 * benchtests/slowatan-inputs: New file.
26623 * benchtests/slowatan.c: New file.
26625 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26626 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26630 * sysdeps/unix/sysv/linux/kernel-features.h
26631 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26632 __ASSUME_XFS_RESTRICTED_CHOWN.
26633 * sysdeps/unix/sysv/linux/pathconf.c
26634 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26635 Save and restore errno.
26637 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26640 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26641 arguments using __kernel_casinh.
26642 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26643 arguments using __kernel_casinhf.
26644 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26645 arguments using __kernel_casinhl.
26646 * math/libm-test.inc (cacosh_test): Add more tests.
26647 * sysdeps/i386/fpu/libm-test-ulps: Update.
26648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26650 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26652 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26653 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26655 * bench/Makefile (bench): Add sin and slowsin.
26656 * benchtests/sin-inputs: New file.
26657 * benchtests/slowsin-inputs: New file.
26658 * benchtests/slowsin.c: New file.
26660 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26661 (bench): Add slowexp and slowpow.
26662 (exp-ITER): Increase iterations.
26663 (pow-ITER): Likewise.
26664 * benchtests/exp-inputs: Change input.
26665 * benchtests/pow-inputs: Likewise.
26666 * benchtests/slowexp-inputs: New file.
26667 * benchtests/slowexp.c: New file.
26668 * benchtests/slowpow-inputs: New file.
26669 * benchtests/slowpow.c: New file.
26671 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26673 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26675 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26676 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26677 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26678 * benchtests/Makefile: Add rint benchtest.
26679 * benchtests/rint-inputs: Input for rint benchtest.
26681 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26683 * Versions.def (libm): Add GLIBC_2.18.
26684 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26685 hidden libm prototypes.
26686 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26687 * math/Makefile (libm-calls): Add s_issignaling.
26688 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26689 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26690 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26692 * math/math.h [__USE_GNU] (issignaling): New macro.
26693 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26694 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26695 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26696 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26699 * manual/arith.texi (issignaling): New section.
26700 * manual/libm-err-tab.pl (@all_functions): Update comment.
26701 * math/gen-libm-test.pl (parse_args): Apply special handling for
26703 * math/libm-test.inc (print_float, issignaling_test): New
26705 (check_float_internal): Add issignaling checks.
26706 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26707 default definition.
26708 * sysdeps/powerpc/math-tests.h: New file.
26709 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26711 * math/test-snan.c (TEST_FUNC): Likewise.
26713 2013-03-30 David S. Miller <davem@davemloft.net>
26715 * po/de.po: Update from translation team.
26717 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26720 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26721 imaginary part less than 1.0 and real part less than 0.5
26723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26725 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26726 (cacos_test): Add more tests.
26727 (casin_test): Likewise.
26728 (casinh_test): Likewise.
26729 * sysdeps/i386/fpu/libm-test-ulps: Update.
26730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26732 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26734 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26735 ONE with its value.
26737 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26738 (__pow_mp): Replace ONE and MONE with their values.
26739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26741 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26742 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26743 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26746 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26748 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26749 (__pow_mp): Replace ZERO and MZERO with their values.
26750 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26754 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26755 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26758 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26760 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26762 2013-03-28 Roland McGrath <roland@hack.frob.com>
26764 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26765 Declare with __attribute__ ((weak)).
26766 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26767 Call __call_tls_dtors only if it's not NULL.
26769 2013-03-28 Roland McGrath <roland@hack.frob.com>
26771 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26772 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26773 magic __ehdr_start linker symbol if it's defined.
26774 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26775 them up here if it was already done.
26777 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26778 (_dl_aux_init): Use const in cast when setting it.
26779 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26780 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26781 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26783 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26785 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26786 * csu/libc-tls.c: Nor here.
26787 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26789 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26790 (__libc_message): Never call vsyslog.
26792 2013-03-28 Alan Modra <amodra@gmail.com>
26794 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26796 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26799 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26802 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26806 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26809 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26810 Don't add gid passed as argument.
26812 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26814 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26817 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26818 imaginary part between 1.0 and 1.5 and real part less than 0.5
26820 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26821 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26822 * math/libm-test.inc (cacos_test): Add more tests.
26823 (casin_test): Likewise.
26824 (casinh_test): Likewise.
26825 * sysdeps/i386/fpu/libm-test-ulps: Update.
26826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26828 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26830 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26833 (denorm): Likewise.
26834 (__dbl_mp): Likewise.
26835 (add_magnitudes): Likewise.
26836 (sub_magnitudes): Likewise.
26844 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26846 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26847 (__dubcos): Likewise.
26848 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26849 (__ieee754_acos): Likewise.
26850 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26851 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26852 (__exp1): Likewise.
26853 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26856 (my_log2): Likewise.
26857 (checkint): Likewise.
26858 * sysdeps/ieee754/dbl-64/e_remainder.c
26859 (__ieee754_remainder): Likewise.
26860 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26862 (bsloww): Likewise.
26863 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26865 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26866 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26867 MANTISSA_STORE_T to store computations on mantissa. Use
26868 macros for rounding and division.
26869 (denorm): Likewise.
26870 (__dbl_mp): Likewise.
26871 (add_magnitudes): Likewise.
26872 (sub_magnitudes): Likewise.
26875 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26876 powers of two in terms of TWOPOW macro.
26877 (mp_no): Make type of mantissa as MANTISSA_T.
26878 [!RADIXI]: Define RADIXI.
26879 [!TWO52]: Define TWO52.
26880 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26882 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26884 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26885 llroundl symbol when building for PPC32.
26887 2013-03-24 Mark H Weaver <mhw@netris.org>
26889 * manual/arith.texi (Normalization Functions): Fix prototypes for
26890 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26892 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26896 high value to check if expl overflow.
26897 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26898 to check for underflow and overflow.
26899 * math/libm-test.inc: Add exp test.
26901 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26904 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26907 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26909 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26912 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26914 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26915 wrap blocks consisting of several statements.
26917 * sysdeps/generic/math-tests.h: New file.
26918 * sysdeps/i386/fpu/math-tests.h: Likewise.
26919 * math/test-snan.c: Include it.
26920 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26922 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26925 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26926 (__ieee754_j0l): Do not improve calculations using cos of twice
26927 input for inputs above LDBL_MAX / 2.0L.
26928 (__ieee754_y0l): Likewise.
26929 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26930 (__ieee754_j1l): Do not improve calculations using cos of twice
26931 input for inputs above LDBL_MAX / 2.0L.
26932 (__ieee754_y1l): Likewise.
26933 * math/libm-test.inc (j0_test): Add another test.
26934 (j1_test): Likewise.
26935 (y0_test): Likewise.
26936 (y1_test): Likewise.
26937 * sysdeps/i386/fpu/libm-test-ulps: Update.
26939 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26941 * Rules ($(objpfx)bench-%.c): Include code from a C source
26944 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26947 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26948 imaginary part 1.0 and real part less than 0.5 specially.
26949 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26950 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26951 * math/libm-test.inc (cacos_test): Add more tests.
26952 (casin_test): Likewise.
26953 (casinh_test): Likewise.
26954 * sysdeps/i386/fpu/libm-test-ulps: Update.
26955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26957 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26959 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26960 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26962 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26964 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26965 * config.make.in (config-cflags-sse4): Remove variable.
26966 (config-cflags-avx): Likewise.
26967 (config-cflags-sse2avx): Likewise.
26968 (config-cflags-novzeroupper): Likewise.
26969 (config-asflags-i686): Likewise.
26970 (have-mfma4): Likewise.
26971 (have-as-vis3): Likewise.
26973 * configure.in (MIG): Do not AC_SUBST.
26974 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26975 (libc_cv_cc_sse4): Do not AC_SUBST.
26976 (libc_cv_cc_avx): Likewise.
26977 (libc_cv_cc_sse2avx): Likewise.
26978 (libc_cv_cc_novzeroupper): Likewise.
26979 (libc_cv_cc_fma4): Likewise.
26980 (libc_cv_as_i686): Likewise.
26981 (libc_cv_sparc_as_vis3): Likewise.
26982 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26984 (config-asflags-i686): Likewise.
26985 (config-cflags-avx): Likewise.
26986 (config-cflags-sse2avx): Likewise.
26987 (have-mfma4): Likewise.
26988 (config-cflags-novzeroupper): Likewise.
26989 * sysdeps/mach/configure.in (MIG): Likewise.
26990 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26991 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26993 (config-cflags-avx): Likewise.
26994 (config-cflags-sse2avx): Likewise.
26995 (have-mfma4): Likewise.
26996 (config-cflags-novzeroupper): Likewise.
26997 * configure: Regenerated.
26998 * sysdeps/i386/configure: Likewise.
26999 * sysdeps/mach/configure: Likewise.
27000 * sysdeps/sparc/configure: Likewise.
27001 * sysdeps/x86_64/configure: Likewise.
27003 2013-03-20 Roland McGrath <roland@hack.frob.com>
27006 * locale/programs/localedef.c (options): Put N_ translation marker
27007 on argument names, not just descriptions.
27009 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27011 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27013 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27016 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27018 2013-03-19 Roland McGrath <roland@hack.frob.com>
27020 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27021 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27022 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27023 [!BEFORE_ABORT] (before_abort): New function.
27024 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27025 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27026 (writev_for_fatal): New function.
27027 (WRITEV_FOR_FATAL): New macro; call that.
27028 (backtrace_and_maps): New function.
27029 (BEFORE_ABORT): New macro; call that.
27030 (struct str_list): Type removed.
27031 (__libc_message, __libc_fatal): Functions removed.
27032 Include <sysdeps/posix/libc_fatal.c> instead.
27034 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27036 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27038 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27041 2013-03-19 Andreas Schwab <schwab@suse.de>
27043 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27044 * sysdeps/gnu/configure: Regenerate.
27046 * configure.in: Substitute libc_cv_rtlddir.
27047 * configure: Regenerate.
27048 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27049 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27050 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27051 * elf/Makefile (install-others, CFLAGS-interp.c)
27052 (ldso_install, common-ldd-rewrite): Likewise.
27053 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27054 $(inst_slibdir)/$(rtld-installed-name).
27055 * scripts/rellns-sh: Add -p option.
27056 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27059 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27061 * manual/nptl.texi: Renamed to ...
27062 * manual/threads.texi: ... this.
27063 * manual/Makefile (chapters): Update.
27065 2013-03-18 Roland McGrath <roland@hack.frob.com>
27068 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27069 on argument names, not just descriptions.
27070 * malloc/memusagestat.c (options): Likewise.
27071 * nss/getent.c (options): Likewise.
27073 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27076 * iconv/iconv_prog.c (options): Put N_ translation marker
27077 on argument names, not just descriptions.
27078 * iconv/iconvconfig.c (options): Likewise.
27080 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27082 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27083 implementation which is faster on all x86_64 architectures.
27084 Tested on AMD, Intel Nehalem, SNB, IVB.
27085 * sysdeps/x86_64/strnlen.S: Likewise.
27087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27088 Remove all multiarch strlen and strnlen versions.
27089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27090 Remove strlen and strnlen related parts.
27092 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27093 Inline strlen part.
27094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27096 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27097 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27098 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27099 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27100 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27101 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27103 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27105 * manual/memory.texi (Malloc Tunable Parameters):
27106 Sort parameters alphabetically. Add comments for missing entries.
27108 2013-03-17 David S. Miller <davem@davemloft.net>
27110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27112 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27115 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27116 for arguments at most half maximum finite value.
27117 * math/libm-test.inc (j0_test): Add more tests.
27118 (j1_test): Likewise.
27119 (y0_test): Likewise.
27120 (y1_test): Likewise.
27121 * sysdeps/i386/fpu/libm-test-ulps: Update.
27122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27125 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27126 1 / x and functions P and Q for arguments above 0x1p256L.
27127 (__ieee754_y0l): Likewise.
27128 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27129 (__ieee754_y1l): Likewise.
27130 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27131 (j1_test): Likewise.
27132 (y0_test): Likewise.
27133 (y1_test): Likewise.
27135 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27137 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27140 2013-03-15 Roland McGrath <roland@hack.frob.com>
27142 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27143 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27144 zero since it's initialized to EXEC_PAGESIZE.
27146 * sysdeps/unix/sysv/linux/ldsodefs.h
27147 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27148 * sysdeps/generic/ldsodefs.h: ... here.
27150 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27152 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27154 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27156 * math/test-snan.c: Renamed from
27157 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27158 * math/Makefile (tests): Add test-snan.
27159 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27162 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27163 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27165 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27166 __builtin_nan family of functions.
27167 * math/libm-test.inc (initialize): Initialize qnan_value with
27168 __builtin_nan family of functions.
27169 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27171 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27173 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27174 storage class. Initialize qNaN_var and sNaN_var with
27175 __builtin_nan and __builtin_nans families of functions,
27178 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27179 (sqrt_test): Remove duplicate test with qNaN input.
27180 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27181 (round_test, signbit_test, significand_test): Note missing +/-Inf
27182 as well as qNaN tests.
27184 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27185 qNaN_var. Fix a few strings, too.
27186 * math/libm-test.inc (nan_value): Rename to qnan_value.
27187 * math/gen-libm-test.pl (%beautify): Adjust to that.
27188 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27189 * math/test-misc.c (main): Likewise.
27190 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27191 to __qnan_bytes, and __qnan_union, respectively.
27192 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27194 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27195 and lqnanval, respectively.
27196 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27197 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27198 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27199 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27201 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27202 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27205 * math/test-misc.c (main): Fix copy'n'pastos.
27206 * misc/tst-efgcvt.c (special): Likewise.
27208 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27209 Remove declarations.
27211 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27213 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27214 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27215 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27216 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27218 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27220 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27221 macro to return vdso values correctly in IFUNC implementations.
27222 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27223 Optimization by using IFUNC.
27225 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27226 Richard Henderson <rth@redhat.com>
27227 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27229 * Makefile.in (bench): New target.
27230 * NEWS: Mention the benchmark framework.
27231 * Rules (bench): Likewise.
27232 (binaries-bench): Generate binaries for functions to
27234 * benchtests/Makefile: New makefile for benchmark tests.
27235 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27237 * benchtests/exp-inputs: New input file for EXP function.
27238 * benchtests/pow-inputs: New input file for POW function.
27239 * scripts/bench.pl: New script to generate source files for
27240 benchmark programs.
27242 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27244 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27245 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27246 computations on mantissa. Use macros for rounding and
27248 (denorm): Likewise.
27249 (__dbl_mp): Likewise.
27250 (add_magnitudes): Likewise.
27251 (sub_magnitudes): Likewise.
27254 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27255 powers of two in terms of TWOPOW macro.
27256 (mp_no): Make type of mantissa as MANTISSA_T.
27257 [!RADIXI]: Define RADIXI.
27258 [!TWO52]: Define TWO52.
27259 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27261 * manual/nptl.texi (cindex): Modify threads to pthreads.
27263 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27265 * sysdeps/x86_64/preconfigure: Regenerated.
27267 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27270 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27272 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27273 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27275 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27276 * math/libm-test.inc (j0_test): Do not allow one spurious
27277 underflow exception.
27278 (y1_test): Likewise.
27280 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27282 * manual/Makefile (chapters): Add nptl.
27283 * manual/debug.texi (Debugging Support): Add link to Threads
27285 * manual/nptl.texi: New file.
27287 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27289 2013-03-14 Petr Baudis <pasky@ucw.cz>
27291 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27292 for non-NULL pointer before the memory validity test. Pointed
27293 out by Holger Brunck <holger.brunck@keymile.com>.
27295 2013-03-13 Andreas Schwab <schwab@suse.de>
27297 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27300 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27302 * timezone/zic.c: Update from tzcode 2013b.
27304 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27306 * manual/install.texi (Configuring and compiling):
27307 Mention i686 and i586.
27308 * INSTALL: Regenerate.
27310 2013-03-12 Roland McGrath <roland@hack.frob.com>
27312 * sysdeps/init_array/elf-init.c: New file.
27314 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27315 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27317 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27318 __gmon_start__ as global, but as static with a .preinit_array pointer.
27319 * sysdeps/init_array/gmon-start.c: New file. Use that.
27320 * sysdeps/init_array/crti.S: New file, empty except for comments.
27321 * sysdeps/init_array/crtn.S: Likewise.
27323 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
27325 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27328 Remove Prefer_SSE_for_memop.
27329 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27330 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27331 HAS_PREFER_SSE_FOR_MEMOP.
27332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27335 Remove bzero, memset ifunc support.
27336 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27337 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27338 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27339 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27341 2013-03-11 Andreas Schwab <schwab@suse.de>
27344 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27347 (GLIBC_2.16): Remove pthread_atfork.
27349 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27351 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27352 (ptestcases.h): Likewise.
27354 2013-03-08 Roland McGrath <roland@hack.frob.com>
27356 * Makeconfig ($(common-objpfx)config.status): Depend on
27357 sysdeps/*/preconfigure{,.in} too.
27359 2013-03-08 Joseph Myers <joseph@codesourcery.com>
27361 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27362 (__free_hook): Use void * instead of __malloc_ptr_t.
27363 (__malloc_hook): Likewise.
27364 (__realloc_hook): Likewise.
27365 (__memalign_hook): Likewise.
27366 (__after_morecore_hook): Likewise.
27367 * malloc/arena.c (save_malloc_hook): Likewise.
27368 (save_free_hook): Likewise.
27369 * malloc/hooks.c (malloc_hook_ini): Likewise.
27370 (realloc_hook_ini): Likewise.
27371 (memalign_hook_ini): Likewise.
27372 * malloc/malloc.c (malloc_hook_ini): Likewise.
27373 (realloc_hook_ini): Likewise.
27374 (memalign_hook_ini): Likewise.
27375 (__free_hook): Likewise.
27376 (__malloc_hook): Likewise.
27377 (__realloc_hook): Likewise.
27378 (__memalign_hook): Likewise.
27379 (__libc_malloc): Likewise.
27380 (__libc_free): Likewise.
27381 (__libc_realloc): Likewise.
27382 (__libc_memalign): Likewise.
27383 (__libc_valloc): Likewise.
27384 (__libc_pvalloc): Likewise.
27385 (__libc_calloc): Likewise.
27386 (__posix_memalign): Likewise.
27387 * malloc/morecore.c (__sbrk): Likewise.
27388 (__default_morecore): Likewise.
27390 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27392 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27393 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27394 __malloc_ptrdiff_t.
27396 * malloc/malloc.h (__malloc_size_t): Remove macro.
27397 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27399 (old_memalign_hook): Likewise.
27400 (old_realloc_hook): Likewise.
27401 (struct hdr): Likewise.
27403 (mallochook): Likewise.
27404 (memalignhook): Likewise.
27405 (reallochook): Likewise.
27406 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27407 (tr_old_realloc_hook): Likewise.
27408 (tr_old_memalign_hook): Likewise.
27409 (tr_mallochook): Likewise.
27410 (tr_reallochook): Likewise.
27411 (tr_memalignhook): Likewise.
27413 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27416 default_ldbl_pack and using as default implementation.
27417 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27419 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27420 redundant definition.
27421 (ldbl_insert_mantissa): Likewise.
27422 (ldbl_canonicalize): Likewise.
27423 (ldbl_nearbyint): Likewise.
27424 (ldbl_pack): Rename to ldbl_pack_ppc.
27425 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27426 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27427 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27429 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27432 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27433 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27434 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27436 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27437 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27438 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27440 2013-03-07 Andreas Jaeger <aj@suse.de>
27442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27445 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27447 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27448 Include mpa.h and declare __MPEXP.
27449 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27450 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27451 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27452 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27453 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27454 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27455 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27457 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27458 (__slowpow): Use long double EXPL and LOGL functions to
27460 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27461 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27462 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27463 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27464 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27465 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27468 intermediate variable to calculate exponent.
27470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27474 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27475 [!NO__SQR]: Define __sqr.
27476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27477 and NO__SQR. Remove all code except __mul and __sqr. Include
27478 sysdeps/ieee754/dbl-64/mpa.c.
27479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27482 * posix/Makefile (tests): Add tst-pathconf.
27483 * posix/tst-pathconf.c: New test case.
27484 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27486 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27488 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
27490 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27492 2013-03-06 Andreas Jaeger <aj@suse.de>
27494 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27495 definition via __MAP_ANONYMOUS.
27497 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27498 it's not part of Linux headers.
27500 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27501 (MAP_HUGE_MASK): Define.
27503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27509 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27512 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27514 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27516 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27517 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27518 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27519 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27520 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27521 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27523 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27526 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27527 Handle f2fs and efivarfs.
27529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27532 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27533 (EFIVARFS_MAGIC): Add.
27534 (F2FS_LINK_MAX): Add.
27536 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27538 * stdio-common/vfprintf.c: Replace __builtin_expect with
27541 2013-03-06 Joseph Myers <joseph@codesourcery.com>
27544 * sysdeps/generic/bp-sym.h: Remove file.
27545 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27546 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27547 <bp-sym.h> and <bp-asm.h>.
27548 (__longjmp): Don't use BP_SYM.
27549 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27551 (memcpy): Don't use BP_SYM.
27552 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27553 <bp-sym.h> and <bp-asm.h>.
27554 (memcpy): Don't use BP_SYM.
27555 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27557 (memcpy): Don't use BP_SYM.
27558 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27560 (memset): Don't use BP_SYM.
27561 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27562 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27563 (__bzero): Don't use BP_SYM.
27564 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27565 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27566 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27567 <bp-sym.h> and <bp-asm.h>.
27568 (memcmp): Don't use BP_SYM. Remove comment about bounded
27570 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27571 <bp-sym.h> and <bp-asm.h>.
27572 (memcpy): Don't use BP_SYM.
27573 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27574 <bp-sym.h> and <bp-asm.h>.
27575 (memset): Don't use BP_SYM.
27576 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27577 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27578 (__bzero): Don't use BP_SYM.
27579 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27580 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27581 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27582 <bp-sym.h> and <bp-asm.h>.
27583 (strncmp): Don't use BP_SYM. Remove comment about bounded
27585 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27586 <bp-sym.h> and <bp-asm.h>.
27587 (memcpy): Don't use BP_SYM.
27588 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27589 <bp-sym.h> and <bp-asm.h>.
27590 (memset): Don't use BP_SYM.
27591 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27592 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27593 (__bzero): Don't use BP_SYM.
27594 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27595 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27596 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27597 <bp-sym.h> and <bp-asm.h>.
27598 (__memchr): Don't use BP_SYM.
27599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27600 <bp-sym.h> and <bp-asm.h>.
27601 (memcmp): Don't use BP_SYM. Remove comment about bounded
27603 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27604 <bp-sym.h> and <bp-asm.h>.
27605 (memcpy): Don't use BP_SYM.
27606 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27607 <bp-sym.h> and <bp-asm.h>.
27608 (__mempcpy): Don't use BP_SYM.
27609 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27610 <bp-sym.h> and <bp-asm.h>.
27611 (__memrchr): Don't use BP_SYM.
27612 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27613 <bp-sym.h> and <bp-asm.h>.
27614 (memset): Don't use BP_SYM.
27615 (__bzero): Likewise.
27616 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27617 <bp-sym.h> and <bp-asm.h>.
27618 (__rawmemchr): Don't use BP_SYM.
27619 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27620 <bp-sym.h> and <bp-asm.h>.
27621 (__STRCMP): Don't use BP_SYM.
27622 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27623 <bp-sym.h> and <bp-asm.h>.
27624 (strchr): Don't use BP_SYM.
27625 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27626 <bp-sym.h> and <bp-asm.h>.
27627 (__strchrnul): Don't use BP_SYM.
27628 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27629 <bp-sym.h> and <bp-asm.h>.
27630 (strlen): Don't use BP_SYM.
27631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27632 <bp-sym.h> and <bp-asm.h>.
27633 (strncmp): Don't use BP_SYM. Remove comment about bounded
27635 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27636 <bp-sym.h> and <bp-asm.h>.
27637 (__strnlen): Don't use BP_SYM.
27638 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27639 <bp-sym.h> and <bp-asm.h>.
27640 (__GI__setjmp): Don't use BP_SYM.
27641 (_setjmp): Likewise.
27642 (__sigsetjmp): Likewise.
27643 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27644 (L(start_addresses)): Don't use BP_SYM.
27645 (_start): Likewise.
27646 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27648 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27649 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27650 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27651 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27652 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27654 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27655 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27656 about bounded pointers.
27657 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27658 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27659 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27661 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27662 about bounded pointers. Remove GKM FIXME comments.
27663 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27664 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27666 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27667 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27668 Remove GKM FIXME comments.
27669 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27670 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27671 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27673 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27674 about bounded pointers. Remove GKM FIXME comment.
27675 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27677 (strncmp): Don't use BP_SYM. Remove comment about bounded
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27680 <bp-sym.h> and <bp-asm.h>.
27681 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27683 <bp-sym.h> and <bp-asm.h>.
27684 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27687 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27689 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27692 2013-03-05 David S. Miller <davem@davemloft.net>
27694 * po/es.po: Update from translation team.
27696 2013-03-05 Andreas Jaeger <aj@suse.de>
27698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27699 <bits/mman-linux.h>.
27700 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27702 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27703 <bits/mman-linux.h> to end of file.
27704 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27706 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27707 <bits/mman-linux.h> to end of file.
27708 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27711 <bits/mman-linux.h> to end of file.
27713 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27714 (MCL_CURRENT, MCL_FUTURE): Define here.
27716 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27721 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27723 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27725 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27726 fourth parameter needed for rt_sigprocmask syscall.
27727 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27728 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27729 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27730 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27731 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27732 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27734 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27737 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27738 comment about bounded pointers.
27739 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27740 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27742 2013-03-04 Andreas Jaeger <aj@suse.de>
27744 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27745 common definitions.
27747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27748 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27749 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27750 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27751 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27754 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27758 __ieee754_sqrl instead of __sqrl.
27760 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27762 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27763 * sysdeps/powerpc/fpu_control.h: ... here.
27764 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27765 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27766 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27767 * sysdeps/powerpc/bits/mathinline.h: ... here.
27769 2013-03-01 Roland McGrath <roland@hack.frob.com>
27771 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27772 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27773 to just [NEED_DL_SYSINFO_DSO].
27774 * elf/dl-support.c: Likewise.
27775 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27776 * elf/rtld.c (dl_main): Likewise.
27777 * elf/setup-vdso.h (setup_vdso): Likewise.
27778 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27779 * sysdeps/unix/sysv/linux/dl-sysdep.c
27780 (_dl_discover_osversion): Likewise.
27782 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27784 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27785 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27787 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27789 * NEWS: Mention libm performance improvements and non-x86 PI
27792 * csu/libc-start.c (__pthread_initialize_minimal): Change
27793 function arguments.
27794 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27796 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27799 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27800 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27801 <bp-sym.h> and <bp-asm.h>.
27802 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27803 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27805 (memcpy): Don't use BP_SYM.
27806 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27808 (__mpn_add_n): Don't use BP_SYM.
27809 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27810 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27812 (__mpn_addmul_1): Don't use BP_SYM.
27813 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27814 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27816 (_setjmp): Don't use BP_SYM.
27817 (__novmx_setjmp): Likewise.
27818 (__GI__setjmp): Likewise.
27819 (__vmx_setjmp): Likewise.
27820 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27822 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27823 (__bzero): Don't use BP_SYM.
27824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27826 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27827 <bp-sym.h> and <bp-asm.h>.
27828 (memcpy): Don't use BP_SYM.
27829 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27830 <bp-sym.h> and <bp-asm.h>.
27831 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27832 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27833 <bp-sym.h> and <bp-asm.h>.
27834 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27835 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27837 (__mpn_lshift): Don't use BP_SYM.
27838 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27839 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27841 (memset): Don't use BP_SYM.
27842 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27843 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27844 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27846 (__mpn_mul_1): Don't use BP_SYM.
27847 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27848 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27849 <bp-sym.h> and <bp-asm.h>.
27850 (memcmp): Don't use BP_SYM.
27851 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27852 <bp-sym.h> and <bp-asm.h>.
27853 (memcpy): Don't use BP_SYM.
27854 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27855 <bp-sym.h> and <bp-asm.h>.
27856 (memset): Don't use BP_SYM.
27857 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27858 <bp-sym.h> and <bp-asm.h>.
27859 (strncmp): Don't use BP_SYM.
27860 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27861 <bp-sym.h> and <bp-asm.h>.
27862 (memcpy): Don't use BP_SYM.
27863 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27864 <bp-sym.h> and <bp-asm.h>.
27865 (memset): Don't use BP_SYM.
27866 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27867 <bp-sym.h> and <bp-asm.h>.
27868 (__memchr): Don't use BP_SYM.
27869 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27870 <bp-sym.h> and <bp-asm.h>.
27871 (memcmp): Don't use BP_SYM.
27872 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27873 <bp-sym.h> and <bp-asm.h>.
27874 (memcpy): Don't use BP_SYM.
27875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27876 <bp-sym.h> and <bp-asm.h>.
27877 (__mempcpy): Don't use BP_SYM.
27878 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27879 <bp-sym.h> and <bp-asm.h>.
27880 (__memrchr): Don't use BP_SYM.
27881 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27882 <bp-sym.h> and <bp-asm.h>.
27883 (memset): Don't use BP_SYM.
27884 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27885 <bp-sym.h> and <bp-asm.h>.
27886 (__rawmemchr): Don't use BP_SYM.
27887 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27888 <bp-sym.h> and <bp-asm.h>.
27889 (__STRCMP): Don't use BP_SYM.
27890 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27891 <bp-sym.h> and <bp-asm.h>.
27892 (strchr): Don't use BP_SYM.
27893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27894 <bp-sym.h> and <bp-asm.h>.
27895 (__strchrnul): Don't use BP_SYM.
27896 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27897 <bp-sym.h> and <bp-asm.h>.
27898 (strlen): Don't use BP_SYM.
27899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27900 <bp-sym.h> and <bp-asm.h>.
27901 (strncmp): Don't use BP_SYM.
27902 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27903 <bp-sym.h> and <bp-asm.h>.
27904 (__strnlen): Don't use BP_SYM.
27905 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27907 (__mpn_rshift): Don't use BP_SYM.
27908 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27909 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27910 <bp-sym.h> and <bp-asm.h>.
27911 (__sigsetjmp): Don't use BP_SYM.
27912 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27913 (L(start_addresses)): Don't use BP_SYM.
27914 (_start): Likewise.
27915 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27917 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27918 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27919 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27920 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27922 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27923 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27924 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27925 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27927 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27929 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27930 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27932 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27934 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27935 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27936 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27938 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27940 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27942 (strncmp): Don't use BP_SYM,
27943 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27945 (__mpn_sub_n): Don't use BP_SYM.
27946 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27947 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27949 (__mpn_submul_1): Don't use BP_SYM.
27950 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27952 <bp-sym.h> and <bp-asm.h>.
27953 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27955 <bp-sym.h> and <bp-asm.h>.
27956 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27959 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27962 Use ZK to minimize writes to Z.
27963 (sub_magnitudes): Simplify code a bit.
27964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27965 Use ZK to minimize writes to Z.
27966 (sub_magnitudes): Simplify code a bit.
27968 2013-02-27 Roland McGrath <roland@hack.frob.com>
27970 * csu/gmon-start.c: Add special exception to license text.
27972 2013-02-27 Richard Henderson <rth@redhat.com>
27974 * scripts/config.guess: Update from config.git.
27975 * scripts/config.sub: Likewise.
27977 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27979 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27981 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27983 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27985 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27987 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27989 2013-02-26 Roland McGrath <roland@hack.frob.com>
27991 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27992 [$(build-shared = yes].
27994 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27996 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27997 (__mul): Reduce iterations for calculating mantissa.
27999 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28001 (__mpranred): Likewise.
28004 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28005 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28007 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28009 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28010 Define __attribute__.
28012 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28014 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28016 * posix/regex_internal.h (__attribute): Remove.
28017 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28018 (re_string_context_at): Likewise.
28019 (bitset_not): Use __attribute__ and mark function as possibly
28021 (bitset_merge): Likewise.
28022 (bitset_mask): Likewise.
28023 (re_string_char_size_at): Likewise.
28024 (re_string_wchar_at): Likewise.
28025 (re_string_elem_size_at): Likewise.
28027 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28029 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28033 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28037 (denorm): Likewise.
28038 (__dbl_mp): Likewise.
28039 (add_magnitudes): Likewise.
28040 (sub_magnitudes): Likewise.
28044 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28047 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28050 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28054 up changes with default code.
28055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28058 2013-02-24 Allan McRae <allan@archlinux.org>
28060 * manual/socket.texi (The Internet Namespace): Order menu items
28061 to match that in the file.
28063 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28064 node listing of the info page menu.
28066 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28069 * sysdeps/i386/bp-asm.h: Remove file.
28070 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28071 (PARMS): Do not use macros from bp-asm.h.
28075 (__mpn_add_n): Do not use BP_SYM
28076 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28078 (PARMS): Do not use macros from bp-asm.h.
28081 (__mpn_addmul_1): Do not use BP_SYM
28082 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28084 (PARMS): Do not use macros from bp-asm.h.
28085 (SIGMSK): Likewise.
28086 (_setjmp): Likewise. Do not use BP_SYM.
28087 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28089 (PARMS): Do not use macros from bp-asm.h.
28090 (SIGMSK): Likewise.
28091 (setjmp): Likewise. Do not use BP_SYM.
28092 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28094 (PARMS): Do not use macros from bp-asm.h.
28095 (__frexp): Do not use BP_SYM.
28097 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28099 (PARMS): Do not use macros from bp-asm.h.
28100 (__frexpf): Do not use BP_SYM.
28101 (frexpf): Likewise.
28102 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28104 (PARMS): Do not use macros from bp-asm.h.
28105 (__frexpl): Do not use BP_SYM.
28106 (frexpl): Likewise.
28107 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28109 (PARMS): Do not use macros from bp-asm.h.
28110 (__remquo): Do not use BP_SYM.
28111 (remquo): Likewise.
28112 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28114 (PARMS): Do not use macros from bp-asm.h.
28115 (__remquof): Do not use BP_SYM.
28116 (remquof): Likewise.
28117 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28119 (PARMS): Do not use macros from bp-asm.h.
28120 (__remquol): Do not use BP_SYM.
28121 (remquol): Likewise.
28122 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28124 (PARMS): Do not use macros from bp-asm.h.
28127 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28128 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28130 (PARMS): Do not use macros from bp-asm.h.
28131 (strlen): Do not use BP_SYM.
28132 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28134 (PARMS): Do not use macros from bp-asm.h.
28138 (__mpn_add_n): Do not use BP_SYM.
28139 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28141 (PARMS): Do not use macros from bp-asm.h.
28144 (__mpn_addmul_1): Do not use BP_SYM.
28145 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28148 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28150 (PARMS): Do not use macros from bp-asm.h.
28153 (__mpn_lshift): Do not use BP_SYM.
28154 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28156 (PARMS): Do not use macros from bp-asm.h.
28160 (memcpy): Likewise. Do not use BP_SYM.
28161 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28162 libc_hidden_def and weak_alias.
28163 (mempcpy): Do not use BP_SYM in weak_alias.
28164 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28166 (PARMS): Do not use macros from bp-asm.h.
28169 [!BZERO_P] (CHR): Likewise.
28170 (memset): Likewise. Do not use BP_SYM.
28171 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28173 (PARMS): Do not use macros from bp-asm.h.
28176 (__mpn_mul_1): Do not use BP_SYM.
28177 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28179 (PARMS): Do not use macros from bp-asm.h.
28182 (__mpn_rshift): Do not use BP_SYM.
28183 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28185 (PARMS): Do not use macros from bp-asm.h.
28188 (strchr): Likewise. Do not use BP_SYM.
28189 (index): Do not use BP_SYM in weak_alias.
28190 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28192 (PARMS): Do not use macros from bp-asm.h.
28195 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28196 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28198 (PARMS): Do not use macros from bp-asm.h.
28199 (strlen): Do not use BP_SYM.
28200 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28202 (PARMS): Do not use macros from bp-asm.h.
28206 (__mpn_sub_n): Do not use BP_SYM.
28207 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28209 (PARMS): Do not use macros from bp-asm.h.
28212 (__mpn_submul_1): Do not use BP_SYM.
28213 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28215 (PARMS): Do not use macros from bp-asm.h.
28219 (__mpn_add_n): Do not use BP_SYM.
28220 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28223 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28225 (PARMS): Do not use macros from bp-asm.h.
28228 (memcmp): Do not use BP_SYM.
28229 (bcmp): Do not use BP_SYM in weak_alias.
28230 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28232 (PARMS): Do not use macros from bp-asm.h.
28236 (memcpy): Likewise. Do not use BP_SYM.
28237 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28239 (PARMS): Do not use macros from bp-asm.h.
28243 (memmove): Likewise. Do not use BP_SYM.
28244 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28246 (PARMS): Do not use macros from bp-asm.h.
28250 (__mempcpy): Likewise. Do not use BP_SYM.
28251 (mempcpy): Do not use BP_SYM in weak_alias.
28252 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28254 (PARMS): Do not use macros from bp-asm.h.
28257 [!BZERO_P] (CHR): Likewise.
28258 (memset): Likewise. Do not use BP_SYM.
28259 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28261 (PARMS): Do not use macros from bp-asm.h.
28263 (strcmp): Do not use BP_SYM.
28264 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28266 (PARMS): Do not use macros from bp-asm.h.
28269 [USE_AS_STRTOK_R] (SAVE): Likewise.
28270 (FUNCTION): Likewise. Do not use BP_SYM.
28271 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28273 (strtok_r): Likewise.
28274 (__GI___strtok_r): Likewise.
28275 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28276 (PARMS): Do not use macros from bp-asm.h.
28279 (__mpn_lshift): Do not use BP_SYM.
28280 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28281 (PARMS): Do not use macros from bp-asm.h.
28284 (__memchr): Do not use BP_SYM.
28285 (memchr): Do not use BP_SYM in weak_alias.
28286 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28287 (PARMS): Do not use macros from bp-asm.h.
28290 (memcmp): Do not use BP_SYM.
28291 (bcmp): Do not use BP_SYM in weak_alias.
28292 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28293 (PARMS): Do not use macros from bp-asm.h.
28296 (__mpn_mul_1): Do not use BP_SYM.
28297 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28299 (PARMS): Do not use macros from bp-asm.h.
28302 (__rawmemchr): Do not use BP_SYM.
28303 (rawmemchr): Do not use BP_SYM in weak_alias.
28304 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28305 (PARMS): Do not use macros from bp-asm.h.
28308 (__mpn_rshift): Do not use BP_SYM.
28309 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28310 (PARMS): Do not use macros from bp-asm.h.
28311 (SIGMSK): Likewise.
28312 (__sigsetjmp): Likewise. Do not use BP_SYM.
28313 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28314 (_start): Do not use BP_SYM.
28315 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28316 (PARMS): Do not use macros from bp-asm.h.
28319 (__stpcpy): Likewise. Do not use BP_SYM.
28320 (stpcpy): Do not use BP_SYM in weak_alias.
28321 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28323 (PARMS): Do not use macros from bp-asm.h.
28327 (__stpncpy): Likewise. Do not use BP_SYM.
28328 (stpncpy): Do not use BP_SYM in weak_alias.
28329 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28330 (PARMS): Do not use macros from bp-asm.h.
28333 (strchr): Likewise. Do not use BP_SYM.
28334 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28336 (PARMS): Do not use macros from bp-asm.h.
28339 (__strchrnul): Likewise. Do not use BP_SYM.
28340 (strchrnul): Do not use BP_SYM in weak_alias.
28341 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28343 (PARMS): Do not use macros from bp-asm.h.
28345 (strcspn): Do not use BP_SYM.
28346 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28348 (PARMS): Do not use macros from bp-asm.h.
28351 (strpbrk): Likewise. Do not use BP_SYM.
28352 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28354 (PARMS): Do not use macros from bp-asm.h.
28357 (strrchr): Likewise. Do not use BP_SYM.
28358 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28359 (PARMS): Do not use macros from bp-asm.h.
28361 (strspn): Do not use BP_SYM.
28362 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28363 (PARMS): Do not use macros from bp-asm.h.
28367 (FUNCTION): Likewise. Do not use BP_SYM.
28368 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28370 (strtok_r): Likewise.
28371 (__GI___strtok_r): Likewise.
28372 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28373 (PARMS): Do not use macros from bp-asm.h.
28377 (__mpn_sub_n): Do not use BP_SYM.
28378 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28380 (PARMS): Do not use macros from bp-asm.h.
28383 (__mpn_submul_1): Do not use BP_SYM.
28384 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28386 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28388 (PARMS): Do not use macros from bp-asm.h.
28393 (__clone): Do not use BP_SYM.
28394 (clone): Do not use BP_SYM in weak_alias.
28395 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28397 (PARMS): Do not use macros from bp-asm.h.
28399 (__mmap64): Do not use BP_SYM.
28400 (mmap64): Do not use BP_SYM in weak_alias.
28401 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28402 <bp-sym.h> and <bp-asm.h>.
28403 (PARMS): Do not use macros from bp-asm.h.
28404 (__posix_fadvise64_l64): Do not use BP_SYM.
28405 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28406 (PARMS): Do not use macros from bp-asm.h.
28408 (semtimedop): Do not use BP_SYM.
28409 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28412 2013-02-21 Allan McRae <allan@archlinux.org>
28414 * manual/message.texi (Charset conversion in gettext):
28415 Move @end statement to beginning of line.
28417 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28424 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28425 (denorm): Likewise.
28426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28429 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28431 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28432 tail-call to the resolved function if pltexit isn't needed.
28434 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28437 or Y being zero as being unlikely.
28438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28441 2013-02-20 Carlos O'Donell <carlos@redhat.com>
28443 * manual/nss.texi (System Databases and Name Service Switch):
28444 Remove frobnicate @pxref.
28446 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28448 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28449 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28451 2013-02-20 Petr Machata <pmachata@redhat.com>
28453 * elf/elf.h (R_ARM_TARGET1): New macro.
28454 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28455 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28456 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28457 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28458 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28459 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28460 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28461 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28462 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28463 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28464 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28465 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28466 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28467 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28468 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28469 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28470 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28471 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28472 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28473 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28474 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28475 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28476 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28477 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28478 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28479 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28480 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28481 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28482 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28483 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28484 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28485 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28486 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28487 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28488 (R_ARM_THM_GOT_BREL12): Likewise.
28489 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28490 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28491 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28492 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28493 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28494 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28495 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28496 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28497 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28499 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28501 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28502 __attribute_used__ to __attribute__ ((unused)).
28504 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28506 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28509 comment formatting.
28510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28512 2013-02-19 Joseph Myers <joseph@codesourcery.com>
28515 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28517 (ENTER): Remove both macro definitions.
28519 (CHECK_BOUNDS_LOW): Likewise.
28520 (CHECK_BOUNDS_HIGH): Likewise.
28521 (CHECK_BOUNDS_BOTH): Likewise.
28522 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28523 (RETURN_BOUNDED_POINTER): Likewise.
28524 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28525 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28526 (POP_ERRNO_LOCATION_RETURN): Likewise.
28527 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28528 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28529 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28531 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28532 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28533 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28534 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28535 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28536 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28537 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28538 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28539 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28540 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28541 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28542 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28543 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28544 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28546 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28547 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28549 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28550 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28551 * sysdeps/i386/i586/memset.S (memset): Likewise.
28552 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28553 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28554 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28556 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28557 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28558 Change uses of L(2) to L(out).
28559 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28560 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28561 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28562 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28563 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28565 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28566 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28568 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28569 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28570 (RETURN): Do not use macro LEAVE.
28571 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28572 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28573 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28574 * sysdeps/i386/i686/memset.S (memset): Likewise.
28575 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28576 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28577 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28578 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28580 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28581 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28582 L(1_2) and L(1_3) into L(1).
28583 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28584 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28585 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28586 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28587 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28588 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28589 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28590 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28591 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28593 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28594 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28595 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28596 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28597 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28598 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28599 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28600 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28601 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28602 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28603 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28604 * sysdeps/i386/strspn.S (strspn): Likewise.
28605 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28607 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28608 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28609 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28610 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28611 L(1_3) into L(1_1).
28612 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28613 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28614 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28616 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28618 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28620 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28623 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28625 * math/atest-exp.c (exp_mpn): Remove ROUND.
28626 * math/atest-exp2.c (exp_mpn): Likewise.
28627 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28629 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28630 * stdlib/tst-tls-atexit-lib.c: Likewise.
28631 * stdlib/tst-tls-atexit.c: Likewise.
28633 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28635 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28636 and __attribute_alloc_size__.
28638 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28640 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28641 __attribute_alloc_size__.
28642 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28643 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28645 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28647 * include/programs/xmalloc.h: New file.
28648 * catgets/gencat.c: Include it.
28649 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28650 * elf/pldd.c: Likewise.
28651 * iconv/iconv_charmap.c: Likewise.
28652 * iconv/iconvconfig.c: Likewise.
28653 * iconv/strtab.c: Likewise.
28654 * locale/programs/locale.c: Likewise.
28655 * locale/programs/localedef.h: Likewise.
28656 * locale/programs/simple-hash.c: Likewise.
28657 * nscd/nscd.h: Likewise.
28658 * nss/makedb.c: Likewise.
28659 * sysdeps/generic/ldconfig.h: Likewise.
28661 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28663 * Versions.def: Add GLIBC_2.18.
28664 * include/link.h (struct link_map): New member l_tls_dtor_count.
28665 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28666 (__call_tls_dtors): Likewise.
28667 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28668 __cxa_thread_atexit_impl.
28669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28677 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28685 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28686 (tests): Add test case tst-tls-atexit.
28687 (modules-names): Add shared library for tst-tls-atexit.
28688 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28689 (GLIBC_PRIVATE): Add __call_tls_dtors.
28690 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28692 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28693 * stdlib/tst-tls-atexit.c: New test case.
28694 * stdlib/tst-tls-atexit-lib.c: New test case.
28696 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28698 * elf/Versions (ld): Add _dl_find_dso_for_object.
28699 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28700 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28701 (dl_open_worker): Use _dl_find_dso_for_object.
28702 * elf/dl-sym.c (do_sym): Likewise.
28703 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28705 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28707 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28708 Syntactic changes only.
28709 (_dl_runtime_profile): Do a tail-call to the resolved function.
28711 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28714 * sysdeps/x86_64/bp-asm.h: Remove file.
28715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28716 <bp-sym.h> and <bp-asm.h>.
28717 (__clone): Do not use BP_SYM.
28718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28719 <bp-sym.h> and <bp-asm.h>.
28720 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28721 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28723 (_setjmp): Do not use BP_SYM.
28724 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28726 (setjmp): Do not use BP_SYM.
28727 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28729 (mempcpy): Do not use BP_SYM in weak_alias.
28730 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28732 (strchr): Do not use BP_SYM.
28733 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28735 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28736 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28737 (_start): Do not use BP_SYM.
28738 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28740 (strcat): Do not use BP_SYM.
28741 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28743 (STRCMP): Do not use BP_SYM.
28744 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28746 (STRCPY): Do not use BP_SYM.
28747 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28749 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28751 (FUNCTION): Do not use BP_SYM.
28752 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28754 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28756 2013-02-17 Andreas Jaeger <aj@suse.de>
28758 * time/Versions: Sort entries.
28759 * string/Versions: Likewise.
28760 * resolv/Versions: Likewise.
28761 * posix/Versions: Likewise.
28762 * iconv/Versions: Likewise.
28763 * elf/Versions: Likewise.
28764 * wcsmbs/Versions: Likewise.
28766 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28768 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28769 loop termination condition.
28771 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28772 variable to calculate EZ.
28775 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28776 the lower precision input.
28778 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28781 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28782 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28783 (run-via-rtld-prefix): Do not handle %-bp tests.
28784 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28785 (all-object-suffixes): Remove .ob.
28786 (bppfx): Remove variable.
28787 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28788 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28789 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28790 [$(build-bounded) = yes] (libtype.ob): Likewise.
28791 * Makerules (elide-routines.ob): Remove variable.
28792 (do-tests-clean): Do not handle *-bp.out.
28793 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28794 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28795 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28796 (tests): Do not include $(tests-bp.out).
28797 (xtests): Do not include $(xtests-bp.out).
28798 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28799 [$(build-bounded) = yes] ($(addprefix
28800 $(objpfx),$(binaries-bounded))): Remove rule.
28801 ($(objpfx)%-bp.out): Remove rule.
28802 * config.make.in (build-bounded): Remove variable.
28803 * crypt/Makefile [$(build-bounded) = yes]
28804 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28805 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28806 append to variable.
28807 [$(build-bounded) = yes] (install-lib): Likewise.
28808 [$(build-bounded) = yes] (generated): Likewise.
28809 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28811 * intl/Makefile [$(build-bounded) = yes]
28812 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28813 * math/Makefile [$(build-bounded) = yes]
28814 ($(tests:%=$(objpfx)%-bp): Likewise.
28815 * misc/Makefile [$(build-bounded) = yes]
28816 ($(objpfx)tst-tsearch-bp): Likewise.
28817 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28818 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28820 * string/Makefile (o-objects.ob): Remove variable.
28821 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28822 (CFLAGS-.ob): Remove variable.
28823 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28824 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28825 both definitions of variable.
28826 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28827 (ASFLAGS-.ob): Remove variable.
28829 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28832 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28833 Remove __BOUNDED_POINTERS__ from condition.
28834 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28835 * string/bits/string2.h [!__NO_STRING_INLINES &&
28836 !__BOUNDED_POINTERS__]: Likewise.
28837 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28839 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28840 Remove conditional code.
28841 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28842 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28843 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28847 * csu/libc-start.c: Do not include <bp-sym.h>.
28848 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28849 * elf/dl-open.c: Do not include <bp-sym.h>.
28850 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28851 * math/fegetenv.c: Do not include <bp-sym.h>.
28852 (fegetenv): Do not use BP_SYM in versioned symbols.
28853 * nptl/sysdeps/pthread/bits/libc-lockP.h
28854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28857 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28859 (__pthread_mutex_destroy): Likewise.
28860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28861 (__pthread_mutex_lock): Likewise.
28862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28863 (__pthread_mutex_trylock): Likewise.
28864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28865 (__pthread_mutex_unlock): Likewise.
28866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28867 (__pthread_mutexattr_init): Likewise.
28868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28869 (__pthread_mutexattr_destroy): Likewise.
28870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28871 (__pthread_mutexattr_settype): Likewise.
28872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28873 (__pthread_rwlock_init): Likewise.
28874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28875 (__pthread_rwlock_destroy): Likewise.
28876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28877 (__pthread_rwlock_rdlock): Likewise.
28878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28879 (__pthread_rwlock_tryrdlock): Likewise.
28880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28881 (__pthread_rwlock_wrlock): Likewise.
28882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28883 (__pthread_rwlock_trywrlock): Likewise.
28884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28885 (__pthread_rwlock_unlock): Likewise.
28886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28887 (__pthread_key_create): Likewise.
28888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28889 (__pthread_setspecific): Likewise.
28890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28891 (__pthread_getspecific): Likewise.
28892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28895 (_pthread_cleanup_push_defer): Likewise.
28896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28897 (_pthread_cleanup_pop_restore): Likewise.
28898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28899 (pthread_setcancelstate): Likewise.
28900 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28902 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28903 (memchr): Do not use BP_SYM in weak_alias.
28904 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28905 (fegetenv): Do not use BP_SYM in versioned symbols.
28906 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28907 (fesetenv): Do not use BP_SYM in versioned symbols.
28908 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28909 (feupdateenv): Do not use BP_SYM in versioned symbols.
28910 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28911 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28912 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28913 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28914 (open64): Do not use BP_SYM in weak_alias.
28915 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28916 (fegetenv): Do not use BP_SYM in versioned symbols.
28917 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28918 (fesetenv): Do not use BP_SYM in versioned symbols.
28919 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28920 (feupdateenv): Do not use BP_SYM in versioned symbols.
28921 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28922 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28923 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28924 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28925 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28926 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28927 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28929 (__libc_start_main): Do not use BP_SYM.
28931 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28934 redundant return line.
28936 (denorm): Likewise.
28937 (dbl_mp): Likewise.
28938 (sub_magnitudes): Likewise.
28944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28946 (denorm): Likewise.
28947 (dbl_mp): Likewise.
28948 (sub_magnitudes): Likewise.
28955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28957 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28958 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28961 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28962 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28964 of __mul for squares.
28965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28969 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28972 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28975 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28977 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28978 prototype or function definition. Rename ubp_* variables and
28979 parameters. Remove argv definitions conditional on
28980 [__BOUNDED_POINTERS__].
28981 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28982 * elf/dl-runtime.c (_dl_fixup): Likewise.
28983 * include/set-hooks.h (RUN_HOOK): Likewise.
28984 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28986 * string/strcpy.c (strcpy): Do not use __unbounded.
28987 * sysdeps/generic/frame.h (struct layout): Likewise.
28988 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28989 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28990 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28991 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28992 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28993 (__backtrace): Likewise.
28994 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28996 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28997 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28998 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29000 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29001 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29002 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29003 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29004 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29005 Do not use __unbounded.
29006 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29007 Rename __unboundedrlimits parameter to rlimits in prototype.
29008 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29009 Do not use __unbounded.
29010 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29011 not use __ptrvalue.
29012 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29013 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29014 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29015 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29016 __ptrvalue or __unbounded.
29017 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29018 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29020 (__new_msgctl): Do not use __ptrvalue.
29021 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29023 (__libc_msgrcv): Do not use __ptrvalue.
29024 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29025 startup_info): Do not use __unbounded.
29026 (__libc_start_main): Likewise. Rename ubp_* variables and
29027 parameters. Remove argv definitions conditional on
29028 [__BOUNDED_POINTERS__].
29029 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29031 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29033 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29035 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29037 (__new_shmctl): Do not use __ptrvalue.
29038 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29039 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29041 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29042 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29043 (__libc_sigaction): Likewise.
29044 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29045 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29047 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29049 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29051 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29053 * string/mempcpy.c: Implement by calling memcpy.
29055 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29063 values in the mantissa.
29065 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29066 minimize writes to Z.
29067 (sub_magnitudes): Simplify code a bit.
29069 2013-02-12 Roland McGrath <roland@hack.frob.com>
29071 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29072 from the message. The linker prefixes all warnings with that already.
29074 2013-02-12 Andreas Schwab <schwab@suse.de>
29077 * posix/regexec.c (extend_buffers): Add parameter min_len.
29078 (check_matching): Pass minimum needed length.
29079 (clean_state_log_if_needed): Likewise.
29080 (get_subexp): Likewise.
29081 * posix/Makefile (tests): Add bug-regex34.
29082 (bug-regex34-ENV): Define.
29083 * posix/bug-regex34.c: New file.
29086 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29087 elements compare against the byte sequence of it, not its name.
29088 * posix/Makefile (tests): Add bug-regex35.
29089 (bug-regex35-ENV): Define.
29090 * posix/bug-regex35.c: New file.
29092 2013-02-11 Tom de Vries <tom@codesourcery.com>
29094 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29096 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29097 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29098 (CHECK_EOL): Add undef.
29100 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29102 * bits/stdlib-bsearch.h: New file.
29103 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29104 * stdlib/stdlib.h: Likewise.
29106 2013-02-11 Roland McGrath <roland@hack.frob.com>
29108 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29109 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29111 * manual/search.texi (Array Search Function): Add missing const in
29113 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29114 declaration to use rlim_t.
29115 (Basic Scheduling Functions): Remove erroneous const from
29116 sched_getparam prototype. Remove erroneous * from
29117 sched_get_priority_max and sched_get_priority_min prototypes.
29118 (Resource Usage): Fix summary @comment on vtimes to refer to
29119 sys/vtimes.h rather than vtimes.h.
29120 Add missing *s in vtimes prototype.
29121 (Limits on Resources): Fix ulimit prototype to return long int.
29122 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29123 prototypes to use long int rather than double.
29124 (BSD Random): Fix initstate and setstate to use char *, not void *.
29125 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29126 prototype to make second argument 'struct aiocb64 *const[]'.
29127 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29128 (Status of AIO Operations): Remove erroneous const in aio_return and
29129 aio_return64 prototypes.
29130 (Synchronizing I/O): Fix sync prototype to return void.
29131 * manual/startup.texi (Suboptions): Remove an erroneous const in
29132 getsubopt prototype.
29133 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29134 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29135 use size_t rather than int.
29136 (Scanning All Users): Likewise for getpwent_r.
29137 (Setting Groups): Add missing const to setgroups prototype.
29138 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29139 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29140 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29141 'const void *' rather than 'const char *'.
29142 (Host Address Functions): Likewise for inet_ntop.
29143 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29144 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29145 ssize_t for return value.
29146 (Sending Data): Likewise for send, sendto, sendmsg.
29147 (Socket Option Functions): Add a missing const in setsockopt prototype.
29148 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29149 use wchar_t for the argument.
29150 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29151 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29153 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29154 double/float/long double for second argument.
29155 Fix return types of significand, significandf, significandl.
29156 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29157 argument in fchmod prototype.
29158 (File Owner): Use uid_t and gid_t in fchown prototype.
29159 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29160 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29161 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29162 use 'const struct dirent **' as argument types to CMP function pointer
29164 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29165 (File Times): Fix summary magic @comment for struct utimbuf and utime
29166 to refer to utime.h, not time.h.
29167 * manual/string.texi (Argz Functions): Add missing const in
29168 argz_extract and argz_next prototypes.
29169 (Finding Tokens in a String): Likewise for basename.
29170 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29171 (Copying and Concatenation): Fix typo in wmemmove prototype.
29172 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29173 (Signal Stack): Remove erroneous const in sigstack prototype.
29174 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29176 (Simple Calendar Time): Likewise for stime.
29177 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29179 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29180 say sys/sysctl.h instead.
29181 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29182 and vsyslog prototypes.
29184 2013-02-11 Tom de Vries <tom@codesourcery.com>
29186 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29189 2013-02-11 Roland McGrath <roland@hack.frob.com>
29191 * misc/sys/mman.h: Fix typo in mremap comment.
29193 2013-02-08 Roland McGrath <roland@hack.frob.com>
29195 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29196 the '\0' terminator.
29198 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29201 * debug/segfault.c: Don't include <bp-checks.h>.
29202 * sysdeps/generic/bp-checks.h: Remove file.
29203 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29204 (__GETDENTS): Don't use CHECK_N.
29205 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29206 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29207 (__getgroups): Don't use CHECK_N.
29208 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29209 (setgroups): Don't use CHECK_N.
29210 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29211 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29212 (__libc_msgrcv): Don't use CHECK_N.
29213 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29214 (__libc_msgsnd): Don't use CHECK_N.
29215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29217 (__libc_pread): Don't use CHECK_N.
29218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29219 include <bp-checks.h>.
29220 (__libc_pread64): Don't use CHECK_N.
29221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29222 include <bp-checks.h>.
29223 (__libc_pwrite): Don't use CHECK_N.
29224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29225 include <bp-checks.h>.
29226 (__libc_pwrite64): Don't use CHECK_N.
29227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29229 (__libc_pread): Don't use CHECK_N.
29230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29231 include <bp-checks.h>.
29232 (__libc_pread64): Don't use CHECK_N.
29233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29234 include <bp-checks.h>.
29235 (__libc_pwrite): Don't use CHECK_N.
29236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29237 include <bp-checks.h>.
29238 (__libc_pwrite64): Don't use CHECK_N.
29239 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29240 (do_pread): Don't use CHECK_N.
29241 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29242 (do_pread64): Don't use CHECK_N.
29243 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29244 (do_pwrite): Don't use CHECK_N.
29245 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29246 (do_pwrite64): Don't use CHECK_N.
29247 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29248 (__libc_readv): Don't use CHECK_N.
29249 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29250 (semop): Don't use CHECK_N.
29251 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29253 (semtimedop): Don't use CHECK_N.
29254 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29255 (__libc_pread): Don't use CHECK_N.
29256 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29258 (__libc_pread64): Don't use CHECK_N.
29259 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29261 (__libc_pwrite): Don't use CHECK_N.
29262 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29264 (__libc_pwrite64): Don't use CHECK_N.
29265 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29267 (__libc_msgrcv): Don't use CHECK_N.
29268 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29269 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29270 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29271 (__libc_writev): Don't use CHECK_N.
29273 2013-02-08 Roland McGrath <roland@hack.frob.com>
29275 * string/strcpy.c: Removed unused variable.
29277 * Makeconfig (+sysdep-includes): Define with := rather than =.
29278 Use an existing include/ subdir of each sysdeps dir before it.
29280 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29282 * nscd/connection.c (register_traced_file): Comment function.
29283 [HAVE_INOTIFY] (union __inev): Define.
29284 [HAVE_INOTIFY] (inotify_check_files): New function.
29285 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29286 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29288 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29290 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29292 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29293 loaded if not already and that a failure is permanent.
29295 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29298 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29299 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29301 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29304 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29305 (CHECK_1_NULL_OK): Likewise.
29306 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29307 (__fxstat): Do not use CHECK_1.
29308 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29310 (___fxstat64): Do not use CHECK_1.
29311 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29313 (__fxstatat): Do not use CHECK_1.
29314 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29316 (__fxstatat64): Do not use CHECK_1.
29317 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29319 (__fxstat): Do not use CHECK_1.
29320 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29322 (__fxstatat): Do not use CHECK_1.
29323 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29325 (__getresgid): Do not use CHECK_1.
29326 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29328 (__getresuid): Do not use CHECK_1.
29329 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29331 (__lxstat): Do not use CHECK_1.
29332 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29334 (__old_msgctl): Do not use CHECK_1.
29335 (__new_msgctl): Likewise.
29336 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29338 (__new_setrlimit): Do not use CHECK_1.
29339 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29341 (__old_shmctl): Do not use CHECK_1.
29342 (__new_shmctl): Likewise.
29343 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29345 (__xstat): Do not use CHECK_1.
29346 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29347 (__lxstat): Do not use CHECK_1.
29348 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29350 (___lxstat64): Do not use CHECK_1.
29351 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29352 (__old_msgctl): Do not use CHECK_1.
29353 (__new_msgctl): Likewise.
29354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29356 (__gettimeofday): Do not use CHECK_1.
29357 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29358 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29359 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29361 (__gettimeofday): Do not use CHECK_1.
29362 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29363 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29364 (__new_shmctl): Do not use CHECK_1.
29365 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29367 (do_sigtimedwait): Do not use CHECK_1.
29368 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29370 (do_sigwaitinfo): Do not use CHECK_1.
29371 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29373 (msgctl): Do not use CHECK_1.
29374 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29376 (shmctl): Do not use CHECK_1.
29377 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29378 (ustat): Do not use CHECK_1.
29379 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29381 (__fxstat): Do not use CHECK_1.
29382 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29384 (__fxstatat): Do not use CHECK_1.
29385 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29387 (__lxstat): Do not use CHECK_1.
29388 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29390 (__xstat): Do not use CHECK_1.
29391 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29392 (__xstat): Do not use CHECK_1.
29393 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29394 (___xstat64): Do not use CHECK_1.
29397 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29399 (CHECK_BOUNDS_HIGH): Likewise.
29400 * string/strcpy.c: Do not include <bp-checks.h>.
29401 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29403 2013-02-07 Roland McGrath <roland@hack.frob.com>
29405 * nscd/nscd-client.h (__nscd_drop_map_ref):
29406 Add __attribute__ ((unused)).
29407 * nis/nss-nisplus.h (niserr2nss): Likewise.
29409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29410 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29412 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29413 Remove inline keyword.
29414 * include/rounding-mode.h (round_away): Likewise.
29415 * libio/wfileops.c (adjust_wide_data): Likewise.
29416 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29417 (__m128i_strloadu_tolower): Likewise.
29418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29419 (__m128i_strloadu_tolower): Likewise.
29420 * time/mktime.c (ydhms_diff): Likewise.
29421 * locale/elem-hash.h (elem_hash): Likewise.
29422 * locale/setlocale.c (setdata): Likewise.
29423 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29424 (re_string_wchar_at): Likewise.
29425 (bitset_not, bitset_merge, bitset_mask): Likewise.
29426 [!(__GNUC__ > 3)] (inline): Remove macro.
29427 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29428 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29429 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29430 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29431 * string/memcmp.c (memcmp_bytes): Likewise.
29432 * locale/programs/locarchive.c (compute_hashval): Likewise.
29433 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29434 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29435 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29436 * nss/getent.c (print_rpc, print_protocols): Likewise.
29437 (print_passwd, print_group, print_aliases): Likewise.
29438 * nis/nss-nisplus.h (niserr2nss): Likewise.
29439 * nscd/connections.c (restart_p): Likewise.
29440 Change return type to bool.
29442 2013-02-05 Roland McGrath <roland@hack.frob.com>
29444 * Makeconfig (all-Depend-files): Add existing
29445 $(sorted-subdirs:=/Depend) files.
29446 (all-subdirs): Remove nss.
29447 * sysdeps/unix/inet/Subdirs: Add it here instead.
29448 * hesiod/Depend: New file.
29450 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29451 instead of calling alloca.
29453 * io/lseek.c (__lseek): Rename to __libc_lseek.
29454 Define __lseek as an alias.
29456 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29458 2013-02-04 Carlos O'Donell <carlos@redhat.com>
29460 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29461 else clause and remove check for non-standard endianness.
29463 2013-02-04 David S. Miller <davem@davemloft.net>
29465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29467 2013-02-04 Joseph Myers <joseph@codesourcery.com>
29470 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29471 (__ubp_memchr): Remove prototype.
29472 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29473 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29474 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29475 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29476 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29478 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29479 (__ubp_memchr): Likewise.
29480 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29481 (__ubp_memchr): Likewise.
29482 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29483 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29484 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29485 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29487 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29488 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29489 (__getcwd): Do not use CHECK_STRING.
29490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29492 (__real_chown): Do not use CHECK_STRING.
29493 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29495 (fchownat): Do not use CHECK_STRING.
29496 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29498 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29500 (__lchown): Do not use CHECK_STRING.
29501 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29502 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29503 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29504 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29506 include <bp-checks.h>.
29507 (truncate64): Do not use CHECK_STRING.
29508 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29510 (__real_chown): Do not use CHECK_STRING.
29511 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29513 (__lchown): Do not use CHECK_STRING.
29514 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29516 (__chown): Do not use CHECK_STRING.
29517 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29519 (truncate64): Do not use CHECK_STRING.
29520 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29522 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29523 (__xmknod): Do not use CHECK_STRING.
29524 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29526 (__xmknodat): Do not use CHECK_STRING.
29527 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29528 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29530 2013-02-04 Andreas Schwab <schwab@suse.de>
29533 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29534 * include/netdb.h: Likewise for h_errno.
29535 * elf/tst-stackguard1.c: Include <tls.h>.
29537 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29539 * elf/link.h (struct link_map): Extend the l_addr comment.
29540 * include/link.h (struct link_map): Likewise.
29542 2013-02-01 Joseph Myers <joseph@codesourcery.com>
29545 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29546 (BOUNDED_1): Remove macro.
29547 * debug/backtrace.c: Don't include <bp-checks.h>.
29548 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29549 (__backtrace): Likewise.
29550 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29552 (__backtrace): Don't use BOUNDED_1.
29553 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29555 (__backtrace): Don't use BOUNDED_1.
29556 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29557 (__backtrace): Don't use BOUNDED_1.
29558 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29559 (shmat): Don't use BOUNDED_N.
29561 2013-01-31 Joseph Myers <joseph@codesourcery.com>
29564 * sysdeps/generic/bp-start.h: Remove file.
29565 * csu/libc-start.c: Don't include <bp-start.h>.
29566 (LIBC_START_MAIN): Set up __environ directly instead of using
29567 INIT_ARGV_and_ENVIRON.
29568 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29572 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29574 (CHECK_FCNTL): Likewise.
29575 (CHECK_N_PAGES): Likewise.
29578 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29580 (CHECK_SIGSET_NULL_OK): Likewise.
29581 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29583 (sigpending): Don't use CHECK_SIGSET.
29584 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29586 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29587 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29589 (do_sigsuspend): Don't use CHECK_SIGSET.
29590 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29592 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29593 (do_sigwait): Don't use CHECK_SIGSET.
29594 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29597 include <bp-checks.h>.
29598 (sigpending): Don't use CHECK_SIGSET.
29599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29600 include <bp-checks.h>.
29601 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29602 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29604 (sigpending): Don't use CHECK_SIGSET.
29605 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29610 * sysdeps/generic/bp-semctl.h: Remove file.
29611 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29612 <bp-checks.h> and <bp-semctl.h>.
29613 (__old_semctl): Don't use CHECK_SEMCTL.
29614 (__new_semctl): Likewise.
29615 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29617 (__old_semctl): Don't use CHECK_SEMCTL.
29618 (__new_semctl): Likewise.
29619 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29620 <bp-checks.h> and <bp-semctl.h>.
29621 (__old_semctl): Don't use CHECK_SEMCTL.
29622 (__new_semctl): Likewise.
29623 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29624 <bp-checks.h> and <bp-semctl.h>.
29625 (semctl): Don't use CHECK_SEMCTL.
29628 * Makerules (elide-bp-thunks): Remove variable.
29629 (elide-routines.oS): Don't use $(elide-bp-thunks).
29630 (elide-routines.os): Likewise.
29631 (elide-routines.o): Likewise.
29632 (elide-routines.op): Likewise.
29633 (elide-routines.og): Likewise.
29634 (objects): Don't use $(bp-thunks).
29635 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29637 (common-generated): Do not add s-proto-bp.d.
29638 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29641 Do not generate makefile rules for bounded-pointer thunks.
29642 * sysdeps/generic/bp-thunks.h: Remove file.
29643 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29644 * sysdeps/unix/s-proto-bp.S: Likewise.
29647 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29648 parts of result separately when argument is not close to line from
29649 -i to i and one part of argument is small.
29650 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29651 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29652 * math/libm-test.inc (cacos_test): Add more tests.
29653 (casin_test): Likewise.
29654 (casinh_test): Likewise.
29655 * sysdeps/i386/fpu/libm-test-ulps: Update.
29656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29658 2013-01-31 David S. Miller <davem@davemloft.net>
29660 * po/de.po: Update from translation team.
29662 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29664 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29666 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29668 * configure.in (_AC_PROG_CC_C89): New definition.
29669 * configure: Regenerate.
29671 * configure.in (AC_PROG_CPP): New definition.
29672 * configure: Regenerate.
29674 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29676 * debug/tst-backtrace.h: New file.
29677 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29678 (ret): Remove variable.
29680 (FAIL): Remove macro.
29681 (NO_INLINE): Likewise.
29682 (fn1): Use match function instead of strstr.
29683 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29684 (ret): Remove variable.
29686 (FAIL): Remove macro.
29687 (NO_INLINE): Likewise.
29688 (fn): Use match function instead of strstr.
29689 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29690 (ret): Remove variable.
29692 (FAIL): Remove macro.
29693 (NO_INLINE): Likewise.
29694 (handle_signal): Use match function instead of strstr.
29695 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29696 (ret): Remove variable.
29698 (FAIL): Remove macro.
29699 (NO_INLINE): Likewise.
29700 (handle_signal): Use match function instead of strstr.
29702 2013-01-23 Roland McGrath <roland@hack.frob.com>
29704 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29706 2013-01-23 David S. Miller <davem@davemloft.net>
29708 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29709 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29710 argument of CAS if possible.
29711 * sysdeps/sparc/sparc64/bits/atomic.h
29712 (__arch_compare_and_exchange_val_32_acq): Likewise.
29713 (__arch_compare_and_exchange_val_64_acq): Likewise.
29715 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29717 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29718 * sysdeps/posix/ulimit.c: ... this.
29719 Include <limits.h>.
29720 * sysdeps/unix/bsd/ulimit.c: Remove file.
29722 2013-01-23 Adam Conrad <adconrad@0c3.net>
29724 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29725 (LDFLAGS-tst-array5): Likewise.
29727 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29730 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29731 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29732 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29733 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29735 2013-01-21 David S. Miller <davem@davemloft.net>
29737 * sysdeps/sparc/backtrace.c: New file.
29738 * sysdeps/sparc/sparc32/backtrace.h: New file.
29739 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29740 * sysdeps/sparc/sparc64/backtrace.h: New file.
29741 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29742 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29745 2013-01-21 Andreas Schwab <schwab@suse.de>
29748 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29751 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29757 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29758 Mark Mitchell <mark@codesourcery.com>
29759 Tom de Vries <tom@codesourcery.com>
29760 Paul Pluzhnikov <ppluzhnikov@google.com>
29762 * debug/tst-backtrace2.c: New file.
29763 * debug/tst-backtrace3.c: Likewise.
29764 * debug/tst-backtrace4.c: Likewise.
29765 * debug/tst-backtrace5.c: Likewise.
29766 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29767 (CFLAGS-tst-backtrace3.c): Likewise.
29768 (CFLAGS-tst-backtrace4.c): Likewise.
29769 (CFLAGS-tst-backtrace5.c): Likewise.
29770 (LDFLAGS-tst-backtrace2): Likewise.
29771 (LDFLAGS-tst-backtrace3): Likewise.
29772 (LDFLAGS-tst-backtrace4): Likewise.
29773 (LDFLAGS-tst-backtrace5): Likewise.
29774 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29775 tst-backtrace4 and tst-backtrace5.
29777 2013-01-18 Anton Blanchard <anton@samba.org>
29778 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29780 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29781 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29782 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29783 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29785 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29786 "+r" and remove output regs list as redundant. Add explicit inline
29787 asm to specify register of return val to work around compiler codegen
29788 bug. Remove (int) cast on return value. Add return type parameter to
29789 use in macro so that this macro does not truncate return value for
29791 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29792 pass to INTERNAL_VSYSCALL_NCS.
29793 (INLINE_VSYSCALL): Add 'long int' as return type to
29794 INTERNAL_VSYSCALL_NCS macro invocation.
29795 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29796 INTERNAL_VSYSCALL_NCS macro invocation.
29797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29799 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29802 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29803 Fix application of SIMD FP exception mask.
29805 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29806 mp_no from a power of two.
29807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29808 __mpexp_twomm1. Use __pow_mp.
29810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29813 2013-01-17 David S. Miller <davem@davemloft.net>
29815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29817 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29820 * include/complex.h: Condition contents on [!_COMPLEX_H].
29821 (__kernel_casinhf): New prototype.
29822 (__kernel_casinh): Likewise.
29823 (__kernel_casinhl): Likewise.
29824 * math/Makefile (libm_calls): Add k_casinh.
29825 * math/k_casinh.c: New file.
29826 * math/k_casinhf.c: Likewise.
29827 * math/k_casinhl.c: Likewise.
29828 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29829 finite nonzero arguments.
29830 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29831 finite nonzero arguments.
29832 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29833 finite nonzero arguments.
29834 * math/s_casinh.c: Do not include <float.h>.
29835 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29836 * math/s_casinhf.c: Do not include <float.h>.
29837 (__casinhf): Move code for finite nonzero arguments to
29839 * math/s_casinhl.c: Do not include <float.h>.
29840 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29842 (__casinhl): Move code for finite nonzero arguments to
29844 * math/libm-test.inc (cacos_test): Add more tests.
29845 * sysdeps/i386/fpu/libm-test-ulps: Update.
29846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29848 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29850 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29851 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29852 [!HAVE_MREMAP]: Remove [defined linux] case.
29853 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29855 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29857 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29859 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29861 * elf/elf.h (R_386_SIZE32): New relocation.
29862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29864 (elf_machine_rela): Likewise.
29865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29866 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29868 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29870 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29871 (FP_FAST_FMA): Do not define.
29872 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29873 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29874 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29875 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29876 !_SOFT_FLOAT]: Likewise.
29877 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29878 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29881 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29883 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29884 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29885 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29888 2013-01-16 Andreas Schwab <schwab@suse.de>
29891 * include/stdlib.h (__mktemp): Add declaration.
29892 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29893 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29895 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29897 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29899 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29900 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29901 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29903 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29904 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29906 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29908 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29909 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29910 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29912 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29913 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29915 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29917 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29919 2013-01-15 David S. Miller <davem@davemloft.net>
29921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29922 trunc{,f} to libm-sysdep_routes.
29923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29934 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29935 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29936 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29937 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29938 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29941 nearbyint{,f} to libm-sysdep_routes.
29942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29956 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29959 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29960 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29962 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29963 libc_feholdexcept and libc_fesetenv.
29965 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29967 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29969 2013-01-14 David S. Miller <davem@davemloft.net>
29971 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29972 (SPARC_ASM_VIS2_IFUNC): Likewise.
29973 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29975 use of 'siam' instruction.
29976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30009 routines to libm-sysdep_routines.
30010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30013 fdim/fdimf to libm-sysdep_routines.
30014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30022 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30023 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30024 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30025 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30027 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30029 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30030 to optimize copies.
30032 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30037 local variable MPTWO.
30038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30041 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30043 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30046 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30048 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30050 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30052 * manual/pattern.texi (glob_t): Document gl_flags.
30053 (glob64_t): Likewise.
30055 2013-01-11 David S. Miller <davem@davemloft.net>
30057 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30058 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30059 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30060 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30061 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30062 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30063 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30064 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30065 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30066 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30067 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30068 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30069 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30071 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30072 sparc V9 rather than using V8 code.
30073 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30074 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30076 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30078 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30081 2013-01-11 Roland McGrath <roland@hack.frob.com>
30083 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30084 not in the main loop.
30085 * configure: Regenerated.
30087 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30089 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30090 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30092 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30093 [!__GLIBC_HAVE_LONG_LONG] case.
30094 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30095 condition to just #else.
30096 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30097 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30098 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30099 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30101 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30102 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30103 #elif condition to just #else.
30104 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30105 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30106 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30107 #elif condition to just #else.
30109 2013-01-11 Steve Ellcey <sellcey@mips.com>
30111 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30112 (EF_MIPS_ARCH_64): Fix value.
30113 (EF_MIPS_ARCH_32R2): New.
30114 (EF_MIPS_ARCH_64R2): New.
30116 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30118 * Makeconfig (+link-pie-before-libc): New.
30119 (+link-pie-after-libc): Likewise.
30120 (+link-pie-tests): Likewise.
30121 (+link-pie): Rewritten.
30122 (link-before-libc): Remove $(config-LDFLAGS).
30123 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30124 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30125 (config-LDFLAGS): Renamed to ...
30126 (rtld-LDFLAGS): This.
30127 (rtld-tests-LDFLAGS): New macro.
30128 (link-libc-rpath-link): Likewise.
30129 (link-libc-tests-rpath-link): Likewise.
30130 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30131 (link-libc): Prepand $(link-libc-rpath-link).
30132 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30133 (test-program-prefix): New macro.
30134 (test-via-rtld-prefix): Likewise.
30135 (test-program-cmd): Likewise.
30136 (host-test-program-cmd): Likewise.
30137 * Makefile ($(common-objpfx)testrun.sh): Replace
30138 $(run-program-prefix) with $(test-program-prefix).
30139 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30141 ($(common-objpfx)shlib.lds): Likewise.
30142 (build-module-helper): Likewise.
30143 ($(common-objpfx)format.lds): Likewise.
30144 * Rules (binaries-pie-tests): New.
30145 (binaries-pie-notests): Likewise.
30146 (binaries-pie): Rewritten.
30147 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30148 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30149 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30150 (make-test-out): Replace $(host-built-program-cmd) with
30151 $(host-test-program-cmd).
30152 * config.make.in (build-hardcoded-path-in-tests): New variable.
30153 * configure.in (--enable-hardcoded-path-in-tests): New configure
30155 (hardcoded_path_in_tests): New AC_SUBST.
30156 * configure: Regenerated.
30157 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30158 $(built-program-cmd) with $(test-program-cmd).
30159 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30160 (test_program_cmd): This.
30161 * elf/Makefile ($(objpfx)order.out): Run test with
30162 $(test-program-prefix).
30163 ($(objpfx)order2.out): Likewise.
30164 ($(objpfx)tst-initorder.out): Likewise.
30165 ($(objpfx)tst-initorder2.out): Likewise.
30166 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30167 $(test-program-cmd).
30168 ($(objpfx)tst-array1-static.out): Likewise.
30169 ($(objpfx)tst-array2.out): Likewise.
30170 ($(objpfx)tst-array3.out): Likewise.
30171 ($(objpfx)tst-array4.out): Likewise.
30172 ($(objpfx)tst-array5.out): Likewise.
30173 ($(objpfx)tst-array5-static.out): Likewise.
30174 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30175 $(test-program-cmd).
30176 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30177 $(run-program-prefix) with $(test-program-prefix).
30178 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30179 (test_program_prefix): This.
30180 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30181 $(run-program-prefix) with $(test-program-prefix).
30182 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30183 (test_program_prefix): This.
30184 * iconvdata/tst-tables.sh: Likewise.
30185 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30186 $(run-program-prefix) with $(test-program-prefix).
30187 ($(objpfx)tst-translit.out): Likewise.
30188 ($(objpfx)tst-gettext2.out): Likewise.
30189 ($(objpfx)tst-gettext4.out): Likewise.
30190 ($(objpfx)tst-gettext6.out): Likewise.
30191 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30192 (test_program_prefix): This.
30193 * intl/tst-gettext2.sh: Likewise.
30194 * intl/tst-gettext4.sh Likewise.
30195 * intl/tst-gettext6.sh: Likewise.
30196 * intl/tst-translit.sh: Likewise.
30197 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30198 with $(test-program-cmd).
30199 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30200 $(run-program-prefix) with $(test-program-prefix).
30201 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30202 (test_program_prefix): This.
30203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30204 $(run-program-prefix) with $(test-program-prefix).
30205 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30206 (test_program_prefix): This.
30207 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30208 * posix/Makefile ($(objpfx)globtest.out): Replace
30209 $(run-via-rtld-prefix) and $(test-wrapper) with
30210 $(test-program-prefix) and $(test-via-rtld-prefix).
30211 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30212 $(test-program-prefix).
30213 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30214 $(host-test-program-cmd).
30215 (tst-spawn-ARGS): Likewise.
30216 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30217 $(test-program-prefix).
30218 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30219 (test_via_rtld_prefix): This.
30220 (test_wrapper): Renamed to ...
30221 (test_program_prefix): This.
30222 (run_program_prefix): Replaced by test_program_prefix.
30223 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30224 (test_program_prefix): This.
30225 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30226 with $(host-test-program-cmd).
30227 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30228 $(run-program-prefix) with $(test-program-prefix).
30229 ($(objpfx)tst-printf.out): Likewise.
30230 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30231 $(test-program-cmd).
30232 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30233 (test_program_prefix): This.
30234 * stdio-common/tst-unbputc.sh: Likewise.
30235 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30236 $(run-program-prefix) with $(test-program-prefix).
30237 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30238 (test_program_prefix): This.
30239 * string/Makefile ($(objpfx)tst-svc.out): Replace
30240 $(built-program-cmd) with $(test-program-cmd).
30242 2013-01-11 Andreas Jaeger <aj@suse.de>
30245 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30246 value. Sync with Linux 3.7.
30248 2013-01-10 David S. Miller <davem@davemloft.net>
30250 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30251 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30252 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30254 2013-01-10 Roland McGrath <roland@hack.frob.com>
30256 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30258 * configure: Regenerated.
30260 2013-01-10 David S. Miller <davem@davemloft.net>
30262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30263 sparc V9 rather than using V8 code.
30264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30267 2013-01-10 Roland McGrath <roland@hack.frob.com>
30269 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30270 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30271 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30272 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30273 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30274 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30275 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30276 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30277 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30278 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30279 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30280 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30281 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30282 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30283 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30284 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30285 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30286 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30287 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30288 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30289 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30290 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30291 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30292 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30293 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30294 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30295 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30297 2013-01-10 David S. Miller <davem@davemloft.net>
30299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30301 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30303 * posix/Makefile (tests-static): New variable.
30304 (tests): Add $(tests-static).
30305 (tst-exec-static-ARGS): New variable.
30306 (tst-spawn-static-ARGS): Likewise.
30307 * posix/tst-exec-static.c: New file.
30308 * posix/tst-spawn-static.c: Likewise.
30309 * posix/tst-exec.c: Support run directly.
30310 * posix/tst-spawn.c: Likewise.
30312 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30314 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30316 * math/bits/mathcalls.h (llrint): Likewise.
30317 (llround): Likewise.
30318 * stdlib/stdlib.h (struct drand48_data): Likewise.
30319 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30320 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30321 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30323 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30325 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30326 (elf_greg_t): Likewise.
30327 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30328 (__jmp_buf): Likewise.
30329 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30331 (llrint): Likewise, for all definitions.
30332 (llrintl): Likewise.
30334 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30335 Remove [__GNUC__] condition.
30336 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30337 condition to just [__USE_ISOC99].
30338 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30340 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30343 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30344 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30346 (_POSIX_V6_ILP32_OFF32): Likewise.
30347 (_XBS5_ILP32_OFF32): Likewise.
30348 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30349 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30351 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30353 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30356 doubles __mpexp_twomm1. Adjust usage.
30357 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30360 2013-01-10 Andreas Schwab <schwab@suse.de>
30363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30364 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30366 2013-01-09 David S. Miller <davem@davemloft.net>
30369 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30370 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30371 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30372 (TCP_FASTOPEN): Define.
30373 (tcp_repair_opt): New structure.
30374 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30376 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30377 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30378 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30379 (tcp_cookie_transactions): New structure.
30381 2013-01-09 Anton Blanchard <anton@samba.org>
30383 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30384 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30388 2013-01-09 Joseph Myers <joseph@codesourcery.com>
30390 * include/features.h (__USE_ANSI): Remove.
30392 2013-01-09 Roland McGrath <roland@hack.frob.com>
30394 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30396 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30398 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30400 * sysdeps/s390/fpu/libm-test-ulps: Update.
30402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30404 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30408 (denorm): Likewise.
30409 (__mp_dbl): Likewise.
30410 (__dbl_mp): Likewise.
30411 (add_magnitudes): Likewise.
30412 (sub_magnitudes): Likewise.
30418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30422 (denorm): Likewise.
30423 (__mp_dbl): Likewise.
30424 (__dbl_mp): Likewise.
30425 (add_magnitudes): Likewise.
30426 (sub_magnitudes): Likewise.
30432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30436 (denorm): Likewise.
30437 (__mp_dbl): Likewise.
30438 (__dbl_mp): Likewise.
30439 (add_magnitudes): Likewise.
30440 (sub_magnitudes): Likewise.
30447 2013-01-08 Joseph Myers <joseph@codesourcery.com>
30449 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30450 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30451 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30452 2 && __USE_EXTERN_INLINES]: Likewise.
30454 2013-01-08 Andreas Jaeger <aj@suse.de>
30457 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30459 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30460 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30462 2013-01-07 Anton Blanchard <anton@samba.org>
30464 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30465 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30466 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30467 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30468 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30469 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30470 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30471 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30473 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30478 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30480 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30481 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30485 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30486 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30487 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30488 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30490 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30491 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30494 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30496 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30498 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30499 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30501 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30502 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30504 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30506 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30508 2013-01-07 Joseph Myers <joseph@codesourcery.com>
30510 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30511 (__MALLOC_PMT): Likewise.
30512 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30513 [__GNUC__], only on [_LIBC].
30514 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30515 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30516 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30517 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30518 forward declaration.
30519 (realloc_hook_ini): Likewise.
30520 (memalign_hook_ini): Likewise.
30521 (__libc_memalign): Do not use __MALLOC_PMT in variable
30523 (__libc_valloc): Likewise.
30524 (__libc_pvalloc): Likewise.
30525 (__libc_calloc): Likewise.
30526 (__posix_memalign): Likewise.
30529 * math/s_casinh.c: Include <float.h>.
30530 (__casinh): Do not do computation with squaring and square root
30531 for large arguments.
30532 * math/s_casinhf.c: Include <float.h>.
30533 (__casinhf): Do not do computation with squaring and square root
30534 for large arguments.
30535 * math/s_casinhl.c: Include <float.h>.
30536 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30537 (__casinhl): Do not do computation with squaring and square root
30538 for large arguments.
30539 * math/libm-test.inc (casin_test): Add more tests.
30540 (casinh_test): Likewise.
30541 * sysdeps/i386/fpu/libm-test-ulps: Update.
30542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30544 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30546 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30547 (__x86_64_raw_data_cache_size): Likewise.
30548 (__x86_64_data_cache_size_half): Likewise.
30549 (__x86_64_raw_data_cache_size_half): Likewise.
30550 (__x86_64_shared_cache_size): Likewise.
30551 (__x86_64_raw_shared_cache_size): Likewise.
30552 (__x86_64_shared_cache_size_half): Likewise.
30553 (__x86_64_raw_shared_cache_size_half): Likewise.
30554 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30556 (__x86_data_cache_size): This.
30557 (__x86_64_raw_data_cache_size): Renamed to ...
30558 (__x86_raw_data_cache_size): This.
30559 (__x86_64_data_cache_size_half): Renamed to ...
30560 (__x86_data_cache_size_half): This.
30561 (__x86_64_raw_data_cache_size_half): Renamed to ...
30562 (__x86_raw_data_cache_size_half): This.
30563 (__x86_64_shared_cache_size): Renamed to ...
30564 (__x86_shared_cache_size): This.
30565 (__x86_64_raw_shared_cache_size): Renamed to ...
30566 (__x86_raw_shared_cache_size): This.
30567 (__x86_64_shared_cache_size_half): Renamed to ...
30568 (__x86_shared_cache_size_half): This.
30569 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30570 (__x86_raw_shared_cache_size_half): This.
30571 * sysdeps/x86_64/memcpy.S: Updated.
30572 * sysdeps/x86_64/memset.S: Likewise.
30573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30577 2013-01-04 David S. Miller <davem@davemloft.net>
30579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30581 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30583 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30584 1 to avoid redefinition warning.
30585 (__USE_GNU): Don't define.
30586 (init_signaling_nan): Protoize.
30588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30590 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30592 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30594 (__cpymn): Likewise.
30595 (norm): Remove commented code.
30596 (denorm): Likewise.
30597 (__mp_dbl): Likewise.
30599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30600 (__cpymn): Likewise.
30601 (norm): Remove commented code.
30602 (denorm): Likewise.
30603 (__mp_dbl): Likewise.
30606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30607 mp_no value for 1.0 and 2.0.
30608 (norm): Use RADIXI instead of radixi.d.
30609 (denorm): Likewise.
30610 (__mul): Use 0.0 instead of zero.d.
30611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30612 mp_no value for 1.0 and 2.0.
30613 (norm): Use RADIXI instead of radixi.d.
30614 (denorm): Likewise.
30615 (__mul): Use 0.0 instead of zero.d.
30617 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30620 * math/s_casinh.c (__casinh): Reduce finite argument to first
30621 quadrant then set signs of results at the end.
30622 * math/s_casinhf.c (__casinhf): Likewise.
30623 * math/s_casinhl.c (__casinhl): Likewise.
30624 * math/libm-test.inc (casin_test): Add more tests.
30625 (casinh_test): Likewise.
30626 * sysdeps/i386/fpu/libm-test-ulps: Update.
30627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30629 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30631 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30633 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30635 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30637 (denorm): Likewise.
30638 (__mp_dbl): Likewise.
30641 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30642 and adjust the header comment.
30644 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30645 variable name from declaration.
30647 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30650 Initialize COMMON_CPUID_INDEX_7 element.
30651 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30652 (CPUID_RTM): Likewise.
30653 (HAS_RTM): Likewise.
30654 (COMMON_CPUID_INDEX_7): New enum.
30656 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30659 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30660 size is zero, record memory as freed.
30662 2013-01-03 Andreas Jaeger <aj@suse.de>
30664 * po/ia.po: Add new Interlingua translation.
30666 2012-01-03 Allan McRae <allan@archlinux.org>
30668 * locale/programs/localedef.c: Fix description of '--posix' flag.
30670 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30672 * NEWS: Update dates in second copyright notice.
30673 * README: Update copyright dates in example.
30674 * manual/libc.texinfo: Update copyright dates.
30675 * scripts/test-installation.pl: Update copyright date in --version
30678 * hurd/ctty-input.c: Fix copyright notice formatting.
30679 * hurd/ctty-output.c: Likewise.
30680 * hurd/dtable.c: Likewise.
30681 * hurd/hurd-raise.c: Likewise.
30682 * hurd/hurdprio.c: Likewise.
30683 * hurd/msgportdemux.c: Likewise.
30684 * misc/sys/file.h: Likewise.
30685 * misc/sys/ioctl.h: Likewise.
30686 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30687 * sysdeps/mach/hurd/chdir.c: Likewise.
30688 * sysdeps/mach/hurd/fchdir.c: Likewise.
30689 * sysdeps/mach/hurd/rename.c: Likewise.
30690 * sysdeps/mach/hurd/rmdir.c: Likewise.
30691 * sysdeps/mach/hurd/seekdir.c: Likewise.
30692 * sysdeps/mach/hurd/setsid.c: Likewise.
30693 * sysdeps/posix/wait3.c: Likewise.
30695 * All files with FSF copyright notices: Update copyright dates
30696 using scripts/update-copyrights.
30697 * intl/plural.c: Regenerated.
30698 * locale/programs/charmap-kw.h: Likewise.
30699 * locale/programs/locfile-kw.h: Likewise.
30701 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30703 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30707 calculation loop and add branch prediction.
30709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30710 check access beyond bounds of m1np.
30712 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30714 (__inv): Remove local variable MPTWO to use the global
30716 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30717 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30719 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30720 MP3HALFS static const.
30722 2013-01-01 David S. Miller <davem@davemloft.net>
30724 * po/ca.po: Update from translation team.
30726 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30728 * scripts/update-copyrights: New file.
30729 * Makeconfig: Reformat copyright notice.
30730 * ctype/ctype.h: Likewise.
30731 * debug/swprintf_chk.c: Likewise.
30732 * elf/dl-cache.c: Likewise.
30733 * elf/dl-debug.c: Likewise.
30734 * elf/dl-object.c: Likewise.
30735 * grp/initgroups.c: Likewise.
30736 * hurd/Makefile: Likewise.
30737 * hurd/hurd/signal.h: Likewise.
30738 * hurd/hurdfault.c: Likewise.
30739 * hurd/hurdioctl.c: Likewise.
30740 * hurd/hurdlookup.c: Likewise.
30741 * hurd/intr-msg.c: Likewise.
30742 * iconv/gconv_open.c: Likewise.
30743 * libio/swprintf.c: Likewise.
30744 * locale/lc-ctype.c: Likewise.
30745 * locale/nl_langinfo.c: Likewise.
30746 * mach/Machrules: Likewise.
30747 * mach/Makefile: Likewise.
30748 * malloc/obstack.h: Likewise.
30749 * manual/Makefile: Likewise.
30750 * manual/tsort.awk: Likewise.
30751 * misc/bits/stab.def: Likewise.
30752 * nis/nis_print_group_entry.c: Likewise.
30753 * nis/nis_table.c: Likewise.
30754 * nis/nss_compat/compat-pwd.c: Likewise.
30755 * nis/nss_compat/compat-spwd.c: Likewise.
30756 * po/Makefile: Likewise.
30757 * posix/fnmatch.c: Likewise.
30758 * posix/regex.h: Likewise.
30759 * resolv/Makefile: Likewise.
30760 * resolv/nss_dns/dns-network.c: Likewise.
30761 * resolv/res_hconf.c: Likewise.
30762 * scripts/gen-sorted.awk: Likewise.
30763 * soft-fp/soft-fp.h: Likewise.
30764 * stdio-common/printf.h: Likewise.
30765 * stdlib/monetary.h: Likewise.
30766 * stdlib/random.c: Likewise.
30767 * stdlib/random_r.c: Likewise.
30768 * sysdeps/generic/Makefile: Likewise.
30769 * sysdeps/gnu/Makefile: Likewise.
30770 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30777 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30780 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30798 * sysdeps/mach/hurd/errnos.awk: Likewise.
30799 * sysdeps/mach/hurd/fork.c: Likewise.
30800 * sysdeps/mach/hurd/getcwd.c: Likewise.
30801 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30802 * sysdeps/mach/hurd/mmap.c: Likewise.
30803 * sysdeps/mach/hurd/utimes.c: Likewise.
30804 * sysdeps/mach/hurd/xmknod.c: Likewise.
30805 * sysdeps/posix/profil.c: Likewise.
30806 * sysdeps/posix/readdir_r.c: Likewise.
30807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30808 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30809 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30810 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30812 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30813 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30818 * sysdeps/pthread/lio_listio.c: Likewise.
30819 * sysdeps/sparc/dl-procinfo.h: Likewise.
30820 * sysdeps/unix/i386/sysdep.S: Likewise.
30821 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30822 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30823 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30824 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30826 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30827 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30828 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30829 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30830 * sysdeps/wordsize-32/divdi3.c: Likewise.
30831 * time/sys/time.h: Likewise.
30832 * wcsmbs/Makefile: Likewise.
30834 2013-01-01 David S. Miller <davem@davemloft.net>
30836 * po/fr.po: Update from translation team.
30838 * catgets/gencat.c: Update copyright year.
30839 * csu/version.c: Likewise.
30840 * debug/catchsegv.sh: Likewise.
30841 * debug/pcprofiledump.c: Likewise.
30842 * debug/xtrace.sh: Likewise.
30843 * elf/ldconfig.c: Likewise.
30844 * elf/ldd.bash.in: Likewise.
30845 * elf/pldd.c: Likewise.
30846 * elf/sotruss.ksh: Likewise.
30847 * elf/sprof.c: Likewise.
30848 * iconv/iconv_prog.c: Likewise.
30849 * iconv/iconvconfig.c: Likewise.
30850 * locale/programs/locale.c: Likewise.
30851 * locale/programs/localedef.c: Likewise.
30852 * login/programs/pt_chown.c: Likewise.
30853 * malloc/memusage.sh: Likewise.
30854 * malloc/memusagestat.c: Likewise.
30855 * malloc/mtrace.pl: Likewise.
30856 * nscd/nscd.c: Likewise.
30857 * nss/getent.c: Likewise.
30858 * nss/makedb.c: Likewise.
30859 * posix/getconf.c: Likewise.
30861 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30863 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30866 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30868 * math/bits/mathcalls.h (modf): Use __nonnull.
30870 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30872 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30873 (split): Use macro CN instead of the bare value.
30874 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30877 instead of the bare value.
30878 (power1): Likewise.
30880 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30884 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30886 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30888 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30890 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30891 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30893 2012-12-28 Andreas Jaeger <aj@suse.de>
30895 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30896 values are from Linux 3.7.
30898 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30899 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30901 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30903 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30908 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30909 variables with preprocessor constants.
30910 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30911 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30914 2012-12-27 Bruno Haible <bruno@clisp.org>
30917 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30920 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30923 and use variable directly.
30924 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30926 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30928 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30933 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30934 include directive. Remove local variable MPONE.
30935 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30936 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30939 2012-12-25 David S. Miller <davem@davemloft.net>
30941 * version.h (RELEASE): Set to "development".
30942 (VERSION): Set to "2.17.90".
30943 * NEWS: Add 2.18 section.
30945 2012-12-21 David S. Miller <davem@davemloft.net>
30947 * po/hr.po: Update from translation team.
30949 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30951 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30953 2012-12-19 Steve Ellcey <sellcey@mips.com>
30955 * NEWS: Mention new memcpy for MIPS.
30957 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30959 * manual/contrib.texi (Contributors): Spelling correction.
30961 2012-12-15 David S. Miller <davem@davemloft.net>
30963 * po/ru.po: Update from translation team.
30965 2012-12-13 David S. Miller <davem@davemloft.net>
30967 * NEWS: Mention IFUNC testsuite enhancements.
30969 * po/pl.po: Update from translation team.
30970 * po/bg.po: Likewise.
30972 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30973 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30975 2012-12-11 David S. Miller <davem@davemloft.net>
30977 * po/sv.po: Update from translation team.
30979 * po/vi.po: Update from translation team.
30981 * po/cs.po: Update from translation team.
30983 * po/de.po: Update from translation team.
30984 * po/eo.po: Likewise.
30985 * po/nl.po: Likewise.
30987 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30990 * manual/argp.texi (Argp Helper Functions): Move node to follow
30991 Argp Parsing State.
30994 * manual/conf.texi (Limits on File System Capacity): Mention if
30995 terminating null is included in the max size.
30997 2012-12-10 Andreas Jaeger <aj@suse.de>
30999 * po/cs.po: Update from translation team.
31001 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31003 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31004 void pointer and cast to uintptr_t.
31005 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31007 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31008 * sysdeps/s390/s390-64/memset.S: Likewise.
31010 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31013 * menual/message.texi (Message Translation): Fix typos.
31014 (Helper programs for gettext): Likewise.
31016 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31019 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31022 2012-12-07 David S. Miller <davem@davemloft.net>
31024 * po/libc.pot: Update.
31026 2012-12-07 Richard Henderson <rth@redhat.com>
31029 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31030 normal/normal case to before the switch.
31031 (_FP_DIV): Likewise.
31033 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31034 Mike Frysinger <vapier@gentoo.org>
31036 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31037 check for __NR_fadvise64_64.
31039 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31041 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31042 0, not just to plain "0" as a statement.
31043 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31046 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31048 * NEWS: Use sourceware.org in Bugzilla URL.
31050 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31053 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31055 * stdio-common/tst-put-error.c (do_test): Add newline to the
31056 padded test to ensure flush.
31058 2012-12-05 Jeff Law <law@redhat.com>
31060 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31062 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31064 * README: Don't refer to ports add-on as distributed separately.
31065 Mention AArch64 in list of systems supported in the ports add-on.
31067 * LICENSES: Add more non-FSF copyright and license notices.
31069 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31072 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31074 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31075 10000 as width of padded output.
31077 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31079 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31082 variable LX with __attribute__ ((unused)).
31083 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31088 with __attribute__ ((unused)).
31090 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31092 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31094 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31096 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31097 (CFLAGS-nldbl-acos.c): New variable.
31098 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31099 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31100 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31101 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31102 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31103 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31104 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31105 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31106 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31107 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31108 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31109 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31110 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31111 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31112 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31113 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31114 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31115 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31116 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31117 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31118 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31119 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31120 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31121 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31122 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31123 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31124 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31125 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31126 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31127 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31128 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31129 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31130 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31131 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31132 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31133 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31134 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31135 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31136 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31137 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31138 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31139 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31140 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31141 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31142 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31143 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31144 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31145 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31146 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31147 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31148 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31149 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31150 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31151 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31152 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31153 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31154 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31155 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31156 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31157 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31158 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31159 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31160 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31161 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31162 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31163 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31164 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31165 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31166 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31167 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31168 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31169 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31170 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31171 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31172 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31173 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31174 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31175 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31176 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31177 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31178 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31179 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31180 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31181 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31182 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31183 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31184 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31185 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31186 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31187 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31188 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31189 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31190 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31191 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31192 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31193 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31194 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31197 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31201 whole low double instead of just low 47 bits when splitting values
31204 2012-12-03 Allan McRae <allan@archlinux.org>
31206 * manual/stdio.texi (Predefined Printf Handlers): Remove
31207 @hsep and @vsep usage.
31209 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31211 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31212 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31214 2012-12-03 Jeff Law <law@redhat.com>
31216 * time/sys/time.h (settimeofday): Do not mark TV argument
31219 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31221 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31222 when currently writing and seek to current position when not.
31223 * libio/Makefile (tests): Remove bug-fclose1.
31224 * libio/bug-fclose1.c: Delete.
31226 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31228 * manual/arith.texi (feenableexcept): Fix typo.
31229 (fedisableexcept): Likewise.
31231 2012-11-30 Roland McGrath <roland@hack.frob.com>
31233 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31234 second, differently-typed declaration, rather than a cast.
31236 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31238 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31239 * include/rpc/svc.h: ... here.
31241 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31244 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31245 depending n and resplen2 to catch cases where answer
31248 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31250 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31251 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31253 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31255 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31257 2012-11-29 Roland McGrath <roland@hack.frob.com>
31259 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31261 2012-11-28 Jeff Law <law@redhat.com>
31264 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31265 dataset_temporary. Track alloca usage into alloca_used.
31266 If dataset is large allocate and release it via malloc/free.
31268 2012-06-04 Florian Weimer <fweimer@redhat.com>
31271 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31273 2012-11-28 David S. Miller <davem@davemloft.net>
31275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31277 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31280 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31281 of pi/2 rounded to nearest to 64 bits.
31282 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31283 nearest to 64 bits.
31284 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31287 2012-11-28 Jeff Law <law@redhat.com>
31288 Martin Osvald <mosvald@redhat.com>
31291 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31292 * sunrpc/svc.c: Include time.h.
31293 (__svc_accept_failed): New function.
31294 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31295 any reason other than EINTR, call __svc_accept_failed.
31296 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31297 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31299 2012-11-28 Andreas Schwab <schwab@suse.de>
31301 * scripts/abilist.awk: Also handle indirect functions in .opd
31304 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31307 * sysdeps/x86/fpu/powl_helper.c: New file.
31308 * sysdeps/x86/fpu/Makefile: Likewise.
31309 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31311 (__ieee754_powl): Use __powl_helper for finite arguments except
31312 integer exponents below 8.
31313 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31315 (__ieee754_powl): Use __powl_helper for finite arguments except
31316 integer exponents below 8.
31317 * math/libm-test.inc (pow_test): Add more tests and enable some
31318 previously disabled tests.
31319 * sysdeps/i386/fpu/libm-test-ulps: Update.
31320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31322 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31323 Carlos O'Donell <carlos_odonell@mentor.com>
31325 * nss/makedb.c (is_prime): Assert that input is odd and greater
31326 than 4. Note that fact in a comment too.
31327 (next_prime): Add 4 to input.
31329 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31332 * libio/Makefile (tests): Add test case tst-fwrite-error.
31333 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31334 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31335 * libio/tst-fwrite-error.c: New test case.
31337 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31339 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31340 before casting to void *.
31341 * include/libc-internal.h (__pointer_type): New macro.
31342 (__integer_if_pointer_type_sub): Likewise.
31343 (__integer_if_pointer_type): Likewise.
31344 (cast_to_integer): Likewise.
31345 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31346 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31347 before casting to atomic64_t.
31348 (atomic_exchange_acq): Likewise.
31349 (__arch_exchange_and_add_body): Likewise.
31350 (__arch_add_body): Likewise.
31351 (atomic_add_negative): Likewise.
31352 (atomic_add_zero): Likewise.
31354 2012-11-26 Joseph Myers <joseph@codesourcery.com>
31356 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31357 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31358 (add_fdes): Likewise.
31359 (linear_search_fdes): Likewise.
31360 (binary_search_unencoded_fdes): Likewise.
31362 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31364 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31366 2012-11-24 Adam Conrad <adconrad@0c3.net>
31368 * configure.in: Autodetect C++ header directories.
31369 * configure: Regenerated.
31371 2012-11-23 Mike Frysinger <vapier@gentoo.org>
31373 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31375 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31379 2012-11-22 Joseph Myers <joseph@codesourcery.com>
31381 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31382 LDBL_MANT_DIG == 106]: Disable some tests.
31383 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31385 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31389 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31390 input for small inputs. Return +/- pi/2 for large inputs.
31391 * math/libm-test.inc (atan_test): Add more tests.
31393 * sysdeps/generic/unwind-dw2-fde-glibc.c
31394 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31395 __attribute__ ((unused)).
31398 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31399 x * y if x and y are nonzero and z is zero.
31402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31403 nonzero exponents with absolute value below 0x1p-117 to +/-
31407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31408 up arguments below 2**-450, not just those below 2**-500.
31409 * math/libm-test.inc (hypot_test): Add another test.
31412 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31413 Return a+b for ratio over 2**120, not 2**60.
31414 * math/libm-test.inc (hypot_test): Add another test.
31416 * math/libm-test.inc (clog_test): Use
31417 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31418 (clog10_test): Likewise.
31421 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31423 2012-11-22 Andreas Schwab <schwab@suse.de>
31425 * sysdeps/i386/fpu/libm-test-ulps: Update.
31427 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31429 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31430 printf output with newline.
31432 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31435 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31436 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31437 -z nodlopen, -z initfirst and -z execstack support.
31438 * configure: Regenerated.
31440 * elf/elf.h (DF_1_NODIRECT): New macro.
31441 (DF_1_IGNMULDEF): Likewise.
31442 (DF_1_NOKSYMS): Likewise.
31443 (DF_1_NOHDR): Likewise.
31444 (DF_1_EDITED): Likewise.
31445 (DF_1_NORELOC): Likewise.
31446 (DF_1_SYMINTPOSE): Likewise.
31447 (DF_1_GLOBAUDIT): Likewise.
31448 (DF_1_SINGLETON): Likewise.
31449 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31450 DT_1_SUPPORTED_MASK bits.
31451 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31453 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31455 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31457 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31459 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31462 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31463 (sendmmsg): Move declarations...
31464 * socket/sys/socket.h: ... here.
31465 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31466 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31468 * socket/recvmmsg.c: ... this new file.
31469 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31470 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31471 definition of __sendmmsg hidden.
31472 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31473 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31474 Move ENOSYS stub into and include it from...
31475 * socket/sendmmsg.c: ... this new file.
31476 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31477 (sysdep_routines): Move recvmmsg and sendmmsg...
31478 * socket/Makefile (routines): ... here.
31479 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31480 (GLIBC_PRIVATE): Add __sendmmsg.
31481 * include/sys/socket.h (__sendmmsg): Add declarations.
31482 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31485 2012-11-20 Joseph Myers <joseph@codesourcery.com>
31487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31488 variable I1 with __attribute__ ((unused)).
31489 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31491 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31493 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31494 DUMMY variables with __attribute__ ((unused)).
31496 * bits/byteswap.h: Include <bits/types.h>.
31497 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31499 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31501 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31502 string_t. Do not manually set errno.
31503 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31504 length with __strnlen. Make sure to both set errno and return it on
31507 2012-11-19 David S. Miller <davem@davemloft.net>
31509 With help from Joseph Myers.
31510 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31511 very large arguments properly.
31512 * math/libm-test.inc (atan_test): New tests.
31513 (atan2_test): New tests.
31514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31517 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31520 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31523 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31524 [POSIX] (EADDRNOTAVAIL): Likewise.
31525 [POSIX] (EAFNOSUPPORT): Likewise.
31526 [POSIX] (EALREADY): Likewise.
31527 [POSIX] (ECONNABORTED): Likewise.
31528 [POSIX] (ECONNREFUSED): Likewise.
31529 [POSIX] (ECONNRESET): Likewise.
31530 [POSIX] (EDESTADDRREQ): Likewise.
31531 [POSIX] (EDQUOT): Likewise.
31532 [POSIX] (EHOSTUNREACH): Likewise.
31533 [POSIX] (EIDRM): Likewise.
31534 [POSIX] (EISCONN): Likewise.
31535 [POSIX] (ELOOP): Likewise.
31536 [POSIX] (EMULTIHOP): Likewise.
31537 [POSIX] (ENETDOWN): Likewise.
31538 [POSIX] (ENETUNREACH): Likewise.
31539 [POSIX] (ENOBUFS): Likewise.
31540 [POSIX] (ENODATA): Likewise.
31541 [POSIX] (ENOLINK): Likewise.
31542 [POSIX] (ENOMSG): Likewise.
31543 [POSIX] (ENOPROTOOPT): Likewise.
31544 [POSIX] (ENOSR): Likewise.
31545 [POSIX] (ENOSTR): Likewise.
31546 [POSIX] (ENOTCONN): Likewise.
31547 [POSIX] (ENOTSOCK): Likewise.
31548 [POSIX] (EOPNOTSUPP): Likewise.
31549 [POSIX] (EOVERFLOW): Likewise.
31550 [POSIX] (EPROTO): Likewise.
31551 [POSIX] (EPROTONOSUPPORT): Likewise.
31552 [POSIX] (EPROTOTYPE): Likewise.
31553 [POSIX] (ESTALE): Likewise.
31554 [POSIX] (ETIME): Likewise.
31555 [POSIX] (ETXTBSY): Likewise.
31556 [POSIX] (EWOULDBLOCK): Likewise.
31557 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31558 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31559 [POSIX] (SEEK_CUR): Likewise.
31560 [POSIX] (SEEK_END): Likewise.
31561 [POSIX || UNIX98] (mode_t): Do not require.
31562 [POSIX] (off_t): Likewise.
31563 [POSIX] (pid_t): Likewise.
31564 [POSIX] (sys/stat.h): Do not allow header.
31565 [POSIX] (unistd.h): Likewise.
31566 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31567 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31568 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31569 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31571 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31572 sigevent): Specify elements.
31573 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31575 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31576 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31578 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31579 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31580 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31581 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31582 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31583 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31584 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31585 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31586 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31587 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31588 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31589 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31590 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31591 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31599 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31601 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31602 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31603 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31604 Specify lower bound on value.
31605 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31606 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31607 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31608 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31609 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31610 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31611 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31612 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31614 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31616 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31617 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31618 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31619 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31620 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31621 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31622 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31623 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31624 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31625 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31626 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31627 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31628 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31629 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31630 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31631 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31633 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31635 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31636 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31637 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31638 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31639 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31643 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31644 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31645 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31646 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31647 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31651 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31653 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31654 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31655 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31656 specify as optional.
31657 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31658 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31659 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31660 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31661 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31662 [XPG3] (NL_LANGMAX): Likewise.
31663 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31664 [POSIX || XPG3] (NL_NMAX): Likewise.
31665 [POSIX || XPG3] (NL_SETMAX): Likewise.
31666 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31667 [XPG3] (NZERO): Likewise.
31668 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31669 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31670 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31671 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31672 (REG_ERANGE): Expect.
31673 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31675 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31676 Use (void) in prototype.
31677 [POSIX] (*_t): Allow.
31678 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31679 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31680 (WRDE_BADVAL): Expect.
31682 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31684 [XPG3 || XPG4] (O_RSYNC): Likewise.
31685 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31687 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31688 [XPG3 || XPG4] (sigqueue): Likewise.
31689 [XPG3 || XPG4] (sigtimedwait): Likewise.
31690 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31691 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31692 [XPG3 || XPG4] (vsnprintf): Likewise.
31693 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31695 [XPG3 || XPG4] (blksize_t): Likewise.
31696 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31698 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31699 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31700 [XPG3 || XPG4] (struct itimerspec): Likewise.
31701 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31702 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31703 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31704 [XPG3 || XPG4] (clockid_t): Likewise.
31705 [XPG3 || XPG4] (timer_t): Likewise.
31706 [XPG3 || XPG4] (clock_getres): Likewise.
31707 [XPG3 || XPG4] (clock_gettime): Likewise.
31708 [XPG3 || XPG4] (clock_settime): Likewise.
31709 [XPG3 || XPG4] (nanosleep): Likewise.
31710 [XPG3 || XPG4] (timer_create): Likewise.
31711 [XPG3 || XPG4] (timer_delete): Likewise.
31712 [XPG3 || XPG4] (timer_gettime): Likewise.
31713 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31714 [XPG3 || XPG4] (timer_settime): Likewise.
31715 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31716 [XPG3 || XPG4] (getlogin_r): Likewise.
31717 [XPG3 || XPG4] (pread): Likewise.
31718 [XPG3 || XPG4] (pthread_atfork): Likewise.
31719 [XPG3 || XPG4] (pwrite): Likewise.
31722 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31725 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31727 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31728 finalizing MALLSTREAM.
31730 * sysdeps/mach/hurd/syncfs.c: New file.
31732 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31735 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31736 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31737 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31738 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31739 (_nss_dns_gethostbyname4_r): Likewise.
31740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31741 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31743 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31746 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31748 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31750 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31751 * elf/cache.c (print_entry): Print ",AArch64" for
31754 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31755 * elf/cache.c (print_entry): Print ",hard-float" for
31758 2012-11-18 David S. Miller <davem@davemloft.net>
31760 With help from Joseph Myers.
31761 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31763 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31765 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31766 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31768 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31769 * math/libm-test.inc (y0_test): New tests.
31770 (y1_test): New tests.
31771 * sysdeps/i386/fpu/libm-test-ulps: Update.
31772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31775 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31777 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31779 * configure: Regenerated.
31781 2012-11-17 David S. Miller <davem@davemloft.net>
31784 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31785 nonzero exponents with absolute value below 0x1p-128 to +/-
31788 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31790 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31792 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31794 * posix/getconf-speclist.c: New file.
31795 * posix/posix-envs.def: Likewise.
31796 * posix/confstr.c (START_ENV_GROUP): New macro.
31797 (END_ENV_GROUP): Likewise.
31798 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31799 (KNOWN_PRESENT_ENV_STRING): Likewise.
31800 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31801 (UNKNOWN_ENVIRONMENT): Likewise.
31802 (confstr): Include posix-envs.def instead of handling
31803 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31804 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31805 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31806 (END_ENV_GROUP): Likewise.
31807 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31808 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31809 (UNKNOWN_ENVIRONMENT): Likewise.
31810 (__sysconf): Include posix-envs.def instead of handling associated
31811 cases directly here.
31812 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31813 preprocessing getconf-speclist.c rather than running getconf or
31814 generating empty file.
31816 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31818 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31820 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31823 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31825 2012-11-16 David S. Miller <davem@davemloft.net>
31827 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31828 smaller than LDBL_EPSILON/2.0L, just return xm1.
31830 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31832 * elf/tst-array1.c (init): Set constructor priority to 1000.
31833 (fini): Set destructor priority to 1000.
31834 * elf/tst-array2dep.c: Likewise.
31836 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31839 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31840 (_IO_new_file_xsputn): Also return EOF if none of the input
31841 data was written when overflow failed.
31842 * libio/iopadn.c (_IO_padn): Likewise.
31843 * libio/iowpadn.c (_IO_wpadn): Likewise.
31844 * stdio-common/tst-put-error.c: Add copyright notice.
31845 (do_test): Add case for printing padded string.
31846 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31847 _IO_padn returned error.
31848 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31849 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31852 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31854 * libio/libioP.h: Add comment note that the references to C++
31855 bits are now obsolete.
31857 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31859 * math/libm-test.inc (check_complex): Use asprintf.
31861 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31863 * debug/pcprofiledump.c (print_version): Update copyright year.
31864 * malloc/memusagestat.c (print_version): Likewise.
31866 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31869 * elf/Makefile (tests): Add tst-audit8.
31870 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31871 ($(objpfx)tst-audit8.out): New target.
31872 (tst-audit8-ENV): New variable.
31873 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31874 audit if l_reloc_result is NULL.
31875 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31876 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31877 * elf/tst-audit8.c: New file.
31879 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31881 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31882 * misc/Makefile (CFLAGS-select.c): Define.
31883 * posix/Makefile (CFLAGS-pause.c): Define.
31885 2012-11-13 David S. Miller <davem@davemloft.net>
31887 * crypt/Makefile: Move test targets after toplevel Rules
31888 inclusion. Grab any necessary sysdep routines when linking.
31889 * crypt/md5.c (md5_process_block): Remove define, we will always
31890 name it __md5_process_block.
31891 (md5_finish_ctx): Update md5_process_block call.
31892 (md5_stream): Likewise.
31893 (md5_process_bytes): Likewise.
31894 (md5_process_block): Rename to __md5_process_block and move to ...
31895 * crypt/md5-block.c: ... here.
31896 * crypt/sha256.c (sha256_process_block): Move to ...
31897 * crypt/sha256-block.c: ... here.
31898 * crypt/sha512.c (sha512_process_block): Move to ...
31899 * crypt/sha512-block.c: ... here.
31900 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31902 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31903 * sysdeps/sparc/sparc64/multiarch/Makefile
31904 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31906 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31907 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31909 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31910 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31911 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31912 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31913 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31914 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31915 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31916 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31920 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31922 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31924 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31926 * timezone/tzselect.ksh: Update from tzcode git revision
31927 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31928 * timezone/zdump.c: Likewise.
31929 * timezone/zic.c: Likewise.
31930 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31931 in TZVERSION setting, not $(PKGVERSION).
31932 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31933 REPORT_BUGS_TO settings.
31936 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31939 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31941 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31942 detection to immediately after _FP_ROUND().
31943 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31946 2012-11-11 David S. Miller <davem@davemloft.net>
31948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31950 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31951 __close rather than their public counterparts.
31953 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31955 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31957 [UNIX98] (sem_timedwait): Do not expect.
31958 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31959 [XPG4 || UNIX98] (sockatmark): Do not expect.
31960 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31961 (clock_getcpuclockid): Do not expect.
31962 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31963 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31965 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31966 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31967 [UNIX98] (vwscanf): Likewise.
31968 [UNIX98] (vswscanf): Likewise.
31970 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31972 * timezone/version.h: Remove file.
31973 * timezone/README: Do not refer to version.h.
31974 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31975 $(objpfx)version.h.
31976 ($(objpfx)zdump.o): Likewise.
31977 ($(objpfx)version.h): New target.
31979 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31981 * timezone/README: Don't mention modification to tzselect.ksh.
31982 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31983 work on unmodified tzselect.ksh. Substitute version numbers in
31986 * Makefile (format-me): Remove.
31987 (INSTALL): Adjust indentation. Use commands directly instead of
31988 using $(format-me).
31990 * aclocal.m4 (ACX_PKGVERSION): New macro.
31991 (ACX_BUGURL): Likewise.
31992 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31993 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31994 (REPORT_BUGS_TO): Likewise.
31995 * configure: Regenerated.
31996 * config.h.in (PKGVERSION): New macro.
31997 (REPORT_BUGS_TO): Likewise.
31998 * config.make.in (PKGVERSION): New variable.
31999 (PKGVERSION_TEXI): Likewise.
32000 (REPORT_BUGS_TO): Likewise.
32001 (REPORT_BUGS_TEXI): Likewise.
32002 * Makefile (format-me): Use -I$(common-objpfx)manual.
32003 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32004 ($(common-objpfx)manual/%): New target.
32005 (manual/%): Remove target.
32006 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32007 (print_version): Use PKGVERSION.
32008 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32009 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32010 and REPORT_BUGS_TO.
32011 ($(objpfx)xtrace): Likewise.
32012 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32013 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32014 (print_version): Use PKGVERSION.
32015 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32016 (do_version): Use PKGVERSION.
32017 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32019 (common-ldd-rewrite): Likewise.
32020 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32021 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32022 (print_version): Use PKGVERSION.
32023 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32024 * elf/pldd.c (argp_program_bug_address): Remove variable.
32025 (more_help): New function.
32026 (argp): Use more_help.
32027 (print_version): Use PKGVERSION.
32028 * elf/sln.c (main): Use PKGVERSION.
32029 (usage): Use REPORT_BUGS_TO.
32030 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32031 (top level): Use PKGVERSION.
32032 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32033 (print_version): Use PKGVERSION.
32034 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32035 (print_version): Use PKGVERSION.
32036 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32037 (print_version): Use PKGVERSION.
32038 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32039 (print_version): Use PKGVERSION.
32040 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32041 (print_version): Use PKGVERSION.
32042 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32043 (print_version): Use PKGVERSION.
32044 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32046 ($(objpfx)memusage): Likewise.
32047 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32048 (do_version): Use PKGVERSION.
32049 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32050 (print_version): Use PKGVERSION.
32051 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32052 ($PKGVERSION): New variable.
32053 ($REPORT_BUGS_TO): Likewise.
32054 (usage): Use $REPORT_BUGS_TO.
32055 (top level): Use $PKGVERSION.
32056 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32057 ($(objpfx)pkgvers.texi): New rule.
32058 ($(objpfx)stamp-pkgvers): Likewise.
32059 * manual/install.texi: Include pkgvers.texi.
32060 (--with-pkgversion): Document new configure option.
32061 (--with-bugurl): Likewise.
32062 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32063 than necessarily for this particular distribution. Use
32064 REPORT_BUGS_TO for where to report bugs.
32065 * INSTALL: Regenerated.
32066 * manual/libc.texinfo: Include pkgvers.texi.
32067 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32068 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32069 (print_version): Use PKGVERSION.
32070 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32071 (print_version): Use PKGVERSION.
32072 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32073 (print_version): Use PKGVERSION.
32074 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32075 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32077 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32078 (print_version): Use PKGVERSION.
32079 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32080 (print_version): Use PKGVERSION.
32081 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32084 * timezone/checktab.awk: Update from tzcode 2012i.
32085 * timezone/ialloc.c: Likewise.
32086 * timezone/private.h: Likewise.
32087 * timezone/scheck.c: Likewise.
32088 * timezone/tzfile.h: Likewise.
32089 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32090 (TZVERSION): Hardcode tzcode version number.
32091 * timezone/zdump.c: Update from tzcode 2012i.
32092 * timezone/zic.c: Likewise.
32093 * timezone/version.h: New file.
32094 * timezone/README: Describe version.h. Update upstream location.
32097 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32098 (mktemp): Enable declaration.
32099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32116 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32117 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32118 for copies of such integer values.
32119 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32120 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32122 2012-11-09 Andreas Jaeger <aj@suse.de>
32124 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32125 definitions and declarations that are provided by
32126 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32128 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32130 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32131 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32132 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32135 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32137 * elf/elf.h: Update comment before AArch64 relocations.
32139 2012-11-07 David S. Miller <davem@davemloft.net>
32141 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32142 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32143 (__start_context): Declare.
32144 (__makecontext_ret): Delete.
32145 (__makecontext): Hook up __start_context instead of
32147 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32148 (sysdep_routines): Add __start_context when in stdlib.
32150 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32152 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32153 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32154 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32156 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32157 (READELF): New variable. Use it instead of hardcoded "readelf".
32159 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32161 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32162 * sysdeps/x86/Makefile: Here.
32163 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32164 * sysdeps/x86/tst-xmmymm.sh: This.
32166 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32168 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32170 [UNIX98] (pthread_barrier_t): Do not expect.
32171 [UNIX98] (pthread_barrierattr_t): Likewise.
32172 [UNIX98] (pthread_spinlock_t): Likewise.
32173 [UNIX98] (pthread_barrier_destroy): Likewise.
32174 [UNIX98] (pthread_barrier_init): Likewise.
32175 [UNIX98] (pthread_barrier_wait): Likewise.
32176 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32177 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32178 [UNIX98] (pthread_barrierattr_init): Likewise.
32179 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32180 [UNIX98] (pthread_getcpuclockid): Likewise.
32181 [UNIX98] (pthread_mutex_timedlock): Likewise.
32182 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32183 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32184 [UNIX98] (pthread_sigmask): Likewise.
32185 [UNIX98] (pthread_spin_destroy): Likewise.
32186 [UNIX98] (pthread_spin_init): Likewise.
32187 [UNIX98] (pthread_spin_lock): Likewise.
32188 [UNIX98] (pthread_spin_trylock): Likewise.
32189 [UNIX98] (pthread_spin_unlock): Likewise.
32190 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32192 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32193 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32194 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32195 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32196 [XPG3 || XPG4] (pthread_key_t): Likewise.
32197 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32198 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32199 [XPG3 || XPG4] (pthread_once_t): Likewise.
32200 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32201 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32202 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32203 [XPG3 || XPG4] (pthread_t): Likewise.
32205 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32207 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32209 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32210 Change function return type to int.
32212 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32213 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32214 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32215 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32216 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32217 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32218 [!POSIX] (posix_madvise): Likewise.
32219 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32221 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32222 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32223 (mode_t): Likewise.
32224 (posix_mem_offset): Likewise.
32225 (posix_typed_mem_get_info): Likewise.
32226 (posix_typed_mem_open): Likewise.
32228 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32229 Change condition to [XOPEN2K8].
32231 * conform/conformtest.pl: Preprocess allow-header data with -x c
32232 instead of from stdin.
32233 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32234 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32235 [C99-based standards] (cerfc): Likewise.
32236 [C99-based standards] (cexp2): Likewise.
32237 [C99-based standards] (cexpm1): Likewise.
32238 [C99-based standards] (clog10): Likewise.
32239 [C99-based standards] (clog1p): Likewise.
32240 [C99-based standards] (clog2): Likewise.
32241 [C99-based standards] (clgamma): Likewise.
32242 [C99-based standards] (ctgamma): Likewise.
32243 [C99-based standards] (cerff): Likewise.
32244 [C99-based standards] (cerfcf): Likewise.
32245 [C99-based standards] (cexp2f): Likewise.
32246 [C99-based standards] (cexpm1f): Likewise.
32247 [C99-based standards] (clog10f): Likewise.
32248 [C99-based standards] (clog1pf): Likewise.
32249 [C99-based standards] (clog2f): Likewise.
32250 [C99-based standards] (clgammaf): Likewise.
32251 [C99-based standards] (ctgammaf): Likewise.
32252 [C99-based standards] (cerfl): Likewise.
32253 [C99-based standards] (cerfcl): Likewise.
32254 [C99-based standards] (cexp2l): Likewise.
32255 [C99-based standards] (cexpm1l): Likewise.
32256 [C99-based standards] (clog10l): Likewise.
32257 [C99-based standards] (clog1pl): Likewise.
32258 [C99-based standards] (clog2l): Likewise.
32259 [C99-based standards] (clgammal): Likewise.
32260 [C99-based standards] (ctgammal): Likewise.
32261 * conform/data/inttypes.h-data [C99-based standards]: Include
32262 stdint.h-data. Remove all expectations for stdint.h contents.
32263 [C99-based standards] (PRI*): Do not allow.
32264 [C99-based standards] (SCN*): Likewise.
32265 [C99-based standards] (*_t): Likewise.
32266 [C99-based-standards] (PRId8): Expect macro.
32267 [C99-based-standards] (PRIi8): Likewise.
32268 [C99-based-standards] (PRIo8): Likewise.
32269 [C99-based-standards] (PRIu8): Likewise.
32270 [C99-based-standards] (PRIx8): Likewise.
32271 [C99-based-standards] (PRIX8): Likewise.
32272 [C99-based-standards] (SCNd8): Likewise.
32273 [C99-based-standards] (SCNi8): Likewise.
32274 [C99-based-standards] (SCNo8): Likewise.
32275 [C99-based-standards] (SCNu8): Likewise.
32276 [C99-based-standards] (SCNx8): Likewise.
32277 [C99-based-standards] (PRIdLEAST8): Likewise.
32278 [C99-based-standards] (PRIiLEAST8): Likewise.
32279 [C99-based-standards] (PRIoLEAST8): Likewise.
32280 [C99-based-standards] (PRIuLEAST8): Likewise.
32281 [C99-based-standards] (PRIxLEAST8): Likewise.
32282 [C99-based-standards] (PRIXLEAST8): Likewise.
32283 [C99-based-standards] (SCNdLEAST8): Likewise.
32284 [C99-based-standards] (SCNiLEAST8): Likewise.
32285 [C99-based-standards] (SCNoLEAST8): Likewise.
32286 [C99-based-standards] (SCNuLEAST8): Likewise.
32287 [C99-based-standards] (SCNxLEAST8): Likewise.
32288 [C99-based-standards] (PRIdFAST8): Likewise.
32289 [C99-based-standards] (PRIiFAST8): Likewise.
32290 [C99-based-standards] (PRIoFAST8): Likewise.
32291 [C99-based-standards] (PRIuFAST8): Likewise.
32292 [C99-based-standards] (PRIxFAST8): Likewise.
32293 [C99-based-standards] (PRIXFAST8): Likewise.
32294 [C99-based-standards] (SCNdFAST8): Likewise.
32295 [C99-based-standards] (SCNiFAST8): Likewise.
32296 [C99-based-standards] (SCNoFAST8): Likewise.
32297 [C99-based-standards] (SCNuFAST8): Likewise.
32298 [C99-based-standards] (SCNxFAST8): Likewise.
32299 [C99-based-standards] (PRId16): Likewise.
32300 [C99-based-standards] (PRIi16): Likewise.
32301 [C99-based-standards] (PRIo16): Likewise.
32302 [C99-based-standards] (PRIu16): Likewise.
32303 [C99-based-standards] (PRIx16): Likewise.
32304 [C99-based-standards] (PRIX16): Likewise.
32305 [C99-based-standards] (SCNd16): Likewise.
32306 [C99-based-standards] (SCNi16): Likewise.
32307 [C99-based-standards] (SCNo16): Likewise.
32308 [C99-based-standards] (SCNu16): Likewise.
32309 [C99-based-standards] (SCNx16): Likewise.
32310 [C99-based-standards] (PRIdLEAST16): Likewise.
32311 [C99-based-standards] (PRIiLEAST16): Likewise.
32312 [C99-based-standards] (PRIoLEAST16): Likewise.
32313 [C99-based-standards] (PRIuLEAST16): Likewise.
32314 [C99-based-standards] (PRIxLEAST16): Likewise.
32315 [C99-based-standards] (PRIXLEAST16): Likewise.
32316 [C99-based-standards] (SCNdLEAST16): Likewise.
32317 [C99-based-standards] (SCNiLEAST16): Likewise.
32318 [C99-based-standards] (SCNoLEAST16): Likewise.
32319 [C99-based-standards] (SCNuLEAST16): Likewise.
32320 [C99-based-standards] (SCNxLEAST16): Likewise.
32321 [C99-based-standards] (PRIdFAST16): Likewise.
32322 [C99-based-standards] (PRIiFAST16): Likewise.
32323 [C99-based-standards] (PRIoFAST16): Likewise.
32324 [C99-based-standards] (PRIuFAST16): Likewise.
32325 [C99-based-standards] (PRIxFAST16): Likewise.
32326 [C99-based-standards] (PRIXFAST16): Likewise.
32327 [C99-based-standards] (SCNdFAST16): Likewise.
32328 [C99-based-standards] (SCNiFAST16): Likewise.
32329 [C99-based-standards] (SCNoFAST16): Likewise.
32330 [C99-based-standards] (SCNuFAST16): Likewise.
32331 [C99-based-standards] (SCNxFAST16): Likewise.
32332 [C99-based-standards] (PRId32): Likewise.
32333 [C99-based-standards] (PRIi32): Likewise.
32334 [C99-based-standards] (PRIo32): Likewise.
32335 [C99-based-standards] (PRIu32): Likewise.
32336 [C99-based-standards] (PRIx32): Likewise.
32337 [C99-based-standards] (PRIX32): Likewise.
32338 [C99-based-standards] (SCNd32): Likewise.
32339 [C99-based-standards] (SCNi32): Likewise.
32340 [C99-based-standards] (SCNo32): Likewise.
32341 [C99-based-standards] (SCNu32): Likewise.
32342 [C99-based-standards] (SCNx32): Likewise.
32343 [C99-based-standards] (PRIdLEAST32): Likewise.
32344 [C99-based-standards] (PRIiLEAST32): Likewise.
32345 [C99-based-standards] (PRIoLEAST32): Likewise.
32346 [C99-based-standards] (PRIuLEAST32): Likewise.
32347 [C99-based-standards] (PRIxLEAST32): Likewise.
32348 [C99-based-standards] (PRIXLEAST32): Likewise.
32349 [C99-based-standards] (SCNdLEAST32): Likewise.
32350 [C99-based-standards] (SCNiLEAST32): Likewise.
32351 [C99-based-standards] (SCNoLEAST32): Likewise.
32352 [C99-based-standards] (SCNuLEAST32): Likewise.
32353 [C99-based-standards] (SCNxLEAST32): Likewise.
32354 [C99-based-standards] (PRIdFAST32): Likewise.
32355 [C99-based-standards] (PRIiFAST32): Likewise.
32356 [C99-based-standards] (PRIoFAST32): Likewise.
32357 [C99-based-standards] (PRIuFAST32): Likewise.
32358 [C99-based-standards] (PRIxFAST32): Likewise.
32359 [C99-based-standards] (PRIXFAST32): Likewise.
32360 [C99-based-standards] (SCNdFAST32): Likewise.
32361 [C99-based-standards] (SCNiFAST32): Likewise.
32362 [C99-based-standards] (SCNoFAST32): Likewise.
32363 [C99-based-standards] (SCNuFAST32): Likewise.
32364 [C99-based-standards] (SCNxFAST32): Likewise.
32365 [C99-based-standards] (PRId64): Likewise.
32366 [C99-based-standards] (PRIi64): Likewise.
32367 [C99-based-standards] (PRIo64): Likewise.
32368 [C99-based-standards] (PRIu64): Likewise.
32369 [C99-based-standards] (PRIx64): Likewise.
32370 [C99-based-standards] (PRIX64): Likewise.
32371 [C99-based-standards] (SCNd64): Likewise.
32372 [C99-based-standards] (SCNi64): Likewise.
32373 [C99-based-standards] (SCNo64): Likewise.
32374 [C99-based-standards] (SCNu64): Likewise.
32375 [C99-based-standards] (SCNx64): Likewise.
32376 [C99-based-standards] (PRIdLEAST64): Likewise.
32377 [C99-based-standards] (PRIiLEAST64): Likewise.
32378 [C99-based-standards] (PRIoLEAST64): Likewise.
32379 [C99-based-standards] (PRIuLEAST64): Likewise.
32380 [C99-based-standards] (PRIxLEAST64): Likewise.
32381 [C99-based-standards] (PRIXLEAST64): Likewise.
32382 [C99-based-standards] (SCNdLEAST64): Likewise.
32383 [C99-based-standards] (SCNiLEAST64): Likewise.
32384 [C99-based-standards] (SCNoLEAST64): Likewise.
32385 [C99-based-standards] (SCNuLEAST64): Likewise.
32386 [C99-based-standards] (SCNxLEAST64): Likewise.
32387 [C99-based-standards] (PRIdFAST64): Likewise.
32388 [C99-based-standards] (PRIiFAST64): Likewise.
32389 [C99-based-standards] (PRIoFAST64): Likewise.
32390 [C99-based-standards] (PRIuFAST64): Likewise.
32391 [C99-based-standards] (PRIxFAST64): Likewise.
32392 [C99-based-standards] (PRIXFAST64): Likewise.
32393 [C99-based-standards] (SCNdFAST64): Likewise.
32394 [C99-based-standards] (SCNiFAST64): Likewise.
32395 [C99-based-standards] (SCNoFAST64): Likewise.
32396 [C99-based-standards] (SCNuFAST64): Likewise.
32397 [C99-based-standards] (SCNxFAST64): Likewise.
32398 [C99-based-standards] (PRIdMAX): Likewise.
32399 [C99-based-standards] (PRIiMAX): Likewise.
32400 [C99-based-standards] (PRIoMAX): Likewise.
32401 [C99-based-standards] (PRIuMAX): Likewise.
32402 [C99-based-standards] (PRIxMAX): Likewise.
32403 [C99-based-standards] (PRIXMAX): Likewise.
32404 [C99-based-standards] (SCNdMAX): Likewise.
32405 [C99-based-standards] (SCNiMAX): Likewise.
32406 [C99-based-standards] (SCNoMAX): Likewise.
32407 [C99-based-standards] (SCNuMAX): Likewise.
32408 [C99-based-standards] (SCNxMAX): Likewise.
32409 [C99-based-standards] (PRIdPTR): Likewise.
32410 [C99-based-standards] (PRIiPTR): Likewise.
32411 [C99-based-standards] (PRIoPTR): Likewise.
32412 [C99-based-standards] (PRIuPTR): Likewise.
32413 [C99-based-standards] (PRIxPTR): Likewise.
32414 [C99-based-standards] (PRIXPTR): Likewise.
32415 [C99-based-standards] (SCNdPTR): Likewise.
32416 [C99-based-standards] (SCNiPTR): Likewise.
32417 [C99-based-standards] (SCNoPTR): Likewise.
32418 [C99-based-standards] (SCNuPTR): Likewise.
32419 [C99-based-standards] (SCNxPTR): Likewise.
32420 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32422 * conform/data/stdint.h-data: Update comments to clarify
32424 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32426 [C99-based standards] (INT8_MAX): Likewise.
32427 [C99-based standards] (INT16_MIN): Likewise.
32428 [C99-based standards] (INT16_MAX): Likewise.
32429 [C99-based standards] (INT32_MIN): Likewise.
32430 [C99-based standards] (INT32_MAX): Likewise.
32431 [C99-based standards] (INT64_MIN): Likewise.
32432 [C99-based standards] (INT64_MAX): Likewise.
32433 [C99-based standards] (UINT8_MAX): Likewise.
32434 [C99-based standards] (UINT16_MAX): Likewise.
32435 [C99-based standards] (UINT32_MAX): Likewise.
32436 [C99-based standards] (UINT64_MAX): Likewise.
32437 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32438 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32439 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32440 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32441 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32442 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32443 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32444 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32445 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32446 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32447 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32448 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32449 [C99-based standards] (INT_FAST8_MIN): Likewise.
32450 [C99-based standards] (INT_FAST8_MAX): Likewise.
32451 [C99-based standards] (INT_FAST16_MIN): Likewise.
32452 [C99-based standards] (INT_FAST16_MAX): Likewise.
32453 [C99-based standards] (INT_FAST32_MIN): Likewise.
32454 [C99-based standards] (INT_FAST32_MAX): Likewise.
32455 [C99-based standards] (INT_FAST64_MIN): Likewise.
32456 [C99-based standards] (INT_FAST64_MAX): Likewise.
32457 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32458 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32459 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32460 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32461 [C99-based standards] (INTPTR_MIN): Likewise.
32462 [C99-based standards] (INTPTR_MAX): Likewise.
32463 [C99-based standards] (UINTPTR_MAX): Likewise.
32464 [C99-based standards] (INTMAX_MIN): Likewise.
32465 [C99-based standards] (INTMAX_MAX): Likewise.
32466 [C99-based standards] (UINTMAX_MAX): Likewise.
32467 [C99-based standards] (PTRDIFF_MIN): Likewise.
32468 [C99-based standards] (PTRDIFF_MAX): Likewise.
32469 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32470 [C99-based standards] (SIZE_MAX): Likewise.
32471 [C99-based standards] (WCHAR_MAX): Likewise.
32472 [C99-based standards] (WINT_MAX): Likewise.
32473 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32474 constraint on value.
32475 [C99-based standards] (WCHAR_MIN): Likewise.
32476 [C99-based standards] (WINT_MIN): Likewise.
32477 [C99-based standards] (*_t): Allow.
32478 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32479 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32480 Include math.h-data and complex.h-data. Remove all expectations
32481 of math.h and complex.h contents.
32482 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32484 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32485 (struct tm): Expect tag.
32486 [C99-based-standards] (wcstof): Expect function.
32487 [C99-based-standards] (wcstold): Likewise.
32488 [C99-based-standards] (wcstoll): Likewise.
32489 [C99-based-standards] (wcstoull): Likewise.
32490 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32491 macro-int-constant. Specify type.
32492 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32493 constraint on value.
32494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32496 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32498 [ISO C standards]: Do not allow headers.
32499 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32500 wcs[abcdefghijklmnopqrstuvwxyz]*.
32501 [ISO C standards] (*_t): Do not allow.
32502 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32504 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32505 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32507 [ISO C standards]: Do not allow headers.
32508 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32509 is[abcdefghijklmnopqrstuvwxyz]*.
32510 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32511 to[abcdefghijklmnopqrstuvwxyz]*.
32512 [ISO C standards] (*_t): Do not allow.
32513 * conform/data/stdalign.h-data: New file.
32514 * conform/data/stdbool.h-data: Likewise.
32515 * conform/data/stdnoreturn.h-data: Likewise.
32517 2012-11-07 Roland McGrath <roland@hack.frob.com>
32520 * manual/filesys.texi (Directory Entries): Typo fix.
32521 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32523 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32525 * elf/elf.h (EM_AARCH64): New macro.
32526 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32527 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32528 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32529 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32530 (R_AARCH64_TLSDESC): Likewise.
32531 (NT_ARM_TLS): Likewise.
32532 (NT_ARM_HW_BREAK): Likewise.
32533 (NT_ARM_HW_WATCH): Likewise.
32535 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32538 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32539 (__ieee754_powl): Saturate nonzero exponents with absolute value
32540 below 0x1p-79 to +/- 0x1p-79.
32541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32542 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32543 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32544 nonzero exponents with absolute value below 0x1p-32 to +/-
32546 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32547 (__ieee754_powl): Saturate nonzero exponents with absolute value
32548 below 0x1p-79 to +/- 0x1p-79.
32549 * math/libm-test.inc (pow_test): Add more tests.
32551 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32554 _dl_s390_cap_flags with kernel. Increase string length.
32555 (_dl_s390_platforms): Add z196 and zEC12.
32557 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32559 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32560 Change XOPEN21K to XOPEN2K.
32562 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32564 * string/memmove.c: Use memcpy when possible.
32566 2012-11-06 Andreas Jaeger <aj@suse.de>
32568 * po/eo.po: Update from translation team.
32570 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32574 exponent and small x and y exponents, scale x or y up. Increase
32575 by 2 the exponent used in scaling up.
32576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32578 * math/libm-test.inc (fma_test): Add more tests.
32579 (fma_test_towardzero): Likewise.
32580 (fma_test_downward): Likewise.
32581 (fma_test_upward): Likewise.
32583 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32586 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32590 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32591 namespace for names of struct fields.
32592 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32594 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32595 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32597 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32600 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32602 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32604 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32608 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32611 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32615 definitely overflow as x * y not x * y + z.
32616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32618 * math/libm-test.inc (fma_test): Add more tests.
32619 (fma_test_towardzero): Likewise.
32620 (fma_test_downward): Likewise.
32621 (fma_test_upward): Likewise.
32623 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32627 * include/stub-tag.h: Remove file.
32628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32630 * manual/maint.texi (Porting): Don't reference it.
32631 * Makerules ($(objpfx)stubs): Likewise.
32632 * dirent/closedir.c: Don't include <stub-tag.h>.
32633 * dirent/dirfd.c: Likewise.
32634 * dirent/fdopendir.c: Likewise.
32635 * dirent/getdents.c: Likewise.
32636 * dirent/getdents64.c: Likewise.
32637 * dirent/opendir.c: Likewise.
32638 * dirent/readdir.c: Likewise.
32639 * dirent/readdir64.c: Likewise.
32640 * dirent/readdir64_r.c: Likewise.
32641 * dirent/readdir_r.c: Likewise.
32642 * dirent/rewinddir.c: Likewise.
32643 * dirent/seekdir.c: Likewise.
32644 * dirent/telldir.c: Likewise.
32645 * gmon/profil.c: Likewise.
32646 * grp/setgroups.c: Likewise.
32647 * inet/if_index.c: Likewise.
32648 * io/access.c: Likewise.
32649 * io/chdir.c: Likewise.
32650 * io/chmod.c: Likewise.
32651 * io/chown.c: Likewise.
32652 * io/close.c: Likewise.
32653 * io/dup.c: Likewise.
32654 * io/dup2.c: Likewise.
32655 * io/dup3.c: Likewise.
32656 * io/euidaccess.c: Likewise.
32657 * io/faccessat.c: Likewise.
32658 * io/fchdir.c: Likewise.
32659 * io/fchmod.c: Likewise.
32660 * io/fchmodat.c: Likewise.
32661 * io/fchown.c: Likewise.
32662 * io/fchownat.c: Likewise.
32663 * io/fcntl.c: Likewise.
32664 * io/flock.c: Likewise.
32665 * io/fstatfs.c: Likewise.
32666 * io/fstatfs64.c: Likewise.
32667 * io/fstatvfs.c: Likewise.
32668 * io/fstatvfs64.c: Likewise.
32669 * io/futimens.c: Likewise.
32670 * io/fxstat.c: Likewise.
32671 * io/fxstat64.c: Likewise.
32672 * io/fxstatat.c: Likewise.
32673 * io/fxstatat64.c: Likewise.
32674 * io/getcwd.c: Likewise.
32675 * io/isatty.c: Likewise.
32676 * io/lchmod.c: Likewise.
32677 * io/lchown.c: Likewise.
32678 * io/link.c: Likewise.
32679 * io/linkat.c: Likewise.
32680 * io/lseek.c: Likewise.
32681 * io/lseek64.c: Likewise.
32682 * io/lxstat64.c: Likewise.
32683 * io/mkdir.c: Likewise.
32684 * io/mkdirat.c: Likewise.
32685 * io/mkfifo.c: Likewise.
32686 * io/mkfifoat.c: Likewise.
32687 * io/open.c: Likewise.
32688 * io/open64.c: Likewise.
32689 * io/openat.c: Likewise.
32690 * io/openat64.c: Likewise.
32691 * io/pipe.c: Likewise.
32692 * io/pipe2.c: Likewise.
32693 * io/poll.c: Likewise.
32694 * io/posix_fadvise.c: Likewise.
32695 * io/posix_fadvise64.c: Likewise.
32696 * io/posix_fallocate.c: Likewise.
32697 * io/posix_fallocate64.c: Likewise.
32698 * io/read.c: Likewise.
32699 * io/readlink.c: Likewise.
32700 * io/readlinkat.c: Likewise.
32701 * io/rmdir.c: Likewise.
32702 * io/sendfile.c: Likewise.
32703 * io/sendfile64.c: Likewise.
32704 * io/statfs.c: Likewise.
32705 * io/statfs64.c: Likewise.
32706 * io/statvfs.c: Likewise.
32707 * io/statvfs64.c: Likewise.
32708 * io/symlink.c: Likewise.
32709 * io/symlinkat.c: Likewise.
32710 * io/ttyname.c: Likewise.
32711 * io/ttyname_r.c: Likewise.
32712 * io/umask.c: Likewise.
32713 * io/unlink.c: Likewise.
32714 * io/unlinkat.c: Likewise.
32715 * io/utime.c: Likewise.
32716 * io/utimensat.c: Likewise.
32717 * io/write.c: Likewise.
32718 * io/xmknod.c: Likewise.
32719 * io/xmknodat.c: Likewise.
32720 * io/xstat.c: Likewise.
32721 * io/xstat64.c: Likewise.
32722 * login/getpt.c: Likewise.
32723 * login/grantpt.c: Likewise.
32724 * login/unlockpt.c: Likewise.
32725 * math/e_acoshl.c: Likewise.
32726 * math/e_acosl.c: Likewise.
32727 * math/e_asinl.c: Likewise.
32728 * math/e_atan2l.c: Likewise.
32729 * math/e_atanhl.c: Likewise.
32730 * math/e_coshl.c: Likewise.
32731 * math/e_expl.c: Likewise.
32732 * math/e_fmodl.c: Likewise.
32733 * math/e_gammal_r.c: Likewise.
32734 * math/e_hypotl.c: Likewise.
32735 * math/e_j0l.c: Likewise.
32736 * math/e_j1l.c: Likewise.
32737 * math/e_jnl.c: Likewise.
32738 * math/e_lgammal_r.c: Likewise.
32739 * math/e_log10l.c: Likewise.
32740 * math/e_log2l.c: Likewise.
32741 * math/e_logl.c: Likewise.
32742 * math/e_powl.c: Likewise.
32743 * math/e_rem_pio2l.c: Likewise.
32744 * math/e_sinhl.c: Likewise.
32745 * math/e_sqrtl.c: Likewise.
32746 * math/fclrexcpt.c: Likewise.
32747 * math/fedisblxcpt.c: Likewise.
32748 * math/feenablxcpt.c: Likewise.
32749 * math/fegetenv.c: Likewise.
32750 * math/fegetexcept.c: Likewise.
32751 * math/fegetround.c: Likewise.
32752 * math/feholdexcpt.c: Likewise.
32753 * math/fesetenv.c: Likewise.
32754 * math/fesetround.c: Likewise.
32755 * math/feupdateenv.c: Likewise.
32756 * math/fgetexcptflg.c: Likewise.
32757 * math/fraiseexcpt.c: Likewise.
32758 * math/fsetexcptflg.c: Likewise.
32759 * math/ftestexcept.c: Likewise.
32760 * math/k_cosl.c: Likewise.
32761 * math/k_rem_pio2l.c: Likewise.
32762 * math/k_sinl.c: Likewise.
32763 * math/k_tanl.c: Likewise.
32764 * math/s_asinhl.c: Likewise.
32765 * math/s_atanl.c: Likewise.
32766 * math/s_cbrtl.c: Likewise.
32767 * math/s_erfl.c: Likewise.
32768 * math/s_expm1l.c: Likewise.
32769 * math/s_log1pl.c: Likewise.
32770 * math/s_tanhl.c: Likewise.
32771 * misc/acct.c: Likewise.
32772 * misc/brk.c: Likewise.
32773 * misc/chflags.c: Likewise.
32774 * misc/chroot.c: Likewise.
32775 * misc/fchflags.c: Likewise.
32776 * misc/fgetxattr.c: Likewise.
32777 * misc/flistxattr.c: Likewise.
32778 * misc/fremovexattr.c: Likewise.
32779 * misc/fsetxattr.c: Likewise.
32780 * misc/fsync.c: Likewise.
32781 * misc/ftruncate.c: Likewise.
32782 * misc/futimes.c: Likewise.
32783 * misc/futimesat.c: Likewise.
32784 * misc/getdomain.c: Likewise.
32785 * misc/getdtsz.c: Likewise.
32786 * misc/gethostid.c: Likewise.
32787 * misc/gethostname.c: Likewise.
32788 * misc/getloadavg.c: Likewise.
32789 * misc/getpagesize.c: Likewise.
32790 * misc/getsysstats.c: Likewise.
32791 * misc/getxattr.c: Likewise.
32792 * misc/gtty.c: Likewise.
32793 * misc/ioctl.c: Likewise.
32794 * misc/lgetxattr.c: Likewise.
32795 * misc/listxattr.c: Likewise.
32796 * misc/llistxattr.c: Likewise.
32797 * misc/lremovexattr.c: Likewise.
32798 * misc/lsetxattr.c: Likewise.
32799 * misc/lutimes.c: Likewise.
32800 * misc/madvise.c: Likewise.
32801 * misc/mincore.c: Likewise.
32802 * misc/mlock.c: Likewise.
32803 * misc/mlockall.c: Likewise.
32804 * misc/mmap.c: Likewise.
32805 * misc/mprotect.c: Likewise.
32806 * misc/msync.c: Likewise.
32807 * misc/munlock.c: Likewise.
32808 * misc/munlockall.c: Likewise.
32809 * misc/munmap.c: Likewise.
32810 * misc/preadv.c: Likewise.
32811 * misc/preadv64.c: Likewise.
32812 * misc/ptrace.c: Likewise.
32813 * misc/pwritev.c: Likewise.
32814 * misc/pwritev64.c: Likewise.
32815 * misc/readv.c: Likewise.
32816 * misc/reboot.c: Likewise.
32817 * misc/remap_file_pages.c: Likewise.
32818 * misc/removexattr.c: Likewise.
32819 * misc/revoke.c: Likewise.
32820 * misc/select.c: Likewise.
32821 * misc/setdomain.c: Likewise.
32822 * misc/setegid.c: Likewise.
32823 * misc/seteuid.c: Likewise.
32824 * misc/sethostid.c: Likewise.
32825 * misc/sethostname.c: Likewise.
32826 * misc/setregid.c: Likewise.
32827 * misc/setreuid.c: Likewise.
32828 * misc/setxattr.c: Likewise.
32829 * misc/sstk.c: Likewise.
32830 * misc/stty.c: Likewise.
32831 * misc/swapoff.c: Likewise.
32832 * misc/swapon.c: Likewise.
32833 * misc/sync.c: Likewise.
32834 * misc/syncfs.c: Likewise.
32835 * misc/syscall.c: Likewise.
32836 * misc/truncate.c: Likewise.
32837 * misc/ualarm.c: Likewise.
32838 * misc/usleep.c: Likewise.
32839 * misc/ustat.c: Likewise.
32840 * misc/utimes.c: Likewise.
32841 * misc/vhangup.c: Likewise.
32842 * misc/writev.c: Likewise.
32843 * posix/_exit.c: Likewise.
32844 * posix/alarm.c: Likewise.
32845 * posix/execve.c: Likewise.
32846 * posix/fexecve.c: Likewise.
32847 * posix/fork.c: Likewise.
32848 * posix/fpathconf.c: Likewise.
32849 * posix/getaddrinfo.c: Likewise.
32850 * posix/getegid.c: Likewise.
32851 * posix/geteuid.c: Likewise.
32852 * posix/getgid.c: Likewise.
32853 * posix/getgroups.c: Likewise.
32854 * posix/getlogin.c: Likewise.
32855 * posix/getlogin_r.c: Likewise.
32856 * posix/getpgid.c: Likewise.
32857 * posix/getpid.c: Likewise.
32858 * posix/getppid.c: Likewise.
32859 * posix/getresgid.c: Likewise.
32860 * posix/getresuid.c: Likewise.
32861 * posix/getsid.c: Likewise.
32862 * posix/getuid.c: Likewise.
32863 * posix/glob64.c: Likewise.
32864 * posix/nanosleep.c: Likewise.
32865 * posix/pathconf.c: Likewise.
32866 * posix/pause.c: Likewise.
32867 * posix/posix_madvise.c: Likewise.
32868 * posix/pread.c: Likewise.
32869 * posix/pread64.c: Likewise.
32870 * posix/pwrite.c: Likewise.
32871 * posix/pwrite64.c: Likewise.
32872 * posix/sched_getaffinity.c: Likewise.
32873 * posix/sched_getp.c: Likewise.
32874 * posix/sched_gets.c: Likewise.
32875 * posix/sched_primax.c: Likewise.
32876 * posix/sched_primin.c: Likewise.
32877 * posix/sched_rr_gi.c: Likewise.
32878 * posix/sched_setaffinity.c: Likewise.
32879 * posix/sched_setp.c: Likewise.
32880 * posix/sched_sets.c: Likewise.
32881 * posix/sched_yield.c: Likewise.
32882 * posix/setgid.c: Likewise.
32883 * posix/setlogin.c: Likewise.
32884 * posix/setpgid.c: Likewise.
32885 * posix/setresgid.c: Likewise.
32886 * posix/setresuid.c: Likewise.
32887 * posix/setsid.c: Likewise.
32888 * posix/setuid.c: Likewise.
32889 * posix/sleep.c: Likewise.
32890 * posix/spawni.c: Likewise.
32891 * posix/sysconf.c: Likewise.
32892 * posix/times.c: Likewise.
32893 * posix/wait.c: Likewise.
32894 * posix/wait3.c: Likewise.
32895 * posix/wait4.c: Likewise.
32896 * posix/waitpid.c: Likewise.
32897 * resolv/gai_sigqueue.c: Likewise.
32898 * resource/getpriority.c: Likewise.
32899 * resource/getrlimit.c: Likewise.
32900 * resource/getrusage.c: Likewise.
32901 * resource/nice.c: Likewise.
32902 * resource/setpriority.c: Likewise.
32903 * resource/setrlimit.c: Likewise.
32904 * resource/ulimit.c: Likewise.
32905 * rt/aio_cancel.c: Likewise.
32906 * rt/aio_fsync.c: Likewise.
32907 * rt/aio_read.c: Likewise.
32908 * rt/aio_sigqueue.c: Likewise.
32909 * rt/aio_suspend.c: Likewise.
32910 * rt/aio_write.c: Likewise.
32911 * rt/clock_getres.c: Likewise.
32912 * rt/clock_gettime.c: Likewise.
32913 * rt/clock_nanosleep.c: Likewise.
32914 * rt/clock_settime.c: Likewise.
32915 * rt/lio_listio.c: Likewise.
32916 * rt/mq_close.c: Likewise.
32917 * rt/mq_getattr.c: Likewise.
32918 * rt/mq_notify.c: Likewise.
32919 * rt/mq_open.c: Likewise.
32920 * rt/mq_receive.c: Likewise.
32921 * rt/mq_send.c: Likewise.
32922 * rt/mq_setattr.c: Likewise.
32923 * rt/mq_timedreceive.c: Likewise.
32924 * rt/mq_timedsend.c: Likewise.
32925 * rt/mq_unlink.c: Likewise.
32926 * rt/shm_open.c: Likewise.
32927 * rt/shm_unlink.c: Likewise.
32928 * rt/timer_create.c: Likewise.
32929 * rt/timer_delete.c: Likewise.
32930 * rt/timer_getoverr.c: Likewise.
32931 * rt/timer_gettime.c: Likewise.
32932 * rt/timer_settime.c: Likewise.
32933 * setjmp/__longjmp.c: Likewise.
32934 * setjmp/setjmp.c: Likewise.
32935 * signal/kill.c: Likewise.
32936 * signal/killpg.c: Likewise.
32937 * signal/raise.c: Likewise.
32938 * signal/sigaction.c: Likewise.
32939 * signal/sigaltstack.c: Likewise.
32940 * signal/sigblock.c: Likewise.
32941 * signal/sigignore.c: Likewise.
32942 * signal/sigintr.c: Likewise.
32943 * signal/signal.c: Likewise.
32944 * signal/sigpause.c: Likewise.
32945 * signal/sigpending.c: Likewise.
32946 * signal/sigqueue.c: Likewise.
32947 * signal/sigreturn.c: Likewise.
32948 * signal/sigset.c: Likewise.
32949 * signal/sigsetmask.c: Likewise.
32950 * signal/sigstack.c: Likewise.
32951 * signal/sigsuspend.c: Likewise.
32952 * signal/sigtimedwait.c: Likewise.
32953 * signal/sigvec.c: Likewise.
32954 * signal/sigwait.c: Likewise.
32955 * signal/sigwaitinfo.c: Likewise.
32956 * signal/sysv_signal.c: Likewise.
32957 * socket/accept.c: Likewise.
32958 * socket/accept4.c: Likewise.
32959 * socket/bind.c: Likewise.
32960 * socket/connect.c: Likewise.
32961 * socket/getpeername.c: Likewise.
32962 * socket/getsockname.c: Likewise.
32963 * socket/getsockopt.c: Likewise.
32964 * socket/isfdtype.c: Likewise.
32965 * socket/listen.c: Likewise.
32966 * socket/recv.c: Likewise.
32967 * socket/recvfrom.c: Likewise.
32968 * socket/recvmsg.c: Likewise.
32969 * socket/send.c: Likewise.
32970 * socket/sendmsg.c: Likewise.
32971 * socket/sendto.c: Likewise.
32972 * socket/setsockopt.c: Likewise.
32973 * socket/shutdown.c: Likewise.
32974 * socket/sockatmark.c: Likewise.
32975 * socket/socket.c: Likewise.
32976 * socket/socketpair.c: Likewise.
32977 * stdio-common/ctermid.c: Likewise.
32978 * stdio-common/cuserid.c: Likewise.
32979 * stdio-common/remove.c: Likewise.
32980 * stdio-common/rename.c: Likewise.
32981 * stdio-common/renameat.c: Likewise.
32982 * stdio-common/tempname.c: Likewise.
32983 * stdlib/getcontext.c: Likewise.
32984 * stdlib/makecontext.c: Likewise.
32985 * stdlib/setcontext.c: Likewise.
32986 * stdlib/swapcontext.c: Likewise.
32987 * stdlib/system.c: Likewise.
32988 * streams/fattach.c: Likewise.
32989 * streams/fdetach.c: Likewise.
32990 * streams/getmsg.c: Likewise.
32991 * streams/getpmsg.c: Likewise.
32992 * streams/putmsg.c: Likewise.
32993 * streams/putpmsg.c: Likewise.
32994 * sysdeps/unix/bsd/getpt.c: Likewise.
32995 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32996 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32997 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33000 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33001 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33002 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33003 * sysvipc/msgctl.c: Likewise.
33004 * sysvipc/msgget.c: Likewise.
33005 * sysvipc/msgrcv.c: Likewise.
33006 * sysvipc/msgsnd.c: Likewise.
33007 * sysvipc/semctl.c: Likewise.
33008 * sysvipc/semget.c: Likewise.
33009 * sysvipc/semop.c: Likewise.
33010 * sysvipc/semtimedop.c: Likewise.
33011 * sysvipc/shmat.c: Likewise.
33012 * sysvipc/shmctl.c: Likewise.
33013 * sysvipc/shmdt.c: Likewise.
33014 * sysvipc/shmget.c: Likewise.
33015 * termios/tcdrain.c: Likewise.
33016 * termios/tcflow.c: Likewise.
33017 * termios/tcflush.c: Likewise.
33018 * termios/tcgetattr.c: Likewise.
33019 * termios/tcgetpgrp.c: Likewise.
33020 * termios/tcsendbrk.c: Likewise.
33021 * termios/tcsetattr.c: Likewise.
33022 * termios/tcsetpgrp.c: Likewise.
33023 * time/adjtime.c: Likewise.
33024 * time/clock.c: Likewise.
33025 * time/getitimer.c: Likewise.
33026 * time/gettimeofday.c: Likewise.
33027 * time/setitimer.c: Likewise.
33028 * time/settimeofday.c: Likewise.
33029 * time/stime.c: Likewise.
33030 * time/time.c: Likewise.
33032 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33034 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33037 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33039 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33041 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33045 FE_TONEAREST before applying Dekker multiplication and Knuth
33046 addition. Clear inexact exceptions and check for exact zero
33047 results afterwards.
33048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33051 * math/libm-test.inc (fma_test): Add more tests.
33052 (fma_test_towardzero): Likewise.
33053 (fma_test_downward): Likewise.
33054 (fma_test_upward): Likewise.
33055 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33057 (libc_fesetround): New macro.
33058 (libc_fesetroundf): Likewise.
33059 (libc_fesetroundl): Likewise.
33060 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33062 (libc_fesetround_387): Likewise.
33063 (libc_fesetroundf): New macro.
33064 (libc_fesetround): Likewise.
33065 (libc_fesetroundl): Likewise.
33066 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33068 (libc_fesetroundf): New macro.
33069 (libc_fesetround): Likewise.
33070 (libc_fesetroundl): Likewise.
33071 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33072 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33073 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33075 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33076 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33078 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33079 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33081 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33085 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33086 integer constant usable in #if and use that to give value to enum
33088 (FE_DIVBYZERO): Likewise.
33089 (FE_UNDERFLOW): Likewise.
33090 (FE_OVERFLOW): Likewise.
33091 (FE_INVALID): Likewise.
33092 (FE_INVALID_SNAN): Likewise.
33093 (FE_INVALID_ISI): Likewise.
33094 (FE_INVALID_IDI): Likewise.
33095 (FE_INVALID_ZDZ): Likewise.
33096 (FE_INVALID_IMZ): Likewise.
33097 (FE_INVALID_COMPARE): Likewise.
33098 (FE_INVALID_SOFTWARE): Likewise.
33099 (FE_INVALID_SQRT): Likewise.
33100 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33101 (FE_TONEAREST): Likewise.
33102 (FE_TOWARDZERO): Likewise.
33103 (FE_UPWARD): Likewise.
33104 (FE_DOWNWARD): Likewise.
33105 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33106 (FE_DIVBYZERO): Likewise.
33107 (FE_OVERFLOW): Likewise.
33108 (FE_UNDERFLOW): Likewise.
33109 (FE_INEXACT): Likewise.
33110 (FE_TONEAREST): Likewise.
33111 (FE_DOWNWARD): Likewise.
33112 (FE_UPWARD): Likewise.
33113 (FE_TOWARDZERO): Likewise.
33114 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33115 (FE_UNDERFLOW): Likewise.
33116 (FE_OVERFLOW): Likewise.
33117 (FE_DIVBYZERO): Likewise.
33118 (FE_INVALID): Likewise.
33119 (FE_TONEAREST): Likewise.
33120 (FE_TOWARDZERO): Likewise.
33121 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33122 (FE_OVERFLOW): Likewise.
33123 (FE_UNDERFLOW): Likewise.
33124 (FE_DIVBYZERO): Likewise.
33125 (FE_INEXACT): Likewise.
33126 (FE_TONEAREST): Likewise.
33127 (FE_TOWARDZERO): Likewise.
33128 (FE_UPWARD): Likewise.
33129 (FE_DOWNWARD): Likewise.
33130 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33131 (FE_DIVBYZERO): Likewise.
33132 (FE_OVERFLOW): Likewise.
33133 (FE_UNDERFLOW): Likewise.
33134 (FE_INEXACT): Likewise.
33135 (FE_TONEAREST): Likewise.
33136 (FE_DOWNWARD): Likewise.
33137 (FE_UPWARD): Likewise.
33138 (FE_TOWARDZERO): Likewise.
33140 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33142 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33144 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33146 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33147 commands. Quote $PWD.
33148 (blacklist_exports): Don't use remove_newlines. Replace "declare
33150 (remove_newlines): Remove.
33152 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33154 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33155 * stdlib/stdlib.h (atof): Moved to ...
33156 * include/bits/stdlib-float.h: Here. New file.
33157 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33158 * stdlib/bits/stdlib-float.h: New file.
33159 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33164 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33166 * conform/conformtest.pl (@headers): Add fenv.h.
33167 * conform/data/fenv.h-data: New file.
33168 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33169 include of <math/fenv.h>.
33171 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33172 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33173 && !UNIX98]. Enables tests for XOPEN2K8.
33174 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33175 POSIX2008]: Likewise.
33177 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33178 (struct rusage): Do not expect type or its members.
33181 * math/math.h (FP_NAN): Define macro to integer constant usable in
33182 #if and use that to give value to enum constant.
33183 (FP_INFINITE): Likewise.
33184 (FP_ZERO): Likewise.
33185 (FP_SUBNORMAL): Likewise.
33186 (FP_NORMAL): Likewise.
33188 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33190 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33191 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33194 2012-11-02 Roland McGrath <roland@hack.frob.com>
33196 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33197 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33198 autoconf-time if not.
33199 * configure.in: Remove AC_PREREQ.
33201 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33203 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33204 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33205 of the internal implementation.
33207 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33209 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33210 except include of <misc/sys/syslog.h>.
33212 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33215 function returns with a NULL context exit with zero.
33217 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33219 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33221 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33223 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33224 (run_program_cmd): This.
33225 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33226 (tst_langinfo): New variable. Use it.
33228 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33230 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33231 floating point opcodes.
33233 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33235 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33238 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33240 * sysdeps/mach/hurd/powerpc: Remove directory.
33241 * sysdeps/mach/powerpc: Likewise.
33243 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33245 * scripts/check-local-headers.sh: Ignore c++ headers.
33247 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33249 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33250 __libc_cleanup_region_start argument.
33252 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33257 x * y using scaling, not as x * y + z.
33258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33260 * math/libm-test.inc (fma_test): Add more tests.
33261 (fma_test_towardzero): Likewise.
33262 (fma_test_downward): Likewise.
33263 (fma_test_upward): Likewise.
33265 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33267 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33269 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33271 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33274 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33276 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33278 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33285 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33288 Fix the order of the list for glibc 2.17.
33289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33292 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33296 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33300 for low part of x being zero before using __atanl (y).
33301 * math/libm-test.inc (atan2_test): Add another test.
33303 * manual/install.texi (Configuring and compiling): Document
33304 general use of test-wrapper and test-wrapper-env.
33305 * INSTALL: Regenerated.
33307 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33308 (__fma): Do not extract and scale down low bits on after-rounding
33309 systems when result rounded to normal precision would have normal
33311 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33312 (__fmal): Do not extract and scale down low bits on after-rounding
33313 systems when result rounded to normal precision would have normal
33315 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33316 (__fmal): Do not extract and scale down low bits on after-rounding
33317 systems when result rounded to normal precision would have normal
33319 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33321 (fma_test): Add more tests.
33322 (fma_test_towardzero): Likewise.
33323 (fma_test_downward): Likewise.
33324 (fma_test_upward): Likewise.
33326 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33328 * sysdeps/i386/tininess.h: Renamed to ...
33329 * sysdeps/x86/tininess.h: This.
33330 * sysdeps/x86_64/tininess.h: Removed.
33332 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33334 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33335 input. Use $(build-program-cmd).
33336 ($(objpfx)tst-array1-static.out): Likewise.
33337 ($(objpfx)tst-array2.out): Likewise.
33338 ($(objpfx)tst-array3.out): Likewise.
33339 ($(objpfx)tst-array4.out): Likewise.
33340 ($(objpfx)tst-array5.out): Likewise.
33341 ($(objpfx)tst-array5-static.out): Likewise.
33343 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33345 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33348 * nss/nsswitch.h (nss_interface_function): Provide new
33349 macro for use with NSS functions.
33350 * grp/initgroups.c: Use new macro.
33351 * nss/getXXbyYY.c: Likewise.
33352 * nss/getXXbyYY_r.c: Likewise.
33353 * nss/getXXent.c: Likewise.
33354 * nss/getXXent_r.c: Likewise.
33355 * sysdeps/posix/getaddrinfo.c: Likewise.
33357 2012-10-30 Andreas Jaeger <aj@suse.de>
33359 * po/ru.po: Update Russion translation from translation project.
33361 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33366 result and shift together with sticky bit instead of replicating
33367 round-to-nearest rounding.
33368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33370 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33371 missing underflow exceptions.
33372 (fma_test_towardzero): Add more tests.
33373 (fma_test_downward): Likewise.
33374 (fma_test_upward): Likewise.
33377 * sysdeps/generic/tininess.h: New file.
33378 * sysdeps/i386/tininess.h: Likewise.
33379 * sysdeps/sh/tininess.h: Likewise.
33380 * sysdeps/x86_64/tininess.h: Likewise.
33381 * stdlib/tst-strtod-underflow.c: Likewise.
33382 * stdlib/tst-tininess.c: Likewise.
33383 * stdlib/strtod_l.c: Include <tininess.h>.
33384 (round_and_return): Do not set errno for exact underflow cases.
33385 Force an underflow exception when setting errno for underflow.
33386 Determine underflow based on rounding to normal precision if
33387 TININESS_AFTER_ROUNDING.
33388 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33389 ERANGE for exact underflow cases.
33390 * stdlib/Makefile (tests): Add tst-tininess and
33391 tst-strtod-underflow.
33392 ($(objpfx)tst-tininess): Use $(link-libm).
33393 ($(objpfx)tst-strtod-underflow): Likewise.
33395 2012-10-30 Andreas Jaeger <aj@suse.de>
33398 * elf/Makefile (tests): Remove conditional for have-initfini-array
33399 since this is now always required and the variable does not exist
33401 (tests-static): Likewise.
33402 (modules-names): Likewise.
33404 * po/eo.po: Add Esperanto translation from translation project.
33406 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33407 merged with constructor/destructor.
33408 (init_array): Likewise.
33409 * elf/tst-array2dep.c (fini_array): Likewise.
33410 (init_array): Likewise.
33412 2012-10-29 Mike Frysinger <vapier@gentoo.org>
33414 * manual/message.texi: Delete @cartouche tags.
33416 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33418 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33420 * sysdeps/mach/hurd/fsync.c: Likewise.
33422 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33423 [_POSIX_REALTIME_SIGNALS]: Change condition to
33424 [_POSIX_REALTIME_SIGNALS > 0].
33426 2012-10-27 Andreas Jaeger <aj@suse.de>
33428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33429 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33431 [__WORDSIZE != 64]: Likewise.
33433 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33435 * iconvdata/tst-table.sh: Remove ${SHELL}.
33436 * iconvdata/tst-tables.sh: Likewise.
33438 2012-10-25 David S. Miller <davem@davemloft.net>
33440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33441 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33447 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33448 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33451 2012-10-25 Roland McGrath <roland@hack.frob.com>
33453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33454 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33457 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33458 Jim Blandy <jimb@codesourcery.com>
33460 * scripts/cross-test-ssh.sh: New file.
33461 * manual/install.texi (Configuring and compiling): Document use of
33463 * INSTALL: Regenerated.
33465 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33467 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33470 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33472 * Makeconfig (run-program-prefix): Fix comment.
33474 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33475 Jim Blandy <jimb@codesourcery.com>
33477 * Makeconfig (test-wrapper): New variable,
33478 (test-wrapper-env): Likewise.
33479 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33480 (run-built-tests): Define to yes.
33481 (run-program-prefix): Use $(test-wrapper).
33482 (built-program-cmd): Likewise.
33483 * Rules (make-test-out): Use $(test-wrapper-env) and
33484 $(host-built-program-cmd).
33485 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33486 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33488 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33489 $(test-wrapper-env) to tst-rtld-load-self.sh.
33490 ($(objpfx)order2.out): Use $(test-wrapper).
33491 ($(objpfx)tst-initorder.out): Likewise.
33492 ($(objpfx)tst-initorder2.out): Likewise.
33493 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33494 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33495 (test_wrapper_env): New variable. Use it to run ld.so.
33496 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33497 Use it to run ld.so.
33498 (test_wrapper_env): Likewise.
33499 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33500 $(test-wrapper) to run-iconv-test.sh.
33501 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33502 (ICONV): Use $test_wrapper.
33503 * posix/Makefile ($(objpfx)globtest.out): Pass
33504 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33505 globtest.sh, not $(run-program-prefix).
33506 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33507 (test_wrapper): Likewise.
33508 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33509 set together with run_via_rtld_prefix.
33510 (run_program_prefix): Define in terms of test_wrapper and
33511 run_via_rtld_prefix.
33513 2012-10-24 Roland McGrath <roland@hack.frob.com>
33515 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33516 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33520 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33521 Declare __clock_getres, __clock_gettime, __clock_settime,
33522 __clock_nanosleep, and __clock_getcpuclockid.
33523 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33524 Remove librt_hidden_def (clock_gettime).
33525 * sysdeps/unix/clock_gettime.c: Likewise.
33526 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33528 * rt/clock_getres.c: Define __clock_getres as an alias.
33529 * sysdeps/posix/clock_getres.c: Likewise.
33530 * rt/clock_settime.c: Define __clock_settime as an alias.
33531 * sysdeps/unix/clock_settime.c: Likewise.
33532 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33533 * sysdeps/unix/clock_nanosleep.c: Likewise.
33534 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33535 * rt/clock-compat.c: New file.
33536 * rt/Makefile (librt-routines): Add clock-compat and move
33537 $(clock-routines) to ...
33538 (routines): ... here, new variable.
33539 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33540 Don't add get_clockfreq here.
33541 * rt/Versions (libc: GLIBC_2.17): New version set.
33542 Add clock_* symbols here.
33543 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33544 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33545 (GLIBC_2.17): Add clock_* symbols.
33546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33557 * NEWS: Mention the move.
33559 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33560 Use __open, __read, __close rather than their public counterparts.
33561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33562 (__get_clockfreq_via_cpuinfo): Likewise.
33563 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33564 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33566 * config.h.in (HAVE_IFUNC): New #undef.
33567 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33569 * configure: Regenerated.
33571 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33573 * configure.in: Move READELF check to start of file.
33574 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33575 libc_cv_asm_gnu_indirect_function in the process.
33576 * configure: Regenerated.
33578 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33580 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33581 send the output to /dev/null.
33582 (libc_cv_cc_with_libunwind): Likewise.
33583 (libc_cv_as_noexecstack): Likewise.
33584 * configure: Regenerate.
33586 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33588 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33590 * posix/globtest.sh (TMPDIR): Do not set.
33591 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33592 (testout): Likewise.
33594 2012-10-24 Andreas Jaeger <aj@suse.de>
33596 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33597 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33598 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33599 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33600 posix_fadvise64, posix_fallocate64.
33602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33603 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33604 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33606 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33608 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33611 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33612 <bits/fcntl-linux.h>.
33613 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33616 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33617 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33618 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33619 [__WORDSIZE != 64]: Likewise.
33621 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33623 * Makeconfig (run-built-tests): New variable.
33624 * Rules [$(cross-compiling) = yes]: Change condition to
33625 [$(run-built-tests) = no].
33626 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33627 to [$(run-built-tests) = yes].
33628 * elf/Makefile [$(cross-compiling) = no]: Likewise
33629 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33630 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33631 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33632 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33633 * io/Makefile [$(cross-compiling) = no]: Likewise.
33634 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33635 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33636 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33637 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33638 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33639 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33640 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33641 * string/Makefile [$(cross-compiling) = no]: Likewise.
33643 * posix/Makefile ($(objpfx)globtest.out): Pass
33644 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33645 $(rtld-installed-name).
33646 * posix/globtest.sh (elf_objpfx): Remove variable.
33647 (rtld_installed_name): Likewise.
33648 (library_path): Likewise.
33649 (run_program_prefix): New variable. Use for running globtest
33652 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33653 Joseph Myers <joseph@codesourcery.com>
33655 * Makeconfig (host-built-program-cmd): New variable.
33656 * elf/Makefile (tst-stackguard1-ARGS): Use
33657 $(host-built-program-cmd).
33658 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33659 (tst-spawn-ARGS): Likewise.
33660 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33662 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33663 Jim Blandy <jimb@codesourcery.com>
33665 * Makeconfig (run-via-rtld-prefix): New variable.
33666 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33667 (built-program-cmd): Likewise.
33669 2012-10-22 Andreas Jaeger <aj@suse.de>
33671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33672 __O_RSYNC if it exists, otherwise to O_SYNC.
33674 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33675 Joseph Myers <joseph@codesourcery.com>
33677 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33679 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33681 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33684 2012-10-22 Andreas Jaeger <aj@suse.de>
33686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33691 bits/fcntl-linux.h.
33693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33694 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33701 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33702 Joseph Myers <joseph@codesourcery.com>
33704 * config.make.in (NM): New variable.
33706 2012-10-21 Andreas Jaeger <aj@suse.de>
33708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33709 definitions and declarations that are provided by
33710 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33712 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33715 * elf/Makefile (tests-static): Add tst-leaks1-static.
33716 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33717 ($(objpfx)tst-leaks1-static): New rule.
33718 ($(objpfx)tst-leaks1-static-mem): Likewise.
33719 (tst-leaks1-static-ENV): New macro.
33720 * elf/dl-open.c (dl_open_worker): Check the main application
33721 only if SHARED is defined.
33722 * elf/tst-leaks1-static.c: New file.
33724 2012-10-20 Andreas Jaeger <aj@suse.de>
33726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33727 generic values for Linux.
33728 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33729 and declarations that are provided by <bits/fcntl-linux.h> and
33730 include <bits/fcntl-linux.h>.
33731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33734 2012-10-20 Roland McGrath <roland@hack.frob.com>
33736 * io/fcntl.h: Move include of <bits/types.h> to the top and
33737 include it unconditionally.
33739 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33741 * wcsmbs/Makefile (tests-ifunc): New variable.
33742 (tests): Add $(tests-ifunc).
33743 * wcsmbs/test-wcschr-ifunc.c: New file.
33744 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33745 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33746 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33747 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33748 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33750 * string/Makefile (tests-ifunc): New variable.
33751 (tests): Add $(tests-ifunc).
33752 * string/test-memccpy.c (TEST_NAME): New macro.
33753 * string/test-memchr.c (TEST_NAME): Likewise.
33754 * string/test-memcmp.c (TEST_NAME): Likewise.
33755 * string/test-memcpy.c (TEST_NAME): Likewise.
33756 * string/test-memmem.c (TEST_NAME): Likewise.
33757 * string/test-memmove.c (TEST_NAME): Likewise.
33758 * string/test-memset.c (TEST_NAME): Likewise.
33759 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33760 * string/test-stpcpy.c (TEST_NAME): Likewise.
33761 * string/test-stpncpy.c (TEST_NAME): Likewise.
33762 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33763 * string/test-strcasestr.c (TEST_NAME): Likewise.
33764 * string/test-strcat.c (TEST_NAME): Likewise.
33765 * string/test-strchr.c (TEST_NAME): Likewise.
33766 * string/test-strcmp.c(TEST_NAME): Likewise.
33767 * string/test-strcpy.c (TEST_NAME): Likewise.
33768 * string/test-strcspn.c (TEST_NAME): Likewise.
33769 * string/test-strlen.c (TEST_NAME): Likewise.
33770 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33771 * string/test-strncmp.c (TEST_NAME): Likewise.
33772 * string/test-strncpy.c (TEST_NAME): Likewise.
33773 * string/test-strnlen.c (TEST_NAME): Likewise.
33774 * string/test-strpbrk.c (TEST_NAME): Likewise.
33775 * string/test-strrchr.c (TEST_NAME): Likewise.
33776 * string/test-strspn.c (TEST_NAME): Likewise.
33777 * string/test-strstr.c (TEST_NAME): Likewise.
33778 * string/test-bcopy-ifunc.c: New file.
33779 * string/test-bzero-ifunc.c: Likewise.
33780 * string/test-memccpy-ifunc.c: Likewise.
33781 * string/test-memchr-ifunc.c: Likewise.
33782 * string/test-memcmp-ifunc.c: Likewise.
33783 * string/test-memcpy-ifunc.c: Likewise.
33784 * string/test-memmem-ifunc.c: Likewise.
33785 * string/test-memmove-ifunc.c: Likewise.
33786 * string/test-mempcpy-ifunc.c: Likewise.
33787 * string/test-memset-ifunc.c: Likewise.
33788 * string/test-rawmemchr-ifunc.c: Likewise.
33789 * string/test-stpcpy-ifunc.c: Likewise.
33790 * string/test-stpncpy-ifunc.c: Likewise.
33791 * string/test-strcasecmp-ifunc.c: Likewise.
33792 * string/test-strcasestr-ifunc.c: Likewise.
33793 * string/test-strcat-ifunc.c: Likewise.
33794 * string/test-strchr-ifunc.c: Likewise.
33795 * string/test-strchrnul-ifunc.c: Likewise.
33796 * string/test-strcmp-ifunc.c: Likewise.
33797 * string/test-strcpy-ifunc.c: Likewise.
33798 * string/test-strcspn-ifunc.c: Likewise.
33799 * string/test-strlen-ifunc.c: Likewise.
33800 * string/test-strncasecmp-ifunc.c: Likewise.
33801 * string/test-strncat-ifunc.c: Likewise.
33802 * string/test-strncmp-ifunc.c: Likewise.
33803 * string/test-strncpy-ifunc.c: Likewise.
33804 * string/test-strnlen-ifunc.c: Likewise.
33805 * string/test-strpbrk-ifunc.c: Likewise.
33806 * string/test-strrchr-ifunc.c: Likewise.
33807 * string/test-strspn-ifunc.c: Likewise.
33808 * string/test-strstr-ifunc.c: Likewise.
33810 * debug/Makefile (tests-ifunc): New variable.
33811 (tests): Add $(tests-ifunc).
33812 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33813 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33814 * debug/test-stpcpy_chk-ifunc.c: New file.
33815 * debug/test-strcpy_chk-ifunc.c: Likewise.
33817 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33820 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33821 header is not read in.
33823 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33825 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33826 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33827 directly. Pass built executable to script as
33828 $(built-program-cmd).
33829 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33830 $testprogram without using LD_LIBRARY_PATH and $ldso.
33832 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33833 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33834 $(rtld-installed-name).
33835 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33836 (rtld_installed_name): Likewise.
33837 (library_path): Likewise.
33838 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33839 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33840 $(run-program-prefix) to tst-tables.sh.
33841 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33842 it to run tst-table-from and tst-table-to.
33843 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33844 Pass it to tst-table.sh.
33845 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33846 $(run-program-prefix) to tst-gettext.sh.
33847 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33849 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33851 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33852 to run tst-gettext.
33853 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33854 to run tst-gettext2.
33855 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33856 to run tst-translit.
33857 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33858 $(run-program-prefix) to tst-mtrace.sh.
33859 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33861 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33862 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33863 $(rtld-installed-name).
33864 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33865 (rtld_installed_name): Likewise.
33866 (run_program_prefix): New variable. Use it to run wordexp-test.
33868 * Makeconfig (ARCH): Remove all definitions.
33869 (machine): Likewise.
33870 [ARCH]: Remove conditional code.
33871 [!objdir]: Give error.
33872 [!objdir] (objpfx): Remove.
33873 [!objdir] (common-objpfx): Likewise.
33874 [!objdir] (common-objdir): Likewise.
33875 * configure.in (config_makefile): Remove. Hardcode Makefile in
33876 AC_CONFIG_FILES call.
33877 * configure: Regenerated.
33880 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33882 (testout): Likewise.
33884 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33885 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33886 $(rtld-installed-name).
33887 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33888 (rtld_installed_name): Likwise.
33889 (runit): Remove function.
33890 (run_getconf): New variable, Use it for running getconf binary.
33892 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33895 * string/test-memmem.c (check_result): New function.
33896 (do_one_test): Use it.
33897 (check1): New function.
33898 (test_main): Use it.
33900 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33902 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33904 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33906 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33907 (_G_LSEEK64): Likewise.
33908 (_G_MMAP64): Likewise.
33909 (_G_FSTAT64): Likewise.
33910 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33911 (_G_LSEEK64): Likewise.
33912 (_G_MMAP64): Likewise.
33913 (_G_FSTAT64): Likewise.
33914 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33915 unconditional. Call __mmap64 directly.
33916 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33917 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33918 __lseek64 directly.
33919 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33920 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33922 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33923 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33924 __lseek64 directly.
33925 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33926 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33927 __lseek64 directly.
33928 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33929 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33930 __lseek64 directly.
33931 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33932 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33933 __fxstat64 directly.
33934 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33935 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33937 (freopen64) [!_G_OPEN64]: Remove conditional code.
33938 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33940 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33941 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33943 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33944 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33946 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33947 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33949 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33950 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33952 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33953 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33955 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33956 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33958 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33960 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33963 * manual/memory.texi (Malloc Tunable Parameters): Add note
33964 about free list pointers overwriting some perturb bytes.
33965 Wording suggested by Roland McGrath.
33967 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33969 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33970 (lgamma_test): Likewise.
33971 (tgamma_test): Likewise.
33973 2012-10-16 Florian Weimer <fweimer@redhat.com>
33976 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33977 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33979 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33981 * NEWS: Mention BZ #14716.
33982 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33983 when removing AVAILABLE1_USES_J macro.
33985 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33987 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33988 (__bswap_64): __uint64_t for unsigned 64-bit int.
33990 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33992 * include/string.h (memmem): Declare libc hidden alias.
33993 * string/memmem.c (memmem): Define libc hidden alias.
33994 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33995 __read, __close instead of open, read, close.
33997 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34000 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34002 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34003 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34004 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34006 (__rawmemchr_sse2): Likewise.
34007 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34008 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34009 (__strchr_sse2): Likewise.
34010 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34011 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34012 (__strcasecmp_sse2): Likewise.
34013 (__strncasecmp_sse2): Likewise.
34014 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34015 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34016 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34017 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34018 (__strrchr_sse2): Likewise.
34019 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34021 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34022 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34023 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34024 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34025 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34026 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34027 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34028 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34029 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34030 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34031 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34033 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34034 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34035 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34036 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34037 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34038 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34039 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34040 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34041 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34042 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34043 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34044 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34045 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34046 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34047 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34048 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34049 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34050 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34052 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34054 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34055 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34056 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34057 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34059 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34061 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34062 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34063 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34064 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34068 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34069 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34070 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34071 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34072 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34073 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34074 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34075 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34076 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34077 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34078 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34079 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34080 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34081 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34082 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34083 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34084 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34085 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34086 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34087 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34088 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34089 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34090 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34091 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34092 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34093 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34094 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34095 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34096 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34099 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34100 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34101 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34102 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34103 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34104 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34105 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34106 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34108 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34109 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34110 * include/ifunc-impl-list.h: New file.
34111 * misc/ifunc-impl-list.c: Likewise.
34112 * misc/Makefile (routines): Add ifunc-impl-list.
34113 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34114 * string/test-string.h: Include <ifunc-impl-list.h>.
34115 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34116 TEST_NAME]: New variables.
34117 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34119 (test_init): Call __libc_ifunc_impl_list to initialize
34120 func_list if TEST_IFUNC and TEST_NAME are defined.
34122 * string/Makefile (strop-tests): Add bcopy and bzero.
34123 * string/test-bcopy.c: New file.
34124 * string/test-bzero.c: Likewise.
34125 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34127 * string/test-memset.c: Support bzero test if TEST_BZERO is
34129 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34131 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34133 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34136 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34138 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34139 * configure: Regenerated.
34141 * Makeconfig (+link-static-before-libc): Don't include
34142 $(link-static-libc).
34144 * libio/libio.h (_IO_pos_t): Remove.
34146 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34148 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34151 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34153 * crypt/crypt-entry.c: Include fips-private.h.
34154 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34155 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34156 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34157 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34159 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34161 * crypt/crypt-private.h: Include stdbool.h.
34162 (_ufc_setup_salt_r): Return bool.
34163 * crypt/crypt-entry.c: Include errno.h.
34164 (__crypt_r): Return NULL with EINVAL for bad salt.
34165 * crypt/crypt_util.c (bad_for_salt): New.
34166 (_ufc_setup_salt_r): Check that salt is long enough and within
34167 the specified alphabet.
34168 * crypt/badsalttest.c: New file.
34169 * crypt/Makefile (tests): Add it.
34170 ($(objpfx)badsalttest): New.
34172 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34174 * NEWS: Add entry for BZ #14602.
34176 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34178 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34180 * math/libm-test.inc: Update comment listing what functions and
34182 (isgreater_test): New function.
34183 (isgreaterequal_test): Likewise.
34184 (isless_test): Likewise.
34185 (islessequal_test): Likewise.
34186 (islessgreater_test): Likewise.
34187 (isunordered_test): Likewise.
34188 (main): Call the new functions.
34190 2012-10-09 Roland McGrath <roland@hack.frob.com>
34192 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34193 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34194 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34195 * sysdeps/i386/configure: Regenerated.
34196 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34197 * sysdeps/mach/configure: Regenerated.
34198 * sysdeps/mach/hurd/configure: Regenerated.
34199 * sysdeps/powerpc/configure: Regenerated.
34200 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34201 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34202 * sysdeps/s390/s390-32/configure: Regenerated.
34203 * sysdeps/s390/s390-64/configure: Regenerated.
34204 * sysdeps/sh/configure: Regenerated.
34205 * sysdeps/sparc/configure: Regenerated.
34206 * sysdeps/unix/sysv/linux/configure: Regenerated.
34207 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34208 * sysdeps/x86_64/configure: Regenerated.
34210 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34211 defined. Don't check if MAP is NULL.
34213 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34215 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34216 (_G_stat64): Likewise.
34217 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34218 (_G_stat64): Likewise.
34219 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34220 instead of struct _G_stat64.
34221 * libio/fileops.c (mmap_remap_check): Likewise.
34222 (decide_maybe_mmap): Likewise.
34223 (_IO_new_file_seekoff): Likewise.
34224 (_IO_file_stat): Likewise.
34225 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34227 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34228 instead of struct _G_stat64.
34229 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34231 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34234 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34236 (CHECK_EOL): New macro.
34237 (two_way_short_needle): Check beginning of haystack for EOL. Use
34239 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34240 Replace with CHECK_EOL.
34241 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34242 Replace with CHECK_EOL.
34244 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34246 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34248 * math/libm-test.inc: Update comment listing what functions and
34250 (finite_test): New function.
34251 (isinf_test): Likewise.
34252 (isnan_test): Likewise.
34253 (fpclassify_test): Test subnormal input.
34254 (isfinite_test): Likewise.
34255 (isnormal_test): Likewise.
34256 (main): Call the new functions.
34258 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34261 * Makerules (%.dynsym): Force C locale when running
34262 $(OBJDUMP) --dynamic-syms.
34264 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34266 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34269 2012-10-06 David S. Miller <davem@davemloft.net>
34271 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34272 upper 32-bits of the length value in %o2 since we use branch-on-register
34273 tests which consider the entire 64-bit register.
34275 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34277 * string/test-strstr.c (check2): Add a test for page boundary.
34279 2012-10-05 David S. Miller <davem@davemloft.net>
34281 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34282 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34284 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34286 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34287 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34288 and bzero when HWCAP_SPARC_CRYPTO is present.
34290 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34293 * string/test-strstr.c (check2): New function.
34294 (test_main): Call check2.
34296 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34298 * string/bug-strcasestr1.c (do_test): Moved to ...
34299 * string/test-strcasestr.c (check1): Here. New function.
34300 (do_one_test): Break out result checking code into ...
34301 (check_result): This. New function.
34302 (do_one_test): Call check_result.
34303 (test_main): Call check1.
34304 * string/bug-strchr1.c (do_test): Moved to ...
34305 * string/test-strchr.c (check1): Here. New function.
34306 (do_one_test): Break out result checking code into ...
34307 (check_result): This. New function.
34308 (do_one_test): Call check_result.
34309 (test_main): Call check1.
34310 * string/bug-strstr1.c (main): Moved to ...
34311 * string/test-strstr.c (check1): Here. New function.
34312 (do_one_test): Break out result checking code into ...
34313 (check_result): This. New function.
34314 (do_one_test): Call check_result.
34315 (test_main): Call check1.
34316 * string/bug-strcasestr1.c: Removed.
34317 * string/bug-strchr1.c: Likewise.
34318 * string/bug-strstr1.c: Likewise.
34320 * elf/Makefile (dl-routines): Add hwcaps.
34321 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34322 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34323 (_dl_important_hwcaps): Moved to ...
34324 * elf/dl-hwcaps.c: Here. New file.
34325 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34328 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34329 if IS_IN_rtld isn't defined.
34331 * elf/dl-support.c (_dl_sysinfo_map): New.
34332 Include "get-dynamic-info.h" and "setup-vdso.h".
34333 (_dl_non_dynamic_init): Call setup_vdso.
34334 * elf/dynamic-link.h: Don't include <assert.h>.
34335 (elf_get_dynamic_info): Moved to ...
34336 * elf/get-dynamic-info.h: Here. New file.
34337 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34338 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34339 * elf/setup-vdso.h: Here. New file.
34340 * elf/rtld.c: Include "setup-vdso.h".
34341 (dl_main): Call setup_vdso.
34343 2012-10-05 Joseph Myers <joseph@codesourcery.com>
34345 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34346 creal in comment listing functions tested. List finite, isinf,
34347 isnan, isless, islessequal, isgreater, isgreaterequal,
34348 islessgreater, isunordered, lgamma_r and pow10 as functions and
34349 macros not tested. Mention which functions not tested are aliases
34350 for other functions. Fix typo. Note that signs of NaNs are not
34353 * scripts/config.guess: Update from config.git.
34354 * scripts/config.sub: Likewise.
34356 2012-10-04 Roland McGrath <roland@hack.frob.com>
34358 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34359 * misc/madvise.c (madvise): Renamed to __madvise.
34360 Make madvise a weak alias.
34361 * include/sys/mman.h: Declare __madvise.
34362 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34363 * sysdeps/unix/syscalls.list
34364 (madvise): Make __madvise the strong name, and madvise a weak alias.
34365 * sysdeps/unix/sysv/linux/syscalls.list
34366 (madvise, mmap): Remove redundant entries.
34367 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34368 * malloc/malloc.c (mtrim): Likewise.
34369 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34371 2012-10-03 Roland McGrath <roland@hack.frob.com>
34373 * sysdeps/mach/hurd/dl-cache.c: File removed.
34374 * config.h.in (USE_LDCONFIG): New #undef.
34375 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34376 * configure: Regenerated.
34377 * elf/Makefile (dl-routines): Add dl-cache only under
34378 [$(use-ldconfig) = yes].
34379 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34380 cache on [USE_LDCONFIG].
34381 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34383 * elf/rtld.c (dl_main): Likewise.
34385 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34387 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34388 _SC_LEVEL4_CACHE_LINESIZE.
34390 2012-10-03 Roland McGrath <roland@hack.frob.com>
34392 * sysdeps/unix/bsd/confstr.h: File removed.
34394 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
34396 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34399 2012-10-02 Roland McGrath <roland@hack.frob.com>
34401 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34402 Make 'mapoff' field ElfW(Off) rather than off_t.
34404 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34406 * nscd/Makefile: Remove nscd-cflags and all its users.
34407 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34408 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34411 * malloc.c (malloc_printerr): Clarify error message.
34413 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34417 Set bit_FMA_Usable if FMA is supported.
34418 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34420 (bit_FMA4_Usable): Updated.
34421 (index_FMA_Usable): New macro.
34422 (CPUID_FMA): Likewise
34423 (HAS_FMA): Defined with bit_FMA_Usable.
34425 2012-10-01 Roland McGrath <roland@hack.frob.com>
34427 * bits/types.h (__swblk_t): Type removed.
34428 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34429 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34431 (__SWBLK_T_TYPE): Likewise.
34432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34433 (__SWBLK_T_TYPE): Likewise.
34434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34435 (__SWBLK_T_TYPE): Likewise.
34436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34437 (__SWBLK_T_TYPE): Likewise.
34439 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
34440 Honza Horak <hhorak@redhat.com>
34442 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34443 (xdr_mapname): Use YPMAXMAP as maxsize.
34444 (xdr_peername): Use YPMAXPEER as maxsize.
34445 (xdr_keydat): Use YPAXRECORD as maxsize.
34446 (xdr_valdat): Use YPMAXRECORD as maxsize.
34448 2012-10-01 Roland McGrath <roland@hack.frob.com>
34450 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34452 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34453 * csu/init-first.c: ... here.
34454 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34455 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34456 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34457 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34458 * sysdeps/i386/init-first.c: File removed.
34459 * sysdeps/sh/init-first.c: File removed.
34461 2012-10-01 Joseph Myers <joseph@codesourcery.com>
34464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34465 if x * y might underflow to zero and z is zero.
34466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34468 * math/libm-test.inc (min_subnorm_value): New variable.
34469 (fma_test): Add more tests.
34470 (fma_test_towardzero): Likewise.
34471 (fma_test_downward): Likewise
34472 (fma_test_upward): Likewise.
34473 (initialize): Set min_subnorm_value.
34475 2012-09-29 Joseph Myers <joseph@codesourcery.com>
34478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34480 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34481 mode for addition resulting in exact zero.
34482 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34487 * math/libm-test.inc (fma_test): Add more tests.
34488 (fma_test_towardzero): New function.
34489 (fma_test_downward): Likewise.
34490 (fma_test_upward): Likewise.
34491 (main): Call the new functions.
34493 2012-09-28 David S. Miller <davem@davemloft.net>
34495 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34497 2012-09-28 Roland McGrath <roland@hack.frob.com>
34499 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34500 instead of SIGALRM.
34502 * sysdeps/gnu/_G_config.h: Moved to ...
34503 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34504 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34505 * sysdeps/generic/_G_config.h: ... here.
34507 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34509 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34511 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34512 Conditionalize target on [libnss_test1.so-version].
34514 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34516 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34517 (elfobjdir): Move out of conditionals.
34519 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34520 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34521 (__nss_lookup_function): Conditionalize label remove_from_tree on
34522 [!DO_STATIC_NSS || SHARED], matching its only use.
34524 2012-09-28 David S. Miller <davem@davemloft.net>
34526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34533 when HWCAP_SPARC_CRYPTO is present.
34535 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34537 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34539 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34542 * stdio-common/vfprintf.c (process_string_arg): Revert
34545 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34547 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34549 * stdio-common/tst-sprintf.c: Include <locale.h>
34550 (main): Test sprintf's handling of incomplete multibyte
34553 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34555 * elf/dl-runtime.c (VERSYMIDX): Removed.
34556 * elf/dl-version.c (VERSYMIDX): Likewise.
34557 * elf/do-rel.h (VERSYMIDX): Likewise.
34558 (VALIDX): Likewise.
34559 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34560 * elf/rtld.c (VALIDX): Likewise.
34561 (ADDRIDX): Likewise.
34562 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34563 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34564 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34565 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34566 (VALIDX): Likewise.
34567 (ADDRIDX): Likewise.
34569 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34571 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34573 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34576 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34578 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34579 addresses are in the same scope as 192.0.2/24.
34580 * posix/gai.conf: Document new scope table defaults.
34582 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34585 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34586 for ftell. Compute offsets from write pointers instead.
34587 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34589 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34592 * libio/Makefile (tests): New test case tst-fseek.
34593 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34594 combination works in wide mode.
34595 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34596 state when the external buffer state changes.
34598 2012-09-27 David S. Miller <davem@davemloft.net>
34601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34602 pass reloc->r_addend in as the 'high' argument to
34603 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34607 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34609 * rt/tst-aio2.c: Include <pthread.h>.
34610 * rt/tst-aio3.c: Likewise.
34612 2012-09-27 Steve Ellcey <sellcey@mips.com>
34614 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34616 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34618 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34619 contents on [SHARED].
34621 2012-09-26 Marek Polacek <polacek@redhat.com>
34625 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34626 for C++ and GCC <4.3 as well as for non GCC compilers.
34628 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34632 2012-09-25 Roland McGrath <roland@hack.frob.com>
34634 * Makefile.in (all, install): Declare with .PHONY.
34635 Reported by Michael Hope <michael.hope@linaro.org>.
34637 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34639 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34640 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34642 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34644 (sydep_routines): Add the new and the internal functions.
34645 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34646 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34648 (GLIBC_2.17): Add the new function.
34649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34650 (GLIBC_2.17): Likewise.
34651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34652 (GLIBC_2.17): Likewise.
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34654 (GLIBC_2.17): Likewise.
34655 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34657 2012-09-25 Alan Modra <amodra@gmail.com>
34659 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34660 Add release barrier before setting once_control to say
34661 initialisation is done. Add hints on lwarx. Use macro in
34663 (clear_once_control): Add release barrier.
34665 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34668 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34670 * math/s_clog10.c (__clog10): Likewise.
34671 * math/s_clog10f.c (__clog10f): Likewise.
34672 * math/s_clog10l.c (__clog10l): Likewise.
34673 * math/s_clogf.c (__clogf): Likewise.
34674 * math/s_clogl.c (__clogl): Likewise.
34675 * math/Makefile (libm-calls): Add x2y2m1.
34676 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34677 (__x2y2m1): Likewise.
34678 (__x2y2m1l): Likewise.
34679 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34680 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34681 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34682 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34683 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34684 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34685 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34686 * sysdeps/i386/fpu/libm-test-ulps: Update.
34687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34690 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34691 int as type of variable DEPTH.
34692 (glob): Use size_t instead of int as type of variables NEWCOUNT
34695 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34697 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34698 Add s_sincosf-sse2.
34699 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34700 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34701 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34702 macros for using routine as __sincosf_ia32.
34703 Use macro for function declaration and weak_alias.
34704 * sysdeps/i386/fpu/libm-test-ulps: Update.
34706 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34709 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34710 subnormal argument.
34711 * math/s_cexpf.c (__cexpf): Likewise.
34712 * math/s_csinf.c (__csinf): Likewise.
34713 * math/s_csinhf.c (__csinhf): Likewise.
34714 * math/s_ctanf.c (__ctanf): Likewise.
34715 * math/s_ctanhf.c (__ctanhf): Likewise.
34716 * math/s_ccosh.c (__ccoshf): Likewise.
34717 * math/s_cexp.c (__cexpl): Likewise.
34718 * math/s_csin.c (__csin): Likewise.
34719 * math/s_csinh.c (__csinh): Likewise.
34720 * math/s_ctan.c (__ctan): Likewise.
34721 * math/s_ctanh.c (ctanh): Likewise.
34722 * math/s_ccoshl.c (__ccoshl): Likewise.
34723 * math/s_cexpl.c (__cexpl): Likewise.
34724 * math/s_csinl.c (__csinl): Likewise.
34725 * math/s_csinhl.c (__csinhl): Likewise.
34726 * math/s_ctanl.c (__ctanl): Likewise.
34727 * math/s_ctanhl.c (__ctanhl): Likewise.
34729 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34731 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34732 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34733 (_IO_off_t): Define to __off_t, not _G_off_t.
34734 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34735 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34736 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34737 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34738 type of __dummy and __dummy2 fields.
34739 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34740 (_G_ssize_t): Likewise.
34741 (_G_off_t): Likewise.
34742 (_G_pid_t): Likewise.
34743 (_G_uid_t): Likewise.
34744 (_G_wchar_t): Likewise.
34745 (_G_wint_t): Likewise.
34746 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34747 (_G_ssize_t): Likewise.
34748 (_G_off_t): Likewise.
34749 (_G_pid_t): Likewise.
34750 (_G_uid_t): Likewise.
34751 (_G_wchar_t): Likewise.
34752 (_G_wint_t): Likewise.
34753 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34754 (_G_ssize_t): Likewise.
34755 (_G_off_t): Likewise.
34756 (_G_pid_t): Likewise.
34757 (_G_uid_t): Likewise.
34758 (_G_wchar_t): Likewise.
34759 (_G_wint_t): Likewise.
34761 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34763 * malloc/arena.c: Include malloc-sysdep.h.
34764 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34765 is sufficient to shrink the heap or an unmap is needed.
34766 * sysdeps/generic/malloc-sysdep.h: New file. Define
34767 new function check_may_shrink_heap.
34768 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34769 new function check_may_shrink_heap.
34771 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34773 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34776 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34778 * catgets/test-gencat.sh: Add "set -e".
34779 * elf/tst-pathopt.sh: Likewise.
34780 * grp/tst_fgetgrent.sh: Likewise.
34781 * iconvdata/run-iconv-test.sh: Likewise.
34782 * intl/tst-gettext.sh: Likewise.
34783 * intl/tst-gettext2.sh: Likewise.
34784 * intl/tst-gettext4.sh: Likewise.
34785 * intl/tst-gettext6.sh: Likewise.
34786 * intl/tst-translit.sh: Likewise.
34787 * io/ftwtest-sh: Likewise.
34788 * libio/test-freopen.sh: Likewise.
34789 * malloc/tst-mtrace.sh: Likewise.
34790 * posix/globtest.sh: Likewise.
34791 * posix/tst-getconf.sh: Likewise.
34792 * posix/wordexp-tst.sh: Likewise.
34793 * stdio-common/tst-printf.sh: Likewise.
34794 * stdio-common/tst-unbputc.sh: Likewise.
34795 * stdlib/tst-fmtmsg.sh: Likewise.
34796 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34797 * catgets/Makefile: Do not specify -e option when running
34798 testsuite shell scripts.
34799 * elf/Makefile: Likewise.
34800 * grp/Makefile: Likewise.
34801 * iconvdata/Makefile: Likewise.
34802 * intl/Makefile: Likewise.
34803 * io/Makefile: Likewise.
34804 * libio/Makefile: Likewise.
34805 * malloc/Makefile: Likewise.
34806 * posix/Makefile: Likewise.
34807 * stdio-common/Makefile: Likewise.
34808 * stdlib/Makefile: Likewise.
34809 * sysdeps/x86_64/Makefile: Likewise.
34811 * io/ftwtest-sh: Add copyright header.
34812 * posix/globtest.sh: Likewise.
34813 * posix/tst-getconf.sh: Likewise.
34814 * posix/wordexp-tst.sh: Likewise.
34815 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34817 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34820 * Makeconfig (+link): Defined as $(+link-static) if
34821 $(build-shared) isn't yes.
34822 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34824 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34826 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34829 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34830 new chunk size with MALLOC_ALIGN_MASK.
34832 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34835 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34837 (__printf_fphex): Determine rounding using get_rounding_mode and
34839 * stdio-common/tst-printf-round.c (struct hex_test): New
34841 (hex_tests): New variable.
34842 (test_hex_in_one_mode): New function.
34843 (do_test): Also run tests for hex float output.
34845 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34847 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34849 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34850 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34851 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34852 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34853 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34854 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34856 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34858 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34859 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34860 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34861 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34863 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34866 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34868 * elf/tst-rtld-load-self.sh: New test.
34869 * elf/Makefile: Run it.
34871 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34873 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34874 (tst-writev-ENV): Remove.
34875 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34877 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34879 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34881 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34883 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34885 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34887 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34888 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34889 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34892 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34895 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34896 * config.make.in (have-cpp-asm-debuginfo): Removed.
34897 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34898 * configure: Regenerated.
34900 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34903 * stdio-common/printf_fp.c: Include <stdbool.h> and
34905 (___printf_fp): Determine rounding using get_rounding_mode and
34907 * stdio-common/tst-printf-round.c: New file.
34908 * stdio-common/Makefile (tests): Add tst-printf-round.
34909 (link-libm): New variable.
34910 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34912 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34915 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34916 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34918 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34921 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34923 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34924 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34925 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34926 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34928 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34931 * include/rounding-mode.h: New file.
34932 * sysdeps/generic/get-rounding-mode.h: Likewise.
34933 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34934 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34935 (MAX_VALUE): New macro.
34936 (MIN_VALUE): Likewise.
34937 (overflow_value): New function.
34938 (underflow_value): Likewise.
34939 (round_and_return): Use overflow_value and underflow_value to
34940 determine return values in overflow and underflow cases. Use
34941 round_away to determine rounding depending on rounding mode.
34942 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34943 determine return values in overflow and underflow cases.
34944 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34945 (struct test_results): New structure.
34946 (struct test): Use struct test_results to store expected results
34947 for all rounding modes.
34948 (TEST): Include expected results for all rounding modes.
34949 (test_in_one_mode): New function.
34950 (do_test): Use test_in_one_mode to compute and check results.
34951 Check results for all rounding modes.
34952 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34955 2012-12-09 Allan McRae <allan@archlinux.org>
34957 * sysdeps/i386/fpu/libm-test-ulps: Update
34959 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34961 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34962 (_G_int32_t): Likewise.
34963 (_G_uint16_t): Likewise.
34964 (_G_uint32_t): Likewise.
34965 (_G_HAVE_BOOL): Likewise.
34966 (_G_HAVE_ATEXIT): Likewise.
34967 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34968 (_G_HAVE_IO_FILE_OPEN): Likewise.
34969 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34970 (_G_int32_t): Likewise.
34971 (_G_uint16_t): Likewise.
34972 (_G_uint32_t): Likewise.
34973 (_G_HAVE_BOOL): Likewise.
34974 (_G_HAVE_ATEXIT): Likewise.
34975 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34976 (_G_HAVE_IO_FILE_OPEN): Likewise.
34977 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34978 (_G_int32_t): Likewise.
34979 (_G_uint16_t): Likewise.
34980 (_G_uint32_t): Likewise.
34981 (_G_HAVE_BOOL): Likewise.
34982 (_G_HAVE_ATEXIT): Likewise.
34983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34984 (_G_HAVE_IO_FILE_OPEN): Likewise.
34986 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34988 * csu/libc-tls.c: Update copyright years.
34990 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34992 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34993 [!_G_USING_THUNKS]: Remove conditional code.
34994 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34995 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34997 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34998 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34999 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35000 (_G_VTABLE_LABEL_PREFIX): Likewise.
35001 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35002 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35003 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35004 (_G_VTABLE_LABEL_PREFIX): Likewise.
35005 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35006 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35008 (_G_VTABLE_LABEL_PREFIX): Likewise.
35009 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35011 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35013 * libio/Makefile: Include ../Makeconfig before tests.
35014 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35015 only if $(build-shared) is yes.
35017 * iconv/gconv_db.c: Update copyright years.
35019 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35021 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35022 unwind info if defined PIC. Fix special cases description.
35023 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35025 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35027 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35029 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35031 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35033 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35036 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35037 (LDLIBS-tst-chk4): This.
35038 (LDFLAGS-tst-chk5): Renamed to ...
35039 (LDLIBS-tst-chk5): This.
35040 (LDFLAGS-tst-chk6): Renamed to ...
35041 (LDLIBS-tst-chk6): This.
35042 (LDFLAGS-tst-lfschk4): Renamed to ...
35043 (LDLIBS-tst-lfschk4): This.
35044 (LDFLAGS-tst-lfschk5): Renamed to ...
35045 (LDLIBS-tst-lfschk5): This.
35046 (LDFLAGS-tst-lfschk6): Renamed to ...
35047 (LDLIBS-tst-lfschk6): This.
35049 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35050 on $(common-objpfx)soversions.mk.
35052 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35055 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35058 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35060 * malloc/arena.c (arena_get_retry): New function that gets
35061 another arena for the caller to try its request on.
35062 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35063 current arena cannot fulfill the request.
35064 (__libc_memalign): Likewise.
35065 (__libc_memalign): Likewise.
35066 (__libc_pvalloc): Likewise.
35067 (__libc_calloc): Likewise.
35069 2012-09-05 John Tobey <john.tobey@gmail.com>
35072 * manual/arith.texi (Operations on Complex): Fix description
35073 of carg branch cut.
35075 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35078 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35082 * manual/memory.texi (Memory): Make order of menu items match
35085 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35087 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35088 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35089 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35091 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35093 * csu/libc-tls.c (static_dtv): Renamed to ...
35094 (_dl_static_dtv): This. Make it global.
35095 (_dl_initial_dtv): Removed.
35096 (__libc_setup_tls): Updated.
35097 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35098 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35101 2012-09-06 Petr Machata <pmachata@redhat.com>
35103 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35104 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35105 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35106 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35108 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35111 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35112 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35115 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35118 * Makeconfig (link-static-before-libc): Replace $(+prector)
35120 (link-static-after-libc): Replace $(+postctor) with
35122 (link-bounded): Replace $(+prector)/$(+postctor) with
35123 $(+prectorT)/$(+postctorT).
35124 (+prectorT): New macro.
35125 (+postctorT): Likewise.
35127 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35129 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35130 (round_str): Handle values above the maximum for IBM long double
35132 * stdlib/tst-strtod-round.c (tests): Regenerated.
35134 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35136 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35138 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35139 zarch_nohighgprs around the zarch optimized routines.
35140 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35141 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35145 2012-09-05 David S. Miller <davem@davemloft.net>
35147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35149 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35150 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35151 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35152 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35155 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35157 * malloc/arena.c: Fold copyright years.
35158 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35160 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35162 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35166 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35168 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35170 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35171 change internal state upon failure.
35173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35175 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35176 * malloc/memusage.c (mmap): Likewise.
35177 (mmap64, mremap): Likewise. Adjust name in comment.
35179 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35181 * libio/fileops.c: Fix typos in comments.
35182 * libio/oldfileops.c: Likewise.
35183 * libio/wfileops.c: Likewise.
35185 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35188 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35189 (tst-malloc-usable-ENV): Set environment for test case.
35190 * malloc/hooks.c (malloc_check_get_size): New function to get
35192 * malloc/malloc.c (musable): Use malloc_check_get_size.
35193 * malloc/tst-malloc-usable.c: New test case.
35195 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35197 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35199 2012-09-05 Allan McRae <allan@archlinux.org>
35202 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35203 determine header location.
35204 * configure: Regenerated.
35206 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35208 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35210 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35211 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35213 (test): Regenerate.
35215 2012-09-04 David S. Miller <davem@davemloft.net>
35217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35219 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35221 2012-09-04 Florian Weimer <fweimer@redhat.com>
35223 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35226 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35228 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35231 * libio/iogetdelim.c: Include <limits.h>.
35232 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35233 + len + 1 would overflow.
35235 2012-09-03 Andreas Jaeger <aj@suse.de>
35237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35238 * sysdeps/i386/fpu/libm-test-ulps: Update.
35240 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35242 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35243 Add s_sinf-sse2, s_conf-sse2.
35245 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35246 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35247 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35248 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35250 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35251 for using routine as __sinf_ia32.
35252 Use macro for function declaration and weak_alias.
35253 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35254 for using routine as __cosf_ia32.
35255 Use macro for function declaration and weak_alias.
35257 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35258 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35260 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35261 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35264 * math/libm-test.inc (cos_test): Add more test cases.
35265 (sin_test): Likewise.
35266 (sincos_test): Likewise.
35268 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35270 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35271 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35275 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35278 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35279 first element of the GOT.
35280 (elf_machine_load_address): Return the difference between
35281 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35283 2012-09-01 Allan McRae <allan@archlinux.org>
35286 * configure.in (AWK): Require gawk version 3.0 or later.
35287 * configure: Regenerated.
35289 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35291 * sysdeps/unix/sysv/linux/kernel-features.h
35292 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35294 [__NR_clock_getres]: Make code unconditional.
35295 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35296 (clock_getcpuclockid): Remove code left unreachable by removal of
35298 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35299 code unconditional.
35300 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35302 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35303 Make code unconditional.
35304 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35306 * sysdeps/unix/sysv/linux/clock_settime.c
35307 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35309 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35312 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35315 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35316 scripts/test-installation.pl.
35318 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35319 and $ld_so_version if it is set.
35321 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35324 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35325 failure if reading from procfs failed.
35326 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35328 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35330 * sysdeps/unix/sysv/linux/kernel-features.h
35331 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35332 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35333 Remove conditional code.
35334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35335 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35336 Remove conditional code.
35337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35338 * sysdeps/unix/sysv/linux/i386/fxstat.c
35339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35341 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35344 * sysdeps/unix/sysv/linux/i386/lxstat.c
35345 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35347 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35348 Remove conditional code.
35349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35350 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35351 Remove conditional code.
35352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35353 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35354 <kernel-features.h>.
35355 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35357 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35358 Remove conditional code.
35359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35360 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35361 Remove conditional.
35363 2012-08-27 Mike Frysinger <vapier@gentoo.org>
35366 * NEWS: Add fixed bug number.
35368 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35371 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35372 underflowing exponent in case of negative sign.
35373 * stdlib/tst-strtod-round-data: Add more tests.
35374 * stdlib/tst-strtod-round.c (tests): Regenerated.
35377 * stdlib/strtod_l.c (NDIG): Remove.
35378 (HEXNDIG): Likewise.
35379 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35380 smallest representable value.
35381 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35382 lie within an exact representation of 1/2 ulp of the result.
35383 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35385 (TENS_P9_IDX): Define unconditionally.
35386 (TENS_P9_SIZE): Likewise.
35387 (TENS_P10_IDX): Likewise.
35388 (TENS_P10_SIZE): Likewise.
35389 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35390 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35391 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35392 entries for 10^2^13 and 10^2^14.
35393 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35394 (TENS_P13_IDX): Define.
35395 (TENS_P13_SIZE): Likewise.
35396 (TENS_P14_IDX): Likewise.
35397 (TENS_P14_SIZE): Likewise.
35398 (_fpioconst_pow10): Change array size to
35399 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35401 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35402 1024]: Add entries for 10^2^13 and 10^2^14.
35403 [LAST_POW10 > _LAST_POW10]: Remove #error.
35404 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35405 (_fpioconst_pow10): Change array size to
35406 FPIOCONST_POW10_ARRAY_SIZE.
35407 * stdlib/gen-fpioconst.c: New file.
35408 * stdlib/gen-tst-strtod-round.c: Likewise.
35409 * stdlib/tst-strtod-round-data: Likewise.
35410 * stdlib/tst-strtod-round.c: Likewise.
35411 * stdlib/Makefile (tests): Add tst-strtod-round.
35414 * stdlib/strtod_l.c: Include <stdint.h>.
35415 (NDEBUG): Do not define.
35416 (round_and_return): Change EXPONENT parameter to type intmax_t.
35417 Rearrange calculations to avoid internal overflow possibilities.
35418 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35419 Rearrange calculations to avoid internal overflow possibilities.
35420 Assert that number fits inside MPNSIZE limbs.
35421 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35422 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35423 calculations and add assertions to avoid internal overflow
35424 possibilities. Add casts to avoid signed/unsigned operations.
35425 * stdlib/tst-strtod-overflow.c: New file.
35426 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35428 2012-08-25 Marek Polacek <polacek@redhat.com>
35430 * time/time.h: Fix some typos in comments.
35432 2012-08-23 Roland McGrath <roland@hack.frob.com>
35434 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35435 * posix/tst-rfc3484-2.c: Likewise.
35436 * posix/tst-rfc3484-3.c: Likewise.
35438 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35440 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35441 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35443 2012-08-23 Joseph Myers <joseph@codesourcery.com>
35445 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35446 #include of fxstatat64.c.
35448 2012-08-22 Roland McGrath <roland@hack.frob.com>
35450 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35451 * shadow/getspent_r.c: Likewise.
35452 * shadow/getspnam.c: Likewise.
35453 * shadow/getspnam_r.c: Likewise.
35454 * gshadow/getsgent.c: Likewise.
35455 * gshadow/getsgent_r.c: Likewise.
35456 * gshadow/getsgnam.c: Likewise.
35457 * gshadow/getsgnam_r.c: Likewise.
35458 * inet/getnetbyad.c: Likewise.
35459 * inet/getnetbyad_r.c: Likewise.
35460 * inet/getnetbynm.c: Likewise.
35461 * inet/getnetbynm_r.c: Likewise.
35462 * inet/getnetent.c: Likewise.
35463 * inet/getnetent_r.c: Likewise.
35464 * inet/getproto.c: Likewise.
35465 * inet/getproto_r.c: Likewise.
35466 * inet/getprtent.c: Likewise.
35467 * inet/getprtent_r.c: Likewise.
35468 * inet/getprtname.c: Likewise.
35469 * inet/getprtname_r.c: Likewise.
35470 * inet/getrpcbyname.c: Likewise.
35471 * inet/getrpcbyname_r.c: Likewise.
35472 * inet/getrpcbynumber.c: Likewise.
35473 * inet/getrpcbynumber_r.c: Likewise.
35474 * inet/getrpcent.c: Likewise.
35475 * inet/getrpcent_r.c: Likewise.
35476 * inet/getaliasent.c: Likewise.
35477 * inet/getaliasent_r.c: Likewise.
35478 * inet/getaliasname.c: Likewise.
35479 * inet/getaliasname_r.c: Likewise.
35480 * nscd/getgrgid_r.c: Likewise.
35481 * nscd/getgrnam_r.c: Likewise.
35482 * nscd/gethstbyad_r.c: Likewise.
35483 * nscd/gethstbynm3_r.c: Likewise.
35484 * nscd/getpwnam_r.c: Likewise.
35485 * nscd/getpwuid_r.c: Likewise.
35486 * nscd/getsrvbynm_r.c: Likewise.
35487 * nscd/getsrvbypt_r.c: Likewise.
35488 * nscd/gai.c: Likewise.
35490 * configure.in (build_nscd): New substituted variable, set
35491 by --disable-build-nscd and defaults to $use_nscd.
35492 * configure: Regenerated.
35493 * config.make.in (build-nscd): New substituted variable.
35494 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35495 Change conditional to require [$(build-nscd) = yes] as well.
35496 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35499 * configure.in (use_nscd): New substituted variable, set by
35500 --disable-nscd. If enabled, define USE_NSCD.
35501 * configure: Regenerated.
35502 * config.h.in: Add USE_NSCD.
35503 * config.make.in (use-nscd): New substituted variable.
35504 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35505 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35506 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35507 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35508 (CFLAGS-getgrnam_r.c): Likewise.
35509 (CFLAGS-initgroups.c): Likewise.
35510 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35511 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35513 * inet/getnetgrent_r.c
35514 (nscd_setnetgrent): New function, broken out of ...
35515 (setnetgrent): ... here. Call it.
35516 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35517 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35518 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35519 * nscd/Makefile (routines, aux): Move definitions after include of
35520 Makeconfig. Conditionalize on [$(use-nscd) != no].
35521 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35522 Conditionalize on [USE_NSCD].
35523 (is_nscd, nscd_init_cb): Likewise.
35524 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35525 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35526 * nss/nss_db/db-init.c: Likewise.
35527 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35529 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35530 (make_request): Use it.
35531 (cache_valid_p): New function.
35532 (__check_pf): Use it.
35533 * NEWS: Add item for --disable-nscd.
35535 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35537 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35538 to support sed >= 4.2.1-20-ga9bf076.
35539 * configure: Regenerated.
35541 2012-08-22 Roland McGrath <roland@hack.frob.com>
35543 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35544 Conditionalize whole body on [IREL].
35546 2012-08-22 Jeff Law <law@redhat.com>
35549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35550 if the family is PF_UNSPEC.
35552 2012-08-22 Mike Frysinger <vapier@gentoo.org>
35554 * Makerules (lib-version): Rename from V.
35555 (install-lib-nosubdir): Change V to lib-version.
35557 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35560 * powerpc32/power6/wcschr.c: New file.
35561 * powerpc32/power6/wcscpy.c: New file.
35562 * powerpc32/power6/wcsrchr.c: New file.
35563 * powerpc64/power6/wcschr.c: New file.
35564 * powerpc64/power6/wcscpy.c: New file.
35565 * powerpc64/power6/wcsrchr.c: New file.
35567 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35569 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35570 (two_way_short_needle): Use it.
35571 * string/strstr.c (AVAILABLE1_USES_J): Define.
35572 * string/strcasestr.c: Likewise.
35574 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35576 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35579 * NEWS: Add an entry.
35580 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35581 define their defaults.
35582 (two_way_short_needle): Detect end-of-string on-the-fly.
35583 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35584 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35585 * string/bug-strcasestr1.c: New test.
35586 * string/Makefile: Run it.
35588 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35591 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35592 the first character.
35594 2012-08-21 Roland McGrath <roland@hack.frob.com>
35596 * csu/elf-init.c (__libc_csu_irel): Function removed.
35597 * csu/libc-start.c (apply_irel): New function.
35598 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35600 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35602 * sysdeps/unix/sysv/linux/kernel-features.h
35603 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35604 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35605 <kernel-features.h>.
35606 [__NR_fadvise64_64]: Make code unconditional.
35607 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35608 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35609 !__NR_fadvise64_64)]: Likewise.
35610 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35611 !__NR_fadvise64_64))]: Likewise.
35612 [__NR_fadvise64]: Make code unconditional.
35613 [!__NR_fadvise64]: Remove conditional code.
35614 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35615 <kernel-features.h>.
35616 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35618 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35621 not include <kernel-features.h>.
35622 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35624 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35626 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35627 include <kernel-features.h>.
35628 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35630 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35633 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35636 slight instruction rearrangements per scrollpipe analysis.
35637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35639 2012-08-20 Roland McGrath <roland@hack.frob.com>
35641 * manual/syslog.texi (syslog; vsyslog, closelog):
35642 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35643 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35645 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35646 DSOCAPS to match condition on defining it.
35648 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35650 * sysdeps/unix/sysv/linux/kernel-features.h
35651 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35659 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35660 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35662 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35663 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35665 * sysdeps/unix/sysv/linux/kernel-features.h
35666 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35667 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35669 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35670 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35671 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35672 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35673 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35674 Make code unconditional.
35675 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35676 (__mmap64) [!__NR_mmap2]: Likewise.
35677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35680 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35681 [__NR_mmap2]: Make code unconditional.
35682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35683 (__mmap64) [!__NR_mmap2]: Likewise.
35685 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35687 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35689 2012-08-18 Andreas Jaeger <aj@suse.de>
35691 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35693 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35695 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35696 * include/unistd.h (__have_sock_cloexec): Likewise.
35697 (__have_pipe2): Likewise.
35698 (__have_dup3): Likewise.
35700 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35703 * include/unistd.h (__have_pipe2): Change define into an extern int.
35704 (__have_dup3): Likewise.
35705 * socket/have_sock_cloexec.c: Include fcntl.h.
35706 (__have_pipe2): New variable.
35707 (__have_dup3): Likewise.
35709 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35711 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35713 2012-08-17 Marek Polacek <polacek@redhat.com>
35715 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35716 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35718 2012-08-17 Roland McGrath <roland@hack.frob.com>
35720 * configure.in: Add AC_SUBST for sysheaders.
35721 * configure: Regenerated.
35722 * config.make.in (sysheaders): New substituted variable.
35724 * sysdeps/unix/mkfifo.c: Moved ...
35725 * sysdeps/posix/mkfifo.c: ... here.
35726 * sysdeps/unix/mkfifoat.c: Moved ...
35727 * sysdeps/posix/mkfifoat.c: ... here.
35729 * sysdeps/unix/utime.c: Moved ...
35730 * sysdeps/posix/utime.c: ... here.
35732 * sysdeps/unix/time.c: Moved ...
35733 * sysdeps/posix/time.c: ... here.
35734 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35735 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35737 * sysdeps/unix/nice.c: Moved ...
35738 * sysdeps/posix/nice.c: ... here.
35740 * sysdeps/unix/alarm.c: Moved ...
35741 * sysdeps/posix/alarm.c: ... here.
35743 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35745 2012-08-17 Jeff Law <law@redhat.com>
35747 * intl/Makefile (codeset_mo): New variable.
35748 ($(codeset_mo)): New target.
35749 (tst-codeset.out): Depend on that. Remove explicit rule.
35750 (tst-gettext3.out, tst-gettext5.out): Likewise.
35751 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35752 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35753 * intl/tst-codeset.sh: Remove.
35754 * intl/tst-gettext3.sh: Likewise.
35755 * intl/tst-gettext5.sh: Likewise.
35757 2012-08-17 Roland McGrath <roland@hack.frob.com>
35759 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35760 * sysdeps/unix/syscalls.list: ... here.
35762 * sysdeps/posix/getaddrinfo.c
35763 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35764 (gaiconf_init, gaiconf_reload): Use them.
35765 [!_STATBUF_ST_NSEC]
35766 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35767 Define using time_t rather than struct timespec.
35769 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35770 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35772 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35774 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35775 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35778 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35779 __libc_cleanup_push argument.
35781 * bits/param.h: New file.
35782 * misc/sys/param.h: New file.
35783 * include/sys/param.h: New file.
35784 * misc/Makefile (headers): Add bits/param.h.
35785 * sysdeps/generic/sys/param.h: File removed.
35786 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35787 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35788 * sysdeps/mach/hurd/bits/param.h: New file.
35789 * sysdeps/mach/hurd/sys/param.h: File removed.
35791 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35794 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35796 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35797 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35800 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35801 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35802 rather than -D_IO_MTSAFE_IO conditionally.
35803 * stdio-common/Makefile (CPPFLAGS): Likewise.
35804 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35805 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35806 Use $(libio-mtsafe).
35807 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35808 of -D_IO_MTSAFE_IO.
35809 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35810 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35811 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35812 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35813 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35814 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35815 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35816 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35817 (CFLAGS-fread_u_chk.c): Likewise.
35818 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35819 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35820 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35821 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35822 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35823 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35824 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35825 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35826 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35828 * libio/Makefile: Test [$(libc-reentrant) = yes]
35829 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35832 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35833 * sysdeps/pthread/configure: File removed.
35834 * sysdeps/pthread/Makeconfig: New file.
35835 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35836 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35838 2012-08-16 Gary Benson <gbenson@redhat.com>
35840 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35841 unmapping the first object in a namespace.
35843 2012-08-16 Roland McGrath <roland@hack.frob.com>
35845 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35846 (__internal_setnetgrent): ... this. Add internal_function to
35847 definition. Add libc_hidden_def.
35848 (setnetgrent): Update caller.
35849 (internal_endnetgrent): Renamed to ...
35850 (__internal_endnetgrent): ... this. Add internal_function to
35851 definition. Add libc_hidden_def.
35852 (endnetgrent): Update caller.
35853 (internal_getnetgrent_r): Renamed to ...
35854 (__internal_getnetgrent_r): ... this. Add internal_function to
35855 definition. Add libc_hidden_def.
35856 (__getnetgrent_r): Update caller.
35857 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35859 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35861 * stdlib/longlong.h: Update from GCC.
35863 2012-08-16 Roland McGrath <roland@hack.frob.com>
35865 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35866 on _QL, which is set by umul_ppmm but never used.
35867 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35868 variables, which are set by GMP macros but never used.
35869 * stdio-common/_itowa.c (_itowa): Likewise.
35870 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35871 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35873 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35875 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35876 struct La_sh_regs is not constant.
35877 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35878 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35879 and struct La_sparc64_regs are not constant.
35881 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35883 * sysdeps/unix/sysv/linux/kernel-features.h
35884 (__ASSUME_POSIX_TIMERS): Remove.
35885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35887 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35888 Make code unconditional.
35889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35890 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35891 Make code unconditional.
35892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35893 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35894 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35896 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35897 Make code unconditional.
35898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35899 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35900 (__libc_missing_posix_timers): Remove.
35902 2012-08-15 Roland McGrath <roland@hack.frob.com>
35904 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35905 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35907 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35909 * elf/dl-sym.c: Include <stdlib.h>.
35911 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35912 constants, which avoids warnings in 32-bit builds.
35914 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35915 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35917 * misc/lseek.c: File moved to ...
35918 * io/lseek.c: ... here.
35920 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35922 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35923 shifting LEN more than 31 bits at once.
35925 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35928 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35929 segmentation fault for a case of two empty input strings.
35930 * string/test-strncasecmp.c (check1): Renamed to...
35931 (bz12205): ...this.
35932 (bz14195): Add new testcase for two empty input strings and N > 0.
35933 (test_main): Call new testcase, adapt for renamed function.
35935 2012-08-15 Andreas Jaeger <aj@suse.de>
35938 * crypt/md5test2.c: New test, based on test supplied by Serge
35939 Belyshev <belyshev@depni.sinp.msu.ru>.
35940 * crypt/Makefile (xtests): Add md5test-giant..
35941 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35943 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35946 * crypt/md5.c (md5_process_block): Don't assume the buffer
35947 length is less than 2**32.
35948 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35949 length is less than 2**64.
35951 2012-08-15 Roland McGrath <roland@hack.frob.com>
35953 * string/str-two-way.h: Include <sys/param.h>.
35954 (MAX): Macro removed.
35956 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35957 Move #define and #undef of memmove to just before and after
35958 including <string.h>.
35960 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35961 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35962 and after including <string.h>. Move declarations of
35963 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35964 to before #include "string/memmove.c".
35966 * include/dirent.h: Declare __getdirentries.
35968 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35969 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35971 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35973 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35974 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35975 * sysdeps/i386/configure: Regenerated.
35976 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35977 STABS_CURRENT_FILE, and STABS_FUN.
35978 (END): Remove call to STABS_FUN_END.
35979 (STABS_CURRENT_FILE1): Delete.
35980 (STABS_CURRENT_FILE): Likewise.
35981 (STABS_FUN): Likewise.
35982 (STABS_FUN_END): Likewise.
35983 (STABS_FUN2): Likewise.
35984 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35985 * sysdeps/x86_64/configure: Regenerated.
35987 2012-08-14 Roland McGrath <roland@hack.frob.com>
35989 * elf/dl-open.c: Include <atomic.h>.
35990 * elf/dl-lookup.c: Likewise.
35992 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35994 * sysdeps/unix/sysv/linux/kernel-features.h
35995 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35996 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35998 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36000 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36001 condition on __ASSUME_CLONE_THREAD_FLAGS.
36003 2012-08-14 Andreas Jaeger <aj@suse.de>
36005 * sysdeps/i386/fpu/libm-test-ulps: Update.
36007 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36009 * include/atomic.h (atomic_exchange_and_add): Split into ...
36010 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36013 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36017 2012-08-13 Jeff Law <law@redhat.com>
36019 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36020 null byte in the output string.
36022 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36024 * sysdeps/unix/sysv/linux/kernel-features.h
36025 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36026 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36027 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36029 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36030 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36031 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36033 2012-08-09 Jeff Law <law@redhat.com>
36036 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36037 When avoid_arena is set, don't retry in the that arena. Pick the
36038 next one, whatever it might be.
36039 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36040 (arena_lock): Pass in new parameter to arena_get2.
36041 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36043 (__libc_malloc): Unify retrying after main arena failure with
36044 __libc_memalign version.
36045 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36047 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36050 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36051 to __redirect_strstr.
36052 (__strstr_sse42): Use typeof __redirect_strstr.
36053 (__strstr_ia32): Likewise.
36054 (__libc_strstr): New prototype.
36055 (strstr): Renamed to ...
36056 (__libc_strstr): This.
36057 (strstr): New strong alias of __libc_strstr.
36058 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36059 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36062 (__libc_time): New prototype.
36063 (time_ifunc): Replace time with __libc_time.
36064 (time): New strong alias and hidden definition of __libc_time.
36065 (__GI_time): Remove strong alias.
36066 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36067 Include <stddef.h>.
36068 (memmove): Redefined to __redirect_memmove.
36069 (__memmove_sse2): Use typeof __redirect_memmove.
36070 (__memmove_ssse3): Likewise.
36071 (__memmove_ssse3_back): Likewise.
36072 (__libc_memmove): New prototype.
36073 (memmove): Renamed to ...
36074 (__libc_memmove): This.
36075 (memmove): New strong alias of __libc_memmove.
36077 2012-08-08 Mark Salter <msalter@redhat.com>
36080 (R_MN10300_TLS_GD): Define.
36081 (R_MN10300_TLS_LD): Likewise.
36082 (R_MN10300_TLS_LDO): Likewise.
36083 (R_MN10300_TLS_GOTIE): Likewise.
36084 (R_MN10300_TLS_IE): Likewise.
36085 (R_MN10300_TLS_LE): Likewise.
36086 (R_MN10300_TLS_DTPMOD): Likewise.
36087 (R_MN10300_TLS_DTPOFF): Likewise.
36088 (R_MN10300_TLS_TPOFF): Likewise.
36089 (R_MN10300_SYM_DIFF): Likewise.
36090 (R_MN10300_ALIGN): Likewise.
36091 (R_MN10300_NUM): Update.
36093 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36098 2012-08-08 Roland McGrath <roland@hack.frob.com>
36100 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36102 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36103 sysdeps/unix -> sysdeps/posix move.
36104 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36106 2012-08-07 Allan McRae <allan@archlinux.org>
36109 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36110 (SUNOS_CPP): Likewise.
36111 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36113 (open_input): Call CPP using execvp.
36115 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36117 * sysdeps/unix/sysv/linux/kernel-features.h
36118 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36119 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36120 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36121 (__ASSUME_WAITID_SYSCALL): Likewise.
36122 * sysdeps/unix/sysv/linux/dl-execstack.c
36123 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36124 code unconditional.
36125 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36128 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36129 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36131 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36133 [__ASSUME_WAITID_SYSCALL]: Likewise.
36134 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36136 2012-08-07 Roland McGrath <roland@hack.frob.com>
36138 * sysdeps/unix/closedir.c: Renamed to ...
36139 * sysdeps/posix/closedir.c: ... here.
36140 * sysdeps/unix/dirfd.c: Renamed to ...
36141 * sysdeps/posix/dirfd.c: ... here.
36142 * sysdeps/unix/dirstream.h: Renamed to ...
36143 * sysdeps/posix/dirstream.h: ... here.
36144 * sysdeps/unix/fdopendir.c: Renamed to ...
36145 * sysdeps/posix/fdopendir.c: ... here.
36146 * sysdeps/unix/opendir.c: Renamed to ...
36147 * sysdeps/posix/opendir.c: ... here.
36148 * sysdeps/unix/readdir.c: Renamed to ...
36149 * sysdeps/posix/readdir.c: ... here.
36150 * sysdeps/unix/readdir_r.c: Renamed to ...
36151 * sysdeps/posix/readdir_r.c: ... here.
36152 * sysdeps/unix/rewinddir.c: Renamed to ...
36153 * sysdeps/posix/rewinddir.c: ... here.
36154 * sysdeps/unix/seekdir.c: Renamed to ...
36155 * sysdeps/posix/seekdir.c: ... here.
36156 * sysdeps/unix/telldir.c: Renamed to ...
36157 * sysdeps/posix/telldir.c: ... here.
36158 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36159 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36160 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36161 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36164 * bits/fcntl.h: ... here.
36166 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36168 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36169 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36170 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36171 (struct flock): Move l_start, l_len to the beginning.
36172 Use __pid_t for l_pid.
36173 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36174 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36175 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36176 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36177 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36178 [__USE_LARGEFILE64] (struct flock64): New type.
36179 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36182 * bits/dirent.h: ... here.
36184 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36185 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36187 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36190 Change from 2.6.0 to 2.6.16.
36191 * sysdeps/unix/sysv/linux/configure: Regenerated.
36192 * sysdeps/unix/sysv/linux/kernel-features.h
36193 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36194 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36196 (__ASSUME_UTIMES): Likewise.
36197 (__ASSUME_CLONE_STOPPED): Remove.
36198 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36199 architectures, not kernel version.
36200 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36201 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36202 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36203 (__ASSUME_WAITID_SYSCALL): Likewise.
36204 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36205 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36206 * README: State 2.6.16 as minimum Linux kernel version. Do not
36207 refer to older versions.
36209 2012-08-06 Roland McGrath <roland@hack.frob.com>
36211 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36212 Define alphasort64 as an alias.
36213 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36214 Define versionsort64 as an alias.
36215 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36216 Define scandir64 as an alias.
36217 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36218 Define scandirat64 as an alias.
36219 * dirent/alphasort64.c (alphasort64):
36220 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36221 * dirent/versionsort64.c: Likewise.
36222 * dirent/scandir64.c: Likewise.
36223 * dirent/scandirat64.c: Likewise.
36224 * sysdeps/wordsize-64/alphasort.c: File removed.
36225 * sysdeps/wordsize-64/alphasort64.c: File removed.
36226 * sysdeps/wordsize-64/scandir.c: File removed.
36227 * sysdeps/wordsize-64/scandir64.c: File removed.
36228 * sysdeps/wordsize-64/scandirat.c: File removed.
36229 * sysdeps/wordsize-64/scandirat64.c: File removed.
36230 * sysdeps/wordsize-64/versionsort.c: File removed.
36231 * sysdeps/wordsize-64/versionsort64.c: File removed.
36232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36233 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36241 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36243 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36245 [defined __arch64__ || defined __sparcv9]
36246 (__INO_T_MATCHES_INO64_T): New macro.
36247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36248 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36249 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36250 * sysdeps/unix/sysv/linux/bits/dirent.h
36251 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36252 (_DIRENT_MATCHES_DIRENT64): New macro.
36254 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36255 Define lockf64 as an alias.
36256 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36257 Define fseeko64 as an alias.
36258 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36259 Define ftello64 as an alias.
36260 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36261 Define _IO_fgetpos64 and fgetpos64 as aliases.
36262 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36263 Define _IO_fsetpos64 and fsetpos64 as aliases.
36264 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36265 Conditionalize body on this.
36266 * libio/fseeko64.c: Likewise.
36267 * libio/ftello64.c: Likewise.
36268 * libio/iofgetpos64.c: Likewise.
36269 * libio/iofsetpos64.c: Likewise.
36270 * sysdeps/wordsize-64/lockf.c: File removed.
36271 * sysdeps/wordsize-64/lockf64.c: File removed.
36272 * sysdeps/wordsize-64/fseeko.c: File removed.
36273 * sysdeps/wordsize-64/fseeko64.c: File removed.
36274 * sysdeps/wordsize-64/ftello.c: File removed.
36275 * sysdeps/wordsize-64/ftello64.c: File removed.
36276 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36277 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36278 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36279 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36282 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36283 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36285 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36287 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36289 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36291 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36293 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36295 [defined __arch64__ || defined __sparcv9]
36296 (__OFF_T_MATCHES_OFF64_T): New macro.
36297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36298 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36300 (__OFF_T_MATCHES_OFF64_T): New macro.
36302 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36304 * stdlib/secure-getenv.c (__secure_getenv): Replace
36305 GLIBC_2_16 with GLIBC_2_17.
36307 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36310 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36312 2012-08-03 David S. Miller <davem@davemloft.net>
36314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36316 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36320 (__ASSUME_CORRECT_SI_PID): Likewise.
36321 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36322 (__ASSUME_TMPFS_NAME): Likewise.
36323 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36324 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36325 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36326 (HAVE_AUX_SECURE): Make definition unconditional.
36327 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36328 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36330 2012-08-03 Roland McGrath <roland@hack.frob.com>
36332 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36333 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36334 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36335 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36336 __eloop_threshold instead of SYMLOOP_MAX.
36338 * sysdeps/generic/eloop-threshold.h: New file.
36339 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36341 * elf/chroot_canon.c (chroot_canon): Likewise.
36343 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36347 Change to 2.6.0 everywhere.
36348 * sysdeps/unix/sysv/linux/configure: Regenerated.
36349 * sysdeps/unix/sysv/linux/kernel-features.h
36350 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36351 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36353 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36354 (__ASSUME_FUTEX_REQUEUE): Remove.
36355 (__ASSUME_STATFS64): Define unconditionally.
36356 (__ASSUME_AT_SECURE): Likewise.
36357 (__ASSUME_CORRECT_SI_PID): Likewise.
36358 (__ASSUME_TGKILL): Define without depending on kernel version for
36360 (__ASSUME_UTIMES): Likewise.
36361 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36363 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36364 (__ASSUME_TMPFS_NAME): Likewise.
36365 * README: Update reference to Linux kernel versions.
36367 2012-08-02 Marek Polacek <polacek@redhat.com>
36370 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36371 libc_cv_asm_type_prefix with %.
36372 * configure: Regenerated.
36373 * include/libc-symbols.h: Remove comment about
36374 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36375 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36376 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36377 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36378 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36379 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36380 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36381 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36382 * elf/tst-unique2mod1.c: Likewise.
36383 * elf/tst-unique1mod2.c: Likewise.
36384 * elf/tst-unique1mod1.c: Likewise.
36385 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36386 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36387 Replace ASM_TYPE_DIRECTIVE with .type.
36388 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36389 * sysdeps/i386/sysdep.h: Likewise.
36390 * sysdeps/x86_64/sysdep.h: Likewise.
36391 * sysdeps/sh/sysdep.h: Likewise.
36392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36393 Do not define ASM_TYPE_DIRECTIVE.
36394 * sysdeps/powerpc/sysdep.h: Likewise.
36395 * sysdeps/powerpc/powerpc32/sysdep.h:
36396 Replace ASM_TYPE_DIRECTIVE with .type.
36397 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36398 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36399 * sysdeps/i386/fpu/e_powf.S: Likewise.
36400 * sysdeps/i386/fpu/e_expl.S: Likewise.
36401 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36403 * sysdeps/i386/fpu/e_pow.S: Likewise.
36404 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36405 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36406 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36407 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36408 * sysdeps/i386/fpu/e_log2.S: Likewise.
36409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36411 * sysdeps/i386/fpu/e_powl.S: Likewise.
36412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36414 * sysdeps/i386/fpu/e_logl.S: Likewise.
36415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36416 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36417 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36418 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36419 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36420 * sysdeps/i386/fpu/e_log.S: Likewise.
36421 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36422 * sysdeps/i386/fpu/e_logf.S: Likewise.
36423 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36424 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36425 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36426 * sysdeps/i386/fpu/e_log10.S: Likewise.
36427 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36428 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36429 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36430 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36431 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36433 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36434 * sysdeps/i386/i686/strtok.S: Likewise.
36435 * sysdeps/i386/i386-mcount.S: Likewise.
36436 * sysdeps/i386/strtok.S: Likewise.
36437 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36438 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36439 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36440 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36441 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36442 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36443 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36444 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36445 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36446 * sysdeps/x86_64/_mcount.S: Likewise.
36447 * sysdeps/x86_64/strtok.S: Likewise.
36448 * sysdeps/sh/_mcount.S: Likewise.
36450 2012-08-01 Roland McGrath <roland@hack.frob.com>
36452 * libio/iofopen.c: Include <fcntl.h>.
36453 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36454 (_IO_fopen64, fopen64): Define as aliases.
36455 * libio/iofopen64.c: Include <fcntl.h>.
36456 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36457 Conditionalize body on this.
36458 * sysdeps/wordsize-64/iofopen.c: File removed.
36459 * sysdeps/wordsize-64/iofopen64.c: File removed.
36461 2012-08-01 Marek Polacek <polacek@redhat.com>
36463 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36464 Use dlfcn directly instead of a variable.
36465 (binfmt-subdir): Do not define.
36468 2012-08-01 Joseph Myers <joseph@codesourcery.com>
36470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36471 Remove all definitions.
36472 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36473 <kernel-features.h>.
36474 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36475 (miss_F_GETOWN_EX): Remove all definitions.
36476 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36478 [!__ASSUME_FCNTL64]: Remove conditional code.
36479 [__ASSUME_FCNTL64]: Make code unconditional.
36480 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36481 <kernel-features.h>.
36482 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36483 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36484 (lockf64) [__NR_fcntl64]: Make code unconditional.
36485 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36487 * sysdeps/unix/sysv/linux/kernel-features.h
36488 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36489 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36490 Make code unconditional.
36491 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36492 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36494 [__NR_vfork]: Make code unconditional.
36495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36498 [__NR_vfork]: Make code unconditional.
36499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36502 2012-08-01 Roland McGrath <roland@hack.frob.com>
36504 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36505 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36507 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36508 Define mkstemp64 as an alias.
36509 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36510 Define mkstemps64 as an alias.
36511 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36512 Define mkostemp64 as an alias.
36513 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36514 Define mkostemps64 as an alias.
36515 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36516 Conditionalize body on this.
36517 * misc/mkostemp64.c: Likewise.
36518 * misc/mkostemps64.c: Likewise.
36519 * misc/mkstemps64.c: Likewise.
36520 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36521 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36522 * sysdeps/wordsize-64/mkostemp.c: File removed.
36523 * sysdeps/wordsize-64/mkstemp.c: File removed.
36524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36526 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36527 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36530 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36531 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36532 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36533 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36535 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36536 compat_symbol macros from <shlib-compat.h> rather than the underlying
36537 default_symbol_version and symbol_version macros, so that DEFAULT
36538 lines in shlib-versions are respected.
36539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36541 2012-08-01 Florian Weimer <fweimer@redhat.com>
36543 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36544 Declare with warn_unused_result.
36545 (setgid, setregid, setegid, setresgid): Likewise.
36546 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36548 * WUR-REPORT: Remove set*id functions.
36550 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36552 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36554 2012-07-31 Roland McGrath <roland@hack.frob.com>
36557 * include/sys/socket.h (__libc_accept, __libc_accept4):
36558 Add attribute_hidden.
36559 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36563 * inet/getnetgrent_r.c (setup): Likewise.
36565 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36567 2012-07-31 David S. Miller <davem@davemloft.net>
36569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36571 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36574 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36575 value between 1.0 and 2.0 and smaller part has absolute value less
36577 * math/s_clog10.c (__clog10): Likewise.
36578 * math/s_clog10f.c (__clog10f): Likewise.
36579 * math/s_clog10l.c (__clog10l): Likewise.
36580 * math/s_clogf.c (__clogf): Likewise.
36581 * math/s_clogl.c (__clogl): Likewise.
36582 * math/libm-test.inc (clog_test): Add more tests.
36583 (clog10_test): Likewise.
36584 * sysdeps/i386/fpu/libm-test-ulps: Update.
36585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36587 2012-07-31 Florian Weimer <fweimer@redhat.com>
36589 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36590 Exit with zero in case no suitable GID is found, and write a
36591 message to standard error.
36593 2012-07-30 Roland McGrath <roland@hack.frob.com>
36595 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36597 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36598 (MAXPATHLEN): Removed.
36599 (NOGROUP, NODEV): New macros.
36600 (setbit, clrbit, isset, isclr): New macros.
36601 (howmany, roundup, powerof2): New macros.
36602 (DEV_BSIZE): New macro.
36604 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36605 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36607 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36608 definition on [!__NO_LONG_DOUBLE_MATH].
36610 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36611 PTR_MANGLE and PTR_DEMANGLE.
36613 * socket/accept4.c (accept4): Rename to __libc_accept4.
36614 Define accept4 as a weak alias.
36616 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36617 on [_DIRENT_HAVE_D_TYPE].
36618 * io/ftw.c (ftw_dir): Likewise.
36620 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36622 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36624 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36625 Use the BSD numbers rather than the arbitrary ones we had.
36626 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36627 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36628 (SIGXCPU, SIGXFSZ): New macros.
36631 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36632 initializer on [_LIBC_REENTRANT].
36634 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36635 definitions inside [_POSIX_MAPPED_FILES].
36637 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36639 * dirent/opendir.c: Include <fcntl.h>.
36641 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36642 (__libc_getspecific): Likewise.
36643 (__libc_key_create): Likewise.
36645 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36646 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36647 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36648 (tmpfile64): Define as alias.
36649 * sysdeps/wordsize-64/tmpfile.c: File removed.
36650 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36652 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36654 * stdio-common/vfscanf.c: Include <stdbool.h>.
36655 * nss/makedb.c: Likewise.
36656 * stdio-common/_i18n_number.h: Likewise.
36657 * argp/argp-help.c: Likewise.
36658 * posix/wordexp.c: Likewise.
36659 * sysdeps/posix/spawni.c: Likewise.
36660 * nss/nss_files/files-initgroups.c: Likewise.
36661 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36662 * nss/nss_files/files-initgroups.c: Likewise.
36663 * nss/nss_db/db-netgrp.c: Likewise.
36664 * nss/nss_db/db-initgroups.c: Likewise.
36665 * io/fchmodat.c: Include <sys/stat.h>.
36667 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36668 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36670 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36673 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36674 Add multiple inclusion protection.
36676 2012-07-27 David S. Miller <davem@davemloft.net>
36678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36680 2012-07-27 Gary Benson <gbenson@redhat.com>
36683 * elf/rtld.c: Include <stap-probe.h>.
36684 (dl_main): Added static probes "init_start" and "init_complete".
36685 * elf/dl-load.c: Include <stap-probe.h>.
36686 (lose): Take new parameter "nsid".
36687 Added static probe "map_failed".
36688 (_dl_map_object_from_fd): Pass namespace id to lose.
36689 Added static probe "map_start".
36690 (open_verify): Pass namespace id to lose.
36691 * elf/dl-open.c: Include <stap-probe.h>.
36692 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36693 and "reloc_complete".
36694 * elf/dl-close.c: Include <stap-probe.h>.
36695 (_dl_close_worker): Added static probes "unmap_start" and
36697 * elf/rtld-debugger-interface.txt: New file documenting the above.
36699 2012-07-26 Roland McGrath <roland@hack.frob.com>
36701 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36702 rather than a string variable.
36703 * sunrpc/rpc_main.c (h_output): Likewise.
36704 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36706 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36708 * inet/check_native.c: New file.
36710 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36713 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36714 if larger part has absolute value 1.0.
36715 * math/s_clog10.c (__clog10): Likewise.
36716 * math/s_clog10f.c (__clog10f): Likewise.
36717 * math/s_clog10l.c (__clog10l): Likewise.
36718 * math/s_clogf.c (__clogf): Likewise.
36719 * math/s_clogl.c (__clogl): Likewise.
36720 * math/libm-test.inc (clog_test): Add more tests.
36721 (clog10_test): Likewise.
36722 * sysdeps/i386/fpu/libm-test-ulps: Update.
36723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36725 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36726 (pltexit): Likewise.
36727 (La_regs): Likewise.
36728 (La_retval): Likewise.
36729 (int_retval): Likewise.
36730 Update #error for removed macros to refer only to definitions in
36732 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36734 (pltexit): Likewise.
36735 (La_regs): Likewise.
36736 (La_retval): Likewise.
36737 (int_retval): Likewise.
36738 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36740 (pltexit): Likewise.
36741 (La_regs): Likewise.
36742 (La_retval): Likewise.
36743 (int_retval): Likewise.
36744 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36746 (pltexit): Likewise.
36747 (La_regs): Likewise.
36748 (La_retval): Likewise.
36749 (int_retval): Likewise.
36750 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36752 (pltexit): Likewise.
36753 (La_regs): Likewise.
36754 (La_retval): Likewise.
36755 (int_retval): Likewise.
36756 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36758 (pltexit): Likewise.
36759 (La_regs): Likewise.
36760 (La_retval): Likewise.
36761 (int_retval): Likewise.
36762 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36764 (pltexit): Likewise.
36765 (La_regs): Likewise.
36766 (La_retval): Likewise.
36767 (int_retval): Likewise.
36768 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36769 macro definitions in tst-audit.h.
36770 * sysdeps/i386/tst-audit.h: New file.
36771 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36772 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36773 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36774 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36775 * sysdeps/sh/tst-audit.h: Likewise.
36776 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36777 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36778 * sysdeps/x86_64/tst-audit.h: Likewise.
36780 2012-07-26 Andreas Jaeger <aj@suse.de>
36782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36785 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36786 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36787 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36789 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36790 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36791 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36793 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36796 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36798 (si_call_addr, si_syscall, si_arch): Define new macro.
36799 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36801 (si_call_addr, si_syscall, si_arch): Define new marcro.
36802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36804 (si_call_addr, si_syscall, si_arch): Define new macro.
36805 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36807 (si_call_addr, si_syscall, si_arch): Define new macro.
36809 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36813 Change to 2.4.21 where previously 2.4.1.
36814 * sysdeps/unix/sysv/linux/configure: Regenerated.
36815 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36816 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36817 Linux kernel version.
36818 (__ASSUME_STD_AUXV): Remove.
36819 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36821 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36822 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36823 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36824 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36825 (__ASSUME_NETLINK_SUPPORT): Likewise.
36826 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36827 (__no_netlink_support): Remove conditional definition.
36828 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36830 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36831 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36832 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36833 (if_nameindex_ioctl): Remove.
36834 (if_nameindex_netlink): Do not handle __no_netlink_support.
36835 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36837 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36838 Remove conditional code.
36839 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36841 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36843 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36844 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36845 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36847 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36848 [!__ASSUME_STD_AUXV]: Remove conditional code.
36849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36850 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36851 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36853 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36854 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36856 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36858 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36861 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36863 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36866 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36869 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36870 code unconditional.
36871 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36873 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36875 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36878 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36880 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36883 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36884 code unconditional.
36885 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36887 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36889 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36892 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36893 code unconditional.
36894 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36896 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36898 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36901 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36903 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36904 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36905 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36906 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36907 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36908 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36909 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36910 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36911 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36912 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36913 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36914 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36915 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36916 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36917 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36918 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36919 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36920 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36921 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36923 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36924 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36927 2012-07-25 Florian Weimer <fweimer@redhat.com>
36929 * Versions.def: Add GLIBC_2.17.
36930 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36931 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36932 Introduce __libc_secure_getenv.
36933 * stdlib/Versions (2.17): Add secure_getenv
36934 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36935 * stdlib/secure-getenv.c: Rename __secure_getenv to
36936 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36937 symbol __secure_getenv for GLIBC_2.0.
36938 * stdlib/tst-secure-getenv.c: New.
36939 * stdlib/Makefile (tests): Add testcase.
36940 * manual/startup.texi (Environment Access): Document
36942 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36943 __libc_secure_getenv.
36944 * inet/ruserpass.c (ruserpass): Likewise.
36945 * malloc/mtrace.c (mtrace): Likewise.
36946 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36947 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36948 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36949 * sysdeps/posix/tempname.c: Likewise. Evaluate
36950 HAVE_SECURE_GETENV.
36951 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36952 __secure_getenv to __libc_secure_getenv.
36953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36966 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36968 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36969 (struct La_i86_retval): Likewise.
36970 (struct La_x86_64_regs): Likewise.
36971 (struct La_x86_64_retval): Likewise.
36972 (struct La_x32_regs): Likewise.
36973 (struct La_x32_retval): Likewise.
36974 (struct La_ppc32_regs): Likewise.
36975 (struct La_ppc32_retval): Likewise.
36976 (struct La_ppc64_regs): Likewise.
36977 (struct La_ppc64_retval): Likewise.
36978 (struct La_sh_regs): Likewise.
36979 (struct La_sh_retval): Likewise.
36980 (struct La_s390_32_regs): Likewise.
36981 (struct La_s390_32_retval): Likewise.
36982 (struct La_s390_64_regs): Likewise.
36983 (struct La_s390_64_retval): Likewise.
36984 (struct La_sparc32_regs): Likewise.
36985 (struct La_sparc32_retval): Likewise.
36986 (struct La_sparc64_regs): Likewise.
36987 (struct La_sparc64_retval): Likewise.
36988 (struct audit_ifaces): Remove architecture-specific pltenter and
36990 * sysdeps/i386/ldsodefs.h: New file.
36991 * sysdeps/powerpc/ldsodefs.h: Likewise.
36992 * sysdeps/s390/ldsodefs.h: Likewise.
36993 * sysdeps/sh/ldsodefs.h: Likewise.
36994 * sysdeps/sparc/ldsodefs.h: Likewise.
36995 * sysdeps/x86_64/ldsodefs.h: Likewise.
36997 2012-07-25 Marek Polacek <polacek@redhat.com>
37000 * math/libm-test.inc (yn_test): Add another test.
37001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37002 to ERANGE when the result is +-Inf.
37003 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37004 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37005 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37006 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37008 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37010 * conform/data/time.h-data (NULL): Use macro-constant. Require
37012 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37014 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37016 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37018 * configure.in <sysdeps resolving>: Correct printing
37020 * configure: Regenerate.
37022 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37024 * math/w_ilogb.c: Include <limits.h>.
37025 * math/w_ilogbl.c: Likewise.
37027 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37029 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37030 va_copy. Document allowing for unavailable va_copy only as
37031 pre-C99 compatibility.
37032 * manual/string.texi (Copying and Concatenation): Use va_copy
37033 instead of __va_copy in concat example.
37035 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37037 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37038 (__sendto): Use create_address_port. Initialize APORT and deallocate
37041 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37042 with O_NOLINK passed to __file_name_lookup.
37044 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37045 with O_NOLINK passed to __file_name_lookup.
37047 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37048 negative N or less than NGIDS.
37050 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37051 type to string_t. Set ERANGE as errno and return it if NAME is not big
37052 enough. Use memcpy instead of strncpy.
37054 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37056 * elf/Makefile (check-data): Remove.
37057 (localplt.data): New vpath directive.
37058 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37059 instead of $(check-data).
37060 * scripts/data/localplt-generic.data: Move to ...
37061 * sysdeps/generic/localplt.data: ... here.
37062 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37063 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37064 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37067 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37070 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37073 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37076 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37079 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37083 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37085 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37086 PPC32 and PPC64 files.
37087 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37088 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37090 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37092 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37093 __makecontext_ret to ...
37094 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37095 ... here and call exit if uc_link is NULL. New file.
37096 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37097 __makecontext_ret.S.
37098 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37099 __makecontext_ret to ...
37100 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37101 ... here and call exit if uc_link is NULL. New file.
37102 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37103 __makecontext_ret.S.
37105 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37107 * elf/elf.h (R_390_IRELATIVE): New definition.
37108 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37109 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37110 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37112 (elf_machine_lazy_rel): Likewise.
37113 * sysdeps/s390/dl-irel.h: New file.
37114 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37115 * sysdeps/s390/s390-64/memset.S: New asm code.
37116 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37117 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37118 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37119 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37120 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37121 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37122 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37123 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37124 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37125 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37126 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37127 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37128 * sysdeps/s390/s390-32/memset.S: New asm code.
37129 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37131 2012-07-17 Marek Polacek <polacek@redhat.com>
37134 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37135 * sysdeps/s390/s390-64/configure.in: Likewise.
37136 * sysdeps/sparc/configure.in: Likewise.
37137 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37138 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37139 * sysdeps/i386/configure.in: Likewise.
37140 * sysdeps/x86_64/configure.in: Likewise.
37141 * sysdeps/sh/configure.in: Likewise.
37142 * sysdeps/s390/s390-32/configure: Regenerated.
37143 * sysdeps/s390/s390-64/configure: Likewise.
37144 * sysdeps/x86_64/configure: Likewise.
37145 * sysdeps/sh/configure: Likewise.
37146 * sysdeps/powerpc/powerpc64/configure: Likewise.
37147 * sysdeps/powerpc/powerpc32/configure: Likewise.
37148 * sysdeps/sparc/configure: Likwise.
37149 * sysdeps/i386/configure: Likewise.
37151 * elf/dl-open.c: Comment fixes.
37153 2012-07-17 Joseph Myers <joseph@codesourcery.com>
37155 * Makefile [CXX] (check-data): Remove.
37156 [CXX] (c++-types.data): New vpath directive.
37157 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37158 vpath. Do not allow for C++ type data being missing.
37159 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37160 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37161 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37162 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37163 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37164 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37165 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37168 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37171 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37174 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37177 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37180 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37183 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37186 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37189 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37190 definitions to architecture-specific files.
37191 (TLS_IE): Likewise.
37192 (TLS_LD): Likewise.
37193 (TLS_GD): Likewise.
37194 * sysdeps/i386/tls-macros.h: New file.
37195 * sysdeps/powerpc/tls-macros.h: Likewise.
37196 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37197 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37198 * sysdeps/sh/tls-macros.h: Likewise.
37199 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37200 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37201 * sysdeps/x86_64/tls-macros.h: Likewise.
37203 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37205 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37206 zero value for regular exit case.
37208 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37209 (__start_context): Preserve zero value for regular exit case.
37211 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37212 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37214 * manual/setjmp.texi (setcontext): Clarify normal process
37215 termination when uc_link is the null pointer.
37216 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37219 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37221 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37222 preprocessor. Test for each exception mask separately.
37224 2012-07-16 Andreas Jaeger <aj@suse.de>
37226 * po/ru.po: Update from translation team.
37228 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37230 * conform/data/string.h-data (NULL): Use macro-constant. Require
37232 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37233 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37234 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37235 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37238 2012-07-13 Andreas Jaeger <aj@suse.de>
37240 * po/fr.po: Update from translation team.
37242 2012-07-12 Marek Polacek <polacek@redhat.com>
37245 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37246 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37249 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37253 Change to 2.4.1 where previously 2.4.0.
37254 * sysdeps/unix/sysv/linux/configure: Regenerated.
37255 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37256 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37258 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37259 (__ASSUME_AT_CLKTCK): Remove.
37260 (__ASSUME_AT_PAGESIZE): Likewise.
37261 (__ASSUME_AT_XID): Likewise.
37262 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37263 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37264 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37266 (HAVE_AUX_PAGESIZE): Likewise.
37267 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37268 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37269 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37271 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37275 the temporary buffer used to invoke __gethostbyname2_r,
37276 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37277 host_data / struct gaih_addrtuple.
37278 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37279 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37280 header file nss/nsswitch.h.
37281 * nss/nsswitch.h (global scope): Add definition of implementation
37282 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37283 resolv/nss_dns/dns-host.c).
37285 2012-07-11 Andreas Jaeger <aj@suse.de>
37287 * po/fr.po: Update from translation team.
37289 * po/sv.po: Update from translation team
37290 * po/fr.po: Another update from translation team.
37292 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37295 for subnormals or multiply small sinh result by itself.
37296 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37299 2012-07-11 David S. Miller <davem@davemloft.net>
37301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37303 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37306 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37307 (INTERNAL_MARK): Shift it here.
37309 2012-07-10 Marek Polacek <polacek@redhat.com>
37312 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37313 libc_cv_asm_global_directive with .globl.
37314 * configure: Regenerated.
37315 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37317 * sysdeps/i386/configure: Regenerated.
37318 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37320 * sysdeps/x86_64/configure: Regenerated.
37321 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37322 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37323 * elf/tst-unique2mod2.c: Likewise.
37324 * elf/tst-unique2mod1.c: Likewise.
37325 * elf/tst-unique1mod2.c: Likewise.
37326 * elf/tst-unique1mod1.c: Likewise.
37327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37328 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37330 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37331 * sysdeps/mach/sysdep.h: Likewise.
37332 * sysdeps/i386/sysdep.h: Likewise.
37333 * sysdeps/i386/i386-mcount.S: Likewise.
37334 * sysdeps/x86_64/_mcount.S: Likewise.
37335 * sysdeps/x86_64/sysdep.h: Likewise.
37336 * sysdeps/sh/_mcount.S: Likewise.
37337 * sysdeps/sh/sysdep.h: Likewise.
37338 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37339 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37340 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37341 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37342 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37343 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37344 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37345 * locale/localeinfo.h: Likewise.
37346 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37347 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37349 2012-07-09 Roland McGrath <roland@hack.frob.com>
37352 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37354 * manual/message.texi (The Uniforum approach): Likewise.
37355 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37356 (glibc iconv Implementation): Likewise.
37358 2012-07-09 Joseph Myers <joseph@codesourcery.com>
37361 * math/s_clog.c (__clog): Avoid scaling a value down where that
37362 could result in underflow.
37363 * math/s_clog10.c (__clog10): Likewise.
37364 * math/s_clog10f.c (__clog10f): Likewise.
37365 * math/s_clog10l.c (__clog10l): Likewise.
37366 * math/s_clogf.c (__clogf): Likewise.
37367 * math/s_clogl.c (__clogl): Likewise.
37368 * math/libm-test.inc (clog_test): Add more tests.
37369 (clog10_test): Likewise.
37370 * sysdeps/i386/fpu/libm-test-ulps: Update.
37371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37373 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37376 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37377 by 7 not 8 to examine high bit of fractional part.
37380 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37381 for call to __mcount_internal.
37382 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37383 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37384 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37386 2012-07-06 Joseph Myers <joseph@codesourcery.com>
37389 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37390 approximation for values within 0x1p-13f of an odd multiple of
37392 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37393 exception. Add more tests.
37394 * sysdeps/i386/fpu/libm-test-ulps: Update.
37397 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37398 inputs and return -1 for them. Do not check for +Inf in case not
37399 reachable for +Inf.
37400 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37401 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37402 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37403 and return -1 for them. Do not check for +Inf in case not
37404 reachable for +Inf.
37405 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37408 and return -1 for them. Do not check for +Inf in case not
37409 reachable for +Inf.
37410 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37411 spurious underflow.
37412 * sysdeps/i386/fpu/libm-test-ulps: Update.
37413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37415 2012-07-06 Mike Frysinger <vapier@gentoo.org>
37417 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37419 2012-07-05 Joseph Myers <joseph@codesourcery.com>
37423 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37424 could result in spurious underflow. Scale down values above
37425 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37426 * math/s_csqrtf.c (__csqrtf): Likewise.
37427 * math/s_csqrtl.c (__csqrtl): Likewise.
37428 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37429 spurious underflow.
37430 * sysdeps/i386/fpu/libm-test-ulps: Update.
37431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37433 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37435 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37437 * catgets/xopen-msg.awk: New file.
37438 * catgets/xopen-msg.sed: Removed.
37440 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37442 * intl/po2test.awk: New file.
37443 * intl/po2test.sed: Removed.
37445 2012-07-04 Joseph Myers <joseph@codesourcery.com>
37448 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37449 or multiply small sinh result by itself.
37450 * math/s_ctanf.c (__ctanf): Likewise.
37451 * math/s_ctanh.c (__ctanh): Likewise.
37452 * math/s_ctanhf.c (__ctanhf): Likewise.
37453 * math/s_ctanhl.c (__ctanhl): Likewise.
37454 * math/s_ctanl.c (__ctanl): Likewise.
37455 * math/libm-test.inc (ctan_test_tonearest): New function.
37456 (ctan_test_towardzero): Likewise.
37457 (ctan_test_downward): Likewise.
37458 (ctan_test_upward): Likewise.
37459 (ctanh_test_tonearest): Likewise.
37460 (ctanh_test_towardzero): Likewise.
37461 (ctanh_test_downward): Likewise.
37462 (ctanh_test_upward): Likewise.
37463 (main): Call these new functions.
37464 * sysdeps/i386/fpu/libm-test-ulps: Update.
37465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37467 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37469 * .gitignore: Delete /ports entry.
37471 2012-07-03 Andreas Jaeger <aj@suse.de>
37473 * po/bg.po: Update from translation team.
37474 * po/cs.po: Likewise.
37475 * po/de.po: Likewise.
37476 * po/hr.po: Likewise.
37477 * po/nl.pl: Likewise.
37478 * po/pl.po: Likewise.
37479 * po/vi.po: Likewise.
37481 2012-07-03 Joseph Myers <joseph@codesourcery.com>
37483 * Makeconfig [!+link] (+link-before-libc): New variable.
37484 [!+link] (+link-after-libc): Likewise.
37485 [!+link] (+link-tests): Likewise.
37486 [!+link] (+link): Define in terms of $(+link-before-libc) and
37487 $(+link-after-libc).
37488 [!+link-static] (+link-static-before-libc): New variable.
37489 [!+link-static] (+link-static-after-libc): Likewise.
37490 [!+link-static] (+link-static-tests): Likewise.
37491 [!+link-static] (+link-static): Define in terms of
37492 $(+link-static-before-libc) and $(+link-static-after-libc).
37493 [build-shared] (link-libc-before-gnulib): New variable.
37494 [build-shared] (link-libc-tests): Likewise.
37495 [build-shared] (link-libc): Define in terms of
37496 $(link-libc-before-gnulib).
37497 [!build-shared] (link-libc-tests): New variable.
37498 (link-libc-static-tests): New variable.
37499 [!gnulib] (gnulib-arch): New variable.
37500 [!gnulib] (gnulib-tests): Likewise.
37501 [!gnulib] (static-gnulib-arch): Likewise.
37502 [!gnulib] (static-gnulib-tests): Likewise.
37503 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37504 Define with "=" instead of ":=".
37505 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37506 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37507 * Rules (binaries-all-notests): New variable.
37508 (binaries-all-tests): Likewise.
37509 (binaries-static-notests): Likewise.
37510 (binaries-static-tests): Likewise.
37511 (binaries-all): Define using $(binaries-all-notests) and
37512 $(binaries-all-tests).
37513 (binaries-static): Define using $(binaries-static-notests) and
37514 $(binaries-static-tests).
37515 (binaries-shared-tests): New variable.
37516 (binaries-shared-notests): Likewise.
37517 (binaries-shared): Remove variable.
37518 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37519 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37520 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37521 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37522 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37523 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37524 * elf/Makefile (sln-modules): New variable.
37525 (extra-objs): Add $(sln-modules:=.o).
37526 (ldconfig-modules): Add static-stubs.
37527 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37528 * elf/static-stubs.c: New file.
37531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37532 by 7 not 8 to examine high bit of fractional part. Use volatile
37533 variables when splitting into final array of floats if
37534 __FLT_EVAL_METHOD__ != 0.
37535 * math/libm-test.inc (cos_test): Add another test.
37536 (sin_test): Likewise.
37537 * sysdeps/i386/fpu/libm-test-ulps: Update.
37540 * math/libm-test.inc (cosh_test): Add more tests.
37542 * version.h (RELEASE): Set to "development".
37543 (VERSION): Set to "2.16.90".
37545 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37547 * NEWS: Update copyright. Remove last-updated date.
37548 Mention math library bug fixes and timezone data changes.
37549 * README: Mention GNU/Hurd, x32, and HPPA support status.
37551 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37553 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37555 2012-06-27 Andreas Jaeger <aj@suse.de>
37557 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37559 2012-06-25 Andreas Jaeger <aj@suse.de>
37561 * sysdeps/s390/fpu/libm-test-ulps: Update.
37563 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37564 Thomas Schwinge <thomas@codesourcery.com>
37566 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37567 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37571 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37573 * sysdeps/mach/start.c: Remove file.
37574 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37575 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37576 * sysdeps/sh/init-first.c: Likewise.
37578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37579 registers for frame unwinding purposes, add CFI directives.
37580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37581 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37582 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37585 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37586 __fortify_fail returning.
37587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37590 sysdeps/sh/____longjmp_chk.S.
37591 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37592 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37593 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37594 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37596 * sysdeps/sh/abort-instr.h: New file.
37597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37598 process in case exit returns.
37600 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37601 initialize the GOT register before use.
37603 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37604 calculation of ARGC > 4.
37606 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37607 meaningful names to some local labels.
37609 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37610 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37612 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37613 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37614 (__arch_compare_and_exchange_val_16_acq): Likewise.
37615 (__arch_compare_and_exchange_val_32_acq): Likewise.
37616 (atomic_exchange_and_add): Fix gUSA sequence.
37617 (atomic_add): Likewise.
37618 (atomic_add_negative): Likewise.
37619 (atomic_add_zero): Likewise.
37620 (atomic_bit_test_set): Likewise.
37622 2012-06-22 Andreas Schwab <schwab@redhat.com>
37625 * include/link.h (struct link_map): Add l_free_initfini.
37626 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37628 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37629 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37630 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37633 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37635 * configure.in: Use AC_LANG_SOURCE.
37636 * configure: Regenerate.
37638 2012-06-22 Roland McGrath <roland@hack.frob.com>
37640 * configure.in (libc_cv_localstatedir): New substituted variable.
37641 * configure: Regenerated.
37642 * config.make.in (localstatedir): New variable, substituted from
37643 libc_cv_localstatedir.
37644 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37645 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37646 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37647 * sysdeps/gnu/configure: Regenerated.
37649 2012-06-21 Jeff Law <law@redhat.com>
37652 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37653 free. Simplify list management for _LIBC case.
37655 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37658 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37659 Clear sign bit of 64-bit integer value before comparing against
37662 * sysdeps/mach/configure: Regenerated.
37664 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37667 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37669 2012-06-21 Jeff Law <law@redhat.com>
37672 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37673 uint16_t for elements in the "seen" array to avoid char overflows.
37674 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37675 * elf/dl-open.c (dl_open_worker): Likewise.
37677 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37679 * scripts/list-sources.sh: Scan PORTS for translations.
37680 * po/libc.pot: Regenerated.
37682 2012-06-21 Andreas Jaeger <aj@suse.de>
37685 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37687 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37688 * bits/byteswap-16.h (__bswap_16): Likewise.
37689 * bits/byteswap.h (__bswap_constant_16): Likewise.
37691 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37694 * sysdeps/i386/fpu_control.h: Removed.
37695 * sysdeps/x86_64/fpu_control.h: Moved to ...
37696 * sysdeps/x86/fpu_control.h: Here.
37698 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37699 (_FPU_SETCW): Likewise.
37701 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37704 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37705 * sysdeps/x86/fpu/bits/mathinline.h: This.
37706 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37710 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37711 functions if __x86_64__ is defined.
37713 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37715 * string/endian.h: Add !__ASSEMBLER__ condition for including
37716 conversion interfaces.
37718 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37722 of ABS(x) in calculating zero to negative powers other than odd
37724 * math/libm-test.inc (pow_test): Add more tests.
37726 2012-06-15 Andreas Jaeger <aj@suse.de>
37728 * manual/contrib.texi (Contributors): Update entry of Liubov
37729 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37732 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37734 * string/string.h: Add __wur to GNU version of strerror_r.
37736 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37739 * string/Makefile (tests): Add tst-strtok_r.
37740 * string/tst-strtok_r.c: New file.
37741 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37742 RAX_LP/RDX_LP on SAVE_PTR.
37744 2012-06-14 Roland McGrath <roland@hack.frob.com>
37746 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37748 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37750 * libm_test.inc (csqrt_test): Allow more spurious underflow
37752 (j0_test): Likewise.
37753 (j1_test): Likewise.
37754 (y0_test): Likewise.
37755 (y1_test): Likewise.
37757 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37759 * po/Makefile (libc.pot): Use UTF-8 charset.
37761 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37764 Suppress sign-conversion warning from FD_SET.
37765 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37766 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37767 not unsigned long int.
37768 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37770 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37774 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37775 __extern_always_inline instead of __extern_inline.
37776 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37777 (__signbit): Likewise.
37778 (__signbitl): Support C++ namespace.
37779 (lrintf): New inline function.
37781 (llrintf): Likewise.
37782 (llrint): Likewise.
37792 (floorf): Likewise.
37793 (nearbyint): Likewise.
37794 (nearbyintf): Likewise.
37796 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37798 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37799 non-default versions.
37801 2012-06-11 Roland McGrath <roland@hack.frob.com>
37804 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37806 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37808 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37809 (FE_UPWARD, FE_DOWNWARD): Don't define.
37810 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37811 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37813 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37815 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37816 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37818 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37820 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37822 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37823 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37825 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37828 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37829 * sysdeps/i386/fpu/Implies: New file.
37830 * sysdeps/x86_64/fpu/Implies: Likewise.
37831 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37832 * sysdeps/x86/fpu/bits/fenv.h: This.
37834 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37837 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37840 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37841 character 0xffff that matches the last element of the
37844 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37849 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37852 values higher than 25.6283.
37854 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37856 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37857 subnormal exponent extraction and add some __builtin_expect.
37858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37859 Fix for subnormal mantissa calculation.
37861 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37863 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37864 cpu2 is -1 and errno is not ENOSYS.
37866 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37869 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37870 * sysdeps/x86/bits/string.h: This.
37871 * sysdeps/x86_64/bits/string.h: Removed.
37873 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37874 if not compiling for x86-64, but compiling for >= i486.
37876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37877 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37879 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37880 New macro from Linux kernel 3.4.0.
37881 (FP_XSTATE_MAGIC2): Likewise.
37882 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37883 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37884 (struct _fpx_sw_bytes): New struct.
37885 (struct _xsave_hdr): Likewise.
37886 (struct _ymmh_state): Likewise.
37887 (struct _xstate): Likewise.
37889 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37890 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37892 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37893 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37894 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37896 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37897 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37898 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37899 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37900 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37901 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37903 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37906 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37907 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37908 (sysdep_headers): Include sys/platform/ppc.h.
37909 * sysdeps/powerpc/test-gettimebase.c: Test for
37910 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37911 * manual/Makefile (appendices): Include platform.texi.
37912 * manual/contrib.texi (Contributors): Update @node pointers.
37913 * manual/maint.texi (Maintenance): Likewise.
37914 (Platform): New node.
37915 * manual/platform.texi: New file. Document the new features.
37917 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37918 Jakub Jelinek <jakub@redhat.com>
37921 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37922 where __builtin_expect is unavailable.
37924 2012-06-03 David S. Miller <davem@davemloft.net>
37926 * stdlib/longlong.h: Updated from GCC.
37928 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37931 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37932 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37935 (GLIBC_2.16): Likewise.
37937 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37939 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37941 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37944 (default-abi): New variable.
37945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37946 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37948 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37950 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37952 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37955 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37956 definition. Document in comment.
37958 2012-06-01 David S. Miller <davem@davemloft.net>
37960 * stdlib/longlong.h: Updated from GCC.
37962 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37965 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37966 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37967 sys/debugreg.h sys/io.h here.
37968 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37969 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37971 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37972 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37973 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37974 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37975 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37976 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37979 Define only if __x86_64__ is defined.
37981 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37984 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37985 Use int64_t for variable i.
37986 * math/libm-test.inc (fmod_test): Add more tests.
37988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37989 z computation is not scheduled after fetestexcept.
37990 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37991 Use math_force_eval instead of asm to ensure calculation scheduled
37992 before exception test.
37993 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37994 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37996 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37999 computation is not scheduled after fetestexcept.
38001 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38005 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38007 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38009 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38010 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38012 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38015 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38017 (__WCHAR_MIN): Support __WORDSIZE == 64.
38018 (__WCHAR_MAX): Likewise.
38020 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38021 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38025 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38028 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38029 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38032 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38034 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38035 Defined to 1 if __x86_64__ isn't defined.
38036 (_STAT_VER_LINUX_OLD): New.
38037 (st_atime): Remove duplicate.
38038 (st_mtime): Likewise.
38039 (st_ctime): Likewise.
38041 2012-05-31 David S. Miller <davem@davemloft.net>
38043 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38046 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38048 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38052 * elf/dl-reloc.c: Include <_itoa.h>.
38053 (_dl_reloc_bad_type): Remove use of INTUSE.
38054 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38055 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38056 * stdio-common/psiginfo.c (psiginfo): Likewise.
38057 * stdio-common/psignal.c (psignal): Likewise.
38058 * string/strsignal.c (strsignal): Likewise.
38059 * include/signal.h (_sys_siglist): Declare hidden proto.
38060 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38061 INTVARDEF with libc_hidden_data_def.
38062 * stdio-common/itoa-udigits.c: Likewise.
38063 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38064 (_itoa_lower_digits_internal): Remove declaration.
38065 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38066 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38067 (_sys_sigabbrev_internal): Remove aliases.
38068 (_sys_siglist): Define hidden alias.
38070 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38075 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38078 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38079 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38081 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38082 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38083 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38084 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38086 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38088 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38089 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38090 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38092 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38102 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38104 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38105 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38107 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38108 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38109 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38111 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38112 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38114 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38115 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38119 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38121 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38122 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38124 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38126 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38127 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38128 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38130 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38132 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38134 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38136 * math/math.h (M_El): Use two more decimal places.
38137 (M_LOG2El): Likewise.
38138 (M_LOG10El): Likewise.
38139 (M_LN2l): Likewise.
38140 (M_LN10l): Likewise.
38142 (M_PI_2l): Likewise.
38143 (M_PI_4l): Likewise.
38144 (M_1_PIl): Likewise.
38145 (M_2_PIl): Likewise.
38146 (M_2_SQRTPIl): Likewise.
38147 (M_SQRT2l): Likewise.
38148 (M_SQRT1_2l): Likewise.
38150 2012-05-31 David S. Miller <davem@davemloft.net>
38152 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38153 values between float registers.
38154 * sysdeps/sparc/sparc64/memset.S: Likewise.
38155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38157 2012-05-31 Mike Frysinger <vapier@gentoo.org>
38159 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38160 -D_FORTIFY_SOURCE=1.
38161 (CPPFLAGS-tst-longjmp_chk.c): Define.
38162 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38163 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38164 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38165 CFLAGS-tst-wchar-h.c.
38167 2012-05-31 Marek Polacek <polacek@redhat.com>
38170 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38171 __endmntent_internal): Remove declaration.
38172 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38173 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38174 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38176 2012-05-30 David S. Miller <davem@davemloft.net>
38178 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38179 (___Q_simulate_exceptions): Use real FP ops rather than writing
38181 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38184 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38187 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38188 * sysdeps/x86/bits/xtitypes.h: This.
38190 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38191 * sysdeps/x86/bits/wordsize.h: This.
38193 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38194 * sysdeps/x86/bits/huge_vall.h: This.
38196 * sysdeps/i386/bits/select.h: Removed.
38197 * sysdeps/x86_64/bits/select.h: Renamed to ...
38198 * sysdeps/x86/bits/select.h: This.
38200 * sysdeps/i386/bits/setjmp.h: Removed.
38201 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38202 * sysdeps/x86/bits/setjmp.h: This.
38204 * sysdeps/i386/bits/mathdef.h: Removed.
38205 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38206 * sysdeps/x86/bits/mathdef.h: This.
38208 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38211 * include/sys/socket.h (__connect_internal)
38212 (__libc_sa_len_internal): Remove declaration.
38213 (__connect, __libc_sa_len): Declare hidden_proto.
38214 (SA_LEN): Remove use of INTUSE.
38215 * socket/connect.c: Add libc_hidden_def.
38216 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38217 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38218 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38220 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38221 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38222 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38223 of adding _internal alias.
38225 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38228 * sysdeps/i386/bits/link.h: Removed.
38229 * sysdeps/i386/bits/linkmap.h: Likewise.
38230 * sysdeps/x86_64/bits/link.h: Renamed to ...
38231 * sysdeps/x86/bits/link.h: This.
38232 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38233 * sysdeps/x86/bits/linkmap.h: This.
38235 * sysdeps/i386/bits/endian.h: Removed.
38236 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38237 * sysdeps/x86/bits/endian.h: This.
38239 * sysdeps/i386/bits/byteswap.h: Removed.
38240 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38241 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38242 * sysdeps/x86/bits/byteswap.h: This.
38243 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38244 * sysdeps/x86/bits/byteswap-16.h: This.
38245 * sysdeps/i386/Implies: Add x86.
38246 * sysdeps/x86_64/Implies: Likewise.
38248 2012-05-30 David S. Miller <davem@davemloft.net>
38250 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38251 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38252 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38253 (FP_TRAPPING_EXCEPTIONS): Define.
38254 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38255 (FP_TRAPPING_EXCEPTIONS): Define.
38256 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38257 subnormals only when inexact has been signalled or underflow
38258 exceptions are enabled.
38259 (_FP_PACK_CANONICAL): Likewise.
38261 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38265 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38267 2012-05-30 Richard Henderson <rth@twiddle.net>
38269 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38270 with #ifndef NOT_IN_libc.
38272 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38273 marked to avoid plt entry.
38275 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38278 * Makeconfig (default-abi): New macro.
38279 (abi-includes): Likewise.
38280 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38281 $(abi-$(default-abi)-lib-soname) for soname if defined.
38282 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38284 * Makefile (installed-stubs): Likewise.
38285 * include/stubs-biarch.h: Removed.
38286 * scripts/lib-names.awk: Only handle one library at a time.
38287 * scripts/soversions.awk: Remove WORDSIZE support.
38288 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38290 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38292 (syscall-list-default-condition): Likewise.
38293 (syscall-list-default-condition): Likewise.
38294 (syscall-list-includes): Likewise.
38295 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38296 syscall-list-* with abi-*. Handle undefined abi-variants.
38297 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38298 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38299 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38300 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38301 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38302 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38304 (syscall-list-32-options): Likewise.
38305 (syscall-list-32-condition): Likewise.
38306 (syscall-list-64-options): Likewise.
38307 (syscall-list-64-condition): Likewise.
38308 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38310 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38313 (abi-64-ld-soname): New macro.
38314 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38315 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38318 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38319 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38321 2012-05-30 Joseph Myers <joseph@codesourcery.com>
38323 * sysdeps/unix/sysv/linux/kernel-features.h
38324 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38325 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38326 include <kernel-features.h>.
38327 [!__NR_ftruncate64]: Remove conditional code.
38328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38329 [__NR_ftruncate64]: Make code unconditional.
38330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38331 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38332 include <kernel-features.h>.
38333 [!__NR_ftruncate64]: Remove conditional code.
38334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38335 [__NR_ftruncate64]: Make code unconditional.
38336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38338 include <kernel-features.h>.
38339 [!__NR_ftruncate64]: Remove conditional code.
38340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38341 [__NR_ftruncate64]: Make code unconditional.
38342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38344 include <kernel-features.h>.
38345 [!__NR_ftruncate64]: Remove conditional code.
38346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38347 [__NR_ftruncate64]: Make code unconditional.
38348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38350 * configure.in (libc_cv_fpie): Weaken to a compile test using
38351 LIBC_TRY_CC_OPTION.
38352 * configure: Regenerated.
38354 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38369 2012-05-27 David S. Miller <davem@davemloft.net>
38371 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38373 (__Q_simulate_exceptions): Return void. Change to simulate
38374 exceptions by writing into the %fsr.
38375 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38376 (__Qp_handle_exceptions): Likewise.
38378 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38379 __Qp_handle_exceptions.
38380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38381 __Qp_handle_exceptions.
38382 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38383 as unused and give dummy FP_RND_NEAREST initializer.
38384 (FP_INHIBIT_RESULTS): Define.
38385 (___Q_simulate_exceptions): Update declaration.
38386 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38389 as unused and give dummy FP_RND_NEAREST initializer.
38390 (__Qp_handle_exceptions): Update declaration.
38391 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38394 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38396 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38397 the temporary FPU control word.
38398 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38399 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38400 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38401 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38402 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38403 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38404 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38405 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38406 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38407 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38408 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38410 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38412 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38415 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38417 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38418 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38419 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38420 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38422 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38423 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38426 2012-05-27 Ulrich Drepper <drepper@gmail.com>
38428 * po/h.po: Update from translation team.
38430 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38432 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38434 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38435 handling of denormals.
38436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38437 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38438 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38439 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38440 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38445 2012-05-26 Marek Polacek <polacek@redhat.com>
38448 * math/libm-test.inc (fma_test): Don't always expect underflow
38451 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38454 * elf/tst-execstack.c: Include stackinfo.h.
38455 (do_test): Adjust test case to ensure that pthread_getattr_np
38456 behaviour remains the same after marking stack executable.
38458 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38460 * sysdeps/unix/sysv/linux/kernel-features.h
38461 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38462 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38464 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38465 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38466 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38468 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38469 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38471 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38473 * configure.in: Define the default includes to being none.
38474 * configure: Regenerated.
38476 2012-05-25 Roland McGrath <roland@hack.frob.com>
38478 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38479 * sysdeps/x86_64/setjmp.S: Likewise.
38480 * sysdeps/i386/bsd-setjmp.S: Likewise.
38481 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38482 * sysdeps/i386/setjmp.S: Likewise.
38483 * sysdeps/i386/__longjmp.S: Likewise.
38484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38485 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38487 * include/stap-probe.h: New file.
38488 * configure.in: Handle --enable-systemtap.
38489 * configure: Regenerated.
38490 * config.h.in (USE_STAP_PROBE): New #undef.
38491 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38492 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38493 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38495 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38498 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38499 to 2.4.0 where earlier.
38500 * sysdeps/unix/sysv/linux/configure: Regenerated.
38501 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38502 <kernel-features.h>.
38503 [__ASSUME_32BITUIDS]: Make code unconditional.
38504 [!__ASSUME_32BITUIDS]: Remove conditional code.
38505 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38506 <kernel-features.h>.
38507 [__ASSUME_32BITUIDS]: Make code unconditional.
38508 [!__ASSUME_32BITUIDS]: Remove conditional code.
38509 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38510 [__ASSUME_32BITUIDS]: Make code unconditional.
38511 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38512 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38513 <kernel-features.h>.
38514 [__ASSUME_32BITUIDS]: Make code unconditional.
38515 [!__ASSUME_32BITUIDS]: Remove conditional code.
38516 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38517 <kernel-features.h>.
38518 [__ASSUME_32BITUIDS]: Make code unconditional.
38519 [!__ASSUME_32BITUIDS]: Remove conditional code.
38520 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38521 <kernel-features.h>.
38522 [__ASSUME_32BITUIDS]: Make code unconditional.
38523 [!__ASSUME_32BITUIDS]: Remove conditional code.
38524 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38525 <kernel-features.h>.
38526 [__ASSUME_32BITUIDS]: Make code unconditional.
38527 [!__ASSUME_32BITUIDS]: Remove conditional code.
38528 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38529 <kernel-features.h>.
38530 [__ASSUME_32BITUIDS]: Make code unconditional.
38531 [!__ASSUME_32BITUIDS]: Remove conditional code.
38532 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38533 <kernel-features.h>.
38534 [__ASSUME_32BITUIDS]: Make code unconditional.
38535 [!__ASSUME_32BITUIDS]: Remove conditional code.
38536 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38537 <kernel-features.h>.
38538 [__ASSUME_32BITUIDS]: Make code unconditional.
38539 [!__ASSUME_32BITUIDS]: Remove conditional code.
38540 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38541 <kernel-features.h>.
38542 [__ASSUME_32BITUIDS]: Make code unconditional.
38543 [!__ASSUME_32BITUIDS]: Remove conditional code.
38544 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38545 <kernel-features.h>.
38546 [__ASSUME_32BITUIDS]: Make code unconditional.
38547 [!__ASSUME_32BITUIDS]: Remove conditional code.
38548 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38549 <kernel-features.h>.
38550 [__ASSUME_32BITUIDS]: Make code unconditional.
38551 [!__ASSUME_32BITUIDS]: Remove conditional code.
38552 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38553 <kernel-features.h>.
38554 [__NR_setresgid] (__setresgid): Do not declare.
38555 [__ASSUME_32BITUIDS]: Make code unconditional.
38556 [!__ASSUME_32BITUIDS]: Remove conditional code.
38557 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38558 <kernel-features.h>.
38559 [__NR_setresuid] (__setresuid): Do not declare.
38560 [__ASSUME_32BITUIDS]: Make code unconditional.
38561 [!__ASSUME_32BITUIDS]: Remove conditional code.
38562 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38563 <kernel-features.h>.
38564 [__ASSUME_32BITUIDS]: Make code unconditional.
38565 [!__ASSUME_32BITUIDS]: Remove conditional code.
38566 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38567 <kernel-features.h>.
38568 [__ASSUME_32BITUIDS]: Make code unconditional.
38569 [!__ASSUME_32BITUIDS]: Remove conditional code.
38570 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38571 <kernel-features.h>.
38572 [__ASSUME_32BITUIDS]: Make code unconditional.
38573 [!__ASSUME_32BITUIDS]: Remove conditional code.
38574 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38575 <kernel-features.h>.
38576 [__ASSUME_32BITUIDS]: Make code unconditional.
38577 [!__ASSUME_32BITUIDS]: Remove conditional code.
38578 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38579 <kernel-features.h>.
38580 [__ASSUME_32BITUIDS]: Make code unconditional.
38581 [!__ASSUME_32BITUIDS]: Remove conditional code.
38582 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38583 <kernel-features.h>.
38584 [__ASSUME_32BITUIDS]: Make code unconditional.
38585 [!__ASSUME_32BITUIDS]: Remove conditional code.
38586 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38587 <kernel-features.h>.
38588 [__ASSUME_32BITUIDS]: Make code unconditional.
38589 [!__ASSUME_32BITUIDS]: Remove conditional code.
38590 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38591 <kernel-features.h>.
38592 [__ASSUME_32BITUIDS]: Make code unconditional.
38593 [!__ASSUME_32BITUIDS]: Remove conditional code.
38594 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38595 <kernel-features.h>.
38596 [__ASSUME_32BITUIDS]: Make code unconditional.
38597 [!__ASSUME_32BITUIDS]: Remove conditional code.
38598 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38599 <kernel-features.h>.
38600 [__ASSUME_32BITUIDS]: Make code unconditional.
38601 [!__ASSUME_32BITUIDS]: Remove conditional code.
38602 * sysdeps/unix/sysv/linux/kernel-features.h
38603 (__ASSUME_SETRESUID_SYSCALL): Remove.
38604 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38605 (__ASSUME_32BITUIDS): Likewise.
38606 (__ASSUME_LDT_WORKS): Likewise.
38607 (__ASSUME_O_DIRECTORY): Likewise.
38608 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38609 architecture but not kernel version.
38610 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38611 (__ASSUME_MMAP2_SYSCALL): Likewise.
38612 (__ASSUME_STAT64_SYSCALL): Likewise.
38613 (__ASSUME_IPC64): Likewise.
38614 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38615 <kernel-features.h>.
38616 [__ASSUME_32BITUIDS]: Make code unconditional.
38617 [!__ASSUME_32BITUIDS]: Remove conditional code.
38618 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38619 <kernel-features.h>.
38620 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38621 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38622 132096]: Remove conditional code.
38623 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38624 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
38633 <kernel-features.h>.
38634 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38636 (__setresgid): Do not declare.
38637 [__ASSUME_32BITUIDS]: Make code unconditional.
38638 [!__ASSUME_32BITUIDS]: Remove conditional code.
38639 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38640 <kernel-features.h>.
38641 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38643 (__setresuid): Do not declare.
38644 [__ASSUME_32BITUIDS]: Make code unconditional.
38645 [!__ASSUME_32BITUIDS]: Remove conditional code.
38646 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38647 <kernel-features.h>.
38648 [__ASSUME_32BITUIDS]: Make code unconditional.
38649 [!__ASSUME_32BITUIDS]: Remove conditional code.
38650 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38651 <kernel-features.h>.
38652 [__ASSUME_32BITUIDS]: Make code unconditional.
38653 [!__ASSUME_32BITUIDS]: Remove conditional code.
38655 2012-05-25 Richard Henderson <rth@twiddle.net>
38657 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38658 dl_hwcap to ifunc resolver.
38659 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38661 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38662 dl_hwcap to ifunc resolver.
38663 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38665 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38668 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38669 for |x| <= 2**-26, not 2**-57.
38670 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38673 2012-05-24 Jeff Law <law@redhat.com>
38675 * stdio-common/Makefile (tests): Add bug25.
38676 * stdio-common/bug25.c: New test.
38678 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38681 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38682 multiple of MALLOC_ALIGNMENT in size.
38683 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38685 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38687 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38689 (FILENAME_MAX): Use macro-int-constant.
38690 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38691 (_IOFBF): Use macro-int-constant.
38692 (_IOLBF): Likewise.
38693 (_IONBF): Likewise.
38694 (SEEK_CUR): Likewise.
38695 (SEEK_END): Likewise.
38696 (SEEK_SET): Likewise.
38697 (TMP_MAX): Likewise.
38698 (EOF): Use macro-int-constant. Require < 0.
38699 (NULL): Use macro-constant. Require == 0.
38700 (stdin): Require type to be FILE *.
38701 (stdout): Likewise.
38702 (stderr): Likewise.
38703 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38704 macro-int-constant.
38705 (EXIT_SUCCESS): Likewise.
38706 (NULL): Use macro-constant. Require == 0.
38707 (RAND_MAX): Use macro-int-constant.
38708 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38709 [C99-based standards] (strtof): Require function.
38710 [C99-based standards] (strtold): Likewise.
38711 [C99-based standards] (strtoll): Likewise.
38712 [C99-based standards] (strtoull): Likewise.
38713 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38714 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38715 [ISO || ISO99 || ISO11] (math.h): Likewise.
38716 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38717 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38720 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38723 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38724 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38725 * intl/dgettext.c (DCGETTEXT): Likewise.
38726 * intl/gettext.c (DCGETTEXT): Likewise.
38727 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38728 * posix/regex_internal.h (gettext): Likewise.
38729 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38730 Remove declaration.
38731 * include/argz.h (__argz_count_internal)
38732 (__argz_stringify_internal): Remove declaration.
38733 (__argz_count, __argz_stringify): Declare hidden proto.
38734 * intl/dcgettext.c: Remove use of INTDEF.
38735 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38736 * string/argz-stringify.c: Likewise.
38737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38739 Declare hidden proto.
38740 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38741 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38742 Declare hidden proto.
38743 * include/stdio.h (__asprintf_internal): Don't declare.
38744 (__asprintf): Don't define as macro. Declare hidden proto.
38745 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38746 (__fsetlocking): Declare hidden proto.
38747 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38748 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38750 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38751 (_IO_setlinebuf): Remove use of INTUSE.
38752 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38753 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38754 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38755 Remove declaration.
38756 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38757 (_IO_do_flush): Remove use of INTUSE.
38758 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38759 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38760 (_IO_adjust_column, _IO_least_wmarker)
38761 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38762 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38763 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38764 (_IO_default_doallocate, _IO_wdefault_doallocate)
38765 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38766 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38767 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38768 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38769 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38770 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38771 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38772 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38773 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38774 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38775 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38776 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38777 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38779 (_IO_flush_all_internal, _IO_adjust_column_internal)
38780 (_IO_default_uflow_internal, _IO_default_finish_internal)
38781 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38782 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38783 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38784 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38785 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38786 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38787 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38788 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38789 (_IO_file_close_internal, _IO_file_close_it_internal)
38790 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38791 (_IO_file_init_internal, _IO_file_attach_internal)
38792 (_IO_file_fopen_internal, _IO_file_read_internal)
38793 (_IO_file_sync_internal, _IO_file_seek_internal)
38794 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38795 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38796 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38797 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38798 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38799 (_IO_list_all_internal, _IO_link_in_internal)
38800 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38801 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38802 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38803 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38804 (_IO_do_write_internal, _IO_padn_internal)
38805 (_IO_getline_info_internal, _IO_getline_internal)
38806 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38807 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38808 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38809 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38810 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38811 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38812 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38813 with libc_hidden_ver, remove use of INTUSE.
38814 * libio/genops.c: Likewise.
38815 * libio/freopen.c: Likewise.
38816 * libio/freopen64.c: Likewise.
38817 * libio/iofclose.c: Likewise.
38818 * libio/iofdopen.c: Likewise.
38819 * libio/iofflush.c: Likewise.
38820 * libio/iofflush_u.c: Likewise.
38821 * libio/iofgets.c: Likewise.
38822 * libio/iofgets_u.c: Likewise.
38823 * libio/iofopen.c: Likewise.
38824 * libio/iofopncook.c: Likewise.
38825 * libio/iofread.c: Likewise.
38826 * libio/iofread_u.c: Likewise.
38827 * libio/ioftell.c: Likewise.
38828 * libio/iofwrite.c: Likewise.
38829 * libio/iogetline.c: Likewise.
38830 * libio/iogets.c: Likewise.
38831 * libio/iogetwline.c: Likewise.
38832 * libio/iopadn.c: Likewise.
38833 * libio/iopopen.c: Likewise.
38834 * libio/ioseekoff.c: Likewise.
38835 * libio/ioseekpos.c: Likewise.
38836 * libio/iosetbuffer.c: Likewise.
38837 * libio/iosetvbuf.c: Likewise.
38838 * libio/ioungetc.c: Likewise.
38839 * libio/ioungetwc.c: Likewise.
38840 * libio/iovdprintf.c: Likewise.
38841 * libio/iovsprintf.c: Likewise.
38842 * libio/iovsscanf.c: Likewise.
38843 * libio/memstream.c: Likewise.
38844 * libio/obprintf.c: Likewise.
38845 * libio/oldfileops.c: Likewise.
38846 * libio/oldiofclose.c: Likewise.
38847 * libio/oldiofdopen.c: Likewise.
38848 * libio/oldiofopen.c: Likewise.
38849 * libio/oldiopopen.c: Likewise.
38850 * libio/oldstdfiles.c: Likewise.
38851 * libio/putc.c: Likewise.
38852 * libio/setbuf.c: Likewise.
38853 * libio/setlinebuf.c: Likewise.
38854 * libio/stdfiles.c: Likewise.
38855 * libio/strops.c: Likewise.
38856 * libio/vasprintf.c: Likewise.
38857 * libio/vscanf.c: Likewise.
38858 * libio/vsnprintf.c: Likewise.
38859 * libio/vswprintf.c: Likewise.
38860 * libio/wfiledoalloc.c: Likewise.
38861 * libio/wfileops.c: Likewise.
38862 * libio/wgenops.c: Likewise.
38863 * libio/wmemstream.c: Likewise.
38864 * libio/wstrops.c: Likewise.
38865 * libio/__fpurge.c: Likewise.
38866 * libio/__fsetlocking.c: Likewise.
38867 * assert/assert.c: Likewise.
38868 * debug/fgets_chk.c: Likewise.
38869 * debug/fgets_u_chk.c: Likewise.
38870 * debug/fread_chk.c: Likewise.
38871 * debug/fread_u_chk.c: Likewise.
38872 * debug/gets_chk.c: Likewise.
38873 * debug/obprintf_chk.c: Likewise.
38874 * debug/vasprintf_chk.c: Likewise.
38875 * debug/vdprintf_chk.c: Likewise.
38876 * debug/vsnprintf_chk.c: Likewise.
38877 * debug/vsprintf_chk.c: Likewise.
38878 * malloc/mtrace.c: Likewise.
38879 * misc/error.c: Likewise.
38880 * misc/syslog.c: Likewise.
38881 * stdio-common/asprintf.c: Likewise.
38882 * stdio-common/fxprintf.c: Likewise.
38883 * stdio-common/getw.c: Likewise.
38884 * stdio-common/isoc99_fscanf.c: Likewise.
38885 * stdio-common/isoc99_scanf.c: Likewise.
38886 * stdio-common/isoc99_vfscanf.c: Likewise.
38887 * stdio-common/isoc99_vscanf.c: Likewise.
38888 * stdio-common/isoc99_vsscanf.c: Likewise.
38889 * stdio-common/printf-prs.c: Likewise.
38890 * stdio-common/printf_fp.c: Likewise.
38891 * stdio-common/printf_fphex.c: Likewise.
38892 * stdio-common/printf_size.c: Likewise.
38893 * stdio-common/putw.c: Likewise.
38894 * stdio-common/scanf.c: Likewise.
38895 * stdio-common/sprintf.c: Likewise.
38896 * stdio-common/tmpfile.c: Likewise.
38897 * stdio-common/vfprintf.c: Likewise.
38898 * stdio-common/vfscanf.c: Likewise.
38899 * stdlib/strfmon_l.c: Likewise.
38900 * sunrpc/openchild.c: Likewise.
38901 * sunrpc/xdr_stdio.c: Likewise.
38902 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38903 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38905 2012-05-24 Roland McGrath <roland@hack.frob.com>
38907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38909 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38910 in the third column, to generate for the shared library an IFUNC
38911 that uses _dl_vdso_vsym.
38912 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38913 * Makeconfig (object-suffixes-noshared): New variable.
38915 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38916 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38917 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38918 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38921 * include/sys/time.h (__gettimeofday): Remove macro.
38922 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38923 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38925 (__gettimeofday): Add libc_hidden_def.
38926 (gettimeofday): Add libc_hidden_weak.
38927 * sysdeps/mach/gettimeofday.c: Likewise.
38928 * sysdeps/posix/gettimeofday.c: Likewise.
38929 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38930 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38932 (__gettimeofday_internal): Remove strong_alias.
38933 (__gettimeofday): Add libc_hidden_def.
38934 (gettimeofday): Add libc_hidden_weak.
38935 * sysdeps/unix/syscalls.list (gettimeofday):
38936 Remove __gettimeofday_internal alias.
38938 2012-05-24 Daniel Jacobowitz <drow@false.org>
38939 H.J. Lu <hongjiu.lu@intel.com>
38942 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38943 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38944 (largebin_index_32_big): New.
38945 (largebin_index): Use it for 16-byte alignment.
38946 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38947 correction with front_misalign.
38949 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38977 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38978 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38980 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38984 * math/libm-test.inc (exp_test): Add test from bug 14036.
38985 (pow_test): Add test from bug 10846.
38987 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38989 (special_function): Do not include flags in test name.
38990 (parse_args): Likewise.
38991 * sysdeps/i386/fpu/libm-test-ulps: Update.
38992 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38993 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38994 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38997 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38999 * math/libm-test.inc ("Philosophy"): Update comment about
39001 (UNDERFLOW_EXCEPTION): New macro.
39002 (UNDERFLOW_EXCEPTION_OK): Likewise.
39003 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39004 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39005 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39006 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39007 (INVALID_EXCEPTION_OK): Update value.
39008 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39009 (OVERFLOW_EXCEPTION_OK): Likewise.
39010 (IGNORE_ZERO_INF_SIGN): Likewise.
39011 (test_exceptions): Handle underflow exceptions.
39012 (acos_test): Update for underflow exception expectations.
39013 (cexp_test): Likewise.
39014 (clog_test): Likewise.
39015 (clog10_test): Likewise.
39016 (csqrt_test): Likewise.
39017 (ctan_test): Likewise.
39018 (ctanh_test): Likewise.
39019 (exp_test): Likewise.
39020 (exp10_test): Likewise.
39021 (exp2_test): Likewise.
39022 (expm1_test): Likewise.
39023 (fma_test): Likewise.
39024 (j0_test): Likewise.
39025 (jn_test): Likewise.
39026 (nexttoward_test): Likewise.
39027 (pow_test): Likewise.
39028 (scalbn_test): Likewise.
39029 (scalbln_test): Likewise.
39030 (tan_test): Likewise.
39031 (y1_test): Likewise.
39032 * sysdeps/i386/fpu/libm-test-ulps: Update.
39033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39035 2012-05-23 David S. Miller <davem@davemloft.net>
39037 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39038 (__libc_sigaction): Remove unused local variables.
39040 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39042 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39044 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39046 mktime: avoid signed integer overflow
39047 * time/mktime.c (__mktime_internal): Do not mishandle the case
39048 where diff == INT_MIN.
39050 mktime: simplify computation of average
39051 * time/mktime.c (ranged_convert): Use new time_t_avg function
39052 instead of rolling our own (probably-slower) code.
39054 mktime: do not assume signed right shift propagates sign bit
39055 * time/mktime.c (isdst_differ): New static function.
39056 (__mktime_internal): No need to normalize tm_isdst now.
39057 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39060 mktime: merge another wrapv change from gnulib
39061 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39062 from some compilers.
39064 mktime: remove incorrect attempt at unusual arithmetics
39065 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39066 The code didn't really work on such machines anyway.
39067 (TYPE_MINIMUM): Assume two's complement.
39068 (twos_complement_arithmetic): Verify that long_int and time_t
39069 are two's complement (or unsigned, in the latter case).
39071 mktime: check signed shifts on long_int and time_t, too
39072 * time/mktime.c (SHR): Check that shifts work as desired
39073 on the types long_int and time_t too, as SHR is used on
39076 mktime: do not assume 'long' is wide enough
39077 * time/mktime.c (verify): Move decl up.
39078 (long_int): New type.
39079 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39080 to remove assumption in the code that 'long' is wide enough to
39081 store year values. This assumption is not true on x32 and on
39082 some non-glibc platforms.
39084 mktime: merge wrapv change from gnulib
39085 * time/mktime.c (WRAPV): New macro.
39086 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39087 (guess_time_tm, __mktime_internal): Do not assume that signed
39088 integer overflow wraps around; modern compilers generate code
39089 where this assumption is no longer valid.
39091 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39093 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39094 Replace "jmp L(pseudo_end)" with "ret".
39095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39098 2012-05-23 Andreas Jaeger <aj@suse.de>
39100 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39101 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39103 2012-05-23 Andreas Jaeger <aj@suse.de>
39104 Maximilian Attems <max@stro.at>
39106 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39109 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39111 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39112 code so that pseudo_end is just ret and the stack pointer is
39113 correct also for static library in error case.
39115 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39117 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39118 move to syscalls.list.
39119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39124 * manual/install.texi (Running make install): Do not mention Linux
39125 kernel version for which pt_chown is not needed.
39126 (Linux): Do not mention problems with nscd with 2.0 kernels.
39127 * INSTALL: Regenerated.
39129 2012-05-23 Andreas Jaeger <aj@suse.de>
39131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39132 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39134 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39136 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39138 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39144 * sysdeps/unix/sysv/linux/bits/in.h
39145 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39147 2012-05-22 Roland McGrath <roland@hack.frob.com>
39149 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39150 (PREPARE_VERSION): Just use assert instead, it will be elided
39151 under [NDEBUG] anyway.
39153 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39155 * sysdeps/unix/sysv/linux/Makefile: Include
39156 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39157 (sysdep_routines): Remove sysctl.
39158 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39159 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39160 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39161 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39162 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39164 2012-05-22 Andreas Jaeger <aj@suse.de>
39166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39167 that pseudo_end is just ret and the stack pointer is correct also
39168 for static library in error case.
39170 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39173 * nss/nsswitch.c (defconfig_entries): New variable.
39174 (__nss_database_lookup): Don't leak defconfig entries.
39175 (nss_parse_service_list): Don't leak on error paths.
39176 (free_database_entries): New function.
39177 (free_defconfig): New function.
39178 (free_mem): Move common code to free_database_entries.
39180 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39184 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39186 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39187 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39190 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39191 (INTERNAL_SYSCALL_TYPES): Likewise.
39192 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39193 (LOAD_REGS_TYPES_[1-6]): Likewise.
39194 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39195 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39197 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39199 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39200 copysignl for GLIBC_2_0.
39201 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39202 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39204 logbl for GLIBC_2_0.
39205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39206 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39208 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39211 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39213 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39216 * time/mktime.c: Update copyright years.
39218 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39220 mktime: merge comment-quoting-style change from gnulib
39221 * time/mktime.c: Quote 'like this' in comments.
39222 The GNU coding standards suggest that we no longer quote `like this',
39223 as "`" and "'" are typically rendered asymmetrically nowadays.
39224 The typical gnulib style is to quote 'like this' when quoting
39225 code, and "like this" when quoting English.
39227 * time/mktime.c (compile-command): Add "-I.".
39229 mktime: merge mktime-internal.h change from gnulib
39230 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39232 mktime: merge time_r change from gnulib
39233 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39235 mktime: merge DEBUG change from gnulib
39236 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39237 case system <time.h> has a #define.
39239 mktime: merge <sys/types.h> change from gnulib
39240 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39241 since <time.t> is now guaranteed to define time_t.
39243 mktime: merge HAVE_CONFIG_H change from gnulib
39244 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39246 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39251 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39253 (struct rusage): Use anonymous union to pad each field to
39256 2012-05-21 David S. Miller <davem@davemloft.net>
39258 * Makefules (o-iterator): Remove .s cases.
39259 (compile-command.s): Delete.
39260 (COMPILE.s): Delete.
39261 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39263 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39265 * configure.in (libc_cv_predef_stack_protector): Only consider
39266 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39267 * configure: Regenerated.
39269 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39272 New macro. Use R*LP on int and pointer.
39273 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39274 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39275 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39276 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39278 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39279 [__WORDSIZE_TIME64_COMPAT32] instead of
39280 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39281 (struct utmp): Likewise.
39282 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39283 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39285 (__WORDSIZE_TIME64_COMPAT32): This.
39286 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39287 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39288 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39289 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39290 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39291 (__WORDSIZE_TIME64_COMPAT32): New macro.
39293 2012-05-21 Andreas Jaeger <aj@suse.de>
39295 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39296 only if [SHARED]. Add prototype for __wcschr_ia32.
39298 2012-05-21 Roland McGrath <roland@hack.frob.com>
39300 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39301 of %rbp unmolested in the jmp_buf while mangling the low bits.
39302 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39303 unmolested high bits of %rbp while demangling the low bits.
39304 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39306 2012-05-21 Andreas Jaeger <aj@suse.de>
39308 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39309 * sunrpc/svc_simple.c: Use it for registerrpc.
39310 * sunrpc/xcrypt.c: Use it for passwd2des.
39312 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39316 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39317 Don't define if [__SYSCALL_WORDSIZE != 32].
39318 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39321 2012-05-21 Bruno Haible <bruno@clisp.org>
39322 Andreas Jaeger <aj@suse.de>
39324 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39325 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39326 inptr and inend for must_buffer_ch.
39327 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39328 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39329 * stdio-common/Makefile (tests): Remove bug15.
39330 (bug15-ENV): Remove macro.
39331 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39334 2012-05-19 Andreas Jaeger <aj@suse.de>
39335 Roland McGrath <roland@hack.frob.com>
39337 * manual/contrib.texi: Completely rewritten. It contains now an
39338 alphabetical list of contributors and their contributions.
39340 2012-05-21 Richard Henderson <rth@twiddle.net>
39342 * misc/getauxval.c (__getauxval): Use unsigned long int.
39343 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39344 (getauxval): Use unsigned long int.
39346 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39348 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39350 2012-05-21 Roland McGrath <roland@hack.frob.com>
39352 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39353 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39354 __alignof__ (long double).
39356 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39360 2012-05-20 Richard Henderson <rth@twiddle.net>
39362 * misc/getauxval.c: New file.
39363 * misc/sys/auxv.h: New file.
39364 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39365 (routines): Add getauxval.
39366 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39367 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39368 * elf/dl-sysdep.c (_dl_auxv): Remove.
39369 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39370 * elf/dl-support.c (_dl_auxv): New variable.
39371 (_dl_aux_init): Initialize it.
39372 * manual/startup.texi (Auxiliary Vector): New node.
39373 * sysdeps/generic/bits/hwcap.h: New file.
39374 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39375 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39376 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39377 * sysdeps/sparc/sysdep.h: ... here. Include it.
39378 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39379 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39385 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39391 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39395 2012-05-19 David S. Miller <davem@davemloft.net>
39397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39399 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39402 * math/s_ccosh.c: Include <float.h>
39403 (__ccosh): Avoid internal overflow calculating sinh and cosh
39404 values before multiplying by sin and cos values.
39405 * math/s_ccoshf.c: Likewise.
39406 * math/s_ccoshl.c: Likewise.
39407 * math/s_csin.c: Likewise.
39408 * math/s_csinf.c: Likewise.
39409 * math/s_csinl.c: Likewise.
39410 * math/s_csinh.c: Likewise.
39411 * math/s_csinhf.c: Likewise.
39412 * math/s_csinhl.c: Likewise.
39413 * math/libm-test.inc (ccos_test): Add more tests.
39414 (ccosh_test): Likewise.
39415 (csin_test): Likewise.
39416 (csinh_test): Likewise.
39417 * sysdeps/i386/fpu/libm-test-ulps: Update.
39418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39420 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39422 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39423 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39425 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39427 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39429 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39430 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39431 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39432 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39433 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39434 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39435 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39436 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39437 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39438 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39439 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39440 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39441 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39442 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39443 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39444 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39445 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39446 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39447 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39448 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39449 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39450 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39451 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39452 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39453 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39454 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39455 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39456 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39457 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39458 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39459 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39461 2012-05-18 Andreas Jaeger <aj@suse.de>
39463 * csu/.gitignore: Delete.
39465 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39467 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39468 (timex): Use __syscall_slong_t.
39470 2012-05-18 Andreas Jaeger <aj@suse.de>
39471 Carlos O'Donell <carlos_odonell@mentor.com>
39473 * manual/install.texi (Configuring and compiling): Update
39474 description about files modified in the source directory.
39475 * INSTALL: Regenerated.
39477 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39479 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39480 value. Use "or" to set return value to -1.
39481 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39482 negate return value.
39484 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39486 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39487 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39488 failure if the compiler has Graphite support disabled.
39489 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39491 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39492 (CFLAGS-memmove.c): Likewise.
39493 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39496 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39498 * sysdeps/x86_64/x32/_itoa.h: New file.
39500 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39501 getdents system call only if kernel and user dirents have the
39502 same d_ino and d_off.
39504 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39505 LLONG_MAX != LONG_MAX.
39506 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39507 (_fitoa_word): Likewise.
39509 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39511 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39513 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39515 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39516 include <bits/wordsize.h>. Check __x86_64__ instead of
39518 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39519 if __x86_64__ is defined. Use anonymous union on fpstate.
39521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39524 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39526 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39527 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39528 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39529 Refer to _rtld_local_ro instead of _rtld_global_ro.
39530 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39532 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39534 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39536 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39537 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39538 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39540 * sysdeps/powerpc/powerpc32/dl-machine.c
39541 (__elf_machine_runtime_setup) [PROF]: Don't reference
39544 2012-05-18 Andreas Jaeger <aj@suse.de>
39546 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39547 function only available for GCCs before 3.4 since GCC 3.4
39548 introduced a builtin.
39550 (llrintf): Likewise.
39551 (llrint): Likewise.
39558 (nearbyint): Likewise.
39559 (nearbyintf): Likewise.
39563 (floorf): Likewise.
39565 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39567 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39568 on both fields and cast pointer to __syscall_ulong_t.
39570 * bits/types.h (__fsword_t): New type.
39571 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39572 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39574 (__FSWORD_T_TYPE): Likewise.
39575 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39576 (__FSWORD_T_TYPE): Likewise.
39577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39578 (__FSWORD_T_TYPE): Likewise.
39579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39580 (__FSWORD_T_TYPE): Likewise.
39581 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39582 __SWORD_TYPE with __fsword_t.
39583 (statfs64): Likewise.
39585 2012-05-17 David S. Miller <davem@davemloft.net>
39587 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39589 2012-05-17 Andreas Jaeger <aj@suse.de>
39591 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39594 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39596 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39598 2012-05-17 Andreas Jaeger <aj@suse.de>
39600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39603 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39605 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39607 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39609 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39610 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39612 2012-05-17 Andreas Jaeger <aj@suse.de>
39613 Carlos O'Donell <carlos_odonell@mentor.com>
39616 * sysdeps/x86_64/multiarch/init-arch.h
39617 (bit_YMM_Usable): Rename to...
39618 (bit_AVX_Usable): ... this.
39619 (bit_FMA4_Usable): New macro.
39620 (bit_XMM_state): New macro.
39621 (bit_YMM_state): New macro.
39622 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39623 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39624 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39625 (CPUID_OSXSAVE): New macro.
39626 (CPUID_AVX): New macro.
39627 (CPUID_FMA4): New macro.
39628 (index_YMM_Usable): Rename to...
39629 (index_AVX_Usable): ... this.
39630 (HAS_AVX): Use HAS_ARCH_FEATURE.
39631 (HAS_FMA4): Likewise.
39632 (HAS_YMM_USABLE): Remove.
39633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39634 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39636 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39637 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39638 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39639 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39640 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39642 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39644 * math/libm-test.c: Support platforms without multiple rounding modes.
39645 * math/bug-nextafter.c: Support platforms without FP exceptions.
39646 * math/bug-nexttoward.c: Likewise.
39647 * math/test-fenv.c: Likewise.
39648 * math/test-misc.c: Likewise.
39649 * stdlib/bug-getcontext.c: Likewise.
39651 2012-05-17 Andreas Jaeger <aj@suse.de>
39653 * manual/examples/search.c (critter_cmp): Change signature to
39655 * manual/string.texi (Collation Functions): Likewise.
39657 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39659 * bits/types.h: Fold copyright years.
39660 * bits/typesizes.h: Likewise.
39661 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39665 * time/time.h: Likewise.
39667 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39670 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39671 in instead of returning them. Return void.
39672 (__libc_mallinfo): Accumulate over all arenas.
39673 (__malloc_stats): Adjust for change in int_mallinfo interface.
39675 2012-05-16 Roland McGrath <roland@hack.frob.com>
39678 * configure.in (NM): Add AC_CHECK_TOOL for it.
39679 (libc_extra_cflags): New substituted variable.
39680 Check for -fstack-protector being used implicitly.
39681 * configure: Regenerated.
39682 * config.make.in (config-extra-cflags): New variable,
39683 gets @libc_extra_cflags@.
39684 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39687 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39688 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39689 * configure: Regenerated.
39690 * config.make.in (CPPUNDEFS): New substituted variable.
39691 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39692 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39693 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39695 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39697 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39698 (mq_attr): Use __syscall_slong_t.
39700 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39702 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39703 Check __x86_64__ instead of __WORDSIZE.
39704 (_STAT_VER_LINUX): Likewise.
39705 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39706 __syscall_ulong_t and __syscall_slong_t.
39707 (stat64): Likewise.
39709 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39711 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39713 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39715 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39719 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39722 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39723 include <bits/wordsize.h>. Check __x86_64__ instead of
39725 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39727 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39730 include <bits/wordsize.h>. Check __x86_64__ instead of
39732 (user_regs_struct): Use "__extension__ unsigned long long"
39733 instead of "unsigned long" if __x86_64__ is defined.
39734 (user): Likewise. Pad after pointer field if __ILP32__ is
39737 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39739 * configure.in (makeinfo): Require version 4.5 or later. Allow
39741 * configure: Regenerated.
39742 * manual/install.texi (texinfo): Increase version requirement to
39744 * INSTALL: Regenerated.
39746 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39748 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39750 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39752 * sysdeps/x86_64/x32/ffs.c: New file.
39754 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39756 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39757 defined. Use __syscall_ulong_t.
39758 (shminfo): Use __syscall_ulong_t.
39759 (shm_info): Likewise.
39761 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39764 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39766 (msgqnum_t): Use __syscall_ulong_t.
39767 (msglen_t): Likewise.
39768 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39771 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39772 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39774 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39776 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39777 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39779 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39782 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39783 include <bits/wordsize.h>. Check __x86_64__ instead of
39786 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39787 "unsigned long long int" if __x86_64__ is defined.
39788 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39792 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39794 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39796 (GET_PC): Cast to uintptr_t first.
39797 (GET_FRAME): Likewise.
39798 (GET_STACK): Likewise.
39800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39801 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39802 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39803 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39804 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39805 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39806 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39807 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39808 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39809 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39810 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39812 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39815 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39816 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39820 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39821 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39822 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39823 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39824 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39825 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39826 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39828 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39830 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39832 * Makerules (+depfiles): Also collect depfiles from .oS in
39834 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39835 .oS, $(libnldbl-routines)).
39837 * Makerules (native-compile-mkdep-flags): Define.
39838 * sunrpc/Makefile (extra-objs): Add $(addprefix
39839 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39840 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39841 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39842 calling $(make-target-directory).
39844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39846 * bits/types.h (__snseconds_t): Removed.
39847 * time/time.h (struct timespec): Replace __snseconds_t with
39849 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39850 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39853 (__SNSECONDS_T_TYPE): Likewise.
39854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39855 (__SNSECONDS_T_TYPE): Likewise.
39856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39857 (__SNSECONDS_T_TYPE): Likewise.
39859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39861 * sysdeps/mach/hurd/bits/typesizes.h
39862 (__SYSCALL_SLONG_TYPE): New macro.
39863 (__SYSCALL_ULONG_TYPE): Likewise.
39865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39867 * bits/types.h (__syscall_slong_t): New type.
39868 (__syscall_ulong_t): Likewise.
39870 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39871 (__SYSCALL_ULONG_TYPE): Likewise.
39872 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39873 (__SYSCALL_SLONG_TYPE): Likewise.
39874 (__SYSCALL_ULONG_TYPE): Likewise.
39875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39876 (__SYSCALL_SLONG_TYPE): Likewise.
39877 (__SYSCALL_ULONG_TYPE): Likewise.
39878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39879 (__SYSCALL_SLONG_TYPE): Likewise.
39880 (__SYSCALL_ULONG_TYPE): Likewise.
39882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39884 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39885 Add sigaltstack-offsets.sym.
39886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39887 <sigaltstack-offsets.h>.
39888 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39889 longjmp_msg pointer.
39890 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39891 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39893 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39895 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39897 * elf/stackguard-macros.h: Remove file.
39898 * sysdeps/generic/stackguard-macros.h: New file.
39899 * sysdeps/i386/stackguard-macros.h: Likewise.
39900 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39901 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39902 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39903 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39904 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39905 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39906 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39907 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39908 <elf/stackguard-macros.h>.
39911 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39912 __aligned__ in attribute.
39913 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39914 (gregset_t): Likewise.
39916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39918 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39919 * sysdeps/x86_64/64/Implies-after: Here. New file.
39920 * sysdeps/x86_64/x32/Implies-after: New file.
39922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39924 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39925 and access return value for _dl_profile_fixup. Use R10_LP to
39928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39930 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39934 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39935 * sysdeps/x86_64/x32/sysdep.h: New file.
39937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39939 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39940 * sysdeps/x86_64/setjmp.S: Likewise.
39942 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39944 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39945 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39946 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39947 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39948 remove unused global constant.
39950 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39952 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39953 include of <not-cancel.h>.
39955 2012-05-15 Roland McGrath <roland@hack.frob.com>
39957 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39959 2012-05-15 Jeff Law <law@redhat.com>
39960 Andreas Jaeger <aj@suse.de>
39963 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39965 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39966 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39968 code changing __hst_map_handle.map.
39970 2012-05-15 Roland McGrath <roland@hack.frob.com>
39972 * configure.in (sysnames): Look for Implies-before and Implies-after
39974 * configure: Regenerated.
39976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39978 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39979 8-byte data alignment with LP_SIZE alignment.
39981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39983 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39988 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39992 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39993 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39994 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40000 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40001 (stackinfo_sub_sp): Likewise.
40003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40005 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40020 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40024 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40025 into R11_LP and load __x86_64_shared_cache_size_half into
40028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40030 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40033 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40042 powerpc32/power7/fpu/s_logb.c via #include.
40043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40044 powerpc32/power7/fpu/s_logbf.c via #include.
40045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40046 powerpc32/power7/fpu/s_logbl.c via #include.
40048 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40050 * README.libm: Remove file.
40052 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40054 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40055 count for x32. Use R*_LP and omit operand-size suffix.
40057 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40059 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40060 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40061 * sysdeps/x86_64/x32/shlib-versions: New file.
40063 2012-05-14 Roland McGrath <roland@hack.frob.com>
40065 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40066 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40067 Use _dl_fatal_printf instead.
40069 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40071 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40072 set if not set by the user. Do not allow for being unset.
40073 * sysdeps/unix/sysv/linux/configure: Regenerated.
40075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40077 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40078 the `q' suffix from lea and replace .quad with ASM_ADDR.
40080 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40083 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40085 (PTR_DEMANGLE): Likewise.
40087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40089 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40091 (ASM_ADDR): Likewise.
40092 (RAX_LP): Likewise.
40093 (RBP_LP): Likewise.
40094 (RBX_LP): Likewise.
40095 (RCX_LP): Likewise.
40096 (RDI_LP): Likewise.
40097 (RSI_LP): Likewise.
40098 (RSP_LP): Likewise.
40101 (R10_LP): Likewise.
40102 (R10_LP): Likewise.
40103 (R11_LP): Likewise.
40104 (R12_LP): Likewise.
40105 (R13_LP): Likewise.
40106 (R14_LP): Likewise.
40107 (R15_LP): Likewise.
40109 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40111 * sysdeps/x86_64/x32/dl-machine.h: New file.
40113 2012-05-14 Andreas Jaeger <aj@suse.de>
40115 * manual/Makefile (subdir): Remove export of subdir.
40116 (all): Remove target.
40117 (.PHONY): Remove all from list.
40118 (mkinstalldirs): Remove.
40119 (.PHONY): Remove installdirs from list.
40120 ($(inst_infodir)/libc.info): Use make-target-directory.
40121 (installdirs): Remove.
40122 (subdir_%): Remove.
40123 (glibc-targets): Remove.
40126 ($(objpfx)stubs ../po/manual.pot): Remove.
40127 ($(objpfx)stamp%): Remove.
40128 (make-target-directory): Remove.
40129 (subdir_install): Remove.
40130 (routines): Remove.
40137 * manual/.gitignore: Remove, it's not needed anymore.
40138 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40140 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40142 (texis): Renamed to $(objpfx)texis.
40143 (texis-path): New, contains path to generated files.
40144 (chapters.%): Use texis-path for complete path, add extra argument
40146 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40147 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40148 (summary,texi, stamp-summary): Use complete path of
40149 files. Generate files in build dir.
40150 (dir-add.texi): Build in build dir.
40151 (libm-err.texi,stamp-libm-err): Likewise.
40152 (version.texi, stamp-version): Likewise.
40153 (.%c.texi): Likewise.
40154 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40155 (mostlyclean): Remove target.
40156 (realclean): Remove target.
40157 (generated): Add new variable with contents from mostlyclean and
40158 realclean, remove entries duplicated in common-mostlyclean, add
40159 stamp-libm-err and stamp-version.
40160 (generated-dirs): Add libc directory.
40161 ($(inst_infodir)/libc.info): Install files from build dir.
40163 * manual/install.texi (Configuring and compiling): Adjust since
40164 the info files are not part of the tar ball anymore.
40166 2012-05-14 Andreas Jaeger <aj@suse.de>
40168 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40171 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40174 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40175 to 2.2.0 where earlier.
40176 * sysdeps/unix/sysv/linux/configure: Regenerated.
40177 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40178 Remove conditional code.
40179 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40180 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40181 Remove conditional code.
40182 [!__NR_lchown]: Likewise.
40183 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40184 [__NR_lchown]: Likewise.
40185 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40186 comment referencing __ASSUME_LCHOWN_SYSCALL.
40187 * sysdeps/unix/sysv/linux/i386/sigaction.c
40188 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40189 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40190 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40191 Remove conditional code.
40192 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40193 (__protocol_available): Remove #if 0 code.
40194 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40196 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40197 * sysdeps/unix/sysv/linux/kernel-features.h
40198 (__ASSUME_GETCWD_SYSCALL): Don't define.
40199 (__ASSUME_REALTIME_SIGNALS): Likewise.
40200 (__ASSUME_PREAD_SYSCALL): Likewise.
40201 (__ASSUME_PWRITE_SYSCALL): Likewise.
40202 (__ASSUME_POLL_SYSCALL): Likewise.
40203 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40204 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40206 (__ASSUME_SIOCGIFNAME): Don't define.
40207 (__ASSUME_MSG_NOSIGNAL): Likewise.
40208 (__ASSUME_SENDFILE): Define unconditionally.
40209 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40210 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40212 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40213 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40215 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40216 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40217 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40218 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40243 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40244 Remove conditional code.
40245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40246 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40247 Remove conditional code.
40248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40249 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40250 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40251 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40252 Remove conditional code.
40253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40254 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40255 Remove conditional code.
40256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40257 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40258 Remove conditional code.
40259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40260 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40261 Remove conditional code.
40262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40263 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40264 Remove conditional code.
40265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40266 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40269 * sysdeps/unix/sysv/linux/sigaction.c
40270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40272 * sysdeps/unix/sysv/linux/sigpending.c
40273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40275 * sysdeps/unix/sysv/linux/sigprocmask.c
40276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40278 * sysdeps/unix/sysv/linux/sigsuspend.c
40279 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40280 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40282 (__libc_missing_rt_sigs): Remove.
40283 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40284 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40285 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40286 Remove conditional code.
40287 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40288 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40291 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40293 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40295 2012-05-14 Andreas Jaeger <aj@suse.de>
40297 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40298 it's not used in glibc.
40299 (__coshm1): Likewise.
40300 (__acosh1p): Likewise.
40303 * manual/string.texi (Copying and Concatenation): Add missing
40304 variable in concat example.
40305 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40310 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40311 __builtin_clzl with __builtin_clzll.
40313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40316 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40319 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40321 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40322 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40323 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40324 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40326 2012-05-14 Mike Frysinger <vapier@gentoo.org>
40328 * NEWS: Update ia64 info.
40330 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40332 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40335 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40337 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40338 * sysdeps/unix/syscalls.list (dup3): Likewise.
40339 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40340 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40342 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40344 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40345 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40347 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40349 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40351 (TLS_IE): Use mov/add instead of movq/addq to load thread
40353 (TLS_GD_PREFIX): New.
40356 2012-05-11 David S. Miller <davem@davemloft.net>
40358 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40359 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40360 (_FPU_SETCW): Likewise.
40362 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40364 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40365 is 32-byte aligned.
40367 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40370 * iconvdata/gb18030.c: Update tables.
40371 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40372 characters specially.
40373 (BODY for TO_LOOP): Add encoding of missing ranges.
40375 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40378 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40379 * sysdeps/mach/hurd/dup3.c: Likewise.
40380 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40381 * sysdeps/powerpc/memmove.c:: Likewise.
40383 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40386 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40388 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40390 * elf/elf.h (R_X86_64_RELATIVE64): New.
40391 (R_X86_64_NUM): Updated.
40392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40393 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40394 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40395 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40396 tst-quad1pie tst-quad2pie
40397 (modules-names): Add tst-quadmod1 tst-quadmod2.
40398 ($(objpfx)tst-quad1): New dependency.
40399 ($(objpfx)tst-quad2): Likewise.
40400 ($(objpfx)tst-quad1pie): Likewise.
40401 ($(objpfx)tst-quad2pie): Likewise.
40402 * sysdeps/x86_64/tst-quad1.c: New file.
40403 * sysdeps/x86_64/tst-quad1pie.c: New file.
40404 * sysdeps/x86_64/tst-quad2.c: Likewise.
40405 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40406 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40407 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40408 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40409 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40413 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40414 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40415 * streams/stropts.h (t_scalar_t): Define type.
40417 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40418 (_PATH_PRESERVE): Set to "/var/lib".
40419 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40421 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40424 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40425 if __dir_mkfile succeeded.
40427 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40428 checking for _hurd_dtablesize. Unlock it right after having
40429 finished _hurd_dtable allocation.
40431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40433 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40434 * sysdeps/mach/hurd/configure: Regenerated.
40435 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40436 special-casing to...
40437 * sysdeps/gnu/configure.in: ... this new file.
40438 * sysdeps/unix/sysv/linux/configure: Regenerated.
40439 * sysdeps/gnu/configure: New generated file.
40441 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40442 for Linux: use nsec instead of usec, as well as:
40443 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40444 members of type struct timespec.
40445 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40447 (struct stat64): Likewise.
40448 (_STATBUF_ST_NSEC): New macro.
40449 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40451 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40452 __strtoul_internal rather than strtoul.
40454 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40456 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40461 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40462 which preserves existing values.
40463 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40465 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40467 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40468 TIMEOUT values. Return EINVAL for NFDS values either negative or
40469 greater than FD_SETSIZE.
40471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40473 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40474 allocated, call __vm_protect to finish enabling the existing space, and
40475 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40476 allocate the remainder.
40478 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40480 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40481 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40483 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40485 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40486 sysdeps/mach/hurd/readlink.c.
40488 * posix/tst-sysconf.c (posix_options): Only use
40489 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40490 _POSIX_SYNCHRONIZED_IO when they are defined
40491 * sysdeps/mach/hurd/bits/posix_opt.h:
40492 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40493 (_XOPEN_REALTIME): Undefine macro.
40494 (_XOPEN_REALTIME_THREADS): Undefine macro.
40495 (_XOPEN_SHM): Undefine macro.
40496 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40498 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40500 (_POSIX_ASYNC_IO): Undefine macro.
40501 (_POSIX_PRIORITIZED_IO): Undefine macro.
40502 (_POSIX_SPIN_LOCKS): Define macro to -1.
40504 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40505 SA_NODEFER, SA_RESETHAND.
40506 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40507 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40510 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40512 * elf/Makefile (pldd-modules): Define unconditionally.
40514 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40516 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40520 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40521 Return ENOENT when name is empty.
40522 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40526 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40528 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40532 Fix mlock in all cases except non-readable pages.
40533 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40534 instead of VM_PROT_ALL as parameter to __vm_wire function.
40536 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40537 (__mkdir): When path is `/', just fail with EEXIST.
40538 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40540 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40542 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40543 <sys/uio.h> (for writev).
40544 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40545 and <sys/param.h> (for MIN).
40547 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40549 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40550 REQUESTED_TIME. Properly set the remaining time and return EINTR
40553 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40555 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40556 Depend on against $(link-rpcuserlibs).
40558 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40560 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40561 (__libc_stack_end): Do not use attribute_relro.
40562 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40563 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40564 to libthread-provided value.
40565 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40568 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40571 * bits/libc-lock.h (__libc_once_get): New macro.
40572 * sysdeps/mach/bits/libc-lock.h: Likewise.
40573 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40575 instead of using implementation details.
40577 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40578 * libio/freopen.c: Likewise.
40579 * libio/freopen64.c: Likewise.
40580 * misc/syslog.c: Likewise.
40581 * nscd/connections.c: Likewise.
40582 * nscd/netgroupcache.c: Likewise.
40583 * sysdeps/posix/getcwd.c: Likewise.
40585 2012-05-10 Roland McGrath <roland@hack.frob.com>
40587 * math/w_ilogbf.c: Add #include <limits.h>.
40589 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40591 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40592 path instead of returning without unlocking.
40594 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40595 immediate-write ioctls.
40596 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40600 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40601 __builtin_frame_address instead of making assumptions about the
40602 location of the return address relative to DATA. Force early load of
40603 the return address.
40604 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40605 __builtin_frame_address.
40608 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40609 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40610 implement dup3 and do some further code clean-ups.
40611 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40612 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40614 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40616 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40618 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40619 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40620 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40621 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40622 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40625 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40626 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40627 when handler == SIG_ERR, not when handler != SIG_ERR.
40629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40631 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40632 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40635 accept4 for GNU Hurd.
40636 * include/sys/socket.h (__libc_accept4): New prototype.
40637 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40638 to implement __libc_accept4.
40639 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40641 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40643 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40644 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40645 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40646 signal-defines.sym.
40648 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40650 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40654 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40655 assertion on O_CLOEXEC flag.
40656 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40657 * hurd/intern-fd.c: Likewise.
40658 * hurd/port2fd.c: Likewise.
40660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40663 * bits/in.h (IPV6_PKTINFO): Define new macro.
40664 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40666 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40671 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40672 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40673 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40674 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40676 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40677 * math/libm-test.inc (logb_test) : Additional logb tests.
40679 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40680 Andreas Jaeger <aj@suse.de>
40682 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40683 * configure: Regenerated.
40684 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40685 * config.make.in (link-obsolete-rpc): New substituted variable.
40686 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40687 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40688 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40689 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40690 so that libc.a contains the symbols.
40691 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40692 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40693 * sunrpc/auth_none.c: Likewise.
40694 * sunrpc/auth_unix.c: Likewise.
40695 * sunrpc/authdes_prot.c: Likewise.
40696 * sunrpc/authuxprot.c: Likewise.
40697 * sunrpc/clnt_gen.c: Likewise.
40698 * sunrpc/clnt_perr.c: Likewise.
40699 * sunrpc/clnt_raw.c: Likewise.
40700 * sunrpc/clnt_simp.c: Likewise.
40701 * sunrpc/clnt_tcp.c: Likewise.
40702 * sunrpc/clnt_udp.c: Likewise.
40703 * sunrpc/clnt_unix.c: Likewise.
40704 * sunrpc/des_crypt.c: Likewise.
40705 * sunrpc/des_soft.c: Likewise.
40706 * sunrpc/get_myaddr.c: Likewise.
40707 * sunrpc/key_call.c: Likewise.
40708 * sunrpc/key_prot.c: Likewise.
40709 * sunrpc/netname.c: Likewise.
40710 * sunrpc/pm_getmaps.c: Likewise.
40711 * sunrpc/pm_getport.c: Likewise.
40712 * sunrpc/pmap_clnt.c: Likewise.
40713 * sunrpc/pmap_prot.c: Likewise.
40714 * sunrpc/pmap_prot2.c: Likewise.
40715 * sunrpc/pmap_rmt.c: Likewise.
40716 * sunrpc/publickey.c: Likewise.
40717 * sunrpc/rpc_cmsg.c: Likewise.
40718 * sunrpc/rpc_common.c: Likewise.
40719 * sunrpc/rpc_dtable.c: Likewise.
40720 * sunrpc/rpc_prot.c: Likewise.
40721 * sunrpc/rpc_thread.c: Likewise.
40722 * sunrpc/rtime.c: Likewise.
40723 * sunrpc/svc.c: Likewise.
40724 * sunrpc/svc_auth.c: Likewise.
40725 * sunrpc/svc_raw.c: Likewise.
40726 * sunrpc/svc_run.c: Likewise.
40727 * sunrpc/svc_tcp.c: Likewise.
40728 * sunrpc/svc_udp.c: Likewise.
40729 * sunrpc/svc_unix.c: Likewise.
40730 * sunrpc/svcauth_des.c: Likewise.
40731 * sunrpc/xcrypt.c: Likewise.
40732 * sunrpc/xdr.c: Likewise.
40733 * sunrpc/xdr_array.c: Likewise.
40734 * sunrpc/xdr_float.c: Likewise.
40735 * sunrpc/xdr_intXX_t.c: Likewise.
40736 * sunrpc/xdr_mem.c: Likewise.
40737 * sunrpc/xdr_rec.c: Likewise.
40738 * sunrpc/xdr_ref.c: Likewise.
40739 * sunrpc/xdr_sizeof.c: Likewise.
40740 * sunrpc/xdr_stdio.c: Likewise.
40742 2012-05-10 Roland McGrath <roland@hack.frob.com>
40744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40745 change. Update copyright years.
40747 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40749 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40751 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40752 Joseph Myers <joseph@codesourcery.com>
40753 Paul Pluzhnikov <ppluzhnikov@google.com>
40756 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40758 [cross-compiling] (extra-libs): Likewise.
40759 [cross-compiling] (extra-libs-others): Likewise.
40760 [cross-compiling] (librpcsvc-routines): Likewise.
40761 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40762 [cross-compiling] (omit-deps): Likewise.
40763 (sunrpc-CPPFLAGS): New variable.
40764 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40765 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40766 (cross-rpcgen-objs): New variable.
40767 (extra-objs): Append $(cross-rpcgen-objs).
40768 ($(cross-rpcgen-objs)): New rule.
40769 ($(objpfx)cross-rpcgen): Likewise.
40770 (rpcgen-cmd): Define to use $(built-program-file). Expand
40772 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40773 ($(objpfx)x%.stmp): Likewise.
40774 * sunrpc/proto.h [IS_IN_build] (_): Define.
40775 [IS_IN_build] (_libc_intl_domainname): Likewise.
40777 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40780 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40781 and R_X86_64_TPOFF64.
40783 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40785 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40786 sysdeps/unix/sysv/syscalls.list.
40789 * sysdeps/unix/sysv/syscalls.list: Remove file.
40791 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40794 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40795 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40796 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40797 (__LC_IDENTIFICATION): Make these macros useful in #if
40798 expressions, as required by C99.
40800 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40802 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40803 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40806 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40808 * stdlib/longlong.h: Updated from GCC.
40810 2012-05-09 Andreas Jaeger <aj@suse.de>
40812 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40813 default is first entry.
40814 (run_mode): Set type.
40815 (main): Remove informal message about syslog.
40816 (options): Fix typo.
40819 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40822 (llrintf): Likewise.
40823 (llrint): Likewise.
40826 (nearbyint): Likewise.
40827 (nearbyintf): Likewise.
40829 2012-05-09 Andreas Jaeger <aj@suse.de>
40830 Pedro Alves <palves@redhat.com>
40832 * nscd/nscd.c (run_mode): Use enum.
40833 (main): Cleanup coding style issue.
40835 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40836 Andreas Jaeger <aj@suse.de>
40838 * nscd/nscd.c (go_background): Replaced with...
40839 (run_mode): ... this.
40840 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40841 (options): Add -F --foreground.
40842 (main): Implement it.
40843 (parse_opt): Parse it.
40845 2012-05-09 Andreas Jaeger <aj@suse.de>
40848 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40849 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40850 -Wconversion warning.
40851 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40854 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40856 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40858 (LC_ALL): Use macro-int-constant.
40859 (LC_COLLATE): Likewise.
40860 (LC_CTYPE): Likewise.
40861 (LC_MESSAGES): Likewise.
40862 (LC_MONETARY): Likewise.
40863 (LC_NUMERIC): Likewise.
40864 (LC_TIME): Likewise.
40865 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40866 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40868 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40870 [C99-based standards] (float_t): Expect type.
40871 [C99-based standards] (double_t): Expect type.
40872 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40874 [C99-based standards] (HUGE_VALL): Likewise.
40875 [C99-based standards] (INFINITY): Likewise.
40876 [C99-based standards] (NAN): Likewise.
40877 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40878 [C99-based standards] (FP_NAN): Likewise.
40879 [C99-based standards] (FP_NORMAL): Likewise.
40880 [C99-based standards] (FP_SUBNORMAL): Likewise.
40881 [C99-based standards] (FP_ZERO): Likewise.
40882 [C99-based standards] (FP_FAST_FMA): Use
40883 optional-macro-int-constant. Specify type. Require == 1.
40884 [C99-based standards] (FP_FAST_FMAF): Likewise.
40885 [C99-based standards] (FP_FAST_FMAL): Likewise.
40886 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40887 [C99-based standards] (FP_ILOGBNAN): Likewise.
40888 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40890 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40891 [C99-based standards] (math_errhandling): Specify type.
40892 [ISO99 || ISO11] (signgam): Do not allow.
40893 [non-C99-based standards] (copysignf): Do not allow.
40894 [non-C99-based standards] (exp2f): Likewise.
40895 [non-C99-based standards] (log2f): Likewise.
40896 [non-C99-based standards] (modff): Allow.
40897 [non-C99-based standards] (erff): Do not allow.
40898 [non-C99-based standards] (erfcf): Likewise.
40899 [non-C99-based standards] (gammaf): Likewise.
40900 [non-C99-based standards] (hypotf): Likewise.
40901 [non-C99-based standards] (j0f): Likewise.
40902 [non-C99-based standards] (j1f): Likewise.
40903 [non-C99-based standards] (jnf): Likewise.
40904 [non-C99-based standards] (lgammaf): Likewise.
40905 [non-C99-based standards] (tgammaf): Likewise.
40906 [non-C99-based standards] (y0f): Likewise.
40907 [non-C99-based standards] (y1f): Likewise.
40908 [non-C99-based standards] (ynf): Likewise.
40909 [non-C99-based standards] (isnanf): Likewise.
40910 [non-C99-based standards] (acoshf): Likewise.
40911 [non-C99-based standards] (asinhf): Likewise.
40912 [non-C99-based standards] (atanhf): Likewise.
40913 [non-C99-based standards] (cbrtf): Likewise.
40914 [non-C99-based standards] (expm1f): Likewise.
40915 [non-C99-based standards] (ilogbf): Likewise.
40916 [non-C99-based standards] (log1pf): Likewise.
40917 [non-C99-based standards] (logbf): Likewise.
40918 [non-C99-based standards] (nextafterf): Likewise.
40919 [non-C99-based standards] (remainderf): Likewise.
40920 [non-C99-based standards] (rintf): Likewise.
40921 [non-C99-based standards] (scalbf): Likewise.
40922 [non-C99-based standards] (copysignl): Likewise.
40923 [non-C99-based standards] (exp2l): Likewise.
40924 [non-C99-based standards] (log2l): Likewise.
40925 [non-C99-based standards] (modfl): Allow.
40926 [non-C99-based standards] (erfl): Do not allow.
40927 [non-C99-based standards] (erfcl): Likewise.
40928 [non-C99-based standards] (gammal): Likewise.
40929 [non-C99-based standards] (hypotl): Likewise.
40930 [non-C99-based standards] (j0l): Likewise.
40931 [non-C99-based standards] (j1l): Likewise.
40932 [non-C99-based standards] (jnl): Likewise.
40933 [non-C99-based standards] (lgammal): Likewise.
40934 [non-C99-based standards] (tgammal): Likewise.
40935 [non-C99-based standards] (y0l): Likewise.
40936 [non-C99-based standards] (y1l): Likewise.
40937 [non-C99-based standards] (ynl): Likewise.
40938 [non-C99-based standards] (isnanl): Likewise.
40939 [non-C99-based standards] (acoshl): Likewise.
40940 [non-C99-based standards] (asinhl): Likewise.
40941 [non-C99-based standards] (atanhl): Likewise.
40942 [non-C99-based standards] (cbrtl): Likewise.
40943 [non-C99-based standards] (expm1l): Likewise.
40944 [non-C99-based standards] (ilogbl): Likewise.
40945 [non-C99-based standards] (log1pl): Likewise.
40946 [non-C99-based standards] (logbl): Likewise.
40947 [non-C99-based standards] (nextafterl): Likewise.
40948 [non-C99-based standards] (remainderl): Likewise.
40949 [non-C99-based standards] (rintl): Likewise.
40950 [non-C99-based standards] (scalbl): Likewise.
40951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40952 [non-C99-based standards] (FP_*): Do not allow.
40953 [C99-based standards] (FP_*): Change to
40954 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40955 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40957 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40958 (SIG_ERR): Likewise.
40959 [X/Open-based standards] (SIG_HOLD): Likewise.
40960 (SIG_IGN): Likewise.
40961 (SIGABRT): Use macro-int-constant. Specify type. Require
40963 (SIGFPE): Likewise.
40964 (SIGILL): Likewise.
40965 (SIGINT): Likewise.
40966 (SIGSEGV): Likewise.
40967 (SIGTER): Likewise.
40968 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40969 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40970 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40971 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40972 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40973 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40974 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40975 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40976 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40977 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40978 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40979 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40980 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40981 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40982 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40983 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40984 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40985 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40986 [X/Open-based standards] (SIGTRAP): Likewise.
40987 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40988 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40989 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40990 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40991 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40994 2012-05-08 Ian Wienand <ianw@vmware.com>
40997 * time/tzset.c (__tzset_parse_tz): Update default rules for
40998 daylight time changes in the Energy Policy Act of 2005.
41000 2012-05-09 Andreas Jaeger <aj@suse.de>
41003 * elf/ldconfig.c (parse_conf): Change string to make clear that
41004 ldconfig only issued a warning if ld.so.conf does not exist.
41006 2012-05-08 David S. Miller <davem@davemloft.net>
41008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41009 movxtod instead of popping the value on the stack.
41011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41013 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41015 * config.h.in: Add HAVE_ARM_PCS_VFP.
41017 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41020 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41021 checking but the checks are disabled for any reason.
41023 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41025 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41026 and ELF64_R_TYPE with ELFW(R_TYPE).
41028 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41030 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41031 (ulimit): Likewise.
41033 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41034 (settimeofday): Likewise.
41036 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41038 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41039 a struct th_u2 inside the union, and move tu_block/tu_code into
41040 a new th_u3 union of tu_block/tu_code inside of that. Move
41041 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41042 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41043 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41044 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41045 (th_stuff): Change to th_u1.tu_stuff.
41047 (th_msg): Change to th_u1.th_u2.tu_data.
41049 2012-05-07 David S. Miller <davem@davemloft.net>
41051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41054 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41055 (SETUP_PIC_REG): Use it.
41056 (SETUP_PIC_REG_LEAF): Use it.
41058 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41062 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41064 (EXPL_FINITE): Likewise.
41065 (FLDLOG): Likewise.
41066 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41067 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41069 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41071 (EXPL_FINITE): Likewise.
41072 (FLDLOG): Likewise.
41073 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41074 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41076 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41077 test of -max_value argument for long double.
41078 * sysdeps/i386/fpu/libm-test-ulps: Update.
41079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41081 2012-05-06 David S. Miller <davem@davemloft.net>
41083 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41084 quad soft-float symbols whose references which are compiler
41086 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41088 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41092 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41094 (EXPL_FINITE): Likewise.
41095 (FLDLOG): Likewise.
41098 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41099 Adjust comments for base varying.
41100 (__expl_finite): Change alias to EXPL_FINITE.
41101 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41103 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41104 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41106 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41107 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41109 (EXPL_FINITE): Likewise.
41110 (FLDLOG): Likewise.
41113 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41114 Adjust comments for base varying.
41115 (__expl_finite): Change alias to EXPL_FINITE.
41116 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41121 * math/libm-test.inc (check_float_internal): Correct ulp
41122 calculation for subnormal expected results.
41124 2012-05-06 Andreas Jaeger <aj@suse.de>
41126 * Makeconfig (+math-flags): New, set to -frounding-math.
41127 (+cflags): Add +math-flags so that all of glibc gets compiled with
41130 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41132 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41134 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41140 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41141 (__ieee754_expl): Allow for and saturate large arguments.
41142 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41143 (u_threshold): Likewise.
41144 (__exp): Call __ieee754_exp before checking for overflow and
41146 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41147 (u_threshold): Likewise.
41148 (__expf): Call __ieee754_expf before checking for overflow and
41150 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41151 (u_threshold): Likewise.
41152 (__expl): Call __ieee754_expl before checking for overflow and
41154 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41155 (__ieee754_expl): Allow for and saturate large arguments.
41156 * math/libm-test.inc (exp_test): Add another test. Do not allow
41157 missing overflow exception on overflow.
41158 (expm1_test): Do not allow missing overflow exception on overflow.
41160 * sysdeps/i386/fpu/e_expl.c: Move to ...
41161 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41162 rather than using inline asm.
41163 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41164 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41165 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41167 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41170 (signal): Likewise.
41174 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41176 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41177 sysdeps/unix/common/syscalls.list.
41178 (fchmod): Likewise.
41179 (fchown): Likewise.
41180 (ftruncate): Likewise.
41181 (getrusage): Likewise.
41182 (gettimeofday): Likewise.
41183 (setpgid): Likewise.
41184 (setregid): Likewise.
41185 (setreuid): Likewise.
41186 (sigaction): Likewise.
41187 (truncate): Likewise.
41188 (vhangup): Likewise.
41189 * sysdeps/unix/common/syscalls.list: Remove file.
41190 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41191 * sysdeps/unix/sysv/linux/Implies: Likewise.
41193 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41195 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41197 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41201 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41204 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41207 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41210 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41213 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41216 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41219 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41223 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41227 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41230 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41234 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41238 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41240 * sysdeps/unix/common/bits/dirent.h: Remove file.
41241 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41243 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41244 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41245 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41246 * sysdeps/unix/bsd/isatty.c: Likewise.
41247 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41248 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41249 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41251 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41255 long double comparison inaccuracies.
41256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41259 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41261 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41264 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41267 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41268 nonzero digits before rounding a hex value.
41269 * stdlib/tst-strtod.c (tests): Add another test.
41271 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41273 * sysdeps/s390/fpu/libm-test-ulps: Update.
41275 2012-05-03 Andreas Jaeger <aj@suse.de>
41277 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41278 does not get optimized out.
41279 (malloc_opt_barrier): New.
41281 2012-05-03 Andreas Jaeger <aj@suse.de>
41282 Roland McGrath <roland@hack.frob.com>
41284 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41285 intermediate file deletion.
41286 (generated): Add .symlist files.
41288 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41291 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41292 Redirect under this condition.
41293 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41294 [__USE_GNU] (__dprintf_chk): Not under this condition.
41295 [__USE_GNU] (__vdprintf_chk): Likewise.
41296 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41297 under this condition.
41298 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41299 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41300 [__USE_XOPEN2K8] (vdprintf): Likewise.
41301 [__USE_GNU] (__dprintf_chk): Not under this condition.
41302 [__USE_GNU] (__vdprintf_chk): Likewise.
41303 [__USE_GNU] (dprintf): Likewise.
41304 [__USE_GNU] (vdprintf): Likewise.
41306 2012-05-03 Roland McGrath <roland@hack.frob.com>
41308 * elf/Makefile (common-generated): Set this instead of generated for
41309 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41310 $(all-built-dso)-derived lists.
41312 2012-05-03 Andreas Jaeger <aj@suse.de>
41314 * sysdeps/i386/fpu/libm-test-ulps: Update.
41317 * FAQ.in: Likewise.
41318 * scripts/gen-FAQ.pl: Likewise.
41319 * manual/install.texi (Installation): Point to online location of
41321 * Makefile (files-for-dist): Remove FAQ.
41324 2012-05-02 Allan McRae <allan@archlinux.org>
41326 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41327 (LDFLAGS-reldepmod5.so): Likewise.
41328 (LDFLAGS-reldep6mod1.so): Likewise.
41329 (LDFLAGS-reldep6mod4.so): Likewise.
41330 (LDFLAGS-reldep8mod3.so): Likewise.
41331 (LDFLAGS-unload4mod1.so): Likewise.
41332 (LDFLAGS-unload4mod2.so): Likewise.
41333 (LDFLAGS-tst-initorder): Likewise.
41334 (LDFLAGS-tst-initordera2.so): Likewise.
41335 (LDFLAGS-tst-initordera3.so): Likewise.
41336 (LDFLAGS-tst-initordera4.so): Likewise.
41337 (LDFLAGS-tst-initorderb2.so): Likewise.
41338 (LDFLAGS-noload): Likewise.
41339 (LDFLAGS-next): Likewise.
41340 (LDFLAGS-order2mod1.so): Likewise.
41341 (LDFLAGS-order2mod2.so): Likewise.
41342 (LDFLAGS-tst-initorder2): Likewise.
41343 (LDFLAGS-tst-initorder2a.so): Likewise.
41344 (LDFLAGS-tst-initorder2b.so): Likewise.
41345 (LDFLAGS-tst-initorder2c.so): Likewise.
41346 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41348 2012-05-02 David S. Miller <davem@davemloft.net>
41350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41352 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41355 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41357 2012-05-02 Andreas Jaeger <aj@suse.de>
41359 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41360 since we manipulate rounding mode.
41361 (CPPFLAGS-test-idouble.c): Likewise.
41362 (CPPFLAGS-test-ifloat.c): Likewise.
41363 (CFLAGS-test-ldouble.c): Likewise.
41364 (CFLAGS-test-double.c): Likewise.
41365 (CFLAGS-test-float.c): Likewise.
41366 (CFLAGS-test-misc.c): Likewise.
41367 (CFLAGS-test-test-fenv.c): Likewise.
41369 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41373 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41374 comparisons to determine direction to adjust input.
41376 2012-05-01 Roland McGrath <roland@hack.frob.com>
41378 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41379 output to the target.
41381 * scripts/localplt.awk: New file.
41382 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41383 (check-localplt-CFLAGS): Variable removed.
41384 ($(all-built-dso:=.jmprel)): New static pattern rule.
41385 (generated): Add those targets.
41386 (localplt-built-dso): New variable.
41387 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41389 * elf/check-localplt.c: File removed.
41391 * scripts/check-execstack.awk: New file.
41392 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41393 (check-execstack-CFLAGS): Variable removed.
41394 ($(objpfx)check-execstack.h): Target removed.
41395 ($(objpfx)execstack-default): New target.
41396 (generated): Add that instead of check-execstack.h.
41397 ($(all-built-dso:=.phdr)): New static pattern rule.
41398 (generated): Add those targets.
41399 * elf/check-execstack.c: File removed.
41401 * scripts/check-textrel.awk: New file.
41402 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41403 (check-textrel-CFLAGS): Variable removed.
41404 (all-built-dso): Use := to define.o
41405 ($(all-built-dso:=.dyn)): New static pattern rule.
41406 (generated): Add those targets.
41407 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41408 * config.make.in (READELF): New substituted variable.
41409 * elf/check-textrel.c: File removed.
41411 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41413 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41415 * conform/data/ctype.h-data [C99-based standards] (isblank):
41417 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41418 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41420 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41421 Specify type. Require positive value.
41422 (EILSEQ): Likewise.
41423 (ERANGE): Likewise.
41424 [ISO || POSIX] (EILSEQ): Do not expect.
41425 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41426 Specify type. Require positive value.
41427 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41428 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41429 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41430 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41431 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41432 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41433 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41434 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41435 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41436 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41437 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41438 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41439 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41440 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41441 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41442 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41443 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41444 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41445 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41446 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41447 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41448 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41449 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41450 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41451 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41452 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41453 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41454 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41455 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41456 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41457 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41458 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41459 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41460 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41461 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41462 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41463 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41464 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41465 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41466 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41467 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41468 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41469 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41470 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41471 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41472 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41473 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41474 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41475 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41476 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41477 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41478 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41479 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41480 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41481 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41482 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41483 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41484 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41485 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41486 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41487 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41488 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41489 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41490 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41491 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41492 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41493 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41494 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41495 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41496 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41497 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41498 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41499 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41500 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41501 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41502 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41503 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41505 (FLT_ROUNDS): Expect as macro, not constant.
41506 (FLT_MANT_DIG): Use macro-int-constant.
41507 (DBL_MANT_DIG): Likewise.
41508 (LDBL_MANT_DIG): Likewise.
41509 (FLT_DIG): Likewise.
41510 (DBL_DIG): Likewise.
41511 (LDBL_DIG): Likewise.
41512 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41513 (DBL_MIN_EXP): Likewise.
41514 (LDBL_MIN_EXP): Likewise.
41515 (FLT_MAX_EXP): Use macro-int-constant.
41516 (DBL_MAX_EXP): Likewise.
41517 (LDBL_MAX_EXP): Likewise.
41518 (FLT_MAX_10_EXP): Likewise.
41519 (DBL_MAX_10_EXP): Likewise.
41520 (LDBL_MAX_10_EXP): Likewise.
41521 (FLT_MAX): Use macro-constant.
41522 (DBL_MAX): Likewise.
41523 (LDBL_MAX): Likewise.
41524 (FLT_EPSILON): Use macro-constant. Give upper bound.
41525 (DBL_EPSILON): Likewise.
41526 (LDBL_EPSILON): Likewise.
41527 (FLT_MIN): Likewise.
41528 (DBL_MIN): Likewise.
41529 (LDBL_MIN): Likewise.
41530 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41531 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41532 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41533 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41534 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41535 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41536 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41537 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41538 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41539 [ISO11] (FLT_TRUE_MIN): Likewise.
41540 [ISO11] (LDBL_TRUE_MIN): Likewise.
41541 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41542 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41543 (SCHAR_MIN): Use macro-int-constant. Specify type.
41544 (SCHAR_MAX): Likewise.
41545 (UCHAR_MAX): Likewise.
41546 (CHAR_MIN): Likewise.
41547 (CHAR_MAX): Likewise.
41548 (MB_LEN_MAX): Use macro-int-constant.
41549 (SHRT_MIN): Use macro-int-constant. Specify type.
41550 (SHRT_MAX): Likewise.
41551 (USHRT_MAX): Likewise.
41552 (INT_MAX): Likewise.
41553 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41555 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41557 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41559 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41560 bound negative. Suffix upper bound with "L".
41561 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41563 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41565 [C99-based standards] (LLONG_MAX): Likewise.
41566 [C99-based standards] (ULLONG_MAX): Likewise.
41567 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41569 [ISO11] (max_align_t): Require type.
41570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41572 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41573 from $CFLAGS, without defining away __attribute__ calls.
41574 (checknamespace): Use $CFLAGS_namespace.
41576 * conform/conformtest.pl (@keywords): Only include C99 keywords
41577 for standards based on C99 or C11.
41579 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41581 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41584 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41585 usability of symbols in #if.
41587 * conform/conformtest.pl: If macro or constant types start
41588 "promoted:", expect the symbol to be of the following type
41589 promoted by the integer promotions.
41591 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41592 in one place. Also handle "macro-constant".
41594 * conform/conformtest.pl: Only accept expected macro values with
41595 "==". Parse all "macro" lines in one place.
41596 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41598 * conform/conformtest.pl: Handle braced types on "constant" lines
41599 instead of handling "typed-constant".
41600 * conform/data/signal.h-data: Use "constant" instead of
41603 * conform/conformtest.pl: Handle "optional-" at start of lines in
41604 one place rather than duplicating several cases. Handle each
41605 format of "macro" line with initial "optional-".
41607 * conform/conformtest.pl: Only accept expected constant or
41608 optional-constant values with "==". Parse all "constant" lines in
41609 one place. Parse all "optional-constant" lines in one place.
41610 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41611 * conform/data/fmtmsg.h-data: Likewise.
41612 * conform/data/netinet/in.h-data: Likewise.
41613 * conform/data/tar.h-data: Likewise.
41614 * conform/data/limits.h-data: Use "==" form on "constant" and
41615 "optional-constant" lines.
41617 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41618 Use -std=c99 for XOPEN2K.
41619 (@knownproblems): Remove.
41620 (newtoken): Don't check %isknown.
41622 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41623 Do not expect macro.
41624 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41625 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41626 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41627 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41628 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41629 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41630 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41631 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41632 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41633 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41634 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41635 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41636 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41637 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41638 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41639 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41640 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41641 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41642 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41643 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41644 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41645 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41646 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41647 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41648 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41649 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41650 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41651 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41652 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41653 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41654 [XPG3] (acosh): Likewise.
41655 [XPG3] (asinh): Likewise.
41656 [XPG3] (atanh): Likewise.
41657 [XPG3] (cbrt): Likewise.
41658 [XPG3] (expm1): Likewise.
41659 [XPG3] (ilogb): Likewise.
41660 [XPG3] (log1p): Likewise.
41661 [XPG3] (logb): Likewise.
41662 [XPG3] (nextafter): Likewise.
41663 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41664 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41665 [XPG3] (remainder): Likewise.
41666 [XPG3] (rint): Likewise.
41667 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41668 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41669 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41670 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41671 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41672 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41673 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41674 [UNIX98 || XOPEN2K] (scalb): Expect.
41675 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41676 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41677 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41678 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41679 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41680 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41681 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41682 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41683 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41684 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41685 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41686 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41687 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41688 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41689 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41690 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41691 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41692 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41693 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41694 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41695 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41696 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41697 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41698 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41699 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41700 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41701 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41702 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41703 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41704 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41705 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41706 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41707 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41708 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41709 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41710 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41711 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41712 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41713 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41714 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41715 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41716 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41717 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41718 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41719 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41720 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41721 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41722 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41723 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41724 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41725 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41726 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41727 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41728 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41729 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41730 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41731 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41732 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41733 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41734 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41735 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41736 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41737 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41738 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41739 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41740 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41741 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41742 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41743 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41744 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41745 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41746 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41747 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41748 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41749 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41750 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41751 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41752 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41753 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41754 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41755 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41756 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41757 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41758 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41759 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41760 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41761 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41762 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41763 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41764 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41765 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41766 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41767 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41768 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41769 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41770 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41771 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41772 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41773 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41774 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41775 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41776 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41777 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41778 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41779 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41780 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41781 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41782 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41783 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41784 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41785 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41786 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41787 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41788 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41789 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41790 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41791 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41792 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41793 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41794 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41795 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41796 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41797 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41798 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41799 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41800 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41801 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41802 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41803 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41804 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41805 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41806 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41807 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41808 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41809 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41810 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41811 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41813 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41814 _XOPEN_SOURCE_EXTENDED for XPG4.
41816 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41818 * Makeconfig (localtime): Remove variable.
41819 (inst_localtime-file): Likewise.
41821 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41842 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41846 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41847 comparisons to determine direction to adjust input.
41848 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41849 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41859 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41861 * math/libm-test.inc (nexttoward_test): Add more tests.
41863 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41866 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41867 in version GLIBC_2.1, not GLIBC_2.0.
41868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41871 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41874 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41876 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41877 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41878 * math/libm-test.inc (acos_test): Add more tests.
41879 (asin_test): Likewise.
41880 * sysdeps/i386/fpu/libm-test-ulps: Update.
41881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41884 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41886 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41887 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41888 * math/libm-test.inc (acos_test_tonearest): New function.
41889 (acos_test_towardzero): Likewise.
41890 (acos_test_downward): Likewise.
41891 (acos_test_upward): Likewise.
41892 (asin_test_tonearest): Likewise.
41893 (asin_test_towardzero): Likewise.
41894 (asin_test_downward): Likewise.
41895 (asin_test_upward): Likewise.
41896 (main): Call the new functions.
41897 * sysdeps/i386/fpu/libm-test-ulps: Update.
41898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41902 * math/e_exp10.c: Include <float.h>.
41903 (__ieee754_exp10): Handle underflow here rather than multiplying
41904 large negative argument by M_LN10.
41905 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41907 * math/e_exp10l.c: Include <float.h>.
41908 (__ieee754_exp10l): Handle underflow here rather than multiplying
41909 large negative argument by M_LN10l.
41910 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41911 spurious overflow exception on underflow.
41913 2012-04-29 Marek Polacek <polacek@redhat.com>
41915 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41916 (__fortify_function): New macro.
41917 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41918 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41919 __extern_always_inline.
41920 * libio/bits/stdio2.h: Likewise.
41921 * libio/bits/stdio.h: Likewise.
41922 * string/string.h: Likewise.
41923 * string/bits/string3.h: Likewise.
41924 * include/stdio.h: Likewise.
41925 * stdlib/bits/stdlib.h: Likewise.
41926 * stdlib/stdlib.h: Likewise.
41927 * rt/bits/mqueue2.h: Likewise.
41928 * rt/mqueue.h: Likewise.
41929 * posix/bits/unistd.h: Likewise.
41930 * posix/unistd.h: Likewise.
41931 * io/bits/poll2.h: Likewise.
41932 * io/bits/fcntl2.h: Likewise.
41933 * io/fcntl.h: Likewise.
41934 * io/sys/poll.h: Likewise.
41935 * misc/bits/syslog.h: Likewise.
41936 * misc/bits/syslog-ldbl.h: Likewise.
41937 * misc/sys/syslog.h: Likewise.
41938 * socket/bits/socket2.h: Likewise.
41939 * socket/sys/socket.h: Likewise.
41940 * debug/tst-chk1.c: Likewise.
41941 * wcsmbs/bits/wchar2.h: Likewise.
41942 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41943 * wcsmbs/wchar.h: Likewise.
41945 2012-04-29 Andreas Jaeger <aj@suse.de>
41947 * Makerules (tests): Remove enable-check-abi protection.
41948 (check-abi-warn): Remove.
41949 (check-abi-%): Remove check-abi-warn usage.
41951 * configure.in: Remove check-abi configure option.
41952 * configure: Regenerated.
41953 * config.make.in (enable-check-abi): Remove.
41955 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41958 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41959 double functions to double *_finite functions.
41962 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41963 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41965 * stdio-common/Makefile (tests): Add tst-sprintf3.
41966 * stdio-common/tst-sprintf3.c: New file.
41968 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41969 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41971 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41973 * conform/conformtest.pl: Remove duplicate typed-constant
41976 2012-04-28 David S. Miller <davem@davemloft.net>
41978 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41979 (check-abi-%): Remove AWK script prerequisite and explicit
41981 (check-abi): Rewrite to just diff the symlist with the abilist.
41982 (config-tls, config-abi-config): Delete, no longer used.
41983 (update-abi-%): Remove AWK script and explicit abilist directory.
41984 (update-abi): Rewrite to simply compare and conditionally copy the
41985 symlist and the sysdep abilist file. Remove update-abi-config
41987 * abilist/ld.abilist: Remove.
41988 * abilist/libBrokenLocale.abilist: Remove.
41989 * abilist/libanl.abilist: Remove.
41990 * abilist/libcrypt.abilist: Remove.
41991 * abilist/libdl.abilist: Remove.
41992 * abilist/librt.abilist: Remove.
41993 * abilist/libthread_db.abilist: Remove.
41994 * abilist/libutil.abilist: Remove.
41995 * scripts/extract-abilist.awk: Remove.
41996 * scripts/merge-abilist.awk: Remove.
41997 * sysdeps/generic/libcidn.abilist: New file.
41998 * sysdeps/generic/libnss_compat.abilist: New file.
41999 * sysdeps/generic/libnss_db.abilist: New file.
42000 * sysdeps/generic/libnss_dns.abilist: New file.
42001 * sysdeps/generic/libnss_files.abilist: New file.
42002 * sysdeps/generic/libnss_hesiod.abilist: New file.
42003 * sysdeps/generic/libnss_nis.abilist: New file.
42004 * sysdeps/generic/libnss_nisplus.abilist: New file.
42005 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42006 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42007 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42010 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42011 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42012 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42013 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42014 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42015 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42016 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42017 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42019 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42020 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42021 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42022 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42024 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42025 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42026 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42027 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42028 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42029 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42031 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42032 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42033 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42035 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42138 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42139 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42140 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42142 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42143 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42144 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42145 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42146 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42147 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42148 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42149 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42150 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42151 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42203 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42205 * conform/conformtest.pl: Fix typo in handling typed-constant from
42208 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42210 * README: Cut down references to pre-2.6 Linux kernels and
42211 Linuxthreads. Update lists of configurations in libc and ports
42212 and sort alphabetically. Say "or newer" with Linux kernel version
42215 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42217 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42220 * math/libm-test.inc (logb_test_downward): New test to expose
42221 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42224 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42227 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42229 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42230 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42232 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42234 * sysdeps/unix/i386/brk.S: Remove file.
42235 * sysdeps/unix/i386/dl-brk.S: Likewise.
42236 * sysdeps/unix/i386/pipe.S: Likewise.
42237 * sysdeps/unix/i386/sigreturn.S: Likewise.
42238 * sysdeps/unix/i386/syscall.S: Likewise.
42239 * sysdeps/unix/i386/vfork.S: Likewise.
42240 * sysdeps/unix/i386/wait.S: Likewise.
42242 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42243 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42245 * configure.in (arm*-none*): Do not allow without
42246 --enable-hacker-mode.
42247 (netbsd*): Remove case setting base_os.
42248 (386bsd*): Likewise.
42249 (freebsd*): Likewise.
42252 (sunos*): Likewise.
42253 (ultrix*): Likewise.
42254 (newsos*): Likewise.
42255 (dynix*): Likewise.
42261 (minix*): Likewise.
42262 (irix4*): Likewise.
42263 (irix6*): Likewise.
42264 (solaris[2-9]*): Likewise.
42266 * configure: Regenerated.
42268 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42271 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42272 overflow or cancellation in calculating denominator.
42273 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42275 down expression to avoid unexpected rounding in newer GCCs.
42276 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42278 2012-04-26 David S. Miller <davem@davemloft.net>
42280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42281 long-double compat symbols.
42282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42296 2012-04-25 David S. Miller <davem@davemloft.net>
42298 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42299 HWCAP_* values only after the memory barriers have been defined.
42300 (atomic_full_barrier): Define.
42301 (atomic_read_barrier): Define.
42302 (atomic_write_barrier): Define.
42304 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42306 * shlib-versions: Add libgcc_s version information.
42307 * sysdeps/generic/libgcc_s.h: Remove.
42308 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42310 * sysdeps/gnu/unwind-resume.c: Likewise.
42311 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42313 2012-04-25 David S. Miller <davem@davemloft.net>
42315 * sysdeps/unix/sparc/brk.S: Delete.
42316 * sysdeps/unix/sparc/dl-brk.S: Delete.
42317 * sysdeps/unix/sparc/pipe.S: Delete.
42318 * sysdeps/unix/sparc/sysdep.S: Delete.
42319 * sysdeps/unix/sparc/sysdep.h: Delete.
42320 * sysdeps/unix/sparc/vfork.S: Delete.
42321 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42322 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42323 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42324 (ret_ERRVAL, r0, r1, MOVE): Define.
42325 (JUMPTARGET): Remove.
42326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42327 sysdeps/unix/sparc/sysdep.h
42328 (ENTRY, END): Remove.
42329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42331 2012-04-25 Joseph Myers <joseph@codesourcery.com>
42333 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42334 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42337 * timezone/README: Update upstream location and email address for
42339 * timezone/zdump.c: Update from tzcode 2012b.
42340 * timezone/zic.c: Likewise.
42342 * configure.in (libc_cv_as_needed): Remove test.
42343 * configure: Regenerated.
42344 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42345 conditional definition.
42346 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42347 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42348 * config.make.in (have-as-needed): Remove variable.
42350 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42351 Paul Pluzhnikov <ppluzhnikov@google.com>
42353 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42356 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42358 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42359 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42360 * sysdeps/sh/strlen.S: Likewise.
42362 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42364 * sysdeps/unix/fork.S: Remove file.
42365 * sysdeps/unix/i386/fork.S: Likewise.
42366 * sysdeps/unix/sparc/fork.S: Likewise.
42368 * sysdeps/unix/system.c: Remove file.
42369 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42371 * sysdeps/unix/getegid.S: Remove file.
42372 * sysdeps/unix/geteuid.S: Likewise.
42374 2012-04-24 Roland McGrath <roland@hack.frob.com>
42376 * scripts/check-localplt.awk: New file.
42377 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42379 * scripts/data/localplt-generic.data: Add a comment.
42381 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42382 NODE when __dir_mkfile failed.
42383 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42384 Reported by Ludovic Courtès <ludo@gnu.org>.
42386 2012-04-24 Andreas Jaeger <aj@suse.de>
42388 * Makerules (common-clean): Also remove gen-as-const-headers
42391 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42393 * Makerules (native-compile): Do not change working directory for
42394 build. Use $(OUTPUT_OPTION) in command.
42395 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42397 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42400 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42401 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42402 * math/libm-test.inc (floor_test): Add more tests.
42403 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42405 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42407 * sysdeps/unix/getdents.c: Remove file.
42408 * sysdeps/unix/sysv/getdents.c: Likewise.
42409 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42411 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42412 sysdeps/unix/mman/syscalls.list.
42414 (mprotect): Likewise.
42416 (munmap): Likewise.
42417 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42418 * sysdeps/unix/mman/syscalls.list: Remove.
42419 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42421 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42422 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42423 * configure: Regenerated.
42424 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42425 $(libgcc_s_suffix).
42426 * config.make.in (libgcc_s_suffix): Remove variable.
42428 2012-04-23 Joseph Myers <joseph@codesourcery.com>
42430 * sysdeps/unix/sysv/gethostname.c: Move to ...
42431 * sysdeps/posix/gethostname.c: ... here.
42433 * sysdeps/unix/execve.S: Remove file.
42435 * sysdeps/unix/_exit.S: Remove file.
42437 2012-04-23 Andreas Jaeger <aj@suse.de>
42440 * manual/Makefile: Remove make dist support, there's no
42441 need for a stand-alone documentation tar ball.
42442 (TEXI2DVI): Define always, it's not in Makeconfig.
42445 (edition): Removed.
42446 (glibc-doc-$(edition).tar): Removed
42450 (ETAGS): Remove, it's in Makeconfig.
42451 (move-if-change): Remove, it's in Makeconfig.
42453 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42456 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42457 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42458 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42459 (strtod_l, strtof_l, strtold_l): Remove __wur.
42460 It is not necessarily an error to ignore strtol's return value.
42461 One can reliably look at the stored endptr to decide whether
42462 the number had valid syntax.
42464 2012-04-21 Andreas Jaeger <aj@suse.de>
42467 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42469 2012-04-21 Joseph Myers <joseph@codesourcery.com>
42471 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42472 * sysdeps/unix/sysv/Versions: Remove file.
42474 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42479 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
42482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42483 version from __vm86.
42485 2012-04-20 Joseph Myers <joseph@codesourcery.com>
42487 * sysdeps/unix/common/lxstat.c: Remove file.
42488 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42490 * sysdeps/unix/sysv/Makefile: Remove file.
42492 * sysdeps/unix/sysv/direct.h: Remove file.
42494 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42495 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42496 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42497 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42498 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42499 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42500 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42502 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42504 * sysdeps/unix/xmknod.c: Remove file.
42505 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42507 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42509 * sysdeps/unix/sysv/i386/time.S: Remove file.
42511 * sysdeps/unix/fxstat.c: Remove file.
42512 * sysdeps/unix/xstat.c: Likewise.
42513 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42515 * sysdeps/unix/sysv/sigaction.c: Remove file.
42517 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42518 (sysdep_headers): Remove variable.
42519 [termio.h not in sysdep_headers] (generated): Likewise.
42520 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42521 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42522 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42523 * sysdeps/unix/sysv/tcflow.c: Likewise.
42524 * sysdeps/unix/sysv/tcflush.c: Likewise.
42525 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42526 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42527 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42528 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42529 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42531 * sysdeps/unix/siglist.c: Remove file.
42533 * sysdeps/unix/getppid.S: Remove file.
42535 * sysdeps/unix/mkdir.c: Remove file.
42536 * sysdeps/unix/rmdir.c: Likewise.
42538 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42540 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42542 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42543 errlist-compat value.
42545 2012-04-18 David S. Miller <davem@davemloft.net>
42547 * sysdeps/generic/memcopy.h (reg_char): Delete.
42548 * debug/strcat_chk.c: Use char, not reg_char.
42549 * debug/strcpy_chk.c: Likewise.
42550 * debug/strncat_chk.c: Likewise.
42551 * debug/strncpy_chk.c: Likewise.
42552 * string/memchr.c: Likewise.
42553 * string/memrchr.c: Likewise.
42554 * string/rawmemchr.c: Likewise.
42555 * string/strcat.c: Likewise.
42556 * string/strchr.c: Likewise.
42557 * string/strchrnul.c: Likewise.
42558 * string/strcmp.c: Likewise.
42559 * string/strcpy.c: Likewise.
42560 * string/strncat.c: Likewise.
42561 * string/strncmp.c: Likewise.
42562 * string/strncpy.c: Likewise.
42564 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42566 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42567 __builtin_memcopy is called when src and dest ranges are known to not
42570 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42572 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42573 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42574 fwd_align_merge macro call.
42575 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42576 bwd_align_merge macro call.
42577 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42579 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42581 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42582 bwd_align_merge macros.
42583 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42584 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42587 2012-04-18 David S. Miller <davem@davemloft.net>
42589 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42591 2012-04-18 Andreas Jaeger <aj@suse.de>
42594 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42595 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42596 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42598 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42599 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42602 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42603 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42604 Adjust for changed ldbl-128 files.
42606 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42607 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42608 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42610 2012-04-17 David S. Miller <davem@davemloft.net>
42612 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42614 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42616 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42617 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42618 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42619 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42620 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42621 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42623 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42626 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42627 * math/libm-test.inc: Add ilogb errno and exception tests.
42628 * math/w_ilogb.c: New file: ilogb wrapper.
42629 * math/w_ilogbf.c: New file: ilogbf wrapper.
42630 * math/w_ilogbl.c: New file: ilogbl wrapper.
42631 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42632 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42633 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42634 exception being thrown with 0.0 as argument.
42635 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42636 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42637 exception being thrown with 0.0 as argument.
42638 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42639 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42640 exception being thrown with 0.0 as argument.
42641 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42642 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42643 exception being thrown with 0.0 as argument.
42644 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42645 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42646 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42647 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42648 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42649 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42650 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42651 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42652 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42654 2012-04-17 Petr Baudis <pasky@ucw.cz>
42656 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42659 2012-04-16 Marek Polacek <polacek@redhat.com>
42661 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42663 2012-04-16 Marek Polacek <polacek@redhat.com>
42665 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42666 operands of fdivp instruction.
42668 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42670 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42671 * elf/tst-auditmod3b.c: Likewise.
42672 * elf/tst-auditmod4b.c: Likewise.
42673 * elf/tst-auditmod5b.c: Likewise.
42674 * elf/tst-auditmod6b.c: Likewise.
42675 * elf/tst-auditmod6c.c: Likewise.
42676 * elf/tst-auditmod7b.c: Likewise.
42677 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42678 * sysdeps/x86_64/preconfigure.in: Likewise.
42679 * sysdeps/x86_64/preconfigure: Regenerated.
42681 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42683 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42686 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42688 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42689 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42691 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42694 * locale/iso-639.def: Fix gl language name. Spotted by
42697 2012-04-12 Roland McGrath <roland@hack.frob.com>
42700 * libio/libio.h (__io_write_fn): Update comment.
42702 2012-04-12 Petr Baudis <pasky@ucw.cz>
42705 * stdio.texi (Hook Functions): The user provided writer function
42706 is not allowed to return -1.
42708 2012-04-11 David S. Miller <davem@davemloft.net>
42710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42712 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42714 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42715 Add a leading slash to rtkaio.
42717 2012-04-11 Jim Meyering <meyering@redhat.com>
42720 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42721 It is not necessarily an error to ignore fwrite's return
42722 value. One can reliably use ferror to test for errors after
42725 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42727 * bits/types.h (__snseconds_t): New type.
42728 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42730 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42732 (__SNSECONDS_T_TYPE): Likewise.
42733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42734 (__SNSECONDS_T_TYPE): Likewise.
42735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42736 (__SNSECONDS_T_TYPE): Likewise.
42738 2012-04-10 Andreas Jaeger <aj@suse.de>
42741 * manual/time.texi (Processor Time): Return type of times is
42742 elapsed real time since an arbitrary point in the past.
42743 (CPU Time): Move CLK_TCK from here...
42744 (Processor Time): ...to here. Correct description.
42745 * manual/conf.texi (Constants for Sysconf): Correct description of
42748 2012-04-10 David S. Miller <davem@davemloft.net>
42751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42752 where the is a gap between DT_REL(A) and DT_JMPREL.
42754 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42756 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42757 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42758 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42760 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42762 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42763 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42764 (dl_main): Handle --inhibit-cache.
42765 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42767 * elf/dl-load.c (_dl_map_object): Use it.
42768 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42770 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42773 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42774 (__ieee754_powl): Saturate large exponents rather than testing for
42775 overflow of y*log2(x).
42776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42777 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42781 * math/s_ctan.c: Include <float.h>.
42782 (__ctan): Avoid internal overflow or cancellation in calculating
42784 * math/s_ctanf.c: Likewise.
42785 * math/s_ctanl.c: Likewise.
42786 * math/s_ctanh.c: Likewise.
42787 * math/s_ctanhf.c: Likewise.
42788 * math/s_ctanhl.c: Likewise.
42789 * math/libm-test.inc (ctan_test): Add more tests.
42790 (ctanh_test): Likewise.
42791 * sysdeps/i386/fpu/libm-test-ulps: Update.
42792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42794 2012-04-09 Andreas Jaeger <aj@suse.de>
42797 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42798 is an optional BSD extension.
42801 * manual/stdio.texi (Opening Streams): Document additional fopen
42804 2012-04-09 Roland McGrath <roland@hack.frob.com>
42806 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42807 %eax without telling the compiler.
42809 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42812 * manual/install.texi: Use sourceware.org.
42814 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42817 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42818 (__ieee754_pow): Generate overflow and underflow using huge*huge
42819 and tiny*tiny rather than just returning constant infinity or zero
42820 for large exponents.
42821 * math/libm-test.inc (pow_test): Require overflow exceptions for
42822 applicable cases of large exponents.
42825 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42826 (__ieee754_pow): Use iterative multiplication algorithm only for
42827 integer exponents with absolute value below 1024. Check for odd
42828 integer exponents when using algorithm for real exponents.
42829 * math/libm-test.inc (pow_test): Add more tests.
42830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42832 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42835 * math/libm-test.inc (exp_test): Do not allow overflow exception
42838 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42841 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42842 instead of __kernel_standard_f.
42844 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42846 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42847 * sysdeps/x86_64/memset_chk.S: Likewise.
42849 2012-04-08 Andreas Jaeger <aj@suse.de>
42852 * manual/startup.texi (Environment Access): Describe return value
42853 for putenv and setenv.
42856 * manual/filesys.texi (Directory Entries): Add description for
42860 * manual/filesys.texi (Directory Entries): Clarify that it's file
42861 system not operating system in the description of DT_UNKNOWN.
42864 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42866 2012-04-08 Stephen Compall <s11@member.fsf.org>
42869 * manual/llio.texi (Opening and Closing Files): Add cross
42870 reference to explain mode argument.
42872 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42874 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42875 * sysdeps/x86_64/memset_chk.S: Likewise.
42877 2012-04-07 David S. Miller <davem@davemloft.net>
42879 * elf/elf.h (R_SPARC_WDISP10): Define.
42880 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42883 R_SPARC_SIZE64 and R_SPARC_H34.
42885 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42888 conditions and remove no longer applicable assertion.
42890 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42892 * bits/byteswap.h: Include <features.h>.
42893 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42894 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42896 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42898 * bits/byteswap.h (__bswap_16): Removed.
42899 Include <bits/byteswap-16.h> to get __bswap_16.
42900 * sysdeps/i386/bits/byteswap.h: Likewise.
42901 * sysdeps/s390/bits/byteswap.h: Likewise.
42902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42903 * bits/byteswap-16.h: New file.
42904 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42905 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42906 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42907 * string/Makefile (headers): Add bits/byteswap-16.h.
42909 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42912 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42914 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42915 * nss/tst-nss-static.c: New.
42917 2012-04-06 Robert Millan <rmh@gnu.org>
42920 * manual/llio.texi (File Position Primitive): lseek
42921 refers to WHENCE when it really means OFFSET.
42923 2012-04-06 Andreas Jaeger <aj@suse.de>
42925 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42926 strncmp declarations.
42928 * abilist/libc.abilist: Add __poll and __ppoll.
42930 2012-04-05 David S. Miller <davem@davemloft.net>
42932 * scripts/check-local-headers.sh: Accept a host triplet in the
42933 path matched by the exclude regexp.
42935 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42937 * sysdeps/powerpc/powerpc32/dl-machine.h
42938 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42939 * sysdeps/s390/s390-32/dl-machine.h
42940 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42941 * sysdeps/sparc/sparc32/dl-machine.h
42942 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42943 * sysdeps/sparc/sparc64/dl-machine.h
42944 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42946 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42948 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42949 undefined symbol errors.
42951 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42954 2012-04-05 Michael Matz <matz@suse.de>
42957 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42959 2012-04-05 Andreas Jaeger <aj@suse.de>
42962 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42965 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42967 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42968 which ROUND is no valid rounding mode.
42970 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42974 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42976 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42978 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42979 an exception using FPU order intentionally.
42981 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42983 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42984 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42985 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42986 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42988 2012-04-05 Simon Josefsson <simon@josefsson.org>
42991 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42992 EINVAL when BUFLEN is too smal.
42994 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42997 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42998 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43000 2012-04-03 Andreas Jaeger <aj@suse.de>
43003 * manual/setjmp.texi (System V contexts): Fix sentence.
43006 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43007 New macro for this case.
43008 [!__GNUC__] (__bswap_64): New inline function for this case.
43009 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43010 * bits/byteswap.h: Likewise.
43011 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43012 ull, guard with __GLIBC_HAVE_LONG_LONG.
43014 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43015 __GLIBC_HAVE_LONG_LONG.
43017 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43018 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43020 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43023 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43024 inptr and inend, rather than using last_ch.
43026 2012-04-02 David S. Miller <davem@davemloft.net>
43028 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43029 * stdio-common/printf-parse.h (read_int): Change return type to
43030 'int', return -1 on INT_MAX overflow.
43031 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43032 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43033 overflows INT_MAX. Check for overflow of in-format-string precision
43034 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43035 SIZE_MAX not INT_MAX for integer overflow test.
43036 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43037 skip the construct in the format string but do not record anything.
43038 * stdio-common/bug22.c: Adjust to test both width/prevision
43039 INT_MAX overflow as well as total length INT_MAX overflow. Check
43040 explicitly for proper errno values.
43042 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43044 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43046 * string/test-strcmp.c [! WIDE]: Likewise.
43047 * time/tst-mktime2.c: Likewise for INT_MAX.
43048 * string/test-string.h: #include <sys/param.h> for MIN.
43050 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43051 * sysdeps/i386/init-first.c (init): Likewise.
43052 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43053 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43054 * sysdeps/sh/init-first.c (init): Likewise.
43056 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43058 * po/ru.po: Update from translation team.
43059 * po/vi.po: Likewise.
43061 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43063 * resolv/nss_dns/dns-host.c: Merge copyright years.
43065 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43068 Optimize memcpy with prefetch if
43069 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43070 src, dst pointers have unequal 16 byte alignments.
43072 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43075 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43076 from a CNAME entry and return the minimum ttl for the query.
43077 (gaih_getanswer_slice): Likewise.
43079 2012-03-30 Jeff Law <law@redhat.com>
43081 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43083 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43084 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43086 * resolv/nss_dns/dns-host.c: Update copyright year.
43088 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43090 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43091 requests to save a system call. Fix check that all bytes are sent.
43093 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43094 comments for sendmmsg.
43096 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43099 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43100 with only 1 character between 0x0041 and 0x01b0.
43101 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43102 * wcsmbs/tst-mbsnrtowcs.c: New file.
43104 2012-03-29 David S. Miller <davem@davemloft.net>
43106 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43107 small copies by hand.
43109 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43112 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43113 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43116 2012-03-28 David S. Miller <davem@davemloft.net>
43118 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43119 that branches into memcpy.
43120 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43123 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43126 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43127 implementation too.
43128 * sysdeps/sparc/mempcpy.S: New file.
43130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43131 the IFUNC routine in the libc case.
43132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43134 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43135 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43136 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43137 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43138 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43139 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43140 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43141 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43143 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43144 loop to 256 bytes instead of 64 bytes and fix test signedness.
43146 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43147 * sysdeps/sparc/sparc32/Makefile: rather than here...
43148 * sysdeps/sparc/sparc64/Makefile: and here.
43150 2012-03-28 Ulrich Drepper <drepper@gmail.com>
43152 * malloc/mallocbug.c: Avoid warnings about unused variables.
43154 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43157 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43158 in the right place. Discard and retry query if response is
43159 larger than input buffer size.
43161 2012-03-28 Joseph Myers <joseph@codesourcery.com>
43166 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43167 x for large integer exponent.
43168 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43169 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43170 sign of result as needed afterwards.
43171 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43172 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43173 result for underflowing pow the same as for overflow.
43174 (__kernel_standard_l): Handle powl overflow and underflow here
43175 rather than calling __kernel_standard.
43176 * math/libm-test.inc (pow_test): Add more tests.
43191 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43192 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43193 (__kernel_standard_l): New function.
43194 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43196 * math/w_acosl.c (__acosl): Likewise.
43197 * math/w_asinl.c (__asinl): Likewise.
43198 * math/w_atan2l.c (__atan2l): Likewise.
43199 * math/w_atanhl.c (__atanhl): Likewise.
43200 * math/w_coshl.c (__coshl): Likewise.
43201 * math/w_exp10l.c (__exp10l): Likewise.
43202 * math/w_exp2l.c (__exp2l): Likewise.
43203 * math/w_fmodl.c (__fmodl): Likewise.
43204 * math/w_hypotl.c (__hypotl): Likewise.
43205 * math/w_j0l.c (__j0l, __y0l): Likewise.
43206 * math/w_j1l.c (__j1l, __y1l): Likewise.
43207 * math/w_jnl.c (__jnl, __ynl): Likewise.
43208 * math/w_lgammal.c (__lgammal): Likewise.
43209 * math/w_log10l.c (__log10l): Likewise.
43210 * math/w_log2l.c (__log2l): Likewise.
43211 * math/w_logl.c (__logl): Likewise.
43212 * math/w_powl.c (__powl): Likewise.
43213 * math/w_remainderl.c (__remainderl): Likewise.
43214 * math/w_scalbl.c (sysv_scalbl): Likewise.
43215 * math/w_sinhl.c (__sinhl): Likewise.
43216 * math/w_sqrtl.c (__sqrtl): Likewise.
43217 * math/w_tgammal.c (__tgammal): Likewise.
43218 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43219 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43220 * math/libm-test.inc (acos_test): Add more tests.
43221 (acosh_test): Likewise.
43222 (asin_test): Likewise.
43223 (atanh_test): Likewise.
43224 (exp_test): Likewise.
43225 (exp10_test): Likewise.
43226 (exp2_test): Likewise.
43227 (expm1_test): Likewise.
43228 (lgamma_test): Likewise.
43229 (log_test): Likewise.
43230 (log10_test): Likewise.
43231 (log1p_test): Likewise.
43232 (log2_test): Likewise.
43233 (pow_test): Do not allow some spurious overflow exceptions.
43234 (sqrt_test): Add more tests.
43235 (tgamma_test): Likewise.
43236 (y0_test): Likewise.
43237 (y1_test): Likewise.
43238 (yn_test): Likewise.
43240 2012-03-27 Anton Blanchard <anton@samba.org>
43242 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43248 2012-03-27 David S. Miller <davem@davemloft.net>
43250 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43252 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43253 have-as-vis3 check.
43255 2012-03-27 Andreas Jaeger <aj@suse.de>
43257 * sysdeps/x86_64/elf/configure.in: Moved to ...
43258 * sysdeps/x86_64/configure.in: ... here.
43259 * sysdeps/x86_64/elf/start.S: Moved to ...
43260 * sysdeps/x86_64/start.S: ... here.
43261 * sysdeps/x86_64/elf/configure: Delete.
43263 * sysdeps/x86_64/configure.in: Merge contents from
43264 sysdeps/i386/configure.in (without i686 check).
43266 * sysdeps/i386/elf/Versions: Merge into ...
43267 * sysdeps/i386/Versions: ... this.
43268 * sysdeps/i386/elf/Versions: Delete file.
43269 * sysdeps/i386/elf/start.S: Moved to ...
43270 * sysdeps/i386/start.S: ...here.
43271 * sysdeps/i386/elf/configure.in: Merge into...
43272 * sysdeps/i386/configure.in: ...here.
43273 * sysdeps/i386/elf/configure.in: Delete file.
43274 * sysdeps/i386/elf/configure: Delete file.
43276 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43277 * debug/backtracesyms.c: ... here.
43278 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43279 * debug/backtracesymsfd.c: ... here.
43280 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43281 * sysdeps/generic/ifunc-sel.h: ... here.
43283 * sysdeps/unix/i386/start.c: Delete file.
43284 * sysdeps/unix/sparc/start.c: Delete file.
43285 * sysdeps/unix/start.c: Delete file.
43287 * sysdeps/sh/elf/configure.in: Moved to ...
43288 * sysdeps/sh/configure.in: ... here.
43289 * sysdeps/sh/elf/start.S: Moved to ...
43290 * sysdeps/sh/start.S: ... here.
43291 * sysdeps/sh/elf/configure: Delete file.
43293 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43294 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43295 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43296 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43297 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43298 * sysdeps/powerpc/powerpc64/start.S: here.
43299 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43300 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43301 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43302 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43303 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43305 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43306 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43307 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43308 * sysdeps/powerpc/powerpc32/start.S: ... here.
43309 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43310 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43311 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43313 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43314 * sysdeps/powerpc/ifunc-sel.h: ... here.
43315 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43316 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43318 * sysdeps/sparc/elf/configure.in: Moved to ...
43319 * sysdeps/sparc/configure.in: ... here.
43320 * sysdeps/sparc/elf/configure: Delete file.
43321 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43322 * sysdeps/sparc/sparc32/start.S: ... here.
43323 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43324 * sysdeps/sparc/sparc64/start.S: ... here.
43325 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43326 * sysdeps/sparc/sparc32/Makefile: ... this.
43327 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43328 * sysdeps/sparc/sparc64/Makefile: ... this.
43330 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43331 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43332 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43333 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43334 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43335 * sysdeps/s390/s390-32/setjmp.S: ... here.
43336 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43337 * sysdeps/s390/s390-32/configure.in: ... here.
43338 * sysdeps/s390/s390-32/elf/configure: Delete file.
43339 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43340 * sysdeps/s390/s390-32/start.S: ... here.
43342 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43343 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43344 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43345 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43346 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43347 * sysdeps/s390/s390-64/setjmp.S: ... here.
43348 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43349 * sysdeps/s390/s390-64/configure.in: ... here
43350 * sysdeps/s390/s390-64/elf/configure: Delete file.
43351 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43352 * sysdeps/s390/s390-64/start.S: ... here.
43353 * sysdeps/s390/s390-64/elf/configure: Delete.
43355 * configure.in: Remove support for elf directories in sysdeps.
43357 * configure: Regenerated.
43358 * sysdeps/i386/configure: Regenerated.
43359 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43360 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43361 * sysdeps/s390/s390-32/configure: Regenerated.
43362 * sysdeps/s390/s390-64/configure: Regenerated.
43363 * sysdeps/sh/configure: Regenerated.
43364 * sysdeps/sparc/configure: Regenerated.
43365 * sysdeps/x86_64/configure: Regenerated.
43367 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43372 denormal result into account.
43374 2012-03-25 Roland McGrath <roland@hack.frob.com>
43376 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43377 Reported by Allan McRae <allan@archlinux.org>.
43379 2012-03-23 Jeff Law <law@redhat.com>
43381 * nss/getnssent.c (__nss_getent): Fix typo.
43383 2012-03-23 David S. Miller <davem@davemloft.net>
43385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43387 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43389 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43390 to pad to uint64_t for each field.
43391 (dl_tls_index): Replace unsigned long with uint64_t.
43393 2012-03-23 Daniel Jacobowitz <dmj@google.com>
43394 Paul Pluzhnikov <ppluzhnikov@google.com>
43397 * grp/Makefile (otherlibs): Don't set it.
43398 * inet/Makefile (otherlibs): Likewise.
43399 * login/Makefile (otherlibs): Likewise.
43400 * nscd/Makefile (otherlibs): Likewise.
43401 * posix/Makefile (otherlibs): Likewise.
43402 * pwd/Makefile (otherlibs): Likewise.
43403 * rt/Makefile (otherlibs): Likewise.
43404 * sunrpc/Makefile (otherlibs): Likewise.
43405 * nss/Makefile (otherlibs): Likewise.
43406 Add libnss_files to routines and static-only-routines.
43407 ($(objpfx)getent): Remove rule.
43408 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43409 static-only-routines.
43411 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43414 * math/s_cexp.c: Include <float.h>.
43415 (__cexp): Handle exp result overflowing not necessarily
43416 overflowing both real and imaginary parts of result.
43417 * math/s_cexpf.c: Likewise.
43418 * math/s_cexpl.c: Likewise.
43419 * math/libm-test.inc (cexp_test): Add more tests.
43420 * sysdeps/i386/fpu/libm-test-ulps: Update.
43421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43423 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43425 * include/link.h (ELFW): New macro.
43426 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43427 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43429 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43431 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43434 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43436 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43438 (struct La_x32_retval): Likewise.
43440 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43442 * sysdeps/x86_64/preconfigure.in: New file.
43443 * sysdeps/x86_64/preconfigure: New generated file.
43445 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43448 * math/e_exp2l.c: Include <float.h>.
43449 (__ieee754_exp2l): Handle overflow and underflow cases
43450 separately. Only pass fractional part of argument to
43452 * math/libm-test.inc (exp2_test): Add more tests.
43454 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43455 negating x to take absolute value.
43456 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43458 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43459 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43461 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43462 computing low part if x was negated.
43463 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43465 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43467 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43468 la_x32_gnu_pltexit.
43469 (pltexit): Cast int_retval to ptrdiff_t.
43470 * elf/tst-auditmod3b.c: Likewise.
43471 * elf/tst-auditmod4b.c: Likewise.
43472 * elf/tst-auditmod5b.c: Likewise.
43473 * elf/tst-auditmod6b.c: Likewise.
43474 * elf/tst-auditmod6c.c: Likewise.
43475 * elf/tst-auditmod7b.c: Likewise.
43477 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43478 and x32_gnu_pltexit.
43480 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43481 __ELF_NATIVE_CLASS.
43482 (La_x32_regs): New macro.
43483 (La_x32_retval): Likewise.
43484 (la_x32_gnu_pltenter): New function prototype.
43485 (la_x32_gnu_pltexit): Likewise.
43487 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43489 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43494 * configure.in (libc_cv_cc_nofma): Check for option to disable
43495 generation of FMA instructions.
43496 * configure: Regenerate.
43497 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43498 * sysdeps/ieee754/dbl-64/Makefile: New file.
43499 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43500 Remove brandred-fma4.
43501 (CFLAGS-brandred-fma4.c): Remove.
43502 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43505 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43508 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43510 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43511 LLONG_MAX != LONG_MAX.
43512 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43513 (_fitoa_word): Likewise.
43514 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43515 LLONG_MAX != LONG_MAX.
43516 * stdio-common/_itowa.h: Include <_itoa.h>.
43517 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43518 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43519 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43520 only if not defined.
43521 (_ITOA_WORD_TYPE): Likewise.
43522 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43523 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43525 2012-03-21 David S. Miller <davem@davemloft.net>
43527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43529 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43531 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43532 of x86_64 when setting libc_cv_slibdir, libdir and
43534 * sysdeps/unix/sysv/linux/configure: Regenerated.
43536 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43538 * manual/lang.texi (Old Varargs): Remove section.
43539 (How Variadic): Update menu.
43540 (va_start): Do not mention varargs.h.
43542 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43543 Joseph Myers <joseph@codesourcery.com>
43545 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43547 * configure: Regenerated.
43549 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43551 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43552 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43555 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43558 * Makefile (files-for-dist): Remove NOTES.
43559 (NOTES): Remove rule.
43560 * README: Don't refer to NOTES.
43561 * manual/creature.texi: Don't include macros.texi.
43562 * manual/intro.texi (creature.texi): Remove comment referring to
43565 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43566 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43567 * configure: Regenerated.
43568 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43569 LIBC_TRY_CC_OPTION.
43570 (libc_cv_as_i686): Likewise.
43571 (libc_cv_cc_avx): Likewise.
43572 (libc_cv_cc_sse2avx): Likewise.
43573 (libc_cv_cc_fma4): Likewise.
43574 (libc_cv_cc_novzeroupper): Likewise.
43575 * sysdeps/i386/configure: Regenerated.
43578 * sysdeps/i386/fpu/s_cexp.S: Remove.
43579 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43580 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43581 * math/libm-test.inc (cexp_test): Add more tests.
43582 * sysdeps/i386/fpu/libm-test-ulps: Update.
43583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43585 2012-03-21 Allan McRae <allan@archlinux.org>
43587 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43589 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43592 * math/w_exp2.c: Do not include <float.h>.
43593 (o_threshold, u_threshold): Remove.
43594 (__exp2): Calculate result before checking finiteness and calling
43596 * math/w_exp2f.c: Likewise.
43597 * math/w_exp2l.c: Likewise.
43598 * math/libm-test.inc (exp2_test): Require overflow exception for
43602 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43603 range of signed 64-bit integers before using fistpll. Remove
43604 checks for whether integers fit in mantissa bits.
43605 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43606 the range of signed 32-bit integers before using fistpl. Remove
43607 checks for whether integers fit in mantissa bits.
43608 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43609 (__ieee754_powl): Test for y outside the range of signed 64-bit
43610 integers before using fistpll. Reduce 64-bit values to 63-bit
43612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43613 divide-by-zero is raised for zero to large negative powers.
43614 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43615 (__ieee754_powl): Test for y outside the range of signed 64-bit
43616 integers before using fistpll. Reduce 64-bit values to 63-bit
43618 * math/libm-test.inc (pow_test): Add more tests.
43620 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43622 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43623 <stdio-common/_itoa.h>.
43624 * debug/segfault.c: Likewise.
43625 * elf/dl-cache.c: Likewise.
43626 * elf/dl-minimal.c: Likewise.
43627 * elf/dl-misc.c: Likewise.
43628 * elf/dl-sysdep.c: Likewise.
43629 * elf/dl-version.c: Likewise.
43630 * elf/rtld.c: Likewise.
43631 * hurd/hurdsock.c: Likewise.
43632 * hurd/lookup-retry.c: Likewise.
43633 * malloc/malloc.c: Likewise.
43634 * malloc/mtrace.c: Likewise.
43635 * nscd/nscd_getgr_r.c: Likewise.
43636 * nscd/nscd_getpw_r.c: Likewise.
43637 * nscd/nscd_getserv_r.c: Likewise.
43638 * posix/getopt_init.c: Likewise.
43639 * posix/wordexp.c: Likewise.
43640 * stdio-common/_itoa.c: Likewise.
43641 * stdio-common/printf_fphex.c: Likewise.
43642 * stdio-common/vfprintf.c: Likewise.
43643 * string/_strerror.c: Likewise.
43644 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43645 * sysdeps/i386/i686/hp-timing.h: Likewise.
43646 * sysdeps/mach/_strerror.c: Likewise.
43647 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43648 * sysdeps/mach/hurd/sethostid.c: Likewise.
43649 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43650 * sysdeps/mach/xpg-strerror.c: Likewise.
43651 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43652 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43653 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43654 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43655 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43656 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43657 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43658 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43659 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43660 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43661 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43662 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43663 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43664 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43665 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43666 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43667 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43668 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43669 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43670 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43671 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43673 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43675 * stdio-common/_itoa.h: Moved to ...
43676 * sysdeps/generic/_itoa.h: Here.
43678 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43680 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43681 instead of "_itoa.h" and "_itowa.h".
43682 * stdio-common/vfprintf.: Likewise.
43684 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43686 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43688 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43689 (__signbit): Likwise.
43690 (llrintf): Likwise.
43693 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43695 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43698 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43700 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43701 OVERFLOW_EXCEPTION_OK.
43702 * math/libm-test.inc ("Philosophy"): Update comment about
43704 (OVERFLOW_EXCEPTION): Define.
43705 (OVERFLOW_EXCEPTION_OK): Likewise.
43706 (INVALID_EXCEPTION_OK): Renumber.
43707 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43708 (IGNORE_ZERO_INF_SIGN): Likewise.
43709 (test_exceptions): Handle FE_OVERFLOW.
43710 (exp10_test): Expect overflow exceptions.
43711 (exp2_test): Likewise.
43712 (expm1_test): Likewise.
43713 (nextafter_test): Likewise.
43714 (pow_test): Likewise.
43715 (scalbn_test): Likewise.
43716 (scalbln_test): Likewise.
43718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43720 * sysdeps/x86_64/bits/atomic.h
43721 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43723 (atomic_exchange_acq): Likewise.
43724 (__arch_exchange_and_add_body): Likewise.
43725 (__arch_add_body): Likewise.
43726 (atomic_add_negative): Likewise.
43727 (atomic_add_zero): Likewise.
43729 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43731 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43732 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43734 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43736 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43737 Check __x86_64__ instead of __WORDSIZE.
43739 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43741 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43743 2012-03-19 David S. Miller <davem@davemloft.net>
43745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43747 * sysdeps/sparc/fpu/fenv_private.h: New file.
43748 * sysdeps/sparc/fpu/math_private.h: Use it.
43749 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43751 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43752 (libc_feholdexcept_setroundl): Remove.
43753 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43755 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43756 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43758 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43760 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43761 int64_t instead of long int.
43762 (INSERT_WORDS64): Likwise.
43764 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43766 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43767 _Unwind_GetCFA return to _Unwind_Ptr first.
43769 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43772 * math/s_clog.c: Include <float.h>.
43773 (__clog): Scale large or subnormal inputs.
43774 * math/s_clogf.c: Likewise.
43775 * math/s_clogl.c: Likewise.
43776 * math/s_clog10.c: Include <float.h>.
43777 (M_LOG10_2): Define.
43778 (__clog10): Scale large or subnormal inputs.
43779 * math/s_clog10f.c: Likewise.
43780 * math/s_clog10l.c: Likewise.
43781 * math/libm-test.inc (clog_test): Add more tests.
43782 (clog10_test): Likewise.
43783 * sysdeps/i386/fpu/libm-test-ulps: Update.
43784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43787 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43789 * math/libm-test.inc (atan2_test): Add another test.
43791 * Makerules (common-objdir-compile): Remove.
43792 * sysdeps/unix/Makefile (config-generated): Do not add
43793 $(unix-generated) to variable.
43794 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43795 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43797 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43799 [generic bits/local_lim.h] (before-compile): Do not append to
43801 [generic bits/local_lim.h] (common-generated): Likewise.
43802 [generic sys/param.h] (before-compile): Do not append to variable.
43803 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43804 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43805 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43806 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43808 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43809 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43810 [generic sys/param.h] ($(addprefix
43811 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43812 [generic sys/param.h] (common-generated): Do not append to
43814 [generic sys/param.h] (sysdep_headers): Likewise.
43815 [generic bits/errno.h] (before-compile): Do not append to
43817 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43819 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43820 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43821 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43822 [generic bits/errno.h] (common-generated): Do not append to
43824 [generic bits/ioctls.h] (before-compile): Do not append to
43826 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43828 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43829 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43830 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43832 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43833 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43834 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43835 [generic bits/ioctls.h] (common-generated): Do not append to
43837 [generic sys/syscall.h] (syscall.h): Remove variable.
43838 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43840 [generic sys/syscall.h] (before-compile): Do not append to
43842 [generic sys/syscall.h] (common-generated): Likewise.
43843 * sysdeps/unix/errnos-tmpl.c: Remove file.
43844 * sysdeps/unix/errnos.awk: Likewise.
43845 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43846 * sysdeps/unix/ioctls.awk: Likewise.
43847 * sysdeps/unix/mk-local_lim.c: Likewise.
43848 * sysdeps/unix/snarf-ioctls: Likewise.
43850 2012-03-19 Richard Henderson <rth@twiddle.net>
43852 * sysdeps/i386/fpu/fenv_private.h: New file.
43853 * sysdeps/i386/fpu/math_private.h: Use it.
43854 (math_opt_barrier, math_force_eval): Remove.
43855 (libc_feholdexcept_setround_53bit): Remove.
43856 (libc_feupdateenv_53bit): Remove.
43857 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43858 (math_opt_barrier, math_force_eval): Remove.
43859 (libc_feholdexcept): Remove.
43860 (libc_feholdexcept_setround): Remove.
43861 (libc_fetestexcept, libc_fesetenv): Remove.
43862 (libc_feupdateenv_test): Remove.
43863 (libc_feupdateenv, libc_feholdsetround): Remove.
43864 (libc_feresetround): Remove.
43866 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43867 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43869 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43870 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43871 (libc_feupdateenv_testl): New.
43872 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43873 (libc_feupdateenv_testf): New.
43874 (libc_feupdateenv): Use libc_feupdateenv_test.
43875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43876 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43878 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43879 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43880 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43881 (libc_feresetround_noex): New.
43882 (libc_feresetround_noexf): New.
43883 (libc_feresetround_noexl): New.
43884 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43885 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43886 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43887 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43890 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43892 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43893 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43894 SET_RESTORE_ROUND_NOEX.
43895 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43896 SET_RESTORE_ROUND_NOEXF.
43897 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43898 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43899 (libc_feholdsetroundf): New.
43900 (libc_feresetround, libc_feresetroundf): New.
43902 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43903 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43904 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43906 * sysdeps/generic/math_private.h: Include <fenv.h>.
43907 (default_libc_feholdexcept): New.
43908 (default_libc_feholdexcept_setround): New.
43909 (default_libc_fesetenv, default_libc_feupdateenv): New.
43910 (libc_feholdexcept): Only define if undefined.
43911 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43912 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43913 (libc_feholdexcept_setroundl): Likewise.
43914 (libc_feholdexcept_setround_53bit): Likewise.
43915 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43916 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43917 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43918 (libc_feupdateenv_53bit): Likewise.
43919 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43920 (libc_feholdexcept): Convert from macro to inline function.
43921 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43922 (libc_fesetenv, libc_feupdateenv): Likewise.
43924 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43925 not previously defined.
43926 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43927 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43928 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43929 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43930 * sysdeps/ieee754/flt-32/math_private.h: New file.
43931 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43932 math_private.h below SET_FLOAT_WORD.
43933 (__isnan, __isinf_ns, __finite): Remove.
43934 (__isnanf, __isinf_nsf, __finitef): Remove.
43936 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43940 2012-03-17 David S. Miller <davem@davemloft.net>
43943 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43946 2012-03-16 David S. Miller <davem@davemloft.net>
43948 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43954 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43955 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43956 sysdep_routines when subdir is sysvipc.
43957 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43958 __getshmlba helper.
43960 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43962 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43964 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43967 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43970 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43971 (__lround): Renamed to ...
43972 (__llround): This. Replace long int with long long int.
43973 Define lround functions as aliases of llround functions.
43974 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43976 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43978 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43979 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43980 adresses to uintptr_t. Replace "long int" and "unsigned long
43981 int" with "greg_t" on va_arg.
43983 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43985 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43986 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43988 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43989 Move e_machine check before EI_CLASS check. Handle x32
43990 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43991 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43992 SKIP_EM_IA_64 and include
43993 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43995 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43996 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43997 (add_system_dir): New macro.
43999 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44000 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44002 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44013 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44015 * math/w_j0f.c (j0f): Likewise.
44017 * math/w_j0l.c (__j0l): Likewise.
44019 * math/w_j1.c (j1): Likewise.
44021 * math/w_j1f.c (j1f): Likewise.
44023 * math/w_j1l.c (__j1l): Likewise.
44025 * math/w_jn.c (jn): Likewise.
44027 * math/w_jnf.c (jnf): Likewise.
44029 * math/w_jnl.c (__jnl): Likewise.
44031 * math/libm-test.inc (j0_test): Add more tests.
44032 (j1_test): Likewise.
44033 (jn_test): Likewise. Add trailing semicolon to existing test.
44034 (y0_test): Likewise.
44035 (y1_test): Likewise.
44036 * sysdeps/i386/fpu/libm-test-ulps: Update.
44037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44041 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44042 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44043 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44044 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44045 (__tanl): Set errno for infinite argument.
44046 * sysdeps/i386/fpu/mptan.c: Remove.
44047 * sysdeps/i386/fpu/s_tan.S: Likewise.
44048 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44049 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44050 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44051 * math/libm-test.inc (tan_test): Add more tests and enable more
44052 tests for double and long double.
44053 * sysdeps/i386/fpu/libm-test-ulps: Update.
44054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44056 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44058 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44059 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44061 2012-03-16 Roland McGrath <roland@hack.frob.com>
44063 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44064 * configure.in: Use it for both main tree and add-ons.
44065 * configure: Regenerated.
44067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44069 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44071 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44073 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44077 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44078 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44083 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44084 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44085 != 0 for prec == 2.
44086 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44087 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44088 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44089 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44090 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44091 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44092 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44093 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44094 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44095 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44096 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44097 * math/libm-test.inc (cos_test): Add more tests and enable more
44098 tests for long double.
44099 (sin_test): Likewise.
44100 (sincos_test): Likewise.
44101 * sysdeps/i386/fpu/libm-test-ulps: Update.
44102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44104 2012-03-16 David S. Miller <davem@davemloft.net>
44106 * sysdeps/sparc/fpu/math_private.h: New file.
44108 2012-03-15 David S. Miller <davem@davemloft.net>
44110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44124 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44125 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44127 * sysdeps/sparc/sparc-ifunc.h: New file.
44128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44155 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44173 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44175 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44179 2012-03-15 Andreas Jaeger <aj@suse.de>
44182 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44183 ieee754/flt-32 implementation for sin, cos and sincos.
44184 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44185 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44186 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44187 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44188 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44189 ieee754/flt-32 implementation for tan.
44191 * math/libm-test.inc (cos_test): Enable some large input tests for
44193 (sin_test): Likewise.
44194 (sincos_test): Likewise.
44195 (tan_test): Add tests for large input.
44197 * sysdeps/i386/fpu/libm-test-ulps: Update.
44199 2012-03-15 Andreas Jaeger <aj@suse.de>
44202 * math/libm-test.inc (cos_test): Add more test cases.
44203 (sin_test): Likewise.
44204 (sincos_test): Likewise.
44206 2012-03-15 Andreas Jaeger <aj@suse.de>
44209 * math/libm-test.inc (cos_test): Add a test case for large input
44211 (sin_test): Likewise.
44212 (sincos_test): Likewise.
44214 2012-03-15 Andreas Jaeger <aj@suse.de>
44215 Joseph Myers <joseph@codesourcery.com>
44218 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44219 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44220 * sysdeps/i386/fpu/branred.c: Likewise.
44221 * sysdeps/i386/fpu/dosincos.c: Likewise.
44222 * sysdeps/i386/fpu/mpa.c: Likewise.
44223 * sysdeps/i386/fpu/s_cos.S: Likewise.
44224 * sysdeps/i386/fpu/s_sin.S: Likewise.
44225 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44226 * sysdeps/i386/fpu/sincos32.c: Likewise.
44228 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44230 (libc_feupdateenv_53bit): Define.
44231 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44233 (libc_feupdateenv_53bit): Define.
44235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44236 53 bit (without extend i386 double precision).
44238 * math/libm-test.inc (sincos_test): Add tests for large input.
44242 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44244 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44248 2012-03-15 David S. Miller <davem@davemloft.net>
44250 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44251 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44252 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44253 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44278 fmin/fmax sysdep routines.
44279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44281 2012-03-14 David S. Miller <davem@davemloft.net>
44283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44355 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44360 * sysdeps/sparc/configure.in: New file.
44361 * sysdeps/sparc/configure: Generate.
44362 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44363 * configure: Regenerate.
44364 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44365 * config.make.in (have-as-vis3): New.
44366 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44367 available use -Av9d instead of -Av9a.
44368 * sysdeps/sparc/sparc64/Makefile: Likewise.
44369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44384 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44385 fzeros/fnegs to load 0x80000000 into a float register instead of
44387 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44389 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44393 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44394 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44395 ($(inst_includedir)/bits/syscall.h): Remove rule.
44396 ($(objpfx)bits/syscall.d): Include instead of
44397 $(objpfx)syscall-list.d.
44398 (generated): Change syscall-list.h and syscall-list.d to
44399 bits/syscall.h and bits/syscall.d.
44401 2012-03-14 Roland McGrath <roland@hack.frob.com>
44404 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44406 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44409 * math/s_csqrt.c: Include <float.h>.
44410 (__csqrt): Scale large or subnormal inputs.
44411 * math/s_csqrtf.c: Likewise.
44412 * math/s_csqrtl.c: Likewise.
44413 * math/libm-test.inc (csqrt_test): Add more tests.
44414 * sysdeps/i386/fpu/libm-test-ulps: Update.
44415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44418 * math/libm-test.inc (hypot_test): Add more tests.
44420 2012-03-13 David S. Miller <davem@davemloft.net>
44423 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44424 double-precision for the calculation instead of scaling.
44426 2012-03-13 Joseph Myers <joseph@codesourcery.com>
44428 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44429 manipulate bits before adding and subtracting TWO52[sx].
44430 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44433 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44435 2012-03-13 David S. Miller <davem@davemloft.net>
44437 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44438 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44440 rtld-global-offsets.h
44441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44443 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44446 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44448 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44449 'err' in the ifdef scope in which it is actually used.
44451 * nss/nss_db/db-init.c: Include string.h
44453 2012-03-12 David S. Miller <davem@davemloft.net>
44455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44456 masking out of the most significant byte of random value used.
44457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44458 Fix coding style in previous change.
44460 * sysdeps/unix/sysv/linux/kernel-features.h
44461 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44462 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44464 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44467 2012-03-11 David S. Miller <davem@davemloft.net>
44469 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44470 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44471 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44472 for 'resultvar' otherwise things get truncated on 64-bit.
44474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44475 Fix masking out of the most significant byte of random value used.
44477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44479 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44483 2012-03-09 David S. Miller <davem@davemloft.net>
44485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44486 variables with appropriate CPP guards.
44487 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44488 from the frame pointer, not the stack pointer. Correct layout
44489 comments. Fix test on resulting framesize and the management of
44490 the outregs buffer for pltexit. Preserve floating point return
44491 values across _dl_call_pltexit call.
44492 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44493 framesize and the management of the outregs buffer for pltexit.
44494 Preserve floating point return values across _dl_call_pltexit
44496 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44497 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44498 (la_sparc64_gnu_pltexit): New functions.
44499 (print_exit): Fix format string for return register value.
44501 2012-03-10 Joseph Myers <joseph@codesourcery.com>
44503 * sunrpc/Makefile (others): Add rpcgen.
44504 ($(objpfx)rpcgen): Remove special build rule and dependency on
44506 * sunrpc/rpcgen.c: New file.
44508 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44511 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44512 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44513 * sysdeps/i386/crti.S: Likewise.
44514 * sysdeps/i386/crtn.S: Likewise.
44515 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44516 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44517 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44518 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44519 * sysdeps/sh/crti.S: Likewise.
44520 * sysdeps/sh/crtn.S: Likewise.
44521 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44524 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44526 * locale/programs/locfile-kw.gperf: Likewise.
44527 * locale/programs/charmap-kw.h: Regenerated.
44528 * locale/programs/locfile-kw.h: Likewise.
44531 * intl/plural.y: Replace FSF snail mail address with URL.
44532 * intl/plural.c: Regenerated.
44534 2012-03-09 Richard Henderson <rth@twiddle.net>
44536 * include/math_private.h: Remove file.
44537 * math/math_private.h: Move file ...
44538 * sysdeps/generic/math_private.h: ... here.
44540 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44541 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44542 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44544 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44545 and <math_private.h>.
44546 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44547 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44548 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44549 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44550 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44551 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44552 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44554 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44561 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44562 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44563 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44564 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44565 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44567 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44568 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44570 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44571 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44572 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44576 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44578 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44579 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44580 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44581 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44583 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44584 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44586 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44587 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44588 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44589 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44590 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44591 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44592 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44593 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44595 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44596 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44597 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44598 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44599 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44600 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44601 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44603 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44607 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44609 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44610 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44611 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44612 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44613 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44614 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44615 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44625 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44626 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44627 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44628 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44629 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44630 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44633 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44634 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44637 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44639 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44640 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44641 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44642 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44643 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44644 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44645 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44646 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44647 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44648 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44649 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44650 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44651 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44652 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44653 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44657 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44658 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44659 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44660 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44662 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44663 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44664 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44665 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44667 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44668 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44669 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44670 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44671 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44672 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44673 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44674 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44675 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44676 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44677 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44678 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44679 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44680 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44681 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44682 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44683 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44684 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44685 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44686 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44687 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44688 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44689 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44690 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44691 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44692 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44693 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44694 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44695 * sysdeps/ieee754/k_standard.c: Likewise.
44696 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44697 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44698 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44699 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44700 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44701 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44702 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44703 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44704 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44705 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44706 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44707 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44708 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44709 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44710 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44711 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44712 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44713 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44714 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44715 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44716 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44717 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44718 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44719 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44720 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44721 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44726 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44727 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44728 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44729 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44730 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44731 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44733 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44734 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44735 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44736 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44738 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44739 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44740 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44741 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44742 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44743 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44744 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44745 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44746 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44747 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44748 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44749 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44750 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44751 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44752 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44753 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44758 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44763 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44781 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44782 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44792 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44807 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44812 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44814 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44815 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44816 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44818 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44819 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44823 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44828 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44833 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44834 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44835 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44840 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44842 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44844 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44845 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44846 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44853 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44856 * sysdeps/ieee754/s_lib_version.c: Likewise.
44857 * sysdeps/ieee754/s_matherr.c: Likewise.
44858 * sysdeps/ieee754/s_signgam.c: Likewise.
44859 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44860 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44861 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44862 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44863 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44864 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44865 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44866 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44867 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44868 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44869 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44870 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44871 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44872 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44873 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44875 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44876 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44878 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44881 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44883 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44884 * sunrpc/rpc_main.c: Likewise.
44885 * sunrpc/rpc_svcout.c: Likewise.
44887 2012-03-09 David S. Miller <davem@davemloft.net>
44889 * include/math_private.h: New file.
44891 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44893 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44894 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44895 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44896 from <bits/socket_type.h>.
44897 (enum __socket_type): Don't define here.
44898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44900 bits/socket_type.h.
44903 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44904 checking __USE_GNU.
44906 * Makerules ($(inst_includedir)/%.h): New rule.
44907 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44908 (install-others): Remove variable setting.
44909 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44911 2012-03-08 Richard Henderson <rth@twiddle.net>
44913 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44914 from macro to inline function; merge with the
44915 !__LIBC_INTERNAL_MATH_INLINES version.
44916 (__ieee754_sqrtf): Likewise.
44918 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44919 to inline function.
44920 (__rintf, __floor, __floorf): Likewise.
44922 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44923 macro to inline function.
44924 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44927 not <math/math_private.h>.
44929 2012-03-08 David S. Miller <davem@davemloft.net>
44931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44933 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44935 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44937 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44939 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44940 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44942 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44944 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44945 be defined individually, they must be defined as a block. Define
44946 S for printing a string instead of hidint the different by using a
44947 macro for adding the 'l'.
44948 * stdio-common/tst-fphex-wide.c: Adjust.
44950 2012-03-07 Marek Polacek <polacek@redhat.com>
44952 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44954 2012-03-08 Marek Polacek <polacek@redhat.com>
44957 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44958 * stdio-common/tst-fphex.c: Define a few macros to make the
44959 test reusable. Use them.
44960 * stdio-common/tst-fphex-wide.c: New file.
44962 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44965 * manual/macros.texi (gnusystems): New macro.
44966 (nongnusystems): Likewise.
44967 (gnulinuxhurdsystems): Likewise.
44968 (gnuhurdsystems): Likewise..
44969 (gnulinuxsystems): Likewise.
44970 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44971 variants of the GNU system, not "GNU system".
44972 * manual/conf.texi: Likewise.
44973 * manual/errno.texi: Likewise. Update example of errno macro
44975 * manual/filesys.texi: Likewise.
44976 (getumask): Document as specific to GNU/Hurd.
44977 * manual/install.texi: Likewise. Reword some references to
44979 * manual/intro.texi: Likewise.
44980 * manual/io.texi: Likewise.
44981 (File Name Portability): Detail which constraints are inapplicable
44982 to all GNU systems and which are only inapplicable to GNU/Hurd.
44983 * manual/job.texi: Likewise.
44984 * manual/llio.texi: Likewise.
44985 (O_NOCTTY): Document as present on GNU/Linux.
44986 * manual/maint.texi: Likewise.
44987 * manual/memory.texi: Likewise.
44988 * manual/pattern.texi: Likewise.
44989 * manual/pipe.texi: Likewise.
44990 * manual/process.texi: Likewise.
44991 * manual/resource.texi: Likewise.
44992 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44994 * manual/setjmp.texi: Likewise.
44995 * manual/signal.texi: Likewise.
44996 * manual/startup.texi: Likewise.
44997 * manual/stdio.texi: Likewise.
44998 * manual/terminal.texi: Likewise.
44999 (ONLCR): Document as POSIX.
45000 (OXTABS): Document availability on GNU/Linux as XTABS.
45001 (ONOEOT): Document availability separately from other bits.
45002 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45003 * manual/time.texi: Likewise.
45004 * manual/users.texi: Likewise.
45005 * INSTALL: Regenerated.
45006 * sysdeps/gnu/errlist.c: Regenerated.
45008 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45009 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45010 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45012 * configure: Regenerated.
45014 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45016 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45017 default includes instead of AC_HEADER_CHECK.
45018 * sysdeps/i386/configure: Regenerated.
45021 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45022 * math/s_cacoshf.c (__cacoshf): Likewise.
45023 * math/s_cacoshl.c (__cacoshl): Likewise.
45024 * math/s_casinh.c (__casinh): Set signs of result from argument.
45025 * math/s_casinhf.c (__casinhf): Likewise.
45026 * math/s_casinhl.c (__casinhl): Likewise.
45027 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45028 (casinh_test): Add more tests.
45029 * sysdeps/i386/fpu/libm-test-ulps: Update.
45030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45032 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45034 * po/zh_TW.po: Update from translation team.
45036 * login/Makefile (distribute): Remove variable.
45037 * catgets/Makefile: Likewise.
45038 * mach/Makefile: Likewise.
45039 * malloc/Makefile: Likewise.
45040 * misc/Makefile: Likewise.
45041 * iconv/Makefile: Likewise.
45042 * nscd/Makefile: Likewise.
45043 * hurd/Makefile: Likewise.
45044 * manual/Makefile: Likewise.
45045 * locale/Makefile: Likewise.
45046 * intl/Makefile: Likewise.
45047 * conform/Makefile: Likewise.
45048 * nss/Makefile: Likewise.
45049 * time/Makefile: Likewise.
45050 * soft-fp/Makefile: Likewise.
45051 * dirent/Makefile: Likewise.
45052 * gmon/Makefile: Likewise.
45053 * po/Makefile: Likewise.
45054 * rt/Makefile: Likewise.
45055 * socket/Makefile: Likewise.
45056 * math/Makefile: Likewise.
45057 * signal/Makefile: Likewise.
45058 * debug/Makefile: Likewise.
45059 * elf/Makefile: Likewise.
45060 * timezone/Makefile: Likewise.
45061 * stdlib/Makefile: Likewise.
45062 * iconvdata/Makefile: Likewise.
45063 * sunrpc/Makefile: Likewise.
45064 * io/Makefile: Likewise.
45065 * argp/Makefile: Likewise.
45066 * inet/Makefile: Likewise.
45067 * hesiod/Makefile: Likewise.
45068 * grp/Makefile: Likewise.
45069 * csu/Makefile: Likewise.
45070 * wctype/Makefile: Likewise.
45071 * crypt/Makefile: Likewise.
45072 * libio/Makefile: Likewise.
45073 * string/Makefile: Likewise.
45074 * nis/Makefile: Likewise.
45075 * resolv/Makefile: Likewise.
45076 * stdio-common/Makefile: Likewise.
45077 * wcsmbs/Makefile: Likewise.
45078 * dlfcn/Makefile: Likewise.
45079 * posix/Makefile: Likewise.
45082 * timezone/Makefile: Don't install timezone files, just the programs
45085 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45087 * nss/databases.def: Add missing gshadow entry.
45089 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45091 2012-03-06 Marek Polacek <polacek@redhat.com>
45094 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45095 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45096 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45097 * stdio-common/tst-long-dbl-fphex.c: New file.
45099 2012-03-06 David S. Miller <davem@davemloft.net>
45101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45102 (set_obp_int): New function.
45103 (get_obp_int): New function.
45104 (__get_clockfreq_via_dev_openprom): Likewise.
45105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45106 Avoid unused variable warnings on 'val' and use builtin_expect.
45107 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45109 (INLINE_CLONE_SYSCALL): Likewise.
45111 2012-03-05 David S. Miller <davem@davemloft.net>
45113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45115 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45119 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45120 only for |x| >= 40.
45121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45123 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45125 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45126 Replace gettimeofday with __vdso_gettimeofday.
45128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45129 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45130 __vdso_clock_gettime and __vdso_getcpu.
45132 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45133 time with __vdso_time.
45135 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45137 * manual/lang.texi (size_t): Note types to which size_t may be
45138 equivalent with the GNU C Library, but do not describe when
45139 differences between them are significant.
45141 2012-03-05 Andreas Jaeger <aj@suse.de>
45143 * sysdeps/i386/fpu/libm-test-ulps: Update.
45145 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45148 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45149 (__ieee754_pow): Save and restore rounding mode and use
45150 round-to-nearest for main computations.
45151 * math/libm-test.inc (pow_test_tonearest): New function.
45152 (pow_test_towardzero): Likewise.
45153 (pow_test_downward): Likewise.
45154 (pow_test_upward): Likewise.
45155 (main): Call the new functions.
45156 * sysdeps/i386/fpu/libm-test-ulps: Update.
45157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45160 * math/libm-test.inc (cosh_test_tonearest): New function.
45161 (cosh_test_towardzero): Likewise.
45162 (cosh_test_downward): Likewise.
45163 (cosh_test_upward): Likewise.
45164 (sinh_test_tonearest): Likewise.
45165 (sinh_test_towardzero): Likewise.
45166 (sinh_test_downward): Likewise.
45167 (sinh_test_upward): Likewise.
45168 (main): Call the new functions.
45169 * sysdeps/i386/fpu/libm-test-ulps: Update.
45170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45172 2012-03-05 Tom de Vries <tom@codesourcery.com>
45174 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45175 default stack guard is set in last bytes.
45176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45178 2012-03-05 Kees Cook <keescook@chromium.org>
45180 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45183 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45184 possibly allocate from heap instead of stack.
45185 * stdio-common/bug-vfprintf-nargs.c: New file.
45186 * stdio-common/Makefile (tests): Add nargs overflow test.
45188 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45192 2012-03-03 Marek Polacek <polacek@redhat.com>
45194 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45195 * math/math_private.h: Likewise.
45196 * stdlib/tst-strtod.c: Likewise.
45197 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45198 * sysdeps/x86_64/bits/atomic.h: Likewise.
45200 2012-03-02 David S. Miller <davem@davemloft.net>
45202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45206 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45207 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45208 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45209 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45211 2012-03-02 Roland McGrath <roland@hack.frob.com>
45214 * manual/examples/README: New file, says the example source files
45215 can be used under GPL>=2.
45216 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45217 line containing just "*/".
45218 * manual/examples/add.c: Add copyright header (GPL>=2).
45219 * manual/examples/argp-ex1.c: Likewise.
45220 * manual/examples/argp-ex2.c: Likewise.
45221 * manual/examples/argp-ex3.c: Likewise.
45222 * manual/examples/argp-ex4.c: Likewise.
45223 * manual/examples/atexit.c: Likewise.
45224 * manual/examples/db.c: Likewise.
45225 * manual/examples/dir.c: Likewise.
45226 * manual/examples/dir2.c: Likewise.
45227 * manual/examples/execinfo.c: Likewise.
45228 * manual/examples/filecli.c: Likewise.
45229 * manual/examples/filesrv.c: Likewise.
45230 * manual/examples/fmtmsgexpl.c: Likewise.
45231 * manual/examples/genpass.c: Likewise.
45232 * manual/examples/inetcli.c: Likewise.
45233 * manual/examples/inetsrv.c: Likewise.
45234 * manual/examples/isockad.c: Likewise.
45235 * manual/examples/longopt.c: Likewise.
45236 * manual/examples/memopen.c: Likewise.
45237 * manual/examples/memstrm.c: Likewise.
45238 * manual/examples/mkfsock.c: Likewise.
45239 * manual/examples/mkisock.c: Likewise.
45240 * manual/examples/mygetpass.c: Likewise.
45241 * manual/examples/pipe.c: Likewise.
45242 * manual/examples/popen.c: Likewise.
45243 * manual/examples/rprintf.c: Likewise.
45244 * manual/examples/search.c: Likewise.
45245 * manual/examples/select.c: Likewise.
45246 * manual/examples/setjmp.c: Likewise.
45247 * manual/examples/sigh1.c: Likewise.
45248 * manual/examples/sigusr.c: Likewise.
45249 * manual/examples/stpcpy.c: Likewise.
45250 * manual/examples/strdupa.c: Likewise.
45251 * manual/examples/strftim.c: Likewise.
45252 * manual/examples/strncat.c: Likewise.
45253 * manual/examples/subopt.c: Likewise.
45254 * manual/examples/swapcontext.c: Likewise.
45255 * manual/examples/termios.c: Likewise.
45256 * manual/examples/testopt.c: Likewise.
45257 * manual/examples/testpass.c: Likewise.
45258 * manual/examples/timeval_subtract.c: Likewise.
45261 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45263 * manual/timeval_subtract.c.texi: ... here, new file.
45265 2012-03-02 David S. Miller <davem@davemloft.net>
45267 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45269 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45272 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45273 (__sin): Save and restore rounding mode and use round-to-nearest
45274 for all computations.
45275 (__cos): Save and restore rounding mode and use round-to-nearest
45276 for all computations.
45277 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45279 (tan): Save and restore rounding mode and use round-to-nearest for
45281 * math/libm-test.inc (cos_test_tonearest): New function.
45282 (cos_test_towardzero): Likewise.
45283 (cos_test_downward): Likewise.
45284 (cos_test_upward): Likewise.
45285 (sin_test_tonearest): Likewise.
45286 (sin_test_towardzero): Likewise.
45287 (sin_test_downward): Likewise.
45288 (sin_test_upward): Likewise.
45289 (tan_test_tonearest): Likewise.
45290 (tan_test_towardzero): Likewise.
45291 (tan_test_downward): Likewise.
45292 (tan_test_upward): Likewise.
45293 (main): Call the new functions.
45294 * sysdeps/i386/fpu/libm-test-ulps: Update.
45295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45298 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45299 small n, then large n, before computing and testing k+n.
45300 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45305 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45306 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45313 * math/libm-test.inc (scalbn_test): Add more tests.
45314 (scalbln_test): Likewise.
45316 * manual/filesys.texi (mode_t): Describe constraints on size and
45317 signedness, not exact equivalence to a particular type.
45319 (ino64_t): Likewise.
45321 (nlink_t): Likewise.
45322 (blkcnt_t): Likewise.
45323 (blkcnt64_t): Likewise.
45324 * manual/llio.texi (off_t): Likewise.
45327 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45328 (__ieee754_exp): Save and restore rounding mode and use
45329 round-to-nearest for all computations.
45330 * math/libm-test.inc (exp_test_tonearest): New function.
45331 (exp_test_towardzero): Likewise.
45332 (exp_test_downward): Likewise.
45333 (exp_test_upward): Likewise.
45334 (main): Call the new functions.
45335 * sysdeps/i386/fpu/libm-test-ulps: Update.
45336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45338 2012-03-01 Chris Demetriou <cgd@google.com>
45340 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45341 have predictable order.
45343 2012-03-01 David S. Miller <davem@davemloft.net>
45345 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45347 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45348 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45349 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45350 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45352 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45353 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45354 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45356 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45357 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45358 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45359 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45360 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45364 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45365 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45366 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45368 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45369 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45370 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45371 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45372 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45375 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45376 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45377 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45378 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45381 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45382 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45384 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45385 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45386 * sysdeps/sparc/elf/configure: Regenerated.
45388 2012-03-01 Joseph Myers <joseph@codesourcery.com>
45390 * configure.in (AS, LD): Require binutils 2.20 or later.
45391 * configure: Regenerated.
45392 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45393 as required minimum version.
45394 * INSTALL: Regenerated.
45398 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45399 before squaring exponent.
45400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45401 bottom long double and 27 bits of top long double before squaring
45403 * math/libm-test.inc (erfc_test): Add more tests.
45404 * sysdeps/i386/fpu/libm-test-ulps: Update.
45405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45408 2012-03-01 Kai Tietz <ktietz@redhat.com>
45410 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45411 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45412 containing bit-fields.
45413 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45414 * soft-fp/single.h (_FP_UNION_S): Likewise.
45415 * soft-fp/double.h (_FP_UNION_D): Likewise.
45417 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45420 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45421 not include ../strcmp.S.
45422 [USE_AS_STRNCASECMP_L]: Likewise.
45423 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45424 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45425 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45426 (__strncasecmp_l_ia32): Define as alias to
45427 __strncasecmp_l_nonascii.
45430 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45431 * sysdeps/i386/fpu/libm-test-ulps: Update.
45432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45434 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45437 2012-02-29 Jeff Law <law@redhat.com>
45439 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45440 out of bounds read.
45442 2012-02-29 Marek Polacek <polacek@redhat.com>
45445 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45446 * elf/Makefile: Add rules to run tst-unused-dep.out.
45448 2012-02-28 David S. Miller <davem@davemloft.net>
45450 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45451 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45454 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45455 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45457 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45459 * math/libm-test.inc (llround_test): Move one test from
45460 lround_test. Use TEST_f_L in moved test.
45461 (lround_test): Move misplaced test to llround_test. Add testcase
45464 2012-02-28 Ulrich Drepper <drepper@gmail.com>
45466 * sysdeps/x86_64/fpu/e_expf.S: New file.
45467 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45469 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45472 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45473 of remain_len that may cause incomplete multi-byte character and
45475 * posix/bug-regex33.c: New file.
45476 * posix/Makefile (tests): Add bug-regex33.
45478 2012-02-28 Joseph Myers <joseph@codesourcery.com>
45480 * manual/macros.texi: New file.
45481 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45482 * manual/libc.texinfo: Include macros.texi.
45483 * manual/creatute.texi: Likewise.
45484 * manual/install.texi: Likewise.
45485 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45486 @glibcadj{} in references to the GNU C Library.
45487 * manual/charset.texi: Likewise.
45488 * manual/conf.texi: Likewise.
45489 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45490 when not using those macros.
45491 * manual/creature.texi: Likewise.
45492 * manual/crypt.texi: Likewise.
45493 * manual/errno.texi: Likewise.
45494 * manual/filesys.texi: Likewise.
45495 * manual/header.texi: Likewise.
45496 * manual/install.texi: Likewise.
45497 * manual/intro.texi: Likewise.
45498 * manual/io.texi: Likewise.
45499 * manual/job.texi: Likewise.
45500 * manual/lang.texi: Likewise.
45501 * manual/libc.texiinfo: Likewise.
45502 * manual/llio.texi: Likewise.
45503 * manual/locale.texi: Likewise.
45504 * manual/maint.texi: Likewise.
45505 * manual/math.texi: Likewise.
45506 * manual/memory.texi: Likewise.
45507 * manual/message.texi: Likewise.
45508 * manual/nss.texi: Likewise.
45509 * manual/pattern.texi: Likewise.
45510 * manual/process.texi: Likewise.
45511 * manual/resource.texi: Likewise.
45512 * manual/search.texi: Likewise.
45513 * manual/setjmp.texi: Likewise.
45514 * manual/signal.texi: Likewise.
45515 * manual/socket.texi: Likewise.
45516 * manual/startup.texi: Likewise.
45517 * manual/stdio.texi: Likewise.
45518 * manual/string.texi: Likewise.
45519 * manual/sysinfo.texi: Likewise.
45520 * manual/syslog.texi: Likewise.
45521 * manual/terminal.texi: Likewise.
45522 * manual/time.texi: Likewise.
45523 * manual/users.texi: Likewise.
45524 * INSTALL: Regenerated.
45525 * NOTES: Regenerated.
45526 * sysdeps/gnu/errlist.c: Regenerated.
45528 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45530 * include/dirent.h: Include <dirstream.h> before
45533 2012-02-28 David S. Miller <davem@davemloft.net>
45535 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45536 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45537 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45538 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45540 2012-02-27 David S. Miller <davem@davemloft.net>
45542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45544 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45545 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45548 frame pointer instead of stack pointer relative arg slot.
45549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45553 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45556 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45558 2012-02-27 David S. Miller <davem@davemloft.net>
45560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45564 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45565 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45566 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45567 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45569 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45571 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45572 later. Allow versions 5-9.
45573 * configure: Regenerated.
45574 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45575 required minimum version and 4.6 as recommended version. Do not
45576 mention bugs in GCC 2.7 and 2.8.
45577 * INSTALL: Regenerated.
45579 2012-02-27 David S. Miller <davem@davemloft.net>
45581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45587 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45588 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45591 manipulate bits before adding and subtracting TWO112[sx].
45592 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45594 2012-02-27 Roland McGrath <roland@hack.frob.com>
45597 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45598 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45599 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45600 being in POSIX, because they are in 1003.1-2008.
45602 * rt/tst-aio.c: Include <fcntl.h>.
45603 * rt/tst-aio7.c: Likewise.
45604 * rt/tst-aio64.c: Likewise.
45606 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45608 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45610 * manual/install.texi (--with-headers): Describe headers as
45611 interface headers, not private headers.
45612 (Specific advice for GNU/Linux systems): Describe use of headers
45613 from "make headers_install", not private headers from older
45615 * INSTALL: Regenerated.
45616 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45618 * sysdeps/unix/sysv/linux/configure: Regenerated.
45620 * manual/llio.texi (fclean): Remove documentation.
45622 * manual/Makefile (libc-texi-generated): New variable. Include
45624 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45625 $(libc-texi-generated), not duplicated list of files.
45626 (version.texi, stamp-version): New rules.
45627 (realclean): Remove $(libc-texi-generated), not individual files
45628 from that list. Do not remove dir-add.texinfo.
45629 * manual/libc.texinfo: Comment out uses of edition numbers and
45630 references to printed manual. Remove last-updated dates.
45631 (EDITION): Comment out.
45633 (VERSION, UPDATED): Remove.
45634 (version.texi): Include.
45636 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45638 * sysdeps/posix/spawni.c: Include <signal.h>.
45639 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45640 * sysdeps/pthread/aio_fsync.c: Likewise.
45642 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45644 * conform/Makefile (tests): Run only when not cross-compiling and
45645 when fast-check is not defined.
45647 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45648 * conform/data/limits.h-data: Fixes for POSIX2008.
45649 * conform/run-conformtest.sh: Run all tests.
45650 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45652 * include/bits/dlfcn.h: Likewise.
45653 * include/langinfo.h: Likewise.
45654 * include/monetary.h: Likewise.
45655 * include/sys/poll.h: Likewise.
45657 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45659 * posix/spawn.h: Define __need_sigset_t.
45660 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45661 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45662 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45663 to get sigevent_t only.
45664 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45665 only for __USE_GNU.
45666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45667 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45668 process_vm_writev only for __USE_GNU.
45669 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45671 * conform/Makefile: For now ignore errors from run-conformtest.
45672 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45673 POSIX to avoid namespace pollution. Don't prepend headers.
45674 * conform/data/aio.h-data: Fixes for POSIX testing.
45675 * conform/data/fcntl.h-data: Likewise.
45676 * conform/data/glob.h-data: Likewise.
45677 * conform/data/grp.h-data: Likewise.
45678 * conform/data/pthread.h-data: Likewise.
45679 * conform/data/pwd.h-data: Likewise.
45680 * conform/data/signal.h-data: Likewise.
45681 * conform/data/spawn.h-data: Likewise.
45682 * conform/data/stdio.h-data: Likewise.
45683 * conform/data/stdlib.h-data: Likewise.
45684 * conform/data/stropts.h-data: Likewise.
45685 * conform/data/sys/mman.h-data: Likewise.
45686 * conform/data/sys/stat.h-data: Likewise.
45687 * conform/data/sys/types.h-data: Likewise.
45688 * conform/data/sys/wait.h-data: Likewise.
45689 * conform/data/time.h-data: Likewise.
45690 * conform/data/unistd.h-data: Likewise.
45691 * conform/data/utime.h-data: Likewise.
45693 * io/sys/stat.h: fchmod was always in POSIX.
45694 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45695 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45696 * rt/aio.h: Define __need_timespec before including <time.h>.
45697 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45698 struct. Add forward declaration of pthread_attr_t and use it in
45700 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45702 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45703 always remove CLK_TCK definition.
45705 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45707 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45709 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45711 * conform/run-conformtest.sh: New file.
45712 * conform/Makefile: Run run-conformtest for tests.
45713 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45716 * conform/data/uchar.h-data: New file.
45717 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45718 * conform/data/arpa/inet.h-data: Likewise.
45719 * conform/data/assert.h-data: Likewise.
45720 * conform/data/complex.h-data: Likewise.
45721 * conform/data/cpio.h-data: Likewise.
45722 * conform/data/ctype.h-data: Likewise.
45723 * conform/data/dirent.h-data: Likewise.
45724 * conform/data/dlfcn.h-data: Likewise.
45725 * conform/data/errno.h-data: Likewise.
45726 * conform/data/fcntl.h-data: Likewise.
45727 * conform/data/float.h-data: Likewise.
45728 * conform/data/fmtmsg.h-data: Likewise.
45729 * conform/data/fnmatch.h-data: Likewise.
45730 * conform/data/ftw.h-data: Likewise.
45731 * conform/data/glob.h-data: Likewise.
45732 * conform/data/grp.h-data: Likewise.
45733 * conform/data/iconv.h-data: Likewise.
45734 * conform/data/inttypes.h-data: Likewise.
45735 * conform/data/langinfo.h-data: Likewise.
45736 * conform/data/libgen.h-data: Likewise.
45737 * conform/data/limits.h-data: Likewise.
45738 * conform/data/locale.h-data: Likewise.
45739 * conform/data/math.h-data: Likewise.
45740 * conform/data/monetary.h-data: Likewise.
45741 * conform/data/mqueue.h-data: Likewise.
45742 * conform/data/ndbm.h-data: Likewise.
45743 * conform/data/net/if.h-data: Likewise.
45744 * conform/data/netdb.h-data: Likewise.
45745 * conform/data/netinet/in.h-data: Likewise.
45746 * conform/data/nl_types.h-data: Likewise.
45747 * conform/data/poll.h-data: Likewise.
45748 * conform/data/pthread.h-data: Likewise.
45749 * conform/data/pwd.h-data: Likewise.
45750 * conform/data/regex.h-data: Likewise.
45751 * conform/data/sched.h-data: Likewise.
45752 * conform/data/search.h-data: Likewise.
45753 * conform/data/semaphore.h-data: Likewise.
45754 * conform/data/setjmp.h-data: Likewise.
45755 * conform/data/signal.h-data: Likewise.
45756 * conform/data/spawn.h-data: Likewise.
45757 * conform/data/stdarg.h-data: Likewise.
45758 * conform/data/stdio.h-data: Likewise.
45759 * conform/data/stdlib.h-data: Likewise.
45760 * conform/data/string.h-data: Likewise.
45761 * conform/data/strings.h-data: Likewise.
45762 * conform/data/stropts.h-data: Likewise.
45763 * conform/data/sys/ipc.h-data: Likewise.
45764 * conform/data/sys/mman.h-data: Likewise.
45765 * conform/data/sys/msg.h-data: Likewise.
45766 * conform/data/sys/resource.h-data: Likewise.
45767 * conform/data/sys/select.h-data: Likewise.
45768 * conform/data/sys/sem.h-data: Likewise.
45769 * conform/data/sys/shm.h-data: Likewise.
45770 * conform/data/sys/socket.h-data: Likewise.
45771 * conform/data/sys/stat.h-data: Likewise.
45772 * conform/data/sys/statvfs.h-data: Likewise.
45773 * conform/data/sys/time.h-data: Likewise.
45774 * conform/data/sys/timeb.h-data: Likewise.
45775 * conform/data/sys/times.h-data: Likewise.
45776 * conform/data/sys/types.h-data: Likewise.
45777 * conform/data/sys/uio.h-data: Likewise.
45778 * conform/data/sys/un.h-data: Likewise.
45779 * conform/data/sys/utsname.h-data: Likewise.
45780 * conform/data/sys/wait.h-data: Likewise.
45781 * conform/data/syslog.h-data: Likewise.
45782 * conform/data/tar.h-data: Likewise.
45783 * conform/data/termios.h-data: Likewise.
45784 * conform/data/utime.h-data: Likewise.
45785 * conform/data/utmpx.h-data: Likewise.
45786 * conform/data/varargs.h-data: Likewise.
45787 * conform/data/wchar.h-data: Likewise.
45788 * conform/data/wctype.h-data: Likewise.
45789 * conform/data/wordexp.h-data: Likewise.
45791 * include/stropts.h: New file.
45792 * include/uchar.h: New file.
45793 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45794 * include/assert.h: Likewise.
45795 * include/ctype.h: Likewise.
45796 * include/dirent.h: Likewise.
45797 * include/dlfcn.h: Likewise.
45798 * include/fcntl.h: Likewise.
45799 * include/fnmatch.h: Likewise.
45800 * include/glob.h: Likewise.
45801 * include/grp.h: Likewise.
45802 * include/libio.h: Likewise.
45803 * include/locale.h: Likewise.
45804 * include/math.h: Likewise.
45805 * include/net/if.h: Likewise.
45806 * include/netdb.h: Likewise.
45807 * include/netinet/in.h: Likewise.
45808 * include/pthread.h: Likewise.
45809 * include/pwd.h: Likewise.
45810 * include/regex.h: Likewise.
45811 * include/sched.h: Likewise.
45812 * include/search.h: Likewise.
45813 * include/setjmp.h: Likewise.
45814 * include/signal.h: Likewise.
45815 * include/stdio.h: Likewise.
45816 * include/stdlib.h: Likewise.
45817 * include/string.h: Likewise.
45818 * include/sys/cdefs.h: Likewise.
45819 * include/sys/mman.h: Likewise.
45820 * include/sys/msg.h: Likewise.
45821 * include/sys/resource.h: Likewise.
45822 * include/sys/select.h: Likewise.
45823 * include/sys/socket.h: Likewise.
45824 * include/sys/stat.h: Likewise.
45825 * include/sys/statvfs.h: Likewise.
45826 * include/sys/time.h: Likewise.
45827 * include/sys/times.h: Likewise.
45828 * include/sys/uio.h: Likewise.
45829 * include/sys/utsname.h: Likewise.
45830 * include/sys/wait.h: Likewise.
45831 * include/termios.h: Likewise.
45832 * include/time.h: Likewise.
45833 * include/ulimit.h: Likewise.
45834 * include/unistd.h: Likewise.
45835 * include/utime.h: Likewise.
45836 * include/wchar.h: Likewise.
45837 * include/wctype.h: Likewise.
45838 * include/wordexp.h: Likewise.
45840 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45842 * time/time.h: TIME_UTC must be a macro.
45843 Make timespec_get available for ISO C11 only as well.
45845 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45847 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45848 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45850 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45852 * configure.in: Use -o not -a in test for unsupported multi-arch.
45854 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45856 * manual/texinfo.tex: Update to version 2012-01-19.16.
45858 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45860 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45862 2012-02-24 Roland McGrath <roland@hack.frob.com>
45865 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45866 * manual/fdl-1.3.texi: New file.
45867 * manual/fdl-1.1.texi: File removed.
45870 * manual/libc.texinfo (FDL_VERSION): New @set.
45871 Use it for mention of FDL in cover text.
45872 (Documentation License): Use it in @include file name.
45874 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45875 Roland McGrath <roland@hack.frob.com>
45878 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45879 (not LONG_LONG_MAX and LONG_LONG_MIN.
45880 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45881 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45883 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45885 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45889 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45890 manipulate bits before adding and subtracting TWO23[sx].
45891 * math/libm-test.inc (nearbyint_test): Add more tests.
45893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45896 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45897 bits before adding and subtracting TWO23[sx].
45898 * math/libm-test.inc (rint_test): Add more tests.
45899 (rint_test_tonearest): Likewise.
45900 (rint_test_towardzero): Likewise.
45901 (rint_test_downward): Likewise.
45902 (rint_test_upward: Likewise.
45904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45907 * include/stdc-predef.h: New file. Extracted from features.h.
45908 * include/features.h: Include stdc-predef.h.
45909 * Makefile (headers): Add stdc-predef.h.
45910 * CONFORMANCE (Compiler limitations): Update.
45912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45914 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45916 2012-02-21 David S. Miller <davem@davemloft.net>
45918 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45921 2012-02-20 David S. Miller <davem@davemloft.net>
45923 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45924 using a normal save/restore sequence, rather than allocating a
45925 dummy stack frame just to store a frame pointer and restore.
45926 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45928 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45930 * manual/install.texi: Fix stray word in line-wrapped comment.
45932 2012-02-20 David S. Miller <davem@davemloft.net>
45934 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45935 both binutils and gcc support GOTDATA.
45937 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45938 "rd %pc" in the PIC register setup sequences.
45940 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45941 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45942 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45943 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45944 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45949 (SYSCALL_ERROR_HANDLER): Likewise.
45950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45953 (SYSCALL_ERROR_HANDLER): Likewise.
45955 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45956 (HAVE_GCC_GOTDATA): New.
45957 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45958 relocation support in both binutils and gcc.
45959 * sysdeps/sparc/elf/configure: Regenerate.
45961 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45962 * sysdeps/sparc/sparc32/elf/configure: Delete.
45963 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45964 * sysdeps/sparc/sparc64/elf/configure: Delete.
45965 * sysdeps/sparc/elf/configure.in: New file.
45966 * sysdeps/sparc/elf/configure: Generate.
45968 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45969 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45970 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45971 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45972 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45974 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45976 * manual/install.texi: Do not mention specific glibc version
45978 * manual/libc.texinfo (VERSION, UPDATED): Update.
45979 (@copying): Use @copyright{} and range of years.
45981 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45984 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45985 [crti.S not in sysdirs] (generated): Do not append.
45986 [crti.S not in sysdirs] (omit-deps): Likewise.
45987 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45988 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45989 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45990 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45991 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45993 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45994 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45995 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45996 * csu/defs.awk: Remove file.
45997 * sysdeps/generic/initfini.c: Likewise.
45998 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46000 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46003 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46005 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46006 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46007 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46010 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46012 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46013 (__EPOLL_PACKED): Define to empty if not defined by
46015 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46019 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46021 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46022 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46023 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46024 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46026 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46030 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46032 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46035 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46039 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46041 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46042 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46044 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46046 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46047 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46049 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46051 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46054 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46056 * math/w_acos.c: Use non-signaling floating-point comparisons.
46057 * math/w_acosf.c: Likewise.
46058 * math/w_acosh.c: Likewise.
46059 * math/w_acoshf.c: Likewise.
46060 * math/w_acoshl.c: Likewise.
46061 * math/w_acosl.c: Likewise.
46062 * math/w_asin.c: Likewise.
46063 * math/w_asinf.c: Likewise.
46064 * math/w_asinl.c: Likewise.
46065 * math/w_atanh.c: Likewise.
46066 * math/w_atanhf.c: Likewise.
46067 * math/w_atanhl.c: Likewise.
46068 * math/w_exp2.c: Likewise.
46069 * math/w_exp2f.c: Likewise.
46070 * math/w_exp2l.c: Likewise.
46071 * math/w_j0.c: Likewise.
46072 * math/w_j0f.c: Likewise.
46073 * math/w_j0l.c: Likewise.
46074 * math/w_j1.c: Likewise.
46075 * math/w_j1f.c: Likewise.
46076 * math/w_j1l.c: Likewise.
46077 * math/w_jn.c: Likewise.
46078 * math/w_jnf.c: Likewise.
46079 * math/w_log.c: Likewise.
46080 * math/w_log10.c: Likewise.
46081 * math/w_log10f.c: Likewise.
46082 * math/w_log10l.c: Likewise.
46083 * math/w_log2.c: Likewise.
46084 * math/w_log2f.c: Likewise.
46085 * math/w_log2l.c: Likewise.
46086 * math/w_logf.c: Likewise.
46087 * math/w_logl.c: Likewise.
46088 * math/w_sqrt.c: Likewise.
46089 * math/w_sqrtf.c: Likewise.
46090 * math/w_sqrtl.c: Likewise.
46091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46092 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46094 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46095 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46097 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46100 * manual/string.texi (strnlen): Use correct parameter name in
46101 equivalent expression.
46103 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46106 * manual/users.texi (seteuid): Consistently use neweuid for
46109 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46112 * manual/nss.texi (Services in the NSS configuration): Correct
46113 list of services in example configuration file.
46115 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46118 * manual/arith.texi: Remove statements about negative zero
46119 behaving identically to zero.
46121 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46124 * manual/install.texi: Do not document upgrading from libc5.
46126 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46129 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46131 2012-02-18 David S. Miller <davem@davemloft.net>
46133 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46134 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46135 %o7 across the call.
46136 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46139 SETUP_PIC_REG_LEAF.
46140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46141 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46142 * sysdeps/sparc/crtn.S: Likewise.
46144 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46146 * aout/Makefile: Remove.
46148 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46151 * manual/examples/argp-ex1.c (main): Format definition in GNU
46153 * manual/examples/argp-ex2.c (main): Likewise.
46154 * manual/examples/argp-ex3.c (main): Likewise.
46155 * manual/examples/argp-ex4.c (main): Likewise.
46156 * manual/examples/longopt.c (main): Use new-style prototype
46158 * manual/examples/strncat.c (main): Specify return type and use
46159 (void) for arguments.
46160 * manual/examples/subopt.c (main): Use char **argv argument.
46162 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46165 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46168 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46171 * manual/string.texi (strchr): Change when strchrnul is
46174 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46177 * manual/locale.texi (setlocale): Document LOCPATH.
46179 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46182 * manual/process.texi (execle): Move @dots{} before last argument.
46184 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46187 * manual/charset.texi (Generic Charset Conversion): Fix typo
46188 (LC_TYPE -> LC_CTYPE).
46190 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46193 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46194 (scalbnf): Likewise.
46195 (scalbnl): Likewise.
46196 (scalbln): Likewise.
46197 (scalblnf): Likewise.
46198 (scalblnl): Likewise.
46199 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46200 (vwarnx): Likewise.
46203 * manual/filesys.texi (telldir): Use braces around return type.
46204 * manual/llio.texi (mmap): Add space after comma.
46205 (mmap64): Likewise.
46206 * manual/math.texi (jn): Use @var{} on parameter names.
46212 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46214 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46216 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46217 (sched_get_priority_max): Likewise.
46218 * manual/signal.texi (sigvec): Add space after comma.
46219 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46221 (if_indextoname): Likewise.
46222 (if_freenameindex): Likewise.
46223 (sendto): Use ',' instead of '.' in prototype.
46224 * manual/startup.texi (syscall): Use @dots{} instead of literal
46226 * manual/stdio.texi (__fpending): Separate initial words of
46227 paragraph from @deftypefun line.
46228 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46230 (vsyslog): Use @var{} on parameter names.
46231 * manual/terminal.texi (stty): Use @var{} on parameter names.
46232 * manual/users.texi (getutmp): Use @var{} on parameter names.
46233 (getutmpx): Likewise.
46235 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46238 * manual/stdio.texi (fopen): Fix typos in description of
46241 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46244 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46245 get clock_id definition.
46247 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46250 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46251 (madvise): Cast every argument to void on its own.
46253 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46256 * manual/startup.texi (Exit Status): Fix typo.
46258 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46261 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46262 * manual/examples/argp-ex2.c: Likewise.
46263 * manual/examples/argp-ex3.c: Likewise.
46265 2012-02-16 Richard Henderson <rth@redhat.com>
46267 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46268 * sysdeps/s390/s390-32/initfini.c: Remove.
46269 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46270 * sysdeps/s390/s390-64/initfini.c: Remove.
46272 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46274 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46275 compiler output for sysdeps/generic/initfini.c.
46276 * sysdeps/sh/elf/initfini.c: Remove file.
46278 2012-02-16 David S. Miller <davem@davemloft.net>
46281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46283 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46284 * sysdeps/sparc/crti.S: New file.
46285 * sysdeps/sparc/crtn.S: New file.
46286 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46287 * sysdeps/sparc/sparc64/Makefile: Likewise.
46289 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46292 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46294 2012-02-15 Roland McGrath <roland@hack.frob.com>
46297 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46299 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46300 (write, read, close): Likewise.
46301 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46303 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46305 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46306 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46307 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46308 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46310 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46314 2012-02-14 Marek Polacek <polacek@redhat.com>
46316 * sysdeps/x86_64/crti.S: New file.
46317 * sysdeps/x86_64/crtn.S: New file.
46318 * sysdeps/x86_64/elf/initfini.c: Remove file.
46320 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46322 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46323 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46324 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46325 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46327 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46331 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46333 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46334 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46335 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46336 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46338 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46342 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46344 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46345 __feraiseexcept instead of feraiseexcept.
46347 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46348 nanosleep invocations.
46349 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46350 strings, and add error checking for a nanosleep invocations.
46352 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46354 Replace FSF snail mail address with URLs, as per GNU coding standards.
46355 Most of the snail mail addresses were wrong anyway, and omitting
46356 them makes the source code easier to maintain. Almost all of the
46357 changes are to license notices and to locale LC_IDENTIFICATION
46358 addresses, except for this one:
46359 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46360 not its snail mail address.
46362 2012-02-09 Richard Henderson <rth@twiddle.net>
46364 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46365 of kernel-features.h.
46367 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46369 2012-02-08 Marek Polacek <polacek@redhat.com>
46371 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46372 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46373 * sysdeps/gnu/_G_config.h: Likewise.
46374 * sysdeps/generic/_G_config.h: Likewise.
46376 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46378 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46382 * sysdeps/powerpc/powerpc32/crti.S: New file.
46383 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46384 * sysdeps/powerpc/powerpc64/crti.S: New file.
46385 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46387 * Makeconfig (have-initfini): Don't set.
46388 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46389 * configure.in (nopic_initfini): Don't substitute.
46390 * config.h.in (HAVE_INITFINI): Don't #undef.
46391 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46392 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46394 2012-02-08 Joseph Myers <joseph@codesourcery.com>
46396 Support crti.S and crtn.S provided directly by architectures.
46397 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46398 [crti.S in sysdirs] (omit-deps): Likewise.
46399 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46400 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46401 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46402 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46403 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46404 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46405 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46406 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46407 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46408 compiler output for sysdeps/generic/initfini.c.
46409 * sysdeps/i386/elf/Makefile: Remove file.
46410 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46412 2012-02-07 Marek Polacek <polacek@redhat.com>
46414 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46415 * sysdeps/gnu/_G_config.h: Likewise.
46416 * sysdeps/mach/hurd/_G_config.h: Likewise.
46418 2012-02-07 Marek Polacek <polacek@redhat.com>
46420 * math/Makefile (tests): Add tst-CMPLX2.
46421 * math/tst-CMPLX2.c: New file.
46423 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46425 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46427 * math/libm-test.inc (jn_test): Add missing L suffix.
46429 2012-02-06 Marek Polacek <polacek@redhat.com>
46431 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46432 * sysdeps/i386/fpu/e_powf.S: Likewise.
46433 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46434 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46435 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46436 * sysdeps/i386/fpu/e_pow.S: Likewise.
46437 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46438 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46439 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46440 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46441 * sysdeps/i386/fpu/e_log2.S: Likewise.
46442 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46443 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46444 * sysdeps/i386/fpu/e_powl.S: Likewise.
46445 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46446 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46447 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46448 * sysdeps/i386/fpu/e_logl.S: Likewise.
46449 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46450 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46451 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46452 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46453 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46455 * sysdeps/i386/fpu/e_log.S: Likewise.
46456 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46457 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46458 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46459 * sysdeps/i386/fpu/e_logf.S: Likewise.
46460 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46461 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46462 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46463 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46464 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46465 * sysdeps/i386/fpu/e_log10.S: Likewise.
46466 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46467 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46468 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46469 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46470 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46471 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46472 * sysdeps/i386/asm-syntax.h: Likewise.
46473 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46475 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46476 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46477 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46478 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46479 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46480 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46481 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46482 * sysdeps/powerpc/sysdep.h: Likewise.
46483 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46484 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46486 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46489 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46491 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46493 * sysdeps/i386/sysdep.h: Include <features.h>.
46494 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46497 2012-02-05 Joseph Myers <joseph@codesourcery.com>
46499 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46501 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46504 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46506 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46507 (SETUP_PIC_REG): Use GET_PC_THUNK.
46508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46511 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46513 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46514 for non-PIC compilation.
46515 (SETUP_PIC_REG): Add .p2align directive.
46516 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46517 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46518 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46522 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46523 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46524 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46525 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46526 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46527 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46528 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46529 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46530 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46536 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46539 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46542 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46544 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46545 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46546 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46549 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46550 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46551 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46552 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46553 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46554 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46555 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46556 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46558 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46560 * math/tst-CMPLX.c: Include <stdio.h>.
46562 2012-01-31 Joseph Myers <joseph@codesourcery.com>
46564 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46566 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46567 * sysdeps/sparc/bits/mathdef.h: Likewise.
46569 2012-01-31 Marek Polacek <polacek@redhat.com>
46571 * libio/libio.h: Don't define _PARAMS.
46572 * locale/programs/config.h: Don't define PARAMS.
46573 * stdlib/strtol_l.c: Likewise.
46574 (__strtol_l): Remove PARAMS from the prototype.
46576 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46578 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46579 names. Just use the correct names. Remove unnecessary wrapper
46581 * malloc/arena.c: Likewise.
46582 * malloc/hooks.c: Likewise.
46584 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46585 ARENA_TEST says not to. Simplify test for creation of a new arena.
46586 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46588 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46590 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46592 (update_get_addr): New function.
46593 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46594 GET_ADDR_MODULE parameter.
46596 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46598 * crypt/cert.c: Remove __STDC__ conditionals.
46599 * crypt/crypt-entry.c: Likewise.
46600 * crypt/crypt_util.c: Likewise.
46601 * libio/filedoalloc.c: Likewise.
46602 * libio/fileops.c: Likewise.
46603 * libio/genops.c: Likewise.
46604 * libio/iofclose.c: Likewise.
46605 * libio/iofdopen.c: Likewise.
46606 * libio/iofopen.c: Likewise.
46607 * libio/iofopen64.c: Likewise.
46608 * libio/iogetdelim.c: Likewise.
46609 * libio/iopopen.c: Likewise.
46610 * libio/obprintf.c: Likewise.
46611 * libio/oldfileops.c: Likewise.
46612 * libio/oldiofclose.c: Likewise.
46613 * libio/oldiofdopen.c: Likewise.
46614 * libio/oldiofopen.c: Likewise.
46615 * libio/oldiopopen.c: Likewise.
46616 * libio/wfiledoalloc.c: Likewise.
46617 * libio/wgenops.c: Likewise.
46618 * locale/programs/xmalloc.c: Likewise.
46619 * misc/syslog.c: Likewise.
46620 * stdio-common/xbug.c: Likewise.
46621 * string/memchr.c: Likewise.
46622 * string/memcmp.c: Likewise.
46623 * string/memrchr.c: Likewise.
46624 * string/rawmemchr.c: Likewise.
46625 * sysdeps/posix/getcwd.c: Likewise.
46626 * time/strftime_l.c: Likewise.
46628 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46630 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46631 * config.make.in (config-cflags-sse2avx): Define.
46632 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46635 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46637 * scripts/config.guess: Update from upstream config git repository.
46638 * scripts/config.sub: Likewise.
46640 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46642 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46644 (R_TILEPRO_*, R_TILEGX_*): New macros.
46646 * scripts/firstversions.awk: Fix bug in version range handling.
46648 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46650 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46652 * include/sys/epoll.h: New file.
46653 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46656 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46658 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46659 Avoid unnecessary __WORDSIZE == 64 test.
46660 (fmaxf): Use VEX format if possible.
46665 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46666 * math/math_private.h: Remove libc_fegetround* and
46668 * sysdeps/i386/configure.in: Check for -msse2avx.
46669 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46670 also if SSE2AVX is defined.
46671 Remove libc_fegetround* and libc_fesetround*.
46672 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46673 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46677 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46679 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46680 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46682 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46684 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46686 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46688 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46690 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46693 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46695 * Makeconfig (libm): Define.
46696 * elf/Makefile: Add rules to build and run tst-relsort1.
46697 * elf/tst-relsort1.c: New file.
46698 * elf/tst-relsort1mod1.c: New file.
46699 * elf/tst-relsort1mod2.c: New file.
46701 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46703 * math/s_ldexp.c: Remove __STDC__ conditionals.
46704 * math/s_ldexpf.c: Likewise.
46705 * math/s_ldexpl.c: Likewise.
46706 * math/s_nextafter.c: Likewise.
46707 * math/s_nexttowardf.c: Likewise.
46708 * math/s_significand.c: Likewise.
46709 * math/s_significandf.c: Likewise.
46710 * math/s_significandl.c: Likewise.
46711 * math/w_jnl.c: Likewise.
46712 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46713 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46714 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46715 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46716 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46718 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46719 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46721 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46722 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46727 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46728 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46729 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46730 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46731 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46732 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46733 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46734 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46735 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46736 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46737 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46738 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46739 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46740 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46741 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46742 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46743 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46744 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46745 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46746 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46748 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46749 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46750 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46751 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46752 * sysdeps/ieee754/k_standard.c: Likewise.
46753 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46754 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46755 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46760 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46761 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46762 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46763 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46765 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46766 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46767 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46769 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46770 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46772 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46775 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46776 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46778 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46782 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46783 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46785 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46786 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46788 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46789 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46791 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46792 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46793 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46795 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46796 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46797 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46798 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46801 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46802 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46806 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46808 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46809 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46810 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46811 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46812 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46820 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46822 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46823 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46824 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46825 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46826 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46827 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46828 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46829 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46830 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46831 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46832 * sysdeps/ieee754/s_matherr.c: Likewise.
46833 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46834 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46838 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46840 * crypt/md5.h: Remove __STDC__ conditionals.
46841 * libio/libioP.h: Likewise.
46842 * locale/programs/config.h: Likewise.
46843 * sysdeps/generic/sysdep.h: Likewise.
46844 * sysdeps/i386/asm-syntax.h: Likewise.
46845 * sysdeps/s390/asm-syntax.h: Likewise.
46846 * sysdeps/unix/sysdep.h: Likewise.
46847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46850 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46852 * libio/libio.h: Remove __STDC__ conditionals.
46853 * malloc/obstack.h: Likewise.
46854 * math/complex.h: Likewise.
46855 * math/math.h: Likewise.
46856 * sysdeps/generic/_G_config.h: Likewise.
46857 * sysdeps/gnu/_G_config.h: Likewise.
46858 * sysdeps/mach/hurd/_G_config.h: Likewise.
46859 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46860 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46861 * sysdeps/sparc/bits/mathdef.h: Likewise.
46863 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46866 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46867 Clean up HAS_* macros.
46868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46869 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46879 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46881 * elf/tst-unique3.cc (gets): Remove declaration.
46882 * elf/tst-unique3lib.cc (gets): Likewise.
46883 * elf/tst-unique3lib2.cc (gets): Likewise.
46884 * elf/tst-unique4.cc (gets): Likewise.
46886 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46888 * include/stdio.h: Add C++ protection. Add gets declarations and
46890 * debug/tst-chk1.c: Don't declare gets here.
46891 * stdio-common/tst-gets.c: Likewise.
46893 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46895 * posix/glob: Remove directory.
46897 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46899 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46901 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46903 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46904 of the non-standard EPFNOSUPPORT.
46906 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46908 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46909 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46910 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46912 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46914 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46916 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46918 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46920 * nscd/grpcache.c (cache_addgr): Likewise.
46921 * nscd/hstcache.c (cache_addhst): Likewise.
46922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46923 * nscd/pwdcache.c (cache_addpw): Likewise.
46924 * nscd/servicescache.c (cache_addserv): Likewise.
46926 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46928 * malloc/malloc.c: Various cleanups.
46929 * malloc/hooks.c: Likewise.
46931 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46932 * stdlib/bug-fmtmsg1.c: New file.
46934 * stdlib/fmtmsg.c (init): Add missing unlock.
46935 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46937 2012-01-12 Marek Polacek <polacek@redhat.com>
46939 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46942 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46944 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46945 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46946 macro to ensure uniqueness of label name.
46947 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46948 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46950 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46952 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46954 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46955 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46956 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46959 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46961 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46963 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46964 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46965 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46967 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46969 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46970 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46971 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46974 * math/bits/math-finite.h: Add ldexp support.
46976 2012-01-10 Marek Polacek <polacek@redhat.com>
46978 * locale/programs/localedef.h (show_archive_content): Add noreturn
46981 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46983 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46987 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46989 * io/Makefile (headers): Add bits/poll2.h.
46991 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46994 typo #include statement.
46996 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46998 * include/sys/cdefs.h: Define __attribute_alloc_size.
46999 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47000 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47001 * elf/pldd.c: Likewise.
47002 * iconv/iconv_charmap.c: Likewise.
47003 * iconv/iconvconfig.c: Likewise.
47004 * iconv/strtab.c: Likewise.
47005 * locale/programs/locale.c: Likewise.
47006 * locale/programs/localedef.h: Likewise.
47007 * locale/programs/simple-hash.c: Likewise.
47008 * nscd/nscd.h: Likewise.
47009 * nss/makedb.c: Likewise.
47010 * sysdeps/generic/ldconfig.h: Likewise.
47011 * locale/programs/localedef.c: Remove xmalloc prototype.
47012 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47014 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47016 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47019 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47021 * math/Makefile (tests): Add tst-CMPLX.
47022 * math/tst-CMPLX.c: New file.
47024 * math/complex.h (CMPLXL): Fix typo.
47026 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47027 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47029 * debug/tst-chk1.c: Add poll and ppoll tests.
47030 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47031 * include/sys/poll.h: Add hidden proto for ppoll.
47032 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47033 * sysdeps/mach/hurd/ppoll.c: Likewise.
47034 * io/ppoll.c: Likewise.
47035 * debug/poll_chk.c: New file.
47036 * debug/ppoll_chk.c: New file.
47037 * include/bits/poll2.h: New file.
47038 * io/bits/poll2.h: New file.
47041 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47043 * configure.in: static is always set to yes. Remove.
47044 * config.make.in: Don't set build-static.
47045 * Makeconfig: Remove use of build-static.
47046 * dlfcn/Makefile: Likewise.
47047 * elf/Makefile: Likewise.
47048 * math/Makefile: Likewise.
47049 * misc/Makefile: Likewise.
47050 * nptl/Makefile: Likewise.
47051 * sysdeps/mach/hurd/Makefile: Likewise.
47053 * configure.in: PWD_P is not used anymore.
47054 * config.make.in: Remove PWD_P entry.
47056 * configure.in: Remove last remnants of RANLIB.
47057 No need to check for signed size_t anymore.
47058 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47060 Remove __builtin_expect test because we require at least gcc 3.4.
47061 * aclocal.m4: Likewise.
47063 * wcsmbs/mbrtoc16.c: Implement using towc function.
47064 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47065 * wcsmbs/wcsmbsload.c: Likewise.
47066 * iconv/gconv_simple.c: Likewise.
47067 * iconv/gconv_int.h: Likewise.
47068 * iconv/gconv_builtin.h: Likewise.
47069 * iconv/iconv_prog.c: Remove CHAR16 handling.
47071 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47073 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47075 * configure.in: Remove --with-elf and --enable-bounded options.
47076 Dont set base_machine for ia64. More non-ELF conditions removed.
47077 Remove testing and setting of leading underscore information.
47078 * config.make.in (build-bounded): Set to no.
47079 * config.h.in: Remove NO_UNDERSCORES entry.
47080 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47082 * csu/start.c: Remove !NO_UNDERSCORE code.
47083 * locale/localeinfo.h: Likewise.
47084 * sysdeps/generic/machine-gmon.h: Likewise.
47085 * sysdeps/generic/sysdep.h: Likewise.
47086 * sysdeps/i386/sysdep.h: Likewise.
47087 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47088 * sysdeps/mach/sysdep.h: Likewise.
47089 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47091 * sysdeps/sh/sysdep.h: Likewise.
47092 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47093 * sysdeps/unix/i386/sysdep.S: Likewise.
47094 * sysdeps/unix/sparc/start.c: Likewise.
47095 * sysdeps/unix/sparc/sysdep.S: Likewise.
47096 * sysdeps/unix/sparc/sysdep.h: Likewise.
47097 * sysdeps/unix/start.c: Likewise.
47098 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47099 * sysdeps/x86_64/sysdep.h: Likewise.
47101 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47104 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47106 * argp/argp-fmtstream.h: Use const instead __const.
47107 * argp/argp.h: Likewise.
47108 * assert/assert.h: Likewise.
47109 * bits/fenv.h: Likewise.
47110 * bits/sched.h: Likewise.
47111 * bits/sigset.h: Likewise.
47112 * bits/sigthread.h: Likewise.
47113 * catgets/nl_types.h: Likewise.
47114 * conform/data/pthread.h-data: Likewise.
47115 * crypt/crypt-private.h: Likewise.
47116 * crypt/crypt.h: Likewise.
47117 * crypt/crypt_util.c: Likewise.
47118 * ctype/ctype.h: Likewise.
47119 * debug/execinfo.h: Likewise.
47120 * debug/mbsnrtowcs_chk.c: Likewise.
47121 * debug/mbsrtowcs_chk.c: Likewise.
47122 * debug/wcsnrtombs_chk.c: Likewise.
47123 * debug/wcsrtombs_chk.c: Likewise.
47124 * debug/wcstombs_chk.c: Likewise.
47125 * dirent/dirent.h: Likewise.
47126 * dlfcn/dlfcn.h: Likewise.
47127 * elf/neededtest4.c: Likewise.
47128 * grp/grp.h: Likewise.
47129 * gshadow/gshadow.h: Likewise.
47130 * iconv/gconv.h: Likewise.
47131 * iconv/gconv_int.h: Likewise.
47132 * iconv/gconv_simple.c: Likewise.
47133 * iconv/iconv.h: Likewise.
47134 * iconv/loop.c: Likewise.
47135 * iconv/skeleton.c: Likewise.
47136 * include/aio.h: Likewise.
47137 * include/aliases.h: Likewise.
47138 * include/argz.h: Likewise.
47139 * include/arpa/inet.h: Likewise.
47140 * include/assert.h: Likewise.
47141 * include/dirent.h: Likewise.
47142 * include/dlfcn.h: Likewise.
47143 * include/execinfo.h: Likewise.
47144 * include/fcntl.h: Likewise.
47145 * include/fenv.h: Likewise.
47146 * include/glob.h: Likewise.
47147 * include/grp.h: Likewise.
47148 * include/libintl.h: Likewise.
47149 * include/mntent.h: Likewise.
47150 * include/netdb.h: Likewise.
47151 * include/pwd.h: Likewise.
47152 * include/rpc/netdb.h: Likewise.
47153 * include/sched.h: Likewise.
47154 * include/search.h: Likewise.
47155 * include/shadow.h: Likewise.
47156 * include/signal.h: Likewise.
47157 * include/stdio.h: Likewise.
47158 * include/stdlib.h: Likewise.
47159 * include/string.h: Likewise.
47160 * include/sys/socket.h: Likewise.
47161 * include/sys/stat.h: Likewise.
47162 * include/sys/statfs.h: Likewise.
47163 * include/sys/statvfs.h: Likewise.
47164 * include/sys/syslog.h: Likewise.
47165 * include/sys/time.h: Likewise.
47166 * include/sys/uio.h: Likewise.
47167 * include/time.h: Likewise.
47168 * include/unistd.h: Likewise.
47169 * include/utmp.h: Likewise.
47170 * include/wchar.h: Likewise.
47171 * include/wctype.h: Likewise.
47172 * inet/aliases.h: Likewise.
47173 * inet/arpa/inet.h: Likewise.
47174 * inet/netinet/ether.h: Likewise.
47175 * inet/netinet/in.h: Likewise.
47176 * intl/libintl.h: Likewise.
47177 * io/bits/fcntl2.h: Likewise.
47178 * io/fcntl.h: Likewise.
47179 * io/ftw.h: Likewise.
47180 * io/sys/poll.h: Likewise.
47181 * io/sys/stat.h: Likewise.
47182 * io/sys/statfs.h: Likewise.
47183 * io/sys/statvfs.h: Likewise.
47184 * io/utime.h: Likewise.
47185 * libio/bits/stdio.h: Likewise.
47186 * libio/bits/stdio2.h: Likewise.
47187 * libio/libio.h: Likewise.
47188 * libio/libioP.h: Likewise.
47189 * libio/stdio.h: Likewise.
47190 * locale/lc-ctype.c: Likewise.
47191 * locale/locale.h: Likewise.
47192 * login/utmp.h: Likewise.
47193 * malloc/arena.c: Likewise.
47194 * malloc/malloc.c: Likewise.
47195 * malloc/malloc.h: Likewise.
47196 * malloc/mcheck.c: Likewise.
47197 * malloc/mtrace.c: Likewise.
47198 * math/bits/mathcalls.h: Likewise.
47199 * math/fenv.h: Likewise.
47200 * math/math_private.h: Likewise.
47201 * misc/bits/error.h: Likewise.
47202 * misc/bits/syslog.h: Likewise.
47203 * misc/err.h: Likewise.
47204 * misc/error.h: Likewise.
47205 * misc/fstab.h: Likewise.
47206 * misc/mntent.h: Likewise.
47207 * misc/regexp.h: Likewise.
47208 * misc/search.h: Likewise.
47209 * misc/sgtty.h: Likewise.
47210 * misc/sys/mman.h: Likewise.
47211 * misc/sys/syslog.h: Likewise.
47212 * misc/sys/uio.h: Likewise.
47213 * misc/sys/xattr.h: Likewise.
47214 * misc/ttyent.h: Likewise.
47215 * nis/rpcsvc/ypclnt.h: Likewise.
47216 * nss/nss.h: Likewise.
47217 * posix/bits/unistd.h: Likewise.
47218 * posix/fnmatch.h: Likewise.
47219 * posix/glob.h: Likewise.
47220 * posix/sched.h: Likewise.
47221 * posix/spawn.h: Likewise.
47222 * posix/sys/wait.h: Likewise.
47223 * posix/unistd.h: Likewise.
47224 * posix/wordexp.h: Likewise.
47225 * pwd/pwd.h: Likewise.
47226 * resolv/netdb.h: Likewise.
47227 * resource/sys/resource.h: Likewise.
47228 * rt/aio.h: Likewise.
47229 * rt/bits/mqueue2.h: Likewise.
47230 * rt/mqueue.h: Likewise.
47231 * shadow/shadow.h: Likewise.
47232 * signal/signal.h: Likewise.
47233 * socket/send.c: Likewise.
47234 * socket/sendto.c: Likewise.
47235 * socket/sys/socket.h: Likewise.
47236 * stdio-common/printf.h: Likewise.
47237 * stdlib/bits/stdlib.h: Likewise.
47238 * stdlib/fmtmsg.h: Likewise.
47239 * stdlib/monetary.h: Likewise.
47240 * stdlib/stdlib.h: Likewise.
47241 * stdlib/ucontext.h: Likewise.
47242 * streams/stropts.h: Likewise.
47243 * string/argz.h: Likewise.
47244 * string/bits/string2.h: Likewise.
47245 * string/string.h: Likewise.
47246 * string/strings.h: Likewise.
47247 * sunrpc/rpc/auth.h: Likewise.
47248 * sunrpc/rpc/auth_des.h: Likewise.
47249 * sunrpc/rpc/clnt.h: Likewise.
47250 * sunrpc/rpc/netdb.h: Likewise.
47251 * sunrpc/rpc/pmap_clnt.h: Likewise.
47252 * sunrpc/rpc/xdr.h: Likewise.
47253 * sysdeps/generic/inttypes.h: Likewise.
47254 * sysdeps/generic/net/if.h: Likewise.
47255 * sysdeps/generic/sys/swap.h: Likewise.
47256 * sysdeps/gnu/net/if.h: Likewise.
47257 * sysdeps/gnu/utmpx.h: Likewise.
47258 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47259 * sysdeps/i386/i486/bits/string.h: Likewise.
47260 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47261 * sysdeps/s390/bits/string.h: Likewise.
47262 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47263 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47264 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47265 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47266 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47267 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47268 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47269 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47270 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47271 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47272 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47273 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47274 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47275 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47276 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47277 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47278 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47280 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47281 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47282 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47283 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47284 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47285 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47286 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47287 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47288 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47289 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47290 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47292 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47293 * sysvipc/sys/ipc.h: Likewise.
47294 * sysvipc/sys/msg.h: Likewise.
47295 * sysvipc/sys/sem.h: Likewise.
47296 * sysvipc/sys/shm.h: Likewise.
47297 * termios/termios.h: Likewise.
47298 * time/sys/time.h: Likewise.
47299 * time/time.h: Likewise.
47300 * wcsmbs/bits/wchar2.h: Likewise.
47301 * wcsmbs/uchar.h: Likewise.
47302 * wcsmbs/wchar.h: Likewise.
47303 * wctype/wctype.h: Likewise.
47306 * Makeconfig: Remove all but ELF support including AIX support.
47307 * Makerules: Likewise.
47308 * config.h.in: Likewise.
47309 * config.make.in: Likewise.
47310 * configure: Likewise.
47311 * configure.in: Likewise.
47312 * csu/Makefile: Likewise.
47313 * csu/version.c: Likewise.
47314 * debug/Makefile: Likewise.
47315 * dlfcn/Makefile: Likewise.
47316 * elf/Makefile: Likewise.
47317 * extra-lib.mk: Likewise.
47318 * iconv/Makefile: Likewise.
47319 * include/libc-symbols.h: Likewise.
47320 * include/shlib-compat.h: Likewise.
47321 * resolv/Makefile: Likewise.
47322 * resolv/res_libc.c: Likewise.
47323 * rt/Makefile: Likewise.
47324 * sysdeps/i386/asm-syntax.h: Likewise.
47325 * sysdeps/i386/sysdep.h: Likewise.
47326 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47327 * sysdeps/mach/sysdep.h: Likewise.
47328 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47329 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47330 * sysdeps/s390/asm-syntax.h: Likewise.
47331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47333 * sysdeps/sh/sysdep.h: Likewise.
47334 * sysdeps/unix/sparc/sysdep.h: Likewise.
47335 * sysdeps/wordsize-32/divdi3.c: Likewise.
47336 * sysdeps/x86_64/sysdep.h: Likewise.
47338 * argp/Versions: Remove _argp_unlock_xxx.
47341 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47342 * abilist/libBrokenLocale.abilist: Likewise.
47343 * abilist/libanl.abilist: Likewise.
47344 * abilist/libc.abilist: Likewise.
47345 * abilist/libcrypt.abilist: Likewise.
47346 * abilist/libdl.abilist: Likewise.
47347 * abilist/libm.abilist: Likewise.
47348 * abilist/libnsl.abilist: Likewise.
47349 * abilist/libpthread.abilist: Likewise.
47350 * abilist/libresolv.abilist: Likewise.
47351 * abilist/librt.abilist: Likewise.
47352 * abilist/libthread_db.abilist: Likewise.
47353 * abilist/libutil.abilist: Likewise.
47354 * abilist/libnss_db.abilist: New file.
47356 * scripts/abilist.awk: Add support for indirect functions.
47358 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47360 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47362 * shlib-versions: Remove entries for ports architectures.
47364 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47366 * elf/stackguard-macros.h: Remove support for IA-64.
47367 * elf/tst-auditmod1.c: Likewise.
47368 * sysdeps/generic/ldsodefs.h: Likewise.
47370 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47371 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47375 * configure.in: Remove --enable-omitfp support.
47377 * config.make.in: Likewise.
47378 * Makeconfig: Likewise.
47379 * manual/install.texi: Likewise.
47381 In case anyone cares, the IA-64 architecture could move to ports.
47382 * sysdeps/ia64/*: Removed.
47383 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47384 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47387 * configure.in: Remove entries for unsupported architectures.
47390 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47391 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47393 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47394 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47395 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47396 fall back to using wcrtomb.
47397 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47398 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47400 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47401 * wcsmbs/tst-c16c32-1.c: New file.
47403 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47406 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47408 * elf/tst-unique3.cc: Add explicit declaration of gets.
47409 * elf/tst-unique3lib.cc: Likewise.
47410 * elf/tst-unique3lib2.cc: Likewise.
47411 * elf/tst-unique4.cc: Likewise.
47413 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47415 2012-01-06 Joseph Myers <joseph@codesourcery.com>
47418 * assert/assert.h (static_assert): Don't define for C++.
47419 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47420 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47422 2012-01-03 Ulrich Drepper <drepper@gmail.com>
47424 * iconv/loop.c (single loop): Fix assertion in storing of
47427 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47429 2012-01-01 Ulrich Drepper <drepper@gmail.com>
47431 * posix/getconf.c: Update copyright year.
47432 * nss/getent.c: Likewise.
47433 * nss/makedb.c: Likewise.
47434 * iconv/iconvconfig.c: Likewise.
47435 * iconv/iconv_prog.c: Likewise.
47436 * elf/ldconfig.c: Likewise.
47437 * elf/pldd.c: Likewise.
47438 * elf/sotruss.ksh: Likewise.
47439 * catgets/gencat.c: Likewise.
47440 * csu/version.c: Likewise.
47441 * elf/ldd.bash.in: Likewise.
47442 * elf/sprof.c (print_version): Likewise.
47443 * locale/programs/locale.c: Likewise.
47444 * locale/programs/localedef.c: Likewise.
47445 * login/programs/pt_chown.c: Likewise.
47446 * nscd/nscd.c (print_version): Likewise.
47447 * debug/xtrace.sh: Likewise.
47448 * malloc/memusage.sh: Likewise.
47449 * malloc/mtrace.pl: Likewise.
47450 * debug/catchsegv.sh: Likewise.
47452 2011-12-30 Jakub Jelinek <jakub@redhat.com>
47454 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47457 2011-12-24 Ulrich Drepper <drepper@gmail.com>
47460 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47461 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47463 * iconv/gconv_int.h: Likewise.
47464 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47465 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47466 from libc for GLIBC_2.16.
47467 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47468 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47469 * wcsmbs/uchar.h: Really define mbstate_t.
47470 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47471 * wcsmbs/c16rtomb.c: New file.
47472 * wcsmbs/mbrtoc16.c: New file.
47473 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47474 for C/POSIX locale.
47475 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47476 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47478 * wcsmbs/wchar.h: Add missing __restrict.
47480 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47483 * time/Makefile (routines): Add timespec_get.
47484 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47485 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47486 timespec for ISO C11.
47487 * time/timespec_get.c: New file.
47488 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47489 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47492 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47493 * stdlib/stdlib.h: Declare aligned_alloc.
47494 * Versions.def: Add GLIBC_2.16 for libc.
47495 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47498 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47501 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47505 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47508 * assert/assert.h (static_assert): Define.
47510 * version.h: Update for 2.16 development version.
47513 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47516 * version.h (RELEASE): Bump for 2.15 release.
47517 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47519 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47520 Patch by Marek Polacek <mpolacek@redhat.com>.
47522 * bits/byteswap.h: Protect long long constants with __extension__.
47523 * sysdeps/i386/bits/byteswap.h: Likewise.
47524 * sysdeps/ia64/bits/byteswap.h: Likewise.
47525 * sysdeps/s390/bits/byteswap.h: Likewise.
47526 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47528 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47532 destination buffer.
47533 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47535 2011-12-23 Marek Polacek <polacek@redhat.com>
47537 * elf/dl-addr.c (determine_info): Add inline keyword.
47538 * elf/tst-auditmod4b.c (check_avx): Likewise.
47539 * elf/tst-auditmod6b.c (check_avx): Likewise.
47540 * elf/tst-auditmod6c.c (check_avx): Likewise.
47541 * elf/tst-auditmod7b.c (check_avx): Likewise.
47543 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47545 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47548 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47551 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47552 processing for last bytes.
47554 2011-08-06 Bruno Haible <bruno@clisp.org>
47557 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47558 U+0385, not to U+1FEE.
47561 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47562 entry for U+00A5 U+0301.
47564 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47567 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47568 buffer for the output is too small.
47570 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47574 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47575 SSE flags if possible.
47577 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47581 processing for last bytes.
47583 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47585 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47586 (syscall-list-default-options, syscall-list-default-condition)
47587 (syscall-list-includes): Define.
47588 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47589 list of ABIs and options and #if conditions for each ABI. Do not
47590 handle common syscalls between ABIs specially.
47591 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47593 (syscall-list-variants, syscall-list-32bit-options)
47594 (syscall-list-32bit-condition, syscall-list-64bit-options)
47595 (syscall-list-64bit-condition): Define.
47596 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47597 (syscall-list-variants, syscall-list-32bit-options)
47598 (syscall-list-32bit-condition, syscall-list-64bit-options)
47599 (syscall-list-64bit-condition): Define.
47600 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47602 (syscall-list-variants, syscall-list-32bit-options)
47603 (syscall-list-32bit-condition, syscall-list-64bit-options)
47604 (syscall-list-64bit-condition): Define.
47605 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47607 (syscall-list-variants, syscall-list-32bit-options)
47608 (syscall-list-32bit-condition, syscall-list-64bit-options)
47609 (syscall-list-64bit-condition): Define.
47611 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47613 * locale/iso-639.def: Add brx entry.
47616 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47617 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47619 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47620 __feraiseexcept_renamed.
47622 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47625 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47626 EPOLLET with unsigned values.
47627 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47628 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47630 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47631 to large cancellation.
47632 * math/s_cacoshf.c: Likewise.
47633 * math/s_cacoshl.c: Likewise.
47635 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47639 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47640 * math/s_cacoshf.c: Likewise.
47641 * math/s_cacoshl.c: Likewise.
47643 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47646 * iconv/gconv.h: Define __GCONV_SWAP.
47647 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47648 * iconvdata/utf-16.c: Likewise.
47649 * iconvdata/utf-32.c: Likewise.
47651 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47654 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47655 numerator after shifting it by one limb.
47657 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47659 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47660 under [__USE_EXTERN_INLINES].
47662 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47665 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47667 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47669 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47670 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47672 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47673 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47674 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47675 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47676 for strncasecmp/strncasecmp_l compilation.
47677 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47678 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47680 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47683 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47686 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47689 * time/tzfile.c (__tzfile_read): Check values from file header.
47691 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47693 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47694 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47695 * powerpc/powerpc32/dl-start.S: Likewise.
47696 * powerpc/powerpc32/elf/start.S: Likewise.
47697 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47698 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47699 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47700 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47701 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47702 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47703 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47704 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47705 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47706 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47707 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47708 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47709 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47710 * powerpc/powerpc32/memset.S: Likewise.
47711 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47712 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47713 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47714 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47715 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47716 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47717 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47718 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47719 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47720 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47721 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47722 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47723 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47725 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47727 * math/libm-test.inc: Added more nearbyint tests.
47728 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47733 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47735 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47738 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47740 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47741 Add wcscpy-ssse3 wcscpy-c.
47742 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47743 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47744 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47745 * sysdeps/x86_64/wcschr.S: New file.
47746 * sysdeps/x86_64/wcsrchr.S: New file.
47747 * string/test-strcmp.c: Remove checking of wcscmp function for
47749 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47750 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47751 wcsrchr-sse2 wcsrchr-c.
47752 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47753 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47754 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47755 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47756 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47757 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47758 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47759 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47761 * wcsmbc/wcschr.c (WCSCHR): New macro.
47763 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47765 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47766 * wcsmbs/test-wcsrchr.c: New file.
47767 * string/test-strrchr.c: Add wcsrchr support.
47769 * wcsmbs/test-wcscpy.c: New file.
47770 * string/test-strcpy.c: Add wcscpy support.
47773 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47775 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47778 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47781 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47783 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47785 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47786 Minor optimizations.
47788 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47789 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47790 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47792 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47794 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47795 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47796 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47797 for gcc to avoid warnings.
47798 * inet/Makefile (tests): Add tst-checks.
47799 * inet/tst-checks.c: New file.
47801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47804 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47807 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47808 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47810 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47812 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47814 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47817 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47819 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47821 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47822 conditional on GCC version.
47823 (__arch_compare_and_exchange_val_8_acq)
47824 (__arch_compare_and_exchange_val_16_acq)
47825 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47826 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47827 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47829 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47831 * sysdeps/sh/backtrace.c: New file.
47833 2011-12-02 Andreas Schwab <schwab@redhat.com>
47835 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47838 2011-12-01 Andreas Schwab <schwab@redhat.com>
47840 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47841 falling back to utime.
47843 2011-11-30 Andreas Schwab <schwab@redhat.com>
47845 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47846 expectations for float.
47848 2011-11-29 Andreas Schwab <schwab@redhat.com>
47850 * locale/weight.h (findidx): Add parameter len.
47851 * locale/weightwc.h (findidx): Likewise.
47852 * posix/fnmatch_loop.c (FCT): Adjust caller.
47853 * posix/regcomp.c (build_equiv_class): Likewise.
47854 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47855 * posix/regexec.c (check_node_accept_bytes): Likewise.
47856 * string/strcoll_l.c (STRCOLL): Likewise.
47857 * string/strxfrm_l.c (STRXFRM): Likewise.
47859 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47861 * Makefile.in: Remove CVSOPT handling.
47862 * configure.in: Remove use of AC_REVISION.
47863 * iconvdata/Makefile (distribute): No need to filter out CVS.
47864 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47867 2011-11-16 Andreas Schwab <schwab@redhat.com>
47869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47870 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47871 [USE_AS_STRNCASECMP_L]: Likewise.
47872 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47873 NO_TLS_DIRECT_SEG_REFS.
47874 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47875 Fix argument offsets for non-PIC.
47876 [USE_AS_STRNCASECMP_L]: Likewise.
47877 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47878 NO_TLS_DIRECT_SEG_REFS.
47880 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47882 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47884 * locale/loadlocale.c (_nl_load_locale): Likewise.
47886 2011-11-15 Andreas Schwab <schwab@redhat.com>
47888 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47889 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47890 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47891 (SYSCALL_GETTIME): Set errno on error.
47893 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47894 count references to noai6ai_cached.
47896 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47898 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47900 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47901 FD_CLOEXEC for /proc/self/maps.
47903 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47904 FD_CLOEXEC for /proc/meminfo.
47906 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47909 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47910 FD_CLOEXEC for given file.
47912 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47914 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47915 FD_CLOEXEC for /etc/hosts.
47916 (_gethtent): Likewise.
47918 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47920 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47921 cancellation and set FD_CLOEXEC for /etc/netgroup.
47923 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47924 reading /etc/publickey.
47926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47927 allow cancellation when reading /etc/group.
47929 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47931 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47933 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47934 when using data file.
47936 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47938 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47939 (write_nis_obj): Use "c" and "e" in fopen.
47941 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47943 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47945 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47947 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47949 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47952 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47954 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47956 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47958 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47959 file parsing and set FD_CLOEXEC.
47961 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47963 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47965 2011-11-14 Andreas Schwab <schwab@redhat.com>
47967 * malloc/arena.c (arena_get2): Don't call reused_arena when
47968 _int_new_arena failed.
47970 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47972 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47973 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47974 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47975 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47978 to compile strcasecmp and strncasecmp.
47979 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47980 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47984 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47986 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47987 locale-defines.sym to gen-as-const-headers.
47988 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47989 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47991 to compile strcasecmp and strncasecmp.
47992 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47993 strcasecmp_l and strncasecmp_l.
47994 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47995 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47996 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47997 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47998 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47999 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48000 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48001 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48002 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48003 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48004 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48006 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48008 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48009 result of SYSDEP_GETTIME_CPU to retval.
48010 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48011 parameter list to macro. Remove trailing semicolon. Adjust users.
48013 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48016 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48018 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48020 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48021 from unused variable.
48023 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48025 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48028 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48031 * sunrpc/rpc_prot.c (rejected): Fix case value.
48033 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48034 unsigned long long int to avoid warnings in shift.
48036 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48038 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48041 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48042 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48043 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48045 * nis/nis_table.c (nis_list): Use variable of correct type for
48046 result of __follow_path call.
48048 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48050 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48051 of math functions ceil, trunc, floor, round, and sqrt, when
48052 avaliable on the platform.
48053 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48055 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48056 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48057 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48059 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48061 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48064 2011-11-11 Roland McGrath <roland@hack.frob.com>
48066 * include/unistd.h: Fix __readlink return type.
48067 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48069 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48071 * stdlib/ucontext.h: Undo last change for makecontext.
48073 2011-11-11 Andreas Schwab <schwab@redhat.com>
48075 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48077 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48078 * setjmp/setjmp.h: Mark functions as non-leaf.
48079 * setjmp/bits/setjmp2.h: Likewise.
48080 * stdlib/ucontext.h: Likewise.
48082 2011-11-10 Andreas Schwab <schwab@redhat.com>
48084 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48085 (reused_arena): Don't check arena limit.
48086 (arena_get2): Atomically check arena limit.
48088 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48090 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48091 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48096 2011-11-07 Andreas Schwab <schwab@redhat.com>
48098 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48099 handler when locking.
48101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48102 Fix size of allocated buffer.
48104 2011-11-04 Andreas Schwab <schwab@redhat.com>
48107 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48108 declarations for long double functions.
48109 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48111 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48113 2011-11-03 Andreas Schwab <schwab@redhat.com>
48115 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48118 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48121 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48123 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48125 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48127 * include/alloca.h (stackinfo_alloca_round): Define.
48128 (extend_alloca): Use it.
48129 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48130 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48133 * scripts/check-local-headers.sh: Ignore libaudit.h.
48135 * nscd/Makefile (extra-objs): Make recursively expanded.
48137 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48139 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48142 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48143 * posix/tst-rfc3484-2.c: Likewise.
48144 * posix/tst-rfc3484-3.c: Likewise.
48146 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48148 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48150 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48151 process_vm_writev from libc using GLIBC_2.15 version.
48153 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48155 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48157 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48160 2011-10-31 Ulrich Drepper <drepper@gmail.com>
48163 * nss/getent.c (initgroups_keys): Show error message in case no group
48166 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48167 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48168 __bump_nl_timestamp.
48169 * nscd/connections (nscd_init): When host database is served open
48170 netlink socket and request notification about configuration changes.
48171 (main_loop_poll): Track netlink file descriptor and bump timestamp
48172 in case data becomes available.
48173 (main_loop_epoll): Likewise.
48174 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48175 (database_pers_head): Add extra_data fileds.
48176 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48177 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48178 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48181 in6ai data, call __free_in6ai.
48182 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48183 Add -DHAVE_NETLINK.
48184 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48185 interface information. Reuse previous data if netlink timestamp
48187 (__bump_nl_timestamp): New function.
48188 (__free_in6ai): New function.
48190 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48192 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48193 close_not_cancel_no_status here.
48194 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48196 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48199 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48202 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48203 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48204 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48206 2011-07-03 Andreas Jaeger <aj@suse.de>
48209 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48210 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48211 * math/libm-test.inc (sin_test): Add test case.
48213 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48216 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48217 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48219 * elf/chroot_canon.c (chroot_canon): Cleanups.
48221 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48224 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48225 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48227 * string/test-strchr.c: Make usable for strchrnul testing.
48228 * string/test-strchrnul.c: New file.
48229 * string/Makefile (strop-tests): Add strchrnul.
48231 * po/it.po: Update from translation team.
48232 * po/es.po: Likewise.
48234 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48236 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48237 the three constants needed as parameters. Drop the others.
48238 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48239 __m128i_strloadu_tolower.
48240 Create and initialize variable zero and use it in all the places
48241 where _mm_setzero_si128 was used.
48243 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48244 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48245 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48246 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48248 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48249 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48250 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48251 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48252 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48253 __mpranred, __mptan.
48254 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48255 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48256 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48257 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48258 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48259 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48261 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48262 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48264 2011-10-28 Andreas Schwab <schwab@redhat.com>
48266 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48267 redefine if SHARED.
48268 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48271 wide char related routines to wcsmbs subdir.
48273 2011-10-27 Andreas Schwab <schwab@redhat.com>
48276 * misc/sys/cdefs.h (__THROWNL): Define.
48277 * posix/unistd.h: Use __THREADNL instead of __THREAD
48278 for memory synchronization functions.
48280 2011-10-26 Roland McGrath <roland@hack.frob.com>
48283 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48285 * manual/stdio.texi (Obstack Streams): Node removed.
48287 2011-10-26 Andreas Schwab <schwab@redhat.com>
48289 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48290 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48291 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48293 * math/math_private.h (math_force_eval): Allow non-addressable
48295 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48297 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48299 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48300 file is not needed.
48302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48304 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48305 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48306 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48307 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48308 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48309 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48311 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48312 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48313 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48314 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48315 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48316 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48317 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48318 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48319 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48320 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48321 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48322 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48323 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48324 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48325 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48326 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48327 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48328 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48329 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48331 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48332 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48335 place. Use VEX encoding when compiling for AVX.
48337 2011-10-25 Andreas Schwab <schwab@redhat.com>
48339 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48340 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48342 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48344 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48346 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48347 useless if() expression.
48348 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48349 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48352 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48353 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48354 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48356 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48357 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48358 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48359 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48360 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48361 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48362 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48366 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48368 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48370 2011-10-25 Andreas Schwab <schwab@redhat.com>
48372 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48374 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48376 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48378 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48379 .text section. Avoid duplicate constants.
48380 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48390 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48392 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48395 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48397 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48401 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48402 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48403 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48404 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48405 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48406 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48407 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48408 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48409 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48410 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48411 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48413 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48414 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48415 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48416 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48418 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48419 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48420 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48421 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48422 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48424 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48426 2011-10-24 Ulrich Drepper <drepper@gmail.com>
48428 * sysdeps/x86_64/dla.h: Move to ...
48429 * sysdeps/x86_64/fpu/dla.h: ...here.
48430 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48431 situations. Use __builtin_fma only for gcc 4.6 and up.
48433 * config.make.in: Add have-mfma4 entry.
48434 * configure.in: Substitute libc_cv_cc_fma4.
48435 * math/Makefile (dbl-only-routines): Add sincostab.
48436 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48437 Use __sincostab not sincos.
48438 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48445 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48446 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48447 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48448 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48450 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48451 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48453 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48454 define aliases when function name is a macro.
48455 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48456 sysdeps/ieee754/dbl-64/sincos.tbl.
48457 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48458 fma4-enabled routines.
48459 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48460 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48461 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48462 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48463 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48464 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48468 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48469 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48470 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48471 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48472 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48474 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48475 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48476 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48477 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48478 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48479 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48480 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48481 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48482 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48483 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48484 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48486 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48487 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48488 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48490 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48501 2011-10-24 Andreas Schwab <schwab@redhat.com>
48503 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48505 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48507 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48509 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48511 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48513 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48514 Remove unused variable magic_bits.
48515 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48517 * string/strnlen.c: Define and use STRNLEN macro.
48518 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48519 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48521 * wcsmbs/wcslen.c: Define and use WCSLEN.
48522 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48523 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48524 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48525 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48526 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48527 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48528 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48530 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48533 strnlen-sse2-no-bsf.
48534 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48536 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48537 Add strnlen support.
48538 (USE_AS_STRNLEN): New macro.
48539 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48541 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48542 * sysdeps/x86_64/wcslen.S: New file.
48544 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48546 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48547 XMM-moves are used for copying on small sizes.
48549 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48551 * wcsmbs/Makefile (strop-tests): Add wcschr.
48552 * wcsmbs/test-wcschr.c: New file.
48553 * string/test-strchr.c: Update.
48554 Add wcschr support.
48557 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48559 * wcsmbs/Makefile (strop-tests): Add wcslen.
48560 * wcsmbs/test-wcslen.c: New file.
48561 * string/test-strlen.c: Update.
48562 Add wcslen support.
48565 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48567 * po/it.po: Update from translation team.
48569 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48571 * sysdeps/x86_64/wcscmp.S: Update.
48572 Fix wrong comparison semantics.
48573 wcscmp shall use signed comparison not unsigned.
48574 Don't use substraction to avoid overflow bug.
48575 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48576 * wcsmbc/wcscmp.c: Likewise.
48577 * string/test-strcmp.c: Likewise.
48578 Add new tests to check cases with negative values.
48580 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48582 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48583 * sysdeps/x86_64/dla.h: ...here. New file.
48584 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48594 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48596 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48597 __ynl_finite aliases.
48599 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48603 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48605 [DLA_FMA] (EMULV): Use DLA_FMA.
48606 [DLA_FMA] (MUL12): Use EMULV.
48607 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48608 that are not needed.
48609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48614 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48617 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48619 * math/s_nan.c: Undef __nan.
48620 * math/s_nanf.c: Undef __nanf.
48621 * math/s_nanl.c: Undef __nanl.
48622 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48625 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48627 * math/s_catan.c: Add branch predictions.
48628 * math/s_catanf.c: Likewise.
48629 * math/s_catanh.c: Likewise.
48630 * math/s_catanhf.c: Likewise.
48631 * math/s_catanhl.c: Likewise.
48632 * math/s_catanl.c: Likewise.
48633 * math/s_cexp.c: Likewise.
48634 * math/s_cexpf.c: Likewise.
48635 * math/s_cexpl.c: Likewise.
48636 * math/s_clog.c: Likewise.
48637 * math/s_clog10.c: Likewise.
48638 * math/s_clog10f.c: Likewise.
48639 * math/s_clog10l.c: Likewise.
48640 * math/s_clogf.c: Likewise.
48641 * math/s_clogl.c: Likewise.
48642 * math/s_csqrt.c: Likewise.
48643 * math/s_csqrtf.c: Likewise.
48644 * math/s_csqrtl.c: Likewise.
48645 * math/s_ctanf.c: Likewise.
48646 * math/s_ctanh.c: Likewise.
48647 * math/s_ctanhf.c: Likewise.
48648 * math/s_ctanhl.c: Likewise.
48649 * math/s_ctanl.c: Likewise.
48651 * math/math_private.h: Define __nan, __nanf, __nanl.
48652 * math/s_cacosh.c: Include <math_private.h>.
48653 * math/s_cacoshl.c: Likewise.
48654 * math/s_casinh.c: Likewise.
48655 * math/s_casinhf.c: Likewise.
48656 * math/s_casinhl.c: Likewise.
48657 * math/s_ccos.c: Rely entire on ccosh.
48658 * math/s_ccosf.c: Rely entire on ccoshf.
48659 * math/s_ccosl.c: Rely entirely on ccoshl.
48660 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48661 Remove tests for FE_INVALID.
48662 * math/s_ccoshf.c: Likewise.
48663 * math/s_ccoshl.c: Likewise.
48664 * math/s_csin.c: Likewise.
48665 * math/s_csinf.c: Likewise.
48666 * math/s_csinh.c Likewise.
48667 * math/s_csinhf.c: Likewise.
48668 * math/s_csinhl.c: Likewise.
48669 * math/s_csinl.c: Likewise.
48670 * math/s_ctan.c: Likewise.
48671 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48672 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48673 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48675 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48678 compilation problems.
48680 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48683 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48685 * sysdeps/i386/configure.in: Test for -mfma4 option.
48686 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48687 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48688 COMMON_CPUID_INDEX_80000001.
48689 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48690 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48691 use it if FMA3 is not supported.
48692 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48694 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48695 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48697 2011-10-20 Andreas Schwab <schwab@redhat.com>
48700 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48701 it would create a cycle with a link time dependency.
48703 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48705 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48707 * string/Makefile (strop-tests): Add rawmemchr.
48708 * string/test-rawmemchr.c: New file.
48710 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48711 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48712 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48713 when compiling str{,n}casecmp and when AVX is available. Hook up
48714 new optimized code in initializers.
48716 2011-10-19 Andreas Schwab <schwab@redhat.com>
48718 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48719 __feraiseexcept instead of feraiseexcept.
48721 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48723 * math/math_private.h: Define defaults for libc_fetestexcept and
48725 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48726 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48727 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48728 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48729 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48730 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48731 libc_fetestexcept and libc_feupdateenv.
48733 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48734 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48735 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48736 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48737 libc_feholdexcept_setround.
48739 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48740 Add s_nearbyint-c and s_nearbyintf-c.
48741 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48742 nearbyintf inlines.
48743 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48744 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48745 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48746 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48748 * math/math_private.h: Define defaults for libc_fegetround,
48749 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48750 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48751 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48752 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48753 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48754 standard functions.
48755 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48756 Remove comments and hacks for old compiler versions.
48757 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48758 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48759 libc_feholdexceptl.
48761 2011-10-18 Andreas Schwab <schwab@redhat.com>
48763 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48764 (__feraiseexcept_renamed): Add __NTH.
48765 (feraiseexcept): Add __NTH. Rename local variables to fix
48766 namespace violations.
48768 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48770 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48772 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48774 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48775 recently added interfaces.
48776 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48778 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48779 about macro parameter expansion.
48781 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48782 __NO_MATH_INLINES is defined. Cleanups.
48784 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48785 and __floorf is target has SSE4.1.
48786 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48787 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48788 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48789 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48791 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48793 (floorf): Likewise.
48795 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48797 2011-10-17 Andreas Schwab <schwab@redhat.com>
48799 * misc/sys/cdefs.h: Fix last change.
48801 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48804 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48806 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48808 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48815 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48816 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48817 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48818 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48819 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48820 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48821 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48822 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48823 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48824 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48825 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48826 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48827 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48828 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48829 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48832 ceil, ceilf, floor, floorf.
48834 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48835 Perform IRELATIVE relocations last.
48837 * elf/do-rel.h: Add another parameter nrelative, replacing the
48838 local variable with the same name. Change name of the function
48839 to end in Rel or Rela (uppercase).
48840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48841 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48842 elf_dynamic_do_##reloc function.
48844 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48846 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48847 is sufficient, at least on modern CPUs.
48849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48851 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48852 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48854 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48856 * math/bits/math-finite.h: Add entries for exp.
48857 * math/e_expl.c: Add __*_finite alias.
48858 * sysdeps/i386/fpu/e_exp.S: Likewise.
48859 * sysdeps/i386/fpu/e_expf.S: Likewise.
48860 * sysdeps/i386/fpu/e_expl.c: Likewise.
48861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48862 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48863 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48865 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48866 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48867 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48869 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48870 is sufficient, at least on modern CPUs.
48872 * ctype/ctype-info.c (__ctype_init): Define.
48873 * include/ctype.h (__ctype_init): Declare.
48874 (__ctype_b_loc): The variable is always initialized.
48875 (__ctype_toupper_loc): Likewise.
48876 (__ctype_tolower_loc): Likewise.
48877 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48878 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48880 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48882 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48884 * configure.in: Also look in $cxxmachine/include for C++ system
48887 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48889 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48890 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48891 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48892 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48894 (USE_AS_WMEMCMP): New macro.
48896 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48897 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48898 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48899 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48901 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48902 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48903 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48904 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48905 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48906 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48907 (USE_AS_WMEMCMP): New macro.
48908 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48909 * sysdeps/string/test-memcmp.c: Update.
48910 Fix simple_wmemcmp.
48912 * wcsmbs/wmemcmp.c: Update.
48913 (WMEMCMP): New macro.
48916 2011-10-12 Andreas Jaeger <aj@suse.de>
48919 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48921 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48923 * libio/iofwide.c (do_length): Avoid warning.
48925 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48927 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48929 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48931 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48932 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48933 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48934 * sysdeps/i386/i686/fpu/e_log.S: New file.
48935 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48936 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48938 * ctype/ctype.h: Add support for inlined isXXX functions when
48939 compiling C++ code.
48941 2011-10-14 Andreas Schwab <schwab@redhat.com>
48943 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48947 2011-10-13 Roland McGrath <roland@hack.frob.com>
48950 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48952 2011-10-13 Andreas Schwab <schwab@redhat.com>
48954 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48955 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48958 * sysdeps/x86_64/memrchr.S: Check for zero size.
48960 * string/stratcliff.c: Add memrchr tests.
48962 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48965 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48966 rawmemchr-sse2 rawmemchr-sse2-bsf.
48967 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48968 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48969 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48970 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48971 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48972 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48973 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48974 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48975 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48976 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48977 * string/memrchr.c (MEMRCHR): New macro.
48979 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48981 Add integration with gcc's -ffinite-math-only and optimize wrapper
48983 * Versions.def: Define GLIBC_2.15 version for libm.
48984 * math/Makefile (headers): Add bits/math-finite.h.
48985 * math/bits/math-finite.h: New file.
48986 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48987 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48988 * math/e_acoshl.c: Add __*_finite alias.
48989 * math/e_acosl.c: Likewise.
48990 * math/e_asinl.c: Likewise.
48991 * math/e_atan2l.c: Likewise.
48992 * math/e_atanhl.c: Likewise.
48993 * math/e_coshl.c: Likewise.
48994 * math/e_exp10.c: Likewise.
48995 * math/e_exp10f.c: Likewise.
48996 * math/e_exp10l.c: Likewise.
48997 * math/e_exp2l.c: Likewise.
48998 * math/e_fmodl.c: Likewise.
48999 * math/e_gammal_r.c: Likewise.
49000 * math/e_hypotl.c: Likewise.
49001 * math/e_j0l.c: Likewise.
49002 * math/e_j1l.c: Likewise.
49003 * math/e_jnl.c: Likewise.
49004 * math/e_lgammal_r.c: Likewise.
49005 * math/e_log10l.c: Likewise.
49006 * math/e_log2l.c: Likewise.
49007 * math/e_logl.c: Likewise.
49008 * math/e_powl.c: Likewise.
49009 * math/e_sinhl.c: Likewise.
49010 * math/e_sqrtl.c: Likewise.
49011 * math/e_scalb.c: Completely rewritten and optimized.
49012 * math/e_scalbf.c: Likewise.
49013 * math/e_scalbl.c: Likewise.
49014 * math/w_acos.c: Likewise.
49015 * math/w_acosf.c: Likewise.
49016 * math/w_acosl.c: Likewise.
49017 * math/w_acosh.c: Likewise.
49018 * math/w_acoshf.c: Likewise.
49019 * math/w_acoshl.c: Likewise.
49020 * math/w_asin.c: Likewise.
49021 * math/w_asinf.c: Likewise.
49022 * math/w_asinl.c: Likewise.
49023 * math/w_atan2.c: Likewise.
49024 * math/w_atan2f.c: Likewise.
49025 * math/w_atan2l.c: Likewise.
49026 * math/w_atanh.c: Likewise.
49027 * math/w_atanhf.c: Likewise.
49028 * math/w_atanhl.c: Likewise.
49029 * math/w_exp10.c: Likewise.
49030 * math/w_exp10f.c: Likewise.
49031 * math/w_exp10l.c: Likewise.
49032 * math/w_fmod.c: Likewise.
49033 * math/w_fmodf.c: Likewise.
49034 * math/w_fmodl.c: Likewise.
49035 * math/w_j0.c: Likewise.
49036 * math/w_j0f.c: Likewise.
49037 * math/w_j0l.c: Likewise.
49038 * math/w_j1.c: Likewise.
49039 * math/w_j1f.c: Likewise.
49040 * math/w_j1l.c: Likewise.
49041 * math/w_jn.c: Likewise.
49042 * math/w_jnf.c: Likewise.
49043 * math/w_log.c: Likewise.
49044 * math/w_logf.c: Likewise.
49045 * math/w_logl.c: Likewise.
49046 * math/w_log10.c: Likewise.
49047 * math/w_log10f.c: Likewise.
49048 * math/w_log10l.c: Likewise.
49049 * math/w_log2.c: Likewise.
49050 * math/w_log2f.c: Likewise.
49051 * math/w_log2l.c: Likewise.
49052 * math/w_pow.c: Likewise.
49053 * math/w_powf.c: Likewise.
49054 * math/w_powl.c: Likewise.
49055 * math/w_remainder.c: Likewise.
49056 * math/w_remainderf.c: Likewise.
49057 * math/w_remainderl.c: Likewise.
49058 * math/w_scalb.c: Likewise.
49059 * math/w_scalbf.c: Likewise.
49060 * math/w_scalbl.c: Likewise.
49061 * math/w_sqrt.c: Likewise.
49062 * math/w_sqrtf.c: Likewise.
49063 * math/w_sqrtl.c: Likewise.
49064 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49065 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49067 * math/math_private.h: Declare __kernel_standard_f.
49068 * math/w_cosh.c: Remove cruft and optimize a bit.
49069 * math/w_coshf.c: Likewise.
49070 * math/w_coshl.c: Likewise.
49071 * math/w_exp2.c: Likewise.
49072 * math/w_exp2f.c: Likewise.
49073 * math/w_exp2l.c: Likewise.
49074 * math/w_hypot.c: Likewise.
49075 * math/w_hypotf.c: Likewise.
49076 * math/w_hypotl.c: Likewise.
49077 * math/w_lgamma.c: Likewise.
49078 * math/w_lgamma_r.c: Likewise.
49079 * math/w_lgammaf.c: Likewise.
49080 * math/w_lgammaf_r.c: Likewise.
49081 * math/w_lgammal.c: Likewise.
49082 * math/w_lgammal_r.c: Likewise.
49083 * math/w_sinh.c: Likewise.
49084 * math/w_sinhf.c: Likewise.
49085 * math/w_sinhl.c: Likewise.
49086 * math/w_tgamma.c: Likewise.
49087 * math/w_tgammaf.c: Likewise.
49088 * math/w_tgammal.c: Likewise.
49089 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49091 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49092 Minor optimizations. Pretty printing. Remove cruft.
49093 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49094 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49095 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49096 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49097 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49098 * sysdeps/i386/fpu/e_asin.S: Likewise.
49099 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49100 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49101 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49102 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49103 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49104 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49105 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49106 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49107 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49108 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49109 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49110 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49111 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49112 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49113 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49114 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49115 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49116 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49117 * sysdeps/i386/fpu/e_log.S: Likewise.
49118 * sysdeps/i386/fpu/e_log10.S: Likewise.
49119 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49120 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49121 * sysdeps/i386/fpu/e_log2.S: Likewise.
49122 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49123 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49124 * sysdeps/i386/fpu/e_logf.S: Likewise.
49125 * sysdeps/i386/fpu/e_logl.S: Likewise.
49126 * sysdeps/i386/fpu/e_pow.S: Likewise.
49127 * sysdeps/i386/fpu/e_powf.S: Likewise.
49128 * sysdeps/i386/fpu/e_powl.S: Likewise.
49129 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49130 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49131 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49132 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49133 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49134 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49135 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49136 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49137 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49138 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49139 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49141 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49143 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49144 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49145 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49146 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49147 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49148 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49149 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49152 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49154 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49155 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49159 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49162 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49163 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49164 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49165 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49166 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49167 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49168 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49169 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49170 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49171 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49172 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49173 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49174 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49175 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49176 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49177 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49178 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49179 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49180 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49184 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49185 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49186 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49197 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49198 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49202 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49215 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49218 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49219 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49223 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49224 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49225 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49226 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49228 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49229 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49231 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49232 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49233 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49234 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49235 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49236 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49237 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49238 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49239 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49240 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49241 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49242 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49243 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49246 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49247 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49248 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49249 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49250 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49251 (__isnanf): Likewise.
49252 (__isinf_ns): Likewise.
49253 (__isinf_nsf): Likewise.
49254 (__finite): Likewise.
49255 (__finitef): Likewise.
49256 (__ieee754_sqrt): Define as macro.
49257 (__ieee754_sqrtf): Define as macro.
49258 (__ieee754_sqrtl): Define as macro.
49259 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49261 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49262 __FINITE_MATH_ONLY__ consistent.
49263 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49265 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49267 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49270 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49272 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49274 * po/ja.po: Update from translation team.
49276 2011-10-08 Roland McGrath <roland@hack.frob.com>
49278 * locale/programs/locarchive.c (prepare_address_space): New function.
49279 (create_archive, enlarge_archive, open_archive): Use it.
49281 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49282 inside [SHARED], where it is used.
49284 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49286 * nss/getent.c (netgroup_keys): Remove unused variable.
49287 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49289 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49291 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49292 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49295 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49296 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49297 * math/Makefile (libm-calls): Add s_isinf_ns.
49298 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49299 * math/multc3.c: Likewise.
49300 * math/s_casin.c: Likewise.
49301 * math/s_casinf.c: Likewise.
49302 * math/s_casinl.c: Likewise.
49303 * math/s_ccos.c: Likewise.
49304 * math/s_ccosf.c: Likewise.
49305 * math/s_ccosl.c: Likewise.
49306 * math/s_ctan.c: Likewise.
49307 * math/s_ctanf.c: Likewise.
49308 * math/s_ctanh.c: Likewise.
49309 * math/s_ctanhf.c: Likewise.
49310 * math/s_ctanhl.c: Likewise.
49311 * math/s_ctanl.c: Likewise.
49312 * math/w_fmod.c: Likewise.
49313 * math/w_fmodf.c: Likewise.
49314 * math/w_fmodl.c: Likewise.
49315 * math/w_remainder.c: Likewise.
49316 * math/w_remainderf.c: Likewise.
49317 * math/w_remainderl.c: Likewise.
49318 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49319 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49320 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49322 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49323 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49324 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49325 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49327 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49329 * stdio-common/printf_fphex.c: Likewise.
49330 * stdio-common/printf_size.c: Likewise.
49332 * math/e_exp10.c: Include math_private.h using <...> not "...".
49333 * math/e_exp10f.c: Likewise.
49334 * math/e_exp10l.c: Likewise.
49335 * math/e_exp2l.c: Likewise.
49336 * math/e_j0l.c: Likewise.
49337 * math/e_j1l.c: Likewise.
49338 * math/e_jnl.c: Likewise.
49339 * math/e_lgammal_r.c: Likewise.
49340 * math/e_rem_pio2l.c: Likewise.
49341 * math/e_scalb.c: Likewise.
49342 * math/e_scalbf.c: Likewise.
49343 * math/e_scalbl.c: Likewise.
49344 * math/k_cosl.c: Likewise.
49345 * math/k_sinl.c: Likewise.
49346 * math/k_tanl.c: Likewise.
49347 * math/s_cacoshf.c: Likewise.
49348 * math/s_catan.c: Likewise.
49349 * math/s_catanf.c: Likewise.
49350 * math/s_catanh.c: Likewise.
49351 * math/s_catanhf.c: Likewise.
49352 * math/s_catanhl.c: Likewise.
49353 * math/s_catanl.c: Likewise.
49354 * math/s_ccosh.c: Likewise.
49355 * math/s_ccoshf.c: Likewise.
49356 * math/s_ccoshl.c: Likewise.
49357 * math/s_cexp.c: Likewise.
49358 * math/s_cexpf.c: Likewise.
49359 * math/s_cexpl.c: Likewise.
49360 * math/s_clog.c: Likewise.
49361 * math/s_clog10.c: Likewise.
49362 * math/s_clog10f.c: Likewise.
49363 * math/s_clog10l.c: Likewise.
49364 * math/s_clogf.c: Likewise.
49365 * math/s_clogl.c: Likewise.
49366 * math/s_csin.c: Likewise.
49367 * math/s_csinf.c: Likewise.
49368 * math/s_csinh.c: Likewise.
49369 * math/s_csinhf.c: Likewise.
49370 * math/s_csinhl.c: Likewise.
49371 * math/s_csinl.c: Likewise.
49372 * math/s_csqrt.c: Likewise.
49373 * math/s_csqrtf.c: Likewise.
49374 * math/s_csqrtl.c: Likewise.
49375 * math/s_ctan.c: Likewise.
49376 * math/s_ctanf.c: Likewise.
49377 * math/s_ctanh.c: Likewise.
49378 * math/s_ctanhf.c: Likewise.
49379 * math/s_ctanhl.c: Likewise.
49380 * math/s_ctanl.c: Likewise.
49381 * math/s_ldexp.c: Likewise.
49382 * math/s_ldexpf.c: Likewise.
49383 * math/s_ldexpl.c: Likewise.
49384 * math/s_significand.c: Likewise.
49385 * math/s_significandf.c: Likewise.
49386 * math/s_significandl.c: Likewise.
49387 * math/w_acos.c: Likewise.
49388 * math/w_acosf.c: Likewise.
49389 * math/w_acosh.c: Likewise.
49390 * math/w_acoshf.c: Likewise.
49391 * math/w_acoshl.c: Likewise.
49392 * math/w_acosl.c: Likewise.
49393 * math/w_asin.c: Likewise.
49394 * math/w_asinf.c: Likewise.
49395 * math/w_asinl.c: Likewise.
49396 * math/w_atan2.c: Likewise.
49397 * math/w_atan2f.c: Likewise.
49398 * math/w_atan2l.c: Likewise.
49399 * math/w_atanh.c: Likewise.
49400 * math/w_atanhf.c: Likewise.
49401 * math/w_atanhl.c: Likewise.
49402 * math/w_cosh.c: Likewise.
49403 * math/w_coshf.c: Likewise.
49404 * math/w_coshl.c: Likewise.
49405 * math/w_dremf.c: Likewise.
49406 * math/w_exp10.c: Likewise.
49407 * math/w_exp10f.c: Likewise.
49408 * math/w_exp10l.c: Likewise.
49409 * math/w_exp2.c: Likewise.
49410 * math/w_exp2f.c: Likewise.
49411 * math/w_fmod.c: Likewise.
49412 * math/w_fmodf.c: Likewise.
49413 * math/w_fmodl.c: Likewise.
49414 * math/w_hypot.c: Likewise.
49415 * math/w_hypotf.c: Likewise.
49416 * math/w_hypotl.c: Likewise.
49417 * math/w_j0.c: Likewise.
49418 * math/w_j0f.c: Likewise.
49419 * math/w_j0l.c: Likewise.
49420 * math/w_j1.c: Likewise.
49421 * math/w_j1f.c: Likewise.
49422 * math/w_j1l.c: Likewise.
49423 * math/w_jn.c: Likewise.
49424 * math/w_jnf.c: Likewise.
49425 * math/w_jnl.c: Likewise.
49426 * math/w_lgamma.c: Likewise.
49427 * math/w_lgamma_r.c: Likewise.
49428 * math/w_lgammaf.c: Likewise.
49429 * math/w_lgammaf_r.c: Likewise.
49430 * math/w_lgammal.c: Likewise.
49431 * math/w_lgammal_r.c: Likewise.
49432 * math/w_log.c: Likewise.
49433 * math/w_log10.c: Likewise.
49434 * math/w_log10f.c: Likewise.
49435 * math/w_log10l.c: Likewise.
49436 * math/w_log2.c: Likewise.
49437 * math/w_log2f.c: Likewise.
49438 * math/w_log2l.c: Likewise.
49439 * math/w_logf.c: Likewise.
49440 * math/w_logl.c: Likewise.
49441 * math/w_pow.c: Likewise.
49442 * math/w_powf.c: Likewise.
49443 * math/w_powl.c: Likewise.
49444 * math/w_remainder.c: Likewise.
49445 * math/w_remainderf.c: Likewise.
49446 * math/w_remainderl.c: Likewise.
49447 * math/w_scalb.c: Likewise.
49448 * math/w_scalbf.c: Likewise.
49449 * math/w_scalbl.c: Likewise.
49450 * math/w_sinh.c: Likewise.
49451 * math/w_sinhf.c: Likewise.
49452 * math/w_sinhl.c: Likewise.
49453 * math/w_sqrt.c: Likewise.
49454 * math/w_sqrtf.c: Likewise.
49455 * math/w_sqrtl.c: Likewise.
49456 * math/w_tgamma.c: Likewise.
49457 * math/w_tgammaf.c: Likewise.
49458 * math/w_tgammal.c: Likewise.
49460 * po/ja.po: Update from translation team.
49462 2011-09-29 Andreas Jaeger <aj@suse.de>
49465 * sunrpc/netname.c (netname2host): Fix logic.
49469 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49471 * math/w_remainder.c (__remainder): Likewise.
49472 * math/w_remainderf.c (__remainderf): Likewise.
49473 * math/libm-test.inc (remainder_test): Add test cases.
49475 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49477 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49480 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49482 * string/test-memcmp.c: Avoid unncessary #defines.
49483 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49485 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49487 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49488 Use new sse2 version for core i3 - i7 as it's faster
49489 than sse42 version.
49490 (bit_Prefer_PMINUB_for_stringop): New.
49491 * sysdeps/x86_64/rawmemchr.S: Update.
49492 Replace with faster SSE2 version.
49493 * sysdeps/x86_64/memrchr.S: New file.
49494 * sysdeps/x86_64/memchr.S: Update.
49495 Replace with faster SSE2 version.
49497 2011-09-12 Marek Polacek <mpolacek@redhat.com>
49499 * elf/dl-load.c (lose): Add cast to avoid warning.
49501 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49503 * po/ca.po: Update from translation team.
49505 * inet/getnetgrent_r.c: Hook up nscd.
49506 * nscd/Makefile (routines): Add nscd_netgroup.
49507 (nscd-modules): Add netgroupcache.
49508 (CFLAGS-netgroupcache.c): Define.
49509 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49510 (cache_search): Add const to second parameter.
49511 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49513 (dbs): Add netgrdb entry.
49514 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49515 (verify_persistent_db): Handle netgrdb.
49516 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49517 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49519 (netgroup_response_header): Define.
49520 (innetgroup_response_header): Define.
49521 (datahead): Add netgroup_response_header and innetgroup_response_header
49523 * nscd/nscd.conf: Add entries for netgroup cache.
49524 * nscd/nscd.h (dbtype): Add netgrdb.
49525 (_PATH_NSCD_NETGROUP_DB): Define.
49526 (netgroup_iov_disabled): Declare.
49527 (xmalloc, xcalloc, xrealloc): Move declarations here.
49528 (cache_search): Adjust prototype.
49529 Add netgroup-related prototypes.
49530 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49531 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49532 (__nscd_innetgr): Declare.
49533 * nscd/selinux.c (perms): Use access_vector_t as element type and
49534 add netgroup-related initializers.
49535 * nscd/netgroupcache.c: New file.
49536 * nscd/nscd_netgroup.c: New file.
49537 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49538 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49539 For four parameters use innetgr.
49540 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49541 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49542 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49543 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49545 * nscd/connections.c (register_traced_file): Don't register file
49546 for disabled databases.
49548 2011-10-06 Ulrich Drepper <drepper@gmail.com>
49550 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49552 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49553 from tree and freeing node.
49555 2011-09-25 Jiri Olsa <jolsa@redhat.com>
49557 * nss/nsswitch.c (__nss_database_lookup): Handle
49558 nss_parse_service_list out of memory case.
49560 2011-09-15 Jiri Olsa <jolsa@redhat.com>
49562 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49563 out of memory case.
49565 2011-10-04 Andreas Schwab <schwab@redhat.com>
49567 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49568 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49570 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49571 elf_machine_rela, elf_machine_lazy_rel.
49572 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49573 (ELF_DYNAMIC_DO_REL): Likewise.
49574 (ELF_DYNAMIC_DO_RELA): Likewise.
49575 (ELF_DYNAMIC_RELOCATE): Likewise.
49576 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49577 to ELF_DYNAMIC_DO_REL.
49578 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49579 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49580 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49582 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49583 skip_ifunc, don't call ifunc function if non-zero.
49584 (elf_machine_rela): Likewise.
49585 (elf_machine_lazy_rel): Likewise.
49586 (elf_machine_lazy_rela): Likewise.
49587 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49588 (elf_machine_lazy_rel): Likewise.
49589 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49591 (elf_machine_lazy_rel): Likewise.
49592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49594 (elf_machine_lazy_rel): Likewise.
49595 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49596 (elf_machine_lazy_rel): Likewise.
49597 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49598 (elf_machine_lazy_rel): Likewise.
49599 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49600 (elf_machine_lazy_rel): Likewise.
49601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49602 (elf_machine_lazy_rel): Likewise.
49603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49604 (elf_machine_lazy_rel): Likewise.
49605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49606 (elf_machine_lazy_rel): Likewise.
49608 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49610 * nss/nss_files/files-init.c (_nss_files_init): Use static
49611 initialization for all the *_traced_file variables.
49613 2011-09-28 Andreas Schwab <schwab@redhat.com>
49615 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49617 2011-09-27 Roland McGrath <roland@hack.frob.com>
49620 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49622 2011-09-27 Andreas Schwab <schwab@redhat.com>
49624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49625 Reread the line before reparsing it.
49627 2011-09-26 Andreas Schwab <schwab@redhat.com>
49629 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49631 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49632 Maxim Kuvyrkov <maxim@codesourcery.com>
49633 Joseph Myers <joseph@codesourcery.com>
49635 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49636 if needed for __stack_chk_guard.
49638 2011-09-19 Roland McGrath <roland@hack.frob.com>
49640 * sysdeps/posix/spawni.c (script_execute): Always define it.
49641 It will be optimized away if unused.
49642 (maybe_script_execute): New function.
49643 (__spawni): Call it.
49645 * Makerules: Don't include tls.make.
49646 (config-tls): Always set to thread.
49647 * tls.make.c: File removed.
49649 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49651 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49652 * config.make.in (CPPFLAGS-config): New substituted variable.
49654 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49656 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49659 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49660 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49662 2011-09-15 Roland McGrath <roland@hack.frob.com>
49664 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49665 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49666 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49667 (CALL_FAIL): Likewise.
49668 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49669 (CALL_FAIL): Macro removed.
49670 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49672 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49674 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49675 for __FINITE_MATH_ONLY__ == 1.
49677 2011-09-15 Andreas Schwab <schwab@redhat.com>
49679 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49680 __ieee754_sqrt instead of sqrt.
49681 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49682 __ieee754_sqrtf instead of sqrtf.
49683 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49684 __floorf instead of floorf.
49685 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49686 __floorf, __truncf instead of floorf, truncf.
49688 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49690 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49692 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49693 __extern_always_inline.
49694 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49697 2011-09-14 Andreas Schwab <schwab@redhat.com>
49699 * elf/rtld.c (dl_main): Also relocate in dependency order when
49700 doing symbol dependency testing.
49702 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49705 Always define `refsym'.
49707 2011-09-13 Andreas Schwab <schwab@redhat.com>
49709 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49710 (__FD_ELT): Renamed from __FDELT.
49711 * misc/bits/select2.h (__FD_ELT): Likewise.
49712 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49713 __FD_MASK instead of __FDELT, __FDMASK.
49714 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49716 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49719 * elf/Makefile (gen-ldd): Fix pattern.
49721 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49722 (init_tls): Likewise.
49724 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49728 2011-09-12 Andreas Schwab <schwab@redhat.com>
49730 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49731 `struct cmsghdr *' instead of `void *'.
49732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49735 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49737 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49739 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49740 ldd_rewrite_script.
49742 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49744 * configure.in: Remove --with-tls option.
49745 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49746 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49747 out in case it is missing.
49748 * sysdeps/ia64/elf/configure.in: Likewise.
49749 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49750 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49751 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49752 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49753 * sysdeps/sh/elf/configure.in: Likewise.
49754 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49756 * sysdeps/x86_64/elf/configure.in: Likewise.
49757 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49758 * sysdeps/mach/hurd/tls.h: Likewise.
49761 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49764 * configure.in: Fix use of AC_INIT.
49766 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49768 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49770 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49772 * malloc/hooks.c: Likewise.
49775 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49776 variables statically.
49777 (narenas): Initialize.
49778 (list_lock): Initialize.
49779 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49780 initializtion of main_arena and list_lock. Small cleanups.
49781 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49782 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49783 Add initializers to main_arena and mp_.
49784 (malloc_state): Remove pagesize member. Change all users to use
49787 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49788 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49789 is always initialized.
49791 * malloc/malloc.c: Removed unused configurations and dead code.
49792 * malloc/arena.c: Likewise.
49793 * malloc/hooks.c: Likewise.
49794 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49796 * include/tls.h: Removed. USE___THREAD must always be defined.
49797 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49798 * elf/dl-libc.c: Likewise.
49799 * elf/dl-tsd.c: Likewise.
49800 * include/errno.h: Likewise.
49801 * include/netdb.h: Likewise.
49802 * include/resolv.h: Likewise.
49803 * inet/herrno-loc.c: Likewise.
49804 * inet/herrno.c: Likewise.
49805 * malloc/arena.c: Likewise.
49806 * malloc/hooks.c: Likewise.
49807 * malloc/malloc.c: Likewise.
49808 * resolv/res-state.c: Likewise.
49809 * resolv/res_libc.c: Likewise.
49810 * sysdeps/i386/dl-machine.h: Likewise.
49811 * sysdeps/ia64/dl-machine.h: Likewise.
49812 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49813 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49814 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49815 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49816 * sysdeps/sh/dl-machine.h: Likewise.
49817 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49818 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49819 * sysdeps/unix/i386/sysdep.S: Likewise.
49820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49821 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49826 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49830 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49831 * sysdeps/x86_64/dl-machine.h: Likewise.
49832 * tls.make.c: Likewise.
49834 * configure.in: Remove --with-__thread option. Make tests for
49835 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49836 tls_model attribute fail if no support is available. Remove
49838 * Makeconfig: Adjust for dropped configure option. All features are
49840 * Makerules: Likewise.
49841 * Versions.def: Likewise.
49842 * argp/argp-fmtstream.c: Likewise.
49843 * argp/argp-fmtstream.h: Likewise.
49844 * argp/argp-help.c: Likewise.
49845 * assert/assert.c: Likewise.
49846 * config.h.in: Likewise.
49847 * config.make.in: Likewise.
49848 * configure: Likewise.
49849 * configure.in: Likewise.
49850 * csu/Versions: Likewise.
49851 * csu/init.c: Likewise.
49852 * elf/tst-audit2.c: Likewise.
49853 * elf/tst-tls10.c: Likewise.
49854 * elf/tst-tls10.h: Likewise.
49855 * elf/tst-tls11.c: Likewise.
49856 * elf/tst-tls12.c: Likewise.
49857 * elf/tst-tls14.c: Likewise.
49858 * elf/tst-tlsmod11.c: Likewise.
49859 * elf/tst-tlsmod12.c: Likewise.
49860 * elf/tst-tlsmod13.c: Likewise.
49861 * elf/tst-tlsmod13a.c: Likewise.
49862 * elf/tst-tlsmod14a.c: Likewise.
49863 * elf/tst-tlsmod15b.c: Likewise.
49864 * elf/tst-tlsmod16a.c: Likewise.
49865 * elf/tst-tlsmod16b.c: Likewise.
49866 * elf/tst-tlsmod7.c: Likewise.
49867 * elf/tst-tlsmod8.c: Likewise.
49868 * elf/tst-tlsmod9.c: Likewise.
49869 * gmon/gmon.c: Likewise.
49870 * grp/fgetgrent_r.c: Likewise.
49871 * grp/putgrent.c: Likewise.
49872 * hurd/fopenport.c: Likewise.
49873 * include/libc-symbols.h: Likewise.
49874 * include/tls.h: Likewise.
49875 * intl/gettextP.h: Likewise.
49876 * intl/loadinfo.h: Likewise.
49877 * locale/global-locale.c: Likewise.
49878 * locale/localeinfo.h: Likewise.
49879 * mach/devstream.c: Likewise.
49880 * malloc/arena.c: Likewise.
49881 * malloc/set-freeres.c: Likewise.
49882 * misc/err.c: Likewise.
49883 * misc/getttyent.c: Likewise.
49884 * misc/mntent_r.c: Likewise.
49885 * posix/getopt.c: Likewise.
49886 * posix/wordexp.c: Likewise.
49887 * pwd/fgetpwent_r.c: Likewise.
49888 * resolv/Versions: Likewise.
49889 * resolv/res_hconf.c: Likewise.
49890 * shadow/fgetspent_r.c: Likewise.
49891 * shadow/putspent.c: Likewise.
49892 * stdio-common/printf_fphex.c: Likewise.
49893 * stdio-common/tmpfile.c: Likewise.
49894 * stdlib/abort.c: Likewise.
49895 * stdlib/fmtmsg.c: Likewise.
49896 * sunrpc/auth_unix.c: Likewise.
49897 * sunrpc/clnt_perr.c: Likewise.
49898 * sunrpc/clnt_tcp.c: Likewise.
49899 * sunrpc/clnt_udp.c: Likewise.
49900 * sunrpc/clnt_unix.c: Likewise.
49901 * sunrpc/openchild.c: Likewise.
49902 * sunrpc/svc_simple.c: Likewise.
49903 * sunrpc/svc_tcp.c: Likewise.
49904 * sunrpc/svc_udp.c: Likewise.
49905 * sunrpc/svc_unix.c: Likewise.
49906 * sunrpc/xdr.c: Likewise.
49907 * sunrpc/xdr_array.c: Likewise.
49908 * sunrpc/xdr_rec.c: Likewise.
49909 * sunrpc/xdr_ref.c: Likewise.
49910 * sunrpc/xdr_stdio.c: Likewise.
49912 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49914 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49916 2011-07-03 Andreas Jaeger <aj@suse.de>
49918 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49919 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49920 regenerate with gen-libm-tests.pl.
49922 2010-05-12 Petr Baudis <pasky@suse.cz>
49925 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49926 around j0() zero points by switching to j1().
49927 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49928 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49930 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49932 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49934 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49936 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49939 Patch in part by Pavel Roskin <proski@gnu.org>.
49942 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49944 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49945 Free memory block if necessary.
49948 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49949 be NULL. Don't lock in this case.
49951 2011-09-09 Roland McGrath <roland@hack.frob.com>
49953 * elf/elf.h (ELFOSABI_GNU): New macro.
49954 (ELFOSABI_LINUX): Define to that.
49956 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49958 * string/strncat.c (strncat): Undef the symbol in case it has been
49959 defined in bits/string.h.
49961 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49963 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49965 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49968 2011-08-17 Andreas Jaeger <aj@suse.de>
49970 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49972 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49973 Ian Lance Taylor <iant@google.com>
49975 * math/libm-test.inc (lround_test): New testcase.
49976 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49978 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49980 * Makefile: Remove support for automatic cvs check-ins.
49981 * Makerules: Likewise.
49982 * config.make.in: Likewise.
49983 * configure.in: Likewise.
49984 * intl/Makefile: Likewise.
49985 * locale/Makefile: Likewise.
49986 * po/Makefile: Likewise.
49987 * posix/Makefile: Likewise.
49988 * sysdeps/gnu/Makefile: Likewise.
49989 * sysdeps/mach/hurd/Makefile: Likewise.
49990 * sysdeps/sparc/sparc32/Makefile: Likewise.
49993 * posix/Makefile (bug-regex32-ENV): Define.
49994 Patch by John Stanley <jpsinthemix@verizon.net>.
49996 * misc/Makefile (headers): Add bits/select2.h.
49997 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49998 * misc/bits/select2.h: New file.
49999 * include/bits/select2.h: New file.
50000 * debug/Makefile (routines): Add fdelt_chk.
50001 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50002 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50004 * debug/fdelt_chk.c: New file.
50006 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50007 * wcsmbs/test-wmemcmp.c: Likewise.
50008 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50009 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50011 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50013 * string/Makefile (strop-tests): Add memcmp.
50014 * string/test-wmemcmp.c: New file.
50015 * string/test-memcmp.c: Add wmemcmp support.
50017 2011-09-08 Roland McGrath <roland@hack.frob.com>
50020 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50023 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50024 garbage value in a __mach_port_mod_refs call in the cases of the
50025 task-self and thread-self ports.
50027 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50029 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50031 2011-09-08 Andreas Schwab <schwab@redhat.com>
50033 * elf/dl-load.c (lose): Check for non-null L.
50035 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50037 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50039 * elf/dl-libc.c (dlerror_run): Pass back error code from
50043 * elf/dl-load.c (lose): Free l_origin if it is valid.
50045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50047 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50048 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50049 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50050 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50051 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50052 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50054 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50056 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50057 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50058 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50059 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50060 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50061 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50062 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50063 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50064 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50065 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50067 2011-08-15 Alan Modra <amodra@gmail.com>
50070 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50071 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50072 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50073 ppc_mcount to static-only-routines.
50074 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50076 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50077 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50079 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50081 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50082 for finite and infinity parameters.
50084 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50086 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50087 and add nop instructions for throughput optimization.
50088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50090 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50093 aligned copy for power7 with vector-scalar instructions.
50094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50096 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50101 2011-09-07 Andreas Schwab <schwab@redhat.com>
50104 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50107 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50109 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50110 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50111 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50112 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50115 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50117 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50118 Forgot to demangle the pointer.
50120 * sysdeps/i386/sysdep.h: Define atom_text_section.
50121 * sysdeps/x86_64/sysdep.h: Likewise.
50122 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50123 section with atom_text_section.
50124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50126 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50128 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50130 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50131 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50132 already be defined. Change to take two parameters and don't assign
50133 result to variable. Adjust all users.
50134 Define INTERNAL_GETTIME if not already defined.
50135 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50138 HAVE_CLOCK_GETTIME_VSYSCALL.
50139 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50142 gettimeofday vsyscall, just use time.
50144 2011-09-06 Andreas Schwab <schwab@redhat.com>
50146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50149 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50151 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50155 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50156 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50157 syscall if possible.
50159 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50161 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50162 e_ident. Don't pass to find_mapsXX.
50163 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50165 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50168 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50169 * sysdeps/x86_64/multiarch/strchr.S: Update.
50170 Check bit_slow_BSF bit.
50171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50172 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50173 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50175 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50178 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50180 (tryshell): Define.
50181 (__spawni): Change last parameter to be flag. Test
50182 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50183 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50184 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50185 * posix/spawni.c: Likewise.
50186 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50187 * posix/spawnp.c: Likewise. Change normal version to use
50188 SPAWN_XFLAGS_USE_PATH.
50189 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50190 SPAWN_XFLAGS_TRY_SHELL.
50193 * posix/glob.h: Remove gcc 1.x support.
50196 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50198 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50201 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50203 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50204 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50205 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50206 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50207 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50210 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50212 * sysdeps/x86_64/wcscmp.S: New file.
50214 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50215 wcscmp-c wcscmp-sse2
50216 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50217 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50218 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50219 * wcsmbs/wcscmp.c: Allow renaming.
50221 2011-09-05 David S. Miller <davem@davemloft.net>
50223 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50224 stack slot, rather than the struct return pointer slot.
50225 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50226 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50228 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50230 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50232 * po/ja.po: Update from translation team.
50235 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50236 kernel in 64-bit binaries.
50238 2011-09-01 David S. Miller <davem@davemloft.net>
50240 * elf/elf.h (HWCAP_SPARC_*): Move to..
50241 * sysdeps/sparc/sysdep.h: this new file and add new values.
50242 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50243 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50244 _DL_HWCAP_COUNT to 24.
50245 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50247 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50248 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50249 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50251 instead of magic constants.
50252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50254 2011-08-31 David S. Miller <davem@davemloft.net>
50256 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50258 Reimplement to do errno handling inline.
50259 (SYSCALL_ERROR_HANDLER): New macro.
50260 (__SYSCALL_STRING): Do not do errno handling in asm.
50261 (__CLONE_SYSCALL_STRING): Delete.
50262 (__INTERNAL_SYSCALL_STRING): Delete.
50263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50264 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50265 (PSEUDO): Reimplement to do errno handling inline.
50266 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50267 (SYSCALL_ERROR_HANDLER): New macro.
50268 (__SYSCALL_STRING): Do not do errno handling in asm.
50269 (__CLONE_SYSCALL_STRING): Delete.
50270 (__INTERNAL_SYSCALL_STRING): Delete.
50271 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50272 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50274 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50275 (inline_syscall*): Add 'err' argument.
50276 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50277 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50278 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50279 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50281 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50282 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50284 2011-08-30 Andreas Schwab <schwab@redhat.com>
50286 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50288 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50290 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50293 2011-08-24 David S. Miller <davem@davemloft.net>
50295 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50297 2011-08-24 Andreas Schwab <schwab@redhat.com>
50299 * elf/Makefile: Add rules to build and run unload8 test.
50300 * elf/unload8.c: New file.
50301 * elf/unload8mod1.c: New file.
50302 * elf/unload8mod1x.c: New file.
50303 * elf/unload8mod2.c: New file.
50304 * elf/unload8mod3.c: New file.
50306 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50309 2011-08-23 David S. Miller <davem@davemloft.net>
50311 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50312 subtract stack bias.
50313 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50314 %sp not %fp in calculations.
50315 (_JMPBUF_UNWINDS_ADJ): Likewise.
50317 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50318 (aio_suspend): Call it to force an exception region around the
50319 AIO_MISC_WAIT() invocation.
50321 2011-08-23 Andreas Schwab <schwab@redhat.com>
50323 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50326 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50328 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50330 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50331 and <dl-machine.h>.
50332 (Elf64_FuncDesc): Remove.
50334 2011-08-22 David S. Miller <davem@davemloft.net>
50336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50337 sigaltstack check, add missing cfi directives.
50338 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50339 missing cfi directives, and sigaltstack handling.
50341 2011-08-16 Andreas Schwab <schwab@redhat.com>
50344 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50345 object is seen twice.
50346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50348 * elf/Makefile (distribute): Add tst-initorder2.c.
50349 (tests): Add tst-initorder2.
50350 (modules-names): Add tst-initorder2a tst-initorder2b
50351 tst-initorder2c tst-initorder2d. Add rules to build them.
50352 ($(objpfx)tst-initorder2.out): New rule.
50353 * elf/tst-initorder2.c: New file.
50354 * elf/tst-initorder2.exp: New file.
50356 2011-08-22 Andreas Schwab <schwab@redhat.com>
50358 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50360 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50361 dependencies back to end of function.
50363 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50364 $(elfobjdir)/ld.so.
50366 2011-08-21 Ulrich Drepper <drepper@gmail.com>
50368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50369 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50371 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50372 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50373 of __vdso_gettimeofday.
50374 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50375 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50377 (_libc_vdso_platform_setup): Remove initialization of
50378 __vdso_gettimeofday and __vdso_time.
50380 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50382 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50383 and fgetc_unlocked.
50384 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50387 * elf/dl-open.c (add_to_global): Report additions to the global scope
50388 for LD_DEBUG=scopes.
50389 (dl_open_worker): Also print scope of newly loaded dependencies.
50390 (_dl_show_scope): Indicate if there is no scope.
50393 * stdio-common/Makefile (tests): Add bug24.
50394 * stdio-common/bug24.c: New file.
50396 2011-08-19 Andreas Jaeger <aj@suse.de>
50399 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50400 non-existant file when using close-on-exec mode.
50402 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50405 the very first instruction.
50407 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50408 the CFI state in the end.
50409 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50410 inclusion of dl-trampoline.h.
50411 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50413 2011-08-19 Andreas Schwab <schwab@redhat.com>
50415 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50416 expectations for long double.
50418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50419 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50421 2011-08-14 David S. Miller <davem@davemloft.net>
50423 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50424 artificual limit depends upon the system page size.
50426 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50428 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50429 * resolv/Makefile: Define CFLAGS-libresolv.
50431 2011-08-17 Andreas Schwab <schwab@redhat.com>
50433 * nss/makedb.c (compute_tables): Make variables used in nested
50436 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50438 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50439 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50440 if buffer was too small.
50442 * elf/pldd.c (main): Attach to all threads in the process.
50443 Rewrite /proc handling to use *at functions.
50445 2011-08-16 Ulrich Drepper <drepper@gmail.com>
50447 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50448 specifies first scope to show.
50449 (dl_open_worker): Update callers. Move printing scope of new
50450 object to before the relocation.
50451 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50452 * sysdeps/generic/ldsodefs.h: Update declaration.
50454 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50455 string for the scope number.
50457 2011-08-14 Ulrich Drepper <drepper@gmail.com>
50459 * nscd/servicescache.c (cache_addserv): Make sure written is always
50462 2011-08-14 Roland McGrath <roland@hack.frob.com>
50464 * sysdeps/i386/i486/bits/atomic.h
50465 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50466 statement expression, so as to suppress "set but not used" warning.
50467 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50469 * string/strncat.c (STRNCAT): Use prototype definition.
50471 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50472 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50474 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50475 (localedef-modules): Add localedef.
50476 (locale-modules): Add locale.
50478 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50479 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50480 to avoid a warning.
50482 2011-08-14 David S. Miller <davem@davemloft.net>
50484 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50485 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50487 2011-08-13 Ulrich Drepper <drepper@gmail.com>
50489 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50490 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50491 * elf/rtld.c (dl_main): Set l_name of vDSO.
50492 Call _dl_show_scope when DL_DEBUG_SCOPES.
50493 (process_dl_debug): Recognize scopes flag and also set it for all.
50494 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50495 Declare _dl_show_scope.
50497 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50498 (do_dlopen): Pass caller_dlopen to dl_open.
50499 (__libc_dlopen_mode): Initialize caller_dlopen.
50501 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50502 of libc. Make tolower call locale-independent. Optimize a bit by
50503 using isdigit instead of isalnum.
50504 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50506 2011-08-12 Ulrich Drepper <drepper@gmail.com>
50508 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50509 was a dependency or dynamically loaded.
50511 2011-08-11 Ulrich Drepper <drepper@gmail.com>
50513 * intl/l10nflist.c: Allow architecture-specific pop function.
50514 * sysdeps/x86_64/l10nflist.c: New file.
50516 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50519 2011-08-10 Andreas Schwab <schwab@redhat.com>
50521 * include/dirent.h: Add libc_hidden_proto for scandirat and
50522 scandirat64. Don't declare __scandirat64.
50523 * dirent/scandirat.c: Add libc_hidden_def.
50524 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50525 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50527 2011-08-10 David S. Miller <davem@davemloft.net>
50529 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50531 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50535 2011-08-09 Ulrich Drepper <drepper@gmail.com>
50537 * Versions.def [libc]: Add GLIBC_2.15.
50538 * dirent/Makefile (routines): Add scandirat and scandirat64.
50539 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50541 * dirent/dirent.h: Declare scandirat and scandirat64.
50542 * dirent/scandirat.c: New file.
50543 * dirent/scandirat64.c: New file.
50544 * sysdeps/wordsize-64/scandirat.c: New file.
50545 * sysdeps/wordsize-64/scandirat64.c: New file.
50546 * dirent/opendir.c: Define opendirat.
50547 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50549 * dirent/scandir64.c: Adjust for scandir.c change.
50550 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50551 __scandirat64, and __scandir_cancel_handler.
50552 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50553 additional parameter and use openat instead of open (outside of ld.so).
50554 Add new __opendir as wrapper around __opendirat.
50555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50556 here without requiring old scandirat implementation.
50558 2011-08-08 Ulrich Drepper <drepper@gmail.com>
50560 * dirent/scandir.c (cancel_handler): Renamed to
50561 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50562 defined. Adjust users.
50563 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50564 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50566 2011-08-04 Ulrich Drepper <drepper@gmail.com>
50568 * string/test-string.h (IMPL): Use __STRING to expand name and then
50571 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50574 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50576 * string/Makefile: Update.
50577 (strop-tests): Append strncat.
50578 * string/test-wcscmp.c: New file.
50579 New comprehensive test for wcscmp.
50580 * string/test-strcmp.c: Update.
50581 (WIDE): New define.
50583 2011-07-22 Andreas Schwab <schwab@redhat.com>
50585 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50588 2011-07-26 Andreas Schwab <schwab@redhat.com>
50590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50591 encoding to ACE if AI_IDN.
50593 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50596 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50598 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50601 Fix overflow bug in strncat.
50602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50604 * string/test-strncat.c: Update.
50605 Add new tests for checking overflow bugs.
50607 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50610 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50611 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50612 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50614 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50615 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50616 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50617 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50620 (USE_AS_STRCAT): Define.
50621 Add strcat and strncat support.
50622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50624 2011-07-25 Andreas Schwab <schwab@redhat.com>
50626 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50627 __n bigger than INT_MAX+1.
50628 (__strncmp_g): Likewise.
50630 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50632 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50633 * libio/stido.h: Likewise.
50635 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50640 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50641 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50642 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50643 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50644 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50647 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50652 (_dl_x86_64_save_sse): Likewise.
50654 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50658 (_dl_x86_64_save_sse): Likewise.
50660 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50662 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50664 2011-07-21 Andreas Schwab <schwab@redhat.com>
50666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50668 (_dl_x86_64_save_sse): Use correct AVX check.
50670 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50673 bug in strncpy/strncat.
50674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50676 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50678 * string/tester.c (test_strcat): Add tests for different alignments
50679 of source and destination.
50680 (test_strncat): Likewise.
50682 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50685 * posix/glob.c (glob): Check passed in values before using them in
50686 expressions to avoid some overflows.
50687 (glob_in_dir): Likewise.
50690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50691 check for AVX enablement so that we don't crash with old kernels and
50693 * elf/tst-audit4.c: Add same checks here.
50694 * elf/tst-audit6.c: Likewise.
50696 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50698 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50700 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50702 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50704 * po/cs.po: Update from translation team.
50705 * po/bg.po: Likewise.
50707 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50709 * misc/sys/cdefs.h: Add support for const attribute.
50710 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50711 to gnu_dev_{major,minor,makedev} functions.
50713 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50715 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50717 2011-07-20 Andreas Schwab <schwab@redhat.com>
50719 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50722 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50725 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50726 register in order to avoid conflicts with the soft frame pointer
50727 being held in r11 when necessary.
50728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50729 (INTERNAL_VSYSCALL_NCS): Likewise.
50731 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50733 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50734 * elf/dl-fini.c (_dl_fini): Adjust caller.
50735 * elf/dl-close.c (_dl_close_worker): Likewise.
50736 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50738 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50740 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50741 "aux_cache->nlibs < 0".
50743 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50744 in the reload-count case.
50746 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50749 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50750 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50751 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50752 * sysdeps/x86_64/multiarch/strcat.S: New file.
50753 * sysdeps/x86_64/multiarch/strncat.S: New file.
50754 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50755 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50756 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50757 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50758 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50759 (USE_AS_STRCAT): Define.
50760 Add strcat and strncat support.
50761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50763 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50764 * string/strncat.c: Update.
50765 (USE_AS_STRNCAT): Define.
50766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50767 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50769 * sysdeps/x86_64/multiarch/init-arch.h
50770 (bit_Prefer_PMINUB_for_stringop): New.
50771 (index_Prefer_PMINUB_for_stringop): Likewise.
50772 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50773 bit_Prefer_PMINUB_for_stringop.
50775 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50777 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50779 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50780 of casting of buffer.
50781 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50782 buffer32 and buffer64.
50783 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50784 writes instead of casting of buffer.
50785 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50787 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50790 2011-07-19 Andreas Schwab <schwab@redhat.com>
50792 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50794 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50796 * nscd/nscd.c (termination_handler): Don't do anything for a database
50797 if it has not yet been initialized.
50799 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50801 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50803 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50805 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50807 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50809 * po/nl.po: Update from translation team.
50810 * po/sv.po: Likewise.
50812 2011-07-16 Roland McGrath <roland@hack.frob.com>
50814 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50815 now disallowed by GCC.
50817 * configure.in (use-default-link): Default to yes if a test -shared
50818 link meets our qualifications.
50819 * configure: Regenerated.
50821 * config.make.in (output-format): New variable.
50822 * configure.in: Check for ld --print-output-format support.
50823 * configure: Regenerated.
50824 * Makerules ($(common-objpfx)format.lds)
50825 [$(output-format) != unknown]: Just use $(output-format),
50826 instead of the linker-script munging.
50828 2011-07-14 Roland McGrath <roland@hack.frob.com>
50830 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50831 of $(common-objpfx)shlib.lds.
50832 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50834 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50835 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50837 * configure.in (-z relro check): Adjust test code to add a large
50838 writable data section after it.
50839 * configure: Regenerated.
50841 2011-07-11 Roland McGrath <roland@hack.frob.com>
50843 * configure.in (-z relro check): Fix test code to make the variable
50845 * configure: Regenerated.
50847 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50849 * nscd/nscd.h (struct traced_file): Define.
50850 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50851 elements. Add traced_files.
50852 (inotify_fd): Declare.
50853 (register_traced_file): Declare.
50854 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50855 (inotify_fd): Export.
50856 (resolv_conf_descr): Remove.
50857 (nscd_init): Move inotify descriptor creation to main.
50858 Don't register files for notification here.
50859 (register_traced_file): New function.
50860 (invalidate_cache): Don't use reset_res to determine whether to call
50861 res_init, go through the list of registered files.
50862 (main_loop_poll): The inotify descriptors are now stored in the
50863 structures for the traced files.
50864 (main_loop_epoll): Likewise
50865 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50866 to __nss_disable_nscd.
50867 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50868 for a database anymore. Check the records for all the registered
50870 * nss/Makefile (libnss_files-routines): Add files-init.
50871 (libnss_db-routines): Add db-init.
50872 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50873 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50874 * nss/nss_db/db-init.c: New file.
50875 * nss/nss_files/files-init.c: New file.
50876 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50877 __nss_lookup_function.
50878 (__nss_lookup_function): Call nss_load_library.
50879 (nss_load_all_libraries): New function.
50880 (__nss_disable_nscd): Take parameter with callback function for files
50881 to register. Set is_nscd. Load all the DSOs for the NSS modules
50882 used for the cached services.
50883 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50884 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50885 options for features to all the files in nscd.
50887 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50889 2011-07-10 Roland McGrath <roland@hack.frob.com>
50891 * csu/elf-init.c (__libc_csu_init): Comment typo.
50893 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50895 * po/pl.po: Update from translation team.
50896 * po/ja.po: Likewise.
50897 * po/ru.po: Likewise.
50898 * po/ko.po: Likewise.
50899 * po/fr.po: Likewise.
50901 2011-07-09 Roland McGrath <roland@hack.frob.com>
50903 * configure.in (.ctors/.dtors header and trailer check):
50904 Use an empirical test on a built program.
50905 * configure: Regenerated.
50907 * configure.in (-z relro check): Use an empirical test on a built DSO.
50908 Detect, but do not require, on ia64.
50909 * configure: Regenerated.
50911 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50912 Update tests that use readelf to use $READELF instead.
50913 * configure: Regenerated.
50915 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50917 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50918 if the result is not used.
50920 2011-07-05 Andreas Jaeger <aj@suse.de>
50923 * stdlib/tst-strtod.c: Add testcase.
50925 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50927 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50928 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50929 The latter has a higher limit. Take additional parameter to pass to
50931 (__pathconf): Pass file to __statfs_link_max.
50932 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50934 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50938 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50939 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50942 (__statfs_filesize_max): Likewise.
50943 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50945 2011-07-05 Andreas Jaeger <aj@suse.de>
50947 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50949 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50951 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50953 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50956 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50958 * Makefile (strop-tests): Add strncat.
50959 * string/test-strncat.c: New file.
50961 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50963 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50965 2011-06-21 Andreas Jaeger <aj@suse.de>
50967 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50968 Copy rule from iconvdata/Makefile.
50970 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50973 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50974 but no long options are defined, just return 'W'.
50976 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50979 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50981 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50983 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50985 (innetgr): Likewise.
50987 2011-07-05 Roland McGrath <roland@hack.frob.com>
50989 * config.make.in (install_root): Default to $(DESTDIR).
50991 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50993 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50995 2011-07-02 Roland McGrath <roland@hack.frob.com>
50997 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50999 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51000 containing directory rather than embedding absolute directory names.
51002 * scripts/check-local-headers.sh: Rewritten using awk.
51003 Match by word, not by line. Print error messages for matches.
51004 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51006 * Makerules [shlib-lds-flags empty]:
51007 ($(common-objpfx)libc_pic.opts): New target.
51008 ($(common-objpfx)libc_pic.os.clean): New target.
51009 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51011 * config.make.in (OBJCOPY): New variable.
51012 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51013 * configure: Regenerated.
51015 * config.make.in (use-default-link): New variable.
51016 * configure.in (use_default_link): Grok --with-default-link to set it.
51017 * configure: Regenerated.
51018 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51019 (shlib-lds, shlib-lds-flags): Define to empty.
51021 * Makerules (shlib-lds): New variable.
51022 (shlib-lds-flags): New variable.
51023 (build-shlib, build-moduile, build-module-asneeded): Use it.
51024 ($(common-objpfx)libc.so): Use $(shlib-lds).
51025 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51026 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51028 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51029 DT_FLAGS/DT_FLAGS_1 with zero flags.
51031 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51032 linker script munging.
51034 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51036 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51038 * crypt/sha512.c (sha512_process_block): Perform total addition using
51039 128-bit if possible.
51040 (__sha512_finish_ctx): Likewise.
51041 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51043 * crypt/sha256.c (SWAP64): Define.
51044 (sha256_process_block): Perform total addition using 64-bit if
51046 (__sha256_finish_ctx): Likewise.
51048 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51050 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51052 * nscd/hstcache.c (cache_addhst): Likewise.
51053 * nscd/grpcache.c (cache_addgr): Likewise.
51054 * nscd/aicache.c (addhstaiX): Likewise
51055 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51057 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51059 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51061 * nscd/hstcache.c (cache_addhst): Likewise.
51062 * nscd/grpcache.c (cache_addgr): Likewise.
51063 * nscd/aicache.c (addhstaiX): Likewise
51065 2011-07-01 Andreas Schwab <schwab@redhat.com>
51067 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51068 domain only when needed.
51070 2011-06-30 Andreas Schwab <schwab@redhat.com>
51072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51073 is always restored.
51075 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51077 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51078 are re-adding the entry.
51079 * nscd/servicescache.c (cache_addserv): Likewise.
51081 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51083 * sysdeps/generic/dl-irel.h: fix protection against multiple
51085 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51087 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51090 * malloc/memusage.sh: Fix quoting in message.
51091 * debug/xtrace.sh: Likewise.
51093 * configure.in: Remove support for --experimental-malloc option, make
51095 * config.make.in: Likewise.
51096 * malloc/Makefile: Likewise.
51098 2011-06-27 Andreas Schwab <schwab@redhat.com>
51100 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51101 two-byte characters.
51103 2011-06-27 Roland McGrath <roland@hack.frob.com>
51105 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51106 AC_CACHE_CHECK invocation.
51107 * configure: Regenerated.
51109 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51111 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51114 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51115 bit from old_res_options.
51117 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51119 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51120 value type for setfct.
51122 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51125 __gettimeofday instead of gettimeofday.
51127 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51129 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51131 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51133 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51138 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51141 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51142 strcpy-sse2-unaligned strncpy-sse2-unaligned
51143 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51144 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51145 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51146 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51147 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51149 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51150 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51151 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51152 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51153 (STRCPY): Support SSE2 and SSSE3 versions.
51155 2011-06-24 Ulrich Drepper <drepper@gmail.com>
51158 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51159 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51160 kernels which artificially limit size of requests.
51162 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51165 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51166 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51167 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51168 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51169 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51170 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51171 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51174 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51175 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51176 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51177 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51178 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51180 Enable unaligned load optimization for Intel Core i3, i5 and i7
51182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51184 (index_Fast_Unaligned_Load): Define.
51185 (HAS_FAST_UNALIGNED_LOAD): Define.
51187 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51189 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51191 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51194 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51195 until it is clear that the information is realy needed.
51196 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51198 2011-06-22 Andreas Schwab <schwab@redhat.com>
51200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51202 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51205 /sys/devices/system/cpu/online if it is usable.
51207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51208 reading the information from the /proc filesystem to once a second.
51210 2011-06-21 Andreas Jaeger <aj@suse.de>
51212 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51213 NULL after inclusion of kernel headers.
51215 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51217 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51218 calls to internal_setent.
51221 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51222 addresses using gethostbyname4_r ignore IPv4 addresses.
51224 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51225 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51227 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51229 2011-06-20 David S. Miller <davem@davemloft.net>
51231 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51233 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51235 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51236 (elf_irel): Use it.
51237 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51238 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51239 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51240 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51241 * sysdeps/x86_64/dl-irel.h: Likewise.
51243 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51244 * elf/dl-sym.c: Likewise.
51246 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51248 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51249 need to dereference resplen2.
51251 2011-06-14 Andreas Schwab <schwab@redhat.com>
51253 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51255 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51257 * Makeconfig: Define vardbdir and inst_vardbdir.
51258 * nss/Makefile: Add rules to install db-Makefile.
51260 * nss/nss_db/db-XXX.c: Cleanup.
51262 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51263 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51265 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51266 * nss/makedb.c: Implement -g option to specify that value strings
51267 are generated and should not be added to table iterated over for
51269 * nss/nss_db/db-initgroups.c: New file.
51271 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51274 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51275 (internal_getgrouplist): Adjust to name change.
51276 Update use_initgroups_entry if this is not the first call.
51277 * nss/databases.def: Add initgroups entry.
51279 * nss/makedb.c (compute_tables): Check result of multiple hash table
51280 sizes to minimize maximum chain length.
51282 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51284 * Versions.def: Add entry for libnss_db.
51285 * shlib-versions: Likewise.
51286 * nss/Makefile: Add rules to build libnss_db.
51287 * nss/Versions: Add libnss_db information. Organize libnss_files
51289 * nss/db-Makefile: Add gshadow support. Change rules for the new
51290 makedb progra. Some minor improvements to generate smaller files.
51291 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51293 * nss/makedb.c: ...here.
51294 Improve database format to be smaller and require less memory at
51296 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51298 * nss/nss_db/db-netgrp.c: Likewise.
51299 * nss/nss_db/db-open.c: Likewise.
51300 * nss/nss_files/flies-XXX.x: Adjust comments.
51301 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51302 * nss/nss_files/files-grp.c: Likewise.
51303 * nss/nss_files/files-hosts.c: Likewise.
51304 * nss/nss_files/files-network.c: Likewise.
51305 * nss/nss_files/files-proto.c: Likewise.
51306 * nss/nss_files/files-pwd.c: Likewise.
51307 * nss/nss_files/files-rpc.c: Likewise.
51308 * nss/nss_files/files-service.c: Likewise.
51309 * nss/nss_files/files-sgrp.c: Likewise.
51310 * nss/nss_files/files-spwd.c: Likewise.
51311 * nss/nss_db/db-alias.c: Removed.
51312 * nss/nss_db/dummy-db.h: Removed.
51314 2011-06-02 Ulrich Drepper <drepper@gmail.com>
51316 * nss/makedb.c: Rewritten to not use database library.
51317 * nss/Makefile: Update to build new makedb program.
51319 2011-06-14 Andreas Jaeger <aj@suse.de>
51321 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51322 memset declaration.
51324 2011-06-10 Andreas Schwab <schwab@redhat.com>
51326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51329 2011-06-10 Roland McGrath <roland@hack.frob.com>
51331 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51332 * elf/Makefile ($(objpfx)ld.so): Likewise.
51334 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51335 Don't list ld.so twice in dependencies.
51337 * posix/bug-regex31.c: Include <stdlib.h>.
51339 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51341 * nis/nss_compat/compat-spwd.c
51342 (getspent_next_nss_netgr): Remove unused variable.
51343 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51345 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51346 nonmembers" output to use the right array.
51348 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51350 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51352 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51353 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51354 * catgets/gencat.c (read_input_file): Likewise.
51355 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51357 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51358 variable definition inside #if's controlling its use.
51360 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51362 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51364 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51366 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51369 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51371 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51372 * configure: Regenerated.
51374 * Makerules: Revert last change.
51375 * elf/Makefile: Likewise.
51377 2011-06-09 Roland McGrath <roland@hack.frob.com>
51379 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51380 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51381 (reloc-link): Likewise.
51383 2011-06-09 Ulrich Drepper <drepper@gmail.com>
51385 * elf/Makefile: Add rules to build pldd.
51386 * elf/pldd.c: New file.
51387 * elf/pldd-xx.c: New file.
51389 2011-06-07 Ulrich Drepper <drepper@gmail.com>
51391 * version.h: Update for 2.15 development version.
51393 2011-06-07 David S. Miller <davem@davemloft.net>
51395 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51398 elf_machine_lazy_rel): Likewise.
51399 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51401 elf_machine_lazy_rel): Likewise.
51402 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51403 dl_hwcap via passed in argument.
51404 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51407 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51409 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51411 2011-06-06 Roland McGrath <roland@hack.frob.com>
51414 * manual/fdl-1.1.texi: New file, verbatim from:
51415 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51416 * manual/lgpl-2.1.texi: New file, verbatim from:
51417 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51418 * manual/Makefile (licenses): New variable, list those new file names.
51420 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51422 * manual/fdl.texi: File removed.
51423 * manual/lesser.texi: File removed.
51424 * manual/libc.texinfo (Copying, Documentation License):
51425 Use new @include file names, put @appendix directive before @include.
51427 2011-06-04 Jakub Jelinek <jakub@redhat.com>
51430 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51431 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51432 (mq_open): Add __NTH.
51434 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51437 Assume Intel Core i3/i5/i7 processor if AVX is available.
51439 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51444 2011-05-31 Andreas Schwab <schwab@redhat.com>
51446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51447 memory. Use alloca_account. Fix memory leak when retrying.
51449 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51451 * version.h (RELEASE): Bump for 2.14 release.
51452 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51454 * config.make.in (RANLIB): Remove entry.
51456 2011-05-30 Ulrich Drepper <drepper@gmail.com>
51458 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51459 (libc.pot): Work around missing support for .ksh extension in xgettext.
51462 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51463 if both request failed.
51464 (send_dg): In case of server errors clear resplen or *resplen2.
51467 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51468 when there are multiple maps.
51469 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51470 (_dl_fini): Remove test here.
51472 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51474 2011-05-29 Ulrich Drepper <drepper@gmail.com>
51477 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51478 bit from old_res_options.
51479 (gaih_inet): Likewise.
51482 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51485 * resolv/res_init.c (res_setoptions): Make the code more compact.
51488 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51492 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51494 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51497 * malloc/malloc.h: Declare malloc hook variables as volatile.
51499 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51503 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51504 raise in the comment.
51505 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51507 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51509 2011-05-28 Ulrich Drepper <drepper@gmail.com>
51512 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51513 grow the buffers more if it already has to be sufficient.
51514 (build_wcs_upper_buffer): Likewise.
51515 * posix/regexec.c (check_matching): Likewise.
51516 (clean_state_log_if_needed): Likewise.
51517 (extend_buffers): Don't enlarge buffers beyond size of the input
51519 Patches mostly by Emil Wojak <emil@wojak.eu>.
51520 * posix/bug-regex32.c: New file.
51521 * posix/Makefile (tests): Add bug-regex32.
51523 * locale/findlocale.c (_nl_find_locale): Return right away if
51524 _nl_explode_name failed.
51525 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51527 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51529 * debug/xtrace.sh: Unify messages.
51530 * malloc/memusage.sh: Likewise.
51533 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51534 time symbol from vDSO. Substitute with vsyscall if not available.
51535 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51538 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51539 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51540 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51541 Add sendmmsg and internal_sendmmsg.
51542 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51543 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51544 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51546 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51547 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51548 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51550 2011-05-27 Ulrich Drepper <drepper@gmail.com>
51553 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51554 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51556 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51560 * iconvdata/Makefile (tests): Add bug-iconv9.
51561 * iconvdata/bug-iconv9.c: New file.
51563 2011-05-27 Andreas Schwab <schwab@redhat.com>
51566 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51568 2011-05-25 Jakub Jelinek <jakub@redhat.com>
51570 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51571 (struct user_regs_struct): Change intcs field back to cs.
51573 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51575 * po/ja.po: Update from translation team.
51577 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51580 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51581 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51583 2011-05-20 Andreas Schwab <schwab@redhat.com>
51585 * stdlib/longlong.h: Update from GCC.
51587 2011-05-23 Andreas Schwab <schwab@redhat.com>
51589 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51591 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51592 Add parameter name.
51593 (__sysconf): Pass it down.
51595 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51598 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51600 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51601 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51602 add in in __libc_use_alloca calls. Adjust callers.
51603 (glob): Use malloc in some situations.
51605 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51606 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51609 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51611 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51612 and CLOCK_BOOTTIME_ALARM.
51615 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51618 * string/_strerror.c (__strerror_r): Print negative errors as signed
51622 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51623 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51624 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51626 * configure.in: Fix typo in redirection and correct removal of test
51627 files in two cases.
51630 * locale/setlocale.c (new_composite_name): Fix test to check for
51631 identical name of all categories.
51634 * libio/filedoalloc.c (local_isatty): New function.
51635 (_IO_file_doallocate): Use local_isatty.
51636 * stdio-common/perror.c (perror): In case a new stream is used
51637 forward the stream error.
51638 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51641 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51646 * include/alloca.h (extend_alloca_account): Define.
51649 * posix/regex.h: Fix comments with documentation of user-accessible
51650 fields after compilation and describe correct free'ing of pattern
51651 after re_compile_pattern.
51652 Patch by Reuben Thomas <rrt@sc3d.org>.
51654 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51656 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51657 and -mno-altivec to prevent the compiler from using Altivec and/or
51658 VSX instructions when the corresponding registers are not available.
51660 2011-05-19 Andreas Schwab <schwab@redhat.com>
51662 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51664 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51666 * libio/freopen.c (freopen): Use __dup2, not dup2.
51667 * libio/freopen64.c (freopen64): Likewise.
51669 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51672 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51673 * math/Makefile (tests): Add test-powl.
51674 (CFLAGS-test-powl.c): Define.
51675 * math/test-powl.c: New file.
51677 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51679 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51681 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51684 * iconvdata/gb18030.c: Update to GB18020-2005.
51686 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51688 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51689 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51690 Patch by Aharon Robbins <arnold@skeeve.com>.
51693 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51697 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51698 through underflows.
51701 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51702 point to strings before performing equality test for error_one_per_line
51706 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51710 (struct user_fpregs_struct): Avoid __uint*_t types.
51713 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51714 symbol info. Use it instead of calling _dl_addr locally.
51715 (lock_and_info): New function.
51716 (tr_freehook): Call lock_and_info and pass symbol info as additional
51717 parameter to tr_where.
51718 (tr_mallochook): Likewise.
51719 (tr_reallochook): Likewise.
51720 (tr_memalignhook): Likewise.
51722 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51723 used and couldn't be at all thread-safe.
51725 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51727 * libio/freopen.c (freopen): Don't close old file descriptor
51728 before the new one is opened. Instead dup the new file descriptor
51729 to the old one after the new stream is created.
51730 * libio/freopen64.c (freopen64): Likewise.
51731 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51732 * libio/fileops.c (_IO_new_file_close_it): Handle new
51733 _IO_FLAGS2_NOCLOSE flag.
51734 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51735 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51736 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51737 _IO_FLAGS2_NOCLOSE flag.
51738 * include/unistd.h: Add hidden_proto for dup3.
51739 Define __have_dup3.
51740 * io/dup3.c: Define hidden symbol.
51741 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51744 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51745 when an incomplete long option is used.
51746 * posix/tst-getopt_long1.c: New file.
51747 * posix/Makefile (tests): Add tst-getopt_long1.
51750 * scripts/config.guess: Update from autoconf-2.68.
51751 * scripts/config.sub: Likewise.
51754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51756 (has_cpuclock): ...this. New function.
51757 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51758 macro here based on has_cpuclock code.
51761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51762 First byte (not low byte) is now always NUL.
51763 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51766 Use non-cancelable interfaces.
51769 * locale/iso-639.def: Add entry for Sorani.
51772 * include/stdlib.h: Move include protection to the right place.
51773 Define abort_msg_s. Declare __abort_msg with it.
51774 * stdlib/abort.c (__abort_msg): Adjust type.
51775 * assert/assert.c (__assert_fail_base): New function. Majority
51776 of code from __assert_fail. Allocate memory for __abort_msg with
51778 (__assert_fail): Now call __assert_fail_base.
51779 * assert/assert-perr.c: Remove bulk of implementation. Use
51780 __assert_fail_base.
51781 * include/assert.hL Declare __assert_fail_base.
51782 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51784 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51786 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51790 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51791 until all modules are registered in the DTV.
51792 * elf/Makefile: Add rules to build and run tst-tls19.
51793 * elf/tst-tls19.c: New file.
51794 * elf/tst-tls19mod1.c: New file.
51795 * elf/tst-tls19mod2.c: New file.
51796 * elf/tst-tls19mod3.c: New file.
51797 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51800 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51804 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51805 two-byte sequence errors.
51806 * iconvdata/Makefile (tests): Add bug-iconv8.
51807 * iconvdata/bug-iconv8.c: New file.
51810 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51813 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51816 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51817 (dummy_getcfa): New function.
51818 (init): Get _Unwind_GetCFA address, use dummy if not found.
51819 (backtrace_helper): In recursion check, also check whether CFA changes.
51820 (__backtrace): Completely initialize arg.
51822 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51823 storing incomplete byte sequence in state object. Avoid testing for
51824 guaranteed too small input if we know there is enough data available.
51826 2011-05-11 Andreas Schwab <schwab@redhat.com>
51828 * Makeconfig (+link-pie): Indent.
51829 * Rules (binaries-pie): Define if $(have-fpie) and
51831 (binaries-shared): Also filter out $(binaries-pie).
51832 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51833 * nscd/Makefile (others-pie): Add nscd.
51834 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51835 ($(objpfx)nscd): Remove command override.
51836 * login/Makefile (others-pie): Add pt_chown.
51837 ($(objpfx)pt_chown): Remove command override.
51838 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51839 remove command overrides.
51841 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51843 * libio/tst_putwc.c: Fix error messages.
51846 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51847 currently writing and seek to current position when not.
51848 * libio/Makefile (tests): Add bug-fclose1.
51849 * libio/bug-fclose1.c: New file.
51851 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51854 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51855 don't set DF_1_NODELETE here.
51856 (do_lookup_x): When entering new entry test for copy relocation
51857 and if necessary set DF_1_NODELETE flag.
51858 * elf/tst-unique4.cc: New file.
51859 * elf/tst-unique4.h: New file.
51860 * elf/tst-unique4lib.cc: New file.
51861 * elf/Makefile: Add rules to build and run tst-unique4.
51862 Patch by Piotr Bury <pbury@goahead.com>.
51864 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51867 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51870 * misc/mntent_r.c (addmntent): Flush the stream after the output
51873 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51874 (is_trusted_path_normalize): Skip initial colon. Append slash
51875 to empty buffer. Duplicate is_trusted_path code but allow
51876 constructed patch to be prefix.
51877 (is_dst): Allow $ORIGIN followed by /.
51878 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51879 Correct testing of result of is_trusted_path_normalize
51880 (decompose_rpath): Fix warning.
51882 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51885 * grp/initgroups.c (internal_getgrouplist): When we found the service
51886 list through the initgroups entry in nsswitch.conf do not always
51887 continue on a successful lookup. Don't always use the
51888 __nss_group_database value if it is set.
51889 * nss/nsswitch.conf (initgroups): Change action for successful db
51890 lookup to continue for compatibility.
51892 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51895 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51897 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51899 * iconvdata/tst-tables.sh: Likewise.
51900 * iconvdata/cp770.c: New file.
51901 * iconvdata/cp771.c: New file.
51902 * iconvdata/cp772.c: New file.
51903 * iconvdata/cp773.c: New file.
51904 * iconvdata/cp774.c: New file.
51905 * iconvdata/testdata/CP770: New file.
51906 * iconvdata/testdata/CP770..UTF8: New file.
51907 * iconvdata/testdata/CP771: New file.
51908 * iconvdata/testdata/CP771..UTF8: New file.
51909 * iconvdata/testdata/CP772: New file.
51910 * iconvdata/testdata/CP772..UTF8: New file.
51911 * iconvdata/testdata/CP773: New file.
51912 * iconvdata/testdata/CP773..UTF8: New file.
51913 * iconvdata/testdata/CP774: New file.
51914 * iconvdata/testdata/CP774..UTF8: New file.
51916 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51918 * iconvdata/gen-8bit-gap.sh: Likewise.
51919 * iconvdata/gen-8bit.sh: Likewise.
51921 * locale/iso-639.def: Add ary entry.
51924 * locale/C-translit.h.in: Add U20A1 transliteration.
51927 * locale/iso-639.def: Add wae entry.
51928 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51931 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51935 * locale/C-translit.h.in: Add entry for U20B9.
51936 Patch by pravin.d.s@gmail.com.
51938 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51941 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51942 ENAMETOOLONG use generic getcwd.
51943 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51944 in rtld. Use *stat64.
51945 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51946 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51947 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51948 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51949 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51950 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51951 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51952 __fstatat64 macros.
51953 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51954 * dirent/rewinddir.c: Add libc_hidden_def.
51955 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51956 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51958 * include/dirent.h (__alloc_dir): Add flags parameter.
51959 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51960 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51962 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51963 from fdopendir if O_CLOEXEC is already set.
51965 2011-03-15 Alan Modra <amodra@gmail.com>
51967 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51968 l_tls_firstbyte_offset non-zero. Save padding offset in
51969 l_tls_firstbyte_offset for later use.
51970 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51971 freeing static tls block.
51973 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51975 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51976 where #ifdef was intended. The intent is to prevent ARG_MAX from
51977 being defined by the kernel headers.
51979 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51982 * resolv/resolv.h: Define RES_NOTLDQUERY.
51983 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51984 no-tld-query and set RES_NOTLDQUERY.
51985 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51986 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51987 modern BIND to search name as TLD unless forbidden.
51989 2011-05-07 Petr Baudis <pasky@suse.cz>
51990 Ulrich Drepper <drepper@gmail.com>
51993 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51994 (is_trusted_path): ...to here.
51995 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51996 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51997 using is_trusted_path_normalize() in setuid scripts.
51999 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52001 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52002 __BEGIN/__END_DECLS.
52004 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52007 NSS_STATUS_NOTFOUND if no record was found.
52009 2011-05-05 Andreas Schwab <schwab@redhat.com>
52011 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52012 (headers-not-in-tirpc): Remove rpc/netdb.h
52013 * resolv/netdb.h: Revert last change.
52015 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52017 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52018 circular dependency between libgcc.a and libc.a.
52020 2011-05-05 Andreas Schwab <schwab@redhat.com>
52022 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52023 * nis/Makefile: Don't install rpcsvc/*.
52024 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52025 instead of <rpc/types.h>.
52026 (MAXHOSTNAMELEN): Define.
52028 2011-05-03 Andreas Schwab <schwab@redhat.com>
52030 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52032 2011-04-28 Maciej Babinski <mbabinski@google.com>
52035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52036 gethostbyname4_r when IPv6 results are possible.
52038 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52041 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52042 _PC_PIPE_BUF handling.
52044 2011-04-30 Bruno Haible <bruno@clisp.org>
52047 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52048 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52050 * inet/getnameinfo.c (getnameinfo): Likewise.
52052 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52054 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52055 to groups setting in database lookup.
52056 * nss/nsswitch.conf: Add initgroups entry.
52058 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52061 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52063 Patch by Eric Blake <eblake@redhat.com>.
52065 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52067 * sunrpc/Makefile (need-export-routines): Add svc_run.
52068 (routines): Remove svc_run.
52069 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52070 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52071 * sunrpc/svc_run.c (svc_run): Likewise.
52072 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52074 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52076 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52077 problem in reallocation in last patch.
52079 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52081 * sunrpc/Makefile: Move inclusion of Rules.
52083 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52085 * nss/nss_files/files-initgroups.c: New file.
52086 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52087 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52088 _nss_files_initgroups_dyn.
52090 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52092 * elf/elf.h (R_ARM_IRELATIVE): Define.
52094 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52096 * po/ru.po: Update from translation team.
52098 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52100 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52103 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52106 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52107 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52112 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52114 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52116 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52120 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52123 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52125 * stdlib/bug-getcontext.c: New file.
52126 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52128 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52130 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52131 instructions into .machine "z9-109".
52132 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52133 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52135 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52137 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52138 between environment variables and auxiliary vector.
52140 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52142 * Makefile: Add rules to build linkobj/libc.so.
52143 * include/libc-symbols.h: Define libc_hidden_nolink.
52144 * include/rpc/auth.h: Mark functions which are to be hidden.
52145 * include/rpc/auth_des.h: Likewise.
52146 * include/rpc/auth_unix.h: Likewise.
52147 * include/rpc/clnt.h: Likewise.
52148 * include/rpc/des_crypt.h: Likewise.
52149 * include/rpc/key_prot.h: Likewise.
52150 * include/rpc/pmap_clnt.h: Likewise.
52151 * include/rpc/pmap_prot.h: Likewise.
52152 * include/rpc/pmap_rmt.h: Likewise.
52153 * include/rpc/rpc_msg.h: Likewise.
52154 * include/rpc/svc.h: Likewise.
52155 * include/rpc/svc_auth.h: Likewise.
52156 * include/rpc/xdr.h: Likewise.
52157 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52158 * nss/Makefile: Likewise.
52159 * sunrpc/Makefile: Don't install headers. Build library with normal
52160 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52161 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52162 for the compat linking library. Remove use of INTDEF/INTUSE.
52163 * sunrpc/auth_none.c: Likewise.
52164 * sunrpc/auth_unix.c: Likewise.
52165 * sunrpc/authdes_prot.c: Likewise.
52166 * sunrpc/authuxprot.c: Likewise.
52167 * sunrpc/clnt_gen.c: Likewise.
52168 * sunrpc/clnt_perr.c: Likewise.
52169 * sunrpc/clnt_raw.c: Likewise.
52170 * sunrpc/clnt_simp.c: Likewise.
52171 * sunrpc/clnt_tcp.c: Likewise.
52172 * sunrpc/clnt_udp.c: Likewise.
52173 * sunrpc/clnt_unix.c: Likewise.
52174 * sunrpc/des_crypt.c: Likewise.
52175 * sunrpc/des_soft.c: Likewise.
52176 * sunrpc/get_myaddr.c: Likewise.
52177 * sunrpc/key_call.c: Likewise.
52178 * sunrpc/key_prot.c: Likewise.
52179 * sunrpc/netname.c: Likewise.
52180 * sunrpc/pm_getmaps.c: Likewise.
52181 * sunrpc/pm_getport.c: Likewise.
52182 * sunrpc/pmap_clnt.c: Likewise.
52183 * sunrpc/pmap_prot.c: Likewise.
52184 * sunrpc/pmap_prot2.c: Likewise.
52185 * sunrpc/pmap_rmt.c: Likewise.
52186 * sunrpc/publickey.c: Likewise.
52187 * sunrpc/rpc_cmsg.c: Likewise.
52188 * sunrpc/rpc_common.c: Likewise.
52189 * sunrpc/rpc_dtable.c: Likewise.
52190 * sunrpc/rpc_prot.c: Likewise.
52191 * sunrpc/rpc_thread.c: Likewise.
52192 * sunrpc/rtime.c: Likewise.
52193 * sunrpc/svc.c: Likewise.
52194 * sunrpc/svc_auth.c: Likewise.
52195 * sunrpc/svc_authux.c: Likewise.
52196 * sunrpc/svc_raw.c: Likewise.
52197 * sunrpc/svc_run.c: Likewise.
52198 * sunrpc/svc_simple.c: Likewise.
52199 * sunrpc/svc_tcp.c: Likewise.
52200 * sunrpc/svc_udp.c: Likewise.
52201 * sunrpc/svc_unix.c: Likewise.
52202 * sunrpc/svcauth_des.c: Likewise.
52203 * sunrpc/xcrypt.c: Likewise.
52204 * sunrpc/xdr.c: Likewise.
52205 * sunrpc/xdr_array.c: Likewise.
52206 * sunrpc/xdr_float.c: Likewise.
52207 * sunrpc/xdr_intXX_t.c: Likewise.
52208 * sunrpc/xdr_mem.c: Likewise.
52209 * sunrpc/xdr_rec.c: Likewise.
52210 * sunrpc/xdr_ref.c: Likewise.
52211 * sunrpc/xdr_sizeof.c: Likewise.
52212 * sunrpc/xdr_stdio.c: Likewise.
52214 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52217 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52218 * sysdeps/ia64/dl-tls.h: Likewise.
52219 * sysdeps/powerpc/dl-tls.h: Likewise.
52220 * sysdeps/s390/dl-tls.h: Likewise.
52221 * sysdeps/sh/dl-tls.h: Likewise.
52222 * sysdeps/sparc/dl-tls.h: Likewise.
52223 * sysdeps/x86_64/dl-tls.h: Likewise.
52224 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52226 2011-03-14 Andreas Schwab <schwab@redhat.com>
52228 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52229 rpath element also skip the following colon.
52230 (expand_dynamic_string_token): Add is_path parameter and pass
52231 down to DL_DST_REQUIRED and _dl_dst_substitute.
52232 (decompose_rpath): Call expand_dynamic_string_token with
52233 non-zero is_path. Ignore empty rpaths.
52234 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52237 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52242 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52245 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52246 Patch by Filipe David Manana <fdmanana@apache.org>.
52248 2011-04-07 Andreas Schwab <schwab@redhat.com>
52250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52251 Maintain aligned stack.
52252 (CHECK_RSP): Remove unused macro.
52254 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52256 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52257 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52259 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52261 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52263 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52265 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52268 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52269 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52270 * sysdeps/x86_64/memmove.c: New file.
52271 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52272 (memcpy): Renamed to ...
52273 (__new_memcpy): This.
52274 (memcpy): Provide GLIBC_2_14 memcpy.
52275 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52276 (memcpy): Provide GLIBC_2_2_5 memcpy.
52278 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52281 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52283 2011-03-30 Andreas Schwab <schwab@redhat.com>
52285 * misc/syncfs.c: New file.
52286 * misc/Makefile (routines): Add syncfs.
52287 * posix/unistd.h: Declare syncfs.
52288 * sysdeps/unix/syscalls.list: Add syncfs.
52290 2011-04-01 Andreas Schwab <schwab@redhat.com>
52292 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52299 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52302 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52304 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52306 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52308 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52312 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52313 sync_file_range.c with -fexceptions.
52314 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52315 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52316 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52317 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52318 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52319 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52321 sync_file_range as cancellation point
52322 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52323 now a wrapper around __call_sync_file_range with cancellation handling.
52324 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52325 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52326 function name to __call_sync_file_range.
52327 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52328 Add call_sync_file_range.
52330 2011-04-01 Andreas Schwab <schwab@redhat.com>
52332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52335 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52337 * iconv/iconv.h: Fix typo in comment.
52338 * io/fcntl.h: Likewise.
52339 * libio/stdio.h: Likewise.
52340 * posix/spawn.h: Likewise.
52341 * posix/unistd.h: Likewise.
52342 * stdlib/stdlib.h: Likewise.
52343 * time/time.h: Likewise.
52344 * wcsmbs/wchar.h: Likewise.
52346 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52347 open_by_handle): Add.
52348 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52349 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52350 Augment a few comments.
52351 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52356 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52359 * io/fcntl.h (AT_EMPTY_PATH): Define.
52361 2011-03-30 Ulrich Drepper <drepper@gmail.com>
52363 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52364 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52365 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52367 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52368 * Versions.def: Add GLIBC_2.14.
52369 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52372 2011-03-22 Ulrich Drepper <drepper@gmail.com>
52374 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52376 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52378 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52381 * string/test-strncmp.c (do_page_test): New function.
52382 (check2): Likewise.
52383 (test_main): Call check2.
52384 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52386 2011-03-20 Ulrich Drepper <drepper@gmail.com>
52389 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52390 Handle cache information in CPU leaf 4.
52391 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52393 2011-03-18 Ulrich Drepper <drepper@gmail.com>
52396 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52397 character representation.
52398 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52400 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52402 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52403 END(__isnan) to END(__isnanf) to match function entry point/label
52404 EALIGN(__isnanf,...).
52406 2011-03-10 Jakub Jelinek <jakub@redhat.com>
52408 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52410 2011-03-10 Ulrich Drepper <drepper@gmail.com>
52413 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52414 copy from the symbol referenced in the relocation to initialize the
52416 Patch by Piotr Bury <pbury@goahead.com>.
52417 * elf/Makefile: Add rules to build and tst-unique3.
52418 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52419 * elf/tst-unique3.cc: New file.
52420 * elf/tst-unique3.h: New file.
52421 * elf/tst-unique3lib.cc: New file.
52422 * elf/tst-unique3lib2.cc: New file.
52424 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52426 2011-03-10 Mike Frysinger <vapier@gentoo.org>
52428 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52429 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52432 2011-03-06 Ulrich Drepper <drepper@gmail.com>
52434 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52435 to-be-loaded object along a path to loader is ld.so.
52437 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52438 Ulrich Drepper <drepper@gmail.com>
52440 * sysdeps/x86_64/memset.S: After aligning destination, code
52441 branches to different locations depending on the value of
52442 misalignment, when multiarch is enabled. Fix this.
52444 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52446 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52447 Set _x86_64_preferred_memory_instruction for AMD processsors.
52448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52449 Set bit_Prefer_SSE_for_memop for AMD processors.
52451 2011-03-04 Ulrich Drepper <drepper@gmail.com>
52453 * libio/fmemopen.c (fmemopen): Optimize a bit.
52455 2011-03-03 Andreas Schwab <schwab@redhat.com>
52457 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52459 2011-03-03 Roland McGrath <roland@redhat.com>
52461 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52463 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52465 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52466 __bzero_ultra1 instead of __memset_ultra1.
52468 2011-02-23 Andreas Schwab <schwab@redhat.com>
52469 Ulrich Drepper <drepper@gmail.com>
52472 * include/link.h (struct link_map): Add l_orig_initfini.
52473 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52474 returning unsuccessfully.
52475 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52476 close of a file loaded at startup, restore the original l_initfini
52478 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52479 list, store the pointer.
52480 * elf/Makefile ($(objpfx)noload-mem): New rule.
52481 (noload-ENV): Define.
52482 (tests): Add $(objpfx)noload-mem.
52483 * elf/noload.c: Include <memcheck.h>.
52484 (main): Call mtrace. Close all opened handles.
52486 2011-02-17 Andreas Schwab <schwab@redhat.com>
52489 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52490 dependencies are missing.
52492 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52494 Fix __if_freereq crash: Unlike the generic version which uses free,
52496 * sysdeps/mach/hurd/ifreq.h: New file.
52498 2011-01-27 Petr Baudis <pasky@suse.cz>
52499 Ulrich Drepper <drepper@gmail.com>
52502 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52503 to extend_alloca().
52504 * stdio-common/bug23.c: New file.
52505 * stdio-common/Makefile (tests): Add bug23.
52507 2010-09-28 Andreas Schwab <schwab@redhat.com>
52508 Ulrich Drepper <drepper@gmail.com>
52511 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52512 before performing relro protection. At old place add assertion
52513 to make sure nothing changed.
52515 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52516 Glauber de Oliveira Costa <glommer@gmail.com>
52518 * elf/elf.h: Add new ARM TLS relocs.
52520 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52523 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52525 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52527 * sysdeps/wordsize-64/tst-writev.c: New file.
52529 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52531 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52532 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52533 insns in _dl_start to prevent a TOC reference before relocs are
52536 2011-02-15 Ulrich Drepper <drepper@gmail.com>
52539 * Makeconfig: Remove RANLIB definition.
52540 * Makerules: Don't use RANLIB.
52541 * aclocal.m4: Remove ranlib test.
52542 * configure.in: No need to check for ranlib.
52543 * elf/rtld-Rules: Don't use RANLIB.
52545 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52547 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52549 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52550 inclusion protection macro.
52552 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52553 SIGRTMIN and SIGRTMAX and print information in that case only when
52554 SIGRTMIN is defined.
52556 2011-02-11 Jakub Jelinek <jakub@redhat.com>
52558 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52559 arginfo fn returning -1.
52561 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52562 and thousands string is zero terminated.
52564 2011-02-03 Andreas Schwab <schwab@redhat.com>
52566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52567 sysdeps/unix/sysv/linux/bits/socket.h.
52569 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52571 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52572 (__CPU_COUNT): Remove old macros.
52573 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52574 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52575 (__CPU_ALLOC, __CPU_FREE): Add macros.
52576 (__sched_cpualloc, __sched_cpufree): Add declarations.
52578 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52580 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52581 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52582 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52583 (readdhstai): Return value of addhstaiX call.
52584 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52585 (addgrbyX): Return value returned by cache_addgr.
52586 (readdgrbyname): Return value returned by addgrbyX.
52587 (readdgrbygid): Likewise.
52588 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52589 (addpwbyX): Return value returned by cache_addpw.
52590 (readdpwbyname): Return value returned by addhstbyX.
52591 (readdpwbyuid): Likewise.
52592 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52593 (addservbyX): Return value returned by cache_addserv.
52594 (readdservbyname): Return value returned by addservbyX:
52595 (readdservbyport): Likewise.
52596 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52597 (addhstbyX): Return value returned by cache_addhst.
52598 (readdhstbyname): Return value returned by addhstbyX.
52599 (readdhstbyaddr): Likewise.
52600 (readdhstbynamev6): Likewise.
52601 (readdhstbyaddrv6): Likewise.
52602 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52603 (readdinitgroups): Return value returned by addinitgroupsX.
52604 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52605 (prune_cache): Keep track of timeout value of re-added entries.
52606 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52607 * nscd/nscd.h: Adjust prototypes of readd* functions.
52609 2011-02-04 Roland McGrath <roland@redhat.com>
52611 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52612 (nis_stats): Likewise.
52613 * nis/nis_modify.c (nis_modify): Likewise.
52614 * nis/nis_remove.c (nis_remove): Likewise.
52615 * nis/nis_add.c (nis_add): Likewise.
52617 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52619 * posix/fnmatch_loop.c: Add some consts.
52621 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52623 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52626 * config.make.in (config-cflags-novzeroupper): Define.
52627 * configure.in: Substitute libc_cv_cc_novzeroupper.
52628 * elf/Makefile (AVX-CFLAGS): Define.
52629 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52630 (CFLAGS-tst-auditmod4a.c): Likewise.
52631 (CFLAGS-tst-auditmod4b.c): Likewise.
52632 (CFLAGS-tst-auditmod6b.c): Likewise.
52633 (CFLAGS-tst-auditmod6c.c): Likewise.
52634 (CFLAGS-tst-auditmod7b.c): Likewise.
52635 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52637 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52639 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52640 function to the callback.
52641 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52643 2011-02-02 Andreas Schwab <schwab@redhat.com>
52645 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52648 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52651 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52653 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52655 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52658 * elf/Makefile: Add rules to build and run new test.
52659 * elf/tst-initorder.c: New file.
52660 * elf/tst-initorder.exp: New file.
52661 * elf/tst-initordera1.c: New file.
52662 * elf/tst-initordera2.c: New file.
52663 * elf/tst-initordera3.c: New file.
52664 * elf/tst-initordera4.c: New file.
52665 * elf/tst-initorderb1.c: New file.
52666 * elf/tst-initorderb2.c: New file.
52667 * elf/tst-order-a1.c: New file.
52668 * elf/tst-order-a2.c: New file.
52669 * elf/tst-order-a3.c: New file.
52670 * elf/tst-order-a4.c: New file.
52671 * elf/tst-order-b1.c: New file.
52672 * elf/tst-order-b2.c: New file.
52673 * elf/tst-order-main.c: New file.
52674 New test case by George Gensure <werkt0@gmail.com>.
52676 2010-10-01 Andreas Schwab <schwab@redhat.com>
52678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52679 decoding ACE if AI_CANONIDN.
52681 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52683 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52685 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52687 * version.h (RELEASE): Bump for 2.13 release.
52688 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52690 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52692 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52694 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52696 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52699 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52701 * posix/getconf.c: Update copyright year.
52702 * catgets/gencat.c: Likewise.
52703 * csu/version.c: Likewise.
52704 * debug/catchsegv.sh: Likewise.
52705 * debug/xtrace.sh: Likewise.
52706 * elf/ldconfig.c: Likewise.
52707 * elf/ldd.bash.in: Likewise.
52708 * elf/sprof.c (print_version): Likewise.
52709 * iconv/iconv_prog.c: Likewise.
52710 * iconv/iconvconfig.c: Likewise.
52711 * locale/programs/locale.c: Likewise.
52712 * locale/programs/localedef.c: Likewise.
52713 * malloc/memusage.sh: Likewise.
52714 * malloc/mtrace.pl: Likewise.
52715 * nscd/nscd.c (print_version): Likewise.
52716 * nss/getent.c: Likewise.
52718 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52719 PF_CAIF, and PF_ALG.
52720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52722 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52724 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52725 (modules-names): Use them.
52726 (ifunc-test-modules, ifunc-pie-tests): Define.
52727 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52728 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52729 (test-extras): Likewise.
52730 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52731 $(compile-command.c).
52732 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52733 (all-built-dso): Define.
52734 (check-textrel.out, check-execstack.out): Depend on it.
52736 * configure.in: Don't override --enable-multi-arch.
52738 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52741 * nscd/hstcache.c (tryagain): Define.
52742 (cache_addhst): Return tryagain not notfound for temporary errors.
52743 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52746 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52749 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52750 to make the syscall.
52751 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52754 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52755 and fall back to matching as normal character if the string ends before
52756 the matching ']' is found. This is what POSIX requires.
52757 * posix/testfnm.c: Adjust test result.
52758 * posix/globtest.sh: Adjust test result. Add new test.
52759 * posix/tst-fnmatch.input: Likewise.
52760 * posix/tst-fnmatch2.c: Add new test.
52762 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52764 * elf/Makefile (check-execstack): Revert last change. Depend on
52766 (check-execstack.h): New target.
52767 (generated): Add check-execstack.h.
52768 * elf/check-execstack.c: Include "check-execstack.h".
52769 (main): Revert last change.
52770 (handle_file): Return zero if GNU_STACK is absent and
52771 DEFAULT_STACK_PERMS doesn't include PF_X.
52773 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52775 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52776 in child fails because the descriptor is already closed.
52777 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52778 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52779 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52782 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52786 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52787 temporary buffer used to handle multi lookups locally.
52788 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52790 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52792 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52795 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52797 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52798 alignment for SSE2.
52800 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52803 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52804 characters. When rounding increased number of integer digits recompute
52806 * stdio-common/tst-grouping.c: New file.
52807 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52809 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52811 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52812 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52814 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52816 * bits/select.h: Likewise.
52818 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52820 * po/ja.po: Update from translation team.
52822 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52825 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52826 implementation just like for lxstat, fxstatat, et al.
52828 2010-12-27 Jim Meyering <meyering@redhat.com>
52831 * posix/regexec.c (build_trtable): Return failure indication upon
52832 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52834 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52837 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52838 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52839 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52840 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52843 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52846 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52847 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52849 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52851 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52852 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52853 script has SORT_BY_INIT_PRIORITY.
52854 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52855 NO_CTORS_DTORS_SECTIONS is defined.
52856 * elf/soinit.c: Likewise.
52857 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52858 NO_CTORS_DTORS_SECTIONS is defined.
52859 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52860 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52861 * sysdeps/sh/init-first.c: Likewise.
52862 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52864 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52866 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52867 always use the slow path.
52869 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52871 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52872 similar rule which adds the sysdep directories to the header search in
52873 order to pick up the correct platform stackinfo.h.
52874 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52875 perform test if it is, otherwise return successfully without testing.
52876 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52877 DEFAULT_STACK_PERMS define in stackinfo.h.
52878 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52879 defined in stackinfo.h.
52880 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52881 DEFAULT_STACK_PERMS defined in stackinfo.h.
52882 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52883 * sysdeps/ia64/stackinfo.h: Likewise.
52884 * sysdeps/s390/stackinfo.h: Likewise.
52885 * sysdeps/sh/stackinfo.h: Likewise.
52886 * sysdeps/sparc/stackinfo.h: Likewise.
52887 * sysdeps/x86_64/stackinfo.h: Likewise.
52888 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52889 PF_X for powerpc64. Retain PF_X for powerpc32.
52891 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52893 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52895 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52896 GETDENTS_64BIT_ALIGNED.
52898 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52900 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52902 2010-12-10 Andreas Schwab <schwab@redhat.com>
52904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52907 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52908 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52910 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52911 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52913 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52916 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52919 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52921 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52923 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52925 * po/it.po: Update from translation team.
52927 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52932 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52934 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52936 2010-11-24 Andreas Schwab <schwab@redhat.com>
52938 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52940 (gaih_getanswer_slice): Likewise.
52942 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52946 2010-05-31 Petr Baudis <pasky@suse.cz>
52949 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52950 silently even in the chroot mode.
52952 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52954 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52955 last patch a bit. Pretty printing
52957 2010-05-31 Petr Baudis <pasky@suse.cz>
52960 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52961 initialization of skip_initgroups_dyn.
52963 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52965 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52966 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52968 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52970 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52972 2010-11-11 Andreas Schwab <schwab@redhat.com>
52974 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52975 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52976 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52977 ($(objpfx)tst-fnmatch-mem): New rule.
52978 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52979 * posix/tst-fnmatch.c (main): Call mtrace.
52981 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52984 Support Intel processor model 6 and model 0x2c.
52986 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52988 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52991 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52994 * string/test-strncasecmp.c (check_result): New function.
52995 (do_one_test): Use it.
52996 (check1): New function.
52997 (test_main): Use it.
52998 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52999 Support strcasecmp and strncasecmp.
53001 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53004 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53007 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53009 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53013 * sysdeps/x86_64/multiarch/bzero.S: New file.
53014 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53015 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53016 * sysdeps/x86_64/multiarch/memset.S: New file.
53017 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53019 Set bit_Prefer_SSE_for_memop for Intel processors.
53020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53022 (index_Prefer_SSE_for_memop): Define.
53023 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53025 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53027 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53030 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53033 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53034 (__x86_64_raw_data_cache_size_half): Likewise.
53035 (__x86_64_raw_shared_cache_size): Likewise.
53036 (__x86_64_raw_shared_cache_size_half): Likewise.
53038 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53039 (__x86_64_raw_data_cache_size_half): Likewise.
53040 (__x86_64_raw_shared_cache_size): Likewise.
53041 (__x86_64_raw_shared_cache_size_half): Likewise.
53042 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53043 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53044 and __x86_64_raw_shared_cache_size_half. Round
53045 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53046 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53047 to multiple of 256 bytes.
53049 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53052 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53053 of inacessible symlinks. Verify result of symlink before returning it.
53054 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53055 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53057 2010-10-28 Erich Ritz <erichritz@gmail.com>
53059 * math/math.h (isinf): Fix typo in comment.
53061 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53063 * po/da.po: Update from translation team.
53065 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53067 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53068 is added to the list.
53070 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53071 Ulrich Drepper <drepper@gmail.com>
53073 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53074 the global list here. Move code to...
53075 (_dl_add_to_namespace_list): ...here. New function.
53076 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53077 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53078 * elf/dl-load.c (lose): Don't remove the element from the list.
53079 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53080 (_dl_map_object): Likewise.
53082 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53085 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53086 into all bytes of SSE register.
53087 Patch by Richard Li <richardpku@gmail.com>.
53089 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53092 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53095 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53097 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53098 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53099 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53100 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53105 2010-10-22 Andreas Schwab <schwab@redhat.com>
53107 * include/dlfcn.h (__RTLD_SECURE): Define.
53108 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53109 mode & __RTLD_SECURE instead.
53110 (open_path): Rename preloaded parameter to secure.
53111 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53112 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53113 * elf/dl-deps.c (openaux): Likewise.
53114 * elf/rtld.c (struct map_args): Remove is_preloaded.
53115 (map_doit): Don't use it.
53116 (dl_main): Likewise.
53117 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53118 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53120 2010-09-09 Andreas Schwab <schwab@redhat.com>
53122 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53123 (sysd-rules-targets): Remove duplicates.
53124 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53125 rtld-%.$o dependency.
53127 2010-10-18 Andreas Schwab <schwab@redhat.com>
53129 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53130 _dl_map_object do it.
53132 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53134 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53135 fast fma builtins, define the macros in the C99 standard.
53136 (FP_FAST_FMAF): Likewise.
53137 (FP_FAST_FMAL): Likewise.
53138 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53140 * bits/mathdef.h: Update copyright year.
53141 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53143 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53145 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53146 builtins, define the macros in the C99 standard.
53147 (FP_FAST_FMAF): Likewise.
53148 (FP_FAST_FMAL): Likewise.
53149 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53151 (FP_FAST_FMAF): Likewise.
53153 2010-10-15 Jakub Jelinek <jakub@redhat.com>
53156 * math/libm-test.inc (fma_test): Some new testcases.
53157 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53158 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53159 y and infinite z. Do multiplication by C already in long double.
53160 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53162 y and infinite z. Do bitwise or of inexact bit into u.d.
53163 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53164 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53165 * sysdeps/i386/fpu/s_fma.S: Removed.
53166 * sysdeps/i386/fpu/s_fmal.S: Removed.
53168 2010-10-16 Jakub Jelinek <jakub@redhat.com>
53171 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53173 computation is not scheduled after fetestexcept. Fix value
53174 of minimum denormal long double.
53176 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53179 * math/libm-test.inc (fma_test): Add some more tests.
53180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53183 2010-10-15 Andreas Schwab <schwab@redhat.com>
53185 * scripts/data/localplt-s390-linux-gnu.data: New file.
53186 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53188 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53191 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53192 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53194 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53196 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53198 if one of x and y is very large and the other is subnormal.
53199 * sysdeps/s390/fpu/s_fmaf.c: New file.
53200 * sysdeps/s390/fpu/s_fma.c: New file.
53201 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53202 * sysdeps/powerpc/fpu/s_fma.S: New file.
53203 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53204 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53205 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53207 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53210 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53213 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53214 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53215 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53216 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53217 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53218 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53220 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53223 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53224 * posix/bug-regex31.input: Add test case.
53226 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53228 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53229 * posix/bug-regex31.input: New file.
53232 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53233 (parse_sub_exp): Fix last change, use postorder.
53235 * posix/bug-regex31.c: New file.
53236 * posix/Makefile: Add rules to build and run bug-regex31.
53238 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53241 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53244 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53245 to have entries in sys_siglist.
53248 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53251 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53254 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53255 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53256 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53257 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53258 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53259 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53260 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53261 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53262 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53263 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53264 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53265 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53266 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53267 * math/ftestexcept.c (fetestexcept): Likewise.
53268 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53269 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53270 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53271 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53272 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53273 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53274 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53276 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53279 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53282 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53284 * string/bug-strstr1.c: New file.
53285 * string/Makefile: Add rules to build and run bug-strstr1.
53287 2010-10-05 Eric Blake <eblake@redhat.com>
53290 * string/str-two-way.h (two_way_long_needle): Always clear memory
53291 when skipping input due to the shift table.
53293 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53296 * malloc/mcheck.c: Handle large requests.
53299 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53300 for strncmp and strncasecmp.
53301 * string/stratcliff.c: Add tests for strcmp and strncmp.
53302 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53304 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53306 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53309 2010-09-30 Andreas Jaeger <aj@suse.de>
53311 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53312 (CGROUP_SUPER_MAGIC): Define.
53313 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53314 Handle btrfs and cgroup file systems.
53315 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53318 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
53320 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53321 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53323 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53326 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53327 trying to locate the ELF header.
53329 2010-09-27 Andreas Schwab <schwab@redhat.com>
53332 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53333 Mask out sign-bit copies when constructing f_fsid.
53335 2010-09-24 Petr Baudis <pasky@suse.cz>
53337 * debug/stack_chk_fail_local.c: Add missing licence exception.
53338 * debug/warning-nop.c: Likewise.
53340 2010-09-15 Joseph Myers <joseph@codesourcery.com>
53342 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53343 implementing getdents64 using getdents syscall, set d_type if
53344 __ASSUME_GETDENTS32_D_TYPE.
53346 2010-09-16 Andreas Schwab <schwab@redhat.com>
53348 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53349 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53351 2010-09-21 Ulrich Drepper <drepper@redhat.com>
53354 * posix/unistd.h: Undo change of feature selection for ftruncate from
53357 2010-09-20 Ulrich Drepper <drepper@redhat.com>
53359 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53362 2010-09-20 Andreas Schwab <schwab@redhat.com>
53364 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53366 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53368 2010-09-14 Andreas Schwab <schwab@redhat.com>
53370 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53371 variables after CHECK_SP call.
53372 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53374 2010-09-13 Andreas Schwab <schwab@redhat.com>
53375 Ulrich Drepper <drepper@redhat.com>
53377 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53378 re-relocationg ld.so.
53379 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53380 _dl_init_paths call.
53381 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53384 2010-09-14 Ulrich Drepper <drepper@redhat.com>
53386 * resolv/res_init.c (__res_vinit): Count the default server we added.
53388 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53389 Ulrich Drepper <drepper@redhat.com>
53392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53393 (____longjmp_chk): Use %ebx for saving value across system call.
53396 2010-09-06 Andreas Schwab <schwab@redhat.com>
53398 * manual/Makefile: Don't mix pattern rules with normal rules.
53400 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53402 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53404 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53405 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53406 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53407 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53411 2010-09-04 Ulrich Drepper <drepper@redhat.com>
53414 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53415 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53417 2010-09-02 Ulrich Drepper <drepper@redhat.com>
53419 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53420 * sysdeps/x86_64/addmul_1.S: Likewise.
53421 * sysdeps/x86_64/lshift.S: Likewise.
53422 * sysdeps/x86_64/mul_1.S: Likewise.
53423 * sysdeps/x86_64/rshift.S: Likewise.
53424 * sysdeps/x86_64/sub_n.S: Likewise.
53425 * sysdeps/x86_64/submul_1.S: Likewise.
53427 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53429 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53430 Define __sched_param instead of SCHED_* and sched_param when
53431 <bits/sched.h> is included with __need_schedparam defined.
53432 * bits/sched.h [__need_schedparam]
53433 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53434 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53435 (__defined_schedparam): Define to 1.
53436 (__sched_param): New structure, identical to sched_param.
53437 (__need_schedparam): Undefine.
53439 2010-08-31 Mike Frysinger <vapier@gentoo.org>
53441 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53442 (epoll_create1): Declare.
53444 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53446 2010-08-31 Andreas Schwab <schwab@redhat.com>
53449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53450 shifting retval into place.
53452 2010-09-01 Ulrich Drepper <drepper@redhat.com>
53454 * nis/rpcsvc/nis.h: Update copyright notice.
53455 * nis/rpcsvc/nis.x: Likewise.
53456 * nis/rpcsvc/nis_callback.h: Likewise.
53457 * nis/rpcsvc/nis_callback.x: Likewise.
53458 * nis/rpcsvc/nis_object.x: Likewise.
53459 * nis/rpcsvc/nis_tags.h: Likewise.
53460 * nis/rpcsvc/yp.h: Likewise.
53461 * nis/rpcsvc/yp.x: Likewise.
53462 * nis/rpcsvc/ypupd.h: Likewise.
53463 * nis/yp_xdr.c: Likewise.
53464 * nis/ypupdate_xdr.c: Likewise.
53466 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53467 mainly the body of pmap_getport. Add parameters to specify timeouts.
53468 (pmap_getport): Use __libc_rpc_getport.
53469 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53470 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53471 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53473 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53478 2010-08-27 Roland McGrath <roland@redhat.com>
53480 * sysdeps/i386/i686/multiarch/Makefile
53481 (CFLAGS-varshift.c): New variable.
53483 2010-08-27 Ulrich Drepper <drepper@redhat.com>
53485 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53486 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53488 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53490 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53492 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53494 * sysdeps/x86_64/strlen.S: Unroll the loop.
53495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53496 strlen-sse2 strlen-sse2-bsf.
53497 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53498 __strlen_no_bsf if bit_Slow_BSF is set.
53499 (__strlen_sse42): Removed.
53500 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53501 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53503 2010-08-25 Roland McGrath <roland@redhat.com>
53505 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53506 * sysdeps/x86_64/multiarch/varshift.c: New file.
53507 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53508 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53509 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53510 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53512 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53515 strlen-sse2 strlen-sse2-bsf.
53516 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53517 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53518 (__strlen_sse2): Removed.
53519 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53522 bit_Slow_BSF for Atom.
53523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53524 (index_Slow_BSF): Define.
53525 (HAS_SLOW_BSF): Define.
53527 2010-08-25 Ulrich Drepper <drepper@redhat.com>
53530 * resolv/res_init.c (__res_vinit): When no server address at all
53531 is given default to loopback.
53533 2010-08-24 Roland McGrath <roland@redhat.com>
53535 * configure.in: Remove config-name.h generation.
53536 * configure: Regenerated.
53537 * config-name.in: File removed.
53538 * scripts/config-uname.sh: New file.
53539 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53540 ($(objdir)config-name.h): New target.
53542 * sunrpc/rpc_parse.h: Avoid nested comment.
53544 2010-08-24 Richard Henderson <rth@redhat.com>
53545 Ulrich Drepper <drepper@redhat.com>
53546 H.J. Lu <hongjiu.lu@intel.com>
53548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53550 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53551 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53552 _mm_alignr_epi8 with _mm_loadu_si128.
53553 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53554 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53555 (__m128i_shift_right): Removed.
53556 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53557 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53558 * sysdeps/x86_64/multiarch/varshift.h: New file.
53559 * sysdeps/x86_64/multiarch/varshift.S: New file.
53561 2010-08-21 Mike Frysinger <vapier@gentoo.org>
53563 * configure.in: Move assembler checks to before sysdep dir checking.
53565 2010-08-20 Petr Baudis <pasky@suse.cz>
53567 * LICENSES: Sync the sunrpc license.
53569 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53571 * sunrpc/auth_des.c: Update copyright notice once again.
53572 * sunrpc/auth_none.c: Likewise.
53573 * sunrpc/auth_unix.c: Likewise.
53574 * sunrpc/authdes_prot.c: Likewise.
53575 * sunrpc/authuxprot.c: Likewise.
53576 * sunrpc/bindrsvprt.c: Likewise.
53577 * sunrpc/clnt_gen.c: Likewise.
53578 * sunrpc/clnt_perr.c: Likewise.
53579 * sunrpc/clnt_raw.c: Likewise.
53580 * sunrpc/clnt_simp.c: Likewise.
53581 * sunrpc/clnt_tcp.c: Likewise.
53582 * sunrpc/clnt_udp.c: Likewise.
53583 * sunrpc/clnt_unix.c: Likewise.
53584 * sunrpc/des_crypt.c: Likewise.
53585 * sunrpc/des_soft.c: Likewise.
53586 * sunrpc/get_myaddr.c: Likewise.
53587 * sunrpc/getrpcport.c: Likewise.
53588 * sunrpc/key_call.c: Likewise.
53589 * sunrpc/key_prot.c: Likewise.
53590 * sunrpc/openchild.c: Likewise.
53591 * sunrpc/pm_getmaps.c: Likewise.
53592 * sunrpc/pm_getport.c: Likewise.
53593 * sunrpc/pmap_clnt.c: Likewise.
53594 * sunrpc/pmap_prot.c: Likewise.
53595 * sunrpc/pmap_prot2.c: Likewise.
53596 * sunrpc/pmap_rmt.c: Likewise.
53597 * sunrpc/rpc/auth.h: Likewise.
53598 * sunrpc/rpc/auth_unix.h: Likewise.
53599 * sunrpc/rpc/clnt.h: Likewise.
53600 * sunrpc/rpc/des_crypt.h: Likewise.
53601 * sunrpc/rpc/key_prot.h: Likewise.
53602 * sunrpc/rpc/netdb.h: Likewise.
53603 * sunrpc/rpc/pmap_clnt.h: Likewise.
53604 * sunrpc/rpc/pmap_prot.h: Likewise.
53605 * sunrpc/rpc/pmap_rmt.h: Likewise.
53606 * sunrpc/rpc/rpc.h: Likewise.
53607 * sunrpc/rpc/rpc_des.h: Likewise.
53608 * sunrpc/rpc/rpc_msg.h: Likewise.
53609 * sunrpc/rpc/svc.h: Likewise.
53610 * sunrpc/rpc/svc_auth.h: Likewise.
53611 * sunrpc/rpc/types.h: Likewise.
53612 * sunrpc/rpc/xdr.h: Likewise.
53613 * sunrpc/rpc_clntout.c: Likewise.
53614 * sunrpc/rpc_cmsg.c: Likewise.
53615 * sunrpc/rpc_common.c: Likewise.
53616 * sunrpc/rpc_cout.c: Likewise.
53617 * sunrpc/rpc_dtable.c: Likewise.
53618 * sunrpc/rpc_hout.c: Likewise.
53619 * sunrpc/rpc_main.c: Likewise.
53620 * sunrpc/rpc_parse.c: Likewise.
53621 * sunrpc/rpc_parse.h: Likewise.
53622 * sunrpc/rpc_prot.c: Likewise.
53623 * sunrpc/rpc_sample.c: Likewise.
53624 * sunrpc/rpc_scan.c: Likewise.
53625 * sunrpc/rpc_scan.h: Likewise.
53626 * sunrpc/rpc_svcout.c: Likewise.
53627 * sunrpc/rpc_tblout.c: Likewise.
53628 * sunrpc/rpc_util.c: Likewise.
53629 * sunrpc/rpc_util.h: Likewise.
53630 * sunrpc/rpcinfo.c: Likewise.
53631 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53632 * sunrpc/rpcsvc/key_prot.x: Likewise.
53633 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53634 * sunrpc/rpcsvc/mount.x: Likewise.
53635 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53636 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53637 * sunrpc/rpcsvc/rex.x: Likewise.
53638 * sunrpc/rpcsvc/rstat.x: Likewise.
53639 * sunrpc/rpcsvc/rusers.x: Likewise.
53640 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53641 * sunrpc/rpcsvc/spray.x: Likewise.
53642 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53643 * sunrpc/rtime.c: Likewise.
53644 * sunrpc/svc.c: Likewise.
53645 * sunrpc/svc_auth.c: Likewise.
53646 * sunrpc/svc_authux.c: Likewise.
53647 * sunrpc/svc_raw.c: Likewise.
53648 * sunrpc/svc_run.c: Likewise.
53649 * sunrpc/svc_simple.c: Likewise.
53650 * sunrpc/svc_tcp.c: Likewise.
53651 * sunrpc/svc_udp.c: Likewise.
53652 * sunrpc/svc_unix.c: Likewise.
53653 * sunrpc/svcauth_des.c: Likewise.
53654 * sunrpc/xcrypt.c: Likewise.
53655 * sunrpc/xdr.c: Likewise.
53656 * sunrpc/xdr_array.c: Likewise.
53657 * sunrpc/xdr_float.c: Likewise.
53658 * sunrpc/xdr_mem.c: Likewise.
53659 * sunrpc/xdr_rec.c: Likewise.
53660 * sunrpc/xdr_ref.c: Likewise.
53661 * sunrpc/xdr_sizeof.c: Likewise.
53662 * sunrpc/xdr_stdio.c: Likewise.
53664 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53667 2010-08-19 Andreas Schwab <schwab@redhat.com>
53669 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53671 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53673 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53674 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53675 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53676 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53677 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53678 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53679 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53680 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53681 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53682 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53683 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53684 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53685 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53686 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53688 2010-07-26 Anton Blanchard <anton@samba.org>
53690 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53691 * malloc/arena.c (heap_trim): Likewise.
53693 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53695 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53698 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53700 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53702 * sysdeps/i386/elf/Makefile: New file.
53704 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53706 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53707 from fanotify_init.
53708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53711 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53713 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53715 * sysdeps/multiarch/strcmp.S: Likewise.
53717 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53719 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53720 strncase_l-nonascii.
53721 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53722 Add strncase_l-ssse3.
53723 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53724 * sysdeps/x86_64/strcmp.S: Likewise.
53725 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53726 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53727 * sysdeps/x86_64/strncase.S: New file.
53728 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53729 * sysdeps/x86_64/strncase_l.S: New file.
53730 * string/Makefile (strop-tests): Add strncasecmp.
53731 * string/test-strncasecmp.c: New file.
53733 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53736 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53737 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53739 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53741 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53743 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53745 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53746 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53747 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53749 2010-05-01 Alan Modra <amodra@gmail.com>
53751 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53752 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53753 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53754 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53755 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53756 tidying. Don't tail-call __sigjmp_save for static lib.
53757 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53759 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53760 (CALL_MCOUNT): Add eh info, and nop after bl.
53761 (TAIL_CALL_SYSCALL_ERROR): New macro.
53762 (PSEUDO_RET): Use it.
53763 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53764 Correct save location of integer regs and cr.
53765 (_dl_profile_resolve): Correct cr save location. Delete nops
53766 after bl when SHARED. Reduce cfi size a little by better
53767 placement of cfi directives.
53768 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53769 make a stack frame. Instead use parm save area as a temp.
53770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53771 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53773 Don't make a stack frame for parent, use parm save area.
53774 Increase child stack frame to 112 bytes. Don't save unused reg,
53775 and adjust reg usage. Set up cfi on error recovery and
53776 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53778 (__makecontext): Add dummy nop after jump to exit.
53779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53780 Use correct parm save area and cr save, reduce stack frame.
53781 Correct cfi for possible PSEUDO_RET frame setup.
53782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53783 Branch to local label emitted by PSEUDO_RET rather than
53786 2010-08-12 Andreas Schwab <schwab@redhat.com>
53789 * locale/programs/locale.c (print_assignment): New function.
53790 (show_locale_vars): Use it.
53792 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53794 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53796 (struct statfs64): Likewise.
53797 (_STATFS_F_FLAGS): Define.
53798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53799 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53800 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53801 (ST_VALID): Define locally.
53802 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53803 __statvfs_getflags, use the provided value.
53804 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53805 __ASSUME_STATFS_F_FLAGS.
53807 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53810 Add sys/fanotify.h.
53811 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53812 fanotify_mask for GLIBC_2.13.
53813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53814 fanotify_init and fanotify_mark.
53815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53816 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53818 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53820 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53821 prlimit64 for GLIBC_2.13.
53822 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53828 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53829 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53832 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53835 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53836 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53838 * nss/Makefile: Add rules to build and run tst-nss-test1.
53839 * shlib-versions: Add entry for libnss_test1.
53840 * nss/nss_test1.c: New file.
53841 * nss/tst-nss-test1.c: New file.
53843 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53844 (__nss_configure_lookup): Set appropriate entry in
53845 __nss_configure_lookup to true.
53846 * nss/nsswitch.h: Define enum with indeces of databases in
53847 databases and __nss_database_custom arrays. Declare
53848 __nss_database_custom.
53849 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53850 to avoid using nscd when custom rules are installed.
53851 * nss/getXXbyYY_r.c: Likewise.
53852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53854 * nss/nss_files/files-parse.c: Whitespace fixes.
53856 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53859 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53860 * posix/fnmatch_loop.c: Likewise.
53862 2010-07-17 Andi Kleen <ak@linux.intel.com>
53864 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53865 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53866 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53867 * Versions.def [GLIBC_2.13]: Add.
53869 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53872 Also fail if tpwd after pwuid call is NULL.
53874 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53876 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53877 when converting to ms.
53879 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53881 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53882 EOPNOTSUPP errors with ENOTTY.
53883 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53884 EOPNOTSUPP errors with ENOTTY.
53886 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53888 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53889 Add strcasecmp_l-ssse3.
53890 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53892 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53893 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53896 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53898 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53900 * string/Makefile (strop-tests): Add strcasecmp.
53901 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53902 strcasecmp_l-nonascii.
53903 (gen-as-const-headers): Add locale-defines.sym.
53904 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53905 * sysdeps/x86_64/strcasecmp.S: New file.
53906 * sysdeps/x86_64/strcasecmp_l.S: New file.
53907 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53908 * sysdeps/x86_64/locale-defines.sym: New file.
53909 * string/test-strcasecmp.c: New file.
53911 * string/test-strcasestr.c: Test both ends of the range of characters.
53912 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53914 2010-07-29 Roland McGrath <roland@redhat.com>
53917 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53919 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53921 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53924 2010-07-27 Andreas Schwab <schwab@redhat.com>
53926 * manual/memory.texi (Malloc Tunable Parameters): Document
53929 2010-07-26 Roland McGrath <roland@redhat.com>
53932 * configure.in (-fgnu89-inline check): Set and substitute
53933 gnu89_inline, not libc_cv_gnu89_inline.
53934 * configure: Regenerated.
53935 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53937 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53939 * string/test-strnlen.c: New file.
53940 * string/Makefile (strop-tests): Add strnlen.
53941 * string/tester.c (test_strnlen): Add a few more test cases.
53942 * string/tst-strlen.c: Better error reporting.
53944 * sysdeps/x86_64/strnlen.S: New file.
53946 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53948 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53949 lower-latency instructions.
53951 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53953 * string/test-strcasestr.c: New file.
53954 * string/test-strstr.c: New file.
53955 * string/Makefile (strop-tests): Add strstr and strcasestr.
53956 * string/str-two-way.h: Don't undefine MAX.
53957 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53959 2010-07-21 Andreas Schwab <schwab@redhat.com>
53961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53962 strcasestr-nonascii.
53963 (CFLAGS-strcasestr-nonascii.c): Define.
53964 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53965 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53966 Remove unused attribute.
53968 2010-07-20 Roland McGrath <roland@redhat.com>
53970 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53971 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53972 ld.so.cache was broken. With it, there is no way to disable dsocaps
53973 like LD_HWCAP_MASK can disable hwcaps.
53975 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53977 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53979 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53981 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53982 call in strcasestr.
53983 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53984 __strcasestr_sse42_nonascii.
53985 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53986 strcasestr-nonascii.c.
53987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53989 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53991 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53993 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53994 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53996 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53998 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54001 2010-07-06 Andreas Schwab <schwab@redhat.com>
54004 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54007 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54010 _PC_PIPE_BUF using F_GETPIPE_SZ.
54012 2010-07-05 Roland McGrath <roland@redhat.com>
54014 * manual/arith.texi (Rounding Functions): Fix rint description
54015 implicit in round description.
54017 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54019 * elf/Makefile: Fix linking for a few tests to make recent linker
54022 2010-06-30 Andreas Schwab <schwab@redhat.com>
54024 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54025 $(common-objpfx)libc_nonshared.a.
54027 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54029 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54030 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54031 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54032 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54033 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54034 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54035 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54036 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54051 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54052 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54053 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54054 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54055 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54056 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54057 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54058 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54059 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54060 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54061 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54062 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54078 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54080 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54081 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54082 * string/memmove.c (memmove): Renamed to ...
54083 (MEMMOVE): ...this. Default to memmove.
54084 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54085 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54088 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54089 mempcpy-ssse3-back memmove-ssse3-back.
54090 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54091 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54092 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54093 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54094 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54095 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54096 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54097 * sysdeps/x86_64/multiarch/memmove.c: New file.
54098 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54099 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54100 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54101 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54102 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54103 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54105 (index_Fast_Copy_Backward): Define.
54106 (HAS_ARCH_FEATURE): Define.
54107 (HAS_FAST_REP_STRING): Define.
54108 (HAS_FAST_COPY_BACKWARD): Define.
54110 2010-06-21 Andreas Schwab <schwab@redhat.com>
54112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54113 Restore proper fallback handling.
54115 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54118 * posix/group_member.c (__group_member): Correct checking loop.
54120 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54121 OOM in getpwuid_r correctly. Return error number when the caller
54122 should return, otherwise -1.
54123 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54124 call returning > 0 value.
54125 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54127 2010-06-07 Andreas Schwab <schwab@redhat.com>
54129 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54130 libc_nonshared.a from targets in modules-names.
54132 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54134 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54137 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54140 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54142 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54144 2010-06-02 Andreas Schwab <schwab@redhat.com>
54146 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54148 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54150 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54159 2010-06-14 Roland McGrath <roland@redhat.com>
54161 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54163 2010-06-07 Jakub Jelinek <jakub@redhat.com>
54165 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54166 __REDIRECT followed by __THROW.
54167 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54168 * posix/getopt.h (getopt): Likewise.
54170 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54172 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54173 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54174 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54176 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54177 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54179 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54181 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54183 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54187 Properly check family and model.
54189 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54193 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54195 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54197 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54199 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54202 2010-05-19 Andreas Schwab <schwab@redhat.com>
54204 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54207 2010-05-21 Andreas Schwab <schwab@redhat.com>
54209 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54210 and internal_recvmmsg.
54211 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54212 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54213 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54214 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54216 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54217 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54218 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54220 2010-05-20 Andreas Schwab <schwab@redhat.com>
54222 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54224 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54226 POWER7 optimizations.
54227 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54228 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54230 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54232 * version.h: Update for 2.13 development version.
54234 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54236 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54237 exceptions. Return 0.
54239 2010-05-07 Roland McGrath <roland@redhat.com>
54241 * elf/ldconfig.c (main): Add a const.
54243 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54245 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54246 (args_options): Add no-idn option.
54247 (ahosts_keys_int): Add idn_flags to ai_flags.
54248 (parse_option): Handle 'i' option to clear idn_flags.
54250 * malloc/malloc.c (_int_free): Possible race in the most recently
54251 added check. Only act on the data if no current modification
54254 See ChangeLog.17 for earlier changes.